/*
https://www.w3.org/QA/Tools/Icons
*/

/********************* GENERAL *********************/
@font-face {
    font-family: "AvantG";
    src: url(../fonts/ITC\ Avant\ Garde\ Gothic\ LT\ Extra\ Light.ttf) format("truetype");
  }
html, body{
    height: 100%;
}
.wrapper{
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -60px;
}
.wrapper-home{
    margin: 0 auto -75px;
}
/* titoli usati header e footer */
.h1, h1, h5, .h5{
    text-align: center;
    color: white;
    font-size: "AvantG", sans-serif;
}
/*titoli usati come titolo pagina */
h2{
    text-shadow: 1px 1px 0 #8e8e8e;
    font-size: 40px;
}
#push-storia{
    height: 350px;
}
#push-home{
    height:75px;
}
#push-general{
    height: 60px;
}
#push-contatti{
    height: 185px;
}
#push-testimonianze{
    height: 130px;
}
#push-logout{
    height: 100px;
}
p, h1, h2, h3, h4, h5{
    font-family: 'Lucida Grande', sans-serif, Verdana, Arial, sans-serif;
}
main{
    text-align: center;
}


/********************* HEADER *********************/
.header{
    background-color: #224499;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
}
.vertical-align-header{
    margin:auto;
    width: 1010px;
}
.resize-logo{
    height: 110px;
    width: auto;
    margin: -5px -40px 0px 70px;
    position: relative;
}
.teatro{
    left: 0;
}
.daronco{
    right: 0;
    border-radius: 10px;
}


/********************* NAVBAR *********************/
ul{
    list-style: none;
    margin: 0 auto;
    text-align:center;
}
.nav-item, .navbar-nav .dropdown-menu{
    text-align: center;
}
.navbar-dark{
    background-color:  #88cc22;
}
.navbar-dark .navbar-brand, .navbar-dark .navbar-nav .nav-link{
    color:white;
    text-align: center;
}
.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link{
    color:black;
    font-weight: bold;
    display: inline-block;
    padding-top: .25rem;
    padding-bottom: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}



/********************* FOOTER *********************/

.footer{
    background-color: #224499;
    display: flex;
    height: 60px;
}
.infooter, .infooter-center{
    margin: auto;
    padding: 3px;
}
.infooter-center>a:hover{
    text-decoration: none;
}
.infooter-center>a:hover>h5{
    color: #d5def6;
}
.infooter{
    min-width: 150px;
}
.conv{
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.verticalLine{
    border-left: 1px solid white;
    position: relative;
    right: 0;
    top: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}
.fa2 {
    padding: 10px;
    font-size: 20px;
    width: 40px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
  }
.fa2:hover {
    opacity: 0.7;
    color: white;
    text-decoration: none;
}
.fa-facebook {
    background: #3B5998;
    color: white;
    font-family: FontAwesome;
    font-weight: normal;
}
.fa-instagram {
    background: #ff6600;
    color: white;
    font-family: FontAwesome;
    font-weight: normal;
}
.fa-youtube {
    background: #bb0000;
    color: white;
    font-family: FontAwesome;
    font-weight: normal;
}



/********************* LOGIN-DIV *********************/

.login{
    margin: auto;
    text-align: center;
    display:none;
    width: 300px;
    border: 1px solid #224499;
}

.login>a{
    text-decoration: none;
    color: #224499;
}

.login-small{
    height:15px;
    width: 100px;
    background-color: #224499;
    margin: auto;
    position: relative;
}

.login-freccia{
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid white;
    margin: auto;
}

.p-modifiche{
    text-align: center;
    color: #224499;
    font-size: 20px;
}

.link-modifiche, .link-modifiche:visited {
    color:black;
    text-decoration: none;
}
.link-modifiche:hover{
    color:#666666;
    text-decoration: none;
}


/********************* TITOLI PAGINE *********************/

.title{
    text-align: center;
    margin-top:40px;
    padding: 0 40px 0 40px;
}
#title-home{
    display: none;
}

/********************* HOME *********************/

