/*
Geral
*/
@font-face {
    font-family: 'Unimed Sans';
    src: url(../fonts/unimedsans-regular-webfont.ttf);
}

* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    display: grid;
    font-size: 14px;
    font-family: "Unimed Sans", "Trebuchet MS", sans-serif;
    color: #5b5c65;
}

html {
    scroll-behavior: smooth;
}

a[href^="tel:"] {
    color: white;
    text-decoration: none;
}

/*
Menu
*/

nav {
    height: 78px;
    background: #035E53;
    position: fixed;
    width: 100%;
    z-index: 10;
    border-bottom: 1px solid #dee2e6 !important;
    box-shadow: 0px 1px 5px 0px rgba(80, 80, 100, 0.3);
}

nav div {
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    nav div {
        max-width: 1140px;
    }
}

nav img {
    float: left;
    margin-top: 8px;
    width: 164px;
    color: #fff;
    text-transform: uppercase;
}

nav ul {
    float: right;
    list-style: none;
}

nav ul li {
    display: inline-block;
    line-height: 76px;
    margin: 0 15px;
}

nav ul li a {
    position: relative;
    padding: 5px 0;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

nav ul li a:hover {
    color: white;
    text-decoration: underline;
}

label #sign-one,
label #sign-two {
    font-size: 30px;
    color: #fff;
    float: right;
    line-height: 76px;
    margin-right: 30px;
    cursor: pointer;
    display: none;
}

#res-menu {
    display: none;
}

@media (max-width: 880px) {
    nav div {
        width: 100%;
    }

    nav img {
        margin-left: 5%;
    }

    label #sign-one {
        display: block;
    }

    nav ul {
        position: fixed;
        width: 90%;
        height: 100vh;
        background: #035E53;
        top: 78px;
        left: -100%;
        text-align: center;
        transition: 0.5s;
        z-index: 10;
    }

    nav ul li {
        display: block;
        margin: 40px 0;
        line-height: 30px;
    }

    nav ul li a {
        font-size: 20px;
    }

    #res-menu:checked~ul {
        left: 0;
    }

    #res-menu:checked~label #sign-one {
        display: none;
    }

    #res-menu:checked~label #sign-two {
        display: block;
    }
}

/*
Slider
*/
.area-banner {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../img/banner.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    height: 100vh;
}

.banner-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.card {
    position: relative;
    background: #fff;
    width: 600px;
    height: 400px;
    margin: 0 auto;
}

