:root {
    --primary-color: rgb(21, 25, 33);
    --secondary-color: /*rgb(220, 220, 220)*/ lightgrey;
    --primary-font-color: #ffffff;
    --sidebar-width: 420px;
    --sidebar-top-nav-height: 70px;
    --secondary-font-color: #d4af37;
    --top-bar-height: 70px;
    --disabled-font-color: #D3D3D3;
    --space: 10px;
    --primary-semi-light: #8a8a8a;
    --primary-semi-dark: #2e2e2e;
    --primary-light: #fff;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v15/JTURjIg1_i6t8kCHKm45_bZF3gnD_g.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat-Bold';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v15/JTURjIg1_i6t8kCHKm45_dJE3gnD_g.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Hind-Light';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/hind/v11/5aU69_a8oxmIdGl4BA.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Hind';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/hind/v11/5aU69_a8oxmIdGl4BA.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


html, body,.main {
    height: 100%;
    margin:0;
    width: 100%;
    font-family: 'Montserrat' !important;
    overflow-x:hidden;
}
.main {
    display: flex;
    flex-direction: column;
}
.header,
.footer {
    flex: none;
    color: #FFFFFF;
    background-color: var(--primary-color);
    padding-left:20px;
}
.footer {
    min-height: 150px;
    padding: 15px;
}

.header {
    justify-content: space-between;
    align-items: center;
    /* Make sure the toolbar will stay on top of the content as it scrolls past. */
    z-index: 2;
    background: var(--primary-color);
    white-space: nowrap;
    background: var(--primary-color);
    z-index: 2;
}
.toolbar-row {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    min-height: 50px;
}

.header-buttons {
    display:flex;
    flex: 1;
    justify-content: flex-end;
}
.header-buttons button {
    background-color: transparent;
}
.dropdown-item {
    color:var(--primary-color);
}

.main-body {
    display: flex;
    flex: 1 0 auto;
    /* 2 */
    flex-direction: row;
}
.main-content {
    flex: 1;
}
.sidenav {
    order: -1;
}
.sidenav,
.main-ads {
    flex: 0 0 10%;
    padding: 1em;
    background: rgba(147, 128, 108, 0.1);
}
.main-content-wrapper {
    flex:1;
    display:flex;
    flex-flow:column;
}

.view {
    display: none;
}
.view.active {
    display: block;
    margin-left: 0px;
}

.inner-view {
    max-width: 600px;
}

.centered {
    margin: 7em auto;
}
.centered-text {
    text-align:center;
}

a:not(.dropdown-item,.tracking) {
    color: var(--primary-font-color) !important;
}

.tracking {
    color: var(--primary-color) !important;
}

.top-bar {
    height: var(--top-bar-height);
}

.btn {
    cursor: pointer;
}

.booking-progress {
    width: 100%;
    background: rgb(39, 43, 50);
    display: table;
    table-layout: fixed;
}

.booking-progress > li {
    cursor: default;
    text-align: center;
    position: relative;
    font-weight: 600;
    width: 44%;
    font-size: 12px;
    line-height: 10px;
    padding: 10px;
    height: var(--top-bar-height);
    vertical-align: middle;
    display: table-cell;
    color: var(--primary-font-color);
}

.booking-progress li.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}



.product-icon-container img {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 50vh;
    margin-left: 10%;
}

.custom-btn {
    width: 50px !important;
    border: 0px !important;
    background-color: hsla(0, 0%, 60%, .4) !important;
    border-color: hsla(0, 0%, 60%, .4) !important;
    margin: 1px !important;
}


.footer-text-widget {
    vertical-align: middle;
    font-size: 14px;
}

.footer-text-widget i {
    color: var(--secondary-color);
}


.col-vehicle-panel-container, .col-vehicle-panel-time-estimate-container, .col-vehicle-panel-product-container, .col-vehicle-panel-time-and-price-estimate-container {
    background-color: var(--primary-color);
    margin-top: 1px;
    border: 2px solid whitesmoke;
    padding: 1px !important;
}

.col-vehicle-panel-container.active, .col-vehicle-panel-time-estimate-container.active, .col-vehicle-panel-product-container.active, .col-vehicle-panel-time-and-price-estimate-container.active {
    border: 2px solid var(--secondary-font-color);
}

