/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/IBMPlexSans-Regular.ttf");
}

td.grid-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: var(--primary);
    white-space: nowrap;
}

pre {
    font-weight: bold;
}

.company-title {
    color: var(--information-text-color);
}
/* Overide bootstrap classes */
/* BEGIN TOWP */
.t-status-default {
    border: 2px solid #c7cdd1 !important;
    background: transparent !important;
}

.t-status-pen {
    background-color: var(--primary) !important;
}

.t-status-dra {
    background-color: #FFD27B !important;
}

.t-status-cle {
    background-color: #95D5D3 !important;
}

.t-status-ncl {
    background-color: #FF6358 !important;
}

.t-status-lif {
    background-color: #1861ac !important;
}

.t-status-act {
    background-color: #2ABDB8 !important;
}

.t-status-can {
    background-color: #5B6770 !important;
}
/* END TOWP*/

.list-group-item.active {
    color: inherit;
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.125);
    border-left-width: thick;
    border-left-color: var(--primary);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-style: normal;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.bottom-filler {
    height: 100px;
}

.k-mobile .bottom-filler {
    height: 40px;
}
/* Sticky footer styles
-------------------------------------------------- */
/* -------------------------------------------------- 
    Vitol
*/
.bg-vitol-blue {
    background: #002B54;
    color: #FFFFFF;
}

/* 
-------------------------------------------------- */

html {
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    position: relative;
    height: 100vh;
    font-family: "IBM Plex Sans";
    font-style: normal;
}

#wrap {
    min-height: 100%;
}

#main {
    overflow: auto;
    padding-bottom: 70px; /* this needs to be bigger than footer height*/
}

@media (min-width: 768px) {
    /* CSS that should be displayed if width is equal to or less than 800px goes here */
    #review-section {
        height: 1000px;
        overflow-y: scroll;
        overflow-x: hidden;
    }
}

.header {
    margin-top: 1.5em;
    margin-left: 1.5em;
    flex: none;
}

.content {
    display: flex;
    min-height: 100%;
}

.footer {
    position: relative;
    height: 50px;
    margin-top: -50px;
    width: 100%;
    background: #002B54;
    white-space: nowrap;
    clear: both;
    padding-top: 20px;
}

.main {
    padding-top: 70px;
    color: #5B6770;
}

.login-pg {
    background-image: var(--login-background);
    color: #FFFFFF;
    /*display: flex;
    flex-direction: column;
    background-repeat:no-repeat;*/
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.welcome-message-container {
    background-color: var(--welcome-message-container-background);
}

.login-title-bk {
    padding: 3em;
    line-height: 72px;
}

.login-title1 {
    font-weight: 500;
    font-size: 61px;
    line-height: 72px;
    letter-spacing: -1.5px;
    color: var(--login-title-color);
}

.login-title2 {
    font-size: 31.3px;
    line-height: 72px;
    letter-spacing: 0.1px;
    opacity: 0.5;
    color: var(--login-title2-color);
}

.login-form-bk {
    padding: 3em;
    max-width: 100%;
    width: 450px;
    background-color: #FFFFFF;
    color: #5B6770;
    box-shadow: 0px 16px 32px rgba(0, 51, 160, 0.1);
    border-radius: 4px;
}

.Reset-Password-Info2 {
    text-align: center;
    font-size: 18px;
    font-weight: bolder;
}

.Reset-Password-Error {
    text-align: center;
    font-size: 20px;
    color: #FF0000;
    font-weight: bolder;
}

#logo {
    position: relative;
    left: 1.5em;
    margin-left: 0px;
    padding-left: 0px;
}

.welcome-header {
    padding: 1.5em;
    background: #FFFFFF;
    box-shadow: 0px 8px 24px rgba(0, 51, 160, 0.1);
}

.welcome-header-title1 {
    font-style: normal;
    font-weight: 500;
    font-size: 25px;
    line-height: 32px;
    color: #8095AA;
}

.welcome-header-title5 {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.15px;
    color: #5B6770;
}

.main-title1 {
    margin-top: 0.5em;
    font-weight: 500;
    font-size: larger;
    line-height: 40px;
    letter-spacing: 0.1px;
}

.main-title2 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-weight: 500;
    font-size: large;
    line-height: 24px;
}

.review-card {
    margin-bottom: 1em;
    min-width: 490px;
}

.review-table {
    width: 100%;
}

.review-btn {
    float: right;
}

.review-table td {
    padding: 5px;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
}

.review-table th {
    padding: 5px;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1px;
    color: #8095AA;
    white-space: nowrap;
}

.section-title {
    padding-left: 1em;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    display: flex;
    align-items: center;
    color: #5B6770;
}

