﻿
#screenMenu {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    text-align: center;
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    -ms-transition: all 0.6s ease;
    transition: all 0.6s ease;
    width: 100%;
    min-height: 0px;
}

#mobileMenu {
    display: none;
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    text-align: center;
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    -ms-transition: all 0.6s ease;
    transition: all 0.6s ease;
    width: 100%;
    height: 100px;
    background-size: 160px;
}

    #mobileMenu .menu-btn {
        font-family: 'Open Sans', sans-serif;
        position: fixed;
        width: 40px;
        height: 40px;
        top: 20px;
        right: 10px;
        z-index: 88;
        cursor: pointer;
        transition: all 0.3s;
        /*display: none;*/
    }

        #mobileMenu .menu-btn span:nth-child(1) {
            position: absolute;
            top: 10px;
            left: 5px;
            width: 30px;
            height: 3px;
            background: #ffffff;
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            -o-transition: all 0.3s ease;
            -ms-transition: all 0.3s ease;
            transition: all 0.3s ease;
            transform: matrix(1, 0, 0, 1, 0, 0);
            -o-transform: matrix(1, 0, 0, 1, 0, 0);
            -ms-transform: matrix(1, 0, 0, 1, 0, 0);
            -moz-transform: matrix(1, 0, 0, 1, 0, 0);
            -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        }

        #mobileMenu .menu-btn:hover span:nth-child(1) {
            width: 20px !important;
        }

        #mobileMenu .menu-btn:hover span:nth-child(3) {
            width: 20px !important;
        }

        #mobileMenu .menu-btn span:nth-child(2) {
            position: absolute;
            top: 18px;
            left: 5px;
            width: 30px;
            height: 3px;
            background: #ffffff;
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            -o-transition: all 0.3s ease;
            -ms-transition: all 0.3s ease;
            transition: all 0.3s ease;
            transform: matrix(1, 0, 0, 1, 0, 0);
            -o-transform: matrix(1, 0, 0, 1, 0, 0);
            -ms-transform: matrix(1, 0, 0, 1, 0, 0);
            -moz-transform: matrix(1, 0, 0, 1, 0, 0);
            -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        }

        #mobileMenu .menu-btn span:nth-child(3) {
            position: absolute;
            top: 26px;
            left: 5px;
            width: 30px;
            height: 3px;
            background: #ffffff;
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            -o-transition: all 0.3s ease;
            -ms-transition: all 0.3s ease;
            transition: all 0.3s ease;
            transform: matrix(1, 0, 0, 1, 0, 0);
            -o-transform: matrix(1, 0, 0, 1, 0, 0);
            -ms-transform: matrix(1, 0, 0, 1, 0, 0);
            -moz-transform: matrix(1, 0, 0, 1, 0, 0);
            -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        }
        /*
        #mobileMenu .menu-btn::before {
            content: attr(data-name);
            color: #1f3b57;
            font-size: 12px;
            position: absolute;
            top: -6px;
            left: 0;
            padding-left: 40px;
            padding-right: 10px;
            line-height: 32px;
            z-index: 10;
        }
        */
.wid20 {
    width: 20px !important;
}

#mobileMenu .overDark {
    position: fixed;
    left: 0;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    right: unset;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
    transform: translateX(-100%);
    -o-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
}

#mobileMenu .overWhite {
    display: none;
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    height: 100px;
    width: 100%;
    z-index: 0;
    background-color: #fff;
    border-bottom: 1px solid #fef;
}

#mobileMenu.open .overDark {
    transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(0);
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
}

#mobileMenu.open .menu-btn {
    color: #cd2037;
}
    /*
    #mobileMenu.open .menu-btn::before {
        content: attr(data-close);
        color: #cd2037;
    }
    */
    #mobileMenu.open .menu-btn span:nth-child(1) {
        background: #ffffff;
        width: 20px !important;
        transform: matrix(0.7071, 0.7071, -0.7071, 0.7071, -3, 9) !important;
        -o-transform: matrix(0.7071, 0.7071, -0.7071, 0.7071, -3, 9) !important;
        -ms-transform: matrix(0.7071, 0.7071, -0.7071, 0.7071, -3, 9) !important;
        -moz-transform: matrix(0.7071, 0.7071, -0.7071, 0.7071, -3, 9) !important;
        -webkit-transform: matrix(0.7071, 0.7071, -0.7071, 0.7071, -3, 9) !important;
    }

    #mobileMenu.open .menu-btn span:nth-child(2) {
        background: #ffffff;
        width: 20px !important;
        transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, -4, 0) !important;
        -o-transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, -4, 0) !important;
        -ms-transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, -4, 0) !important;
        -moz-transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, -4, 0) !important;
        -webkit-transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, -4, 0) !important;
    }

    #mobileMenu.open .menu-btn span:nth-child(3) {
        background: #ffffff;
        width: 0px !important;
        transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, -4, -4) !important;
        -o-transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, -4, -4) !important;
        -ms-transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, -4, -4) !important;
        -moz-transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, -4, -4) !important;
        -webkit-transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, -4, -4) !important;
    }


