﻿/* topnav er brukt i menyen. palett her:  https://coolors.co/496077 lilla 6A4978 dempetlilla 624978 dempetgrønn 49785f */
/* blaagraderinger D5DDE5 mørkblå 3F5367 lys #f1f4f6; */
.topnav {
    overflow: hidden;
    background-color: #496077;
}

    .topnav a {
        float: left;
        display: block;
        color: #f1f4f6;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 20px;
    }

        .topnav a:hover {
            background-color: #d6dde5;
            color: black;
        }

        .topnav a.active {
            background-color: #496077;
            /*#4CAF50;*/
            /* color: white;*/
            color: #f1f4f6;
        }
            .topnav a.active:hover {
                background-color: #d6dde5;
                color: black;
            }
        .topnav a.passive {
            background-color: #496077;
            /*#4CAF50;*/
            /* color: white;*/
            color: #f2f2f2;
        }

            .topnav a.passive:hover {
                background-color: #d6dde5;
                color: black;
            }
        

    .topnav .icon {
        display: none;
    }

@media screen and (max-width: 600px) {


    .hide600 {
        display: none;
    }
}



@media screen and (max-width: 1000px) 

{
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
        color: #f1f4f6; /* dette er ikonet med de tre stripene*/
    }

    .topnav.responsive {
        position: relative;
    }

        .topnav.responsive .icon {
            position: absolute;
            right: 0;
            top: 0;
        }

        .topnav.responsive a {
            float: none;
            display: block;
            text-align: left;
        }

    .topnav a {
        
        font-size: 30px;
    }
}

@media screen and (max-width: 800px) {


    .hide800 {
        display: none;
    }

    .topnav a {
        font-size: 35px;
    }
}
@media screen and (max-width: 600px) {


    .hide800 {
        display: none;
    }

    .topnav a {
        font-size: 40px;
    }
}
    @media screen and (max-width: 480px) {

        .hide480 {
                display: none;
               }

        .topnav a {
            float: left;
            display: block;
            color: #f1f4f6;
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
            font-size: 45px;
        }
    }

    

    @media screen and (min-width: 600px) {


        .show600 {
            display: none;
        }
    }



   

    /* DEFAULTS
----------------------------------------------------------*/
    #menu ul li ul {
        display: none;
    }


    #menu ul li {
        position: relative;
        float: left;
        list-style: none;
    }

    body {
        /*  background            : #b6b7bc url(/images/grayfade.jpg) repeat-y;  */
        background: #FFF; /* dette var den grå bakgrunnen  #f4f4f4 som omslutter hele siden før #b6b7bc */
        /* font-size: 0.9em;  */
        font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
        -webkit-text-size-adjust: 100%;
        margin: 0px;
        padding: 0px;
        color: #000000; /* muligens kanten? var 696969 */
    }

    a:link, a:visited {
        color: #496077; /* #dde4ec; dette er fargen på lenker, var #496077 */
        text-decoration: none;
    }

    a:hover {
        color: #496077;
        text-decoration: none;
    }

    a:active {
        color: #496077;
        text-decoration: none;
    }

    p {
        margin-bottom: 10px;
        line-height: 1.6em;
    }



    /* HEADINGS   
----------------------------------------------------------*/
    h1, h2, h3, h4, h5, h6 {
        font-size: 1.5em;
        color: #666666;
        font-variant: small-caps;
        text-transform: none;
        font-weight: 200;
        margin-bottom: 0px;
    }

    h1 {
        font-size: 1.8em;
        padding-bottom: 0px;
        margin-bottom: 0px;
    }

    h2 {
        font-size: 1.5em;
        font-weight: 600;
    }

    h3 {
        font-size: 1.2em;
    }

    h4 {
        font-size: 1.1em;
    }

    h5, h6 {
        font-size: 1em;
    }

    /* this rule styles <h1> and <h2> tags that are the 
first child of the left and right table columns */
    .rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 
    {
        margin-top: 0px;
    }



    /*------------------------------------*\
	Subscribe Widget
\*------------------------------------*/
    .widget.subscribe-widget {
        padding: 30px;
        background-color: #222;
    }

        .widget.subscribe-widget form input.input {
            background: #FFF;
            border: none;
        }

    .subscribe-widget form button.input-btn {
        margin-top: 15px;
    }

    .widget.subscribe-widget form button.input-btn {
        display: block;
        width: 100%;
    }

    .footer-widget.subscribe-widget form input.input {
        color: #DDD;
    }


    /* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

    .page {
        /*  width: 1200px; Var 960 */
        background-color: #FFF; /* Den hvite bakgrunnsfargen på siden */
        /*  margin: 20px auto 0px auto; */
        border: 1px solid #354556;
    }

    .header {
        position: relative;
        margin: 0px;
        padding: 0px;
        background: #496077; /* dette er fargen bak teksten WORDFEUD LEAGUE OF HONOUR, bør være #496077 siden logoen har den bakgrunnsfargen*/
        width: 100%;
    }

        .header h1 {
            font-weight: 700;
            margin: 0px;
            padding: 0px 0px 0px 20px;
            color: #d5dde5; /* Bokstavene i WORDFEUD LEAGUE OF HONOUR. var f9f9f9 */
            border: none;
            line-height: 2em;
            font-size: 2em;
        }

    .main {
        padding-top: 2rem;
        padding: 0px 50px;
        /* margin: 12px 8px 8px 8px; */
        min-height: 420px;
    }

    .leftCol {
        padding: 6px 0px;
        margin: 12px 8px 8px 8px;
        width: 200px;
        min-height: 200px;
    }

    .footer {
        color: #4e5766;
        padding: 8px 0px 0px 0px;
        margin: 0px auto;
        text-align: center;
        line-height: normal;
    }


    /* TAB MENU   
----------------------------------------------------------*/

    a[href="#NavigationMenu_SkipLink"] {
        display: none !important;
    }


    div.hideSkiplink {
        /*  background-color: #009999; /* fargen rundt tabeller, påmelding, etc, kolonnen. pleide være en syk lysblå #d3e4e5; deretter #4e667d; */
        /*	background            : #FFF url(/images/animated_favicon.gif) repeat-y; 
      background  : #FFF url(images/rotator.php) no-repeat center top;*/
        background: #d3e4e5;
        width: 100%;
    }

    div.menu {
        padding: 4px 0px 4px 8px;
    }

        div.menu ul {
            list-style: none;
            margin: 0px;
            padding: 0px;
            width: auto;
            display: flex;
        }

            div.menu ul li a, div.menu ul li a:visited {
                background-color: #4e667d; /* bakgrunnen bak sidevalgene (Tabeller, Påmelding, etc) */
                /*  background-color: #465c71;  bakgrunnen bak sidevalgene (Tabeller, Påmelding, etc) */
                border: 1px #4e667d solid;
                color: #dde4ec;
                display: block;
                line-height: 1.35em;
                padding: 4px 20px;
                text-decoration: none;
                white-space: nowrap;
            }

                div.menu ul li a:hover {
                    background-color: #bfcbd6;
                    color: #465c71;
                    text-decoration: none;
                }

                div.menu ul li a:active {
                    background-color: #465c71;
                    color: #cfdbe6;
                    text-decoration: none;
                }

    /* FORM ELEMENTS   
----------------------------------------------------------*/

    fieldset {
        margin: 1em 0px;
        padding: 1em;
        border: 1px solid #ccc;
    }

        fieldset p {
            margin: 2px 12px 10px 10px;
        }

        fieldset.login label, fieldset.register label, fieldset.changePassword label {
            display: block;
        }

        fieldset label.inline {
            display: inline;
        }

    legend {
        font-size: 1.1em;
        font-weight: 600;
        padding: 2px 4px 8px 4px;
    }

    input.textEntry {
        width: 320px;
        border: 1px solid #ccc;
    }

    input.passwordEntry {
        width: 320px;
        border: 1px solid #ccc;
    }

    div.accountInfo {
        width: 42%;
    }

    /* MISC  
----------------------------------------------------------*/

