﻿:root {
    --colorDefault: #e8b123; /*arancione smarttaxi.taxi*/
    --colorToCheck: #3c8dbc; /*---> #da4949*/
    --colorStato1: #13b944;
    --colorStato2: #ff4d4d;
    --colorStato3: #ff7800;
    --colorStato4: #ffff66;
    --colorStato5: #4d94ff;
    --colorVincCorsa: #13b944;
}

html {
    scroll-behavior:smooth;
}

.main-header .navbar {
    height: 50px;
}

#server-name {
    position: absolute;
    right: 8em;
    height: 100%;
    color: #ffffff;
}
    #server-name p {
        margin-block-start: 1em;
        margin-block-end: 1em;
    }

#sidebar-server {
    display: none;
}

a:hover {
    color: #222d32;
    text-shadow: 2px 2px 5px #3c8dbc
}

section {
    display: flow-root;
}

button {
    border-radius: 3px;
    border: 1px solid var(--colorToCheck);
    height: 100%;
    background-color: var(--colorToCheck);
    color: #ffffff;
    font-weight: bold;
    margin-right: 5px;
    min-height: 2.2em;
    min-width: 4em;
}

    button:disabled {
        background-color: #ddd;
        color: #c4c9cc;
        border-color: #c4c9cc;
    }

.wrap-input100 {
    text-align: center;
    font-family: Montserrat-Bold;
    font-size: 15px;
}
    .wrap-input100 #showPass {
        margin-right: 5px;
    }

.content-wrapper {
    padding-bottom: 2%;
    background-color: #fff;
}

.text-center {
    overflow: auto;
}

/*2*/
.center-table {
    margin: 20px auto 2% auto;
    width: 90%;
    border: 2px solid #3c8dbc;
}
    /*3*/
    .center-table td {
        border: 1px solid var(--colorToCheck);
        padding: 5px 8px 5px 8px;
        overflow-wrap: break-word;
    }

    .center-table th {
        padding: 0 5px 0 5px;
    }

    

.td-button {
    border-top: 2px solid #3c8dbc !important;
    text-align: right !important;
}

.td-button a {
    color: white;
}

/*4*/
.intestazione-tab {
    text-align: center;
    background-color: var(--colorToCheck);
    color: #ffffff;
    border-top: 2px solid var(--colorToCheck);
    border-right: 1px solid #ffffff;
    height: 3em;
}
    .intestazione-tab a{
        color: #ffffff;
        text-decoration: underline;
    }
    .intestazione-tab#th-nomeflotta {
        width: 10%;
    }

    .intestazione-tab#th-utente {
        width: 12%;
    }

    .intestazione-tab#th-data {
        width: 10%;
    }

    .intestazione-tab#th-risposta {
        width: 50%;
    }

    .intestazione-tab.tab-idutente {
        width: 5%;
    }

    .intestazione-tab.tab-cognome {
        width: 18%;
    }

    .intestazione-tab.tab-nome {
        width: 12%;
    }
    
    .intestazione-tab.tab-nickname {
        width: 14%;
    }

    .intestazione-tab.tab-user {
        width: 7%;
    }

    .intestazione-tab.tab-admin {
        width: 7%;
    }

    .intestazione-tab.tab-email {
        width: 28%;
    }

    .intestazione-tab.tab-simgps, .intestazione-tab.tab-imei {
        width: 16%;
    }

    .intestazione-tab.tab-tassametro, .intestazione-tab.tab-presente {
        width: 7%;
    }

    .intestazione-tab.tab-com {
        width: 16%;
    }

    .intestazione-tab.tab-stato {
        width: 10%;
    }

    .intestazione-tab.tab-pos {
        width: 26%;
    }

    .intestazione-tab.tab-width-7 {
        width: 7%;
    }

    .intestazione-tab.tab-width-10 {
        width: 10%;
    }

    .intestazione-tab.tab-width-14 {
        width: 14%;
    }

.no-active {
    background-color: #d52e2ede !important;
}

