/* CSS file instructions */

/* START HOMEPAGE */

*{
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    background: #c61523;
    position: relative;
    z-index: 100;
    overflow-x: hidden;

}
.frate_indovino_div {
    width: 30%;
}

.ASD{
    font-size: 28px;
}
.navbar {
    background-color: #063d5e;
    height: 90px;
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    font-weight: 600;
    

}

.navbar-container {
    width: 90%;
    height: 60px;
    margin: 0 auto;
    padding: 15px 0;
    
   
}

.navbar-menu {
    justify-content: center;
    display: flex;
    text-align: center;
    
}

.navbar-menu li {
    float: left;
    list-style-type: none;
        
}

.navbar-menu li a:link, .navbar-menu li a:visited {
    color: #fff;
    text-decoration: none;
    padding: 15px 0px 5px 0px;
    display: block;
    margin: 0 15px;
}

.navbar-menu li a:hover {
     border-bottom: 3px solid #fff;
    
   
}

#active {
    border-bottom: 3px solid #fff;
}

.home {
     border-bottom: 4px solid #063d5e;
}

.main-section {
    background-color: #fff;
   
    width: 85%;
    margin: 0 auto;
    margin-bottom: 3%;
    
   
}

.div_for_snow {
    width: 100%;
    overflow: auto;
}
.title-container {
    width: 95%;
    font-size: 28px;
   margin: 0 auto;
    color: #063d5e;
    text-align: center;
    padding: 3% 0;
    justify-content: center;
    display: flex;
    font-family: 'Montserrat', sans-serif;
    overflow: auto;
}

.logo {
    width: 13%;
    min-width: 140px;
   
}

.title-homepage {
    padding-top: 3%;
    font-size: 50px;
    width: 70%;
    margin-left: 4%;
}


.title {
    padding-top: 1%;
    font-size: 24px;
 
}

.reminder {
    width: 30%;
    overflow:auto;
    margin: 4% auto 0 auto;
    border: 2px solid #c61523;
    padding: 2%;
    background-color: #fcd7d7;
}

.reminder p {
    text-align: center;
    font-size: 18px;
}


.container {
    width: 100%;
    margin: 0 auto;
   font-family: 'Montserrat', sans-serif;
    overflow: auto;

}


.news-image {
    width: 40%;
    overflow: auto;
    float: right;
    margin-left: 2%;
    margin-right: 5%;
}

.news-image-pagella {
    width: 10%;
    overflow: auto;
   
    float: left;
    margin-right: 5%;
}



.news-right-img {
    width: 30%;
    float: left;
   margin-left: 5%;
}

.second-img {
    width: 100%;
}
.news {
    width: 80%;
    margin: 4% auto;
    overflow: auto;
    
    
   
}


#news {
    justify-content: center;
    display: flex;
}

.news-title {
    margin-bottom: 1%;
    font-size: 30px;
    
    color: #063d5e;
    
    
}

#title-pagella, #subtitle-pagella {
    width: 100%;
    
}
.news-subtitle{
    font-size: 20px;
     margin-bottom: 3%;
    color: #c61523;
}

.news-img {
    width: 100%;
    
   
    
}


.news-p {
    
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
}

#pagella {
    width: 50%;
    float: right;
}

.scritta{
    width: 40%;
    float: left;
    margin-left: 6%;
    margin-top: 8%;
}

.scritta-man{
    width: 100%;
}
.classifica {
    width: 40%;
    float: right;
    margin-top: 2%;
    font-size: 25px;
    text-align: center;
    border: 1px solid #000;
    height: 300px;
  
   
}

.merry-christmas {
    width: 100%;
    background-image: url("../images/fiocchi.png");
    background-position: center;
    
   
   overflow: auto;
   /* background-color: #f2f2f2; */
}

.home-content {
    width: 100%;
   font-family: 'Montserrat', sans-serif;
   overflow: auto;
   /* background-color: #f2f2f2; */
}

.calendario {
    width: 80%;
    overflow: auto;
    margin: 2% auto;
}

