/*
Theme Name: GLPG - Capital Advisory Theme Four
Version: 1.0
Text Domain: ca
*/
html:has(body)#wp-html {
    margin-top: 0!important;
}
#wpadminbar {
    display: none!important;
}
input[type="text"],
input[type="tel"],
input[type="email"]
{
    padding: 18px!important;
}
.gfield--type-fileupload {
    position: relative;
}
.gfield--type-fileupload > label {
    margin-bottom: 20px!important;
}
.gfield--type-fileupload > .gfield_description:not(.gfield_validation_message) {
    position: absolute;
    left: 0;
    top: 19px!important;
    padding-top: 0!important;
}
.gform_wrapper.gravity-theme .gfield_label {
    font-size: 15px!important;
    line-height: 19px!important;
    font-weight: 400!important;
}
.gfield_required {
    display: none!important;
}
.gf_browser_chrome.gform_wrapper.gravity-theme {
    padding-top: 0!important;
}
.gform_description {
    display: none!important;
}
.gfield_description.gform_fileupload_rules {
    margin-top: 0!important;
    padding-top: 0!important;
}
.gfield--type-fileupload {
    padding-bottom: 0!important;
}
.gform-field-label.gform-field-label--type-inline {
    font-size: 12px!important;
    line-height: 12px!important;
}
.gfield_checkbox > div {
    display: flex;
}
.gfield_checkbox input:checked {
    background: #adb8a9;
}
.gform_footer {
    padding-top: 0!important;
    margin-top: 0!important;
    padding-bottom: 0!important;
}
.gform_footer input[type=submit] {
    clear: both!important;
    display: table!important;
    border: 1px solid #194930!important;
    background: #194930!important;
    color: #ffffff!important;
    padding: 8px 10px!important;
    width: 142px!important;
    margin-top: 15px!important;
    font-size: 14px!important;
    font-weight: bold!important;
    cursor: pointer!important;
    min-width: 120px!important;
    text-align: left!important;
    margin-bottom: 0!important;
}
@media (max-width: 849px) {
    .gform_footer  input[type=submit] {
        clear: both!important;
        display: table!important;
        border: 1px solid #194930!important;
        background: #194930!important;
        color: #ffffff!important;
        padding: 8px 10px!important;
        margin-top: 30px!important;
        font-size: 14px!important;
        font-weight: bold!important;
        cursor: pointer!important;
        line-height: unset!important;
        min-width: 120px!important;
        text-align: left!important;
    }
    .gfield_checkbox > div {
        display: block;
    }
    .gfield_checkbox > div label {
        display: inline!important;
    }
    .gfield_checkbox input {
        margin-top: 4px!important;
    }
    .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        line-height: unset!important;
    }
    .gform_wrapper.gravity-theme .gform_fields {
        grid-row-gap: 10px!important;
    }
}
.gfield_description.validation_message.gfield_validation_message {
    padding: 0!important;
    background: none!important;
    border: none!important;
}
.gform_validation_errors {
    display: none!important;
}
.gform_wrapper {
    width: 100%;
}
.cs_form form {
    margin: 0 20px;
    padding-bottom: 215px;
}
.cs_form .gfield--type-textarea:has(textarea) {
    width: 66.666%;
    top: 0;
    left: 33%;
    position: absolute;
}
.cs_form .gfield--type-text:has(input[type=text]),
.cs_form .gfield--type-phone,
.cs_form .gfield--type-email:has(input[type=email]) {
    width: 31.333%!important;
}
.cs_form .gform_fields.top_label.form_sublabel_below.description_below {
    display: flex;
    flex-direction: column;
    position: relative;
}
.cs_form textarea {
    resize: none;
}
.cs_form .gfield--type-checkbox {
    position: absolute;
    top: 300px;
    left: 33%;
}
.cs_form .gchoice.gchoice_2_10_1 {
    display: flex;
    flex-direction: column;
}
.cs_form .gchoice.gchoice_2_10_1 label {
    font-family: "Sora", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    color: #adb8a9;
    font-size: 15px!important;
    line-height: 20px!important;
}
.cs_form .gform_footer.before input[type=submit] {
    left: 33.5%;
    bottom: 90px;
    padding: 8px;
    min-width: 85px!important;
    width: 85px!important;
    position: absolute;
}
@media (max-width: 999px) {
    .cs_form .gfield--type-checkbox,
    .cs_form .gfield--type-textarea:has(textarea), .cs_form .gform_footer.before input[type=submit] {
        position: static;
    }
    .cs_form .gfield--type-checkbox {
        width: 100%;
    }
    .cs_form .gfield--type-text:has(input[type=text]),
    .cs_form .gfield--type-phone,
    .cs_form .gfield--type-email:has(input[type=email]),
    .cs_form .gfield--type-textarea:has(textarea) {
        width: 100%!important;
    }
    .cs_form form {
        padding-bottom: 50px;
    }
}

.nav li:nth-child(4) {
	line-height: 48px!important;
}
@media (max-width: 1249px) {
.nav li {
font-size: 20px;
line-height: 36px!important;
}
.nav li:nth-child(4) {
line-height: 36px!important;
}
}
@media (min-width: 850px) {
    .mailinglist-wrapper .gform_fields > div:first-child,
    .mailinglist-wrapper .gform_fields > div:nth-child(2),
    .mailinglist-wrapper .gform_fields > div:nth-child(3),
    .mailinglist-wrapper .gform_fields > div:nth-child(4)
    {
        grid-column: span 6!important;
    }
}

.mailinglist-wrapper .gfield_validation_message {
    display: none;
}

/*Slider*/

.img-block.custo-hero-slider__wrap{
    overflow: visible;
}

.custo-hero-slider__wrap .item.last{
    transform: translateX(100%);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.custo-hero-slider__wrap .item {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-30%);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.custo-hero-slider__wrap .item.active {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}




@media (max-width: 850px) {

    .custo-hero-slider{
        overflow: hidden !important;
    }

    .custo-hero-slider .img-block.custo-hero-slider__wrap{
        padding-left: 0;
        padding-right: 0;
        margin-left: 5px;
        margin-right: 5px;
    }

    .teamPage .team-profile .team-headshot{
        padding: 0 25px;
    }
    .teamPage .team-profile .team-headshot img{
        margin: 0;
        position: relative;
        top: inherit;
        left: inherit;
        width: 100%;
    }
    section.three-img-wrapper.three-img-wrapper__hero__desktop.custo-hero-slider{
        /* height: calc(100vh - 375px); */
        height: calc(100vh - 230px);
        /* display: block; */
    }

}

@media (max-width: 850px) {
    .mobile__custo-hero-slider {
        display: grid!important;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 10px;
    }
    .mobile__custo-hero-slider > div {
        width: 100%!important;
    }
}