﻿:root {
    --color-primary-hsl-base: 209deg, 55.7%;
    --color-primary-hsl-brightness: 54.9%;
    --color-primary: hsl(var(--color-primary-hsl-base), var(--color-primary-hsl-brightness));
    --color-light: hsl(0deg, 0%, 95%);
    --bg-navbar: hsl(209deg, 50%,37%);
    --bg-navbar-hover: hsl(209deg, 50%, 30%);
    --menu-item-width: 115px;
    --menu-item-height: 80px;
}


body {
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    overflow-y: scroll;
}

/*.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}*/

html {
    width: 100%;
    height: 100%;
}

/* Bootsrap container reset */
.container {
    width: 100% !important;
    max-width: 1920px !important;
}


.vertical-align {
    display: flex;
    align-items: center;
}

div.fillspace {
    min-height: 100%;
    width: 100%;
}

.margin-bottom {
    margin-bottom: 1em;
}

.margin-bottom-lg {
    margin-bottom: 1.33em;
}

.margin-bottom-2x {
    margin-bottom: 2em;
}

.margin-bottom-3x {
    margin-bottom: 3em;
}

.margin-bottom-4x {
    margin-bottom: 4em;
}

.margin-bottom-5x {
    margin-bottom: 5em;
}

.highlight {
    background-color: yellow !important;
}


.panel.with-nav-tabs > .panel-heading {
    padding: 5px 5px 0 5px;
}

.panel.with-nav-tabs .nav-tabs {
    border-bottom: none;
}

.panel.with-nav-tabs .nav-justified {
    margin-bottom: -1px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 10px;
    padding-right: 10px;
}

.strike {
    display: block;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    margin: 20px;
    color: #C5C5C5;
    font-weight: bold;
    font-size: 1.2em;
}

    .strike > span {
        position: relative;
        display: inline-block;
    }

        .strike > span:before,
        .strike > span:after {
            content: "";
            position: absolute;
            top: 50%;
            width: 9999px;
            height: 1px;
            border-width: 1px 0px 0px;
            border-style: solid none none;
            border-color: #C5C5C5;
            -moz-border-top-colors: none;
            -moz-border-right-colors: none;
            -moz-border-bottom-colors: none;
            -moz-border-left-colors: none;
            border-image: none;
        }

        .strike > span:before {
            right: 100%;
            margin-right: 20px;
        }

        .strike > span:after {
            left: 100%;
            margin-left: 20px;
        }

.bootstrap-datetimepicker-widget td.day.disabled,
.bootstrap-datetimepicker-widget td.day.disabled:hover,
.bootstrap-datetimepicker-widget span.disabled {
    color: #CCC;
}


.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

    .btn-circle.btn-lg {
        width: 50px;
        height: 50px;
        padding: 10px 16px;
        font-size: 18px;
        line-height: 1.33;
        border-radius: 25px;
    }

    .btn-circle.btn-xl {
        width: 70px;
        height: 70px;
        padding: 10px 16px;
        font-size: 24px;
        line-height: 1.33;
        border-radius: 35px;
    }

    .btn-circle i {
        width: 100%;
    }

.modal-xl {
    width: 90%;
}

.affix {
}

.affix-top {
    position: absolute;
    top: 0;
}

@media (min-width: 1320px) {
    .container {
        width: 1320px;
    }
}

.navbar-brand {
    height: 35px;
    float: right;
    line-height: normal;
    padding: 5px;
}

    .navbar-brand img {
        margin-left: 5px;
        padding: 2px;
        display: inline;
    }

