﻿body {
}

.header-navbar .navbar-header .navbar-brand .brand-logo
{
    height:40px;
    width:unset;
}

body .main-menu.menu-dark {
    background-color: #e32b41;
}
.btn.disabled, .btn:disabled{
    opacity:0.40;
}

@media (min-width: 992px) {
    body .vertical-layout.vertical-menu-modern .content, body.vertical-layout.vertical-menu-modern .footer {
        margin-left: 130px!important;
    }
    .main-menu.menu-dark .navigation{
        padding-top:20px;
    }

    .header-navbar .navbar-header .navbar-brand .brand-logo {
        height: 55px;
    }
}
body .navbar-semi-dark .navbar-header, body .main-menu.menu-dark .navigation a, body .main-menu.menu-dark .navigation {
    background: #e32b41;
    color: white;
    font-weight: 500;
    text-decoration:none!important;
}
.main-menu.menu-dark .navigation > li ul li > a {
    padding-top: 5px!important;
    padding-bottom: 5px!important;
}

body .main-menu.menu-dark .navigation > li.open > a {
    color: white;
    font-weight: 600;
}


input[type=submit].external {
    background-color: #ffffff;
    border: 1px solid #004b62;
    color: #004b62;
    font-style: italic;
    font-weight: bold;
}


label {
    text-transform: uppercase;
    font-weight: 800;
    display: block;
    float: left;
    margin-left: 2px;
}

div.external input {
    padding: 2px;
    height: 26px;
    line-height: 26px;
    font-size: 13px;
}

span.external {
    color: #004b62;
    font-style: italic;
    font-weight: bold;
    margin-right: 5px;
    display: block;
    width: 140px;
}

div.external {
    clear: both;
}

input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] div {
    background-color: #b6ced5;
    background-color: #f5cfcf;
}

div.external img {
    height: 16px;
    margin-top: 5px;
}

select {
    display: block;
    height: 40px;
    width: 100%;
    float: left;
    margin-bottom: 7px;
    height: 40px;
    max-width: 350px;
    border-radius: 0px;
    margin-right: 10px;
}

.content .input-group {
    padding-right: 10px;
}

.content input[type=text],
.content input[type=email],
.content input[type=number],
.content input[type=search],
.content select,
.content input[type=password], .content textarea, .content input[type=date] {
    border-radius: 0px;
    /* width: 100%;*/
    /*max-width: 350px;*/
    text-indent: 3px;
    /*margin-top: 3px;*/
    font-size: 18px;
    color: #333333;
    height: 40px;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    line-height: 40px;
    float: left; /*
    margin-right:10px;*/
}

input[type=date] {
    max-width: 200px;
}

textarea, .content textarea {
    line-height: 15px;
    text-indent: 0px;
    width: 100%;
    min-height: 100px;
}



html body {
    color: #000;
    margin: 0px;
    font-family: "Quicksand", Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    min-width: 320px;
    background-color: white;
}

body > div.content {
    margin-bottom: 20px;
}


div.container2, div#container2 {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

div.row > h3 {
    margin-left: -15px;
    margin-right: -15px;
}

div#top {
    height: 120px;
    position: fixed;
    background-color: rgba(255,255,255,1.0);
    width: 100%;
    top: 0px;
}

div#container {
    margin-top: 200px;
    background-color: white;
    padding-left: 190px;
    padding-right: 0px;
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-position: top center;
}

img#logo {
    position: fixed;
    top: 10px;
    left: 50%;
    margin-left: -120px;
}

h3.banner {
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
    clear: both;
    font-weight: 700;
    background-color: #efefef;
    text-indent: 5px;
    font-size: 16px;
    background-color: #e32b41;
    color: white;
    text-transform: uppercase;
}


input:disabled.form-control, select:disabled.form-control, textarea:disabled.form-control {
    background: #76a1be43;
    color: #555;
}

td.totale {
    font-weight: bold;
    font-size: 22px;
}

div.loading {
    height: 20px;
    width: 100%;
    background-size: unset;
    margin-top: 5px;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../../user/images/loading.gif);
    display: none;
}

body.loading div.loading {
    display: inline-block;
}

span#LoginName1 {
    float: left;
    display: block;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 30px;
    margin-left: 12px;
    height: 32px;
    line-height: 32px;
    font-weight: normal;
}

span#logout {
    float: right;
    display: block;
    height: 28px;
    width: 36px;
    margin-top: 30px;
    margin-right: 24px;
    background-image: url(/images/logout.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

span#info {
    border-left-style: none;
    width: 21px;
    margin-top: 18px;
    margin-right: 8px;
    background-image: url(/images/info.png);
    background-position: center center;
    background-repeat: no-repeat;
}

span#username {
    border-left-style: none;
    margin-top: 18px;
    padding-left: 8px;
    font-size: 9px;
    font-weight: bold;
    line-height: 20px;
    margin-right: 8px;
    float: right;
    display: block;
    height: 20px;
    border-left: 1px solid #000000;
}