.no-active-td {
    border-color: #d52e2ede !important;
}

.no-active-th {
    border-top-color: #d52e2ede !important;
    border-left-color: #d52e2ede !important;
    border-bottom-color: #d52e2ede !important;
}

.suspended {
    background-color: #d29217 !important;
}

.suspended-td {
    border-color: #d29217 !important;
}

.suspended-th {
    border-top-color: #d29217 !important;
    border-left-color: #d29217 !important;
    border-bottom-color: #d29217 !important;
}
/*5*/
.section-title {
    background-color: var(--colorToCheck);
    color: #fff;
    padding: 5px 0 5px 0;
    font-weight: 600;
}

/*6*/
.viewside1, .viewside2, .viewside3 {
    float: left;
    width: 32%;
    margin-left: 1%;
}

    /*7*/
    .viewside1 table, .viewside2 table, .viewside3 table {
        table-layout: fixed;
        width: 100%;
    }

    /*8*/
        .viewside1 table td, .viewside2 table td, .viewside3 table td {
            padding: 8px;
            font-size: 15px;
            height: 55px;
        }

.viewside-app-cliente {
    float: left;
    width: 48%;
    margin-left: 1%;
    margin-right: 1%;
}

    .viewside-app-cliente table {
        table-layout: fixed;
        width: 100%;
    }

    table.viewside-app-cliente .left-td {
        width: 150px;
    }

        .viewside-app-cliente table td, th {
            padding: 8px;
            font-size: 15px;
            height: 55px;
        }

.left-td {
    text-align:left;
    font-weight: bold;
    display:table-cell;
    width:42%;
    min-height:55px;
}
    .left-td img {
        width: 25%;
    }

.right-td1 {
    display: table-cell;
    text-align: right;
    width: 42%;
    min-height: 55px;
}

.right-td2 {
    display: none;
    text-align: right;
    width: 42%;
    min-height: 55px;
}
    .right-td2 #input-txt {
        text-align:right;
        width:80%;
    }

.right-td3 {
    width: 15%;
    font-weight: bold;
    text-decoration: underline #3c8dbc;
    display: table-cell;
    min-height: 55px;
}

.hidden-td {
    display:none;
    color:red;
    font-weight:bold;
    text-align:right;
}

.center-td {
    text-align: center;
    font-weight: bold;
    display: table-cell;
}

#hidden-tab, #hidden-title, .hidden-tag {
    display: none;
}

/*20*/
.riepilogo-flotta {
    height:auto;
}

.button-end-table {
    width: 100%;
    overflow: auto;
    text-align: right;
    margin-bottom: 20px;
    padding: 1% 1% 0 0;
}
    /*16*/
    .button-end-table #saveButton1 {
        display: none;
    }

    /*17*/
    .button-end-table #editButton1 {
        margin: 0 1% 0 1%;
    }

    .button-end-table #saveButton2 {
        display: none;
    }

    .button-end-table #editButton2 {
        margin: 0 1% 0 1%;
    }

    .button-end-table #saveButton3 {
        display: none;
    }

    .button-end-table #editButton3 {
        margin: 0 1% 0 1%;
    }

    .button-end-table #saveButton4 {
        display: none;
    }

    .button-end-table #editButton4 {
        margin: 0 1% 0 1%;
    }

    .button-end-table #saveButton5 {
        display: none;
    }

    .button-end-table #editButton5 {
        margin: 0 1% 0 1%;
    }

    .button-end-table #saveButton6 {
        display: none;
    }

    .button-end-table #editButton6 {
        margin: 0 1% 0 1%;
    }

    .button-end-table #saveButton7 {
        display: none;
    }

    .button-end-table #editButton7 {
        margin: 0 1% 0 1%;
    }

    .button-end-table #saveButton8 {
        display: none;
    }

    .button-end-table #editButton8 {
        margin: 0 1% 0 1%;
    }

    .button-end-table #saveButton9 {
        display: none;
    }
    
    .button-end-table #editButton9 {
        margin: 0 1% 0 1%;
    }

