/*Framework styling*/
.page-header.navbar .page-logo .logo-default {
    margin: 5px 0 !important;
}

li.nav-item.active a {
    border-left: 4px solid transparent !important;
}

/*Form styling*/
form select[required]:invalid + span.select2 span.select2-selection,
form textarea[required]:invalid + div.note-editor,
form input[required]:invalid,
form select[required]:invalid,
form textarea[required]:invalid {
    border: solid 1px #e73d4a;
}

.required-field {
    border: solid 1px #e73d4a;
}

.form-actions {
    border: none !important;
}

.note-editor > .modal > .modal-dialog > .modal-content > .modal-body > * {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

/*Grid styling*/
/*Bulk editor*/
span.k-dirty {
    margin: -.8em 0 0 -.6em !important;
}

/*Tooltip*/
td[role=gridcell] a.k-button {
    min-width: 0 !important;
}

.icon-tooltip {
    font-size: 18px;
    margin-right: 5px;
}

/*Tables styling*/
table tr td.text-top {
    vertical-align: top !important;
}

/*MISC*/
.display-none {
    display: none;
}

div.back-button {
    margin-top: 4px;
}

.actions a:hover {
    text-decoration: none;
}

/*Modal window*/
@media only screen and (min-width: 320px) {
    .modal-sm-custom {
        width: 320px;
    }
}

@media only screen and (min-width: 480px) {
    .modal-sm-custom {
        width: 350px;
    }
}

@media only screen and (min-width: 768px) {
    .modal-sm-custom {
        width: 350px;
    }
}

@media only screen and (min-width: 992px) {
    .modal-sm-custom {
        width: 350px;
    }

    .modal-xl {
        width: 900px;
    }

    .modal-xxl {
        width: 950px;
    }

}

@media only screen and (min-width: 1200px) {
    .modal-sm-custom {
        width: 350px;
    }

    .modal-xl {
        width: 1100px;
    }

    .modal-xxl {
        width: 1150px;
    }
}

@media only screen and (min-width: 1500px) {
    .modal-sm-custom {
        width: 350px;
    }

    .modal-xxl {
        width: 1450px;
    }
}

.k-grid-header th.k-header {
    position: relative;
}

.k-grid-header th[aria-sort] a.k-link {
    padding-left: 15px !important;
}

.k-grid-header th[aria-sort] .k-link .k-icon {
    position: absolute;
    top: 8px;
    left: 2px;
}

/**
ACTIVE DROPDOWN ITEM IN THE MAIN MENU
 */
.classic-menu-dropdown.active > a > i.fa-angle-down {
    color: white !important;
}

.order-label-sm {
    line-height: 30px;
    font-size: 12px;
}

.page-header.navbar .hor-menu .navbar-nav > li > a > i {
    color: #ffffff !important;
}

/** useful general custom classes */
.p-l-0 {
    padding-left: 0 !important;
}

.p-r-0 {
    padding-right: 0 !important;
}

.p-lr-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.m-l-0 {
    margin-left: 0 !important;
}

.m-l-0 {
    margin-right: 0 !important;
}

#type_parent .select2-container--bootstrap .select2-selection--multiple {
    min-height: 30px !important;
}

#type_parent input::placeholder, #type_parent input::-webkit-input-placeholder {
    font-size: 13px !important;
    opacity: .8;
}

.table.locations-table > tbody > tr > td,
.table.relations-table > tbody > tr > td {
    border: 0;
}

.table.opening-hours-table > tbody > tr > td {
    border: 0;
}

.table.opening-hours-table {
    margin-left: 50px;
    width: 670px;
}

.error-holder-form-collective .help-block {
    color: #e73d4a;
}

.maritim-wrapper {
    margin-top: -15px;
}

.maritim-blocks > h3 {
    margin-top: 0;
}

.operators-form .select2-container--bootstrap .select2-selection--single {
    height: 30px !important;
    line-height: 1.2 !important;
}

.operators-form .select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
    font-size: 12px !important;
    opacity: 0.9 !important;
}

.settings_telephony_icon {
    font-size: 22px;
    margin-top: 8px;
    cursor: pointer;
}

.add_invoicing_email_icon {
    font-size: 18px;
    margin-top: 8px;
    cursor: pointer;
}

.modal-dialog.modal-lg.warning {
    margin-top: 150px;
    width: 40%;
}

.k-pager-wrap .k-dropdown {
    width: 5.5em !important;
}

span[data-element-double-click] {
    color: #337ab7;
    cursor: pointer;
}