.calendario_p {
    width: 80%;
    margin: 2% auto;
}

.calend_p {
    text-align: center;
    color: #c61523;
}
.buonefeste {
    width: 50%;
    padding: 2% 0;
    margin: 0 auto;
    text-align: center;
   
}

.christmas_tree_container {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin: 3% auto;
    position: relative;
}

img[usemap] {
    border: none;
    height: auto;
    max-width: 100%;
    width: auto;
}

.audio-container{
    position: absolute;
}



.calendar_images{
    width: 40%;
    margin-bottom: 3%;
    visibility: hidden;
    position: absolute;
    cursor: pointer;
}

.image-visible {
    animation-name: image-visible;
    animation-duration: 0.3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes image-visible {
    0% {
        visibility: hidden;

    }

    100% {
        visibility: visible;
    }
}

.image-not-visible {
    animation-name: image-not-visible;
    animation-duration: 0.3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes image-not-visible {
    0% {
        visibility: visible;

    }

    100% {
        visibility: hidden;
    }
}

.sponsor-container {
    width: 90%;
    overflow: auto;
    justify-content: center;
    display: flex;
    margin: 0 auto;
    padding-top: 4%;
    
   
      
}
.sp-cont {
    width: 100%;
    border-top: 3px solid #e5e5e5;
}
 


.sponsor-img {
    width: 17%;
     vertical-align: middle;
    
   
}

.sp-img1{
    width: 100%;
    vertical-align: middle;
    justify-content: center;
    display: flex;
    margin-bottom: auto;
    margin-top: auto;
    
}


.auguri {
    width: 90%;
    margin: 3% auto;
    overflow: auto;
    border: 2px solid #063d5e;
}

.auguri img {
    width: 100%;
    
}
.facebook-page {
    width: 40%;
    margin: 0 auto;
    margin-bottom: 4%;
    
}

.fb-p {
    text-align: center;
}

.fb-a:visited, .fb-a:link {
    text-decoration: none;
    color: #063d5e;
}

.fb-logo {
   top: 15px;
    position: relative;
}


footer {
    
    margin: 0 auto;
    padding: 3% 0;
   
    background-color: #063d5e;
    overflow: auto;
}

.footer-container {
    width: 30%;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
   
}

.footer-info {
    color: #fff;
}

#footer-title{
    font-size: 16px;
}

/* END HOMEPAGE */



.riga {
    width: 100%;
     justify-content: center;
    display: flex;
    overflow: auto;
  

    
}

.giorno img {
    transform: rotateY(0deg);
    filter: flipv;
}

.calendario_avvento {
	width: 90%;
    margin: 3% auto;
    overflow: auto;
}

	
.giorno_finestra {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    position: relative;
    width: 20%;
	cursor: pointer;
	height: 100%;
	overflow: auto;
	perspective: 920px;
    float: left;
    }

.flip_div {
    grid-column: 1 / span 10;
grid-row: 1; 
-webkit-transform:translate3d(0,0,0);
    transform: translate3d(0, 0, 0);
    position: relative;
z-index: 1;
}

.cover_div {
    grid-column: 1 / -1;
grid-row: 1;
}
    /*width: 50%;
	cursor: pointer;
	height: 100%;
	overflow: auto;
	perspective: 920px;
      display: grid;
grid-template-columns: repeat(12, 1fr);
position: relative;
    */

	
	
.giorno_finestra img { 
    -webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	border: 2px solid #063d5e;
	overflow: auto;
	transition: transform 1.0s;
	width: 95%;
   

	}

.flip{ 
	transform: rotateY(0deg);
    -webkit-backface-visibility: hidden;
   backface-visibility: hidden;

	}

.cover{ 
	transform: rotateY(-180deg); 
   

	}
 
.flipped .flip{
	transform: rotateY(180deg);
	}
	
.flipped .cover{
	transform: rotateY(0deg);
	}


.flip-vertical {
    -moz-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: flipv; /*IE*/
}

.arrow {
    width: 100%;
    margin: 0 auto;
    overflow: auto;
    justify-content: center;
    display: flex;
}

.arrow p {
    float: left;
    padding: 3% 3%;
    padding-bottom: 0;
    font-size: 15px;
    font-weight: 600;
    color: #063d5e;
}

.arrow p:hover {
    border-bottom: 2px solid #063d5e;
}

.arrow_link:link, .arrow_link:visited {
    text-decoration: none;
    color: #000;
}

.arrow img {
    width: 13%;
    float: left;
    
}
/* START ORGANIGRAMMA PAGE */

.big-container {
    width: 100%;
    overflow: auto;
    background-color:  #fff;
   
}

.big-container-dove {
       width: 100%;
    overflow: auto;
    background-color:  #fff;
    padding-bottom: 4%;
}

.staff-container {
    width: 90%;
    margin: 0 auto;
    overflow: auto;
    justify-content: center;
    display: flex;
   
}



.staff-bottom-container {
    float: left;
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: flex-start;
    
}
.staff-item {
    width: 22%;
    margin-right: 2%;
    margin-bottom: 2%;
    border: 2px solid #063d5e;
    float: left;
    background-color: #f4f4f4;
  
}

.img-staff-container, .staff-info {
    margin: 5% 5%;
    justify-content: center;
    display: flex;
    align-items: flex-start;
    
  
}

.staff-img {
    
    width: 100%;
}

.staff-info {
    margin-bottom: 4%;
    text-align: center;
}

.staff-name {
    font-size: 20px;
    color: #063d5e;
}

.staff-ruolo {
    font-size: 17px;
    color: #063d5e;
}

#staff-title {
    color: #c61523;
}


