﻿@-ms-viewport {
    width: device-width;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #3e3e3e;
    position: relative;
    padding-bottom: 135px;
}

a img {
    border: 0;
}

a:link,
a:visited {
    color: #000;
    outline: none;
    text-decoration: none;
}


.box_login,
#recupera-password {
    width: 630px;
    border-radius: 27px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 45px 0 rgba(216,216,216,0.5);
    padding: 120px 85px 120px 85px;
    box-sizing: border-box;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.box_login_titolo,
.box_conferma_titolo,
#recupera-password-titolo {
    color: #4eab4b;
    font-size: 36px;
    font-weight: bold;
    line-height: 44px;
    text-align: center;
    margin-bottom: 70px;
    text-transform:uppercase;
}
.box_conferma_titolo {
    margin-bottom: 30px;
}
.box_conferma_titolo.errore {
    color:red;
}
.box_conferma_testo {
    margin-bottom: 30px;
}
.cmdConferma {
    padding: 0;
    width: 100%;
    display: block;
}

.TextBox {
    position: relative;
    margin-bottom: 20px;
}

    .TextBox:after {
        content: '';
        opacity: 0.1;
        border-radius: 26px;
        background-color: #4eab4b;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .TextBox input {
        font-family: 'Roboto', sans-serif;
        height: 65px;
        line-height: 65px;
        background: none;
        border: 0;
        color: #4A4A4A;
        font-size: 27px;
        position: relative;
        z-index: 2;
        padding: 0 30px 0 30px;
        box-sizing: border-box;
        width: 100%;
    }

    .TextBox img {
        position: absolute;
        top: 50%;
        right: 30px;
        pointer-events: none;
        z-index: 3;
        transform: translate(0px, -50%);
        -webkit-transform: translate(0px, -50%);
        -moz-transform: translate(0px, -50%);
        -o-transform: translate(0px, -50%);
        -ms-transform: translate(0px, -50%);
    }
    
.cmdGeneral,
.cmdGeneral:link,
.cmdGeneral:visited {
    line-height: 60px;
    height: 60px;
    border-radius: 32px;
    background-color: #4eab4b;
    border: 2px solid #4eab4b;
    color: #FFFFFF;
    font-size: 27px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.cmdGeneral:hover {
    color: #4eab4b;
    background: none;
}

.cmdLogin {
    padding: 0;
    width: 100%;
    display: block;
}

.TextBox input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #4A4A4A;
}

.TextBox input:-ms-input-placeholder { /* IE 10+ */
    color: #4A4A4A;
}

.TextBox input::-moz-placeholder { /* Firefox 19+ */
    color: #4A4A4A;
    opacity: 1;
}

.TextBox input:-moz-placeholder { /* Firefox 18- */
    color: #4A4A4A;
    opacity: 1;
}

#box_login_pwd:link,
#box_login_pwd:visited {
    margin-top: 30px;
    color: #2B292D;
    font-size: 27px;
    font-weight: bold;
    line-height: 37px;
    text-align: right;
    text-decoration: none;
    display: block;
}

#box_login_pwd strong {
    border-bottom: 4.5px solid #ABCA55;
}

#box_login_pwd:hover strong {
    border-bottom: 0;
    color: #ABCA55;
}
.centratore {
    width: 1150px;
    margin: auto;
}

#header .centratore {
    display: flex;
    justify-content: space-between;
    padding: 30px 0 30px 0;
}

#account-actions-container {
    position: relative;
    display: flex;
    align-items: center;
}

#header #account-actions-cmd {
    color: #4a4a4a;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

    #header #account-actions-cmd img {
        margin-left: 20px;
    }

#header-filtri {
    box-shadow: 0 4px 16px rgba(44, 50, 65, 0.08);
}

#header-filtri-titolo {
    color: #4a4a4a;
    font-size: 24px;
    font-weight: 400;
    padding: 35px 0 20px 0;
}

#header-filtri-titolo-line {
    height: 1px;
    background-color: #4eab4b;
}

