/* --------------------------------------------------------
 * Theme Name: SCUOLASTICO
 * Theme URI: https://www.scuolastico.it/
 * Author: Karon S.r.l.
 * Author URI: https://www.karon.it/
 * --------------------------------------------------------
 */

/* css per la page error */
#section-page{
	min-height: 500px;
}

/* css per il body */
.breadcrumb{
	padding: 0px !important;
}

/*  css per index-eventi*/
.div-img-eventi-index{
	max-width: 50%;
	max-height: 50%;
}

.index-eventi-background{
    background-color: #cacacc;
}

/* CSS PER LA PAGINA GALLERIA 
#section-gallery{
	background-color: #444e57;
} */
.li-img-scorrevoli{
    border: 0px !important;
}

.btngallery:hover{
	text-decoration: underline;
}

#carousel-home-fotogallery.carousel {
    padding: 4em 1em 3em;
}

#carousel-home-fotogallery .carousel-item img {
	max-height: 100%;  
	max-width: 100%; 
	position: absolute;  
	top: 0;  
	bottom: 0;  
	left: 0;  
	right: 0;  
    margin: auto;
}

#carousel-home-fotogallery .carousel-item {
    height: 600px;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
	#carousel-home-fotogallery .carousel-item {
        height: 500px;
    }
}

@media screen and (max-width: 768px) {
	#carousel-home-fotogallery .carousel-item {
        height: 300px;
    }
}

/* CSS PER LA PAGINA DEGLI EVENTI */
.img-evento{
    max-width: 100%;
    max-height: 225px;
}

/* CSS PER IL BANNER IMMAGINI */
#myCarouselHeader{
    height: 400px;
    background-color: transparent !important;
    padding: 0px;
    text-align: center;
    overflow: hidden;
    z-index: 9;
}

@media screen and (max-width: 475px) {
    #myCarouselHeader{
        height: 165px !important;
    }
}

@media screen and (max-width: 800px) {
    #myCarouselHeader{
        height: 335px !important;
    }
}

@media screen and (max-width: 575px) {
    #myCarouselHeader{
        height: 180px !important;
    }
}

#myCarouselHeader .carousel-inner {
    height: 100%;
}

#myCarouselHeader .carousel-item {
    background-size: cover;
    background-position: 50% 50%;
    width: 100%;
    height: 100%;
}

#myCarouselHeader .carousel-item img{
    visibility:hidden;
}

@media screen and (max-width: 480px) {
    #a-desc-shool{
        font-size: 10px !important;
        padding: 0px !important;
    }
}

/* CSS PER LA PAGINA DEI LINK UTILI */

.imglink{
    width: 100%;
    height: 250px;
	border: 0px !important;
	text-align: center;
	margin-bottom: -1rem !important;
	background-color: transparent !important;
}

.banner-link{
	max-width: 100%;
	max-height: 250px;
  	display: block;
  	margin:0 auto;
	text-align: center;
	position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: transform .3s;
}
.banner-link:hover {
    transform: scale(1.1);
}

#linkUtili .carousel-indicators {
    position: unset;
}

#arrowleft{
    right: auto; 
    align-items: center; 
    cursor: pointer;
	left: 2em;
}
#arrowright{
    align-items:center; 
    right: 2em; 
    cursor: pointer;
}
#linkUtili{
    background-color: transparent;
    padding: 0 5em 0 5em !important;
}
.carousel-indicators .link-indicators{
    width: 20px; 
 	height: 20px; 
    border-radius: 5em;
}
.shadow-card{
    box-shadow: 0px 0px 9px 2px rgb(180,180,180);
}
.tdspace{
    white-space: nowrap;
}
.img_menu{
    width: 100%;
}				
.img_pagina{
    width: 100%;
}

/*CSS PER LA PAGINA ALBUMDETTAGLIO */
.figure-img{
	height: 250px;
    text-align: center;
    border-radius: 9px !important;
}

#ulalbum{
    list-style: none;
}

.figure, figure-caption{
    text-align: center;
}

/*CSS PER LA PAGINA DELLE NEWS e COMUNICATI */
.it-hero-text-wrapper .no_toc a.titolo-news {
    color: rgb(255, 255, 255);
    text-decoration: none;
}
.it-hero-text-wrapper .no_toc a.titolo-news:hover {
    color: rgb(211, 211, 211);
    text-decoration: underline;
}
.no_toc a.titolo-news {
    text-decoration: none;
}
.no_toc a.titolo-news:hover {
    text-decoration: underline;
}

/* Aggiornata libreria bootstrap, eliminare lo spazio che crea nelle .card */
.card::after{
    display: none !important;
}
.cardborder{
    border: 1px solid #d9dadb !important;
}

.img-contain .img-responsive-wrapper .img-responsive .img-wrapper img {
    object-fit: contain;
}