#upper-buttons a {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}
    #upper-buttons button {
        margin-bottom: 5px;
        min-width: 5%;
        min-height: 2.2em;
    }

input {
    border-radius: 3px;
    border-color: #3c8dbc;
}

select {
    border-radius: 3px;
    border: 1px solid var(--colorToCheck);
    /*height: 100%;*/
    background-color: var(--colorToCheck);
    color: white;
    font-weight: normal;
}

.filter-table {
    margin-left: 5%;
    margin-right: 5%;
    border: 2px solid #3c8dbc;
    width: 90%;
}

    .filter-table td {
        border: 1px solid #3c8dbc;
        padding: 5px 5px 5px 5px;
        text-align: left;
        display: table-cell;
    }

    .filter-table th {
        padding: 0 5px 0 5px;
    }

    .filter-table td#td-select {
        text-align: center;
    }
    
.to-hide {
    height: 0px;
    overflow: hidden;
    transition-property: height;
    transition-duration: 1s;
    -moz-transition: height 1s; /* Firefox 4 */
    -webkit-transition: height 1s; /* Safari and Chrome */
    -o-transition: height 1s; /* Opera */
    margin-bottom: 1% !important;
}

.blacklist-buttons {
    margin-bottom: 1%;
}

#newEntry {
    margin-left: 5%;
    display: none;
    transition-property: display;
    transition-duration: 1s;
    transition-delay: 2s;
    -moz-transition: display 1s; /* Firefox 4 */
    /*-moz-transition-delay: 2s;*/
    -webkit-transition: display 1s; /* Safari and Chrome */
    -o-transition: display 1s; /* Opera */
}

#newBlacklist {
    margin-left: 5%;
}

.t_blacklist {
    table-layout:fixed;
    width: auto;
}
    .t_blacklist td {
        overflow: auto;
        word-wrap: break-word;
    }

.width-auto {
    width:auto;
}

#area-tab {
    border: none;
    margin-bottom: 20px !important;
}
    #area-tab th, #area-tab td {
        border: 2px solid #3c8dbc;
    }

    #area-tab .right-td1 {
        display: table-cell;
        text-align: center;
        width: 16.7%;
        min-height: 55px;
    }

    #area-tab .right-td2 {
        display: none;
        text-align:center;
        width: 16.7%;
        min-height: 55px;
    }

    #area-tab input[type=text] {
        background: rgba(255,255,255, 0.2);
        text-align: center;
    }

#area-tab-button {
    text-align: left !important;
}

#area-tab-button #editButton1, #area-tab-button #saveButton1 {
    margin-left: 5%;
}

#selectFlottaForm button {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 3px;
    border: 1px solid #fff;
    background-color: #3c8dbc;
    color: #fff
}

#fleetSelector {
    height: 2.5rem;
    border-radius: 3px;
    border: 1px solid #fff;
    background-color: #3c8dbc;
    color: #ffffff;
    font-weight: bold;
}
    

#search-btn {
    margin-right: 0px;
}

.center-table-seq {
    margin: 0 auto;
    width: 90%;
    border: 2px solid var(--colorToCheck);
}
/*3*/
    .center-table-seq td {
        border: 1px solid var(--colorToCheck);
        padding: 5px 8px 5px 8px;
        overflow-wrap: break-word;
        height: 4em;
    }

    .center-table-seq th {
        padding: 0 5px 0 5px;
    }

.center-table-seq2 {
    margin: 0 auto;
    width: 90%;
    border-left: 2px;
    border-right: 2px;
    border-bottom: 2px;
    border-top: 0px;
    border-style: solid;
    border-color: #3c8dbc;
    display: none;
}
    .center-table-seq2 td {
        padding: 5px 8px 5px 8px;
        overflow-wrap: break-word;
    }

    .center-table-seq2 th {
        padding: 0 5px 0 5px;
    }

#anagrafica .left-td, #live-utente .left-td, #auto-config .left-td, #app-config .left-td, #centraleOP .left-td, #pagamenti .left-td, #bagagli .left-td, #lingue .left-td {
    width: 24%;
}

