
@media (max-width: 400px) {
    body, html, .it-footer-main, div {
      font-size: 1em;
      line-height: 1.555;
    }
    
	.custom-header-navbar {
		padding-top: 0;
	}
	.custom-header-navbar h2 {
		font-size: 1.4em;
	}
}

@media (max-width: 576px) {
    body, html, .it-footer-main, div {
      font-size: 1em;
      line-height: 1.555;
    }
    
    .custom-header-navbar {
        padding-top: 0;
    }
    .custom-header-navbar h2 {
        font-size: 1.4em;
    }
}

.container, .container-md, .container-sm {
    max-width: 960px;
}

.it-header-slim-wrapper .it-header-slim-wrapper-content {
	padding: 0;
}

.it-header-slim-wrapper {	
	background-color: #b31a34;
}

.sticky.is-sticky {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 65px;
}

.sticky.is-sticky .custom-header-navbar {
	padding-top: 0;
	height: 65px;
}

.custom-header-navbar .container h2 {
	width: 85%;
}

.sticky.is-sticky .custom-header-navbar .container  h2.no_toc {
	font-size: 1.4em !important;
}

.header-sticky > nav.custom-header-navbar {  
    background: #06c;
    color: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-indietro {
	margin-top: 20px;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 80%;
    position: fixed;
    top: 0;
    left: -80%;
    height: 100vh;
    z-index: 1999;
    background: #fff;
    color: #000;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #7386D5;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#sidebarCollapse {
	background-color: transparent;
	padding: 0;
	border: none;
}

#sidebarCollapse {
	font-size: 2.4em;
}

#dismiss:hover {
    background: #fff;
    color: #7386D5;
}

.overlay {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 100vw;
    height: 1000vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

.form-title {
	margin-bottom: 1em;
}

.sidebar-nav li {
    border-top: 1px solid #d0d0d0;
}

.sidebar-nav li > a:hover {
    text-decoration: none;
}

.sidebar-nav li.open > a {
    background-color: #eee;
}

.sidebar-nav li.active > a  {
    background-color: #eee;
}

.sidebar-nav li.open > ul {
    background-color: #eee;
    padding-left: 20px;
}

.sidebar-nav li > a > span {
    float: right;
    font-size: 19px;
    font-weight: bolder;
    text-decoration: none;
}

.sidebar-nav li > a > span:after {
    content: '\fe40';
}
.sidebar-nav li.open > a > span:after {
    content: '\fe3f';
}

.link-list-wrapper ul.sidebar-nav li a.active span {
	text-decoration: none;
}

/* ---------------------------------------------------
    Tabelle votazioni e presenze
----------------------------------------------------- */

.etich-componenti {
	font-size: 1.5em;
}

#tb_componenti .td-struttura, #tb_sostituti .td-struttura {
	background-color: #d4ecff;
}

.table-sm th.tp-componenti {
	padding-left: 15px;
	background-color: #ddd;
}

th.td-nr {
	width: 35px;
	text-align: right;
}

.table-sm td.td-componente {
	width: 50%;
}

.etich-elenco {
	font-weight: bold;
}

.altri-presenti-wrapper {
	margin-top: 1em;
}

.altri-presenti-wrapper .etich-elenco {
	font-weight: bold;
	font-size: 1.5em;
	color: #000;
}

/* ---------------------------------------------------
    Box aggiornamenti
----------------------------------------------------- */

.agg-conv {
	border: 1px solid #b31a34;
	margin-bottom: 10px;
}

.agg-conv .agg-title {
	padding: 3px 10px 3px 10px;
	background-color: #b31a34;
	color: #fff;
	font-weight: bold;
}

.agg-conv .agg-text {
	padding: 3px 10px 3px 10px;
}

.card.box-aggiornamento::after {
    margin-top: 0;
}

p.link-aggiornamenti {
	margin-top: 35px;
}

/* ---------------------------------------------------
    Nav ricerca
----------------------------------------------------- */
.nav-ricerca {
   	margin-bottom: 15px;
}

.nav-ricerca .nav-item:not(:last-child) {
   	border-right: 1px solid silver;
}

.nav-ricerca.navbar-expand-lg .navbar-nav .navbar-text {
	padding: .5rem;
	color: #000;
}

.nav-ricerca.navbar-expand-lg .navbar-nav .nav-link,
.nav-ricerca.navbar-expand-sm .navbar-nav .nav-link {
	color: #b31a34;
}

.bg-light {
	background-color: #efefef !important;
}

@media (max-width: 992px) { 
	.nav-ricerca.navbar-expand-lg .navbar-nav .navbar-text {
		padding-left: 0;
	}
	.nav-ricerca.navbar-expand-lg .nav-item:not(:last-child) {
   		border-right: none;
	}
}

