/*  BURGER
========================================== */

.burger {
    width: 40px;
    height: 40px;
    position: relative;
    background: transparent;
    /* top:30px; */
    /* left: 100px; */
    z-index: 999;
    border-radius: 0;
    /* box-shadow: 0px 0px 0px 15px #d25a2f; */

}
@media(max-width:575px){
    /* .burger {
    margin-top: 30px;
    } */
}
.burger span {
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;

    transition: 400ms all;
    -webkit-transition: 400ms all;
}

.burger span {
    display: block;
    width: 50px;
    height: 1px;
    background-color: transparent;
    outline: 1px solid transparent;
    -webkit-transition-property: background-color, -webkit-transform;
    -moz-transition-property: background-color, -moz-transform;
    -o-transition-property: background-color, -o-transform;
    transition-property: background-color, transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}


.burger span {
    background: url(../images/nav-icon.svg) no-repeat center;
    width: 40px;
    height: 40px;
    background-size: 40px;

    
}

.burger.clicked span {
    background-color: transparent;
}

.burger.clicked span::before {
    -webkit-transform: translateY(9px) rotate(45deg);
    -moz-transform: translateY(9px) rotate(45deg);
    -ms-transform: translateY(9px) rotate(45deg);
    -o-transform: translateY(9px) rotate(45deg);
    transform: translateY(9px) rotate(45deg);
}

.burger.clicked span::after {
    -webkit-transform: translateY(-9px) rotate(-45deg);
    -moz-transform: translateY(-9px) rotate(-45deg);
    -ms-transform: translateY(-9px) rotate(-45deg);
    -o-transform: translateY(-9px) rotate(-45deg);
    transform: translateY(-9px) rotate(-45deg);
}

.burger.clicked span:before,
.burger.clicked span:after {
    background-color: #ffffff;
}

.burger.clicked span:before {
    top: -10px;
}

.burger.clicked span:after {
    top: 8px;
}

.burger:hover {
    cursor: pointer;
}


/*  NAV
========================================== */

nav {
    background: #006194;
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    height: 100%;
    max-width: 300px;
    width: 100%;
    padding: 30px;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -moz-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -o-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.nav-close{
    /* position: absolute;
    right: 20px; */
    margin-bottom: 30px;
    margin-top: 10px;
    height: 10px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: flex-end;
   cursor: pointer;
   font-size: 13px;
   font-weight: 400;
   letter-spacing: 1px;
   color: #fff;
   text-transform: uppercase;
       z-index: 9999;
    position: relative;
}
@media(max-width:575px){
.nav-close{
         margin-bottom: 10px;
    }
}
.nav-close img{
    margin-left: 5px;
    width: 20px;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
   -webkit-animation: mover 0.5s infinite  alternate;
    animation: mover 0.5s infinite  alternate;
}
@-webkit-keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateX(20px); }
}
@keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateX(4px); }
}
nav.show {
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
}

nav.show ul.main li {
    opacity: 1;
}

nav.show .about {
    background: none;
}

nav.show .about p {
    font-size: 14px;
}


nav.show .about,
nav.show .social,
nav.show ul.sub {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
    transition-delay: .85s;
}





nav ul.main {
    list-style-type: none;
}

nav ul.main li {
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

nav ul.main li:last-of-type {
    margin-bottom: 0px;
}

nav ul.main li a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    display: block;
    letter-spacing: 3px;
    padding: 5px 0 9px;
    margin: 5px 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px dashed rgba(255,255,255,0.15);

}
nav ul.main li a:hover{
    color: #fdc418;
}
nav ul.main li a span {
    color: #e9e1d8;
}

nav ul.main li a:hover {
    color: #fdc418;
}

nav ul.main li a:before {
    position: absolute;
    content: '';
    left: -10px;
    top: 22px;
    width: 25px;
    height: 1px;
    background: #e9e1d8;
    transition: 400ms all;
    -webkit-transition: 400ms all;
    opacity: 0;
}

nav ul.main li.active a {
    color: #fdc418;
}




