/*Main-Menu*/
.header-top {
    position: fixed;
    padding: 0;
    width: 100%;
    top: 0;
    z-index: 123;
    background: rgba(255, 255, 255, .7);
    transition: all 0.5s ease-in-out;
}
.sticky.header-top {
    background: #fff;
}
.header-top:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    left: 0;
    transition: 0.7s ease-in-out;
    display: block;
    background: #fb0000;
    height: 2px;
    z-index: 99999999;
}
.sticky.header-top:after {
    width: 100%;
}
.sticky .logoSite {
    margin: 22px 0;
    color: #252525;
}
.sticky .logoSite h3 {
    font-size: 20px;
}
.sticky #cssmenu > ul > li > a {
    padding: 25px 0;
}
.logoSite {
    display: inline-block;
    margin: 24px 0;
    color: #e1194a;
    transition: 0.5s ease-in-out;
}
.logoSite h3 {
    transition: 0.5s ease-in-out;
}
.main-menu {
    float: right;
}
nav {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #box-top-mobile {
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#cssmenu:after,
#cssmenu > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
#cssmenu #box-top-mobile {
    display: none;
}
#cssmenu {
    width: 100%;
    float: left;
}
#cssmenu > ul > li {
    float: left;
    display: inline-block;
    padding: 0 15px;
}
#cssmenu > ul > li > a {
    padding: 30px 0;
    font-size: 14px;
    text-decoration: none;
    color: #252525;
    position: relative;
    transition: 0.5s ease-in-out;
}
#cssmenu > ul > li > a:after {
    content: '';
    display: block;
    margin: auto;
    height: 3px;
    width: 0px;
    background: transparent;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    transition: width .5s ease, background-color .3s ease-in-out;
}
#cssmenu > ul > li > a:hover:after,
#cssmenu > ul > li > a.active:after {
    width: 100%;
    background: #00a1e4;
}
#cssmenu > ul > li > a > span {    
    bottom: 10px;
    left: 46%;   
}
#cssmenu li:hover > a > span {
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    bottom: -5px;
}
#cssmenu > ul > li.has-sub:hover > a:before {
    top: 23px;
    height: 0;
}
#cssmenu ul ul {
    position: absolute;
    left: -9999px;
    z-index: 9999999;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#cssmenu li:hover > ul {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
    transform: scaleY(1);
}
#cssmenu ul ul li {
    height: 0;
    overflow: hidden;
    background: #FFF;
    width: 154px;   
}
#cssmenu li:hover > ul {
    left: auto;
}
#cssmenu li:hover > ul > li {
    height: auto;
}
#cssmenu ul ul ul {
    margin-left: 100%;
    top: 0;
}
#cssmenu ul ul li a {
    padding: 10px 10px;
    width: 154px;
    font-size: 14px;
    text-align: left;
    text-decoration: none;
    color: #333;
    font-weight: 400;
    line-height: 20px;
    transition: all .0s ease;
    text-transform: capitalize;
}
#cssmenu ul ul li a:hover {
    color: #fff;
}
#cssmenu ul ul li.has-sub > a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #ddd;
    content: '';
}
#cssmenu ul ul li:hover > a {
    color: #fff;
    background: #00a1e4;
}
#cssmenu ul ul li.has-sub > a:before {
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #ddd;
    content: '';
}
#cssmenu ul ul > li.has-sub:hover > a:before {
    top: 17px;
    height: 0;
}
#cssmenu ul ul li.has-sub:hover,
#cssmenu ul li.has-sub ul li.has-sub ul li:hover {
    overflow: visible;
}
#cssmenu ul ul ul {
    padding-top: 0px;
}
#cssmenu ul ul ul li.active a {
    border-left: 1px solid #333;
}
#cssmenu > ul > li.has-sub > ul > li.active > a,
#cssmenu > ul ul > li.has-sub > ul > li.active> a {
    border-top: 1px solid #333;
}

/* sub-menu */

ul.sub-menu .submenu-right {
    right: 100%;
    width: 100% !important;
}
ul.sub-menu .submenu-left {
    left: 100%;
}
#navigationMenu.align-right ul ul ul {
    margin-left: 0;
    margin-right: 100%;
}

/* sub-menu end */

#banner {
    width: 100%;
    z-index: 11;
    position: relative;
    overflow: hidden;
}
#banner p {
    position: absolute;
    top: 35%;
    padding: 20px 50px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    left: 0;
    right: 0;
}

