/*
Theme Name: Saadi
Theme URI: http://berlindesign.com.br
Author: Christian Leyen
Description: Tema site Clínica Saadi
Version: 1.0
Text Domain: saadi
*/


@font-face {
font-family:LatoBold;
src: url('webfonts/Lato-Bold.ttf');
}

@font-face {
font-family:LatoBlack;
src: url('webfonts/Lato-Black.ttf');
}

@font-face {
font-family:LatoRegular;
src: url('webfonts/Lato-Regular.ttf');
}

@font-face {
font-family:CrimsonRegular;
src: url('webfonts/CrimsonText-Regular.ttf');
}

h1 {
font:35px 'LatoBold';
color:#a32516;
margin:60px 0;
}
h2 {
font:26px 'LatoBlack';
letter-spacing:3px;
font-weight:600;
color:#468098;
margin:20px 0;
}

/* GERAL */

.linkBotao {
width:100%;
display:block;
font:12px 'LatoBlack';
text-transform:uppercase;
text-align:center;
margin:60px auto 20px;
}

.linkBotao.left {
text-align:left;
margin:20px auto;
}

.linkBotao.right {
text-align:right;
margin:20px auto;
}

.linkBotao a {
color:#438095;
padding:10px 30px;
border:1px solid #afd4dd;
}

.linkBotao a i.fa {
color:#afd4dd;
margin:0 10px;
}

button.linkBotao {
background:none;
width:auto;
display:block;
font:12px 'LatoBlack';
text-transform:uppercase;
margin:60px auto 20px;
color:#438095;
padding:10px 30px;
border:1px solid #afd4dd;
float:right;
cursor:pointer;
}
button.linkBotao i.fa {
color:#afd4dd;
margin:0 10px;
cursor:pointer;
}

.form-control {
border-color:#afd4dd;
border-radius:0;
}
.form-control.erroForm {
border-color:red;
}
.form-control::placeholder {
font-family:'LatoBlack';
color:#42a6bd;
font-size:12px;
font-weight:600;
}

#showBusy {
background:rgba(255,255,255,0.7);
color:#333;
left:50%;
top:50%;
height:30px;
padding:5px;
position:fixed;
z-index:2000;
border-radius:4px;
box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
display:none;
}
#showBusy i {
color:#afd4dd;
font-size:20px;
margin:0;
padding:0;
}


/* MENU PRINCIPAL */

.navbar {
font-family:LatoBold;
font-size:11px;
}

#menuPrincipal .navbar .navbar-toggler {
color:#44a4ba;
}

#menuPrincipal .navbar-nav .nav-item {
margin:0 16px;
}

#menuPrincipal .navbar-nav .nav-link {
color:#44a4ba;
letter-spacing:0.1em;
border-bottom:1px solid #44a4ba;
padding-left:0;
padding-right:0;
}


#menuSecundario .navbar {
padding:0;
}

#menuSecundario .navbar-nav .nav-link {
background-color:#afd4dd;
color:#44a4ba;
letter-spacing:0.1em;
border-left:1px solid #fff;
border-right:1px solid #fff;
padding:10px 30px;
}


#searchBox {
width:100%;
overflow:auto;
display:block;
}








/* HOME */

#carrosselHome {
background-color: #000;
background-size: cover;
background-position: 50% 50%;
width: 100%;
height: 520px;
display: block;
overflow: hidden;
position: relative;
margin-bottom:130px;
}

#carrosselHome .bannerHome {
background-size: cover;
background-position: 50% 50%;
width: 100%;
height: 520px;
display: block;
overflow: hidden;
position: absolute;
top: 0;
left: 0;
opacity: 0;
z-index: 5;
}

#carrosselHome .textoBannerHome {
font-family: 'CrimsonRegular';
color: #a32516;
font-size: 30px;
line-height: 30px;
text-transform: uppercase;
text-align:right;
margin: 230px 0 0 0;
float:right;
clear: both;
}

#carrosselHome .btRolaBanner {
color: #fff;
font-size: 60px;
top: 20%;
position: absolute;
opacity: 0.6;
z-index: 20;
transition: all 0.2s;
cursor: pointer;
}

#carrosselHome .btRolaBanner:hover {
opacity: 1;
}

#carrosselHome #btBannerAnterior {
left: 10px;
}

#carrosselHome #btBannerSeguinte {
right: 10px;
}

#carrosselHome #pontosIndicadores {
    font-size: 20px;
    text-align: center;
    width: 100%;
    height: 40px;
    left: 0;
    bottom: 0px;
    position: absolute;
    z-index: 20;
}