nav .about {
    padding-top: 50px;
    border-top: 2px solid #d25a2f;
    -webkit-transform: translateY(30px);
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -o-transform: translateY(30px);
    transform: translateY(30px);
    opacity: 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

nav .about p {
    color: #ffffff;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    line-height: 170%;
    margin-bottom: 5px;
}

nav .about ul li:first-child{
    margin-bottom: 15px;
}
nav .about a{
    color: #fff;
}
nav .social {
    margin-top: 40px;
    position: relative;
    padding-bottom: 30px;
    -webkit-transform: translateY(30px);
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -o-transform: translateY(30px);
    transform: translateY(30px);
    opacity: 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}


/* nav .social:after {
    content: "";
    width: 230px;
    height: 2px;
    background-color: #d25a2f;
    position: absolute;
    bottom: 0;
    left: 0;
} */

nav .social a {
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 25px;
}

nav .social a:last-of-type {
    margin-right: 0px;
}

nav .social a:hover svg path,
nav .social a:hover svg circle {
    fill: #fdc418;
}

nav .social a svg {
    width: 100%;
    height: 100%;
}

nav .social a svg path,
nav .social a svg circle {
    fill: #ffffff;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

nav ul.sub {
    list-style-type: none;
    margin-top: 40px;
    -webkit-transform: translateY(30px);
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -o-transform: translateY(30px);
    transform: translateY(30px);
    opacity: 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

nav ul.sub li {
    margin-bottom: 10px;
}

nav ul.sub li:last-of-type {
    margin-bottom: 0px;
}

nav ul.sub li a {
    color: #ffffff;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

nav ul.sub li a:hover {
    color: #d25a2f;
}

nav ul.main li.sub-menu ul {
    position: fixed;
    right: 0;
    top: 0px;
    bottom: 0;
    height: 100vh;
    background: #00527e;
    padding: 30px;
    width: 300px;
    transition: all 400ms;
    opacity: 0;
    visibility: hidden;
}

nav ul.main li.sub-menu ul li a {
    letter-spacing: 1px;
    font-size: 14px;
    line-height: 20px;
}

nav ul.main li.sub-menu.show ul {
    right: 300px;
    transition: all 400ms;
    opacity: 1;
    visibility: visible;
}
@media(max-width:767px) {
  
    nav ul.main li.sub-menu ul{
        width: 240px;
    }
}
@media(max-width:550px) {
    nav{
        max-width: 100%;
    }
    nav ul.main li.sub-menu.show ul{
        position: relative;
        height: auto !important;
        padding: 10px 20px;
        border-radius: 6px;
        right: inherit;
        height: auto !important;
        max-height: 180px;
        overflow: hidden;
        overflow-y: scroll;
        width: 100%;
    }
    
     nav ul.main li.sub-menu ul{
        position: relative;
        height: auto !important;
        padding: 0 20px;
        border-radius: 6px;
        height: 0 !important;
          top: inherit;
        right: inherit;
        width: 100%;
    }
}
nav ul.main li.sub-menu.show a {
    color: #e9e1d8;
}

nav ul.main li.sub-menu.show ul a {
    color: #fff;
}
nav ul.main li.sub-menu.show ul a:hover {
    color: #fdc418;
}
nav ul.main li.sub-menu.show {
    transform: unset !important;
}

nav ul.main li.sub-menu {
    position: relative;
}

nav ul.main li.sub-menu:before,
nav ul.main li.sub-menu:after {
    position: absolute;
    content: '';
    right: 4px;
    top: 10px;
    background: #fdc418;
    width: 1px;
    height: 10px;
}

nav ul.main li.sub-menu:after {
    width: 10px;
    height: 1px;
    right: 0;
    top: 14px;
}


/*  OVERLAY
========================================== */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 12;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #f6f1eb;
    opacity: 0;
    visibility: hidden;
}

.overlay.show {
    opacity: 0.8;
    visibility: visible;
}

.nav-contact-box .about ul li span svg {
    width: 15px;
    height: 15px;
}

.nav-contact-box .about ul li span {
    float: left;
    margin-right: 15px;
}

.nav-contact-box .about ul li span svg path {
    fill: #fff;
}

.nav-contact-box {
    position: absolute;
    bottom: 0;
}



@media(max-width:1366px) {
    nav .about {
        padding-top: 20px;
    }
    nav ul.main li {
        margin-bottom: 0px;
    }
  
}

@media(max-width:1199px) {
    nav ul.main li {
        margin-bottom: 0;
    }
}