.wrapper-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 220px;
    height: 100%;
    right: 0;
    background-color: #ad8f62;
    z-index: 10;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
    transform: translateX(250px);
    -o-transform: translateX(230px);
    -ms-transform: translateX(230px);
    -moz-transform: translateX(230px);
    -webkit-transform: translateX(230px);
}

#mobileMenu.open .wrapper-menu {
    transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(0);
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
}


.menuList {
    margin-top: 80px;
    display: block;
    padding: 10px;
    text-align: center;
}
    .menuList li {
        display: inline-block;
        vertical-align: top;
        border-top: 1px solid rgba(31, 59, 87, 0.30);
        width:100%;
    }
        .menuList li:first-child {
            border-top: none;
        }


    .menuList a {
        display: inline-block;
        padding: 20px 20px;
        vertical-align: top;
        line-height: 20px;
        font-size: 15px;
        text-transform: uppercase;
        color: #fff;
        width: 100%;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        transition: all 0.5s ease;
        display: block;
    }

        .menuList a:hover {
            color: #f5e725;
        }

        .menuList a.secondary {
            font-weight: 200 !important;
            padding: 4px 0;
        }


.menu-desktop {
    display: block;
    padding: 0;
    font-size: 12px;
    color: #000;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

    .menu-desktop li {
        list-style: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        padding: 10px;
        font-size: 12px;
        color: #000;
    }

        .menu-desktop li.active {
            background-color: rgb(30, 30, 30) !important;
            color: #fff !important;
        }

            .menu-desktop li.active a {
                color: #fff !important;
            }

                .menu-desktop li.active a:hover {
                    color: #fff !important;
                }

            .menu-desktop li.active::after {
                display: none;
            }

        .menu-desktop li::after {
            content: "";
            position: absolute;
            right: 0px;
            height: 20px;
            top: 8px;
            display: block;
            width: 1px;
            background-color: #dededE;
        }

        .menu-desktop li:last-child::after {
            display: none;
        }

        .menu-desktop li a {
            font-size: 14px;
            color: #908a8a;
            text-decoration: none;
            font-weight: bold;
        }

            .menu-desktop li a:hover {
                color: #000;
            }

        .menu-desktop li.variant {
            background-color: #037bc9;
            position: absolute;
            top: 15px;
            right: 0;
            padding: 14px;
        }

            .menu-desktop li.variant:hover {
                background-color: #95d0f7;
            }

            .menu-desktop li.variant a {
                color: #fff;
                font-size: 20px;
            }

#mobileMenu li.variant {
}

    #mobileMenu li.variant a {
        background-color: #95d0f7;
        color: #fff;
        padding: 10px;
        display: inline-block;
        margin: 10px 0;
    }





@media screen and (max-width:940px) {
    #mobileMenu .overWhite {
        /*display: block;*/
    }

    #mobileMenu {
        display: block;
    }

    #headerMenu {
        background-color: #fff;
        display: none;
    }

    .spacerMenu {
        height: 140px;
    }

    .secondaryMenu {
        display: none;
    }

    .menu-btn {
        display: block !important;
    }

    .logo {
        position: fixed;
        right: 7px;
        top: 10px;
        background-size: 120px;
        height: 80px;
        background-position: right top;
        width: 150px;
    }

    #desktop_menu {
        display: none;
    }

    .bottomMenu {
        position: absolute;
        text-align: center;
        bottom: 0;
        right: 0;
        width:100%;
        padding: 0 0 30px 0;
    }

        .bottomMenu .headerIcoSocial {
            display: block;
            width: 100%;
            padding: 10px;
        }

        .bottomMenu .ico_social {
            height: 40px;
            width: 40px;
            background-size: 30px;
        }
}