#tituloNoticias h1 {
    font: 35px 'LatoBold';
    color: #a32516;
    margin: 18px 0;
}

#tituloVideos {
    font: 35px 'LatoBold';
    color: #a32516;
    margin: 18px 0;
}

#carrosselHome #pontosIndicadores .ponto {
color: #fff;
margin: 0;
padding: 3px;
opacity: 0.7;
cursor: pointer;
text-shadow: 2px 2px 2px rgba(68, 68, 68, 1);
z-index: 20;
}

#carrosselHome #pontosIndicadores .ponto:hover {
color: #b31c2c;
}

.titluloItemHome {
text-align:center;
margin-bottom:40px;
}

.boxVideoHome {
background:linear-gradient(to right, #f6f7f9 0%,#f6f7f9 100%) no-repeat;
background-size:80% 100%;
background-position:50% 0;
padding-top:20px;
padding-bottom:40px;
}

.boxVideoHome .embed-responsive {
margin-bottom:20px;
}

.boxVideoHome .tituloVideo {
color:#335465;
font:13px 'LatoBold';
text-align:center;
text-transform:uppercase;
font-weight:600;
line-height:20px;
display:block;
clear:both;
width:70%;
margin:0 15%;
}

#blocoNoticiasHome {
background:#f6f7f9;
width:100%;
overflow:auto;
display:block;
margin-top:80px;
padding:20px 0 80px;
}


#blocoNoticiasHome .boxNoticia .boxFotoNoticia {
background: #afd4dd;
background: linear-gradient(to right, #afd4dd 0%,#d7e3e3 100%) no-repeat;
background-size:100% 50%;
background-position:0 100%;
width:100%;
overflow:auto;
display:block;
margin-bottom:35px;
padding:10% 15%;
border-top:2px solid #b6d2dd;
}

#blocoNoticiasHome .boxNoticia .boxFotoNoticia .fotoNoticia {
background-size:cover;
/*background-position:0 50%;*/
width:100%;
padding-bottom:56.25%;
display:block;
clear:both;
margin-bottom:20px;
}

#blocoNoticiasHome .boxNoticia .dataNoticia {
font-family: 'CrimsonRegular';
color: #a32516;
font-size: 26px;
line-height: 30px;
text-transform: uppercase;
text-align:left;
margin:0;
padding:0;
}

#blocoNoticiasHome .boxNoticia .tituloNoticia {
font-family:'LatoRegular';
color:#a32516;
font-size:12px;
line-height:16px;
text-transform: uppercase;
margin:0;
padding:0;
}

#blocoNoticiasHome .boxNoticia .resumoNoticia {
font-family:'LatoRegular';
color:#36545f;
font-size:14px;
line-height:20px;
text-align:left;
/*border-bottom:2px solid #b6d2dd;*/
display:block;
margin:0;
padding:0 0 20px 0;
}








/* PÁGINA NOTÍCIAS */


.boxNoticia .boxFotoNoticia {
background: #afd4dd;
background: linear-gradient(to right, #afd4dd 0%,#d7e3e3 100%) no-repeat;
background-size:100% 50%;
background-position:0 100%;
width:100%;
overflow:auto;
display:block;
margin-bottom:35px;
padding:10% 15%;
}

.boxNoticia .boxFotoNoticia .fotoNoticia {
background-size:cover;
background-position:0 50%;
width:100%;
padding-bottom:56.25%;
display:block;
clear:both;
margin-bottom:20px;
}

.boxNoticia .dataNoticia {
font-family: 'CrimsonRegular';
color: #a32516;
font-size: 26px;
line-height: 30px;
text-transform: uppercase;
text-align:left;
margin:0;
padding:0;
}

.boxNoticia .tituloNoticia {
font-family:'LatoRegular';
color:#a32516;
font-size:12px;
line-height:16px;
text-transform: uppercase;
margin:0;
padding:0;
}

.boxNoticia .resumoNoticia {
font-family:'LatoRegular';
color:#36545f;
font-size:14px;
line-height:20px;
text-align:left;
display:block;
margin:0;
padding:0 0 20px 0;
}

.barraPaginacao {
background:linear-gradient(to right, #d9e1e3 0%,#bbdce5 100%);
width:100%;
overflow:auto;
display:block;
margin-top:80px;
padding:20px 0;
}
.barraPaginacao .linkBotao a {
border-color:#fff;
}
.barraPaginacao .linkBotao.maisRecentes {
width:auto;
text-align:left;
float:left;
display:inline;
}
.barraPaginacao .linkBotao.maisAntigas {
width:auto;
text-align:right;
float:right;
display:inline;
}

/* VÍDEOS */


.thumbVideo {
background-size:cover;
background-position:0 50%;
width:100%;
padding-bottom:56.25%;
display:block;
clear:both;
margin-bottom:20px;
position:relative;
}

.thumbVideo .playVideo {
color:#a22415;
font-size:60px;
position:absolute;
top:45%;
left:45%;
z-index:10;
}


@media screen and (max-width: 768px) {

	h1 {
	font-size:30px;
	margin:30px 0;
	}
	h2 {
	font-size:20px;
	margin:10px 0;
	}

	#carrosselHome {
	height: 200px;
	margin-bottom:40px;
	}
	#carrosselHome .bannerHome {
	height: 200px;
	}
	#carrosselHome .textoBannerHome {
	font-size: 16px;
	line-height: 20px;
	margin: 100px 0 0;
	}
	#carrosselHome #pontosIndicadores {
        font-size: 20px;
        height: 10px;
    }

	.titluloItemHome {
	margin-bottom:20px;
	}

	#blocoNoticiasHome {
	margin-top:40px;
	padding-bottom:40px;
	}


}