.centrale{
    display: flex;
    max-width: 90%;
    margin: auto;
}
.home-sinistra{
    margin: auto;
}
p.p-home{
    padding: 0px 30px 10px 0px;
    font-family: "Times New Roman", Times, serif;
    text-align: justify;
}
.slideshow-locandine{
    position: relative;
    margin: auto;
    width: 700px;
    margin-top: 60px;
    height: 520px;
    margin-left: 30px;
    padding-left: 30px;
}
.prev, .next{
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.next{
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover{
    background-color: #224499;
  }
.text{
    color: black;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}
.numbertext{
    color: black;
    font-size: 12px;
    padding-left:12px;
    position: absolute;
    top: 0;
}
.dots{
    text-align:center;
    padding-left:60px;
}
.dot{
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 10px 2px 40px 0;
    background-color: #96aee8;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover{
    background-color: #224499;
}
.mySlides, .mySlides2{
    background-color: white;
    text-align: center;
    height: 500px;
}
.mySlides>img, .mySlides2>img{
    margin: auto;
    height: 500px;
    width: auto;
    position: relative;
}
.text-locandine{
    background-color:white;
    width: 80%;
    margin: auto;
}
.centrale{
    margin-top: -50px;
}


/********************* STORIA *********************/

.freccia{
    height:auto;
    width: 60%;
    margin: auto;
    clear: both;
    margin-top: 15px;
}
.anno{
    display: flex;
}
.anno-destra>h3{
    margin-left: auto;
    margin-right: 0;
    font-size: 40px;
}
.anno-destra>h3:hover{
    cursor: pointer;
}
.corpo{
    width:50px;
    background:#224499;
    margin-left: 75px;
    margin-right: auto;
}
.punta{
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-top: 90px solid #224499;
    margin-left: 0;
    margin-right: auto;
}
.anno-destra{
    text-align: center;
    width: 400px;
    margin-left: 40px;
}
.contenuto-anno{
    display:none;
    margin-top: auto;
    border:5px dashed #224499;
    width: auto;
    margin-left: auto;
    margin-right: 0px;
    margin-bottom: 20px;
    border-radius: 10px 10px 10px 10px;
    padding: 10px;
    max-height: 600px;
}
.contenuto-anno>h4{
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 35px;
}
.contenuto-anno>ul{
    padding-bottom: 10px;
}
.elenco-spettacoli{
    padding: 0px;
}
.ytvideo{
    width: 100%;
}
.p-descrizione-storia{
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;
}
.p-spettacoli{
    margin-bottom: 5px;
    text-decoration: underline;
}


/********************* GALLERIA *********************/

.resize{
    height:200px;
    width: auto;
    margin: 5px;
}
.modal-content{
    width:900px;
    margin: auto;
}
.galleria-anno{
    align-items: center;
    display: inline-block;
    margin: 30px 0px 15px 0px;
}
.modal-header>h5{
    color:black;
}
.scroll{
    overflow: auto;
    margin: auto;
    margin-top:30px;
}
#modal-footer{
    padding-bottom: 10px;
}
#aperto{
    overflow: auto;
}
.resize-modal{
    height:auto;
    width: 800px;
    margin: 5px;
}
.modal-dialog{
    max-width: 900px;
}
.exampleModalCenter>a, .exampleModalCenter>a:hover{
     color: transparent;
}
.anno-g{
    padding-top: 30px;
}

/********************* TESTIMONIANZE *********************/

.testimonianze{
    width: 800px;
    margin: auto;
}
.testimonianza-dx, .testimonianza-sx{
    border: 3px solid #224499;
    width: 800px;
    height: auto;
    margin: 90px auto 0px auto;
    padding: 15px 15px 30px 15px;
    position: relative;
    border-radius: .4em;
    text-align: justify;
}
#p-testimonianze, #p-recension{
    margin: 30px auto 0px auto;
    text-align: center;
    width: 80%;
}
.p-testimonianza{
    font-weight: 500;
}
.body-testimonianza{
    margin: auto;
    width: 90%;
}

.testimonianza-dx:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 98%;
	width: 0;
	height: 0;
	border: 32px solid transparent;
	border-top-color: #224499;
	border-bottom: 0;
	border-right: 0;
	margin-left: -16px;
	margin-bottom: -32px;
}

.testimonianza-sx:after {
    content: '';
	position: absolute;
	bottom: 0;
	right: 96%;
	width: 0;
	height: 0;
	border: 32px solid transparent;
	border-top-color: #224499;
	border-bottom: 0;
	border-left: 0;
	margin-left: -16px;
	margin-bottom: -32px;
}

.testimonianza-dx>.testimonianza-persona{
    width: 200px;
    position: absolute;
    right: 0;
    left: 90%;
    top: 100%;
    margin-top: 30px;
}
.testimonianza-sx>.testimonianza-persona{
    width: 200px;
    position: absolute;
    left: -8%;
    top: 100%;
    margin-top: 30px;
}

.persona-mobile{
    display: none;
    font-size: 30px;
    text-align: center;
    text-decoration: underline;
}


/********************* RECENSIONI *********************/
.giornali{
    padding-left: 20%;
}
.recensione>a{
    text-decoration: none;
    color: #224499;
}
.modal-header, #descrizione-foto{
    text-align: center;
}


/********************* ATESTATI *********************/

.slideshow-attestati{
    height: 620px;
    position: relative;
    margin: auto;
    width: 850px;
    margin-top: 60px;
}
#SX.prev{
  left: 0;

}
#DX.next{
  right: 0;
}


/********************* CONTATTI *********************/
.contatti{
    display: flex;
    margin: auto;
    width: 80%;
    padding: 0px 20px 0px 20px;
    margin-top: 50px;
}
.divContatti-sx{
    width: 50%;
    text-align: left;
    margin-right: 5%;
}
.divContatti-dx{
    margin-left: 5%;
    width: 100%;
}
.divContatti-sx>h4{
    margin-left:5%;
}
.divContatti-sx>div{
    margin-left:5%;
}
.divContatti-sx>h3, .divContatti-sx>h3{
    margin-bottom:20px;
}