.DropDownList {
    width: 242px;
    height: 45px;
    box-shadow: 0 1px 30px rgba(216, 216, 216, 0.5);
    border-radius: 18px;
    background-color: #ffffff;
    border: 0;
    position: relative;
}

    .DropDownList select {
        width: 100%;
        height: 45px;
        line-height: 45px;
        color: #4a4a4a;
        font-family: 'Roboto', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 28px;
        -webkit-appearance: none;
        -moz-appearance: none;
        border: 0;
        border-radius: 18px;
        padding: 0 20px 0 20px;
    }

        .DropDownList select::-ms-expand {
            display: none;
        }

    .DropDownList img {
        position: absolute;
        top: 0;
        right: 0;
        pointer-events: none;
        z-index: 3;
    }
.DropDownListTransparent {
    background: none;
    width: 100%;
    box-shadow: none;
}
.DropDownListTransparent select {
    background: none;
    padding:0;
    border-radius:0;
    padding-right:35px;
}
    .DropDownListTransparent:before {
        content: '';
        pointer-events: none;
        position: absolute;
        top: 18px;
        right: 10px;
        width: 18px;
        height: 12px;
        background-image: url('../private_images/ddField.png');
        background-repeat: no-repeat;
    }

    .DropDownListTransparent select.edited {
        border-bottom: 1px solid #4a4a4a;
    }
#dettaglio-tabelle-actions .DropDownList {
    display:inline-block;
    width:auto;
    margin-left: 40px;
}
#dettaglio-tabelle-actions .DropDownList img {
    height:45px;
}
#dettaglio-tabelle-actions .DropDownList select {
    padding-right:60px;
}
#header-filtri-titolo-campi {
    display: flex;
    justify-content: space-between;
    padding: 20px 0 25px 0;
}

#header-filtri .TextBox {
    height: 45px;
    box-shadow: 0 1px 30px rgba(216, 216, 216, 0.5);
    border-radius: 18px;
    background-color: #ffffff;
}

    #header-filtri .TextBox input {
        height: 45px;
        line-height: 45px;
        font-size: 16px;
        padding: 0 20px 0 20px;
    }

    #header-filtri .TextBox:after {
        display: none;
    }

    #header-filtri .TextBox img {
        right: 0;
    }

#navigator {
    margin: 25px 0 25px 0;
    display: flex;
    justify-content: flex-end;
}

    #navigator a:link,
    #navigator a:visited {
        color: #4a4a4a;
        font-size: 14px;
        font-weight: 700;
        padding: 8px;
        position: relative;
        text-decoration: none;
    }

    #navigator a:hover,
    #navigator a.selected:link,
    #navigator a.selected:visited {
        color: #4eab4b;
    }

    #navigator a img {
        vertical-align: middle;
    }

    #navigator a:before {
        content: '';
        position: absolute;
        width: 2px;
        height: 16px;
        background-color: #4eab4b;
        top: 50%;
        left: 0;
        transform: translate(0px, -50%);
        -webkit-transform: translate(0px, -50%);
        -moz-transform: translate(0px, -50%);
        -o-transform: translate(0px, -50%);
        -ms-transform: translate(0px, -50%);
    }

    #navigator a:nth-child(2):before,
    #navigator a.navigator-back:before,
    #navigator a.navigator-next:before {
        display: none;
    }
.tabella-big > div {
    padding: 0 135px 0 135px;
}
.tabella > div {
    display: flex;
    flex-wrap:wrap;
}

    .tabella > div > div {
        padding: 5px 10px 5px 10px;
        box-sizing: border-box;
    }

.tabella > .tabella-header:first-child {
    height: 47px;
    background-color: #4eab4b;
}

.cell-ordina {
    width:10%;
}
.cell-id {
    width:10%;
}
.cell-data-chiamata {
    width: 15%;
}
/*.cell-tipo {
    width: 15%;
}*/
.cell-oggetto {
    width: 25%;
}
.cell-catalogo {
    width: 50%;
}
.cell-document {
    width: 5%;
}
.cell-image {
    width: 5%;
}
.cell-agenti {
    width: 15%;
}
.tabella > div > div.cell-document,
.tabella > div > div.cell-image {
    color:#FF0000;
    font-size: 30px;
}
.tabella > div > div.cell-document a,
.tabella > div > div.cell-image a {
    color:#4eab4b;
}
/*.cell-empty {
    width: 5%;
}*/
/*.cell-orario-prenotazione {
    width: 20%;
}*/
.azione-mobile {
    display:none;
}
.cell-stato {
    width: 15%;
}
.cell-azione {
    width: 5%;
}
.cell-azione img {
    margin:0 5px 0 5px;
}

