.full-size {
    width: 100%;
    height: 100%;
}

.elemento-elenco-container {
    min-height: 64px;
    display: flex;
    align-content: space-between;
    align-items: center;
}

.elemento-elenco {
    min-height: 64px;
    display: flex;
    align-content: space-between;
    align-items: center;
}

.elemento-elenco-display {
    flex: 1 1 auto;
}

.elemento-elenco-display div {
    text-align: left;
}

.elemento-elenco-display div.title {
    font-weight: bold;
    font-size: 14px;
}

.elemento-elenco-display div.title a {
    color: black;
    text-decoration: none;
}


.elemento-elenco-display div.subtitle {
    font-family: monospace;
    text-align: left;
}

.elemento-elenco-buttons {
    flex: 0 0 auto;
    margin-left: 20px;
}

.elemento-elenco-icon {
    flex: 0 0 60px;
    font-size: 20px;
    text-align: center;
    margin-right: 20px;
}

.elemento-elenco-icon div {
    font-size: 14px;
}

.elemento-elenco-buttons button {
    color: black;
}

.elemento-elenco:hover {
    background-color: #337ab7;
    color: white !important;
}

.elemento-elenco:hover a{
    background-color: #337ab7;
    color: white !important;
}

.no-elements {
    width: 100%;
    height: 44px;
    text-align: center;
    color: #777;
    display: none;
}

.no-elements.show {
    display: block;
}

.new-item-btn {
    width: 60px;
    height: 60px;
    background-color: #64c764;
    border-radius: 30px;
    position: fixed;
    bottom: 10px;
    right: 15px;
    color:white;
    text-align: center;
    font-size: 32px;
    line-height: 45px;
    box-shadow: 0px 0px 10px black;
    z-index: 10;
}

.new-item-btn:hover {
    color: white;
}

.input-selection {

}

.input-selection>input {
    display: inline-block;
    width:calc(100% - 40px);
}

.input-selection>button {
    display: inline-block;
    width: 35px;
    padding-left: 0;
    padding-right: 0;
}

.form-custom {
    opacity: 1;
    transition: opacity .25s ease-in-out;
    position: absolute;
    width: calc(100% - 30px);
}

.form-custom.form-hide {
    opacity: 0;
}

.hidden-content {
    width: 100%;
    height: 100%;
    display: none;
}

.invalid-field {
    background-color: lightcoral !important;
}

.search-control {
    border-radius: 30px;
}


/* ELEMENTO DESTINATARIO */

.rcptElement {
    border-radius: 3px;
    border: 1px solid #888;
    display: inline-block;
    background-color: gray;
    width: auto;
    height: 30px;
    padding: 1px;
    margin-top: 2px;
    margin-right: 2px;
}

.rcptElement button {
    display: inline-block;
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 14px;
    text-align: center;
}

.rcptElement button i {
    vertical-align: middle;
}

.rcptElement span {
    color: white;
    margin-left: 5px;
    margin-right: 5px;
    vertical-align: middle;
}

.mail-header {

}

.mail-header:hover {
    background-color: lightgray;
    cursor: pointer;
}

.mail-header.active {
    background-color: #ffff77;
    color: black;
    text-shadow: none;
}

/* ------------------------- */
/* NOVITA */

.novita {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.9);
    z-index: 9999999;
    padding: 30px;
}

.novita h1 {
    font-weight: bold;
}


.novita ul {
    margin-top: 10px;
    margin-bottom: 20px;
}
/* ------------------------- */

.utente-disponibile {
    background-color: #81e681;
}

.profile-password-change span {
    margin-left: 5px;
}


/********************* checkbox */

.custom-checkbox {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 300;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: calc(100% - 45px);
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border: 1px solid #888;
}

.checkmark.radio {
    border-radius: 50%;
    top: -12px;
}

.custom-checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #2196F3;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.checklist-voce-richiede-valore.incomplete {
    color: red !important;
}

