:root {
  --bg-color-1: #0059b3;
  --bg-color-2: #0073e6;
  --bg-color-3: rgb(60,174,235);
}

.in-evidenza {
    font-weight: bold;
    border-bottom: 1.5px solid;
    /*text-transform: uppercase;*/
}

.alert-messaggio {
    height: 35px !important;
    line-height: 35px !important;
    padding: 0;
    padding-left: 12px;
    font-size: 14px;
    border-radius: 5px;
    display: none;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.badge-in-evidenza {
    font-weight: bold;
    border-radius: 5px;
    padding: 0 1px;    
    /*text-decoration: underline;*/
}

.badge-anno {
    background-color: #5f7d9b;
    color: white;
}
.badge-semestre {
    background-color: #d5cabd;
}
.badge-mese {
    background-color: #9b59b6;
    color: white;
}
.badge-settimana {
    background-color: #C3ECBB;
}


.badge-risposta-multipla {
    color: white;
    background-color: rgb(230,126,15);
}

/* evidenziazione al passaggio del mouse */
.custom-checkbox label:hover span, .custom-radio label:hover span {
    background-color: rgba(60,174,235,1);
    border-radius: 5px;
    color: white;
    padding-left: 2px;
    padding-right: 2px;
}

/* evidenziazione per la modalità selezionata */
input[type='radio']:checked + label span,
input[type='checkbox']:checked + label span {
    background-color: rgba(60,174,235,1);
    border-radius: 5px;
    color: white;
    padding-left: 5px;
    padding-right: 5px;
}


/* evidenziazione al passaggio del mouse */
.custom-check-tabella:hover {
    background-color: rgba(60,174,235,1);
    border-radius: 5px;
    color: white;
}

/* evidenziazione per la modalità selezionata */
.custom-check-tabella input[type='radio']:checked + label .span-tabella {
    background-color: rgba(60,174,235,1);
    border-radius: 5px;
    color: white;
    padding-left: 0px;
    padding-right: 0px;
}



.alert-titolo-sezione {
    background-color: rgb(208,224,189);
    text-align: center;
    border: 2px solid black;
    padding: 8px;
    font-weight: bold;
    font-size: 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 40px;
    box-shadow: 1px;
}

.alert-data-entry {
    background-color: orangered;
    color: white;
    border: 2px solid darkred;
    padding: 8px;
    font-weight: bold;
    font-size: 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 40px;
    box-shadow: 1px;
}

.alert-titolo-fine-quest {
    background-color: rgb(189,215,238);
    text-align: center;
    border: 2px solid black;
    padding: 8px;
    font-weight: bold;
    font-size: 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 40px;
    box-shadow: 1px;
}

.istruzioni {
    font-size: 10pt;
    /*color: red;*/
    font-style: italic;
}

.non-risposta {
    background-color: rgb(230,230,230);
    background-color: rgb(181,211,221);
    background-color: rgb(243,228,195);
    background-color: rgb(236,240,241);
    border-radius: 5px;
}

.sotto-blu {
    border-bottom: 2px solid var(--bg-color-3);
}

body {
    font-family: 'Titillium web', sans-serif;
}

.main-header-1 {
    background-color: var(--bg-color-2);
}
.main-header-2 {
    background-color: var(--bg-color-1);
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.container {
    max-width: 1200px !important;
}

.main-container {
    min-height: 950px;
}

.container-corpo {
    min-height: calc(88vh - 183px);
    min-height: -webkit-calc(88vh - 183px);
    min-height: -moz-calc(88vh - 183px);
}


.iss-header-row {
    background-color: var(--bg-color-2) !important;
    width: 100%;
}

.row {
    margin: 0;
}

#iss-title {
    color: white;
    text-decoration: none;
    display: inline-block;
} 

#login {
    color: white;
}

#iss-main-header-row {
    display: block;
}


#iss-navbar {
    background-color: var(--bg-color-2) !important;
}

#iss-menu {
    padding-top: 18px;
    padding-bottom: 18px;
}



#iss-logo {
    display: inline-block;
    width: 300px;
}

/* messo a commento altrimenti mi cambia i color nel drop-down di scelta della scuola
da aggiungere al panel, controllare che non interferisca con altre colorazioni
li {
    list-style: none;
    float: left;
    color: white;
}
*/

