﻿body {
}


.headerinfoarea {
    background: #0d335e;
    width: 100%;
    float: left;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: auto;
    transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -webkit-transition: .5s ease-in-out;
}

.menu_mobile, .menu_tab {
    display: none;
    cursor: pointer;
}

.custommenu-mobile {
    display: block;
    position: fixed;
    left: -358px;
    width: 315px;
    z-index: 9999;
    background: #fff;
    top: 0;
    height: 100%;
}

    .custommenu-mobile .nav-close {
        background: url(../images/sprite-social-icon.html) -423px -8px no-repeat #003a68;
        color: #fff;
        cursor: pointer;
        padding: 47px 18px 0 25px;
        position: absolute;
        right: -52px;
        text-indent: -9999px;
        top: 0;
    }

.mobile_menuinfo {
    width: 100%;
    float: left;
}

    .mobile_menuinfo .searchformarea {
        width: 100%;
        float: left;
        margin-bottom: 20px;
        padding: 15px;
    }

        .mobile_menuinfo .searchformarea .search_fld {
            background: #003a68;
            width: 100%;
            height: 50px;
            padding: 10px 30px 10px 10px;
            color: #fff;
            font-size: 14px;
            border: 0;
        }

        .mobile_menuinfo .searchformarea .sbt4 {
            background: url(../images/search_ic.html) no-repeat;
            width: 25px;
            height: 25px;
            border: 0;
            cursor: pointer;
            position: absolute;
            right: 25px;
            top: 27px;
        }

.res-view-bx {
    overflow-y: scroll;
    width: 100%;
}

.mobilemenu {
    width: 100%;
    float: left;
    padding: 0 15px;
}

    .mobilemenu ul {
        width: 100%;
        float: left;
        list-style: none;
    }

        .mobilemenu ul li {
            width: 100%;
            float: left;
            border-bottom: 1px solid #ebebeb;
            padding: 12px 0;
            position: relative;
        }

.social_linkarea {
    width: 100%;
    float: left;
    margin: 17px 0 30px;
    text-align: center;
    border-top: 1px solid #c3c3c3;
    padding-top: 10px;
}

address, body, div, fieldset, figure, form, h1, h2, h3, h4, h5, h6, img, input, li, ol, p, select, textarea, ul {
    outline: 0;
    padding: 0;
    margin: 0;
}

.logo img {
    width: 124px;
    margin: 2px 0 0 58px;
    transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -webkit-transition: .5s ease-in-out;
    border-radius: 55%;
}

/*.container {
    width: 62%;
    margin: auto;
    top: 7px;
    position: relative;
    margin-right: 120px;
}*/

.flexnav, .flexnav ul {
    list-style: none;
    margin: 0;
}

.flexnav, .menu-button {
    font-family: Lato,Helvetica,sans-serif;
    line-height: 1;
}

.flexnav {
    padding: 0;
    display: block;
    overflow: visible;
    width: 100%;
}

    .flexnav > li > a, .menu-button {
    padding: 45px 10px;
    font-size: 14px;
    text-transform: uppercase;
}

    .flexnav:after {
        content: "";
        display: table;
        clear: both;
    }

.menu-button {
    display: none;
    color: #7a8189;
    cursor: pointer;
}

.flexnav > li {
    float: left;
    display: block;
    position: relative;
}

.flexnav li a {
    color: white;
    -webkit-transition: color .2s ease-out;
    -moz-transition: color .2s ease-out;
    -ms-transition: color .2s ease-out;
    -o-transition: color .2s ease-out;
    transition: color .2s ease-out;
}

.flexnav > li > a {
    display: block;
    font-weight: 300;
    text-decoration: none;
}

.flexnav li a:hover {
    color: #ffc107;
}

.flexnav > .item-with-ul > a {
    padding-right:44px;
}

touch-button {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 54px;
    height: 54px;
    z-index: 99;
    cursor: pointer;
    background: white;
}

.touch-button::after {
    content: '';
    display: block;
    position: absolute;
    width: 26px;
    height: 26px;
    border: 1px solid #7a8189;
    right: 13px;
    top: 40px;
    border-radius: 23px;
}

.touch-button::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    border-bottom: 1px solid white;
    border-left: 1px solid white;
    right: 21px;
    top: 44px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.flexnav li:hover > .touch-button::before, .sm-screen .submenu-open::before {
    border-bottom-color: #fff;
    border-left-color: #fff;
}

.flexnav li:hover > .touch-button::after, .sm-screen .submenu-open::after {
    border-color: #fff;
}

.flexnav ul {
    position: absolute;
    left: 0;
    padding: 0;
}

    .flexnav ul ul {
        left: 244px;
        top: -1px;
    }

    .flexnav ul li {
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
        border-top:1px solid #c6c6c6;
    }

        .flexnav ul li a {
    background: #0d335e;
    padding: 15px 15px;
    display: block;
    width: 230px;
    text-decoration: none;
    font-size: 17px;
}

    .flexnav ul .touch-button {
        width: 40px;
        height: 40px;
        border-left: 1px solid #31353f;
    }

        .flexnav ul .touch-button::after {
            top: 8px;
            right: 8px;
            width: 22px;
            height: 22px;
        }

        .flexnav ul .touch-button::before {
            right: 17px;
            top: 16px;
            height: 7px;
            width: 7px;
            -webkit-transform: rotate(-135deg);
            -moz-transform: rotate(-135deg);
            -ms-transform: rotate(-135deg);
            -o-transform: rotate(-135deg);
            transform: rotate(-135deg);
        }

@media all and (max-width:800px) {
    .flexnav {
        overflow: hidden;
        max-height: 0;
    }

        .flexnav.show {
            overflow: visible;
            max-height: 3000px;
        }

        .flexnav li {
            float: none;
        }

        .flexnav ul li a {
            width: auto;
            padding-left: 42px;
        }

        .flexnav > li {
            border-top: 1px solid #31353f;
        }

        .flexnav ul, .flexnav ul ul {
            position: relative;
            left: 0;
            width: 100%;
        }

        .flexnav.show .touch-button, .menu-button .touch-button {
            border-left: 1px solid #31353f;
            z-index: 999;
        }

        .flexnav ul .touch-button::before {
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
            right: 16px;
            top: 15px;
        }

    .menu-button {
        display: block;
    }

        .menu-button .touch-button::before {
            -webkit-transform: rotate(0);
            -moz-transform: rotate(0);
            -ms-transform: rotate(0);
            -o-transform: rotate(0);
            transform: rotate(0);
            border-left: 0;
            border-top: 2px solid #7a8189;
            border-bottom: 2px solid #7a8189;
            height: 2px;
            width: 12px;
            top: 22px;
        }

        .menu-button::after {
            display: block;
            width: 12px;
            height: 2px;
            content: '';
            position: absolute;
            background: #7a8189;
            right: 21px;
            top: 30px;
        }

    .flexnav ul ul li a {
        padding-left: 62px;
    }

    .flexnav ul ul ul li a {
        padding-left: 82px;
    }
}
