﻿* {margin:0; padding:0; border:0;}
body {
    font-size: 76%;/*dimensionamento percentuale del font */
    text-align: center;
    background-color:#F4F4F4;
    font-family:Verdana, sans-serif, arial;
    display:block;
    color:#136198;
    width: 100vw;
    -webkit-overflow-scrolling: touch;
    overflow:hidden;
}
.hide {display:none !important
}
#alert {
    display: none;font-size:1.4em;
}
.header {
    width: 100%;
    float: left;
    margin: 1vh auto 1.5vh auto;
    height: 5vh;
    text-align: center;
}

#HeaderCalendario {
    width: 100%;
    float: left;
    margin: 1vh auto 1.5vh auto;
    height: 5vh;
    text-align: center;
}
.header h1 {
        font-size: 7vw;
        margin:5px;
    }
.subHeader {width: 100%;
    float: left;
    margin: 0.5vh auto 0.5vh auto;
    height: 4vh;
    text-align: center;
}
.header h2, .subHeader h2 {font-size: 5vw;
          
    }
#Presidi {
    float: left;
    width: 100%;
    overflow: auto;
    overflow-x: hidden;
    display: block;
    height: 84.5vh;
}
#bodyCalendario {width:100%; float:left; text-align:center;height: 79.5vh;
}
.TH {height:7vh; float:left; margin:0.2%;
}
.Ore {background-color:#136198;width:16.2%;
}
.Giallo {background-color:#FEC10D;text-align:center; font-size:2.1vh; color:#000000;width:13.5%; font-weight: bolder;
}
.Giallo p {margin: 0.5vh 0;
    }
#TBL_Cont{
display:block;
height:72.5vh;
overflow-y:auto;
width:100%;
background-color:#EEEEEE;
float:left;
}
#footer {
    height: 50px;
    bottom: 0px;
    width: 100%;
    background-color: #FEC10D;
    position: absolute
}

#WA_Layout {
    width: 100vw;
    margin: 0 auto;
    text-align: left;
}
#Logo {    left: 50%;
    margin-left: -6em;
    position: relative;
    top: -2em;
    width: 13em;
}

#LogOut {
    float: right;
    height: 3.2em;
    margin: 0.4em 0.8em;
}

#presidiante {
    height: 3.2em;
    margin: 0.4em auto;
    text-align:center;
    display:block;
}

#Indietro {
    float: left;
    height: 3.2em;
    margin: 0.4em 0.8em;
}
#SfondoBianco,#SfondoBianco_Ufficio {
	float: left;
    background-color: #ffffff;
    margin: 40px 0 0 0;
    width: 100vw;
    height: 40px
}

#WALoginPH {left:5%;top:25%;width: 90vw; position:absolute; 
}
.WA_Login {display:block;
}
#WALoginPH label {position:relative; left:50%;width:12em; margin:0.5em 0 0.5em -6em;
       text-align:center;
       font-size:2.5em;
       color:#136198;  
}

#Email,#PW {border:0.1em #136198 solid; padding:0 0.4em; width:15em; height:3.0em;
        position:relative; left:50%; margin:0.5em 0 1em -7.50em; font-size:1.5em;
}

.myButton {border: 0.2em solid #ffffff;width:10em;float:right;margin: 2.2em 0 0 1em;border-radius: 0.5em;background-color:#136198;height: 4.8em;
}
.myButton p {margin-top:0.6em; color:#ffffff; font-weight:bold; font-size:1.8em; text-align:center; cursor:pointer;
    }




.myCKBox {width:11em;float:left;margin: 0.5em 0 1em 0;
}
.myCKBox p {text-align:center; margin: 0 0 0.4em; font-size:1.1em;
}
.myCKBoxSW {    border: 0.2em solid #136198;
    border-radius: 0.5em;
    height: 4em;
    left: 0em;
   
    position: relative;
    font-size:1.1em;
    width: 10em;
    
}
.myCKBoxSW p { margin-top:0.5em; color:#ffffff; font-weight:bold; font-size:1.8em;cursor:pointer;
    }
.myCKBoxSI {float:left; width:4.9em; height:4em; text-align:center;border-right:0.1em #136198 solid;
}
.myCKBoxNO {float:right; width:4.9em; height:4em;text-align:center;border-left:0.1em #136198 solid;
}
.myCKBoxON {background-color:#136198;
}
.myCKBoxOFF {background-color:#FEC10D; 
}




/*Elenco*/
#Cont_elencoUffici {    
	height: calc(100% - 134px);
    margin: 1% 10%;
    width: 80%;
    float: left;
    overflow-y: auto;
}
#elencoUffici li {
    background-color: #fec10d;
    border: 0.2em solid #136198;   
    
    list-style-type: none;
    margin: 8% auto;
    width: 98.6%;
    border-radius: 0.5em;
	overflow-y:auto;
}