/*
* AJUSTE FEITO AQUI:
* As regras de nth-child foram decrementadas em 1 para compensar a remoção do primeiro slide.
* Agora, nth-child(1) corresponde à Recepção, nth-child(2) ao Apartamento, e assim por diante.
*/
.swiper-slide:nth-child(1) .card { /* ANTES: .swiper-slide:nth-child(2) .card (era a Recepção) */
    background: url(../img/galeria/1-recepcao.jpeg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.swiper-slide:nth-child(2) .card { /* ANTES: .swiper-slide:nth-child(3) .card (era o Apartamento) */
    background: url(../img/galeria/2-apartamento.jpeg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.swiper-slide:nth-child(3) .card { /* ANTES: .swiper-slide:nth-child(4) .card (era a UTI) */
    background: url(../img/galeria/3-uti.jpeg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.swiper-slide:nth-child(4) .card { /* ANTES: .swiper-slide:nth-child(5) .card */
    background: url(../img/galeria/4-tomografia-computadorizada.jpeg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.swiper-slide:nth-child(5) .card { /* ANTES: .swiper-slide:nth-child(6) .card */
    background: url(../img/galeria/5-raio-x.jpeg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.swiper-slide:nth-child(6) .card { /* ANTES: .swiper-slide:nth-child(7) .card */
    background: url(../img/galeria/6-ultrassom.jpeg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.swiper-slide:nth-child(7) .card { /* ANTES: .swiper-slide:nth-child(8) .card */
    background: url(../img/galeria/7-sala-medicacao.jpeg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.swiper-slide:nth-child(8) .card { /* ANTES: .swiper-slide:nth-child(9) .card */
    background: url(../img/galeria/8-refeitorio.jpeg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.card a,
.card span {
    display: inline-block;
    margin-top: 365px;
    margin-right: 5px;
    padding: 5px 10px;
    text-decoration: none;
    border: 2px solid #00995D;
    color: #fff;
    background: linear-gradient(to right, rgba(0, 153, 93, 0.9), rgba(0, 64, 26, 0.9));
}

.swiper-slide {
    width: 600px;
    display: flex;
}

.swiper-slide .card {
    align-self: center;
}

@media (max-width: 880px) {

    .card,
    .swiper-slide {
        width: 95%;
        height: 90%;
        margin-top: 43px;
    }
}

@media (max-width: 400px) {
    .card a {
        margin-top: 410px;
    }
}

/*
Conteudo
*/

.area {
    position: relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    padding-top: 90px;
    padding-bottom: 90px;
    margin: 0 auto;
}

.text-part {
    width: 100%;
    min-height: 80%;
}

.text-part ul li {
    margin-left: 20px;
    margin-bottom: 20px;
}

.text-part h1 {
    font-size: 40px;
}

.text-part h2,
.text-part h3 {
    padding-top: 20px;
    line-height: 2em;
}

.text-part h3:nth-child(1) {
    padding-top: 0;
}

.text-part h2 {
    font-size: 26px;
}

.text-part h3 {
    font-size: 24px;
}

.text-part>p {
    font-size: 24px;
    line-height: 1.5 !important;
    text-align: justify;
}

.text-part>.row>.col>div>h4,
.h4 {
    font-size: 1.25rem !important;
    color: #5b5c65 !important;
    font-weight: 200;
    padding-bottom: .5rem;
}

.medico-nome {
    font-size: 1rem !important;
}

.medico-dados {
    font-size: .8rem !important;
}

.text-part>.row>.col>div>p {
    font-size: .8rem !important;
    font-weight: 100 !important;
    color: #6c757d !important;
}

@media (max-width: 880px) {
    .text-part {
        width: 90%;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .text-part h1 {
        font-size: 32px;
    }

    .text-part h2 {
        font-size: 24px;
    }

    .text-part h3 {
        font-size: 16px;
    }

    .text-part p {
        font-size: 16px;
        line-height: 30px;
    }

    .area {
        padding-top: 60px;
        padding-bottom: 10px;
    }
}

.area-verde {
    background: #00995D;
    color: #fff
}


/*
Rodape
*/
.footer-container {
    background: #035E53;
    width: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
}

.footer {
    width: 880px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: strech;
}

.registro>img {
    max-height: 26px;
}

.portlet {
    margin-bottom: 0 !important;
}

.portlet-text,
.portlet-text-highlight {
    color: white !important;
}

@media (max-width: 767.98px) {
    .footer {
        width: 100%;
    }

    .footer>.row {
        margin: 0 !important;
    }

    .registro,
    .footer-email {
        padding-top: 1.5rem;
    }
}

/* Privacidade */
.cookieConsentContainer {
    z-index: 999;
    width: 100%;
    min-height: 20px;
    padding: 0px 20px;
    overflow: hidden;
    position: fixed;
    bottom: 0px;
    right: 0px;
    display: none;
    text-align: center;
}

.cookieConsentContainer .row {
    margin-top: 1rem !important;
}

@media (max-width:980px) {
    .cookieConsentContainer {
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
    }

    .cookieConsentContainer .row .col {
        font-size: 10px !important;
    }

    .cookieConsentContainer .row {
        padding: 1rem !important;
        width: 100% !important;
    }

    .cookieConsentContainer .row .col-md-auto .btn {
        padding: .25rem .5rem !important;
        font-size: .875rem !important;
        line-height: 1.5 !important;
        border-radius: .2rem !important;
        margin-top: .5rem !important;
        width: 100% !important;
    }
}

/* Serviços */
.servicos:nth-child(1) .img-card {
    background-image: url("../img/servicos/serv-uti-adulto.jpeg");
}

.servicos:nth-child(2) .img-card {
    background-image: url("../img/servicos/serv-internacao-clinica-cirurgica.jpeg");
}

.servicos:nth-child(3) .img-card {
    background-image: url("../img/servicos/serv-maternidade.jpeg");
}

.servicos:nth-child(4) .img-card {
    background-image: url("../img/servicos/serv-oncologia-clinica.jpeg");
}

.servicos:nth-child(5) .img-card {
    background-image: url("../img/servicos/serv-urgencia.jpeg");
}

.servicos:nth-child(6) .img-card {
    background-image: url("../img/servicos/serv-centro-cirurgico.jpeg");
}

.servicos:nth-child(7) .img-card {
    background-image: url("../img/servicos/serv-lab-analise-clinicas.jpeg");
}

.img-card {
    height: 100% !important;
    min-height: 140px !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sobre-nos {
    background: linear-gradient(to right, rgba(0, 153, 93, 0.5), rgba(0, 153, 93, 0.5)), url(../img/sobre-nos.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
}

.area-verde-foto {
    background: rgba(255, 255, 255, 0.8);
}

.area-verde-foto>h1 {
    color: #00995D;
    margin-top: 0;
}

.area-verde-foto {
    color: #5b5c65;
}


.encontre-seu-medico {
    background: linear-gradient(to right, rgba(0, 153, 93, 0.5), rgba(0, 153, 93, 0.5)), url(../img/encontre-seu-medico.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
}

.paciente {
    background: linear-gradient(to right, rgba(0, 153, 93, 0.5), rgba(0, 153, 93, 0.5)), url(../img/paciente.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
}

.contato {
    background: linear-gradient(to right, rgba(0, 153, 93, 0.5), rgba(0, 153, 93, 0.5)), url(../img/contato.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
}


.texto-verde>i,
.texto-verde {
    font-size: 1.5rem;
    color: #00995D !important;
}

.bg-green {
    background-color: #00995D;
}

/* Novo */
.float-whatsapp {
    bottom: .5rem;
    right: .5rem;
    z-index: 999;
    position: fixed;
}

.float-whatsapp img {
    max-width: 200px;
    margin-bottom: -.5rem;
}

.float-whatsapp a {
    text-decoration: none;
}

@media (max-width:880px) {
    .float-whatsapp {
        right: .5rem;
    }

    .float-whatsapp img {
        max-width: 160px;
    }

}

.bg-white-transparent {
    background: rgba(255, 255, 255, 0.8);
}

.titulo {
    font-weight: 100;
    font-size: 2rem;
    color: #00995D;
    margin-top: 0;
}

.sub-titulo {
    font-weight: 100;
    font-size: 1.2rem;
    padding-bottom: .5rem;
}


.conteudo {
    font-size: 1.2rem;
    line-height: 1.5 !important;
    text-align: justify;
}

.footer-icone {
    height: 1rem;
}

@media (min-width: 1200px) {
    .area {
        max-width: 1140px;
    }
}

.btn-primary {
    background-color: #00995D !important;
    border-color: #00995D !important;
    cursor: pointer;
}

/* Panel */
.box-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab {
    cursor: pointer;
    padding: 10px 25px;
    margin: 0px -1px;
    border-radius: 3px 3px 0px 0px;
    border-bottom: 1px solid #e5e5e5;
    display: inline-block;
}

.tabs {
    width: 100%;
    float: left;
}

.panels {
    background: #fffffff6;
    min-height: 260px;
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
    padding: 20px;
}

.panel {
    display: none;
    animation: fadein .8s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tab-title {
    width: 100%;
    float: left;
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: bold
}

.radio {
    display: none;
}

#um:checked~.panels #tab-um,
#dois:checked~.panels #tab-dois,
#tres:checked~.panels #tab-tres {
    display: block
}

#um:checked~.tabs #one-tab,
#dois:checked~.tabs #two-tab,
#tres:checked~.tabs #three-tab {
    color: #000;
    border: 1px solid #e5e5e5;
    border-bottom: none;
}