.button-13 {
    background-color: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
    box-sizing: border-box;
    color: #0f1111;
    cursor: pointer;
    display: inline-block;
    font-family: "Amazon Ember",sans-serif;
    font-size: 28px;
    line-height: 29px;
    padding: 0 10px 0 11px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    height: 50px;
    width: 50px;
}

.button-13:hover {
    background-color: #f7fafa;
}

.button-13:focus {
    border-color: #008296;
    box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
    outline: 0;
}
.button-15 {
    background-color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: #fff;
    box-sizing: border-box;
    color: lightgray;
    cursor: pointer;
    display: inline-block;
    font-family: "Amazon Ember",sans-serif;
    font-size: 32px;
    line-height: 29px;
    padding: 0 10px 0 11px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    height: 50px;
    width: 110px;
}
.button-14 {
    background-color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: #fff;
    box-sizing: border-box;
    color: lightgray;
    cursor: pointer;
    display: inline-block;
    font-family: "Amazon Ember",sans-serif;
    font-size: 32px;
    line-height: 29px;
    padding: 0 10px 0 11px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    height: 50px;
    width: 50px;
    margin-bottom: 10px
}

    .button-14:hover {
        background-color: #f7fafa;
    }

    .button-14:focus {
        border-color: #008296;
        box-shadow: #fff;
        outline: 0;
    }



.button-6 {
    align-items: center;
    background-color: #d3e4e5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: auto;
    height: 30px;
}

.button-6:hover,
.button-6:focus {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
    color: rgba(0, 0, 0, 0.65);
}

.button-6:hover {
    transform: translateY(-1px);
}

.button-6:active {
    background-color: #F0F0F1;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
    color: rgba(0, 0, 0, 0.65);
    transform: translateY(0);
}



.clear {
    clear: both;
}

    .title {
        display: block;
        float: left;
        text-align: left;
        width: auto;
    }

    .loginDisplay {
        font-size: 1.1em;
        display: block;
        text-align: right;
        padding: 10px;
        color: White;
    }

        .loginDisplay a:link {
            color: #F1F4F6;
        }

        .loginDisplay a:visited {
            color: #F1F4F6;
        }

        .loginDisplay a:hover {
            color: #E3E8EE;
        }

    .failureNotification {
        font-size: 1.2em;
        color: Red;
    }

    .bold {
        font-weight: bold;
    }

    .submitButton {
        text-align: right;
        padding-right: 10px;
    }

@media screen and (max-width: 800px) {

    .header h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.5em;
    }

    h4 {
        font-size: 1.2em;
    }

    h5, h6 {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 600px) {

    .header h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 2.4em;
    }

    h3 {
        font-size: 1.8em;
    }

    h4 {
        font-size: 1.5em;
    }

    h5, h6 {
        font-size: 1.3em;
    }
}

@media screen and (max-width: 480px) {

    .header h1 {
        font-size: 5em;
    }

    h2 {
        font-size: 3em;
    }

    h3 {
        font-size: 2.2em;
    }

    h4 {
        font-size: 1.8em;
    }

    h5, h6 {
        font-size: 1.5em;
    }

    
}

