@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Prata&display=swap');


@font-face {
    font-family: 'Bauer';
    src: url('../fonts/Bauer-Bodoni-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Bauer", sans-serif!important;
  }

  .lato-thin {
    font-family: "Bauer", sans-serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .lato-light {
    font-family: "Bauer", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .lato-regular {
    font-family: "Bauer", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .lato-bold {
    font-family: "Bauer", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .lato-black {
    font-family: "Bauer", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .lato-thin-italic {
    font-family: "Bauer", sans-serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .lato-light-italic {
    font-family: "Bauer", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .lato-regular-italic {
    font-family: "Bauer", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .lato-bold-italic {
    font-family: "Bauer", sans-serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .lato-black-italic {
    font-family: "Bauer", sans-serif;
    font-weight: 900;
    font-style: italic;
  }

  
.greyelm{
	color: #BAB9B9;
}
.navbar-toggler {
    border: none;
    color: #841c2b;
}
.navbar-toggler:focus{
    box-shadow: none;
}

.nav-link {
    font-size: 18px;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #841c2b;
    font-weight: 600;
}

.header-desktop.fixed-top {
    background-color: #fff;
}

img.logo {
    max-width: 45%;
}

li.nav-item,
li.nav-item.dropdown {
    color: #841c2b;
}

a#navbarDropdownMenuLink1 {
    padding-top: 0;
    color: #841c2b;
}

a.logout {
    color: #fff;
    font-size: 17px;
    margin-left: 3px;
}

.icona{
    width: 30px;
}

.video-container{
    width: 100vw;
    height: 100vh;
  }
      
  iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
  }

  #area-riservata{
    position: absolute;
    color: #FFFFFF;
    left: 15%;
    top: 60%;
    transform: translate(-50%, -50%);
  }


   

.sfondo.login {
    background-image: url(../img/2025/Militerni-home-slide.png);
    height: 85vh;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
}

.card.login {
    margin-top: 25%;
    justify-content: start;
    width: 20rem;
    height: auto;
    padding: 2%;
    background-color: #fff;/* 
    width: 20%!important; */
}

.card.home_ {
    margin-top: 25%;
    justify-content: start;
    width: 20rem;
    height: auto;
    padding: 2%;
    background-color: #fff;
}


#area-pulsanti{
    position: absolute;
	right: 75%;
    top: 16%;
  }

.pulsanti.home {
    margin-top: 25%;
    justify-content: end;
    width: 100%;
}

.pulsanti.home a{
    margin-bottom: 10%;
    padding: 10px;
}
.box-evidenza .card{
    margin-top: 1%;
}
.box-evidenza p.evidenza{
    font-size: 23px;
}

.occhio{
    margin-top: -15%!important;
    margin-right: 5%!important;
}

.occhio a{
    color: #929191;
}

.card-header {
    color: #fff;
    background-color: #841c2b;
    margin-bottom: 30px;
    ;
}

.card-footer {
    color: #fff;
    background-color: #841c2b;
    padding-top: 10px;
    padding-bottom: 10px;
}

.card-header h1 {
    font-size: 2rem;
}

.card.informativa {
    border: none;
}

.card {
    background-color: #e8e8e8;
    padding-left: 0;
    padding-right: 0;
    margin-top: 10%;
    margin-bottom: 30px;
}

.card.aree{
    background-color: #fff0;
    margin-bottom: 15px;
    margin-top: 0;
    border: none;
}


a.disponibile,
a.disponibile:hover, .btn-primary, .btn-primary:hover {
    background-color: #841c2b;
    border-color: #841c2b;
    color: #fff;
}

a.non-disponibile,
a.non-disponibile:hover {
    background-color: #bcbcbc;
    color: #fff;
}

.pulCorso{
	height: 70px !important;

}
.calendario ul, .calendario.mini ul {
    list-style-type: none;
}

body {
    font-family: Verdana, sans-serif;
}

/* Month header */
.calendario {
    padding: 20px 25px;
    width: 100%;
    background: #841c2b;
    text-align: center;
}

.calendario ul li {
    color: white;
    font-size: 30px;
}

.calendario ul li span{
    font-size: 23px;
}

/* Month list */
.calendario tr {
    margin: 0;
    padding: 0;
}

.calendario tr td {
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    list-style-type: none;
}

/* Previous button inside month header */
.calendario .prev {
    float: left;
    padding-top: 10px;
    list-style-type: none;
}

/* Next button */
.calendario .next {
    float: right;
    padding-top: 10px;
}

/* Weekdays (Mon-Sun) */
thead.settimana {
    padding: 10px 0;
    background-color: #ddd;
    text-align: start;
}

.settimana th {
    display: inline-block;
    width: 13.5%;
    color: #666;
    text-align: center;
    margin-right: 0.05%; /*0.28%;*/
}

/* Days (1-31) */
tr.giorni {
    padding: 10px 0;
    background: #eee;
    margin: 0;
    display: table-row;
    text-align: start;
}

tr.giorni td {
    list-style-type: none;
    display: inline-block;
    width: 13.5%;/* 
    text-align: center; */
    margin-bottom: 5px;
    margin-right: 0.28%;
    font-size: 12px;
    color: #777;
    padding: 2px;
    border: 1px solid #4444;
    /* margin: 2px 0; */
    min-height: 100px;
}

/* Highlight the "current" day */
tr.giorni td.active {
    background: #841c2b;
    color: white !important;
}

h4{
    color: #841c2b;
    margin-top: 10px;
}
/* stile del calendario mini nella pagina del dettaglio corso*/
.calendario.mini{
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 0;
    padding-top: 5px;
}
.calendario.mini ul{
    padding-left: 5px;
    margin-left: 5px;
}

.calendario.mini ul li {
    font-size: 20px;
    color: white;
}

.giorni-mini td.active {
    background: #841c2b;
    color: white !important;
}

a.corso{
    min-height: 100px;
    align-content: center;
    margin-bottom: 15px;
}

h6.prova_scritta{
    margin-top: 10px;
}

.schemi{
   align-content: center;
}
.schemi_link{
    margin-bottom: 20px;
}

a.link{
    color: #841c2b;
}

#istruzioni_prove{
    padding: 20px;
}

.anagrafica button{
    margin-top: 20px;
}
/* .video-container{
    margin-bottom: 1%;
} */

.btn{
	border-radius: 1.5rem;
	border-top: solid 3px #94191A !important;
	border-right: solid #94191A 3px !important;
	border-left: solid #94191A 3px !important;
	border-bottom: solid #94191A 3px !important;
	text-transform: uppercase;
}

.boxlogin{
	text-align: right !important;
  	background-color: white;
  	color: #000000;
  	padding-top: 9px;
	border-radius: 1rem;
}

.frecal{
	text-decoration: none;
	color: #FFF;
}

.boxnews{
	background-color: #841c2b;
	min-height: 207px;
	text-align: center;
	color: #FFFFFF;
}

.pulscorsi{
	width: 550px !important;
  	height: 46px !important;
	text-align: center;
	padding-bottom: 70px;
}


/*****/
.btn-square {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      background-color: white;
      /*font-weight: bold;*/
      text-align: center;
      transition: all 0.3s ease;
		
	  margin-bottom: 10px;
	  background-size: contain;
	  width:416px; 
	  height:416px;	
	  color: #8a2432;
	  /*font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";*/
	  font-size: 42px;
	  font-style: normal;	
		line-height:50px;
		font-family: Prata;
		
    }
	.btn-square a{
		text-decoration: none;
		color: #8a2432;
		
	}
    .btn-square:hover {
      color: #8a2432;
	  background-color: #FFFFFF;
    }
	.box1{
		background-image: url(../img/2025/box/box1a.jpg);
		
	}
	.box2{
		background-image: url(../img/2025/box/2d.png);
	}
	.box3{
		background-image: url(../img/2025/box/box3a.jpg);
	}
	.box1a{
		background-image: url(../img/2025/box/1.jpg);
		background-repeat: no-repeat;
  		background-size: cover;
	}
	.box2a{
		background-image: url(../img/2025/box/2c.png);
		background-repeat: no-repeat;
  		background-size: cover;
		
	}	
	.box3a{
		background-image: url(../img/2025/box/3.jpg);
		background-repeat: no-repeat;
  		background-size: cover;
	}	
	.box4a{
		background-image: url(../img/2025/box/7.jpg);
		background-repeat: no-repeat;
  		background-size: cover;
	}	
	.box5a{
		background-image: url(../img/2025/box/box1a.jpg);
		background-repeat: no-repeat;
  		background-size: cover;
	}	
	.box6a{
		background-image: url(../img/2025/box/6.jpg);
		background-repeat: no-repeat;
  		background-size: cover;
	}	
	.box7a{
		background-image: url(../img/2025/box/2.jpg);
		background-repeat: no-repeat;
  		background-size: cover;
	}	
	.box8a{
		background-image: url(../img/2025/box/5.jpg);
		background-repeat: no-repeat;
  		background-size: cover;
	}	
	.box9a{
		background-image: url(../img/2025/box/7d.png);
		background-repeat: no-repeat;
  		background-size: cover;
	}	
	.box_corsi1{
		background-image: url(../img/2025/corsi1.png);
	}
	.box_corsi2{
		background-image: url(../img/2025/corsi2.png);
	}
	.box_corsi3{
		background-image: url(../img/2025/corsi3.png);
	}	
	.txt_no_velo{
		background-color: #d1d3d4;
		opacity: 0.8;
		color: #8a2432;
		width: 100%
	}	
    footer {
      background-color: #8a2432;
      color: #ccc;
    }
    footer a {
      color: #ccc;
      text-decoration: none;
    }
    footer h6 {
      color: white;
    }
	.carousel-inner img {
      max-height: 650px;
      /*object-fit: cover;*/
    }
	.bg-grey{
		background-color: #d1d3d4;
		margin-top: 20px;
  		margin-bottom: 20px;
	}
	.txt_rosso{
		font-size: 38px;
		color: #8a2432;
		font-family: Prata;
		text-decoration: none;
	}
	.txt_home_nero{
		font-size: 16px;
		color: #000000;
		text-align: justify;
	}
	.box-pulsanti{
		align-items: center;
      	justify-content: center;		
	}
	.box-central{
		border-right: 1px solid #8a2432;
		border-left: 1px solid #8a2432;
		text-align: center;
		padding: 10px;
	}
	.txt_bianco{
		color: #FFFFFF !important;
		font-size: 30px !important;
	}
	
/****/

@supports (-moz-appearance: none) {
	.calCorsoTh{
		margin-right: 0.18% !important;
	}
	.calCorsoTh2{
		margin-right: 0.04% !important;
	}
}


/*****/
/*
.	margin-right: 0%;
ound-color: #841c2b;
      color: white;
      padding: 0.5rem 1rem;
      text-align: right;
      font-weight: bold;
    }
*/
    .sidebar {
      background-color: #841c2b;
      color: white;
      min-height: 100vh;
      padding: 2rem 1rem;
      border-radius: 1rem;
      text-align: center;
    }
    .sidebar i {
      font-size: 10rem;
    }
    .section-title {
      font-weight: bold;
      font-size: 1.5rem;
      margin: 2rem 0 1rem;
      color: #841c2b;
    }
    .course-card {
      position: relative;
      background-color: #841c2b;
      color: white;
      padding: 1rem;
      border-radius: 0.75rem;
      text-align: center;
      font-weight: bold;
      min-height: 100px;
    }
    .course-card .plus-icon {
      position: absolute;
      top: 5px;
      right: 10px;
      font-size: 1.2rem;
      color: white;
    }
    .course-card.inactive {
      background-color: #d9d9d9;
      color: #841c2b;
    }
    .course-card.inactive .plus-icon {
      color: #841c2b;
    }

/*****/





/* Laptop */
@media (min-width: 992px) {

    img.logo {
        max-width: 45%;
  position: absolute;
  right: 75%;
  top: 0%;
  width: 12%;
    }
	
   
}

@media (max-width: 991px) { /* TABLET - SM */
    /* TABLET - SM */
    img.logo {
        max-width: 24%;
    }

    .card{
        margin-top: 15%;
    }

    .box-home .card {
        margin-top: 3%;
        margin-bottom: 3%;
    }
    #player .html5-video-player .video-stream{
        height: 850px!important;
    }

    .video-container{
        width: 100vw;
        height: 80vh;
      }
      #area-pulsanti{
        position: absolute;
        right: 0;
        top: 10%;
      }
      .pulsanti.home a {
        margin-bottom: 10%;
        padding: 5px;
        font-size: 15px;
    }
    .box-evidenza h2{
        margin-top: 2%;
    }
	.btn-square { 
	  width:220px; 
	  height:220px;	
	  color: #FFFFFF;
	  font-size: 30px;
    }

}

@media (min-width: 576px) and (max-width: 1200px) {
	.btn-square {
	  width:220px; 
	  height:220px;	
	  color: #FFFFFF;
	  font-size: 30px;
    }
}

@media (min-width: 1201px) and (max-width: 1400px) {
	.btn-square {
	  width:320px; 
	  height:320px;	
	  color: #FFFFFF;
	  font-size: 30px;
    }
}

/* Mobile */
@media (max-width: 576px) { /* SMARTPHONE - < SM */

    .navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    img.logo {
        max-width: 50%;
    }

    .card.home {
        margin-top: 0;
        width: 100%;
        margin-left: 50%;
    }


    button.btn-primary{
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
	
	.settimana th {
		font-size: 12.9px;
		width: 12.9%;
	}
	tr.giorni td {
	  width: 12.9%;
	  font-size: 12px;
	  padding: 12px;
	}

	.pulscorsi{
		width: auto !important;
		height: 52px !important;
		text-align: center;
		padding-bottom: 70px;
	}
	.pulCorso {
	  height: 80px !important;
	}
	.h4, h4 {
	  font-size: calc(1.09rem + .3vw);
	}
	#puls-home{
		display: none;
	}
	.btn-square { 
	  width:364px; 
	  height:364px;	
	  color: #FFFFFF;
	
    }
	#mainCarousel{
		margin-top: 100px;
	}
}

@media (min-aspect-ratio: 16/9) {
    .video-container iframe {
      /* height = 100 * (9 / 16) = 56.25 */
      height: 56.25vw;
    }
  }
      
  @media (max-aspect-ratio: 16/9) {
    .video-container iframe {
      /* width = 100 / (9 / 16) = 177.777777 */
      width: 177vh;
      height: 80%;
    }
    video.video-stream.html5-main-video {
        height: 850px!important;
    }
    .video-container{
        overflow: hidden;
    }
    
    }

    @media (max-aspect-ratio: 9/16) {
       /* .video-container iframe {
           width = 100 / (16 / 9) = 177.777777 
          width: 125vh!important;
          height: 70%;
          top: 42%;
        }*/

        .video-container iframe {
            width: 50vh !important;
            height: 28%;
            top: 20%;
        }

        .card.home{
            z-index: 99999;
        }

        #area-riservata {
            left: 20%;
            top: 45%;
        }

        .video-container {
            width: 100vw;
            height: 35vh;
        }
    }
/*         video.video-stream.html5-main-video {
            height: 850px!important;
        } */
         
        
   