/* forms */
input,
textarea,
select,
input {
    color: #4d4d4e;
    background-color: #fff;
    border: none;
    border-radius: 20px;
    padding: 12px 16px !important;
    border: solid 1px #EDEDED;
}

input,
select,
input {
    height: 48px;
}

textarea {
    resize: none;
    width: 100%;
}

select {
    background-image: url('../images/icons/arrow/down-arrow.svg');
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input.gfield-choice-input {
    height: unset;
}

/* Placeholder */
input::placeholder,
textarea::placeholder,
select::placeholder,
input::placeholder  {
    color: #717171;
}

/* form labels  */

.gfield_error label {
    color: #EC1010 !important;
}

.gchoice label {
    color: #D94F00 !important;
    font-weight: 400 !important;
}

/* Required label */
span.gfield_required.gfield_required_text {
    font-size: 14px !important;
    color: #717171 !important;
    margin-left: 4px;
    font-style: unset !important;
}

.section_header.is-orange-gradient span.gfield_required.gfield_required_text, .section_header.is-dark-gray-gradient span.gfield_required.gfield_required_text {
    color: #fff !important;
    opacity: 0.8 !important;
}

.section_header.is-orange-gradient label.gfield_label.gform-field-label, .section_header.is-dark-gray-gradient label.gfield_label.gform-field-label {
    color: #fff !important;
}

.section_header.is-orange-gradient .gfield_description, .section_header.is-dark-gray-gradient .gfield_description {
    color: #fff !important;
    opacity: 0.8 !important;
}

/* form descriptions  */
.gfield_description {
    font-size: 14px !important;
    padding-top: 4px !important;
    color: #717171;
}

/* form focus-visible  */
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
input:focus-visible  {
    outline: 2px solid #D94F00 !important;
    outline-offset: 0px !important;
}

/* Error message */
.gform_validation_errors {
    background-color: #FBCFCF !important;
    padding: 24px !important;
    border-radius: 2px !important;
    border: 1px solid #EC1010 !important;
    margin-bottom: 24px !important;
    box-shadow: none !important;
}

.gform_submission_error {
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #EC1010 !important;
}

.gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message {
    background: none !important;
    border: none !important;
    font-size: 14px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    color: #EC1010 !important;
}

.gfield_error input {
    border: 1px solid #EC1010 !important;
}

/* Paging */
p.gf_progressbar_title {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #669ABC !important;
}

.gf_progressbar_percentage.percentbar_blue {
    background-color: #D94F00 !important;
}

.gf_progressbar_percentage.percentbar_grey {
    background-color: #999999 !important;
}

.gf_progressbar_percentage.percentbar_green {
    background-color: #6BBB81 !important;
}

.gf_progressbar_percentage.percentbar_orange {
    background-color: #EC6B10 !important;
}

.gf_progressbar_percentage.percentbar_red {
    background-color: #EC1010 !important;
}

.gf_progressbar {
    background: #ececec !important;
}

/* Dropdown */
.navigation-wrapper {
    overflow: visible;
}
    
.menu-item-has-children::after {
    content: "";
    display: block;
    background-image: url(../images/icons/arrow/icon_arrow-down.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: .5rem;
    width: 1.5rem;
    height: 35px;
    float: right;
    transform: rotate(0deg);
    transition: transform 0.35s ease;
}
    
ul.sub-menu {
    visibility: hidden;
}
    

ul.sub-menu li {
    margin: 0 !important;
}
    
ul.sub-menu li a {
    background-color: #fff;
    padding: 1rem 1rem; 
    border-bottom: 1px solid #f6f6f6;
    text-decoration: none;
    color: #4d4d4e;
    font-weight: 400;
    display: block;
    line-height: 1.4;
}  
ul.sub-menu li:last-child a {
    border-bottom: 0;
}

ul.sub-menu.show li {
    font-size: 1.125rem;
}  
    
ul.sub-menu li a:hover {
    background-color: #f5f5f5;
}

.menu-item-has-children .sub-menu {
    position: absolute;
    opacity: 0;
    background: #FFF;
    width: 20rem;
    border-radius: 0 0 0.25rem 0.25rem;
    overflow: hidden;
    border: 1px solid transparent;
    padding: 0;
    z-index: 100;
    margin-top: 1.125rem;
    visibility: visible;
    height: auto;
    transform: translateY(0);
    height: 0;
    transition: all .35s ease;
}

    
@media screen and (min-width: 992px) {

    .menu-item-has-children:hover::after {
        transform: rotate(180deg);
    }

    .menu-item-has-children:hover ul.sub-menu, ul.sub-menu:hover {
        opacity: 1;
        transform: translateY(.25rem);
        height: auto;
        border: 1px solid #f5f5f5;
    }

    .navigation_full_bottom_wrapper > li.menu-item.menu-item-has-children > a:not(.button):after {
        content: "";
        height: 1.375rem;
        position: absolute;
        width: calc(100% + 1rem);
        top: 100%;
        left: 0;
    }

    ul.sub-menu::before {
        content: "";
        display: block;
        width: 100%;
        height: 2rem;
        top: -2rem;
        position: absolute;
    }
}
    
@media screen and (max-width: 992px) {

    .menu-item-has-children {
        width: 100%;
        position: relative;
    }
    
    .menu-item-has-children::after {
        position: absolute;
        top: 0;
        right: 0;
    }
    
    ul.sub-menu {
        visibility: hidden;
    }

    .menu-item-has-children .sub-menu {
        position: unset;
        margin-bottom: 0;
        margin-top: 0;
        margin-left: -2rem;
        margin-right: -2rem;
        width: auto;
        font-size: 1.125rem;
        border-radius: 0;
        border-left: 0px solid !important;
        border-right: 0px solid !important;
    }

    .menu-item-has-children .sub-menu li a {
        padding: 1.5rem 2rem;
    }

    .menu-item-has-children::after {
        background-size: .75rem;
    }

    .show ul.sub-menu {
        opacity: 1;
        transform: translateY(.25rem);
        height: auto;
        border: 1px solid #f5f5f5;
    }


    .menu-item-has-children.show:after {
        transform: rotate(180deg);
    }
}