.col-vehicle-panel-container.active .badge-active, .col-vehicle-panel-time-estimate-container.active .badge-active, .col-vehicle-panel-product-container.active .badge-active, .col-vehicle-panel-time-and-price-estimate-container.active .badge-active {
    display: block;
}

.col-vehicle-panel-container:not(.disabled) h4, .col-vehicle-panel-time-estimate-container:not(.disabled) h4, .col-vehicle-panel-product-container:not(.disabled) h4, .col-vehicle-panel-time-and-price-estimate-container:not(.disabled) h4 {
    color: var(--secondary-font-color);
    font-size: 1.5em !important;
}


.col-vehicle-panel-container.disabled, .col-vehicle-panel-time-estimate-container.disabled, .col-vehicle-panel-product-container.disabled, .col-vehicle-panel-time-and-price-estimate-container.disabled {
    cursor: not-allowed !important;
    color: var(--disabled-font-color) !important;
    font-style: italic !important;
}

.col-vehicle-panel-container .badge-active, .col-vehicle-panel-time-estimate-container .badge-active, .col-vehicle-panel-product-container .badge-active, .col-vehicle-panel-time-and-price-estimate-container .badge-active {
    display: none;
}

.vehicle-panel-direct-order-container .price-estimate {
    font-size: 1.5em;
}

.badge-active {
    position: relative;
    top: -10px;
    left: -4px;
    background-color: var(--secondary-font-color);
    color: var(--primary-font-color);
    font-style: italic;
    width: 230px;
    height: 25px;
    padding-left: 20px;
}

.badge-active:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 30px solid #fff;
    border-right: 30px solid transparent;
    width: 0;
}

.vehicle-panel {
    position: relative;
    width: 100%;
    height: auto;
    color: var(--primary-font-color);
    /*padding: 10px;*/
    line-height: 1 !important;
    cursor: pointer;

}

.vehicle-panel-header {
    height: 30px;
}

.vehicle-panel-inner-row {
    margin-left: 20px;
}

.col-vehicle-panel-container .price-estimate {
    font-size: 3em !important;
}

.warning-text {
    color: red;
}


.predefined {
    display: none;
}

.predefined.active {
    display: block !important;
}

.invoicing {
    display: none;
}

.invoicing.active {
    display: block;
}

.spinner-grow {
    z-index: 100;
    position: fixed;
    top: 50%;
    left: 50%;
}

.form-button {
    display: inline-block;
    width: 100%;
    margin-top: 1%;
}

.vehicle-class-sub-title {
    min-height: 20px;
    height: auto;
}

.vehicle-class-sub-title i {
    margin-right: 10px;
}

.history-table-container {
    max-width: calc(100vw - 420px);
    float: left;
}

.travel-type-radio-group .btn {
    margin: 5px !important;
}

.travel-type-radio-group .direct-order {
    float: left;
}

.order-canceled {
    font-style: italic !important;
}

.tabulator-tools {
    padding: 0.3rem;
}

.tabulator-tools button {
    height: 100%;
    cursor: pointer;
    margin-bottom: 2px;
}

.printing-option {
    margin: 4px;
}


.expandable {
    max-height: 0px;
    overflow: hidden;
    transition: all .3s ease;
}

.expandable.expand {
    max-height: 100%;
}

.header-sortable {
    cursor: pointer;
}

.booking-state, .product-state {
    display: none;
}

.bd-example-modal-lg .modal-dialog {
    display: table;
    position: relative;
    margin: 0 auto;
    top: calc(50% - 24px);
}


.bd-example-modal-lg .modal-dialog .modal-content {
    background-color: transparent;
    border: none;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
    white-space: normal !important;

}

.tabulator {
    font-size: 10px !important;
}

.sub-title {
    font-size: 11px;
    color: #fff;
    font-style: italic;
    margin-left: 2px;
}

.note {
    font-size: 11px;
    color: grey;
    font-style: italic;
}
.product-card {
    cursor: pointer;
}

.product-card:hover {
    opacity: 0.8;
}

.product-card img {
    width: auto;
    height: 300px;
    object-fit: cover;
}