/**********************/
.checklist-voce-commento {
    padding-top: 2px;
    vertical-align: top;
    display: inline-block;
    height: 100%;
    background-color: transparent;
}

.checklist-voce-richiede-valore {
    color: blue;
    font-weight: 400;
}

.checklist-voce-commento:focus {
    outline: none;
}

.magazzino-item {
    cursor: pointer;
}

.magazzino-item:hover {
    background-color: #337ab7;
}

.magazzino-item:hover>span {
    color: white;
}
.magazzino-item>span {
    margin-left: 10px;
}

.magazzino-item .open {
    float: right;
    font-size: 20px;
}

.necessario-servizio {
    text-align: right;
}

.risultati-localizzazione {
    flex-direction: column;
    display:flex;
    height:100%;
}

.risultati-localizzazione>div{
    flex: 0 0 100px;
    margin-right:5px;
    border: 1px solid #aaa;
    padding:5px;
}
.risultati-localizzazione>div>ul{
    display: none;
}
.risultati-localizzazione>div>select{
    display: block;
}

@media (min-width: 768px) {

	.new-item-btn {
		position: absolute;
		top: 13px;
		bottom: unset;
	}

    .elemento-elenco-display div.title {
        font-size: 16px;
    }

    #ulListaRubrica {
        height:calc(100% - 60px) !important;
    }
}

@media (min-width: 1024px) {
    .risultati-localizzazione {
        flex-direction: row;
    }

    .risultati-localizzazione>div{
        flex: 0 0 300px;
    }

    .risultati-localizzazione>div>ul{
        display: block;
    }


    .risultati-localizzazione>div>select{
        display: none;
    }
}

.badge-notifiche {
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    text-align: center;
}

.badge-notifiche.nav {
    width: 16px;
    height: 16px;
}