.tabella > div > div {
    color: #4a4a4a;
    font-size: 16px;
    font-weight: 400;
    min-height: 47px;
    display: flex;
    align-items: center;
}

.tabella .tabella-header > div {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.tabella .cmdGeneral {
    height: 29px;
    line-height: 29px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0 40px 0 40px;
}

    .tabella .cmdGeneral:hover {
        color: #4eab4b;
    }

.tabella > div.tabella-row:nth-child(odd) {
    background-color: #dceedb;
}
.tabella-inverted > div.tabella-row:nth-child(odd) {
    background: none;
}
.tabella-inverted > div.tabella-row:nth-child(even) {
    background-color: #dceedb;
}
.tabella > div.tabella-row.odd {
    background-color: #dceedb;
}
.tabella > div.tabella-row.even {
    background: none;
}
.tabella-inverted > div.tabella-row.odd {
    background: none;
}
.tabella-inverted > div.tabella-row.even {
    background-color: #dceedb;
}

#modalContainer {
    position: relative;
    z-index: 1000;
}

    #modalContainer h1 {
        display: none;
    }

    #modalContainer p {
        margin-top: 0;
    }

    #modalContainer #alertBox {
        font-size:18px;
        position: fixed;
        z-index: 100;
        top: 50%;
        left: 50%;
        background-color: #FFF;
        padding: 25px 35px 25px 35px;
        -webkit-border-radius: 35px;
        -moz-border-radius: 35px;
        border-radius: 35px;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }

    #modalContainer:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        background-color: #000000;
        width: 100%;
        height: 100%;
        opacity: 0.3;
    }

    #modalContainer .cmdGeneral {
        margin-top: 25px;
        width: 100%;
    }
.cell-stato img {
    margin: 0 10px 0 5px;
    width: 20px;
    vertical-align: middle;
}

.cell-stato {
    cursor: pointer;
    position: relative;
}

.ordine-azioni,
#account-actions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 1px 30px rgba(216, 216, 216, 0.5);
    background-color: #ffffff;
    border-radius: 18px;
    padding: 30px;
    z-index: 100;
}

    .ordine-azioni a:link,
    .ordine-azioni a:visited,
    #account-actions a:link,
    #account-actions a:visited {
        color: #4A4A4A;
        font-size: 14px;
        line-height: 17px;
        text-align: center;
        text-decoration: none;
        white-space:nowrap;
    }

    #account-actions a:link,
    #account-actions a:visited {
        display:block;
        text-align: left;
    }

    .ordine-azioni a:hover,
    #account-actions a:hover {
        text-decoration: underline;
    }
#header-dettaglio {
    display: flex;
}

#dettaglio-image {
    width: 100px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

    #dettaglio-image img {
        width: 100%;
    }

#dettaglio-titolo {
    width: 100%;
    margin-left: 10px;
}

    #dettaglio-titolo h1,
    #modifica-password-titolo h1 {
        color: #4eab4b;
        font-size: 38px;
        font-weight: 700;
        text-transform: uppercase;
        line-height: 30px;
        margin: 0;
    }

#dettaglio-stato {
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 400;
}

    #dettaglio-stato strong {
        color: #4a4a4a;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        margin-right: 10px;
    }

    #dettaglio-stato img {
        width:20px;
        margin-left: 5px;
        vertical-align: middle;
    }

#dettaglio-actions {
    white-space: nowrap;
    display: flex;
    align-items: end;
}

#dettaglio .cmdGeneral,
#dettaglio .cmdGeneral:link,
#dettaglio .cmdGeneral:visited {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 42px;
    text-transform: uppercase;
    height: 42px;
}

#dettaglio .cmdGeneral:hover {
    color: #4eab4b;
}

