@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  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;
  z-index: 1;
  float: left;
}

.mobile-menu-panel{
  display: none;
}

#cssmenu:after,
#cssmenu>ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;

}

@media(max-width:960px){

    #cssmenu .submenu{
        display:none;
    }

}

#cssmenu #menu-button {
  display: none;
}

#cssmenu {
  font-size: 15px;

}

@font-face {
  font-family: myFirstFont;
  src: url('AnticDidone-Regular.otf') format('truetype');
}

#cssmenu.align-center>ul {
  font-size: 0;
  text-align: center;
}

#cssmenu.align-center>ul>li {
  display: inline-block;
  float: none;
}

#cssmenu.align-center ul ul {
  text-align: left;
}

#cssmenu.align-right>ul>li {
  float: right;
}

#cssmenu>ul>li>a {
  font-size: 16px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    text-transform: capitalize;
    font-family: 'Poppins', sans-serif !important;
    padding: 10px 0px;
    margin: 20px 18px;
}

#cssmenu>ul>li:hover>a,
#cssmenu>ul>li>a:hover {
  color: #fff;
  border-bottom: 2px solid #f0902e;
}

#cssmenu>ul>li.active>a {
  color: #fff;
  border-bottom: 2px solid #f0902e;
}

#cssmenu>ul>li.has-sub>a {
  padding-right: 4px;
}

#cssmenu>ul>li.has-sub>a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}



#cssmenu>ul>li.has-sub:hover>a::after {
  transform: translateY(-50%) rotate(225deg);
  transition: 0.3s ease;
}



#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  top: 65px;
}

#cssmenu.align-right ul ul {
  text-align: right;
}

#cssmenu ul ul li {
  height: 0;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
  background: linear-gradient(145deg, #00346a, #1a72b8);
}

#cssmenu li:hover>ul {
  left: auto;
}

#cssmenu.align-right li:hover>ul {
  left: auto;
  right: 0;
}

#cssmenu li:hover>ul>li {
  height: auto;
}

#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}

#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}

#cssmenu ul ul li a {
    padding: 10px 15px;
    width: 50vh;
    font-size: 16px;
    font-family: 'Poppins', sans-serif !important;
    text-decoration: none;
    color: #fff;
    text-transform: capitalize;
    font-weight: 500;
    /* background: #f6f6f6; */
    line-height: 145%;
}
#cssmenu ul ul li:last-child>a{
  margin-right: 0%!important;
}


#cssmenu ul ul li:last-child>a,
#cssmenu ul ul li.last-item>a {
  border-bottom: 0;
}

#cssmenu ul ul li:hover>a,
#cssmenu ul ul li a:hover {
    color: #fff;
    background: #f0902e;

}

#cssmenu ul ul li.active>a,
#cssmenu ul ul li a.active {
    color: #fff;
    background: #f0902e;

}

#cssmenu ul ul li.has-sub>a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}

#cssmenu.align-right ul ul li.has-sub>a:after {
  right: auto;
  left: 11px;
}

#cssmenu ul ul li.has-sub>a:before {
  position: absolute;
  top: 13px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

#cssmenu.align-right ul ul li.has-sub>a:before {
  right: auto;
  left: 14px;
}

#cssmenu ul ul>li.has-sub:hover>a:before {
  top: 17px;
  height: 0;
}

@media only screen and (max-width : 1600px){
#cssmenu>ul>li>a {
    margin: 20px 9px;
}

}

@media only screen and (max-width : 1500px){

#cssmenu ul ul li a {
        font-size: 15px;
}
}


@media only screen and (max-width:1180px) {
 
}

@media only screen and (max-width:999px) {
 
}


