body { background: #f9f9f9; }
body, h1, h2, h3, h4, h5, h6, p { font-family: 'Jaldi', sans-serif; }
p { font-size: 18px; }

#loader {
    z-index: 90;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #FFF;
}


.responsive-embed, .flex-video { position: relative; height: 0; margin-bottom: 1rem; padding-bottom: 75%; overflow: hidden; }
.responsive-embed.widescreen, .flex-video.widescreen { padding-bottom: 56.25%; }
.responsive-embed iframe, .responsive-embed object, .responsive-embed embed, .responsive-embed video, .flex-video iframe, .flex-video object, .flex-video embed, .flex-video video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.massa {
    display: inline-block;
    text-transform: uppercase;
    font-size: 26px;
    color: #FFF; 
    /*    font-weight: bold;*/
    padding: 10px 20px;
    letter-spacing: 1px;
    background-size: 100% 100%;
}
.massa strong { font-weight: 600; }
.massa.tiny { font-size: 16px; padding: 10px 20px 5px 20px; }
.massa.large { font-size: 36px; padding: 25px 40px;  filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.3));}
.massa.amarela { background-image: url('../img/massa_amarela.png'); }
.massa.azul { background-image: url('../img/massa_azul.png'); }
.massa.laranja { background-image: url('../img/massa_laranja.png'); }
.massa.musgo { background-image: url('../img/massa_musgo.png'); }
.massa.roxo { background-image: url('../img/massa_roxa.png'); }
.massa.verde { background-image: url('../img/massa_verde.png'); }
.massa.vermelha { background-image: url('../img/massa_vermelha.png'); }

.banner {
    position: relative;
    height: calc(100vh - 100px);
    background-size: cover;
}

.banner .background {
    height: calc(100vh - 100px);
}
.banner .background img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%,-50%);
}

