/*

Theme Name: Bricks Child
Theme URI: https://sites.google.com/a/chromium
Description: This is a child theme
Author: Hector Siman
Author URI: https://example.com
Template: bricks
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-column, responsive-layout
Text Domain: brickschild

*/

/*=======================================================
    FLOATING BUTTON
=========================================================*/
    
    
.btn-flutuante {
    font-size: 20px !important;
    position: fixed;
    bottom: 20px;
    left: 20px; 
    background-color: #d72f2f;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    z-index: 9999;
    font-weight: bold;
    transition: font-size 0.5s ease; 
}

.btn-flutuante:hover {
    font-size: 18px;
    padding: 12px 23px;
    transition: font-size 0.5s ease, padding 0.5s ease; 
}



.btn-flutuante-left {
    font-size: 20px !important;
    position: fixed;
    bottom: 20px;
    left: 20px; 
    background-color: #009035;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    z-index: 9999;
    font-weight: bold;
    transition: font-size 0.5s ease, padding 0.5s ease; 
}

.btn-flutuante-left:hover {
    font-size: 18px;
    padding: 12px 23px;
    transition: font-size 0.5s ease, padding 0.5s ease; 
}




.floating-button{
    display: none;
}


#brxe-xseazi a{
    display: none !important;
}

/*=======================================================
SEARCH
=========================================================*/

#my-ajax-filter-search {
    position: relative;
}

#my-ajax-filter-search span[name="pt"] {
    display: none;
}

#my-ajax-filter-search form {
    width: 50%;
    display: block;
    margin: 0 auto;
    position: relative;
    background-color: rgba(255, 255, 255, 0.37);
    border-radius: 30px;
}

#my-ajax-filter-search form input[name="search"] {
    border: 0px;
    border-radius: 30px;
    height: 50px;
    width: 100%;
    margin: 0 auto;
    display: block;
    padding-left: 20px;
    background-color: rgba(255, 0, 0, 0);
    font-family: inherit;
    font-size: 16px;
    color:#f9f9f9;
    text-align: left;
}

#my-ajax-filter-search form img {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    display: none;
}

ul#ajax_fitler_search_results {
    width: 50%;
    max-height: 29vh;
    position: absolute;
    top: 100%;
    background-color: whitesmoke;
    list-style: none;
    left: 50%;
    transform: translate(-50%, 0%);
    border-radius: 5px;
    border: 1px solid #0000002e;
    padding: 0;
    overflow-y: auto;
    z-index: 99;
}

ul#ajax_fitler_search_results li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

ul#ajax_fitler_search_results li:hover {
    background-color: white;
}

ul#ajax_fitler_search_results li a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

ul#ajax_fitler_search_results li a img {
    width: 17%;
    margin-right: 3%;
    height: 65px;
    object-fit: contain;
}

ul#ajax_fitler_search_results li a .info {
    width: 80%;
}

ul#ajax_fitler_search_results li a .info h4 {
    font-size: 16px;
    color: #727272;
}

#img-loading {
    display: none;
    position: absolute;
    width: 120px;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 99;
}


/* #ajax_fitler_search_results {
    z-index: 99;
    max-height: 250px;
} */

section.doctors-filter {
    width: 1200px;
    max-width: 80%;
    background-color: #e4e4e4;
    border-radius: 16px;
    align-items: center;
    padding-top: 34px;
    padding-bottom: 50px;
    margin: auto;
}

section.doctors-filter .form-filter {
    width: 70%;
    margin: auto;
}

section.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 26px;
    max-width: 1080px;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

section.cards-container .card {
    padding: 24px 20px 8px 20px;
    border: 1px solid #f2f2f2;
    border-radius: 18px;
    transition: all 200ms;
}

section.cards-container .card:hover {
    box-shadow: 2px 2px 12px 8px rgba(0, 0, 0, 0.1) !important;
}

section.cards-container .card-header {
    flex-direction: row;
    align-items: center;
    margin-bottom: 28px;
    background-size: cover;
    display: flex;
    width: 100%;
}

section.cards-container .card-header img {
    width: 58px;
    margin-right: 14px;
}