/* GALLERIA FOTO */


.foto-container {
    text-align: center;
	width: 95%;
    margin: 3% auto;
   
}

.immagine{
	display: inline-block;
	width: 30%;
	margin: 10px 1%;
	border: 1px solid #ccc;
	border-radius: 5px;
   
}

.immagine-oriz {
    width: 45%;
    display: inline-block;
    margin: 10px 1%;
}

.video {
    width: 70%;
     display: inline-block;
    margin: 0 auto;
}

.immagine-vert {
    width: 30%;
    display: inline-block;
    margin: 10px 1%;
}

.preview{
	width: 100%;
}


.album-link:visited, .album-link:link {
    text-decoration: none;
    color: #063d5e;
   
}


/* CHI SIAMO */

.chisiamo-container {
    width: 90%;
    overflow: auto;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
}

.squadra-img {
    margin: 0 auto;
    float: left;
}



/* DOVE SIAMO */

.map {
    width: 40%;
    margin: 0 auto;  
}

.mappa {
   text-align: center;
}
.map-info {
    width: 100%;
    font-weight: 500;
    margin-top: 3%;
    text-align: center;
    font-size: 20px;
    
}

/* SPONSOR */

.container-sponsor {
    width: 95%;
    overflow: auto;
    margin: 2% auto;
}

.sponsor-L, .sponsor-C, .sponsor-R {
    width: 30%;
    overflow: auto;
    float: left;
    margin: 0 1%;
}

.sponsor-element {
    width: 98%;
    overflow: auto;
    justify-content: center;
    display: flex;
    margin: 0 auto;
}
.sp-image {
    width: 100%;
}

.sponsor-container-desktop {
    width: 90%;
    overflow: auto;
    
    margin: 0 auto;
    margin-bottom: 10%;
    padding-top: 4%;
   
   
   
}




.sponsor-center {
    width: 100%;
    justify-content: center;
    display: flex;
    overflow: auto;
    margin: 0 auto;
    

}



.sp-img {
    width: 30%;

    float: left;

    
   
}

.sp-im{
    width: 100%;
    vertical-align: middle;
    justify-content: center;
    display: flex;
    margin-bottom: auto;
    margin-top: auto;
    padding-top: 10px;
    float: left;
    
}

/* ATLETI */