.button.menu-opened {
    top: 50px;
    position: fixed;
    z-index: 999999;
    right: 0;
}
.fixed-header .button.menu-opened{
    top:0;
 }
 #cssmenu ul ul li:hover > a {
    padding: 10px;
}
#cssmenu ul ul li.has-sub > a:after {
    top: 18px;
}
#cssmenu ul ul li.has-sub > a:before {
    top: 15px;
}
/**** Medai Query Start ****/
@media screen and (max-width:1024px) {
    .main-menu {
        width: 100%;
        z-index: 1030;
    }
    .sticky.header-top::after{
        display: none;
    }
    #cssmenu > ul {
        margin: 0 -15px;
    }
    #cssmenu ul.offside {
        width: 100%;
        display: block !important;
        height: 100% !important;
        background: #FFF;
        position: fixed;
        top: -150%;
        left: 0;
        right: 0;
        transition: all 0.5s ease-in-out;
        overflow: auto;
        text-align: center;
        padding: 50px 0;
    }
    #cssmenu ul.offside.open {
        top: 0;
    }
    #cssmenu ul ul {
        transform: translateX(0);
        padding: 0;
    }
    /*custom*/
    nav {
        width: 100%;
    }    
    #cssmenu {
        width: 100%;
    }
    #cssmenu ul {
        width: 100%;
        display: none;
        text-align: left;
        background: #fff;
    }
    #cssmenu ul li {
        width: 100%;
    }    
    #cssmenu ul ul li,
    #cssmenu li:hover > ul > li {
        height: auto;
    }
    #cssmenu ul li a,
    #cssmenu ul ul li a {
        width: 100%;
        border-bottom: 0;
        padding: 15px 30px;
        color: #465a65;
    }
    #cssmenu > ul > li {
        float: none;
    }
    #cssmenu ul li.active {
        background: #d80032;
    }
    #cssmenu > ul > li::after {
        background: none;
    }
    #cssmenu > ul > li > a:hover {
        color: #465a65;
    }
    #cssmenu ul ul li:hover > a,
    #cssmenu ul ul li a:hover {
        color: #465a65;
    }
    #cssmenu > ul > li > a,
    #cssmenu > ul > li:hover > a {
        color: #465a65;
        z-index: 2;
    }
    #cssmenu > ul > li > a::after {
        display: none;
    }
    #cssmenu > ul > li.active > a {
        color: #fff;
    }
    #cssmenu ul ul li {
        width: 100%;
    }
    #cssmenu > ul > li {
        padding: 0;
    }
    #cssmenu ul ul li:hover {
        background: #fff;
    }
    #cssmenu ul ul ul li a {
        
        color: #465a65;
    }
    #cssmenu ul ul ul li a:hover {
        color: #465a65;
    }
    #cssmenu ul ul,
    #cssmenu ul ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
        transition: 0s;
    } 
    #cssmenu > ul > li.has-sub > a:after,
    #cssmenu > ul > li.has-sub > a:before,
    #cssmenu ul ul > li.has-sub > a:after,
    #cssmenu ul ul > li.has-sub > a:before {
        display: none;
    }
    #cssmenu #box-top-mobile {
        display: block;
        padding: 0px;
        color: #ddd;
        font-size: 12px;
        font-weight: 700;
    }
    .button {
        width: 55px;
        height: 46px;
        position: absolute;
        right: 0;
        top: 0;
        cursor: pointer;
        z-index: 12399994;
    }
    .button:after {
        position: absolute;
        top: 22px;
        right: 20px;
        display: block;
        height: 8px;
        width: 25px;
        border-top: 2px solid;
        border-bottom: 2px solid;
        content: '';
        border-image: linear-gradient(to right, #c62827 0%, #ae1558 100%);
        border-image-slice: 1;
    }
    .button:before {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        position: absolute;
        top: 16px;
        right: 20px;
        display: block;
        height: 2px;
        width: 25px;
        background: linear-gradient(to right, #c62827, #ae1558);
        content: '';
    }
    .button.menu-opened:after {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        top: 23px;
        border: 0;
        height: 2px;
        width: 24px;
        background: #455a64;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .button.menu-opened:before {
        top: 23px;
        background: #455a64;
        width: 24px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    #cssmenu .submenu-button {
        position: absolute;
        z-index: 99;
        right: 0;
        top: 0;
        display: block;
        height: 46px;
        width: 46px;
        cursor: pointer;
    }
    #cssmenu ul ul .submenu-button {
        height: 34px;
        width: 24px;
    }
    #cssmenu .submenu-button:before {
        content: "\f0d7";
        display: inline-block;
        font: normal normal normal 14px/1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        position: absolute;
        top: 15px;
        transition: 0.3s ease-in-out;
        color: #fb0000;
    }
    #cssmenu .submenu-button.submenu-opened:before {
        transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        color: #252525;
    }
    #cssmenu ul ul li a {
        text-align: center;
        font-size: 13px;
    }
    #cssmenu li:hover > ul {
        left: 0;
    }
}
@media screen and (max-width:768px) {
    #cssmenu > ul {
        margin: 0;
    }
     #cssmenu ul ul li:hover > a {
    padding: 15px 30px;
    }
}
@media screen and (min-width: 767px) and (max-width: 1024px) {
    .button.menu-opened{
      top:-150px;
    }
}