.nav-link {
    color: white;
}

.nav-link:hover {
    color: white;
    background-color: var(--bg-color-2);
    text-decoration: underline;
}

.input-group-text, .far, #toggle-new-password {
    cursor: pointer !important;
}


/**********************************************/
/* bordo sottostante i titoli delle pagine */
.bordo-sotto {
    width: 150px;
    height: 3px;
    background-color: var(--bg-color-3);
    margin: 0 auto;
}

.bordo-sotto-sx {
    width: 150px;
    height: 3px;
    background-color: var(--bg-color-3);
}

.bordo-sotto-corto {
    width: 50px;
    height: 3px;
    background-color: var(--bg-color-3);
}

/**********************************************/



.titolo-piattaforma {
    /*color: rgb(60,174,235);*/
}

.breadcrumb {
    background-color: transparent;
    color: white;
    margin-bottom: 0px;
}


.breadcrumb-item::before {
    color: white !important;
}

.breadcrumb-item {    
    color: white !important;
}

.breadcrumb-attivo {
    font-style: italic;
}

.breadcrumb a {
    color: white;
}

.modulo-nuovo-panel {
    max-width: 1000px !important;
    background-color: rgb(242,242,242);
}

.modulo-scuola {
    max-width: 1200px !important;
}

.modulo-aggiungi-scuola {
    max-width: 1000px !important;
    background-color: rgb(242,242,242);
}

.modulo-panel {
    max-width: 1200px !important;
}

.my-custom-scrollbar {
    position: relative;
    height: 500px;
    overflow: auto;
}
.table-wrapper-scroll-y {
    display: block;
    overflow: auto; 
    height: 500px; 
}

.container-tab-anagrafica {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 600px;
    overflow: auto;
    display: block;
}

#tab-elenco-quest tr {
    cursor: pointer;
    display: ;
}


.tab-lista-scuole-panel {
    max-height: 500px;
    display: block;
    overflow: auto; 
}
/**************************************************************/
/* gestione delle intestazioni delle tabelle */
.tab-lista-scuole-panel thead th{ 
    position: sticky; 
    top: 0; 
    z-index: 100;
    background: rgb(225,225,225);
    background: linear-gradient(to bottom, white 98%, rgb(210,210,210) 0%);
}


.div-tab-aggiungi-scuola thead th { 
    position: sticky; 
    top: 0; 
    z-index: 100;
    background: rgb(225,225,225);
}

#tab-anagrafica thead th { 
    position: sticky; 
    top: 0; 
    z-index: 100;
    background-color: rgb(245,245,245);
}
/**************************************************************/


#scheda-panel a {
    color: #495057;
    text-decoration: none;
}

#scheda-panel a:hover {
    color: white;
}


#scheda-panel .active:hover {
    color: #495057;
}

.nav-link:hover {
    background-color: var(--bg-color-3);
}

a .active:hover {
    background-color: white !important;
}


textarea {
    overflow-y: scroll;
    height: 100px;
    resize: none; /* Remove this if you want the user to resize the textarea */
}

/**********************************************/
/* box di aggiunta scuola nel panel (foglio lista-scuole.php) */

.input-box-search {
    width: 100%;
    padding: 12px 20px 12px 20px;
    border-radius: .25rem;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
}

.input-box-shadow:focus {
    box-shadow: 0px 0px 1px 2px var(--bg-color-3) !important;
    border: 1px solid rgb(200,200,200) !important;
}


.div-tab-aggiungi-scuola {
    position: relative;
    height: 220px;
    overflow: auto;
}

/*********************************************/


/***********************************************************/
/* codice per togliere le freccette dall'input type number */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/***********************************************************/


.max-width-row {
    max-width: 1000px;
}

#footer {
    font-size: 14px;  
    background-color: var(--bg-color-2);
    color: white;
}

.box-login {
    margin: 0 auto;
    width: 100%;
}

.login-container {
    max-width: 600px;
    padding-top: 80px;
}

.panel-heading {
    background-color: var(--bg-color-2);
    height: 50px;
}

.panel-heading h1 {
    font-size: 24px;
    color: white;  
    margin: 0 auto;
    height: 50px;
    line-height: 50px;
}


