﻿/*********************************HEADER***************************************/
/*#region HEADER*/

/*menu icon changes*/

.menu-panel {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba( 51,51, 51,0.8);
    z-index: 799;
    opacity: 0;
    transition: all 0.2s ease;
}

@media (min-width: 990px) {
    header {
        width: 100%;
        float: left;
        position: fixed;
        z-index: 999999;
    }

    .menu-btn {
        position: fixed;
        font-size: 2.5em;
        color: #3ABFC4; /*teal*/
        opacity: 1;
        /*opacity: 0;*/
        z-index: 999;
        transition: all 0.2s ease;
    }

        .menu-btn:hover {
            font-size: 2.75em;
            cursor: pointer;
        }
    /*cross button*/
    .cross-btn {
        position: fixed;
        font-size: 2.75em;
        color: #fafaf9; /*pale yello*/
        opacity: 1;
        z-index: 899;
        transition: all 0.2s ease;
    }

    .disBtn {
        opacity: 1;
    }

    .enCross {
        opacity: 0;
    }

    /*.social_header {
        position: absolute;
        right: 8%;
        display: flex;
        top: 0;
        margin-top: 20px;
    }*/

    .displaymenu {
        display: block;
    }

    .nonemenu {
        display: none;
    }

    #toTop {
        position: fixed;
        bottom: 5px;
        right: 5px;
        font-size: 23px;
        cursor: pointer;
        display: none;
        background: #182955;
        color: #fff;
        padding: 14px 21px;
        box-shadow: 1px 1px 5px 1px #111;
        transition: .5s;
        border-radius: 100%;
        z-index: 999999999;
    }

        #toTop:hover {
            background: #333333;
            padding: 14px 21px;
            font-size: 23px;
        }


        #toTop span {
            font-family: "Font Awesome 5 Free" !important;
        }

    nav.wr.menu_nav {
        position: relative;
    }

    .menu-bar {
        list-style: none;
        width: 100%;
        float: left;
        margin: 0;
        height: 100%;
        direction: ltr;
        /*padding: 15px 0;*/
        /*display: none;*/
        background: #ffffff;
        background: #ffffffd4;
        padding-left: 18% !important;
        /*margin-top: 35px;*/
        padding: 30px 0 0;
        position: relative;
    }

        .menu-bar li {
            float: none;
            margin: 0;
            /*line-height: 80px;*/
            height: 100%;
            position: static;
            display: inline-block;
        }

        .menu-bar > li {
            /*border-left: 1px solid #2555ab;*/
        }

            .menu-bar > li > ul > li > ul > li {
                transition: all .4s ease-in-out;
            }

            .menu-bar > li:hover > a:before {
                /*background-color: #9c398a;*/
                z-index: -1;
            }

            .menu-bar > li > ul > li > ul > li:hover {
                color: #ccc;
            }

            .menu-bar > li:last-child {
                border-left: none;
            }

            .menu-bar > li > a {
                font-weight: 400;
                position: relative;
                height: 100%;
                display: flex !important;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                color: #4F66AE;
            }

                .menu-bar > li > a:before {
                    content: '';
                    height: 100%;
                    width: 100%;
                    position: absolute;
                    left: 0;
                    top: 0;
                    z-index: 0;
                    background-color: transparent;
                }


                .menu-bar > li > a > img {
                    height: 22px;
                    margin-bottom: 8px;
                }

    header.small_header .menu-bar > li > a {
        padding: 2px 20px 0 !important;
    }

        header.small_header .menu-bar > li > a > img {
            max-height: 20px;
            margin-bottom: 4px;
        }

    .menu-bar > li.mega > ul > li > a img {
        max-height: 15px;
        margin-left: 5px;
    }

    .menu-bar > li > a > i {
        display: inline-block;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        text-align: center;
        bottom: 0;
        top: 55%;
        font-size: 16px;
        color: #243b78;
        transition: all .5s ease-in-out;
        /*display: none;*/
    }

    header.small_header .menu-bar > li > a > i {
        top: 6px;
    }


    .menu-bar > li:hover > a {
        color: #afafaf;
        position: relative;
        z-index: 3;
        /*font-weight: bold;*/
    }


    .menu-bar li a {
        color: #797979;
        padding: 0 20px 18px;
        font-size: 14px;
        display: block;
        width: 100%;
        text-decoration: none;
    }

    .menu-bar > li > a {
        padding: 5px 20px 35px !important;
        font-weight: bold;
    }

    .menu-bar li a b {
        margin-left: 5px;
    }

    .menu-bar > li:hover > ul ul {
        visibility: visible;
    }

    .menu-bar > li.mega:hover > ul {
        opacity: 1;
        visibility: visible;
        display: flex;
        animation: fade 1s;
    }

    @keyframes fade {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    .menu-bar li i {
        display: none;
    }



    .menu-bar > li.mega > ul {
        opacity: 0;
        visibility: hidden;
        display: none;
        width: 85%;
        flex-wrap: wrap;
        position: absolute;
        z-index: 100;
        left: 0;
        top: 100%;
        align-items: stretch;
        justify-content: flex-start;
        background-image: url(../images/bg_menu.png);
        list-style: none;
        margin: 0;
        padding: 12px 0px 55px;
        -moz-transition: opacity 600ms, visibility 600ms;
        -webkit-transition: opacity 600ms, visibility 600ms;
        transition: opacity 600ms, visibility 600ms;
        background-repeat: no-repeat;
    }

        .menu-bar > li.mega > ul > li {
            text-align: left;
            margin-bottom: 15px;
        }

    .menu-bar li:first-child a span {
        display: none;
    }

    .menu-bar li.mega ul li a {
        color: #5d5d5d;
        font-size: 14px;
        font-weight: 600;
        -webkit-transition: all 0.4s ease-in-out;
        -moz-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
    }

    .menu-bar > li.mega > ul > li > a {
        border-bottom: 1px solid #ddd;
        padding: 0 18px 10px;
        margin-bottom: 10px;
    }

    .menu-bar li.mega ul li ul li a {
        font-size: 13px;
        color: #313131;
        font-weight: 400;
        position: relative;
        padding: 0;
        text-align: center;
    }




    .menu-bar li.mega ul li:hover > a {
        color: #ccc;
    }

    .menu-bar li.mega ul li ul li:hover > a {
        color: #ccc;
    }

    .menu-bar li.mega ul li {
        padding: 0 25px;
        float: left;
        line-height: 30px;
    }

        .menu-bar li.mega ul li ul {
            left: 100%;
            top: 0;
            background-color: transparent;
            display: flex;
            flex-direction: column;
            opacity: 1;
            list-style: none;
            position: static;
            transform: none;
            padding: 0;
        }

            .menu-bar li.mega ul li ul li {
                padding: 0;
                list-style: none;
            }


    .menu-bar li.normal > ul {
        position: absolute;
        width: 180px;
        background-color: #FFF;
        left: 14%;
        visibility: hidden;
        opacity: 0;
        transition: all .3s ease-in-out;
    }

    .menu-bar li.normal ul {
        background-color: #f8f8f8;
    }

    .menu-bar li.normal {
        position: relative;
    }

        .menu-bar li.normal:hover > ul {
            visibility: visible;
            opacity: 1;
            z-index: 3;
            padding: 0;
        }

        .menu-bar li.normal > ul li {
            width: 100%;
            float: left;
            height: auto;
            position: relative;
            display: block;
        }

            .menu-bar li.normal > ul li a {
                color: #000;
                line-height: 30px;
                text-align: left;
                padding: 4px 10px;
                transition: all .3s ease-in-out;
                width: 100%;
                display: block;
                border-bottom: 1px solid #ccc;
            }

                .menu-bar li.normal > ul li a:hover {
                    color: #afafaf;
                    background-color: #eee;
                }

        .menu-bar li.normal > ul ul {
            visibility: hidden;
            opacity: 0;
            visibility: hidden;
            opacity: 0;
            right: 100%;
            position: absolute;
            top: 0;
            width: 180px;
            transition: all .3s ease-in-out;
        }

        .menu-bar li.normal > ul li:hover ul {
            visibility: visible;
            opacity: 1;
            padding: 0;
        }

        .menu-bar li.normal a b {
            display: none;
        }

    .toggle-menu {
        display: block;
        float: right;
        height: 35px;
        line-height: 35px;
        padding-right: 10px;
        font-size: 16px;
        direction: rtl;
        box-sizing: border-box;
        margin-bottom: 5px;
        font-weight: 800;
        position: absolute;
        right: 14%;
        margin-top: 15px;
        background: transparent !important;
        border: none !important;
    }

    .logo img {
        width: 200px;
        height: 70px;
        position: absolute;
        z-index: 99999999999;
        top: 0;
        left: 2.5%;
        /*margin-top: 25px;*/
    }
}