.validation-summary-errors {
    color: #d92b37;
}

    .validation-summary-errors ul li {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .validation-summary-errors ul li:before {
            font-family: FontAwesome;
            padding-right: 5px;
            content: "\f06a";
        }

/*///////////////////////
    ADNavigation
*/

.ADNavigation {
    background: var(--bg-navbar);
    max-height: calc(100vh - 46px);
    overflow: auto;
}

    .ADNavigation .logo {
        display: block;
        margin: 10px auto;
        width: 3em;
    }

    .ADNavigation ul {
        font-size: 0px;
        padding: 0px;
        margin: 0px;
        list-style: outside none none;
    }

        .ADNavigation ul li {
            display: block;
            transition: background 0.2s ease-in-out 0s;
        }

            .ADNavigation ul li a {
                position: relative;
                width: var(--menu-item-width);
                height: var(--menu-item-height);
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                text-align: center;
                font-size: 17px;
                color: var(--color-light);
                transition: background, color 0.5s ease;
                text-decoration: none;
            }

.ADNavButtons .ADNavigation ul li {
    margin: 20px;
}

    .ADNavigation ul li:hover,
    .ADNavButtons .ADNavigation ul li a:hover {
        background: var(--bg-navbar-hover);
    }

    .ADNavButtons .ADNavigation ul li i.fa {
        font-size: 3em;
        margin: 5px;
        margin-bottom: 0;
    }

    .ADNavButtons .ADNavigation ul li.nav-home,
    .ADNavButtons .ADNavigation ul li.hidden-home {
        display: none;
    }
/*
    end of ADNavigation
///////////////////////*/

/*///////////////////////
    HEADER TOP
*/
.mainHeader-top {
    background-color: var(--bg-navbar);
    box-shadow: 0px -1px 3px rgba(0, 0, 0, 0.03) inset;
    position: fixed;
    right: 0px;
    left: 0px;
    z-index: 999;
    top: 0;
}

#UserControls .nav-ul {
    padding: 0px;
    font-size: 0;
    list-style: outside none none;
}

    #UserControls .nav-ul > li {
        display: inline-block;
        color: var(--color-light);
    }

        #UserControls .nav-ul > li > a,
        #UserControls .nav-ul > li > .dropdown > a {
            display: block;
            text-align: center;
        }

#UserControls ul.dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
}

#UserControls .nav-ul {
    margin: 0px;
}

    #UserControls .nav-ul > li {
        padding: 3px 5px 2px;
        border-right: 1px solid #E3E3E3;
        margin: 0px;
        transition: all 0.2s ease-in-out 0s;
    }

        #UserControls .nav-ul > li:last-child {
            border-right: medium none;
        }

        #UserControls .nav-ul > li > a,
        #UserControls .nav-ul > li > .dropdown > a {
            border: medium none transparent;
            width: auto;
            height: 30px;
            color: var(--color-light);
            background-color: transparent;
            font-size: 16px;
            text-decoration: none;
        }

        #UserControls .nav-ul > li p {
            height: 30px;
            font-size: 16px;
            margin: 0;
        }

        #UserControls .nav-ul > li:hover {
            background: var(--bg-navbar-hover);
        }

.navbar-leftside .container {
    padding-left: 0;
}

.navbar-leftside .ADNavigation {
    position: fixed;
    z-index: 999;
    top: 0;
}

    .navbar-leftside .ADNavigation li.active a {
        background-color: var(--color-primary);
        color: var(--color-light);
    }

        .navbar-leftside .ADNavigation li.active a::after {
            content: "";
            position: absolute;
            left: 100%;
            top: 50%;
            -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            -o-transform: translateY(-50%);
            -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
            border-bottom: 13px solid transparent;
            border-top: 13px solid transparent;
            border-left: 10px solid var(--color-primary);
        }

    .navbar-leftside .ADNavigation li span {
        display: block;
        width: 100%;
        line-height: 1.1;
    }

    .navbar-leftside .ADNavigation li i.fa-fw {
        font-size: 2.2em;
        line-height: 1.15em;
    }

    .navbar-leftside .ADNavigation li span.fa-fw {
        font-size: 1.2em;
        line-height: 1.75em;
        margin-top: 5px;
    }


.mainCompanySelect .search {
    margin: 5px 15px;
    border-bottom: 1px solid var(--color-primary);
}

.mainCompanySelect input {
    border: none;
}
/*
    end of HEADER TOP
///////////////////////*/

/*///////////////////////
    HEADER
*/
header.mainHeader {
    margin-top: 25px;
}
/*
    end of HEADER
///////////////////////*/

/*///////////////////////
    MAIN
*/
.main-wrapper {
    padding-top: 35px;
}