@media (min-width: 576px) { 
	.nav-ricerca.navbar-expand-sm {
		padding: 0;
	}
}

/* ---------------------------------------------------
    Calendario mese
----------------------------------------------------- */
.cal-change-mese a {
    font-weight: bold;
    text-decoration: none;
}


.row-calendario {
    font-size: 0.8em;
}

.row-calendario h1 {
    font-size: 1.8em;
}

.row-calendario h3 {
    font-size: 1.5em;
}

.row-calendario .fa-clock,
.row-calendario .fa-location-arrow {
    color: #a0a0a0;
    font-size: 1em;
}

.row-calendario .fa-location-arrow {
    font-size: 0.9em;
}

.row-striped:nth-of-type(odd){
    background-color: #efefef;
    border-left: 2px solid #000000;
}

.row-striped:nth-of-type(even){
    background-color: #ffffff;
    border-left: 2px solid #efefef;
}

.row-striped {
    padding: 10px 0;
}

.box-evento {
    border-bottom: 1px solid #afafaf;
    font-size: 1.1em;
}

.attivita-calendario {
    font-weight: bold;
}

.note-calendario {
    color: #b31a34;
}

/* ---------------------------------------------------
    Calendario widget
----------------------------------------------------- */
#widget-calendario {
	margin: auto;
	font-family: 'Muli', sans-serif;
	font-weight: 400;
	line-height: 1.428571429;
}

.calendario-widget, .calendario-gg-settimana, .calendario-content {
    width: 250px;
}

.calendario-header, .calendario-gg-settimana, .calendario-content {
    position: relative;
	overflow: hidden;
	width: 100%;
}

.calendario-header {   
    text-align: center;
}

.calendario-header h2 {
    padding: 0;
    font-family: 'Muli', sans-serif;
    font-weight: 300;
    font-size: 1em;
    float: left;
    width: 100%;
    margin: 0;
}

.calendario-header h2 a {
	font-weight: bold;
	text-decoration: none;
	font-size: 0.7em;
}

.calendario-gg-settimana div, .calendario-content div {
    width: 14.28571%;
    overflow: visible;
    text-align: center;
    background-color: transparent;
    color: #6f6f6f;
    font-size: 0.7em;
    border: 1px solid transparent;
    float: left;
}

.calendario-gg-settimana div {
    display: inline-block;
    vertical-align: top;
}

.calendario-content div.cal-div-oggi {
    border: 1px solid #87b633;
}

.box-evento-giorno {
    border-bottom: 0;
}

/* ---------------------------------------------------
    Archivio assemblee
----------------------------------------------------- */

.table-archivio {
	font-size: 0.8em;
}

.table-archivio thead tr th {
	background-color: #bfdfff;
}

.assemblea-convocante {
	font-weight: bold;
}

.note-archivio {
	color: #b31a34;
}

.dtr-control {
	margin-top: 10px;
}

/* ---------------------------------------------------
    Pagine indice
----------------------------------------------------- */

.separatore-indice {
	font-weight: bold;
}

.separatore-sottotitolo {
	font-size: 0.9em;
}



/* ---------------------------------------------------
    Box ultimi atti
----------------------------------------------------- */

.card-wrapper.card-atti-wrapper {
    padding-bottom: 0;
}

.card.card-atti::after {
    margin-top: 0;
}

.card.card-atti .card-signature {
    margin-bottom: 0;
}

/* ---------------------------------------------------
    Modelli atti
----------------------------------------------------- */
.etich-elenco {
    font-weight: bold;
    color: #7d271e;
}

.etich-tp-elenco {
    font-weight: bold;
}

/* ---------------------------------------------------
    Footer
----------------------------------------------------- */
.it-footer {
    background-color: #000000;
}

/* ---------------------------------------------------
    body
----------------------------------------------------- */
@media (min-width: 576px) {
	body, html, div {
	  font-size: 1.1em;
	  line-height: 1.555;
	}
	
	div {
      font-size: 1em;
      line-height: 1.2;
    }
	
	.it-footer-main {
      font-size: 1em;
      line-height: 1.5;
    }
    
    .it-footer-main div {
      font-size: 0.95em;
      line-height: 1.555;
    }
	
	.it-footer-small-prints-list a, .it-footer-small-prints-list a:hover:not(.disabled) {
	  color: #fff;
	  font-size: 0.7em;
	  text-decoration: none;
	}
}

.it-footer-small-prints-list a, .it-footer-small-prints-list a:hover:not(.disabled) {
  color: #fff;
  font-size: 0.7em;
  text-decoration: none;
}

em1, em1:hover:not(.disabled) {
  color: #fff;
  font-size: 0.6em;
  text-decoration: none;
}

.btn {
  font-size: 0.8em;
}