.mapouter{
    text-align:right;
    height:500px;
    width:100%;
    margin: auto;
}
.gmap_canvas{
    overflow:hidden;
    background:none!important;
    height:500px;
    width: 100%;
    margin: auto;
}
#gmap_canvas{
    height: 500px;
    width: 100%;
    margin: auto;
}
.p-contatti{
    font-size: 25px;
}
.orari{
    width: 300px;
    margin: auto;
}

.p-aggiornamento{
    text-align: right;
    color: grey;
    font-size: 15px;
}

/****************************************** AMMINISTRATORE ******************************************/

/********************* FORM-LOGIN *********************/

legend{
    width: auto;
}
form{
    width: 500px;
    margin: auto;
    padding:5px
}
input{
    font-family: Arial, Helvetica, sans-serif;
}


/********************* MODIFICHE *********************/

.modifiche{
    text-align: center;
    margin:auto;
    width:70%;
}
label{
    margin-right: 10px;
    width: 100px;
}
button{
    margin-top:15px;
    margin-bottom:15px;
}



/****************************************** MOBILE ******************************************/

@media only screen and (min-width: 990px) and (max-width: 1275px){
    .anno{min-width: 750px;}
    .slideshow-locandine{height: 420px; width: 440px}
    .mySlides>img,.mySlides2>img{height: 400px;}
    .mySlides, .mySlides{height: 400px;}
}
@media only screen and (min-width: 1130px) and (max-width: 1205px){
    .resize-logo{margin:-5px -30px 0px 20px;}
}
@media only screen and (max-width: 1080px) {
    .corpo{width: 0px; margin: 0px;}
    .punta{display: none;}
    .anno-destra{width:700px; margin: auto;}
    .freccia{width: 100%;}
    #title-home{display: inline-block;}
    .centrale{margin-top: 0px;}
}
@media only screen and (max-width: 1140px){
    .vertical-align-header{width: 900px;}
}
@media only screen and (min-width:1020){
    .centrale{width: 80%;}
}

@media only screen and (max-width: 990px) {
    .dropdown-item{font-size: 30px;}
    .prev, .next{font-size:45px;}
    .navbar-nav > li > a {line-height: 35px; font-size: 35px; padding-top: 10px; padding-bottom: 10px;}
    .navbar-dark {min-height: 100px;}
    .navbar-toggler{height: 70px; width: 100px;}
    .slideshow-locandine{width: 690px; height:850px; padding-left: 0px; margin: auto; padding-top: 50px;}
    .slideshow-attestati{width: 790px; margin: auto; padding-top: 50px; height: 700px;}
    .mySlides>img{height: 800px;}
    .mySlides{height: 850px;}
    h2{font-size: 45px;}
    .text-locandine{font-size: 20px;}
    p.p-home{font-size: 35px; margin-top: 50px}
    .p-descrizione-storia, #p-testimonianze, .body-testimonianza{font-size: 25px;}
    h2{font-size: 60px;}
    h3{font-size: 40px;}
    .footer{height:80px;}
    #push-home{height: 140px;}
    .resize-logo{height: 160px;}
    .header{height:200px;}
    .vertical-align-header>h1{padding: 20px 0px 20px 0px; font-size: 50px;}
    .login-small{height: 40px; width: 250px;}
    .wrapper-home{margin: 0 auto -120px;}
    .login-freccia{padding-top: 10px;}
    .login{width:500px;}
    .login>a, label{font-size: 30px; width: 150px;}
    .nav-item>a{font-size: 25px;}
    .title{display: block;}
    .mappa{height:300px;}
    .centrale{display: block;}
    .dots{padding:0px; margin-top:40px;}
    .testimonianze{width: 80%;}
    .testimonianza-dx, .testimonianza-sx{width: 80%;}
    .testimonianza-dx:after, .testimonianza-sx::after{display: none;}
    .contatti{width: 75%; display: block; padding: 10px 10px 10px 10px; margin: auto;}
    .divContatti-sx, .divContatti-dx{width: 100%; margin-right: auto; margin-left: auto;}
    .mapouter, .gmap_canvas, #gmp_canvas{width: 100%;}
    .divContatti-sx>div{margin-left: auto;}
    .testimonianza-persona{display: none;}
    .persona-mobile{display: block;}
    .modal-content, .modal-body{width: 900px;}
    .resize-modal{width: 800px;}
}
@media only screen and (max-width: 770px) {
    .header{height: 200px;}
    .resize-logo{display: none;}
    .slideshow-locandine{width: 400px; height: auto;}
    .slideshow-attestati{width: 350px; height: auto;}
    .mySlides2, .mySlides2>img{width: 300px; height: auto;}
    .mySlides>img{height: auto; width:300px;}
    .dots{margin-top:30px;}
    .mySlides{height: auto; width:300px; margin:auto;}
    #gmp_canvas, .gmp_canvas{height: 250px; width: 400px;}
    .anno-destra{width:500px; margin: auto;}
    .modal-content, .modal-body{width: 700px;}
    .resize-modal{width: 600px;}

}

@media only screen and (max-width: 570px){
    .resize-modal{width: 400px;}
    .modal-content, .modal-body{width: 500px;}
    .gmap_canvas, .mapouter{width: 300px; margin: auto;}
}