@media (min-width: 1200px) {
    .menu-bar {
        list-style: none;
        width: 90%;
    }
}

.toggle-menu i {
    color: #243b78;
    position: fixed;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    top: 3.5%;
    right: 6%;
    font-size: 30px;
}


.logo {
    position: relative;
}




@media (max-width: 990px) {
    header {
        width: 100%;
        float: left;
        position: fixed;
        z-index: 999999;
    }

    /*.wr.main_header {
        background: #7f7f7f;
    }*/

    .menu-btn {
        position: fixed;
        font-size: 2.5em;
        color: #3ABFC4; /*teal*/
        opacity: 1;
        z-index: 999;
        transition: all 0.2s ease;
    }

        .menu-btn:hover {
            font-size: 2.75em;
            cursor: pointer;
        }
    /*cross button*/
    .cross-btn {
        position: fixed;
        font-size: 2.75em;
        color: #fafaf9; /*pale yello*/
        opacity: 0;
        z-index: 899;
        transition: all 0.2s ease;
    }

    .disBtn {
        opacity: 0;
    }

    .enCross {
        opacity: 1;
    }

    /*.social_header {
        width: 100%;
        float: left;
        text-align: center;
        padding-top: 5px;
    }*/

    .logo {
        margin: 5px 0;
    }

        .logo img {
            width: 200px;
            height:70px;
        }

    .toggle-menu {
        display: block;
        /*width: 100%;*/
        float: right;
        height: 35px;
        line-height: 35px;
        /*padding-right: 40px;*/
        font-size: 16px;
        position: relative;
        margin-top: 0;
        margin-bottom: 1px;
        direction: rtl;
        box-sizing: border-box;
        margin-bottom: 5px;
        font-weight: 800;
        right: 2%;
        background: transparent !important;
        border: none !important;
    }

    div#main_nav_menu {
        margin-bottom: 0;
    }

    .fixed {
        position: static;
    }

        .fixed .logo img {
            max-height: 70px;
        }

    .Main_Search_div {
        display: none;
    }



    .menu_nav {
        display: block;
        width: 100%;
        height: auto;
    }

    .menu-bar {
        display: none;
        line-height: 35px;
        width: 94%;
        float: left;
        list-style: none;
        margin: 0;
        border: 1px solid #ddd;
        direction: rtl;
        box-sizing: border-box;
        background-color: #FFF;
        margin-left: 9.5px;
    }

        .menu-bar li {
            width: 100%;
            float: right;
            position: relative;
            border-bottom: 1px solid #9e9e9e;
            margin: 0;
            line-height: 35px;
        }

            .menu-bar li i {
                display: block;
                position: absolute;
                left: 0;
                top: 0;
                width: 30px;
                /* height: 30px; */
                border-right: 1px solid #ddd;
                text-align: center;
                color: #f00;
                line-height: 35px;
            }

            .menu-bar li:first-child a i {
                display: none;
            }

            .menu-bar li a i {
                display: none;
            }

            .menu-bar li a {
                display: block;
                width: 100%;
                color: #333;
                text-decoration: none;
                padding-left: 32px;
                box-sizing: border-box;
            }

                .menu-bar li a b {
                    margin-left: 5px;
                }

        .menu-bar > li > a > img {
            display: none;
        }

        .menu-bar > li.mega > ul > li > a img {
            height: 15px;
            margin-left: 5px;
            width: 22px;
        }

        .menu-bar ul {
            width: 100%;
            float: left;
            list-style: none;
            margin: 0;
            display: none;
        }

    .cc {
        background-color: rgba(79, 102, 174,0.3);
    }

    .blue-row {
        height: auto;
    }
}

