﻿
body {
    margin: 0;
    font-family: Arial;
    /*text-shadow: 4px 4px 4px #aaa;*/
}

.topnav {
    overflow: hidden;
    /*background-color: #111e2d;*/
}

    .topnav a {
        float: left;
        display: block;
        /*color: #9f8909;*/
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 12px;
    }

.active {
    background-color: gray;
    color: gainsboro;
}

.topnav .icon {
    display: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

    .dropdown .dropbtn {
        font-size: 12px;
        border: none;
        outline: none;
        /*color: #9f8909;*/
        padding: 14px 16px;
        /*background-color: #111e2d;*/
        font-family: inherit;
        margin: 0;
    }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #555;
    color: gainsboro;
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/*håller menuraden centrerad*/
.mnu {
    /*background-color: #111e2d;*/
    text-align: center;
    display: flex;
    justify-content: center;
}

.mnu_left_rigth {
    float: left;
    display: inline;
}

.mnu_inner {
    text-align: center;
    float: left;
    display: inline;
}

/*menun alltid synlig tillsammans med + onscrollfunktion*/

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

    .sticky + .content {
        padding-top: 102px;
    }

.logo {
    width: 50%;
    height: auto;
}
.frisorlogo {
    float: left;
    width: 6%;
    height: auto;
    margin-top: 10px;
    margin-left: 10px;
}


/*-----------------------*/

@media screen and (max-width: 600px) {
    .topnav a:not(:nth-child(-n + 2)), .dropdown .dropbtn {
        display: none;
    }

    /*.topnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }*/

    .topnav a.icon {
        float: right;
        display: block;
    }

    .mnu_left_rigth {
        display: none;
        background-color: green;
    }

    .mnu_inner {
        float: none;
        min-width:100%;
    }
    .logo {
        width: 80%;
        height: auto;
    }

    .frisorlogo {
        float: left;
        width: 8%;
        height: auto;
        margin-top: 20px;
        margin-left: 10px;
    }

}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }

        .topnav.responsive .icon {
            position: absolute;
            right: 0;
            top: 0;
        }

        .topnav.responsive a {
            float: none;
            display: block;
            text-align: left;
        }

        .topnav.responsive .dropdown {
            float: none;
        }

        .topnav.responsive .dropdown-content {
            position: relative;
        }

        .topnav.responsive .dropdown .dropbtn {
            display: block;
            width: 100%;
            text-align: left;
        }
}



