/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0-beta1
 Requires at least: 5.0
 Tested up to: 6.5.2
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/
cite {
    font-style: normal;
}

/* 
Vars
*/
:root {
    --red: #E53333;
    --blue: #0c4470;
    --bordo: #4d1e23;
    --green: #00d274;
    --green-hover: #01b966;
}

/* 
Fonts
*/
.fs-unidade {
    font-size: 1.1rem;
}

/* 
Header
*/
.logo {
    width: 245px;
}
@media (max-width: 768px) {
    .logo {
        width: 175px;
    }
}

.logo-ihef {
    max-width: 155px;
}

.logo-laboratorio-meddi {
    max-width: 145px;
}

.img-logo-meddi {
    width: 210px;
}

/* 
Colors
*/
.text-red {
    color: var(--red) !important;
}

.text-bordo {
    color: var(--bordo) !important;
}

.text-blue {
    color: var(--blue) !important;
}

/* 
Hero
*/
.hero .wp-block-media-text__content {
    padding-top: 6rem;
    padding-bottom: 10rem;
}
@media (max-width: 768px) {
    .hero .wp-block-media-text__content {
        text-align: center;
        padding-top: 5rem;
        padding-bottom: 12rem;
    }

    .hero .wp-block-buttons {
        justify-content: center;
    }

    .hero h1.wp-block-heading {
        font-size: 3rem !important;
    }

    .hero .wp-block-media-text__media {
        min-height: 290px !important;
    }
}

/* 
CTA
*/
.cta {
    margin-top: -3.5rem;
}
@media (max-width: 768px) {
    .cta {
        max-width: calc(100% - 4rem);
        margin: 0 auto;
        margin-top: -7rem;
        text-align: center;
    }

    .cta-end {
        margin-top: 5rem;
    }
}