.area-pagina {
    min-height: 450px;
}

.container-fluid {
    padding-top: 30px;
    padding-bottom: 30px;
}

.page-link {
    color: rgb(50,50,50);
}

.page-link:hover {
    color: rgb(50,50,50);
}

.active .page-link {
    background-color: var(--bg-color-3) !important;
    border-color: var(--bg-color-3) !important;
}


#logo {
    float: left;
    margin-top: 10px;
}

#logo a {
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-size: 40px;
    color: rgb(18,131,108);
}

/************************************************************/
/* STATO del panel, non deve essere un pulsante e non deve avere effetti sull'hover */
.btn-compilazione {
    cursor: default !important;
    width: 110px;
}

.btn-compilazione-success {
    color: white;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-compilazione-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-compilazione-danger {
    color: white;
    background-color: #dc3545;
    border-color: #dc3545;
}

/************************************************************/


/******************************************/
/* pulsanti a fine pagina AVANTI/INDIETRO */
.btn-avanti-indietro {
    display: block;
    width: 100px;
    /*margin: 0 auto;*/
    text-align: center;
}

.btn-avanti-indietro:hover {
    text-decoration: none;
}

.box-btn-avanti-indietro {
    /*margin: 0 auto;*/
    display: block;
    width: 240px;
    height: auto;
    height: 40px;
}

.btn-avanti-indietro button {   
    width: 100px;
}

/******************************************/


/******************************************/
/* dropdown con search all'interno */

.select2-container .select2-selection--single{
    height:34px !important;
}
.select2-container--default .select2-selection--single{
         border: 1px solid #ccc !important; 
     /*border-radius: 0px !important; */
}

/******************************************/


#menu-principale {
    float: right;
    list-style-type: none;
    padding: 0;
    margin: 30px 50px 0 0;
}

#menu-principale li {
    display: inline;
}

#menu-principale a {
    color: rgb(18,131,108);
    text-decoration: none;
    font-size: 18px;
    margin: 5px 25px;
}

#menu-principale a:hover {
    text-decoration: none;
    color: rgb(18,131,108);
}

.btn-primary, .btn-primary:focus, .btn-primary:visited
{
    background-color: var(--bg-color-2) !important; 
    border-color: var(--bg-color-2) !important;
    box-shadow: none !important;
    color: white !important;
}

.btn-primary:hover, 
.btn-primary:active, 
.btn-primary:target
{
    background-color: var(--bg-color-3) !important;
    border-color: var(--bg-color-3) !important;
    box-shadow: none !important;
}

.btn-primary {
    color: rgb(60,60,60);
}



.btn-home {
    color: black;
    border: none;
}

.btn-home:hover {
    color: white;
    background-color: rgb(24,180,149);
}

.btn-trattino {
    border: none;
}

.btn-light {
    color: rgb(60,60,60);
}

/*
.btn-light:hover {
    color: white;
    background-color: rgb(24,180,149);
    border-color: rgb(24,180,149);
}


.btn-light:active {
    background-color: rgb(24,180,149) !important;
    color: white !important;
}
*/
.btn-light-danger:hover,
.btn-light-danger:active {
    background-color: rgb(220,53,69) !important;
    border-color: rgb(220,53,69) !important;
}


.btn-light-warning:hover,
.btn-light-warning:active {
    background-color: rgb(255,193,7) !important;
    border-color: rgb(255,193,7) !important;
    color: rgb(50,50,50) !important;
}

.btn-light-success:hover,
.btn-light-success:active  {
    background-color: rgb(40,167,69) !important;
    border-color: rgb(40,167,69) !important;
}

/* pulsanti modificati per sembrare delle etichette sulla tabella */
div .btn-outline-success:hover, 
div .btn-outline-success:active {
    cursor: default !important;
    background-color: white !important;
    color: rgb(48,170,76) !important;
}

div .btn-outline-dark {
    border: 0px;
}

div .btn-outline-dark:hover, 
div .btn-outline-dark:active {
    cursor: default !important;
    background-color: white !important;
    color: rgb(40,40,40) !important;
}

div .btn-outline-warning:hover, 
div .btn-outline-warning:active {
    cursor: default !important;
    background-color: white !important;
    color: rgb(255,193,72) !important;
}


