/*
 Theme Name:   Infinite Child
 Theme URI:    http://demo.goodlayers.com/infinite
 Description:  Goodlayers Infinite Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     infinite
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  infinite-child
*/

:root {
    --font-title: "Raleway", Arial, sans-serif;
}

.font-title {
    font-family: var(--font-title) !important;
}

.infinite-single-article {
    padding-bottom: 0px !important;
}

/* Limita dimensione icone immagini nell'header home */
.img-icons-48 img {
    max-width: 36px;
}

/* Riduce la spaziatura tra i caratteri nel menu  fixeed */
.infinite-fixed-navigation .infinite-navigation .sf-menu > li > a {
    letter-spacing: 2px;
}

/* Allinea il menu fixed a destra */
.infinite-animate-fixed-navigation.infinite-header-style-plain
    .infinite-navigation {
    text-align: right;
}

#saba-font-title .gdlr-core-skin-caption {
    font-family: var(--font-title);
    margin-bottom: 0;
}

#implantologia p {
    line-height: 1.3;
}

#saba-team-carousel .gdlr-core-image-overlay-content {
    top: 30%;
    width: 80%;
    left: 25px;
}

#saba-small-header .gdlr-core-pbf-background {
    background-size: 65%;
}

#saba-mobile-header .gdlr-core-pbf-background {
    background-size: 120%;
}

#saba-team-carousel .gdlr-core-title-font {
    color: #2f3a45;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 1px;
    line-height: 1.25;
}

#saba-team-carousel .gdlr-core-info-font {
    font-size: 13px;
    color: #2f3a45;
}

#saba-caption-serif .gdlr-core-skin-caption {
    font-family: Georgia, "Times New Roman", Times, serif;
    text-transform: uppercase;
}

#saba-trattamenti-container .saba-icon-box {
    position: relative;
}

#saba-trattamenti-container .saba-icon-box img {
    max-width: 180px;
}

#saba-trattamenti-container .saba-icon-box h3 {
    text-align: center;
}

#saba-trattamenti-container .saba-icon-box a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#saba-news h3,
#saba-news .gdlr-core-block-item-caption {
    color: white;
}

#saba-news .gdlr-core-blog-content {
    color: #2f3a45;
}

#saba-footer-form input:not(.wpcf7-submit),
#saba-footer-form select,
#saba-footer-form textarea {
    color: white;
    border: none;
    font-size: 12px;
    border-bottom: 1px solid #aaa;
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
    padding: 10px;
}

#saba-footer-form input::placeholder,
#saba-footer-form textarea::placeholder {
    color: white;
}

#saba-footer-form input:focus,
#saba-footer-form select:focus,
#saba-footer-form textarea:focus {
    background-color: #333;
}

#saba-footer-form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

#saba-footer-form .wpcf7-acceptance label {
    display: flex;
}

#saba-footer-form input[type="checkbox"] {
    border: 1px solid white;
    width: 20px;
    height: 20px;
    transition: background-color 0.2s ease-in-out,
        border-radius 0.5s ease-in-out, box-shadow 0.2s ease-in-out;
    -webkit-appearance: button;
    margin: 0 15px 0 0;
}

#saba-footer-form input[type="checkbox"]:checked {
    background-color: black;
    border-radius: 100%;
    box-shadow: 0 0 0px 4px #666 inset;
}

#saba-footer-form span.wpcf7-not-valid-tip {
    color: #d9c88f;
    font-weight: bold;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    border: 2px solid #5f5021;
    background-color: #d9c88f;
    color: #5f5021;
    border-radius: 25px;
}

#saba-blocks .gdlr-core-column-service-content-wrapper {
    text-align: center;
}

#saba-blocks .box-button {
    padding-left: 64px;
}

.clinic-address,
.clinic-phone,
.clinic-director {
    line-height: 1.25;
    margin-bottom: 7px;
}