.dettaglio-separator,
#dettaglio-separator,
#modifica-password-separator {
    height: 1px;
    background-color: #4eab4b;
    margin: 10px 0 25px 0;
}
#tabelle-dati {
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;
}
#tabella-dettagli-generali {
    width:60%;
}
#tabella-dati-specifici {
    width:38%;
}
.tabella-detail .tabella-header {
    -webkit-border-top-left-radius: 18px;
    -webkit-border-top-right-radius: 18px;
    -moz-border-radius-topleft: 18px;
    -moz-border-radius-topright: 18px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.tabella-detail {
    box-shadow: 0 1px 30px rgba(216, 216, 216, 0.5);
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    border-radius: 18px;
}

    .tabella-detail > div {
        padding: 0 20px 0 20px;
    }

.tabella > div > .cell-label {
    font-weight: 700;
    text-transform: uppercase;
    width: 195px;
}

.cell-status img:first-child {
    width:20px;
    margin: 0 5px 0 5px;
    vertical-align:middle;
}

.tabella-detail > div:last-child {
    -webkit-border-bottom-right-radius: 18px;
    -webkit-border-bottom-left-radius: 18px;
    -moz-border-radius-bottomright: 18px;
    -moz-border-radius-bottomleft: 18px;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
}

#dettaglio-tabelle-actions {
    text-align: right;
    margin-bottom: 20px;
}

    #dettaglio-tabelle-actions a {
        margin-bottom: 10px;
        width: 275px;
        margin-left: 40px;
    }
.tabella-note-cliente,
.tabella-agenti,
.tabella-rispondi,
.tabella-zone
{
    margin-top: 40px;
}

.tabella-3cols {
    margin-top: 40px;
}

    .tabella-3cols .cell {
        width: calc(100% / 3);
    }

    .tabella-3cols .cell {
        border-left: 1px solid #4eab4b;
    }

        .tabella-3cols .cell:first-child {
            border-left: 0;
        }

    .tabella-3cols .tabella-header .cell {
        padding-left: 0;
        padding-right: 20px;
    }

        .tabella-3cols .tabella-header .cell:first-child {
            padding-left: 10px;
            padding-right: 10px;
        }

.tabella > div > .cell-big {
    height: auto;
    padding: 25px 0 25px 0;
    width: 100%;
}

#totale-dettaglio {
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 15px 0 40px 0;
    padding-left: 30px;
}

    #totale-dettaglio span {
        margin-left: 85px;
    }
    
#dettaglio-tabelle-actions-end,
.dettaglio-tabelle-actions-end {
    text-align: right;
    margin: 25px 0 25px 0;
}

    /*#dettaglio-tabelle-actions-end a,
    .dettaglio-tabelle-actions-end a {
        width: 275px;
        margin-left: 20px;
    }*/
/*.dettaglio-tabelle-actions-flexcenter {
    justify-content:space-around;
    margin: 25px 0 25px 0;
}*/
#history-titolo {
    color: #4eab4b;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 40px;
}

.cell-data,
.cell-ora {
    width: 10%;
}

.cell-utente {
    width: 25%;
}

.cell-modifica-stato {
    width: 55%;
}

    .cell-modifica-stato img {
        width:20px;
        vertical-align:middle;
        margin: 0 15px 0 5px;
    }

.cell-value {
    width: calc(100% - 195px);
}

.TextBoxTransparent {
    background: none;
    border: 0;
    color: #4a4a4a;
    font-size: 18px;
    font-weight: 400;
    width: 100%;
    outline:none;
}

    .TextBoxTransparent:focus,
    .TextBoxTransparent.edited {
        border-bottom: 1px solid #4a4a4a;
    }
    .TextBoxTransparent.ReadOnly:focus {
        border-bottom: 0;
    }
#go-back:link,
#go-back:visited {
    color: #4eab4b;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    /*padding: 20px;
    position: absolute;
    top: 25px;
    left: 40px;*/
    display: block;
}

#go-back:hover span {
    text-decoration: underline;
}

#go-back img {
    margin-right: 5px;
}
.modifica-password-cmd {
    width: 100%;
}
#dettaglio-tabelle-actions-delete {
    display:block;
}
#dettaglio .cmdDelete:link,
#dettaglio .cmdDelete:visited {
    margin-top: 50px;
    color: red;
    display: inline-block;
}
#dettaglio .cmdDelete:hover {
    text-decoration:underline;
}
#dettaglio .cmdRestore:link,
#dettaglio .cmdRestore:visited {
    margin-top: 50px;
    width: 275px;
}