.del-entry {
    color: red;
}

.server-div {
    width: 50%;
    float: left;
    padding-left: 2%;
    text-align: left;
    border-bottom: 2px solid;
    border-right: 2px solid;
    position: relative;
    color: #222d32;
    z-index:1;
}
    .server-div p {
        font-size: 2rem;
        margin: 0 0 0 0;
    }

    .server-div span {
        color: #3c8dbc;
    }

    .server-div button {
        background-color: transparent;
        border: none;
    }

    .server-div #server-status {
        width: auto;
        padding: 0 1% 0 1%;
        border-top: 2px solid;
        border-left: 2px solid;
        text-align: center;
        height: 3.2rem;
        float: right;
        align-items: center;
    }

    .server-div #server-delete {
        width: auto;
        text-align: center;
        font-size: 2.2rem;
        padding-right: 2%;
        float: right;
    }

    .server-div #server-delete i {
        color: red;
    }

    .server-div #server-deactiv {
        width: auto;
        text-align: center;
        font-size: 2.2rem;
        padding-right: 2%;
        float: right;
    }
    
    .server-div #server-deactiv i {
        /*text-shadow:1px 1px 2px black;*/
        /*font-size: 2.2rem;*/
    }

    .server-div #server-edit {
        width: auto;
        text-align: center;
        font-size: 2.2rem;
        padding-right: 2%;
        float: right;
    }

    .server-div #server-edit i {
        /*font-size: 2.2rem;*/
    }

    #server-status.status-ok span {
        text-transform:uppercase;
        font-size: 1.7rem;
        font-weight: bold;
        color: green;
    }

    #server-status.status-nok span {
        animation: animate 1.7s linear infinite;
        text-transform: uppercase;
        font-size: 1.7rem;
        font-weight: bold;
        color: red;
    }
    
    @keyframes animate {
        0% {
            opacity: 0;
        }

        50% {
            opacity: 0.7;
        }

        100% {
            opacity: 0;
        }
    }

    #server-status.status-no-active {
        text-transform: uppercase;
        font-size: 1.7rem;
        color: #222d32;
    }
    
.div-hover:hover {
    box-shadow: 5px 5px 10px #3c8dbc;
    cursor: pointer;
}

.no-event {
    pointer-events: none;
}

#add-server aside {
    float: left;
    width: 50%;
    padding: 0 1% 0 1%;
}
.server-viewside1 table td.td-label, .server-viewside2 table td.td-label {
    text-align: left;
    width: 40%;
}

.server-viewside1 table td.td-content, .server-viewside2 table td.td-content {
    text-align: right;
    width: auto;
}

    .server-viewside1 table, .server-viewside2 table {
        table-layout: fixed;
        width: 100%;
    }
        .server-viewside1 table td, .server-viewside2 table td {
            padding: 8px;
            font-size: 15px;
            height: 55px;
        }

#ivr-tab {
    width: 25%;
    margin: 0 auto;
    border: 2px solid #3c8dbc;
    font-size: 16px;
}

    #ivr-tab td {
        border: 1px solid #3c8dbc;
    }

#coda-tab {
    border: none;
    margin-bottom: 20px !important;
    margin-left: 3.5%;
    margin-right: 0;
    width: 45%;
    border: 2px solid #3c8dbc;
    float: left;
    font-size: 16px;
}
    
    #coda-tab span {
        font-weight: bold;
    }

#newtaxi aside{
    width: 50%;
    margin: 0;
}

/*#gotoDeleteTaxi {
    background-color: red;
    border-color: red;
}*/

.delete-taxi {
    background-color: red;
    border-color: red;
}

#gotoDisableTaxi, #gotoExpiredTaxi {
    background-color: #ffef00;
    color: var(--colorToCheck);
}

