/* PRESET */
*{
	margin: 0;
	padding: 0;
}

body{
	color: #282923;
	font-family: 'Raleway' ,sans-serif;
	position: relative;
}

body.after:after{
	background-color: rgba(255, 255, 255, 0.5);
	content:'';
	position: fixed;
	top:0; left: 0;
	height: 100%;
	width: 100%;
}

h1, h2, h2, h3, h4, h5{
	font-family:'Raleway-Bold', sans-serif;
}
a, a:hover{
	text-decoration: none;
	color: inherit;
}

ul li{
	list-style: none;
}

/* ----  END PRESET  ---- */

/* HEADER */
aside{
	border-right: 2px double rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	position: fixed;
	left: 0;
	height: 100%;
	width: 20%;
}

#brand{
	margin-top: 1em;
	width: 50%;
}

#brand img{
	margin: 0 auto;
}

aside article {
	margin-top: 1em;
	padding: 0 .5em;
}

article a p{
	color: #000;
	text-align: right;
}

#nav-aside{
	margin-top: 2em;
}

#nav-aside ul li{
	display: block;
	margin: 2em auto;
	text-transform: uppercase;
}

#nav-aside ul li i{
	margin-right: .25em;
}

aside #social-icons{
	position: absolute;
	bottom: 0px;
	text-align: center;
	height: 5%;
}

aside #social-icons ul li{
	display: inline-block;
	margin: 0 .5em;
}

aside #social-icons ul li:first-child{
	margin-left: 0;
}

/* ---- END HEADER  ---- */

/* MAIN  */
main {
	padding: 1em;
	position: absolute;
	right: 0;
	width: 80%;
}

main section{
	margin-bottom: 8em;
}

main section h2{
	border-bottom: 5px solid #000;
	margin-bottom: 2em;
}

main #slide{
	position: relative;
	overflow: hidden;
	height: 100vh;
}

main #slide img{
	position: absolute;
	display: none;
	left: 0;
	width: 100%;
}

/* ---- POP-UP START  ---- */

#pop-up-container{
	display: flex;
	justify-content: center;
	margin:0;
	width: 100%;
}

#pop-up{
	background-color: #282923;
	color:#FFF;
	display: flex;
	flex-direction: column;
	padding: 1em;
	position: fixed;
    top: 5%;
	width: 50%;
	z-index: 1;
}

.fechar-pop{
	align-self: flex-end;
	color:#dc3545;
	cursor: pointer;
	margin-bottom: 1em;
}

#pop-img{
	display: flex;
}

#pop-up #pop-img img{
	width: 50%;
	height: 50%;
	padding: 0;
}

#pop-texto{
	margin-bottom: 1em;
	margin-top: 1em;
	text-align: center;
}

/* ---- POP-UP END  ---- */

#categorias {
	text-align: center;
}

#categorias select{
	border: 1px solid #282923;
	border-radius: 0;
	display: none;
}

#categorias ul li{
	border: 1px solid #282923;
	display: inline-block;
	margin: .5em;
	padding: .25em .5em;
}

#categorias ul li:hover{
	background: #282923;
	border: 1px solid white;
	color: #EFEFEF;
}

.active-categoria{
	background: #282923;
	border: 1px solid white;
	color: #EFEFEF;
}

#services #texto-gestante{
	display: none;
	font-size: 20px;
	padding: 4em 0;
}

#services .services-img{
	padding-right: 1px;
	padding-left: 1px;
	position: relative;
}

#services.verticais{
	margin-top: 10px;
}

#depoimento-video{
	padding: 0;
}

#depoimento-video .video{
	order: 1;
}

#depoimento-video video{
	border: 5px double;
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

.barra-video{
	margin-top: 0.25em;
	width: 100%;
}

.btn-grupo{
	margin-top: .5em;
	margin-bottom: .5em;
}

.btn-grupo .playPause{
	margin-right: 1em;
	margin-left: .5em;
}

.btn-grupo .playPause, .btn-grupo .volume, .btn-grupo .fullscreen{
	cursor:pointer;
}

.btn-grupo .fullscreen{
	position: absolute;
	margin-top: 1px;
    right: 6%;
}
#depoimento-video .video .btn-grupo .fullscreen[src="img/icones/fullscreen-min.png"]{
	right: 2%;
}

.btn-grupo input.volume{
	display:none;
	margin-top: 1px;
    margin-left: 1em;
    position: absolute;
}

.overlay:hover:before{
	content: '';
    background: url(../img/overlay.jpg) no-repeat;
    opacity: 0.5;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.overlay:hover:after{
	content: 'Veja mais';
	color: white;
	font-size: 150%;
	font-weight: bold;
	text-align: center;
	position: absolute;
	vertical-align: middle;
	left: 20%;
    top: 40%;
    height: 30%;
    width: 60%;
}

#services .services-img img{
	margin-bottom: 1px;
}



#sobre #text-sobre{
	margin-top: 1em;
}

#sobre img{
	border-radius: 300px;
	margin: 0 auto;
	width: 70%;
}

#depoimentos #articles{
	background: #282923;
	padding: 5em;
	position: relative;
	overflow: hidden;
}

#depoimentos .fa-quote-left{
	position: absolute;
	color: white;
	left: 5%;
	top: 5%;
}

#depoimentos #articles article{
	color: #fff;
    display: none;
    height: 100%;
}

#depoimentos article cite{
	position: absolute;
	right: 15%;
}

#depoimentos #controls-slide i{
	color: white;
	cursor: pointer;
	position: absolute;
	top: 45%;
}

#depoimentos #controls-slide .fa-chevron-right{
	right: 20px;
}

#depoimentos #controls-slide .fa-chevron-left{
	left: 20px;
}

/* FOOTER  */

footer{
	text-align: center;
}

/*  MOBILE FIRST   */

#header-mobile #header{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#header-mobile #header img{
	margin: 1em 0;
	height: 40%;
	width: 40%;
}

#header-mobile nav ul li{
	margin-bottom: 1em;
}

#navbar {
	display: none;
}

#navbar:first-child{
	margin-bottom: 4em;
}

#navbar ul li{
	display: block;
	margin: 2em auto;
	text-align: center;
	text-transform: uppercase;
}

#navbar #social-icons{
	margin-top: 4em;
	text-align: center;
}

#navbar #social-icons ul li{
	display: inline-block;
	margin: 0 1em;
}

#navbar #social-icons ul li:first-child{
	margin-left: 0;
}

.fa-times{
	display: none;
}

/* BREAKPOINTS */

@media (min-width: 992px){
	#header-mobile{
		display: none;
	}

	/* main #slide img{
		max-height: 95vh;
	} */
}

@media (max-width: 991px){
	aside{
		display: none;
	}

	main{
		width: 100%;
	}

	#pop-up{
		top: 2%;
		width: 90%;
	}
}

@media (max-width: 767px){

	#depoimento-video .video .btn-grupo .fullscreen[src="img/icones/fullscreen-min.png"] {
   		right: 5%;
	}
}

@media (max-width: 575px){
	#depoimentos #articles{
		padding: 2em;
	}

	#depoimentos #controls-slide .fa-chevron-right{
		right: 5px;
	}

	#depoimentos #controls-slide .fa-chevron-left{
		left: 5px;
	}
}

@media (max-width: 460px){
	
	#categorias select{
		display: block;
	}

	#categorias ul li{
		display: none;
	}
}

@media (max-height: 550px){
	#pop-up{
		width:40%;
	}
}