.atleti-container {
    width:90%;
    overflow: auto;
    
    min-height: 650px;
    max-height: 800px;
    margin: 0 auto;
    background-image: url(../images/campo.png);
    background-repeat: no-repeat;
    background-size: 90%;
    background-position: top;
   
   
}

.portiere {
   width: 4%;
    left: 26%;
    top: 75%;
    position: absolute;
    
    
}

.difensore1 {
    width: 3.5%;
    top: 62%;
    left: 33%;
    position: absolute;
}

.difensore2 {
    width: 3.5%;
    top: 69%;
    left: 33%;
    position: absolute;
}

.difensore3 {
    width: 3.5%;
    top: 76%;
    left: 40%;
    position: absolute;
}

.difensore4 {
    width: 3.5%;
    top: 81%;
    left: 55%;
    position: absolute;
}

.allenatore {
     width: 3%;
    top: 61%;
    left: 23%;
    position: absolute;
}

.vice-allenatore {
     width: 2.9%;
    top: 61%;
    left: 26%;
    position: absolute;
}

.centrocampista1 {
    width: 3.5%;
    top: 58%;
    left: 43%;
    position: absolute;
}

.centrocampista2 {
    width: 3.5%;
    top: 63%;
    left: 46%;
    position: absolute;
}

.centrocampista3 {
    width: 3.5%;
    top: 67%;
    left: 53%;
    position: absolute;
}

.centrocampista4 {
    width: 3.5%;
    top: 67%;
    left: 68%;
    position: absolute;
}

.attaccante1 {
    width: 3.5%;
    top: 57%;
    left: 60%;
    position: absolute;
}

.attaccante2 {
    width:3.5%;
    top: 58%;
    left: 67%;
    position: absolute;
}

.port {
    width: 100%;
}

.finestra {
    left: 27%;
    top: 45%;
    position: absolute;
    height: 100px;
    width: 200px;
    background-color: #fff;
    display: none;
}


.thumbnail {
    position: relative; 
    z-index: 8; 
    text-decoration: none !important
}
.thumbnail:hover {
    background: transparent; 
    z-index: 9
}
.thumbnail > div {
    display: none;
    position: absolute;
    
    padding: 5px
}
.thumbnail > div img {
    padding: 2px
}
.thumbnail:hover > div {
    display: block; 
    border: 1px solid #000;
    background-color: #f4f4f4; 
    padding-left: 2%;
    padding-right: 2%;
    color: #063D5E; 
    font-weight: 700;
    height: 100px;
    border-radius: 44px;
    text-align: center;
}
.thumbnail:hover span span {
    display: inline;
    border: none
}

.elenco-atleti-container {
    width:80%;
    margin: 0 auto;
    
    overflow: auto;
    justify-content: center;
    display: flex;
}

.button {
    width: 13%;
    margin: 0 auto;
    margin-top: 3%;
    text-align: center;
    background-color: #c61523; 
    color: #fff;
    border-radius: 50px;
    padding: 1% 1%;
    font-size: 13px;
}

.button-a:visited, .button-a:hover, .button-a {
    text-decoration: none;
    color: #fff;
}

table { 
    width: 85%; 
    background-color: #FFF;
    color: #063D5E; 
    border-color: #063D5E; 
    border-collapse: collapse;
    margin: 0 auto;
    margin-bottom: 5%;
    font-weight: 600;
    font-size: 19px;
}

th{ 
    padding: 7px 3px;
    background-color: #063D5E;
    color: #fff;
    text-align: left;
   
} 
td {
    width: 40px;
    padding: 4px;
}

.dispari {
    background-color: #e4e4e4;
}

/* NEWS */

.news-container {
    width: 100%;
    margin: 0 auto;
    
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    font-size: 23px;
    overflow: auto;
    padding-bottom: 5%;
}

/* TOGGLE_MENU */

.toggle-mnu {
    display: none;
    width: 28px;
    height: 28px;
    position: absolute;
    top: 14px;
    left: 10px;
}
.navbar-mobile span {
    position: relative;
    display: block;
}

.navbar-mobile span, .navbar-mobile span:before, .navbar-mobile span:after {
    width: 100%;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
}

