/*Varie*/
.ct-main-container {
    padding: 0 10px;
    max-width: 1900px;
    margin: 0 auto;
}

.dx-datagrid .dx-datagrid-content .dx-datagrid-table .dx-row .dx-command-edit.dx-command-edit-with-icons .dx-link {
    font-size: 14px;
    text-decoration: underline;
    margin: 0;
}

.dx-datagrid .dx-datagrid-content .dx-datagrid-table .dx-row .dx-command-edit.dx-command-edit-with-icons .dx-link.dx-link-icon {
    font-size: 18px;
    text-decoration: none;
    line-height: 18px;
    display: block;
    float: right;
    margin: 0 5px;
}

.ct-hidden {
    display: none !important;
}

.ct-icon-example {
    font-size: 18px;
}

.clear {
    clear: both;
}

.navbar {
    padding: 0 1rem;
    max-width: 1900px;
    margin: 0 auto;
}

.navbar-brand img {
    height: 40px;
}

.navbar .nav-item:hover, .dropdown-menu .nav-link:hover {
    background: #EEE;
}

.nav-link {
    padding: -0.3rem 1rem 0 1rem;
}

label.dropdown-toggle {
    cursor: pointer;
}

.hidden {
    display: none;
}

footer {
    height: 50px;
}

.icon-info-sign {
    color: #55C0F9;
    cursor:pointer;
}

.page-title {
    font-size: 26px;
    margin-bottom: 18px;
}

.master-detail-caption {
    margin-bottom: 10px;
}

.ct-form-legend {
    margin-bottom: 15px;
}

.page-help {
    font-size: 16px;
    margin-bottom: 10px;
}

.title-margin-bottom {
    margin-bottom: 40px;
}

.button-container-top {
    margin-bottom: 10px;
}

.button-container-bottom {
    margin-top: 10px;
}

.button-container-top .dx-button, .button-container-bottom .dx-button {
    float: right;
    margin-left: 10px;
}

.button-container-top .dx-button, .button-container-bottom .button-left {
    float: left;
}

.button-container-top .dx-button, .button-container-bottom .button-left .dx-button {
    float: left;
    margin: 0 10px 0 0;
}

.button-group-separator {
    float: right;
    width: 1px;
    height: 36px;
    margin: 0 3px 0 13px;
    background-color: #CCCCCC
}

.tab-container {
    margin: 10px;
    height: 635px;
    overflow: auto;
}

#managed-resource-save-button{
    height: 28px;
    margin: 0;
    padding-top: 3px;
}

.lead-state-circle {
    width: 32px;
    height: 32px;
    border: 1px solid #aaa;
    border-radius: 50%;
    float: left;
    margin: 0 20px 0 0;
}

.lead-state-circle-0 {
    background-color: #ffce2f;
}

.lead-state-circle-5 {
    background-color: #f7a12e;
}

.lead-state-circle-10 {
    background-color: #008ebb;
}

.lead-state-circle-11 {
    background-color: #76B947;
}

.lead-state-circle-12 {
    background-color: #a1a1a1;
}

.lead-state-circle-13 {
    background-color: #BA1BF9;
}

.lead-state-circle-15 {
    background-color: #c93c37;
}

.lead-state-circle-16 {
    background-color: #111;
}

/*Creazione lead*/
#lead-creation-form {
    max-width: 800px;
}

#lead-creation-form fieldset{
    margin-bottom: 30px;
}

#booking-dynamic-container{
    margin-top:15px;
}

.lead-booking {
    margin-top: 15px;
    padding:8px;
    background:#f9f9f9;
}

/*CT Field*/
.ct-field-row {
    width: 800px;
    margin-bottom: 20px;
}

.ct-field-row .ct-field-container {
    float: left;
    margin-right:20px;
}

.ct-field-row .ct-field-container .ct-field-label {
    margin-bottom: 5px;
}

.ct-field-row .ct-field-container .ct-field-container .ct-field-label {

}

.ct-field-row .ct-field-container .ct-field-input.no-label {
    margin-top: 29px;
}

.ct-field-row .ct-field-container .ct-field-input ct-field-sub-label {
    float: left;
}

.ct-field-row .ct-field-container .ct-field-input ct-field-sub-label.left-margin {
    margin-left:20px;
}

.ct-field-row .ct-field-container .ct-field-input ct-field-sub-input {
    float: left;
}

.popup-new-customer-container{

}
.popup-new-customer-section{
    margin-bottom: 10px;
}
/*Accordion*/
.ct-accordion-container {
    margin-bottom: 10px;
}

.ct-accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.ct-accordion-active, .accordion:hover {
    background-color: #ccc;
}

.ct-accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.ct-accordion-active:after {
    content: "\2212";
}

.ct-accordion-panel {
    margin-top: 10px;
    padding: 0px 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.validated-file-label {
    color: green;
}

.footer{
    height:15px;
}

/*Altro*/
#lead-form{
    width:1000px;
    margin:0 auto 50px auto;
}
@media (max-width:1000px) {
    #lead-form {
        width: 100%;
    }

}