.priorities {
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.priority-low {
    background-color: #b3d4ff;
    border-color: #b3d4ff;
    color: #0052cc;
}

.priority-medium {
    background-color: #ffab00;
    border-color: #ffab00;
    color: #253858;
}

.priority-high {
    background-color: #de350b;
    border-color: #de350b;
    color: #fff;
}

div[data-priority="1"] {
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    background-color: #de350b;
    border-color: #de350b;
    color: #fff;
}

div[data-priority="2"] {
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    background-color: #ffab00;
    border-color: #ffab00;
    color: #253858;
}

div[data-priority="3"] {
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    background-color: #b3d4ff;
    border-color: #b3d4ff;
    color: #0052cc;
}

.nav.nav-pills li.has-error {
    background-color: #fff !important;
    color: #e73d4a;
    /*border-style: inset;*/
}

.nav.nav-pills li.has-error > a {
    /*background-color: #fff !important;*/
    /*color: #e73d4a;*/
    padding-left: 30px;
    /*border-style: inset;*/
}


.nav.nav-pills li.has-error.active > {
    background-color: #e73d4a !important;
    color: #fff;
}

.nav.nav-pills li.has-error.active > a {
    background-color: #e73d4a !important;
    color: #fff;
    padding-left: 30px;
}

.nav.nav-pills li.has-error > a:before {
    font-family: FontAwesome;
    content: "\f071";
    display: inline-block;
    padding-right: 0px;
    vertical-align: middle;
    color: #e73d4a;
    font-size: 15px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    /*dc3545*/
}

.nav.nav-pills li.has-error.active > a:before {
    font-family: FontAwesome;
    content: "\f071";
    display: inline-block;
    padding-right: 0px;
    /*vertical-align: middle;*/
    color: #fff;
    font-size: 15px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    /*dc3545*/
}

.fa-grid-toolbar {
    font-size: 13px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 1em;
    height: 1em;
    text-align: center;
    vertical-align: middle;
    background-image: none;
    speak: none;
    font-variant: normal;
    text-transform: none;
    text-indent: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: inherit;
    /*margin-right: 3px;*/
    margin-right: .1875em;
    /*margin-left: -2px;*/
    margin-left: -.125em;
}

.k-state-selected span[data-element-double-click] {
    color: #fff;
}

.k-checkbox-label.k-no-text {
    vertical-align: middle;
    line-height: 1;
}

.price, .costs, .route {
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.price.price-not, .costs.costs-not, .route.route-not {
    background-color: #de350b;
    border-color: #de350b;
    color: #fff;
}

.price.price-yes, .costs.costs-yes, .route.route-yes {
    color: #fff;
    background-color: #31ad6b;
    border-color: #31ad6b;
}

.flagged-grid th[data-field="price"] a.k-link > span icon:before {
    font-family: "FontAwesome";
    font-weight: 900;
    content: "\f059";
}

.flagged-grid th[data-field="price"] a.k-link > span {

}

.flagged-grid th[data-field="price"] a.k-link > span span {
    visibility: hidden;
}

.flagged-grid th[data-field="costs"] a.k-link > span icon:before {
    font-family: "FontAwesome";
    font-weight: 900;
    content: "\f059";
}

.flagged-grid th[data-field="costs"] a.k-link > span {

}

.flagged-grid th[data-field="costs"] a.k-link > span span {
    visibility: hidden;
}

.flagged-grid th[data-field="route"] a.k-link > span icon:before {
    font-family: "FontAwesome";
    font-weight: 900;
    content: "\f059";
}

.flagged-grid th[data-field="route"] a.k-link > span {

}

.flagged-grid th[data-field="route"] a.k-link > span span {
    visibility: hidden;
}

.k-state-selected-error {
    color: #fff !important;
    background-color: #de350b !important;
    border-color: #de350b !important;
}

.k-grid-sendInvoices, .k-grid-export, .k-grid-exportInvoices, .k-grid-runPurchaseScript, .k-grid-runInvoicesScript, .k-grid-runSalesCostScript, .k-grid-openInANewWindow {
    float: right;
}

.selectize-control .selectize-input.disabled {
    background-color: #eef1f5 !important;
    color: #555 !important;
    opacity: 0.899999 !important;
}

.surcharges-table-style tbody {
    display: block;
    overflow: auto;
    height: 150px;
}

.scale-rates-table-style tbody {
    display: block;
    overflow: auto;
    height: 350px;
}

.surcharges-table-style tbody td, .scale-rates-table-style tbody td {
    width: 83%;
    padding-left: 0 !important;
    position: relative;
}

.surcharges-table-style thead th, .scale-rates-table-style thead th {
    padding-left: 0 !important;
}

.surcharges-table-style thead th:nth-child(2) {
    position: absolute;
    top: 0;
    right: 14%;
}

.scale-rates-table-style thead th:nth-child(2) {
    position: absolute;
    top: 0;
    right: 12%;
}

.surcharges-table-style thead tr, .scale-rates-table-style thead tr {
    display: block;
}

[data-section_goods] .selectize-dropdown-content {
    max-height: 70px !important;
}

.matching_booking_costs_section input[readonly], .unmatching_booking_costs_section input[readonly] {
    cursor: default;
    pointer-events: none;
    background-color: rgba(239, 239, 239, 0.3);
    border-color: rgba(118, 118, 118, 0.3);
}

.search-filter-icon {
    font-size: 17px;
    margin-top: 19px;
    margin-left: 5px;
    margin-right: 5px;
    color: #ffb400;
}

.search-filter-icon + div.tooltip .tooltip-inner {
    margin-top: 8px !important;
    min-width: 300px !important;
    text-align: left !important;
}

/*Highlight dummy rows in Kendo grids*/
.k-grid-content .dummyRow {
    background-color: #00ffff36;
}

.tours-with-started-conversations > .list-group-item {
    cursor: pointer;
}

.k-grid-readyForSPCheck {
    float: right;
}