.banner a {
    position: absolute;
    bottom: 20px;
    left: 50%;
    z-index: 2;
    display: inline-block;
    transform: translate(0, -50%);
    color: #fff;
    letter-spacing: .1em;
    text-decoration: none;
    transition: opacity .3s;
    padding-top: 40px;
}
.banner a:hover {
    opacity: .5;
}
.banner a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(-45deg);
    animation: arrowdown 1.5s infinite;
    box-sizing: border-box;
}
@keyframes arrowdown {
    0% { transform: rotate(-45deg) translate(0, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(-45deg) translate(-20px, 20px); opacity: 0; }
}

.banner#home { margin-bottom: 100px; }

header {
    z-index: 10;
    position: absolute;
    padding: 25px 0;
    border-bottom: 2px solid #dedede;
    background: #f9f9f9;
    width: 100%;
    height: 100px;
    left: 0;
    top: calc(100% - 100px);
}
header nav ul { margin: 15px 0 0; }
header nav ul li { display: inline-block; }
header nav ul li a { padding: 5px 25px; font-size: 14px; text-transform: uppercase; color: #1a1b1b; }

header nav ul li a.active,
header nav ul li a:hover { color: #FFF;background-size: 100% 100%; }
header nav ul li a.amarela.active,
header nav ul li a.amarela:hover { background-image: url('../img/massa_amarela.png'); }
header nav ul li a.azul.active,
header nav ul li a.azul:hover { background-image: url('../img/massa_azul.png'); }
header nav ul li a.laranja.active,
header nav ul li a.laranja:hover { background-image: url('../img/massa_laranja.png'); }
header nav ul li a.musgo.active,
header nav ul li a.musgo:hover { background-image: url('../img/massa_musgo.png'); }
header nav ul li a.roxa.active,
header nav ul li a.roxa:hover { background-image: url('../img/massa_roxa.png'); }
header nav ul li a.verde.active,
header nav ul li a.verde:hover { background-image: url('../img/massa_verde.png'); }
header nav ul li a.vermelha.active,
header nav ul li a.vermelha:hover { background-image: url('../img/massa_vermelha.png'); }

header .hamburguer { position: absolute; right: 0; display: none; cursor: pointer; padding: 10px; }
header .hamburguer .bar { width: 30px; height: 5px; background: #000; margin-bottom: 5px; }
header .hamburguer .bar:last-child { margin-bottom: 0px; }
header .nav-close { display: none; }

header.fixed { position: fixed; top: 0; }
header.interna { position: fixed; top: 0; }

.button { padding: .85em 2em; text-transform: uppercase; color: #818180; background: none; border: 2px solid #818180; font-weight: bold; }


section .title { margin-bottom: 60px; }

.eventos { padding: 100px 0; }
.eventos h2 { text-transform: uppercase; font-size: 28px; line-height: 28px; color: #eb677d; }
.eventos h1 { text-transform: uppercase; font-size: 90px; line-height: 90px; color: #4c485b; }
.eventos p { color: #4c495b; }
.eventos p span { color: #eb677d; }
.eventos .button { color: #818180; border-color: #dc6c6d; }
.eventos .button:hover { color: #FFF; background: #dc6c6d; }
.eventos .imagem { position: relative; }
.eventos .imagem .contador {
    position: absolute;
    bottom: -30px;
    width: 100%;
    max-width: 420px;
    left: 50%;
    transform: translateX(-50%);
}
.eventos .imagem .contador .massa { width: 100%; color: #e1caae; font-size: 12px; }
.eventos .imagem .contador .massa .box { padding: 0 20px; }
.eventos .imagem .contador .massa h4 { margin: 0; font-weight: bold; }
.eventos .imagem .contador .massa span { font-size: 12px; text-transform: capitalize; font-weight: 400; }


.equipe .title { padding: 60px 0; }
.equipe a { outline: none; }
.equipe { padding: 60px 0 100px 0; background: #e0dbca; }
.equipe .box { margin-bottom: 60px; }
.equipe .box .image { position: relative; }
.equipe .box .image .caption {
    position: absolute;
    padding: 6px 15px;
    bottom: -18px;
    left: 50%;
    border-radius: 5px;
    text-transform: uppercase;
    color: #FFF;
    background: #00a99d;
    transform: translateX(-50%);

}
.equipe .box p { margin-top: 30px; color: #606060; }

.exames {
    position: relative;
    height: calc(100vh - 200px);
    /*
    background: url('../img/exames_cover.jpg') center center;
    background-size: cover;
    */
}
.exames .caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.blog {
    padding: 60px 0 90px 0;
    background: #e7e7e6;
}
.blog .box { display: block; }
.blog .box img { width: 100%; }
.blog .box { background: #FFF; }
.blog .box .callout { border: none; }
.blog .box .callout.matchheight { margin: 0; padding-bottom: 0; }
.blog .box .callout .button { color: #dc6533; border-color: #dc6533; margin-bottom: 0; }
.blog .box:hover .callout .button { color: #FFF; background: #dc6533; }

.convenios {
    padding: 60px 0 90px 0;
    background: #383838;
}
.convenios h3 { color: #FFF; text-transform: uppercase; }

.convenios .carousel { margin-bottom: 60px; }
.convenios .carousel .box {
    position: relative;
    background: #fff;
    padding: 15px;
    margin: 0 15px;
    height: 160px;
    border-radius: 10px;
}
.convenios .carousel .box img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.slick-arrow { cursor: pointer; z-index: 5; position: absolute; top: 50%; transform: translateY(-50%); display: block; width: 48px; height: 46px; text-indent: -9999px; }
.slick-arrow.slick-prev { left: -15px; background: url('../img/arrow_left.png'); }
.slick-arrow.slick-next { right: -15px; background: url('../img/arrow_right.png'); }

.slider .slick-arrow { width: 26px; height: 46px; text-indent: -9999px; }
.slider .slick-arrow.slick-prev { left: 15px; background: url('../img/arrow_left_thin.png'); }
.slider .slick-arrow.slick-next { right: 15px; background: url('../img/arrow_right_thin.png'); }

.contato { background: #dddadb url('../img/bg_contato.jpg') center center; background-size: cover; }
.contato h4 { text-transform: uppercase; font-weight: bold; font-size: 22px; letter-spacing: 1px; margin: 0; padding: 10px 0; }
.contato .box { position: relative; height: 280px; }
.contato .box h3 { color: #FFF; line-height: 1; }
.contato .box .bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; mix-blend-mode: multiply; }
.contato .box .icon { z-index: 1; position: absolute; top: 30px; right: 30px; }
.contato .box.facebook .bg { background: #0d7ede; }
.contato .box.facebook .bg { background: #0d7ede; }
.contato .box.whatsapp .bg { background: #629124; }
.contato .box.telefone .bg { background: #db586e; }
.contato .box .caption { z-index: 1; position: absolute; padding: 30px; left: 0; bottom: 0; }

.contato .social { background: #ffb200; padding: 30px 0; }
.contato .social ul { margin: 0; }
.contato .social ul li { list-style: none; display: inline-block; margin: 0 15px; }
.contato .social ul li a { color: #FFF; font-size: 65px; }

.contato .endereco { 
    display: inline-block;
    padding: 15px 30px;
    font-size: 22px;
    font-weight: bold;
    background-image: url('../img/endereco_bg.png');
    background-size: 100% 100%;
}

.contato .mapa { position: relative; padding: 60px 0; }
.contato .mapa #map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.contato .mapa .callout { background: #f9f9f9; border-radius: 5px; padding: 1.5rem 1rem 1rem 1rem; }
.contato .mapa .callout p { margin: 0; }
.contato .mapa .callout a { color: #555; }
.contato .mapa .callout input[type="text"],
.contato .mapa .callout textarea { background: #f9f9f9; border-radius: 5px; border-collapse: #dedede; box-shadow: none; font-size: 14px; }
.contato .mapa .callout input[type="button"] {
    display: block;
    width: 100%;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    background: #00a99d;
    color: #FFF;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.contato .mapa .callout span { font-size: 16px; line-height: 14px; }

main#biofeto {
    padding: 100px 0;
    background: #e6e2d1;
}
#biofeto .banner {
    position: relative;
    height: 50vh;
    max-height: calc(100vh - 100px);
    overflow: hidden;
}
#biofeto .banner .background { height: calc(50vh); }
#biofeto .title { padding: 60px 0; }

main#blog {
    padding: 100px 0;
    background: #fbfbfb;
}
main#blog .title { padding: 60px 0; }

#blog .post-title { background: #2abed8; padding: 60px 0; }
#blog .post-title h1 { position: relative; color: #ffffff; font-size: 50px; text-transform: uppercase; margin: 0; }
#blog .post-title h1:after { content: ''; position: absolute; left: 0; bottom: 0; width: 180px; height: 1px; background: #FFF; }
#blog .post-subtitle { padding: 30px 0 0; margin: 0 0 30px 0; border-bottom: 2px dashed #333; }
#blog .post-subtitle h4 { margin: 0; }
/*
#blog .post-subtitle ul.social { margin: 0; display: inline-block; line-height: 0; }
#blog .post-subtitle ul.social li { list-style: none; display: inline-block; }
#blog .post-subtitle ul.social li a { display: block; }
#blog .post-subtitle ul.social li a .icon { max-width: 25px; width 100%; height: 25px; }
*/
#blog .post-subtitle .share { margin-bottom: 10px; }
/*#st-1 { display: inline !important; }*/


#blog .pagination {
    margin: 30px 0 0;
    list-style-type: none;
}
#blog .pagination li { display: inline-block; }
#blog .pagination li a {
    display: block;
    font-size: 14px;
    color: #222;
    width: 30px;
    height: 30px;
    line-height: 28px;
    padding: 0;
    text-align: center;
}

#blog .pagination a.active { border: 2px solid #535353; }

main#convenios {
    padding: 100px 0;
    background: #fefefe;
}
main#convenios .title { padding: 60px 0; }
#convenios .banner {
    height: 900px;
    max-height: calc(100vh - 100px);
}

#convenios .callout { border: none; }

main#exames {
    padding: 100px 0;
    background: #f7f7f7;
}
#exames .banner {
    position: relative;
    height: 50vh;
    max-height: calc(100vh - 100px);
    overflow: hidden;
}
#exames .banner .background { height: calc(50vh); }

#exames .title { padding: 60px 0; }
#exames ul.accordion { margin: 0; list-style: none; }
#exames ul.accordion > li:nth-child(odd) { background: #ececec; }
#exames ul.accordion > li:nth-child(even) { background: #fafafa; }
#exames ul.accordion > li:first-child { border-top: 1px dotted #dedede; }

#exames ul.accordion > li a { position: relative; display: block; padding: 10px; border-bottom: 1px dotted #dedede; border-left: 1px dotted #dedede; border-right: 1px dotted #dedede; color: #1a1b1b; cursor: pointer; }
#exames ul.accordion > li a:after {
    width: 8px;
    height: 8px;
    border-right: 1px solid #4a6e78;
    border-bottom: 1px solid #4a6e78;
    position: absolute;
    right: 10px;
    content: '';
    top: 17px;
    transform: rotate(-45deg);
    transition: all 0.2s ease-in-out;
}

#exames ul.accordion > li a.active:after {
    transform: rotate(45deg);
    transition: all 0.2s ease-in-out;
}
#exames ul.accordion > li .content {
    display: none;
    border-left: 1px dotted #dedede;
    border-right: 1px dotted #dedede;
    padding: 10px 20px;
    color: #444;
}
#exames ul.accordion > li .content h4 {
    font-weight: bold;
}




/* MODAL FADE */
.mfp-fade.mfp-bg { opacity: 0; transition: all 0.3s ease-out; }
.mfp-fade.mfp-bg.mfp-ready { opacity: 0.8; }
.mfp-fade.mfp-bg.mfp-removing { opacity: 0; }
.mfp-fade.mfp-wrap .mfp-content { opacity: 0; transition: all 0.3s ease-out; }
.mfp-fade.mfp-wrap.mfp-ready .mfp-content { opacity: 1; }
.mfp-fade.mfp-wrap.mfp-removing .mfp-content { opacity: 0; }

#modal-equipe {
    position: relative;
    padding: 40px;
    margin: 0 auto;
    max-width: 930px;
    background: #e3dfd0;
    border: 1px solid #000;
}
#modal-equipe h4 { color: #FFF; }
#modal-equipe h4:after { background: #FFF; }
#modal-equipe span { display: block; }
#modal-equipe span.numero { font-size: 110px; color: #e15d05; }
#modal-equipe span.nome { font-size: 80px; line-height: 80px; color: #fdd200; }
#modal-equipe span.sobrenome { font-size: 30px; color: #FFF; }
#modal-equipe span.question { padding: 5px 10px; font-size: 20px; color: #34a3f1; text-transform: uppercase; }
#modal-equipe span.answer { padding: 5px 10px; font-size: 30px; color: #FFF; }
#modal-equipe .line { border-bottom: 1px solid #fdd200; }
#modal-equipe .popup-modal-dismiss { position: absolute; top: 10px; right: 20px; font-size: 30px; color: #c1c1c1; }
#modal-equipe .mfp-close { display: none; }

footer {
    color: #FFF;
    padding: 25px 0;
    background: #2a2720;
}

.go-top {
    z-index: 10;
    display: none;
    position: fixed;

    height: 60px;
    width: 60px;
    right: 30px; 
    bottom: 30px;

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(232, 98, 86, 0.8) url('../img/go-top-arrow.svg') no-repeat center 50%;
    transition: all 0.3s;
}


/* TABLET */
@media screen and (max-width: 63.9375em) {
    p { font-size: 16px; }

    header nav ul li a { padding: 5px 10px; }
    header .logo { margin-top: 10px; }
    .eventos { padding: 60px 0; }
    .eventos h1 { font-size: 72px; line-height: 72px; }
    .equipe { padding: 60px 0 0; }
    .equipe .title { padding: 0; }
    .exames { height: 50vh; }

    .blog { padding: 60px 0 50px 0; }

    main#convenios { padding: 150px 0 0; }
    .convenios { padding: 60px 0 50px 0; }
    .go-top { height: 40px; width: 40px; bottom: 40px; right: 10px; }
}

/* MOBILE */
@media screen and (max-width: 39.9375em) {
    header .hamburguer { display: block; }
    header nav { display: none; }
    header nav.active { z-index: 90; display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #FFF; }
    header nav.active ul { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
    header nav.active ul li { display: block; }
    header nav.active ul li a { display: block; font-size: 16px; padding: 5px 0; }
    header nav.active .nav-close { display: block; position: absolute; top: 20px; right: 20px; font-size: 42px; line-height: 23px; width: 30px; height: 30px; color: #333; }

    .eventos h1 { font-size: 48px; line-height: 48px; }

    .equipe .box .image .caption { font-size: 12px; padding: 6px; width: 90%; }

    .convenios .carousel .box { height: 100px; }
    .slick-arrow { width: 28px; height: 26px; }
    .slick-arrow.slick-prev { left: -5px; background-size: cover; }
    .slick-arrow.slick-next { right: -5px; background-size: cover; }

    .contato .box .icon { top: 10px; right: 10px; }
    .contato .box .caption { padding: 10px; }
    .contato .box h3 { font-size: 14px; }
    .contato .box { height: 215px; }

    .contato .endereco { font-size: 14px; }
    .contato h4 { font-size: 14px; }

    .go-top { right: 20px; bottom: 20px; }
}