.lead-action-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 98%;
    background: white;
    padding: 10px 0 10px 0;
    border-top: 1px solid #ddd;
}

    .lead-action-footer .dx-button {
        float: right;
    }

        .lead-action-footer .dx-button.left-button {
            float: left;
            margin-left: 20px;
        }

.booking-list-lead-edit-link {
    float: right;
}

.booking-header-bar {
    margin-bottom: 10px;
    height: 36px;
}

    .booking-header-bar .booking-caption {
        float: left;
        font-size: 24px;
    }

    .booking-header-bar .booking-button-contanier {
        float: right;
    }

.deleted-booking-caption {
    text-decoration: line-through;
    color: #777;
}

.page-info-subtitle {
    font-size: 18px;
    color: #444;
    margin-bottom: 5px;
}

.page-help li {
    min-height: 36px;
    font-size: 16px;
}

.ctIconContentExample {
    border: 1px solid;
    padding: 2px;
    display: inline-block;
    font-size: medium;
    width: 23px;
    height: 23px;
    float: left;
    margin-right: 10px;
}

.azureColor {
    color: #03a9f4;
}

.master-detail-title {
    font-size: 18px;
    margin-bottom: 10px;
}

#file-uploader-container {
    float: left;
    width: 50%;
    border-right: 1px solid #ddd;
}

#lead-file-list-container {
    float: right;
    width: 50%;
    padding: 0 5px;
}

    #lead-file-list-container .lead-file-row {
        text-align: left;
        padding: 6px 10px;
    }

        #lead-file-list-container .lead-file-row:hover {
            background: #F5F5F5;
        }

        #lead-file-list-container .lead-file-row .lead-file-name {
            float: left;
        }

        #lead-file-list-container .lead-file-row .dx-icon-remove {
            float: right;
            margin-top: 3px;
            cursor: pointer;
        }

.lead-file-new {
    margin-top: 10px;
    text-align: center;
}

.greenColor {
    color: limegreen !important;
}

.redColor {
    color: red !important;
}

.blueColor {
    color: #337ab7 !important;
}

.grayColor {
    color: #91a1ae !important;
}

.orangeColor {
    color: var(--orange);
}

.ctContainer {
    max-width: 100vw !important;
    width: 100vw !important;
    margin: inherit, 10px !important;
}

.booking-sub-form {
    margin-top: 10px;
}

.hidden-group {
    display: none;
}

.warning-border-input {
    border-color: orange !important;
    background: #f3dab8 !important;
}

.customer-recap-section {
    float: left;
    margin-right: 35px;
}


.booking-resource-control-state-1 {
    border-color: orange !important;
    background: #f3dab8 !important;
}

.booking-resource-control-state-2 {
    border-color: #d9534f !important;
    background: #fd9894 !important;
}

.dx-list-item-content:has(.resource-booking-state-1) {
    background: #f3dab8 !important;
}

.dx-list-item-content:has(.resource-booking-state-2) {
    background: #fd9894;
}

#lead-save-send-email-button {
    margin-right: 15px;
}

#apa-report-container{
    margin-top: 25px;
}

.apa-report-title{
    border-bottom: 1px solid #ddd;
    height: 28px;
    margin-bottom:10px;
}

.apa-report-file-field{

}

.apa-report-file-field-label{
    width: 20%;
    float: left;
}

.apa-report-file-field-value {
    width: 80%;
    float: left;
}

.ct-form-legend.lead-legend{
    position: absolute;
}

#lead-tab-selector {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    height: 50px;
}

#lead-tab-selector .lead-tab-button {
    height: 32px;
    cursor: pointer;
    border: 1px solid #dee2e6;
    padding: 2px 6px;
    width: 110px;
    text-align: center;
    margin: 0 10px;
}

#lead-tab-selector .lead-tab-button:hover {
    background: #eee;
}

#lead-tab-selector .lead-tab-button.tab-active {
    border-color: #337ab7;
}

#apa-report-lead-container {
    width: 1000px;
    margin: 0 auto 50px auto;
}

.lead-recap-company-customer{
    margin-bottom: 15px;
}

.lead-recap-booking-container {
    border-top: 1px solid #dee2e6;
    padding: 3px 0;
    margin-top: 10px;
}

.lead-recap-row {
    margin: 5px 0;
}

.boat-guest-fee-increase-message {
    margin: 5px 0;
    color: darkorange;
    font-weight: bold;
}

#apa-deposit-container {
    margin-bottom: 20px;
}

.apa-report-label{
    float: left;
    margin: 5px 15px 0 0;
}

#apa-report-deposit-control {
    float: left;
}

#button-save-apa-report-deposit {
    float: left;
    margin-left: 20px;
}

#resources-aviability-popup .dx-popup-content{
    padding:0;
}

.lead-state-small {
    width: 20px;
    height: 20px;
    border: 1px solid #aaa;
    float: left;
    margin-right:5px;
}

#show-pay-by-link-popup-button{
    margin: 0 auto 15px auto;
    display: block;
}

#pay-by-link-table{
    width:100%;
    border-collapse:collapse;
}
#pay-by-link-table tr{
    border-bottom: 1px solid #888;
    line-height: 35px;
}

#pay-by-link-popup-table td{
    padding: 5px;
}

#create-pay-by-link-button {
    float: right;
    margin: 15px 0 0 0;
}