.navbar-mobile span:before, .navbar-mobile span:after {
    content: "";
    position: absolute;
}

.navbar-mobile span:before {
    left: 0;
    top: 9px;
}

.navbar-mobile span:after {
    left: 0;
    top: 18px;
}

.on span {
    background-color: transparent;
}

.on span:before {
    transform: rotate(45deg) translate(-1px, 0);
}

.on span:after {
    transform: rotate(-45deg) translate(6px, -7px);
}


.nav-mobile {
    display: none;
}

.sponsor-container-mobile {
    display: none;
}

.title-mobile {
    width: 80%;
    margin: 0 auto;
    overflow: auto;
    justify-content: center;
    display: flex;
    align-items: flex-start;
}

.title-m {
    float: left;
    color: #fff;
    font-weight: 300;
    margin-left: 3%;
    margin-top: 18px;
    font-size: 15px;
}

.logo-mobile {
    float: left;
    margin-top: 5px;
}

.sp-container {
    display: none;
}


/* MEDIA QUERY */

@media screen and (max-width: 1396px) {
    .title-homepage {
        font-size: 40px;
    }
    
    .navbar-menu li a {
        font-size: 18px;
    }
    
    
}

@media screen and (max-width:1084px) {
    .container-sponsor {
             width: 100%;}
    .toggle-mnu {
        display: block;
    }
    
    #titolo {
        display: none;
    }
    
    #menu-secondary {
    display: none;
        padding: 3% 3%;
        list-style-type: none;
}
   .nav-mobile {
        display: block;
        background-color: #c61523;
        height: 50px;
    }
    
    .main-section {
        width: 100%;
    }
    
    .navbar {
        display: none;
    }
    
    .title-container {
        width: 90%;
        
        margin: 0 auto;
        
    }
    
 
    .title-homepage {
       
        
        text-align: center;
        float: left;
        font-size: 1.5em;
    }
    
    
    
    .buonefeste {
        width:90%;
        background-color: #fff;
    }
    .sponsor-container {
        display: none;
    }
    
    .sponsor-container-mobile {
        display: flex;
        overflow: auto;
        width: 100%;
        margin: 0 auto;
        justify-content: center;
        margin-top: 3%;
    }
    .sponsor-img {
        width: 30%;
        
    }
    
  .sp-img {
      height: 150px; }
    
.sponsor-left {
    width: 40%;
    justify-content: center;
    display: flex;
    overflow: auto;
    margin: 0 auto;
}
    .sponsor-center {
    width: 40%;
    justify-content: center;
    display: flex;
    overflow: auto;
    margin: 0 auto;
}