#dettaglio .cmdRestore:hover {
    background: none;
}
#header-filtri-titolo-campi-cols {
    display:flex;
    justify-content:space-between;
}
.header-filtri-titolo-campo-dx {
    font-size:20px;
    font-weight:500;
    padding:20px 0 20px 0;
}
.header-filtri-titolo-campo-dx span {
    font-size:25px;
    font-weight:700;
    margin-left:5px;
}
#header-filtri-titolo {
    display: flex;
    justify-content: space-between;
    
}
#header-filtri-titolo-campi-date {
    display: flex;
    padding: 20px 0 0 0;
    align-items:center;
}
.header-filtri-titolo-campi {
    display: flex;
    padding: 20px 0 0 0;
    align-items:center;
    justify-content:space-between;
    width:100%;
}
.header-filtri-titolo-campo {
    display:flex;
    align-items:center;
}
.header-filtri-titolo-campo .Label {
    width:100px;
    margin:0 20px 0 0;
}
.header-filtri-titolo-campo .TextBox {
    /*margin:0 50px 0 50px;*/
    margin-bottom:0;
}
.cmdGeneral.cmdGeneralMedium {
    padding: 0 40px 0 40px;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
}
.cmdGeneral.cmdGeneralSmall {
    height: 29px;
    line-height: 29px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0 40px 0 40px;
}
    .cmdGeneral.cmdGeneralSmall:hover {
        color: #4eab4b;
    }
    #header-filtri-titolo-campi-full {
        width:100%;
    }
.cell-label {
    display:none;
}
.cell-azione img {
    width: 30px;
}
.bg-color-green {
    background-color:#4CAF50 !important;
}
.textwhite,
.textwhite::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #FFFFFF;
}
.textwhite:-ms-input-placeholder { /* IE 10+ */
    color: #FFFFFF;
}
.textwhite::-moz-placeholder { /* Firefox 19+ */
    color: #FFFFFF;
    opacity: 1;
}
.textwhite:-moz-placeholder { /* Firefox 18- */
    color: #FFFFFF;
    opacity: 1;
}
.tabella > div.tabella-footer {
    display:block;
    text-align: center;
    padding:10px 0 10px 0;
    background-color: #dceedb;
}
.tabella > div.tabella-footer.footer-lista-documenti {
    display:flex;
}
.cmdChiudiNuova,
.cmdChiudi,
.cmdSalva {
    width: 275px;
    margin-right:20px;
}
.cmdAggiungiAgente,
.cmdAssegna,
.cmdChiamataRisolta,
.cmdAssegnaNuova,
.cmdRiassegna,
.cmdRispondi,
.cmdDelete,
.cmdRestore{
    width: 275px;
}
#modalContainer .cmdGeneralHalf {
    margin-top: 25px;
    width: 48%;
}
.popupAggiungiAgente #alertBox {
    width:450px;
}
.popupAggiungiAgente #firstBtn {
    margin-right:1%;
}
.popupAggiungiAgente .DropDownList {
    width:100%;
    margin-top:10px;
}
    .DropDownList:before {
        content: '';
        pointer-events: none;
        position: absolute;
        top: 18px;
        right: 10px;
        width: 18px;
        height: 12px;
        background-image: url('../private_images/ddField.png');
        background-repeat: no-repeat;
    }

.popupContainer {
    position: relative;
    z-index: 900;
}

    .popupContainer h1 {
        display: none;
    }

    .popupContainer p {
        margin-top: 0;
    }

    .popupContainer .popupBox {
        font-size:18px;
        position: fixed;
        z-index: 100;
        top: 50%;
        left: 50%;
        background-color: #FFF;
        padding: 25px 35px 25px 35px;
        -webkit-border-radius: 35px;
        -moz-border-radius: 35px;
        border-radius: 35px;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }

    .popupContainer:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        background-color: #000000;
        width: 100%;
        height: 100%;
        opacity: 0.3;
    }


#tabella-agenti .agente,
#agenti-dettaglio .agente {
    padding-right:10px;
}
#agenti-dettaglio .agenti
{
    flex-wrap: wrap;
}
.popupContainer.popupAssegna .popupBox {
    padding:0;
    width:450px;
}
#tabella-agenti-popup {
    margin-top:0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
#tabella-agenti-popup.tabella-detail > div:last-child {
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.popupBoxActions {
    text-align:center;
    margin:10px 0 20px 0;
}
.chiudiPopupAssegna:link,
.chiudiPopupAssegna:visited {
    position:absolute;
    top:10px;
    right:10px;
    font-size:25px;
    color:#FFFFFF;
}
#tabella-chiamate .tabella-row {
    cursor:pointer;
}
#dettaglio-tabelle-actions-torna {
    display:flex;
    justify-content:space-around;
    margin-top: 30px;
}
.tabella-row {
    position:relative;
}