section.cards-container .card-header .card-title {
    color: #00cc8e;
    font-family: "Poppins";
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

section.cards-container .divider {
    align-items: center;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
}

section.cards-container .divider .brxe-divider.horizontal {
    width: 25%;
    align-items: center;
    display: flex;
}

section.cards-container .divider .brxe-divider.horizontal .line {
    border-color: #dddedf
}

section.cards-container .card-content {
    display: grid;
    grid-gap: 20px;
    margin-bottom: 50px;
    font-family: "Poppins";
    font-size: 13px;
    line-height: 1.4;
    transition: all 200ms;
}

section.cards-container .card-content .card-phone {
    color: #727272;
    font-family: "Poppins";
    font-weight: 700;
    font-size: 16px;
}

.card-content .card-phone p,
.card-content .card-address {
    display: grid;
    grid-template-columns: 25px auto;
}

section.cards-container .card-content .card-phone a:hover {
    color: #B1C900;
    transition: all 200ms;
}

section.cards-container .card-content .card-address a:hover {
    color: #B1C900;
    transition: all 200ms;
}

section.cards-container .card-content img {
    width: 16px;
    margin-right: 10px;
}

section.cards-container .card-specialist {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

section.cards-container .card-specialist i {
    color: #00cc8e;
    font-size: 18px;
    font-weight: 500;
}

section.cards-container .card-specialist div {
    color: #727272;
    font-family: "Poppins";
    font-size: 12px;
    font-weight: 600;
    padding-top: 4px;
    padding-right: 10px;
    padding-bottom: 4px;
    padding-left: 7px;
    background-size: cover;
    background-image: url(http://dev.ibiapaba.com/wp-content/uploads/2022/07/Especialista-label.png);
    background-size: contain;
    flex-shrink: 0;
}

section.cards-container .card-specialist i {
    color: #00cc8e;
    font-size: 18px;
    font-weight: 500;
}

.pagination-container {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 30px;
    align-items: center;
}

.pagination-container .page-numbers {
    font-size: 18px;
    padding: 0 7px;
    color: #00cc8e !important;
    margin: 0 2px;
}

.pagination-container .prev,
.pagination-container .next {
    font-size: 20px;
}

.pagination-container .prev {
    margin-right: 10px;
}

.pagination-container .next {
    margin-left: 10px;
}

.pagination-container .current {
    background: #00cc8e !important;
    color: #fff !important;
    border-radius: 60px;
    padding-right: 8px;
    padding-left: 8px;
}


/* I BABY SECTION */

section.ibaby-section {
    max-width: 80%;
    width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 37px;
    margin-top: 40px;
    margin-bottom: 40px;
}

section.ibaby-section .last-birth {
    align-self: center;
}

section.ibaby-section .baby-card {
    border-radius: 10px;
    position: relative;
    height: 260px;
    width: 100%;
}

section.ibaby-section .baby-card .overlay {
    position: absolute;
    bottom: 0;
    background: #00cc8fa8;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 20px;
    padding: 20px;
    text-align: center;
    border-radius: 0 0 10px 10px;
}

section.ibaby-section .baby-card:hover .overlay {
    opacity: 1
}

section.ibaby-section .baby-card:hover {
    cursor: pointer;
}

section.ibaby-section .pagination {
    text-align: center;
    grid-column: span 4;
}

section.ibaby-section .ibaby-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 21px;
    padding: 0px 60px;
    margin: 40px 0;
}

#i-baby-popup>div {
    margin: auto;
}


/*=======================================================
EDUCAÇÃO CONTINUADA
=========================================================*/

#table-ensino tr {
    display: flex;
    justify-content: space-around;
}

#table-ensino td {
    padding: 10px 0;
    box-shadow: 0px 0px 10px 2px #00000029;
    /* box-shadow: 0px 10px 40px 3px #e8e8e8; */
    text-align: center;
}

#table-ensino a {
    padding: 15px;
}

#table-ensino td a:hover {
    color: #00cc8e;
}


/*=======================================================
PORTAL DA TRANSPARENCIA
=========================================================*/

.table-services {
    margin-bottom: 20px;
}

.table-services tr {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.table-services td {
    padding: 10px 0;
    box-shadow: 0px 0px 10px 2px #00000029;
    /* box-shadow: 0px 10px 40px 3px #e8e8e8; */
    text-align: center;
}

.table-services a {
    padding: 15px;
}

.table-services td a:hover {
    color: #00cc8e !important;
}

#brxe-fprglk>section>div:nth-child(8)>a,
#brxe-jdwrpq>section:nth-child(1)>p:nth-child(3)>a,
#brxe-lfxmwq>p:nth-child(4) a {
    color: #00CC8E;
}

#brxe-fprglk>section>div:nth-child(8)>a:hover,
#brxe-jdwrpq>section:nth-child(1)>p:nth-child(3)>a:hover,
#brxe-lfxmwq>p:nth-child(4) a:hover {
    color: #008a60;
}


/*=======================================================
COREME
=========================================================*/

#brxe-jdwrpq>p:nth-child(6)>a {
    color: #00CC8E;
}

#brxe-jdwrpq>p:nth-child(6)>a:hover {
    color: #008a60;
}

/*=======================================================
CONVENIOS
=========================================================*/
.convenios {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.cards-convenios {
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-convenios {
    width: 50%;
}

.name-convenios {
    color: #00cc8e;
    font-size: 22px;
    font-family: "Poppins";
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}


/*=======================================================
    doar
=========================================================*/

.ajuda-section:nth-child(even) {
  background-color: #F2F2F2;
}


.ajuda_titulo_before::before {
    content: "\2022";
    position: absolute;
    top: -11px;
    left: -30px;
    font-size: 40px;
    color: #009035;
}

@media (max-width: 992px){
    .ajuda_titulo_before::before {
        content: "\2022";
        position: absolute;
        top: -17px;
        left: -30px;
        font-size: 40px;
        color: #009035;
    }
}

@media (max-width: 768px) {
    section.cards-container {
        width: 75%;
        grid-template-columns: repeat(1, 1fr);
    }
    .table-services {
        display: flex;
    }
    .table-services tbody {
        overflow: auto;
        padding: 15px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .table-services tr {
        flex-shrink: 0;
    }
    .table-services td {
        padding: 10px;
    }
    .table-services tr td a {
        margin-bottom: 0;
        padding: 0;
        font-size: 13px;
    }
    /*=======================================================
    EDUCAÇÃO CONTINUADA
    =========================================================*/
    #table-ensino tr {
        gap: 10px;
    }
    #table-ensino td {
        padding: 10px;
    }
    #table-ensino tr td a {
        margin-bottom: 0;
        padding: 0;
        font-size: 13px;
    }
}

@media (max-width:767px) {
    #my-ajax-filter-search form {
        width: 80%;
    }
    ul#ajax_fitler_search_results {
        width: 80%;
    }
    /*=======================================================
    EDUCAÇÃO CONTINUADA
    =========================================================*/
    #table-ensino {
        display: flex;
    }
    #table-ensino tbody {
        overflow: auto;
        padding: 15px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    #table-ensino tr {
        flex-shrink: 0;
    }
    /*=======================================================
    CONVENIOS
    =========================================================*/
    .convenios {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        width: 90%;
        margin: auto;
    }
    .image-convenios {
        width: 70%;
    }
    .name-convenios {       
        font-size: 18px;        
    }
}


    


