header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


nav {
    background-color: #1e2845;
    width: 90%;
    margin-top: 2vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1% 2.5%;
    transition: all 0.3s ease-in-out;
}

nav.sticky {
    margin-top: 0;
}

nav > a:nth-child(1) {
    width: 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

nav img {
    width: 100%;
}

nav a {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

#nav-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 25%;
}

#nav-links div:nth-child(2) {
    display: flex;
    flex-direction: column;
    position: relative;
}

#nav-links div:nth-child(2):hover {
    cursor: pointer;
}

#nav-links div:nth-child(2) svg {
    width: 1.5vw;
}

#nav-links > div:nth-child(2):hover > a {
    color: #2ac6d1;
}

#arrow-opened, #arrow-closed {
    margin-left: 0.5vw;
}

#nav-links div:nth-child(2):hover #arrow-opened {
    display: initial;
}

#nav-links div:nth-child(2):hover #arrow-closed {
    display: none;
}

#arrow-opened {
    display: none;
}

#nav-links > div:nth-child(2):hover div {
    display: flex;
}

#nav-links div:nth-child(2) div {
    position: absolute;
    top: 1.5vw;
    left: -1.5vw;
    background-color: white;
    border-radius: 0.2vw;
    padding: 0.5vw 0;
    display: none;
}

#nav-links div:nth-child(2) div a {
    width: max-content;
    color: black;
    padding: 0.5vw 1vw;
}

#nav-links div:nth-child(2) div a:nth-child(1) {
    margin-bottom: 0.5vw;
}

#nav-links > div:nth-child(2) > div > a:hover {
    color: #2ac6d1;
    background-color: rgb(224, 224, 224);
    border-left: solid 0.2vw #2ac6d1;
}

#nav-links div:nth-child(2) div .link-disabled, .link-disabled {
    color: rgb(182, 182, 182) !important;
    cursor: default;
}

#nav-links div:nth-child(2) div .link-disabled:hover, .link-disabled:hover {
    cursor: default;
    color: rgb(182, 182, 182);
    background-color: unset;
    border-left: unset;
}

/* Contact Form  */
#contact-cnt {
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    position: fixed;
    background-color: #1e284578;
}

#contact-cnt h2 {
    font-size: 2.2vw;
}

#contact-cnt > div {
    position: relative;
    background-color: white;
    border-radius: 0.5vw;
    width: 40vw;
    height: 90vh;
    padding: 2.5vw;
    text-align: center;
    overflow-y: scroll;
    box-sizing: border-box;
}

#contact-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: start;
}

#contact-form * {
    box-sizing: border-box;
}

.half-width-field, .full-width-field {
    display: flex;
    flex-direction: column;
}

.half-width-field input, .full-width-field input, .full-width-field textarea {
    width: 100%;
    border-radius: 0.3vw;
    border: #CBCDD7 solid 0.1vw;
    padding: 1vw;
}

.half-width-field {
    width: 48%;
}

.full-width-field {
    width: 100%;
}

.field-astric {
    color: red;
}

#contact-form button {
    margin: 0 auto;
}

.g-recaptcha {
    align-items: center;
}

.form-success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
}

.form-fail {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
}


#nav-menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    font-size: 30px;
}

#contact-close-btn {
    position: absolute;
    width: 3vw;
    height: 3vw;
    right: 3%;
    top: 3%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: rgb(148, 148, 148) solid 0.2vw;
    z-index: 1;
}

#contact-close-btn::before, #contact-close-btn::after {
    position: absolute;
    content: ' ';
    height: 1vw;
    width: 0.2vw;
    background-color: rgb(148, 148, 148);
    border-radius: 25px;
}

#contact-close-btn::before {
    transform: rotate(45deg);
}

#contact-close-btn::after {
    transform: rotate(-45deg);
}

#mobile-dropdown {
    background-color: #1e2845;
    width: 90%;
    display: none;
    flex-direction: column;
    padding: 0 2.5%;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    max-height: 0;
}

#mobile-dropdown a {
    color: white;
}

.dashicons-no-alt:before {
    color: white;
}

@media (max-width:767px) {
    nav {
        padding: 0 2.5%;
    }
    #mobile-dropdown {
        display: flex;
    }

    #mobile-dropdown a {
        margin: 0 0 20px 0;
    }

    #mobile-dropdown a:nth-child(3), #mobile-dropdown a:nth-child(4), #mobile-dropdown a:nth-child(5) {
        margin-left: 10px;
    }

    #mobile-dropdown a:nth-child(2) {
        display: flex;
        align-items: center;
    }

    #nav-menu-btn {
        display: block;
    }

    nav .get-in-touch-btn {
        display: none;
    }

    #nav-links {
        display: none;
    }

    nav > a:nth-child(1) {
        width: 20%;
    }

    #arrow-opened, #arrow-closed {
        margin-left: 5px;
    }

    .dashicons-menu:before {
        content: "\f333";
        color: white;
    }
    
    #contact-close-btn {
        width: 30px;
        height: 30px;
    }

    .g-recaptcha > div {
        width: 100%;
    }

    #contact-close-btn::before, #contact-close-btn::after {
        height: 10px;
        width: 2px;
    }

    #contact-cnt h2 {
        font-size: 28px;
        margin-bottom: 18px;
    }

    #contact-cnt p {
        font-size: 16px;
    }

    #contact-cnt label {
        font-size: 14px;
    }

    #contact-cnt > div {
        padding: 20px;
        width: 90%;
        height: 80vh;
        overflow-y: scroll;
        max-width: none;
        border-radius: 10px;
    }

    #contact-cnt form p:nth-child(4) {
        width: 100%;
    }

    #contact-cnt input, #contact-cnt textarea {
        font-size: 14px;
        border: 1px solid #4b4b4b;
    }

    #close-btn {
        border: 1px solid #4b4b4b;
        top: -15px;
        right: -15px;
        padding: 4px 9px;
    }

    #contact-cnt textarea {
        height: 20vw;
    }

    .wpcf7 form .wpcf7-response-output {
        font-size: 14px;
    }

    .wpcf7 form .wpcf7-response-output {
        border: 1px solid #00a0d2;
    }
}