/* Extra Classes */
.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

/* Menu */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #f8f8f8;
    height: 60px;
    z-index: 99;
}

header.scrolled {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 20px 0px;
}

header nav {
    clear: both;
    display: block;
    line-height: 60px;
    height: 60px;
    position: relative;
}

.menu-container {
    padding-left: 30px;
    padding-right: 30px;
}

.grt-menu-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.grt-logo {
    background-image: url('../images/logo.png');
    width: 155px;
    height: 60px;
    background-repeat: no-repeat;
    display: block;
    background-size: 100%;
    background-position: 0px 0px;
}

.body-overflow .grt-logo {
    background-image: url('../images/open-logo.png');
}

.body-overflow .grt-menu-logo {
    z-index: 3;
}

a.grt-logo {
    display: inline-block;
}

a.grt-logo img {
    max-height: 60px;
    width: auto;
}

.grt-mobile-button {
    display: none;
}

.grt-mobile-button:focus {
    border: 0;
    outline: 0;
}

.body-overflow {
    overflow: hidden;
}

ul.grt-menu {
    display: block;
    float: right;
    /*  margin:0 -10px 0 0; */
    margin: 0px;
    padding: 0;
    list-style-type: none;
}

ul.grt-menu:after {
    content: "";
    clear: both;
    display: block;
}

ul.grt-menu li {
    display: inline-block;
    margin: 0;
    padding: 0;
    -webkit-transition: all ease 0.8s;
    -moz-transition: all ease 0.8s;
    transition: all ease 0.8s;
}

ul.grt-menu li.language-box {
    margin-left: 50px;
}

ul.grt-menu li a {
    padding: 5px 12px;
    font-size: 18px;
    display: inline-block;
    color: #303030;
    line-height: 1.1em;
    box-shadow: inset 0 0 0 0 #FFF;
    -webkit-transition: all ease 0.8s;
    -moz-transition: all ease 0.8s;
    transition: all ease 0.8s;
    position: relative;
    text-decoration: none;
    text-transform: lowercase;
}

ul.grt-menu li.active a {
    font-weight: bold;
}

/* ul.grt-menu li.active a:after  {
    position: absolute;
    bottom: 1px;
    content: "";
    left: 12px;
    right: 12px;
    border-bottom: 2px solid #FEDD6B;
} */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

ul.grt-menu li.grt-dropdown:hover {
    cursor: pointer;
}

ul.grt-menu li.grt-dropdown:hover a {
    box-shadow: none;
}

ul.grt-menu li.grt-dropdown ul.grt-dropdown-list {
    display: none;
    position: absolute;
    background: #FEDD6B;
    margin: 0;
    padding: 0;
    min-width: 150px;
    animation: fadeIn 0.8s;
    z-index: 999;
}

ul.grt-menu li.grt-dropdown ul.grt-dropdown-list li a {
    display: block;
    font-size: 18px;
    color: #FFF;
    -webkit-transition: all ease 0.8s;
    -moz-transition: all ease 0.8s;
    transition: all ease 0.8s;
    padding: 9px 12px;
}

ul.grt-menu li.grt-dropdown ul.grt-dropdown-list li:last-child a {
    padding-bottom: 15px;
}

ul.grt-menu li.grt-dropdown.active-dropdown {
    background: #FEDD6B;
}

ul.grt-menu li.grt-dropdown.active-dropdown ul.grt-dropdown-list {
    display: block !important;
}

ul.grt-menu li.grt-dropdown.active-dropdown a {
    color: #FFF;
}




/* Desktop only style */
@media (min-width:768px) {

    ul.grt-menu li.grt-dropdown:hover>a+ul.grt-dropdown-list {
        display: block;
        top: calc(100% - 17px);
    }

    ul.grt-menu li.grt-dropdown ul.grt-dropdown-list li {
        display: block;
    }

    ul.grt-menu li.grt-dropdown:hover>a {
        color: #FFF;
        box-shadow: inset 150px 0 0 0 #FEDD6B;
    }

    ul.grt-menu li a:hover {
        font-weight: bold;
    }

    /* ul.grt-menu li a:hover {
        color:#FFF;
        box-shadow: inset 150px 0 0 0 #FEDD6B;
    } */
}

/* Tablet only style */
@media (min-width:768px) and (max-width:991px) {
    ul.grt-menu li a {
        font-size: 18px;
    }
}

/* Mobile only style */
@media (max-width:767px) {

    .body-overflow .menu-container  {
        /* padding-left: 15px;
        padding-right: 15px; */
        
    }

    .grt-mobile-button {
        display: inline-block;
        position: absolute;
        right: 0;
        top: 5px;
        background: none;
        color: #3d3d3d;
        margin: 0;
        padding: 0;
        cursor: pointer;
        border: 0;
        width: 35px;
    }

    .grt-mobile-button .line1,
    .grt-mobile-button .line2,
    .grt-mobile-button .line3 {
        width: 20px;
        height: 2px;
        background-color: #423A3A;
        margin: 5px 0;
        transition: 0.4s;
        display: block;
        border-radius: 6px;
    }

    ul.grt-menu {
        display: none;
        margin: 0;
        height: 0;
    }

    ul.open-grt-menu {
        position: fixed;
        background: #2a2a2a;
        width: 100%;
        left: 0;
        right: 0;
        top: 0;
        height: 100%;
        float: none;
        display: flex;
/*         justify-content: center; */
        flex-direction: column;
        text-align: center;
        justify-content: start;
        padding-top: 30%;
    }

    .grt-mobile-button-open {
        position: fixed;
        z-index: 99999;
        /* right: 25px;
        top: 25px; */
    }

    .grt-mobile-button-open .line1 {
        -webkit-transform: rotate(-45deg) translate(-8px, 5px);
        transform: rotate(-45deg) translate(-3px, 1.5%);
        background-color: #fff;
    }

    .grt-mobile-button-open .line2 {
        opacity: 0;
    }

    .grt-mobile-button-open .line3 {
        -webkit-transform: rotate(45deg) translate(-8px, -7px);
        transform: rotate(45deg) translate(-10px, -7px);
        background-color: #fff;
    }

    ul.grt-menu li {
        display: block;
        /*      line-height: 3.5em; */
    }


    ul.grt-menu li a {
        padding: 20px 10px;
        font-size: 18px;
        font-weight: 500;
        color: #fff;
        display: block;
        width: 90%;
        /*      height: 50px;
        line-height: 50px; */
        box-sizing: border-box;
        box-shadow: none;
        margin: 0 auto;
        border-bottom: 1px solid #fff;
    }

    ul.grt-menu li.grt-dropdown ul.grt-dropdown-list {
        width: 100%;
        position: relative;
        display: none;
    }

    ul.grt-menu li.grt-dropdown ul.grt-dropdown-list li a {
        display: block;
        font-size: 17px;
    }
    ul.open-grt-menu li.active,
    ul.open-grt-menu li:active,
    ul.open-grt-menu li:hover {
        background-color: rgba(255, 255, 255, .3);
    }

    ul.grt-menu .language-box a {
        border-bottom: 0px;
        width: 50%;
    }
    ul.grt-menu li.language-box{
        margin-left: 0px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 200px;
        margin: 30px auto 0px;
    }
    .body-overflow header nav .grt-mobile-button{
        top: 15px;

    }

}


ul.grt-menu .language-box a {
    padding: 5px;
    position: relative;
    text-transform: uppercase;
}

ul.grt-menu .language-box a.line:after {
    content: "";
    width: 1px;
    height: 15px;
    background-color: #000;
    display: block;
    position: absolute;
    right: -3px;
    top: 8px;
}