.toast {
    top: 3px;
    left: calc(50% - 150px);
    position: fixed;
    background-color: #a6f1a8;
    width: 300px;
    height: 50px;
    z-index: 99999;
    display: flex !important;
    align-content: space-between;
    padding: 10px;
    border-radius: 5px;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.toast-icon {
    flex: 0 0 30px;
    text-align: center;
    font-size: 24px;
    color: #009c06;
}

.toast-icon.error {
    color: black;
}

.toast-text {
    flex: 1 1 auto;
    text-align: center;
    font-size: 16px;
}

.toast.show {
    opacity: 1;
}

.toast.error {
    background-color: red;
    color: white;
}

.eventi-pulsanti-invitato {
    margin-right: 5px;
}

.eventi-pulsanti-invitato button {
    display: inline-block;
}

.eventi-pulsanti-invitato button.partecipa {
    background-color: green;
    color: white !important;
}

.eventi-pulsanti-invitato button.forse-partecipa {
    background-color: orange;
    color: white !important;
}

.eventi-pulsanti-invitato button.non-partecipa {
    background-color: red;
    color: white !important;
}

.eventi-stato-invitato {
    color: white;
    border-radius: 5px;
    font-weight: bold;
    width: 150px;
    text-align: center !important;
}

.eventi-stato-invitato.partecipa {
    background-color: green;
}

.eventi-stato-invitato.forse-partecipa {
    background-color: orange;
}

.eventi-stato-invitato.non-partecipa {
    background-color: red;
}

.eventi-stato-invitato.non-definito {
    background-color: gray;
}

.edit-button {
    margin-left: 5px;
    cursor: pointer;
}

.permesso-derivato {
    background-color: #f7e4c2;
}

.treeicon-male {
    color: blue;
    font-size: 24px;
}
.treeicon-female {
    color: pink;
    font-size: 24px;
}

.impostazioni-pic {
    margin:0 auto;
    height:250px;
    width:250px;
    border: 1px solid black;
    border-radius:10%;
    display:flex;
    align-items:center;
    position:relative;
}

.impostazioni-pic-command {
    text-align:center;
    opacity: 0.5;
    z-index: 99;
}

.impostazioni-pic-command:hover {
    opacity: 1;
}

.servizio input, textarea {
    text-transform: uppercase;
}::placeholder {
    text-transform: none;
}

.servizio-item-wrapper {
    display: flex;
    align-content: space-between;
    border: 1px solid #888;
}

.servizio-item {
    cursor: pointer;
    height: 65px;
    display: flex;
    align-items: center;
    align-content: space-between;
    flex: 1 1 auto;
}

.servizio-item-wrapper>div.marker {
    flex: 0 0 15px;
}

.servizio-item-wrapper>div.marker.soccorso {
    background-color: red;
}

.servizio-item-wrapper>div.marker.pronto-misericordia {
    background-color: #2cbd1a;
}

.servizio-item-wrapper>div.marker.assistenza-sanitaria {
    background-color: #ff88e6;
}

.servizio-item-wrapper>div.marker.trasporto-sanitario {
    background-color: #f1e340;
}

.servizio-item-wrapper>div.marker.trasporto-sociale {
    background-color: #0209ff;
}

.servizio-item-wrapper>div.marker.protezione-civile {
    background-color: #efbb29;
}

.servizio-item-wrapper>div.marker.servizio-interno {
    background-color: #818388;
}

.servizio-item-wrapper>div.marker.rifornimento-officina {
    background-color: #6289da;
}

.servizio-item:hover {
    background-color: #337ab7;
}

.servizio-item>span {
    margin-left: 5px;
    font-size: 16px;
    flex: 1 1 auto;
}

.servizio-item>i {
    flex: 0 0 10px;
}
.servizio-item:hover>span {
    color: white;
}
.servizio-item:hover>i {
    color: white;
}

.servizio-item .open {
    float: right;
    font-size: 20px;
}


.squadra-wrapper {
    padding-left:1px;
    padding-right:1px;
}

.squadra-container {
    border: 1px dotted black;
    padding:5px;
    margin: 5px;
}

.squadra-container-row {
    display: flex;
    align-content: space-between;
    align-items: baseline;
    padding: 3px;
    margin:3px;
}

.squadra-container-row-tilte {
    margin:3px 3px 10px 3px;
    border-bottom: 1px solid black;
}

.squadra-container-row-tilte label {
    flex:1 1 auto;
    font-size: 18px;
}

.squadra-container-row-tilte button {
    background-color: transparent;
    font-size: 18px;
}

.squadra-container-row-squadra {

}

.squadra-container-row-squadra label{
    flex:0 0 100px;
}

.squadra-container-row-squadra div{
    flex:1 1 auto;
}.

.squadra-container-row-squadra select{
    flex:1 1 auto;
    height: 46px;
}

.squadra-container-button {
    flex:0 0 30px;
    width:30px;
    height:30px;
    text-align: center;
    padding: 0;
}

.stato-soccorso {
    display: inline-block;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    width: 100px;
    text-align: center !important;
    margin-right: 10px;
}

.stato-soccorso.disponibile {
    background-color: green;
}

.stato-soccorso.completa {
    background-color: gray;
}

.stato-soccorso.pronta {
    background-color: orange;
}

.stato-soccorso.in-corso {
    background-color: red;
}


.pianificazione {

    background-color: white;
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
    width: calc(100% - 30px);
    border: 1px solid #888;
    box-shadow: 0 0 5px 1px black;
    border-radius: 30px;
}


/* IDENTIFICA */

.identifica {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.9);
    z-index: 9999999;
    padding: 30px;
}

.identifica h1 {
    font-weight: bold;
}

.error
{
  animation: shake 0.2s ease-in-out 0s 2;
}

@keyframes shake {
  0% { margin-left: 0rem; }
  25% { margin-left: 0.5rem; }
  75% { margin-left: -0.5rem; }
  100% { margin-left: 0rem; }
}
/* ------------------------- */