@media all and (max-width: 960px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 960px),
only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 960px),
only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 960px),
only screen and (min-device-pixel-ratio: 2) and (max-width: 960px),
only screen and (min-resolution: 192dpi) and (max-width: 960px),
only screen and (min-resolution: 2dppx) and (max-width: 960px) {
  #cssmenu ul ul {
    top: 0;
  }

  #cssmenu,
  #cssmenu ul,
  #cssmenu ul li,
  #cssmenu ul li a,
  #cssmenu #menu-button {
    float: none;
  }

  #cssmenu>ul>li>a {
    padding: 14px 0px;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    font-family: myFirstFont;
    font-weight: 500;
    padding: 10px 10px;
    margin: 0;

  }

  #cssmenu>ul>li:hover>a,
  #cssmenu>ul>li>a:hover {
        border: none;
        background-color: #f6f2f0;
        color: #000 !important;
  }

  #cssmenu>ul>li.active>a {
    border: none;
    background-color: #f6f2f0;
    color: #000 !important;
}

  #cssmenu>ul>li>a {
    border-right: #a1d37c solid 0px;
  }

  #cssmenu {
    width: 100%;
  }

  #cssmenu ul {
    width: 100%;
    display: none;

  }

  #cssmenu.align-center>ul {
    text-align: left;
  }

  #cssmenu ul li {
    width: 100%;
    border-top: 1px solid #764250;

  }

  #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;
  }

  #cssmenu>ul>li {
    float: none;
  }

  #cssmenu ul ul li a {
    padding-left: 25px;
  }

  #cssmenu ul ul ul li a {
    padding-left: 35px;
  }

  #cssmenu ul ul li a {
    color: #fff;
    background: none;
    font-size: 14px;
    font-weight: 500;
  }

  #cssmenu ul ul li:hover>a,
  #cssmenu ul ul li.active>a {
    color: #fff;
    background: #593640;

  }

  #cssmenu ul ul,
  #cssmenu ul ul ul,
  #cssmenu.align-right ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  #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 #menu-button {
    display: block;
    padding: 13px;
    color: #fff;
    cursor: pointer;
    font-family: myFirstFont;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
  }

  #cssmenu #menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 10px;
    width: 22px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    right: 25px;
    top: 17px;
}

  #cssmenu #menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #fff;
    right: 25px;
    top: 21px;
  }

  #cssmenu #menu-button.menu-opened:after {
    top: 21px;
    border: 0;
    height: 2px;
    width: 15px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #cssmenu #menu-button.menu-opened:before {
    top: 21px;
    background: #fff;
    width: 15px;
    height: 0px;
    -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;
    border-left: 0px solid rgba(120, 120, 120, 0.2);
    height: 46px;
    width: 46px;
    cursor: pointer;

  }

  #cssmenu .submenu-button.submenu-opened {
    background: #000;
  }

  #cssmenu ul ul .submenu-button {
height: 48px;
    width: 34px;
  }

  #cssmenu .submenu-button:after {
    position: absolute;
        top: 23px;
    right: 19px;
    width: 8px;
    height: 2px;
    display: block;
    background: #fff;
    content: '';
  }

  #cssmenu ul ul .submenu-button:after {
    top: 15px;
    right: 13px;
  }

  #cssmenu .submenu-button.submenu-opened:after {
    background: #ffffff;
  }

  #cssmenu .submenu-button:before {
        position: absolute;
        top: 20px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #fff;
        content: '';
  }

  #cssmenu ul ul .submenu-button:before {
    top: 12px;
    right: 16px;
  }

  #cssmenu .submenu-button.submenu-opened:before {
    display: none;
  }
}


/* Hide hamburger on desktop */
.ham{
    display:none;
}

/* ================= MOBILE ================= */

@media only screen and (max-width :1300px) {
    
    #cssmenu>ul>li>a {
    font-size: 13px;

    }
  }

@media(max-width:960px){

.ham{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 49px;
        height: 24px;
        cursor: pointer;
        z-index: 99999;
        margin-right: 3%;
}

.ham span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transition: all .3s ease;
}

/* Open -> Cross */
.ham.active span:nth-child(1){
transform: translateY(10px) rotate(42deg);
}

.ham.active span:nth-child(2){
    opacity:0;
}

.ham.active span:nth-child(3){
    transform:translateY(-10px) rotate(-45deg);
}

.mobile-menu-panel{
    position:fixed;
    top:0;
    left:-320px;
    width:300px;
    max-width:85%;
    height:100%;
    background:#00346a;
    overflow-y:auto;
    transition:.4s ease;
    z-index:9999;
    padding-top:70px;
    box-shadow:5px 0 15px rgba(0,0,0,.3);
}

.mobile-menu-panel.active{
    left:0;
}

.mobile-overlay{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.5);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9998;
}

.mobile-overlay.active{
    opacity:1;
    visibility:visible;
}

/* menu */

.mobile-menu-panel #cssmenu{
    width:100%;
}

.mobile-menu-panel #cssmenu ul{
    display:block;
}

