.max-width {
	max-width: 960px
}
@media screen and (max-width: 959px) {
	.max-width {
		padding-left: 10px;
		padding-right: 10px;
	}
}

/*-----------------------------------*/

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

	#header {
		padding-bottom: 40px;
		margin-bottom: 20px;
	}

		#menu, 
		#header .contato {
			display: none;
		}
		
		#menu_mobile, 
		#abrir_menu {
			display: block;
		}
		
		#logo {
			display: block;
			height: auto;
			float: none;
			margin-top: 0px;
			margin-bottom: 20px;
		}
}

/*-----------------------------------*/

@media screen and (max-width: 800px) {	
    #noticias_home .noticia-destaque {		
        display: block;
        float: none;
        margin: 0px auto 20px auto;
    }

    #noticias_home .noticia {
    	display: block;
    	width: 100%;
    }
}

@media screen and (max-width: 960px) {	
	.quarto .photo {
		width: 100%;
		margin-bottom: 10px;
	}

	.quarto .conteudo {
		width: 100%;
	}
}

@media screen and (max-width: 400px) {	
	#footer .info {
		display: block;
	}

	#footer .info > * {
		display: block;
		text-align: center;
		margin: 0px auto 40px auto;
	}
}

@media screen and (max-width: 960px) {	
	#slider_content {
		height: calc(100vw / 3);
	}

    #slider .texto {
		bottom: 1vh;
    }

		#slider .texto .titulo {
			font-size: 7vw;
		}
}

/*-----------------------------------*/

@media screen and (min-width: 481px) {
    #cursos .cursos > .column:last-child, 
    #cursos_home .cursos > .column:last-child {
        margin-right: 0px;
    }
}
@media (max-width: 768px) {
    .quarto-card {
        flex-direction: column;
        text-align: center;
    }

    .quarto-foto {
        flex: none;
        width: 100%;
    }
}
/* GALERIA - 1 IMAGEM POR LINHA */

.galeria,
.galeria ul {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 25px 0 !important;
}

.galeria li {
    list-style: none !important;
    width: 100% !important;
    margin: 0 0 25px 0 !important;
    padding: 0 !important;
}

.galeria .photo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 550px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.15) !important;
}

.galeria .photo img,
.galeria img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
/* GALERIA - 3 IMAGENS POR LINHA */

.galeria,
.galeria ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 25px 0 !important;
}

.galeria li {
    list-style: none !important;
    width: calc((100% - 40px) / 3) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.galeria .photo {
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.galeria .photo img,
.galeria img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    image-rendering: auto;
}

/* TABLET */
@media (max-width: 900px) {
    .galeria li {
        width: calc((100% - 20px) / 2) !important;
    }
}

/* CELULAR */
@media (max-width: 600px) {
    .galeria li {
        width: 100% !important;
    }
}