.section-collapse {
    align-content: center;
}


.detail-side-nav {
    background: #EBEEF1;
}

#detail-jump {
    margin: 7em 0em 2em 1em;
}

.detail-table {
    width: 100%;
    padding: 1em 0em;
}

    .detail-table th, td {
        padding: 10px;
        text-align: left;
    }

.detail-value {
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    /* identical to box height, or 160% */
    text-align: right;
    letter-spacing: 0.15px;
    /* Neutrals / Tuna */
    color: #5B6770;
}

.detail-code {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8095AA
}

.detail-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #5B6770;
}

.edit-detail-table {
    width: 100%;
    padding: 1em 0em;
    padding: 10px;
}

.edit-detail-code {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8095AA
}

.edit-detail-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #5B6770;
}

.edit-detail-col2 {
    min-width: 250px;
    text-align: center;
}


.Dashboard-Shorcut {
    padding: 1em;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1px;
    color: #5B6770;
    border-radius: 4px;
}


.Error {
    font-family: IBM Plex Sans;
    font-style: normal;
    font-weight: bolder !important;
    font-size: 31.3px;
    line-height: 40px;
    /* or 160% */
    display: flex;
    align-items: center;
    letter-spacing: 0.1px;
    color: #dc3545 !important;
}

/*left: 50%;*/
.easypie {
    display: inline-block;
    position: relative;
    padding: 0 5px;
}

    .easypie span {
        display: block;
        position: absolute;
        top: 48%;
        width: 100%;
        margin-left: -20%;
        height: 30px;
        margin-top: -15px;
        font-size: 20px;
    }

    .easypie canvas {
        max-width: 100%;
    }

.app-drawer-content {
    height: 100vh;
}

.env {
    width: 100%;
    text-align: center;
    font-size: 14pt;
    font-weight: bold;
}

.env-local {
    background-color: green;
    color: white;
}

.env-development {
    background-color: orange;
    color: white;
}

.env-demo {
    background-color: rgb(0, 137, 255);
    color: white;
}

.env-staging {
    background-color: red;
    color: white;
}


.env-other {
    background-color: black;
    color: white;
}

.validation-summary-errors {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
    position: relative;
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

    .validation-summary-errors ul {
        padding: 0;
    }

    .validation-summary-errors li {
        list-style-type: none;
    }

        .validation-summary-errors li a[href] {
            color: #842029;
        }

            .validation-summary-errors li a[href]:hover {
                color: #000;
            }

img.login-page-logo {
    width: 140px
}

img.sarmale-login-page-logo {
    width: 400px
}

k-mobile.navigate-back-link {
    margin-top: 20px;
}
/* Styles copied manually from Luke's design' */
.towp-todays-price {
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 35px;
    display: flex;
    align-items: center;
}

.towp-serie-01 {
    color: red;
}

[data-container-for="SelectedDestinationDesc"],
[data-container-for="SelectedDestinationAddress"],
[data-container-for="DestinationLicenseNumber"],
[data-container-for="SelectedTruckPlate"],
[data-container-for="PressureCertificateExpiryDate"],
[data-container-for="SelectedDriverName"],
[data-container-for="SelectedTransporter"],
[data-container-for="SelectedBitutainerId"],
[data-container-for="SelectedTruckPlate"],
[data-container-for="SelectedTrailerPlate"] {
    display: none;
}

input[readonly="readonly"],
textarea[readonly="readonly"] {
    cursor: default;
    opacity: 0.6;
    filter: grayscale(0.1);
    pointer-events: none;
}

#passcodeForm .k-form-field {
    text-align: center;
}

.passcode-char {
    width: 50px !important;
    height: 60px !important;
    font-size: 32px !important;
}

.towp-body {
    background-color: #fafafa;
}

span[aria-controls="adminCompany_listbox"] {
    width: 40em !important;
}

.disclaimer {
    font-style: italic;
    width: 100%;
    font-size: 14px;
}

.k-form-buttons .disclaimer {
    margin-top: 1rem;
}

.disclaimer a[href] {
    text-decoration-line: underline;
}

.k-mobile span[aria-controls="adminCompany_listbox"] {
    width: 10em !important;
}
/** =========================================================== */
/*     OVERRIDEN COMMON KENDO STYLES */
/** =========================================================== */
.k-form-fieldset:nth-child(1) {
    margin-top: 0;
}

[name="NewOrderForm"] .k-form-buttons {
    display: block !important;
}
/** =========================================================== */
/*      MOBILE SPECIFIC STYLES */
/** =========================================================== */
.k-mobile .k-d-grid {
    display: flow !important;
}