@media (max-width: 768px) {
    .cta i {
        font-size: 3.5rem;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .cta .wp-block-image {
        margin-right: 0 !important;
        width: 100%;
    }

    .cta img {
        font-size: 3.5rem;
        width: 100%;
        margin-bottom: 1.5rem;
    }
}

.cta p {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .cta p {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cta .wp-block-buttons {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

.cta .card {
    padding: 2rem;
}

/* 
Product Info
*/
.product-info {
    margin-top: -4rem;
}

@media (max-width: 768px) {
    .product-info {
        margin-top: 5rem;
    }
}

.product-info .wp-block-media-text__content {
    padding-top: 10rem;
    padding-bottom: 6rem;
}
@media (max-width: 768px) {
    .product-info .wp-block-media-text__content {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* 
Unities
*/
.unities {
    padding: 2.5rem;
    margin-top: 9rem;
    border-radius: .35rem .35rem;
    box-shadow: var(--bs-box-shadow-sm) !important;
    border: solid #e1e1e1 1px;
}

@media (max-width: 768px) {
    .unities {
        padding: 1rem;
        background: none !important;
        box-shadow: none !important;
        border: 0;
    }
}

.fs-unities {
    font-size: 1.1rem;
}

.avatar-unities {
    max-width: 160px;
    margin: 0 auto;
    margin-top: -6.75rem;
    background: white;
}

/* 
Exams
*/
.exams {
    padding: 6rem 5rem 1rem;
}
@media (max-width: 768px) {
    .exams {
        padding: 2.5rem 1rem;
    }
}

.exams .card {
    padding: 1.2rem 1.5rem;
    margin: .2rem;
}
@media (max-width: 768px) {
    .exams .card {
        width: 100%;
    }
}

/* 
About
*/
.about {
    padding: 6rem 1rem;
}
@media (max-width: 768px) {
    .about {
        padding: 5rem 1rem 3rem;
    }
}

/* 
Convenios
*/
.convenios {
    padding: 6rem 3rem;
    border-top: solid #f6f7f9 3px;
}

@media (max-width: 768px) {
    .convenios .is-layout-flex {
        flex-wrap: wrap;
    }
    .convenios .is-layout-flex h3 {
    flex: 1;
    flex-basis: 40%;
    }
}

.convenios .card {
    padding: 1.2rem 1.5rem;
    margin: .2rem;
    box-shadow: none;
    border: none;
}

/* 
Galeria Planos de Saúde
*/

.logos-planos-saude .wp-block-image {
    padding: 1.5rem 1.5rem;
    margin-top: 9rem;
    border-radius: .35rem .35rem;
    box-shadow: var(--bs-box-shadow-sm) !important;
    background: white;
    border: solid #dadada 1px;
}

@media (min-width: 600px) {
    .wp-block-gallery.has-nested-images.columns-6.logos-planos-saude figure.wp-block-image:not(#individual-image) {
        width: calc(10.66667% - var(--wp--style--unstable-gallery-gap, 16px)* .83333);
    }
}

/* 
Footer
*/
.footer-lp {
    margin-top: -7rem;
}

/* 
FAQ
*/
.faq {
    padding: 12rem 4rem 5rem 6rem;
}
@media (max-width: 768px) {
    .faq {
        padding: 12rem 2rem 4rem;
    }
}

/* 
FAQ
*/
.copyright {
    padding: 12rem 4rem 5rem 5rem !important;
}
@media (max-width: 768px) {
    .copyright {
        padding: 5rem 3rem 8rem !important;
    }
}

/* 
Buttons
*/
.btn-md {
    font-size: .8rem;
}

.btn-red {
    background-color: var(--red);
    border: none;
    border-radius: 5px;
}

.btn-green {
    background-color: var(--green);
    border: none;
    border-radius: 5px;
    color: white;
}

.btn-green:hover {
    background-color: var(--green-hover);
}

.btn-green:hover {
    background-color: var(--green);
    border: none;
    border-radius: 5px;
}

.btn-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    border-radius: 0 !important;
}

.btn-fixed-bottom .wp-block-button__link {
    border-radius: 0 !important;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.wp-block-button__link.btn-success.has-background.wp-element-button.w-100.d-block.mb-3 {
    border-radius: var(--bs-border-radius);
    background: var(--green);
    border: none;
    color: white;
}

/* Bloqueia clique duplo no envio do CF7 */
.wpcf7-form.submitting .wpcf7-submit {
    pointer-events: none;
    opacity: .6;
    cursor: wait;
}

.btn-white .wp-block-button__link {
    color: white !important;
    border-color: white !important;
}

.btn-white .text-red {
    color: white !important;
}

.btn-whatsapp {
    position: fixed;
    bottom: 15px;
    right: 15px;
    padding: .95rem;
}

.btn-whatsapp svg {
    fill: white;
    width: 34px;
    height: auto;
    margin-top: -.1rem;
    margin-right: -.1rem;
}

/* 
Nav Tabs Pills
*/

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: white !important;
    background-color: var(--red) !important;
}

/* 
Miscelania
*/
.icon {
    color: var(--blue);
    font-size: 2.25rem;
    padding-top: 1rem;
}

/* 
Swiper
*/
.swiper {
    width: 100%;
    height: 100%;
  }

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background: var(--red, var(--red));
}

/* 
Input File
*/
.custom-input-file {
    position: relative;
    cursor:pointer;
}
  
.custom-input-file .input-file-wrapper {
    height: 130px;
    max-width: 100%;
    border-radius: 10px;
    background-color: #f7f7f7;
    position: relative;
    border: .1rem dashed #d3d4d5;
    border-radius: 10px;
    overflow: hidden;
}

.form-control-pedido-medico {
    height: 130px;
    max-width: 100%;
    object-fit: cover;
    object-position: center center;
}

.custom-input-file .input-file-wrapper .input-img {
    display: block;
    height: 130px;
    max-width: 100%;
    object-fit: cover;
    object-position: center center;
    text-align: center;
    margin: 0 auto;
}

.custom-input-file .input-file-wrapper input[type=file] {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    opacity: 0;
    top: 0;
}