.mobile-menu-panel #cssmenu li{
    width:100%;
    border-bottom:1px solid rgba(255,255,255,.1);
}

    .mobile-menu-panel #cssmenu li a {
        color: #fff !important;
    padding:15px 20px;
    margin:0;
    font-size:15px;
}

.mobile-menu-panel #cssmenu ul ul{
    position:relative;
    left:0;
    top:0;
    display:none;
    background:#0b4d8c;
}

.mobile-menu-panel #cssmenu ul ul li a{
    padding-left:35px;
    font-size:14px;
}

.mobile-menu-panel #cssmenu ul ul ul li a{
    padding-left:50px;
}

.submenu-button{
    position:absolute;
    right:0;
    top:0;
    width:50px;
    height:48px;
    cursor:pointer;
}

.submenu-button:after{
    content:"+";
    color:#fff;
    font-size:22px;
    position:absolute;
    top:10px;
    right:18px;
}

.submenu-button.submenu-opened:after{
    content:"−";
}

.mobile-menu-panel{
  display: block;
}
    .menu-top2 {
        width: 90%;
    }

}


#menu-button{
  display: none !important;
}


/* =========================
   MOBILE DROPDOWN FIX
========================= */
@media only screen and (max-width: 960px) {

    /* Keep submenu hidden initially */
    .mobile-menu-panel #cssmenu ul ul {
        display: none;
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #0b4d8c;
    }

    /* OPEN SUBMENU */
    .mobile-menu-panel #cssmenu ul li.has-sub > ul.submenu-opened,
    .mobile-menu-panel #cssmenu ul li.has-sub > ul.open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }

    /* Submenu items */
    .mobile-menu-panel #cssmenu ul ul li {
        display: block;
        width: 100%;
        height: auto !important;
    }

    .mobile-menu-panel #cssmenu ul ul li a {
        display: block;
        width: 100%;
        padding: 13px 35px !important;
        color: #fff !important;
        background: transparent;
    }

    /* Nested dropdown */
    .mobile-menu-panel #cssmenu ul ul ul {
        display: none;
        background: #06457d;
    }

    .mobile-menu-panel #cssmenu ul ul li.has-sub > ul.submenu-opened,
    .mobile-menu-panel #cssmenu ul ul li.has-sub > ul.open {
        display: block !important;
    }

    /* Make sure parent li can contain the button */
    .mobile-menu-panel #cssmenu li.has-sub {
        position: relative;
    }
}

/* =========================================
   PHONE MENU DROPDOWN - FINAL
========================================= */

@media only screen and (max-width: 960px) {

    .mobile-menu-panel {
        display: block !important;
    }

    .mobile-menu-panel #cssmenu {
        width: 100%;
    }

    .mobile-menu-panel #cssmenu ul {
        display: block;
        width: 100%;
    }

    .mobile-menu-panel #cssmenu li {
        width: 100%;
        position: relative;
    }


    /* Main menu links */

    .mobile-menu-panel #cssmenu li > a {
        display: block;
        width: 100%;
        padding: 15px 55px 15px 20px !important;
        margin: 0 !important;
        color: #fff !important;
    }


    /* =========================================
       ALL SUBMENUS CLOSED
    ========================================= */

    .mobile-menu-panel #cssmenu li > ul {
        display: none;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #0b4d8c !important;
    }


    /* =========================================
       OPEN SUBMENU
    ========================================= */

    .mobile-menu-panel #cssmenu li > ul.open {
        display: block !important;
    }


    /* =========================================
       SUBMENU ITEMS
    ========================================= */

    .mobile-menu-panel #cssmenu li > ul > li {
        display: block;
        width: 100%;
        height: auto !important;
    }

    .mobile-menu-panel #cssmenu li > ul > li > a {
        padding: 13px 55px 13px 35px !important;
        font-size: 14px !important;
        color: #fff !important;
        background: transparent !important;
    }


    /* =========================================
       NESTED SUBMENU
    ========================================= */

    .mobile-menu-panel #cssmenu li > ul li > ul {
        display: none;
        background: #06457d !important;
    }

    .mobile-menu-panel #cssmenu li > ul li > ul.open {
        display: block !important;
    }

    .mobile-menu-panel #cssmenu li > ul li > ul > li > a {
        padding-left: 50px !important;
    }

}