.sponsor-right{
    width: 40%;
    justify-content: center;
    display: flex;
    overflow: auto;
    margin: 0 auto;
}
 
    .footer-container {
        width: 70%;
        
    }
    
    .footer-info {
        font-size: 11px;
    }
    
    #footer-title {
        font-size: 12px;
    }
    
     .menu-mobile {
    display: block !important;
    left: 0;
    top: 50px;
    background: #c61523;
    width: 100%;
   overflow: auto;
         position: absolute;
         font-size: 18px;
         
         
}
    .li-mobile a:link, .li-mobile a:visited {
        text-decoration: none;
        color: #fff;
        
    }
    
    .li-mobile {
        margin-bottom: 4px;
    }
    
    .li-mobile a:hover {
        border-bottom: 2px solid #fff;
    }
    
    @media screen and (max-width:920px) {
        
        
        .title-container {
            width: 95%;
        }
        .elenco-atleti-container {
            width: 95%;
        }
        
         .sp-img {
      height: 120px; }

        .container {
            width: 100%;

         }


    }



}

    
    @media screen and (max-width:814px){
        .frate_indovino_div {
            width: 55%;
        }

        .locandina-div {
            width: 90%;
        }
        .container-sponsor {
             width: 100%;}


        .fb-p {
           
            font-size: 13px;
        }
        .facebook-page {
            width: 95%;
            
        }
        
        .title-homepage {
            font-size: 33px;
            margin-left: 0;
            
        }
        .title-container {
            width: 98%;
        }
        .logo {
            width: 32%;
        }
        .logo-img {
            width: 130px;
            height: 130px;
            margin: 0 4%;
        }
        
       
        
        .elenco-atleti-container {
            width: 97%;
            margin: 0 auto;
            
        }
        
        th {
            width: 10%;
        }
        
        td {
            width: 50%;
        }
        
        table { 
    width: 100%; 
    font-size: 13px;
            
}
        
        .map {
            width: 90%;
            
        }
        
        
        .news-image {
            width: 95%;
            float: left;
            margin-left: 0;
        }
        
     
        
        #news {
            width: 95%;
        }
        
        .news-right-img {
            width: 90%;
            justify-content: center;
            display: flex;
        }
        
        .scritta {
            float: left;
            width: 100%;
        }
       
    }
    
    
    @media screen and (max-width:800px) {

        .calendar_images{
            width: 100%;
        }
    
         .container-sponsor {
             width: 100%;}
        
        .immagine-vert, .immagine-oriz  {
            width: 80%;
        }
        
        .video {
            width: 100%;
        }
        
        .logo {
            width: 50%;
            margin: 0 auto;
        }
        
        .title-homepage {
            width: 90%;
            margin: 0 auto;
            float: none;
        }
        
        .title-container {
            display: block;
        }
        
         .staff-item {
            width: 50%;
            float: none;
            text-align: center;
            margin: 0 auto;
             justify-content: center;
            margin-bottom: 3%;

           
           
        }
        
        .staff-container {
            display: block;
            justify-content: center;
            
            text-align: center;
        }
        
        .news-p {
            font-size: 15px;
        }
        
        .news-title {
            font-size: 20px;
        }
        
        .news-subtitle {
            font-size: 17px;
        }
    }
    
    @media screen and (max-width:750px) {
        .reminder {
            width: 80%;
        }
        .sponsor-container-desktop {
            display: none;
        }
        .sp-container {
            display: block;
            width: 65%;
            overflow: auto;
            margin: 0 auto;
            margin-top: 4%;
        }
        
        .sp-img {
            width: 100%;
            height: auto;
        }
        
        
         .container-sponsor {
            width: 98%;
             overflow: auto;
                    
        }
        
        .sponsor-L, .sponsor-C, .sponsor-R {
            width: 90%;
            float: none;
            margin: 0 auto;
            overflow: auto;
  
           
           
        }
        
        .sponsor-element {
            width: 95%;
            overflow: auto;

        }
        
        .sp-image {
            width: 95%;
            overflow: auto;

        }
         #mappa {
            width: 300px;
        }
    }
    
    @media screen and (max-width:630px) {
         .sp-img {
      height: auto; }
        
        .title-container {
            width: 99%;
        }
        .title-homepage {
            font-size: 30px;
            
        }
        
        #data {
            display: none;
        }

        .articolo-img {
            width: 100% !important;
        }

        .uisp{
            display: block !important;
        }
        .uisp p{
            margin: 2% 0 0 0 !important;
            text-align: center;
        }

        .video-container {
            width: 90% !important;
            display: block!important;

        }

        .video-container img {
            width: 90% !important;
            margin: 0 0 0 5% !important;
        }

        .video-container video {
            width: 90% !important;
            margin: 2% 0 0 5% !important;
        }
       
    }
    
    @media screen and (max-width:560px) {
            .title-homepage {
            font-size: 25px;
            
                
        }
        
        .logo-img {
            width: 100px;
            height: 100px;
            margin: 0 4%;
        }
    }
    
    @media (max-width: 480px) {
	.immagine{
		width: 98%;
		margin: 1%;
	}

        
}

@media (max-width: 720px) and (min-width: 480px){
	.immagine{
		width: 67%;
	}
}

@media (max-width: 1020px) and (min-width: 720px){
	.immagine{
		width: 50%;
	}
}

a {
    
}