.badge-totale-squadre {
    display: inline-block;
    background-color: #0089ff;
    color: white;
    border-radius: 30%;
    width: 20px;
    height: 20px;
    text-align: center;
    margin-left: 5px;
    font-weight: normal;
}

.box-servizio {
    flex: 1 1 auto;
}

.box-servizio-item {
    display: flex;
    align-items: center;
}

.box-servizio-item>span {
    margin-left: 5px;
}

.servizio-non-confermato {
    background-color: #ff7b7b;
    color: white;
}

.servizio-in-attesa {
    background-color: #9e75ff;;
    color: white;
}

.plannerServiziBorder {
    border: 3px solid red !important;
}

.plannerServiziInAttesaBorder {
    border: 3px solid #9e75ff !important;
}

.presenza {
    width: 39px;
    height: 39px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    cursor: pointer;
}
.presenza:active {
    background-repeat: no-repeat;
    opacity: 0.7;
    outline: none;
}
.presenza:focus {
    outline: none;
}

.presenza.logout {
    background-image: url("../images/logout.png");
}

.presenza.logout:active{
    background-image: url("../images/logout.png");
}

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




.percorso-statistiche {
    position: absolute;
    background-color: white;
    width: 0;
    height: 100%;
    top: 0;
    left: 0px;
    overflow: visible;
    z-index: 999;
    transition: width 0.1s ease;
}

.percorso-statistiche-pannello {
	font-size: 18px;
	position:relative;
    height:100%;
    margin:0;
    overflow-x:hidden;
    background-color:white;
}

.percorso-statistiche-slider {
    cursor: pointer;
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    right: -40px;
    top: calc(50% - 40px);
    background-color: #fffa5c;
    border: 1px solid #888;
    text-align: center;
    color: white;
    padding-bottom: 5px;
    opacity: 1;
}

.percorso-statistiche-slider i {
    position: absolute;
    top:23px;
    right: 7px;
    font-size: 27px;
    color: #72bdff;
}

.percorso-statistiche-slider:hover {
    background-color: #fffa5c;
}

.percorso-statistiche-body {
    position:absolute;
    left:-20px;
    right:0px;
    top:0px;
    bottom:0px;
}

.percorso-statistiche-open {
    width: 80%;
    transition: width 0.2s ease;
    box-shadow: 10px 0 12px;
}


.ubicazioni-toolbar {
    flex: 0 0 40px;
    background-color:#eeeeee;
    border-bottom: 1px solid #cccccc;
    display:flex;
    padding: 5px;
    margin-bottom: 10px;
}

.ubicazioni-toolbar button {
    margin-right: 10px;
    height: 30px;
    font-size: 16px;
}

.ubicazioni-toolbar button:focus:active {
    outline: none;
}

.ubicazioni-toolbar-separator {
    border-left: 1px solid #888;
    width: 1px;
    height: 100%;
    margin-right: 10px;
}

.ubicazioni-planimetrie  {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9;
    height: 100%;
    transition: left 0.2s;
    left: 300px;
    background-color: white;
    overflow-x: hidden;
    overflow-y: auto;
}

.ubicazioni-planimetrie.open {
    left: 0px;
}

.ubicazioni-planimetrie-preview {
    object-fit: contain;
    max-width: 500px;
    max-height: 500px;
}

.upload-area{
    position: relative;
    height: 100%;
    border: 2px dashed lightgray;
    border-radius: 3px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.upload-area:hover{
    cursor: pointer;
}

.upload-area-drag{
    border: 3px solid #075af1;
    background-color: aliceblue;
}

.upload-area * {pointer-events: none;}

.navs-elezioni {
    display: none;
}

.navs-elezioni-mobile {
    display: block;
}

@media (min-width: 768px) {
    .percorso-statistiche-open {
        width: 40%;
    }

    .navs-elezioni {
        display: block;
    }

    .navs-elezioni-mobile {
        display: none;
    }

}