.TabellaElenco {
width:100%;
}
.TabellaElenco th {
    padding: 2px 5px;
    color: #221122;
    font-size: 20px;
}
.TabellaElenco td {
padding:1px 5px;
color: #221122;
}

.TabellaElenco tr td:nth-child(2) {
	text-align:right;
}

    #elencoUffici li p {
        font-size:17px;
        text-align:center;
        float:left;
        width:100%;
        /*color:#000000;*/
    }
/*CALENDARIO*/

#bodyUfficio h1 {text-align:center;
    }


.CalPul {width:24%;
}





.td {float:left;height:3em;margin:0.2%;width:13.5%;background-color:#ffffff;
    }

.Body_Ore {background-color:#D8D8D8; color:#585858; width:16.2%;
}
.Body_Ore p {font-size:1.0em; font-weight: bolder; margin: 0.8em 0;
    }
.miaPrenotazione {background-color:#C4D7E5; 
}
.miaPrenotazione p {color:#136198;  margin: 0.8em 0;font-weight:bold;
    }
.Prenotazione{background-color:#FFECB6; 
}
.Prenotazione p {color:#444444;margin: 0.8em 0; font-weight:bold;
    }


#debug {display:none; position:absolute;top:0;left:0; width:200px;height:50px; background-color:green;
}
    #debug p {color:#ffffff;
    }

#HeaderUfficio {width:100%; float:left; text-align:center;height:6vh;
}
#bodyUfficio {
    width: 100vw;
    float: left;
    text-align: center;
    margin: 0 auto;
    height: calc(100vh - 20vh);
    padding: 0 3vw;
}

#rowsUfficio {    height: calc(75vh - 110px);
    display: inline-block;
    overflow-y: auto;
}

.Uff {margin:0.6% 0.5%; white-space: nowrap;
}
.Uff p  {margin:0.1em 0.1em; font-size:1.1em;line-height:1.5em;white-space: nowrap;
}

#Blu{background-color:#136198;height:5vh;
}
.ColSx {width:10%;float:left;height:5.8vh; background-color:#D8D8D8; color:#454545;font-size: 1.3em;
}
.ColDx_1 {width:57%;float:left;height:5.8vh;  background-color:#FFFFFF; font-size: 1.3em;
}
.ColDx_2 {width:22%;float:left;height:5.8vh; background-color:#FFECB6;font-size: 1.3em;
}
.BTN_Prenota { 
  background-color: #136198;
  color: #ffffff;
  border-radius: 0.25em;
}
.BTN_Cancella{ 
  background-color: #AA0000 !important;
  color: #ffffff;
  border-radius: 0.25em;
  font-size: 1.0em !important;
}
.BTN_Cancella p {margin:0.4em 0.1em;
    }
.ColDx_3 {width:80%;float:left;height:6%; font-size: 1.3em;background-color:#FFFFFF;
}
.ColDx_4 {width:80%;float:left;height:6%; font-size: 1.3em;background-color:#FFFFFF;
}
#Giallo{ background-color:#FEC10D;width:80%;float:left;height:5vh;
}
.oraUff {    color: #444444;
    float: right;    
    font-size: 1.2em !important;
    height:100%;
    padding-top:0.2em;
    padding-right:1%
    
}
#dataUfficio {  
    color: #444444;  
    font-size: 1.4em;
    float: left;
    margin-left:1%;
    /*margin: 0.1% 0.8%;*/
}

#Periodo {
    float: left;
    width: 92vw;
    /* margin: 2% .5%; */
    background-color: #dddddd;
    margin-top:3px;
    color: #136198;
    height:40px;
}
    #Periodo span {text-align:center; padding:2px;float:left;
    }
    #Periodo select {font-size:20px; margin:2px; color: #136198;
    }






.WA_Pr_Data {background-color:#136198; color:#ffffff;padding:.5em; width:100%;font-size:1.2em; font-weight:bold;
}
.WA_Pr_Postazione {background-color:#FEC10D;padding:.4em; margin-left:0.5em;font-size:1.2em;font-weight:bold
}

.WA_Pr_PomotOre {background-color:#eeeeee;padding:.4em; margin-left:1em;font-size:1.2em;border-bottom: 1px solid #ffffff;min-height: 3em;
}
.WA_Pr_Ore {font-weight:bold;width:60%;
}
.WA_Pr_PomotOre span {margin:0 0.4em 0 0;
    }

#sostPresidiante { height: 3.8em;float:right;margin-top: -0.4em;
  
}