@media (min-width: 575px) {
    .logo img {
        width: 200px;
        height: 70px;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 1%;
    }
}

@media (max-width: 575px) {
    .toggle-menu {
        display: block;
        /*width: 100%;*/
        float: right;
        height: 35px;
        line-height: 35px;
        /*padding-right: 40px;*/
        font-size: 16px;
        position: relative;
        margin-top: -42px;
        margin-bottom: 1px;
        direction: rtl;
        box-sizing: border-box;
        margin-bottom: 5px;
        font-weight: 800;
        right: 2%;
        background: transparent !important;
        border: none !important;
    }
}
/*#endregion HEADER END*/
/*********************************HEADER***************************************/
/*********************************style***************************************/
/*#region style*/
@media(max-width: 992px) {
    .swing {
        display: none !important;
    }
}

@media(min-width: 992px) {
    div#main_nav_menu {
        position: relative;
    }
}

@media(min-width: 767px) {
    .swing {
    right:16%;
    top: 0;
    width: 150px;
    z-index: 999999999999999;
    position: absolute;
    /* animation: swing ease-in-out 1s infinite alternate; */
    transform-origin: center -20px;
    float: left;
    box-shadow: 1px 2px 10px rgba(0,0,0,0.5);
    background: transparent;
    padding: 0;
    border-radius: 0 0px 10px 10px;
    /* bottom: 0; */
    }
}
/*#endregion style*/
/*********************************style***************************************/

footer .wr {
    background: #7f7f7f;
    /*position: fixed !important;*/
    z-index: 999999;
    bottom: 0;
    color: #fff;
    font-size: 14px;
    /*padding-left: 50px !important;*/
    line-height: 2em;
    /*left: 0;*/
}

@media (max-width: 990px) {
    footer .wr {
        padding-left: 20px !important;
    }
}

/*@media (min-width: 990px) {
    .nav_fixed {
        position: fixed;
        width: 100%;
        float: left;
        box-shadow: 1px 1px 10px #000;
        background: transparent;
        transition: .5s ease all;
        z-index: 999999;
    }
}*/