div .btn-outline-info:hover, 
div .btn-outline-info:active {
    cursor: default !important;
    background-color: white !important;
    color: rgb(23,162,184) !important;
}




div .btn-outline-danger:hover, 
div .btn-outline-danger:active {
    cursor: default !important;
    background-color: white !important;
    color: rgb(220,53,69) !important;
}



option, 
.custom-radio,
.custom-checkbox,
.custom-label
{
    font-size: 14px;
}

#link_sito {
    color: rgb(50,50,50);
}


/********************************************/
/* 
cambio colore al checkbox e radiobutton
e cambio il puntatore (manina al posto della freccia)
*/

.check-box-nuovo-panel::before {
    background-color: white;
    border: 1px solid rgb(180,180,180);
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--bg-color-3);
}


.custom-radio .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--bg-color-3);
}

.custom-control-label {
    cursor: pointer;
}

.custom-control-label-checkbox-tabella::before {
    background-color: white !important;
    border: 1px solid rgb(150,150,150) !important;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label-checkbox-tabella::before {
    background-color: var(--bg-color-3) !important;
}


/********************************************/


.domanda {
    font-size: 16px; 
    font-weight: 600; 
    margin-bottom: 5px;
}

.sotto-domanda {
    font-size: 14px;
    margin-bottom: 5px;
}

.font-12 {
    font-size: 12px !important;
}
.font-13 {
    font-size: 13px !important;
}
.font-14 {
    font-size: 14px !important;
}
.font-15 {
    font-size: 15px !important;
}
.font-16 {
    font-size: 16px !important;
}

.form-group {
    margin-bottom: 20px;
}

#logout {
    color: rgb(255,255,255);
    border: none;
}

#logout:hover {
    opacity: 0.8;
}

.btn-xl {
    height: 200px;
    width: 200px;
    border-radius: 30px;
    margin: 0 auto;
}


.btn {
    font-size: 16px;
}

.nome-utente {
    font-size: 14px;
}

button i {
    font-size: 60px;
}


button[type=submit] i {
    font-size: 16px;
}

.centrato {
    margin: 0 auto;
}


input {
    box-shadow: none !important;
    border: 1px solid rgb(200,200,200) !important;
}

/* tolgo il bordo agli input box per farlo verde */
select {
    box-shadow: none !important;
    border: 1px solid rgb(200,200,200) !important;
}

select:focus {   
    box-shadow: 0px 0px 1px 1px var(--bg-color-3) !important;
}

#username:focus, #password:focus {
    box-shadow: 0px 0px 1px 2px var(--bg-color-3) !important;
    border: 1px solid rgb(200,200,200) !important;
}



.table {
    max-width: 1200px;
    margin: 0 auto;
}



/* se si vuole modificare l'intestazione di qualche tabella utilizzare l'id altrimenti si 
modificano anche quelle del questionario
*/
th {
    font-weight: normal;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.titolo-film {
    font-size: 30px;
}

td {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    /*text-align: center;*/
}

.btn-sm {
    font-size: 14px;
}


/* messaggio di allerta della domanda non compilata */

.messaggio {
    /*
    height: 35px !important;
    line-height: 35px !important;
    padding: 0;
    padding-left: 12px;
    font-size: 14px;
    display: none;
    background-color: rgb(248, 215, 218);
    color: rgb(114, 28, 36);
    */
    color: red;
    font-size: 14px;
    margin-bottom: 5px;
    display: none;
}

.alert-messaggio {
    height: 35px !important;
    line-height: 35px !important;
    padding: 0;
    padding-left: 12px;
    font-size: 14px;
    display: none;
}


/*************************************************
/* MESSAGGIO POP-UP PER L'HELP
/*************************************************

 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 100;
  width: 100%; /* Full width */
  margin: 0 auto;
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}


/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 2% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  box-shadow: 0 5px 15px rgba(0,0,0,.5);
  max-width: 600px;
  animation: move 0.5s forwards;
}

@keyframes move {
  0% {
    margin-top: 0;
  }
  100% {
    margin-top: 2%;
  }
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
} 


/* modifico il cursore del pulsante POP-UP dell'HELP */
.fas {
    cursor: pointer;
}