div.expander {
    width: 100%;
    height: 12px;
    cursor: pointer;
    background-size: contain;
    padding-top: 4px;
    padding-bottom: 4px;
    background-image: url(../images/more.png);
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 10px;
}

.grid {
    width: 100%;
    font-size: 15px;
}

    .grid td, .table tbody tr {
        padding: 5px;
        box-sizing: border-box;
        padding-left: 5px;
        padding-right: 5px;
    }

    .grid th, .table td.th, .table thead th {
        text-transform: uppercase;
        background-color: #efefef;
        background-color: #e32b41;
        color: white;
        min-height: 30px;
        padding: 3px;
        text-align: left;
        padding-left: 5px;
        padding-right: 5px;
    }

    .grid tr.row, .table tr {
        background-color: white;
        min-height: 30px;
        border: 1px solid #efefef;
        border-bottom-style: none;
    }

    .grid.datatable tr.row, .table.datatable tr {
        cursor: pointer;
    }

    .grid tr.row:hover, .table.datatable tbody tr:hover {
        background-color: #e2e2e2 !important;
    }

.mobileonly {
    display: none;
}

.category-hidden {
    display: none !important;
}

h2.back {
    font-size: 15px;
}

.grid > table {
    width: 100%;
}

@media(min-width:801px) {


    div.container2, div#container2 {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 20px;
    }

    div#container {
        width: 1020px !important;
    }
}

@media(max-width:800px) {
    html body .content .content-wrapper {
        padding: 0;
        /*  margin-left:-15px;
        margin-right:-15px;*/
    }

    #menu {
        display: none;
    }

    table:not(.mobile-table) .desktoponly, .filters .desktoponly {
        display: none !important;
    }

    h2.back {
        width: 16px;
        height: 30px;
        overflow: hidden;
        position: fixed;
        top: 3px;
        left: 25px;
        font-size: 31px;
    }

    .grid {
        width: 100%;
        margin: 0px;
        padding: 0px;
    }

        .grid td.row {
            width: 50%;
            font-size: 11px;
        }


    div#container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .mobileonly {
        display: block;
    }

    div.mobile-collapsed {
        display: none;
    }
}

input[type=text].bgcolor1 {
    background-color: #c9f7b5;
    color: black;
}

input[type=text].bgcolor2 {
    background-color: #f8fa75;
    color: black;
}

.row span.pretext {
    display: block;
    margin-right: 10px;
    height: 40px;
    line-height: 38px;
    float: left;
}

#LabelResult {
    text-align: center;
    width: 100%;
    color: red;
}

.pointer {
    display: none;
}

.active .pointer {
    display: block;
}

.grid.datatable tr {
    min-height: 48px;
    cursor: pointer;
}

.grid tr:nth-child(2n+1) {
    background-color: #f5f5f5;
}

.grid tr:hover {
    background-color: #efefef;
}

