/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


/** Sparkassen Font **/

@font-face {
    font-family: Sparkasse;
    src: url(//www.g-sd.de/wp-content/themes/salient-child/fonts/Sparkasse_web_Rg.woff) format("woff")
}

@font-face {
    font-family: Sparkasse;
    src: url(//www.g-sd.de/wp-content/themes/salient-child/fonts/Sparkasse_web_Lt.woff) format("woff");
    font-weight: 300
}

@font-face {
    font-family: Sparkasse;
    src: url(//www.g-sd.de/wp-content/themes/salient-child/fonts/Sparkasse_web_Md.woff) format("woff");
    font-weight: 500
}

@font-face {
    font-family: Sparkasse;
    src: url(//www.g-sd.de/wp-content/themes/salient-child/fonts/Sparkasse_web_Bd.woff) format("woff");
    font-weight: 700
}

@font-face {
    font-family: Sparkasse;
    src: url(//www.g-sd.de/wp-content/themes/salient-child/fonts/Sparkasse_web_It.woff) format("woff");
    font-style: italic
}

@font-face {
    font-family: Sparkasse;
    src: url(//www.g-sd.de/wp-content/themes/salient-child/fonts/Sparkasse_web_BdIt.woff) format("woff");
    font-weight: 700;
    font-style: italic
}

@font-face {
    font-family: Sparkasse Serif;
    src: url(//www.g-sd.de/wp-content/themes/salient-child/fonts/SparkasseSerif_web_Rg.woff) format("woff")
}

@font-face {
    font-family: Sparkasse Display;
    src: url(//www.g-sd.de/wp-content/themes/salient-child/fonts/SparkasseHead_web_Rg.woff) format("woff")
}

*:not(i):not(.ab-icon) {
    font-family: 'Sparkasse', sans-serif !important;
}

/** END Sparkassen Font **/


/** Checkbox / Radio **/
.ginput_container input[type=radio],
.ginput_container input[type=checkbox] {
    background-color: transparent !important;
    border: none !important;
    width: 22px;
    height: 22px;
    text-align: center;
    cursor: pointer;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
}

.ginput_container input[type=radio]:focus,
.ginput_container input[type=checkbox]:focus {
    outline: 0;
}

.ginput_container input[type=radio]::before,
.ginput_container input[type=radio]::after,
.ginput_container input[type=checkbox]::before,
.ginput_container input[type=checkbox]::after {
    content: '';
}

.ginput_container input[type=radio]::before,
.ginput_container input[type=checkbox]::before {
    width: 22px;
    height: 22px;
    border: 1px solid #CCCCCC !important;
    border-radius: 2px !important;
    background-color: #FAFAFA;
    position: absolute;
    left: -1px;
    top: -1px;
    margin-bottom: 0 !important;
}

.ginput_container input[type=radio]::before {
    border-radius: 50% !important;
}

.ginput_container input[type=radio]:focus::before,
.ginput_container .gfield_consent_label:hover input[type=radio]::before,
.ginput_container input[type=checkbox]:focus::before,
.ginput_container .gfield_consent_label:hover input[type=checkbox]::before {
    border: 1px solid black !important;
}

.ginput_container input[type=radio]:checked::before,
.ginput_container input[type=checkbox]:checked::before {
    border: 1px solid black !important;
}

.ginput_container input[type=radio]:checked::after,
.ginput_container input[type=checkbox]:checked::after {
    background-image: url("data:image/svg+xml,%0A%3Csvg width='16px' height='12px' viewBox='0 0 16 12' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Step-4' transform='translate(-124.000000, -202.000000)'%3E%3Crect fill='%23EAECEE00' x='0' y='0' width='375' height='1207'%3E%3C/rect%3E%3Cg id='Stepper' transform='translate(28.000000, 192.000000)' fill='%23252839' fill-rule='nonzero'%3E%3Cg id='Group' transform='translate(95.000000, 7.000000)'%3E%3Cg id='check-solid' transform='translate(1.500000, 3.000000)'%3E%3Cpath d='M5.09466562,11.0290504 L0.219660859,6.12601594 C-0.0732202863,5.83145082 -0.0732202863,5.35384695 0.219660859,5.05925237 L1.28029666,3.99248879 C1.57317781,3.69789421 2.04808061,3.69789421 2.34096176,3.99248879 L5.62499817,7.29537787 L12.6590382,0.220923837 C12.9519194,-0.073641279 13.4268222,-0.073641279 13.7197033,0.220923837 L14.7803391,1.28768741 C15.0732203,1.58225253 15.0732203,2.05985641 14.7803391,2.35445099 L6.15533072,11.0290798 C5.86242028,11.323645 5.38754677,11.323645 5.09466562,11.0290504 L5.09466562,11.0290504 Z' id='Path'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9999;
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
}

.ginput_container input[type=radio]:checked::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--! Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --%3E%3Cpath d='M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512z'/%3E%3C/svg%3E");
    background-size: 45%;
}

.ginput_container .gfield_consent_label {
    margin-left: 34px !important;
    display: block;
    cursor: pointer;
}

.gfield_radio .gchoice,
.gfield_checkbox .gchoice {
    position: relative;
    padding-left: 30px;
    margin-bottom: 4px;
}

.gfield_radio .gchoice input,
.gfield_checkbox .gchoice input {
    left: 0;
    top: 2px !important;
}

.gchoice label {
    cursor: pointer;
}

/** END Checkbox / Radio **/


/** File **/
.gform_button_select_files {
    background: white;
    color: black;
    font-weight: bold;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
}

/** Floating CTA Bewerbung **/
.pinned {
    position: fixed !important;
    top: 0;
}

.pinned--bottom {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 11;
    margin: 0 auto;
}

#footer-outer, #nectar_fullscreen_rows > #footer-outer.wpb_row .full-page-inner-wrap {
    z-index: 12 !important;
}


/*Teampopup*/

.nectar_team_member_overlay {
    background-color: white;
    background-image: url(https://sparkassen-personalberatung.de/wp-content/themes/salient/img/polygon2.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.nectar_team_member_overlay .inner-wrap {
    flex-direction: row-reverse;
}

@media only screen and (min-width: 690px) {
    .nectar_team_member_overlay .team_member_details {
        width: 70%;
    }
}

.nectar_team_member_overlay .team_member_image {
    -webkit-transition: none;
    transition: none;
    -webkit-transform: none;
    transform: none;
}

/** Custom Team Member **/
.team-member[data-style="bio_fullscreen_alt"]:hover .team-member-image {
    -webkit-transform: unset !important;
    transform: unset !important;
}

.team-member[data-style="bio_fullscreen_alt"]:hover .team-member-image-inner {
    -webkit-transform: unset !important;
    transform: unset !important;
}

.nectar_team_member_overlay .team_member_picture {
    left: 0;
    right: unset;
}

.nectar_team_member_overlay .team_member_details {
    left: unset !important;
    right: 0;
    margin-left: auto !important;
    overflow: visible;
    z-index: 1;
}

.nectar_team_member_overlay .team_member_image {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform: scale(0.5) !important;
}

.team_member_image {
    transform-origin: 15% !important;
}

.team_member_attributes {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: -66%;
    top: calc(50% - 43px);
    transform: translate(0, -50%);
}

@media only screen and (max-width: 999px) {
    .team_member_attributeline {
        display: none;
    }
}

.team_member_attributeline:empty {
    display: none;
}

.team_member_attributeline {
    color: white;
    font-size: 24px;
    line-height: 30px;
    white-space: nowrap;
    padding: 5px 15px;
    margin: 5px 0;
    align-self: flex-start;
    overflow: hidden;
    position: relative;
}

.team_member_attributeline:before {
    content: '';
    background-color: red;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    transform: scaleX(0);
    transition: transform 1s .5s cubic-bezier(.15, .75, .4, 1), opacity 0.25s ease;
    transform-origin: left;
    z-index: -1;
}

.team_member_attributeline:nth-child(2):before {
    transition-delay: 1s;
}

.team_member_attributeline:nth-child(3):before {
    transition-delay: 1.5s;
}

.nectar_team_member_overlay.open .team_member_attributeline:before {
    transform: scaleX(1);
}

.randomTeamMembers > .vc_column-inner > .wpb_wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-left: -2%;
    margin-right: -2%;
}

.randomTeamMembers > .vc_column-inner > .wpb_wrapper > .column_container {
    margin: 0;
    text-align: center;
    padding-left: 2%;
    padding-right: 2%;
}

.nectar-close-indicator.visible {
    display: none !important;
}

.bottom_meta:not(:empty) {
    border-bottom: 5px solid #555;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    padding-top: 30px;
    padding-bottom: 30px;
}

.bottom_meta a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    white-space: nowrap;
}

.bottom_meta .flexColumn a {
    padding-right: 0 !important
}


.bottom_meta > :nth-child(1) {
    display: flex !important;
    flex-direction: column;
    margin-right: auto;
}

.bottom_meta i {
    padding-right: 10px !important;
}

.bottom_meta [data-social-label]:before {
    content: attr(data-social-label);
    padding-right: 15px;
}

.teamMemberNavigationWrapper {
    display: flex;
}

.teamMemberDir {
    color: #555;
    padding: 0 30px;
    margin: 10px;
    border: 3px solid currentColor;
    border-radius: 30px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
}

.teamMemberDir:hover {
    border-color: red;
}

.teamMemberDir i {
    width: 0;
    overflow: hidden;
}

.mobile-close--custom {
    display: none !important;
    margin-right: auto;
}

.teamMemberNavigationWrapper {
    border-top: 3px solid;
    margin-top: 12px;
}

@media only screen and (min-width: 999px) {
    .mobile-close--custom {
        display: block !important;
        padding: 15px 0;
        cursor: pointer;
    }

    .mobile-close--custom:hover i {
        color: red;
    }

    .mobile-close--custom i {
        position: relative;
        width: 50px;
        text-align: left;
    }

    .mobile-close--custom i:after {
        background-color: currentColor;
        content: '';
        height: 4px;
        border-radius: 2px;
        position: absolute;
        top: calc(50% - 3px);
        left: 4px;
        right: 10px;
    }
}

@media only screen and (min-width: 690px) {
    .nectar_team_member_overlay .team_member_details {
        width: 50% !important;
        padding: 3% 10% 3% 0 !important;
    }

    .nectar_team_member_overlay .team_member_picture {
        width: 50%;
        background-color: transparent;
        left: 0;
        right: auto;
    }

}

@media only screen and (max-width: 999px) {
    .bottom_meta {
        flex-direction: column;
        align-items: flex-start !important;
        border-bottom: none !important;
    }

    .bottom_meta [data-social-label] {
        margin-top: 30px !important;
    }

    .teamMemberDir {
        padding-top: 5px;
        padding-bottom: 5px;
        margin-top: 30px;
        margin-left: 0;
        margin-right: 15px;
    }
}

/** END Custom Team Member **/


/** Custom Azubi Campaign Form **/
.select2-results__option:first-child:not([id]) {
/*    display: none;*/
}

body[data-fancy-form-rcs="1"] .select2-container--default .select2-results__option[aria-selected=true]:not([id]),
body[data-fancy-form-rcs="1"] .select2-container--default .select2-results__option--highlighted:not([id]),
body[data-fancy-form-rcs="1"] .select2-container--default .select2-results__option--highlighted[aria-selected=true]:not([id]),
.select2-dropdown:not(.sparkassenLotterySelect) .select2-results__option:not([id]) {
    background-color: white !important;
    color: red !important;
    cursor: default !important;
}


.gform_wrapper .azubi_plz input.large {
    width: calc(50% - 8px) !important;
}

@media (max-width: 640px) {
    
    .gform_wrapper .azubi_plz input.large {
        width: 100% !important;
    }
}
/** END Custom Azubi Campaign Form **/

.choices__inner {
    background: transparent !important;
    border-color: #ccc !important;
    padding: 10px !important;
    border-radius: 4px !important;
}

.choices__inner .fancy-select-wrap,
.choices__inner .select2 {
    display: none;
}

.choices__list.choices__list--multiple:not(:empty) + input {
    display: none;
}

.choices__input {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.choices__input::placeholder {
    color: black !important;
}
.choices__input:focus {
    box-shadow: none !important;
}

.choices__list--multiple .choices__item {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    background: transparent !important;
    color: black !important;
    border: none !important;
    padding: 0 !important;
    font-size: 14px !important;
    margin: 0 !important;
}
.choices[data-type*=select-multiple] .choices__button, .choices[data-type*=text] .choices__button {
    border: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21'%3E%3Cg fill='%23000' fill-rule='evenodd'%3E%3Cpath d='M2.592.044l18.364 18.364-2.548 2.548L.044 2.592z'/%3E%3Cpath d='M0 18.364L18.364 0l2.548 2.548L2.548 20.912z'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.button--lottery {
    padding: 24px !important;
    border-radius: 200px !important;
    font-size: 19px;
    background: red;
    color: white;
    width: 100%;
    display: block;
    text-align: center;
}

.button--lottery:hover {
    color: white;
}

.choice--selected .choices__list.choices__list--dropdown {
    display: none !important;
}