main.navbar-padding > .container {
    padding-left: calc(var(--menu-item-width) + 20px);
    padding-bottom: 70px;
}
/*
    end of MAIN
///////////////////////*/

/*///////////////////////
    FOOTER
*/

footer.mainFooter {
    bottom: 0px;
    width: 100%;
    position: fixed;
    background-color: rgb(241, 241, 241);
    border-top: 1px solid rgb(218, 218, 218);
    box-shadow: 0px -1px 10px rgba(0, 0, 0, 0.03) inset;
    padding-top: 5px;
    z-index: 99999;
    font-size: 12px;
    line-height: 1.2;
}

/*
    end of FOOTER
///////////////////////*/


/*///////////////////////
    LOGIN
*/

.form-signin, .form-box {
    /*max-width: 330px;*/
    padding: 15px;
    margin: 0 auto;
    background: var(--color-light);
    box-shadow: 0px -1px 4px rgba(0, 0, 0, 0.4) inset;
    border-radius: 15px;
    margin-top: 15px;
}

    .form-signin .form-signin-heading,
    .form-signin .checkbox {
        margin-bottom: 10px;
    }

    .form-signin .checkbox {
        font-weight: normal;
    }

    .form-signin .form-control {
        position: relative;
        height: auto;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 10px;
        font-size: 16px;
    }

        .form-signin .form-control:focus {
            z-index: 2;
        }

    .form-signin input[type="text"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .form-signin a.btn {
        padding: 6px 0px;
    }
/*
    end of LOGIN
///////////////////////*/

/*///////////////////////
    Vehicle
*/


#VehicleSearchResultsTable td {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-summary .nav-pills li.active a {
    color: #31708F;
    background-color: #D9EDF7;
    border-color: #BCE8F1;
}

#vehicle-documents object {
    height: 400px;
    width: 100%;
}


.form-group {
    margin-bottom: 0;
}

form .form-group {
    margin-bottom: 5px;
}

.form-group [data-val-required*="."],
.form-group :required,
.content-box [data-val-required*="."],
.content-box :required {
    border-left: 5px solid var(--color-primary);
    padding-left: 7px;
}

select.form-control {
    padding-left: 8px;
}

    select.form-control:required {
        padding-left: 3px;
    }


/*
    end of Vehicle 
///////////////////////*/

.order-info-panel-fixed {
    position: fixed;
    z-index: 99;
    width: 330px;
}

/*///////////////////////
    Settings
*/

.card {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    text-align: left;
    padding: 0 20px;
    /*background-color: #284c79;*/
    border: 1px solid #C5C5C5;
    /*color: rgb(136, 172, 217);*/
}

    .card .header-bg {
        /* This stretches the canvas across the entire hero unit */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        border-bottom: 1px #FFF solid;
        /* This positions the canvas under the text */
        z-index: 1;
    }

#UsersGrid img {
    width: 40px;
    height: 40px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid rgba(0,0,30,0.8);
    margin-right: 10px;
}

#UsersGrid .btn {
    padding: 0px;
}

#UsersGrid span.disabled img, #UsersGrid span.disabled {
    border-color: red;
    border-width: 2px;
    color: red;
}

    #UsersGrid span.disabled:after {
        content: "(disabled user)";
    }

#UsersGrid .btn i {
    line-height: 27px;
}

.card .avatar {
    position: relative;
    margin-top: 10px;
    z-index: 100;
}

    .card .avatar img {
        width: 100px;
        height: 100px;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        border: 3px solid rgba(0,0,30,0.8);
        float: left;
    }

.card .card-title {
    float: left;
    color: white;
    margin: 10px;
}

.card .content {
    clear: both;
    margin-top: 10px;
}

.card.card-disabled {
    border-color: red;
}

    .card.card-disabled .avatar img {
        border-color: red;
    }