/*****************************************************************/

/***************************************************/
/* AUTOCOMPLETE */

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
}



.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}


/***************************************************/

















.ac_results {
	padding: 0px;
    margin-top: 1px;
	border: 1px solid rgb(220,220,220);
	overflow: hidden;
    /*border-radius: 5px;*/
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
    cursor: default;
}

.ac_results li {
	margin: 0px;
    width: 100%;
    height: 30px;
	padding: 5px 5px;
	display: block;
	/* 
	if width will be 100% horizontal scrollbar will apear 
	when scroll mode will be used
	*/
	/*width: 100%;*/
	font-size: 16px;
	/* 
	it is very important, if line-height not setted or setted 
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
	overflow: hidden;
    background-color: rgb(255,255,255);
}

.ac_results li:hover {
    background-color: rgb(230,230,230);
}


.input_text{
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	border:1px solid #84a10b;
	padding:2px;
	width:150px;
	color:#000;
	background:white url(../images/search.png) no-repeat 3px 2px;
	padding-left:17px;
}


.selectTag {
    background-color: red;
}


#tabella-credenziali-smartphone {
    display: none;
}
#tabella-credenziali {
    visibility: visible;
}

/***************************************************************************/
/* abilito/disabilito la visualizzazione delle scale in formato tabellare oppure domanda singola (per smartphone) */

.finestra-larga {
    display: table-cell;
}
.titolo-finestra-larga {
    display: table-header-group;
}
.finestra-stretta {
    display: none;
}
/***************************************************************************/



/*****************************/
/*  FINESTRA PICCOLA (TABLET E SMARTPHONE) */
/*****************************/

@media only screen and (max-width: 767px) {
    
    .nome-utente {
        padding-bottom: 10px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    #iss-logo {
        width: 220px;
    }
    
    #iss-title {
        font-size: 20px;
    }
    
    
    /***************************************************************************/
    /* abilito/disabilito la visualizzazione delle scale in formato tabellare oppure domanda singola (per smartphone) */

    .finestra-larga, .finestra-larga div, .finestra-larga div input {
        display: none;
        visibility: hidden;
    }
    .titolo-finestra-larga {
        display: none;
    }
    .finestra-stretta {
        display: block;
    }

    /***************************************************************************/
    
    
    .btn-xl {
        height: 130px;
        width: 130px;
        border-radius: 15px;
        margin: 0 auto;
    }
    
    button i {
        font-size: 40px;
    }
    
    h4 {
        font-size: 20px;
    }
    
    .area-pagina {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    
    #tabella-compilazione, #tabella-compilazione .btn {
        font-size: 12px !important;   
    }
    #tabella-classi, #tabella-classi .btn {
        font-size: 12px !important;   
    }
    #tabella-credenziali-smartphone, #tabella-credenziali-smartphone .btn {
        font-size: 12px !important;   
    }
    #tabella-credenziali-smartphone {
        display: block;
    }
    #tabella-credenziali {
        display: none;
    }
    
    .scritta-pulsante {
        display: none;   
    }
    
    
    /************************************************************************************/
    /* istruzioni per ruotare le modalità della tabella al restringimento dello schermo */
    
    /* Force table to not be like tables anymore */
    .no-more-tables table,
    .no-more-tables thead,
    .no-more-tables tbody,
    .no-more-tables th,
    .no-more-tables td,
    .no-more-tables tr {
        display: block;
        width: 100%;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .no-more-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .no-more-tables tr { 
        border: 1px solid #ccc; 
        padding: 10px;
    }

    .no-more-tables td {
        /* Behave like a "row" */
        border: none;
        padding: 0 !important;
        /* border-bottom: 1px solid #eee; */
        position: relative;
        padding-left: 10px;
        white-space: normal;
        text-align:left;
    }

    .no-more-tables td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        padding-left: 30px;
        /* padding-right: 10px; */
        white-space: nowrap;
        text-align:left;
        /* font-weight: bold; */
    }

    .no-more-tables td {
        text-align: left !important;
    }

    .no-more-tables td label {
        width: 100%;
        vertical-align: middle;
    }

    /* Label the data */
    .no-more-tables td:before { content: attr(data-title); }
    
    /************************************************************************************/
    
    
    
}