.k-mobile .k-window:not(.k-dialog.k-confirm) {
    left: 0 !important;
    width: 100% !important;
}

.k-mobile .k-window.k-dialog.k-confirm {
    width: 350px !important;
}

.k-mobile .k-card-body {
    overflow: scroll;
    /*max-width: 500px;*/
}

.k-mobile .k-grid {
    min-width: 2000px;
}

.algasco .k-mobile div.k-card:nth-child(2) {
    display: none !important;
}

.k-mobile #jollofTowpTileLayout .k-tilelayout-item {
    grid-column-end: span 5 !important;
}

.k-mobile .k-grid-content {
    height: fit-content !important;
}

.k-mobile .k-toolbar .k-toolbar-overflow-button {
    margin-inline-start: inherit;
}

.k-mobile .login-title-bk {
    display: none;
}

.k-mobile .login-form-bk.col-5 {
    flex: initial;
    margin: 10px;
}

.k-mobile .container.h-100 {
    height: auto !important;
}

.k-mobile span#app-logo {
    display: none;
}

.k-mobile .k-grid col {
    width: auto !important;
}

.k-mobile .k-spacer {
    flex: none;
}

.k-mobile img.static-content-logo {
    width: 40px;
    margin-left: 0px;
}

.k-mobile .static-content-container {
    padding: 10px;
    margin: 10px;
}

.k-mobile .static-content-container-inner {
    margin-bottom: 40px;
}

.k-mobile .static-content-header-text {
    font-size: 1.5em;
}

header .static-content-header {
    padding-top: 20px;
}

.static-content-header-text {
    font-size: 3em;
    display: flex;
    align-items: center;
}

.static-content-container {
    background-color: #ffffff;
    color: var(--information-text-color) !important;
    padding: 40px;
    margin: 40px;
    max-width: 1800px;
}

    .static-content-container hr {
        background-color: var(--primary);
    }


footer.towp-footer {
    color: var(--footer-text-color) !important;
    position: fixed;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: var(--footer-background-color);
    font-size: small;
}

.k-mobile footer.towp-footer {
    font-size: xx-small;
}

.towp-footer div.text-center {
    padding: 5px;
}

    .towp-footer div.text-center > p {
        margin-top: 0;
        margin-bottom: 0;
    }

.static-content-page {
    background-image: var(--login-background);
    color: #FFFFFF;
}

img.static-content-logo {
    width: 140px;
    margin-left: 25px;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

/** =========================================================== */
/*      COOKIE CONSENT OVERRIDING STYLES */
/** =========================================================== */
#cc-main .cm__btn,
#cc-main .pm__btn {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.02));
}

.alert-icon {
    font-size: 48px
}

.alert-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}
/** =========================================================== */
/*      OVERRIDING SOME BOOTSTRAP STYLES
/** =========================================================== */
.badge.towp-badge {
    display: inline;
    font-weight: 500;
    padding: .25em .4em;
    font-size: 75%;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.alert-success .navigate-back-link {
    color: darkgreen !important;
}

/** =========================================================== */
/*      _MyCounterparties.cshtml
/** =========================================================== */


.display-hidden {
    opacity: 0;
    overflow: hidden;
}

.display-grid {
    display: grid;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.my-counterparties-tile {
    font-size: smaller;
}

.my-counterparties-tile[data-item-current="false"] {
        cursor: pointer;
}

.my-counterparties-tile-header {
}

.my-counterparties-name {
    font-weight: bold;
}

.my-counterparties-code {
    /*    font-weight: bold;
    float: right;*/
}

#counterPartiesTileLayout .k-card-body {
    padding-block: 8px;
    padding-inline: 8px;
}

.current-tile {
    border: 2px solid var(--cc-btn-primary-bg) !important;
}

.my-counterparties-loading-icon {
    width: 24px;
    display: inline;
    vertical-align: middle;
}

.my-counterparties-loading-icon .spinner-border {
    width: 1rem;
    height: 1rem;
}


.toggle-icon {
  float: right;
  cursor: pointer;
  font-size: 16px;
  color: #0078d7;
}

/** =========================================================== */
/*      INSTANCE SPECIFIC */

/* HIDE COMPLETELY My Counterparties control on mobile*/
.k-mobile #sarmaleTowpTileLayout .k-tilelayout-item[data-index="0"] {
    display: none;
}
/* HIDE My Counterparties body when page first load */
#sarmaleTowpTileLayout > :first-child > .k-card-body {
    display: none;
}

[for="IsIncludeTransportation"], [data-container-for="IsIncludeTransportation"] {
    /*float:right;*/
}
[for="IsIncludeTransportation"] {

}