.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;
}

.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;
}

.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;
}

.promemoria-row {
    display:flex;
    flex-wrap: wrap;
}

@media (min-width: 768px) {

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

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

    .promemoria-row {
        display:block;
    }
}

@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-text {
    flex: 1 1 auto;
    text-align: center;
    font-size: 16px;
}

.toast.show {
    opacity: 1;
}

.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-item-wrapper {
    display: flex;
    align-content: space-between;
}

.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.servizio {
    background-color: red;
}

.servizio-item-wrapper>div.marker.presidio {
    background-color: #ffb53e;;
}

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

.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: 110px;
    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;
}

.stato-soccorso.da-approvare {
    background-color: #004fff;
}


.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; }
}
/* ------------------------- */


.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;
}

/***************/
/* UPLOAD AREA */
/***************/
.upload-area{
    position: relative;
    height: 100px;
    border: 2px dashed lightgray;
    border-radius: 3px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    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;}

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

.presenza {
    width: 64px;
    height: 64px;
    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");
}


/***************/
/* UPLOAD AREA */
/***************/

.checklist_item {
    display: flex;
    min-height: 50px;
    height: auto;
    padding: 5px;
    border-bottom: 1px solid #eee;
    align-items:center;
}

.checklist_input {
    flex: 0 0 auto;
}

.checklist_input input {
    height: 37px;
    width: 70px;
}

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

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

/*************/
.hide {
    display: none;
}