.mini-card {
    padding: 0 10px;
}

    .mini-card .btn-circle {
        font-size: 10px;
        height: 22px;
        line-height: 0;
        padding: 4px 0;
        width: 22px;
    }

    .mini-card .avatar {
        margin-top: 10px;
    }

        .mini-card .avatar img {
            width: 50px;
            height: 50px;
        }

    .mini-card .header-bg {
        height: 45px;
    }

    .mini-card .card-title {
        margin-top: -3px;
    }

    .mini-card dt {
        width: 100px;
    }

    .mini-card dd {
        margin-left: 120px;
    }

.companyStaticList {
    max-height: 400px;
    overflow-y: auto;
}

/*
    end of Settings
///////////////////////*/

/*/////////////////////
    Reports
*/
.reports .form-control.control-sm {
    font-size: 12px;
    height: 28px;
    padding: 6px 8px;
}

.reports .input-group-addon {
    cursor: pointer;
}

.reports .btn-group {
    margin: 5px;
}

.reports .dropdown-menu dl {
    padding: 5px 10px 5px 30px;
    margin: 0;
}

    .reports .dropdown-menu dl dt {
        font-size: 0.9em;
    }

.reports .dropdown-menu > li:hover {
    background-color: #F1F1F1;
}

.reports input[type=radio],
.reports input[type=checkbox] {
    display: none;
}

    .reports input[type=radio] + label,
    .reports input[type=checkbox] + label {
        font-weight: normal;
        margin: 0;
        -moz-user-select: none;
        -ms-user-select: none;
        -webkit-user-select: none;
        user-select: none;
    }

        .reports input[type=radio] + label:before,
        .reports input[type=checkbox] + label:before {
            font-family: FontAwesome;
            display: inline-block;
            letter-spacing: 10px;
        }

        .reports input[type=radio] + label:before {
            content: "\f10c";
        }

        .reports input[type=checkbox] + label:before {
            content: "\f096";
        }

    .reports input[type=radio]:checked + label:before {
        content: "\f192";
    }

    .reports input[type=checkbox]:checked + label:before {
        letter-spacing: 8px;
        content: "\f046";
    }

    .reports input[type=checkbox]:indeterminate + label:before {
        content: "\f147";
    }

.dropdown-menu input[type=radio] + label,
.dropdown-menu input[type=checkbox] + label {
    padding: 0 8px;
    width: 100%;
}

.report-field-tag {
    margin: 3px;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0.25em;
}

    .report-field-tag span {
        color: #fff;
        display: inline;
        font-size: 85%;
        line-height: 1;
        padding: 0.2em 0.6em 0.3em;
        text-align: center;
        vertical-align: baseline;
        white-space: nowrap;
        cursor: default;
    }



    .report-field-tag:hover {
        /*background-color: #d92b37;*/
        background-color: rgba(0, 0, 0, 0.35);
    }

    .report-field-tag.active {
        /*background-color: rgba(34, 184, 211, 0.9);*/
        background-color: hsl(var(--color-primary-hsl-base), 40%);
    }

        .report-field-tag.active:hover {
            /*background-color: rgba(34, 184, 211, 1);*/
            background-color: hsl(var(--color-primary-hsl-base), 30%);
        }

#customer-treeview .k-in, .reports .k-treeview .k-in {
    display: none;
}

.reports .k-treeview .k-item.k-first {
    padding: 0;
}

.reports .k-treeview .btn-group .k-icon {
    display: none;
}

/*KENDO UI*/
.k-textbox, .k-dropdown {
    width: 100%;
}

select + .k-dropdown-wrap {
    border-left: 5px solid var(--color-primary) !important;
    padding-left: 7px;
}

.k-grid-filter.k-state-active,
.k-header-column-menu.k-state-active {
    background-color: #C4E6FF;
}

.k-grid-norecords-template {
    border: none;
}

.k-grid-norecords-template {
    width: 100%;
    height: 3em;
    line-height: 3em;
}


/* Customer Box */

.customer-panel-body {
    min-height: 50vh;
}

#customerSearchInput {
    width: 100%;
}

.customer-panel-body > .select-section {
    margin: 25px 0;
}

.customer-panel-body .select-section a {
    cursor: pointer;
}