fieldset.scheduler-border {
    border: 1px groove silver !important;
    padding: 0 1.4em 0.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
	background-color: #e3e4e6;
	box-shadow: 3px 3px 9px #b3b3b3;
}

.allegato-news{
    list-style: none;
}

legend.scheduler-border {
    width:inherit; /* Or auto */
    padding:0 10px; /* To give a bit of padding on the left and right */
    border-bottom:none;
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
}

.btn-sm:hover{
    text-decoration: underline;
}

.myImg{
    max-width: 100% !important;
	max-height: 100% !important;
}

.div-img{
	max-width: 50%;
	max-height: 40%;
}

.pagination-total{
    font-size: .88889rem;
    font-weight: 600;
    color: #5b6f82;
}

.img-opacity-news:hover{
	opacity: 0.7;
	transition-duration: 0.3s;
}

/* Tag News */
.fake-btn{
    background-color: white;
    border: none;
    padding: 0px;
}

button:focus {
    outline: dotted 0px !important;
}

#shadow-navbar-second {
    z-index: 16 !important; 
    z-index: 1; 
    box-shadow: 0 5px 5px 0 rgba(80, 80, 80, 0.35);
}

.btn-cerca {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    border-radius: 0px !important;
    background-color: rgb(255, 255, 255);
    width: 40px;
}
.btn-cerca:hover {
    background-color: rgb(255, 255, 255);
}
.btn:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/* Header */

.img-header-centrale {
    max-height: 70px;
}
#img-header-menu {
    max-height: 32px;
}
.dropdown01 {
    color: white !important;
}
.dropdown01:hover {
    text-decoration: underline;
}
.btn-mobile-search {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    padding: 0px;
}
.form-ricerca-sito {
    border: 1px solid rgb(255, 255, 255);
    border-radius: 2px;
    border-bottom: none !important;
    overflow: hidden;
}
.form-ricerca-sito .form-control::placeholder {
    font-size: smaller;
}

.arrowtop:hover{
    opacity: 1;
}
.arrowtop span{
    color: #fff !important;
    padding-top: 15px;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 767px){
    .arrowtop span{
        padding-top: 10px;
    }
    
}

.card-title-news{
    font-weight: 600;
    line-height: 1.5;
}

.arrowtop {
    opacity: 0.7;
}

/* amministrazione trasparente */

.collapse-header .li-amministrazione-trasparente{
    width: 100%;
    text-align: left;
    background-color: transparent;
    border-top: 1px solid #e3e4e6;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-right: 0px !important;
    padding-left: 0px !important;
    cursor: pointer;
    color: #5c6f82;
    font-weight: 600;
    list-style: none;
}

.li-figli-con-sottofigli{
    padding: 0px !important;
    border: 0px !important;
}

.li-figli-con-sottofigli:hover{
    border: 0px !important;
}

.li-figli-senza-figli{
    font-weight: 600;
}

/* Albo online */

.table-albo {
    white-space: nowrap;
}

#icon-albo-archivio-filtro{
    float: right;
}

#div-albo-archivio-filtro{
    box-shadow: 0 3px 5px 0 rgba(0,1,0,0.35);
    cursor: pointer;
    background-color: #E7E8E8; 
}

#h5-albo-archivio-filtro:hover{
    text-decoration: underline;
}

#nav-pagination-albo button:hover{
    text-decoration: underline;
}

#second-nav-pagination-albo button:hover{
    text-decoration: underline;
}

.tr-albo-online:hover{
    background-color: #E7E8E8 !important;
}

.input-albo-online {
    border: 0px !important;
    font-weight: 700;
}

/* icone bootstrap italia v.1.2.3 colore */
.icon-clock{
    fill: #5a768a !important;
}
.icon-continua{
    fill: white !important;
}
.icon-contattaci{
    fill: black !important;
}

/* footer */
.footer-list a:not([href]):hover {
    text-decoration: none !important;
}

/* credits */
.logo{
    width: 100%;
}
.desckaron{
    list-style-type: none;
    padding-left: 0 !important;
}

.td-eventi:hover .span-eventi{
    background-color: #BAD5E6;
    cursor: pointer;
}

.td-eventi{
    font-size: 13px;
}

.span-eventi{
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50px;
    text-align: center;
    -webkit-transition: .3s;
    transition: .3s;
    color: #435e7f !important; 
}

.calendario-link{
    color: #435e7f !important; 
}

.calendario-mesi{
    font-size: 13px;
}

.span-eventi-festivita{
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50px;
    text-align: center;
    -webkit-transition: .3s;
    transition: .3s;
    color: white !important;
    cursor: pointer;
}

.calendario-icon-mese{
    fill: #435e7f !important;
}

.span-evento-active {
    color: white !important;
}

@media only screen and (max-width: 700px){
    .padding-1{
        padding: 8px !important;
    }
}

@media only screen and (max-width: 395px){
    .padding-1{
        padding: 2px !important;
    }
}