/* CAROUSEL STYLES */
body #bannerCarousel {
    position: relative !important;
    margin-top: 20px !important;
    margin-bottom: 30px !important;
}

body #bannerCarousel .banner-wrapper {
    position: relative !important;
    overflow: hidden !important;
    height: 260px !important;
    cursor: grab !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: pan-y pinch-zoom !important;
}

body #bannerCarousel .banner-wrapper:active {
    cursor: grabbing !important;
}

body #bannerCarousel .banner-wrapper::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.2) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

body #bannerCarousel .banner-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    pointer-events: none !important;
}

body #bannerCarousel .play-button {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 2 !important;
}

body #bannerCarousel .play-button i {
    font-size: 24px !important;
    color: #a32516 !important;
}

body #bannerCarousel .play-button:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
}

body #bannerCarousel .banner-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 5px 20px 5px 11px !important;
    color: #fff !important;
    border-left: solid 4px #a32516 !important;
    margin-left: 30px !important;
    z-index: 2 !important;
}

body #bannerCarousel .banner-content h2 {
    margin: 0 0 5px 0 !important;
    color: #fff !important;
    font: 1.4rem 'CrimsonSemiBold' !important;
    text-transform: uppercase !important;
}

body #bannerCarousel .banner-content p {
    margin: 0 !important;
    color: #fff !important;
    font: 1.3rem 'LatoBlack' !important;
}

body #bannerCarousel .carousel-indicators {
    margin-bottom: 0.5rem !important;
    z-index: 3 !important;
}

body #bannerCarousel .carousel-indicators [data-bs-target] {
    width: 10px !important;
    height: 10px !important;
    border-radius: 100% !important;
    background-color: #d91700 !important;
    opacity: 0.5 !important;
    margin: 0 3px !important;
    border: 0 !important;
}

body #bannerCarousel .carousel-indicators .active {
    opacity: 1 !important;
}

body #bannerCarousel .carousel-progress {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 3px !important;
    background: #a32516 !important;
    z-index: 4 !important;
    transition: width 7000ms linear !important;
}

@media (max-width: 768px) {
    body #bannerCarousel .banner-wrapper {
        height: 180px !important;
    }
    
    body #bannerCarousel .banner-content h2 {
        font-size: 1rem !important;
    }
    
    body #bannerCarousel .banner-content p {
        font-size: 0.9rem !important;
    }
    
    body #bannerCarousel .play-button {
        width: 50px !important;
        height: 50px !important;
    }
    
    body #bannerCarousel .play-button i {
        font-size: 20px !important;
    }
}

/* Estilos do Modal de Vídeo */
body #videoModal .modal-dialog {
    max-width: 800px !important;
    margin: 1.75rem auto !important;
    display: flex !important;
    align-items: center !important;
    min-height: calc(100% - 3.5rem) !important;
}

body #videoModal .modal-content {
    background-color: #000 !important;
    width: 100% !important;
}

body #videoModal .modal-header {
    border: none !important;
    padding: 10px !important;
    position: absolute !important;
    right: 0 !important;
    z-index: 3 !important;
}

body #videoModal .btn-close {
    background-color: white !important;
    opacity: 1 !important;
    margin: -5px -5px -5px auto !important;
}

body #videoContainer {
    position: relative !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    background: #000 !important;
}

body #videoContainer iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