.customer-boxes {
    width: 100%;
}

    .customer-boxes .customer-box {
        width: 260px;
        height: 70px;
        float: left;
        margin-bottom: 20px;
        box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 0px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
        border-radius: 2px;
    }

        .customer-boxes .customer-box .customer-box-cb {
            float: left;
            width: 40px;
            height: 100%;
            position: relative;
            border-right: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 2px 0 0 2px;
        }

            .customer-boxes .customer-box .customer-box-cb input {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                margin: 0;
                width: 25px;
                height: 25px;
                border: none;
                cursor: pointer;
                outline: none;
            }

            .customer-boxes .customer-box .customer-box-cb label {
                width: 100%;
                height: 100%;
                margin-bottom: 0;
                cursor: pointer;
                background-color: rgba(0, 0, 0, 0.05);
            }

            .customer-boxes .customer-box .customer-box-cb input:checked + label {
                background-color: hsl(var(--color-primary-hsl-base), 80%);
                border-radius: 2px 0 0 2px;
            }

        .customer-boxes .customer-box .customer-box-content {
            float: left;
            width: calc(100% - 40px);
            height: 100%;
            box-sizing: border-box;
            position: relative;
        }

            .customer-boxes .customer-box .customer-box-content .select-section {
                font-size: 12px;
                padding: 0 5px 5px 5px;
                text-align: right;
                color: rgba(0, 0, 0, 0.4);
            }

                .customer-boxes .customer-box .customer-box-content .select-section a {
                    color: rgba(0, 0, 0, 0.4);
                    text-decoration: underline;
                }

            .customer-boxes .customer-box .customer-box-content .customer-box-parent {
                background-color: rgba(0, 0, 0, 0.05);
                border-bottom: 1px solid rgba(0, 0, 0, 0.1);
                font-size: 11px;
                padding: 3px 5px;
                color: rgba(0, 0, 0, 0.5);
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                height: 22px;
            }

            .customer-boxes .customer-box .customer-box-content .subcustomer {
                padding: 3px 5px;
                overflow: auto;
                height: calc(100% - 22px);
            }

/* Map */

.input-group.search-input {
    margin-bottom: 10px;
}

.map-fields {
    position: relative;
}

    .map-fields,
    .map-fields .maps {
        position: relative;
    }

        .map-fields .maps .ad360-addressapp__map {
            width: 100%;
            height: 300px;
            margin-bottom: 10px;
        }

        .map-fields .maps .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,.95) 10%, rgba(255,255,255, 0.95) 35%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0) 75%);
            z-index: 1;
            pointer-events: none;
        }

        .map-fields .map-controls {
            position: absolute;
            top: 0;
            left: 0;
            width: 60%;
            height: 100%;
            z-index: 2;
            padding-left: 15px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

.map-controls .text-fields:first-of-type {
    margin-top: 10px;
}

.text-fields:not(:last-of-type) {
    margin-bottom: 10px;
}

.text-fields .text-field-column {
    width: 50%;
    float: left;
}

.text-fields .text-field-3-column {
    width: 33.33%;
    float: left;
}

    .text-fields .text-field-column:not(:last-of-type),
    .text-fields .text-field-3-column:not(:last-of-type) {
        padding-right: 15px;
    }

.content-box-title {
    font-weight: bold;
}

.fees-table {
    width: 100%;
}

    .fees-table td,
    .fees-table th {
        padding: 4px 8px !important;
    }

    .fees-table .sub-row th:first-of-type,
    .fees-table .sub-row td:first-of-type {
        width: 210px;
    }

table.fees-table--update .date-cell {
    width: 160px !important;
}

.fees-table .sub-row td:first-of-type {
    text-align: right;
    font-size: 13px;
}

.fees-table .date-cell {
    width: 135px;
}

.fees-table .main-row .amount-cell {
    font-weight: bold;
}

table.fees-table.fees-table--details .amount-cell {
    width: 75px !important;
}

.fees-table .amount-cell {
    width: 95px !important;
    text-align: right;
}

    .fees-table .amount-cell input {
        text-align: right;
        font-weight: normal;
    }

.tag-info .checkbox {
    width: 24px;
    height: 24px;
}

input#searchBox {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #ccc;
    padding: 5px 10px
}