.deleteUserForm, .disableUserForm, .expiredUserForm, .enableUserForm {
    display: none;
    float: left;
    height: 100%;
    transition-property: display;
    transition-duration: 2s;
    -moz-transition: display 2s; /* Firefox 4 */
    -webkit-transition: display 2s; /* Safari and Chrome */
    -o-transition: display 2s; /* Opera */
}

    .deleteUserForm p, .disableUserForm p, .expiredUserForm p, .enableUserForm p {
        margin: auto 1.5em;
        float: left;
    }

    .deleteUserForm button, .disableUserForm button, .expiredUserForm button, .enableUserForm button {
        margin-right: 1em;
    }

    .deleteUserForm span, .disableUserForm span, .expiredUserForm span, .enableUserForm span {
        font-weight: bold;
    }

    .deleteUserForm #sub-del, .disableUserForm #sub-del, .expiredUserForm #sub-del, .enableUserForm #sub-del, #gotoEnableTaxi {
        background-color: #5cb85c;
        border-color: #5cb85c;
    }

    .deleteUserForm #return-del, .disableUserForm #return-del, .expiredUserForm #return-del, .enableUserForm #return-del {
        background-color: red;
        border-color: red;
    }

#note {
    margin-top: 1%;
}

/* #text-div {
    width: 70%;
    margin-left: 5%;
    float: left;
    text-align:left;
    font-style: italic;
    text-decoration: underline;
}

#selector-div {
    width: 20%;
    text-align: right;
    position:absolute;
    right: 4.4%;
} */

#text-div {
    padding: 0;
    text-align: left;
}

#text-div-center {
    padding: 0;
    text-align: center;
    margin-top: 1%;
}

#selector-div {
    padding: 0;
    text-align: right;
}

.row-page-sel {
    margin: 0 5% 0 5%;
    /* display: flex;
    align-items: center;
    justify-content: center; */
}

.row-table {
    margin: 0 5% 0 5%;
    min-height: 3.5em;
    border: 1px solid #3c8dbc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-header {
    background-color: #3c8dbc;
    color: #ffffff;
    font-weight: bold;
}

.row-cell {
    /*border-right: 1px solid #3c8dbc;*/
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.cell-title {
    justify-content: left;
}

.margin-l-5 {
    margin-left: 5%;
}

.margin-hor-5 {
    margin: 0 5%;
}

.justify-left {
    justify-content: left;
}

#stato {
    background-color: var(--colorStato1);
    color: #fff;
    font-weight: bold;
}

#taxi-filter-div {
    display: none;
}

#table-container {
    padding: 1em 2em;
}

#table-search {
    text-align: center;
}
    #table-search th {
        background-color: var(--colorToCheck);
        color: white;
        text-align: center;
    }
    #table-search td, #table-search th {
        padding: 0 1% 0 1%;
        border: 1px solid var(--colorToCheck);
        height: 2.5em;
        vertical-align: middle;
    }

.disable {
    border-color: #c4c9cc;
    background-color: #ddd;
    /*display: none;*/
}

#tab-sequenze td {
    vertical-align: middle;
}

.order-a {
    color: #FFFFFF;
    text-decoration: underline;
}

#copy-email {
    color: var(--colorToCheck);
}

#copy-email:hover{
    cursor:pointer;
}

/*.disable:hover{
    cursor: default;
}*/

#popup {
    visibility: hidden;
    min-width: 200px;
    text-align: center;
    font-weight: 600;
    padding: 12px;
    border-radius: 5px;
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    #popup.show {
        visibility: visible;
        opacity: 1;
    }

    #popup.normal {
        background-color: #ffffff;
        color: var(--colorToCheck);
        border: 1px solid var(--colorToCheck);
    }

    #popup.err {
        background-color: red;
        color: white;
    }

.pagination {
    margin-top: 20px;
}

    .pagination a, .pagination span {
        padding: 5px 10px;
        margin: 2px;
        border: 1px solid #3c8dbc;
        text-decoration: none;
    }

    .pagination .active {
        background-color: #3c8dbc;
        color: white;
        border: 1px solid #3c8dbc;
    }