.product-card.disabled {
    cursor: not-allowed;
    color: var(--disabled-font-color) !important;
    font-style: italic;
}

.product-description {
    display: none;
    background-color: #ffffff;
    bottom: 0px;
    left: 0px;
    position: absolute;
    padding: 15px;
    width: 100%;
    height: 50%;
    z-index: 100;
    border-top: 1px solid lightgrey;
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 50%; /* Set a default minimum width */
    margin-left: -25%; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
    font-size: 1.5em;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    /*
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
    */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 5.5s;
    animation: fadein 0.5s, fadeout 0.5s 5.5s;
}


/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

#productVehicleClassList {
    width: 100%;
    float: left;
    margin-bottom: 1%;
}


.product-disabled {
    top: 50%;
    left: 0px;
    color: #fff;
    display: block;
    position: absolute;
    text-align: center;
    text-decoration: none;
    letter-spacing: .06em;
    background-color: #A00;
    padding: 20px 20px 20px 20px;
    text-shadow: 30px 30px 30px #444;
    box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
    font: bold 16px/1.2em Arial, Sans-Serif;
    -webkit-text-shadow: 0 0 0.75em #444;
    -webkit-box-shadow: 0 0 0.9em rgba(0, 0, 0, 0.5);
    -webkit-transform: rotate(-45deg) scale(1, 1);
    z-index: 10;
    width: 100%;
}

.product-disabled:before {
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    margin: -0.3em -5em;
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
    border: 2px rgba(255, 255, 255, 0.7) dashed;
}


.pre-order-segment {
    width:40%;
    border: 1px solid grey;
    float: left;
    padding: 10px;
    margin-right: 10px;
}

.direct-order-segment {
    width: 40%;
    float: left;
}
.direct-order-segment .btn {
    font-size:1.5em;
}

.direct-order-destination-set, .direct-order-destination-not-set {
    display:none;
}

.direct-order-destination-not-set.active {
    display:block;
}
.direct-order-destination-set.active {
    display:table-row;
}


.radio-container {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    margin-right: 20px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: var(--primary-font-color);
    border-radius: 50%;
    border:2px solid var(--primary-color);
}

.radio-container:hover input ~ .checkmark {
    background-color: var(--secondary-color);
}

.radio-container input:checked ~ .checkmark {
    background-color: var(--primary-font-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .checkmark:after {
    display: block;
}


.radio-container .checkmark:after {
    top: 3px;
    left: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
}

.custom-checkbox {
    margin-bottom:16px;
}

.card-header.modifying {
    background-color:#ffc107;
}

.pointToPoint, .byTheHour {
    display: none !important;
}

.pointToPoint.active, .byTheHour.active {
    display: block !important;
}

.stopover-point-container {
    /*background-color: lightblue;*/
}
.stopover-point {
    margin-bottom: 10px;
}
.stopover-point-details {
    font-size: small;
}
.small {
    font-size: 16px;
}
.expansion-panel {
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);
    box-sizing: content-box;
    display: block;
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    transition: margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 20px;
}

.expansion-panel-title {
    justify-content: space-between;
    display: flex;
    flex-grow: 1;
    margin-right: 16px;
    margin-bottom: 5px;
}

.action-btn {
    line-height: 1.17;
    letter-spacing: normal;
    background-color: var(--primary-color);
    color: #fff;
    height: 40px;
    opacity: 1;
    border: none;
    box-shadow: 0 3px 6px 0rgba(0,0,0,.16);
}
.rounded-btn {
    border-radius: 20px;
}

.actions-icon {
    padding: 5px;
}

.additional-service-category-sub {
    font-style: italic;
    margin-left:10px;
}

.delayed {
    color: red;
}
#btn_create_order {
    margin-right: 20%;
}
@media screen and (min-width: 820px) {
    #btn_create_order {
        min-width: 300px !important;
    }
}
@media screen and (max-width: 820px) {

    html, body, .main  {
        /*overflow-x: auto !important;*/
    }


    .history-table-container {
        max-width: 90vw;
        /*overflow-x: auto !important;*/
    }

    .inner-view {
        /*max-width: 100%;*/
    }

    .product-icon-container img {
        display:none;
    }
}