.gridfooter a {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

    .gridfooter a:hover {
        background-color: #004b62;
        color: white;
    }


.btn.btn-primary, .sweet-alert button.confirm {
    background-color: #e32b41 !important;
    border-color: #e32b41 !important;
    color: white !important;
    text-transform: uppercase;
    font-weight: 600;
}
.btn.btn-primary-outline {
    background-color: #fff !important;
    border-color: #e32b41 !important;
    color: #e32b41 !important;
    text-transform: uppercase;
    font-weight: 600;
}
.btn.btn-secondary-outline {
    background-color: #fff2f4 !important;
    border-color: #aaa !important;
    color: #aaa !important;
    text-transform: uppercase;
    font-weight: 600;
}

.menu-nuovo-incasso a {
    background-color: #dd273d !important;
    margin-left: 14px;
    font-size: 17px;
}
html body a {
    color: #e32b41;
    text-decoration:underline;
    font-weight:bold;
}
html body a label {
    color: #e32b41!important;
    text-decoration:underline;
    cursor:pointer;
}
    html body a button, html body a.btn {
        text-decoration: none !important;
    }

.dropdown-menu > li > a.aspNetDisabled {
    color: #999;
}
li.dropdown-user a, .navbar-wrapper   a {
    text-decoration: none !important;
}

    .col-xl-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

@media (min-width: 1700px) {
    .col-xl-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media(max-width:767px) {
    .desktop-only {
        display: none !important;
    }

    div.navbar-container ul.nav.navbar-nav, div.navbar-container ul.nav.navbar-nav li.nav-item {
        width: 100%;
        display: block;
        text-align: right;
    }
        div.navbar-container ul.nav.navbar-nav{
            margin-top:10px!important;
        }
        div.navbar-container li.nav-item > div > a {
            padding: 15px 10px;
        }
}

@media(min-width:768px) {
    .mobile-only {
        display: none !important;
    }
}



@media screen and (max-width: 600px) {
    .container-fluid {
        padding: 0;
    }

    .filters {
        margin: 0;
    }

    div.row > h3 {
        margin-left: 0;
    }

    table.mobile-table thead, table.mobile-table .header {
        display: none !important;
    }

    table.mobile-table {
        width: 100%;
    }


        table.mobile-table td {
            display: flex;
            padding: 0.40rem;
            min-height: 34px;
        }

    .content-body > form > h1 {
        padding-left: 20px;
        padding-top: 20px;
    }

    .content-body form {
        margin: 10px;
    }

    table.mobile-table tr {
        margin-bottom: 30px;
        display: block;
        padding-left: 20px;
    }

    table.mobile-table tbody {
        display: block;
    }

    table.mobile-table button {
        margin-right: 10px;
    }

    table.mobile-table td::before {
        content: attr(data-label);
        font-weight: bold;
        width: 13px;
        min-width: 130px;
        text-align: left;
        margin-right: 10px;
    }
}

.filters .ms-parent {
    float: left;
    max-width: 300px;
    height: 40px;
}

    .filters .ms-parent .ms-choice {
        height: 40px;
    }

.filters .ms-choice > div {
    top: 8px;
}
.form-control-804 {
    --form-control-color: #e32b41;
    font-family: system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.1;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
    cursor:pointer;
}

    .form-control-804 + .form-control-804 {
        margin-top: 1em;
    }

    .form-control-804 input {
        -webkit-appearance: none;
        appearance: none;
        background-color: #fff;
        margin: 0;
        font: inherit;
        color: currentColor;
        width: 1.15em;
        height: 1.15em;
        border: 0.15em solid #e32b41;
        border-radius: 0.15em;
        transform: translateY(-0.075em);
        display: grid;
        place-content: center;
    }

        .form-control-804 input::before {
            content: "";
            width: 0.65em;
            height: 0.65em;
            transform: scale(0);
            transform-origin: bottom left;
            transition: 120ms transform ease-in-out;
            box-shadow: inset 1em 1em var(--form-control-color);
            clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
        }

        .form-control-804 input:checked::before {
            transform: scale(1);
        }


@page {
    margin: 0;
    width: 148mm;
   /* height: 105mm;*/
}

.sheet {
    margin: 0;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    page-break-after: always;
}

body.A6 .sheet {
    width: 148mm;
    width:100%;
  /*  height: 105mm;*/
    box-shadow: 0 .5mm 2mm rgba(0,0,0,.3);
}


@media screen {
   

    .sheet {
        background: white;
        margin: 1mm auto;
        display:none;
    }
}

/** Fix for Chrome issue #273306 **/
@media print {
    body {
        min-width: unset !important;
        padding-top: 10px !important;
    }
    body > *:not(.sheet){
        display:none!important;
    }

/*
        body.A6 {
            width: 148mm;

        }*/

}



body.loggedin-backofficeuser .navbar-semi-dark .navbar-header, body.loggedin-backofficeuser .main-menu.menu-dark .navigation a, body.loggedin-backofficeuser .main-menu.menu-dark .navigation,
body.loggedin-backofficeuser h3.banner, body.loggedin-backofficeuser .main-menu.menu-dark,
body.loggedin-backofficeuser .btn.btn-primary, body.loggedin-backofficeuser .sweet-alert button.confirm,
body.loggedin-backofficeuser .grid th, body.loggedin-backofficeuser .table thead th {
    background: #222 !important;
}
body.loggedin-backofficeuser .btn.btn-primary, body.loggedin-backofficeuser .sweet-alert button.confirm {
    border-color: #222!important;   
}

body.loggedin-agente .navbar-semi-dark .navbar-header, body.loggedin-agente .main-menu.menu-dark .navigation a, body.loggedin-agente .main-menu.menu-dark .navigation,
body.loggedin-agente h3.banner, body.loggedin-agente .main-menu.menu-dark,
body.loggedin-agente .btn.btn-primary, body.loggedin-agente .sweet-alert button.confirm,
body.loggedin-agente .grid th, body.loggedin-agente .table thead th {
    background: #2c54a8 !important;
}
body.loggedin-agente .btn.btn-primary, body.loggedin-agente .sweet-alert button.confirm {
    border-color: #2c54a8 !important;
}



body.test-mode {
    background-image: url('/user/img/testmodebg.png');
}
    body.test-mode .navbar-semi-dark{
        background:white;
    }
table.table tr.livemode td {
  /*  font-weight: 700;*/
    color: black;
}
table.table tr.licenza-in-scadenza td {
    background-color: #ffc0c8;
}
/*
table.table tr.testmode td {
    font-weight: 400;
    color: #444;
}*/

body.loggedin-backofficeuser table.table tr.testmode td {
    color: #eb9c0c;
}

    body.loggedin-backofficeuser table.table tr.testmode td.column-test-mode, body.loggedin-backofficeuser table.table tr.testmode td.column-mode {
        font-weight: 700;
    }