main{
	display: flex;
	flex-wrap: wrap;
	padding-bottom: 100px;
	gap: 100px;
	background-color: var(--bg1);
}

.banner{
	width: 100%;
	position: relative;
}
.banner picture{
	width: 100%;
	position: relative;
}
.banner picture img{
	width: 100%;
}
.banner picture:after{
	content: "";
	display: flex;
	width: 100%;
	height: 100%;
	position: absolute;
	background-image: url('../imagens/contato/filter.png');
	background-size: contain;
	background-position: left center;
	background-repeat: no-repeat;
	z-index: 1;
}
.banner .absolute{
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	z-index: 10;
}


.detalhes{
	width: 100%;
	height: fit-content;
	margin-top: -190px;
    position: relative;
    z-index: 1;
}
.detalhes .container{
	min-height: 164px;
	padding: 30px 50px;
	background-color: #fff;
	border-radius: 25px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 30px;
	box-shadow: 1px 1px 14px 0px rgba(0, 0, 0, 0.08);
}
.detalhes .container h2{
	max-width: 420px;
	width: 100%;
}
.detalhes .container p{
	max-width: 788px;
	width: fit-content;
	color: var(--cinza);
}


.medicos{
	width: 100%;
}
.medicos .container{
	gap: 50px;
}
.medicos .titulo{
	width: 100%;
	gap: 10px;
}
.medicos .titulo span.bar{
	margin-bottom: 20px;
}
.medicos .titulo p{
	color: var(--cinza);
}
.medicos .pesquisar-medicos{
	display: flex;
	width: 100%;
	gap: 30px;
}
.medicos .pesquisar-medicos .input{
	width: 100%;
	gap: 10px;
}
.medicos .pesquisar-medicos .input input,
.medicos .pesquisar-medicos .input select{
	width: 100%;
	height: 60px;
	border-radius: 5px;
    border: 1px solid #C2C8D0;
    padding: 0 20px;
    font-size: 20px;
    color: var(--cinza);
    background-color: var(--bg3);
}
.medicos .medicos-div{
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	justify-items: stretch;
	align-items: stretch;
	column-gap: 15px;
	row-gap: 50px;
}
.medicos .medicos-div .box{
    max-width: 563px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    align-content: flex-start; 
    border-radius: 20px;
    border: 1px solid #aaaaaa66;
    box-shadow: 1px 1px 14px 0px rgba(0, 0, 0, 0.08);
}
.medicos .medicos-div .box .img,
.medicos .medicos-div .box .img img{
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: transform .3s;
    position: relative;
}
.medicos .medicos-div .box .img span.tag{
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	background-color: var(--vermelho-escuro);
	border-radius: 10px;
	padding: 10px;
	position: absolute;
	bottom: 15px;
	left: 15px;
}
.medicos .medicos-div .box .texto{
	display: flex;
    width: 100%;
    padding: 20px 20px 40px;
    gap: 30px;
    background-color: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.medicos .medicos-div .box .texto .txt{
	display: flex;
	gap: 15px;
}
.medicos .medicos-div .box .texto .txt a{
	margin-top: 15px;
}
.medicos .medicos-div .box:hover .texto .txt a{
	border-bottom: 1px solid var(--vermelho-escuro);
    transition: ease .3s;
}



.img-bn{
	width: 100%;
}
.img-bn img{
	width: 100%;
	border-radius: 25px;
	object-fit: contain;
}




/* MEDIA DESKTOP */
@media screen and (max-height: 768px){
	.modal-medicos .modal-infos{
		max-height: 90vh;
	}
}

@media screen and (max-width: 1600px){
	.banner .texto{
		padding: 50px 5%;
	}
}

@media screen and (max-width: 1440px){

}

@media screen and (max-width: 1366px){
	
}

@media screen and (max-width: 1280px){
	
}

@media screen and (max-width: 1100px){
	.banner,
	.banner picture,
	.banner picture img{
		height: 340px;
		object-fit: cover;
	}
	.banner picture:after{
		background-size: cover;
	}

	.medicos .medicos-div{
		grid-template-columns: 1fr 1fr;
		justify-content: center;
	}
}

/* MOBILE */
@media screen and (max-width: 1000px){
    .detalhes .container{
    	flex-wrap: wrap;
    	justify-content: center;
        text-align: center;
    } 
}

@media screen and (max-width: 800px){
    .detalhes{
		margin-top: 0;
	}

	.medicos .pesquisar-medicos{
		flex-direction: column;
	}
}

@media screen and (max-width: 600px){
    .banner,
	.banner picture,
	.banner picture img{
		height: unset;
		object-fit: contain;
	}

	.medicos .medicos-div{
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 500px){
	.redes .redes-div{
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 480px){
	
}

@media screen and (max-width: 375px){

}