﻿@font-face {
    font-family: 'Lato';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Lato-regular.eot');
    src: url('../fonts/Lato-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/Lato-regular.woff2') format('woff2'), url('../fonts/Lato-regular.woff') format('woff'), url('../fonts/Lato-regular.ttf') format('truetype'), url('../fonts/Lato-regular.svg#Lato') format('svg');
}

@font-face {
    font-family: 'Abel';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Abel-regular.eot');
    src: url('../fonts/Abel-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/Abel-regular.woff2') format('woff2'), url('../fonts/Abel-regular.woff') format('woff'), url('../fonts/Abel-regular.ttf') format('truetype'), url('../fonts/Abel-regular.svg#Abel') format('svg');
}

@font-face {
    font-family: 'Josefin Sans';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Josefin-Sans-regular.eot');
    src: url('../fonts/Josefin-Sans-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/Josefin-Sans-regular.woff2') format('woff2'), url('../fonts/Josefin-Sans-regular.woff') format('woff'), url('../fonts/Josefin-Sans-regular.ttf') format('truetype'), url('../fonts/Josefin-Sans-regular.svg#JosefinSans') format('svg');
}

html, body {
    height: 100%;
}

.full-height {
    height: 100%;
}

body {
    font-family:  Helvetica, sans-serif, 'Courier New';
    background-color: #d4d4d4;
    font-size: 16px;
    color: #454d59;
}


/*=============================================================================*/

.body-content {
    max-width: 1700px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: Abel, Josefin Sans, Lato, sans-serif;
    font-weight: 600;
    line-height: 1.1;
    color: #808080;
}

.DSW_NavTitle {
    font-size: 29px;
    color: #fff;
    position:relative;
    top:-43px;
    left:-30px
}

.emptyDiv {
    height:58px;
    width:200px
}

.DSW_NavTitle_img {
    position: relative;
    top: 0px;
    left: 0px
}

.DSW_NavTitle_link:focus {
    background-color: transparent;
}

.DSW_NavTitle_link:hover {
    background-color: transparent;
}

.navbar-custom {
    font-family: Abel, Josefin Sans, Lato, sans-serif;
    background-color: #454d59;
    color: #d4d4d4;
    border-radius: 0;
}

.navbar-custom .navbar-toggler {
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.DSW_bg-dark {
    background-color: #343a40 !important;
}

a.DSW_bg-dark:hover, a.DSW_bg-dark:focus,
button.DSW_bg-dark:hover,
button.DSW_bg-dark:focus {
    background-color: #1d2124 !important;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.DSWLink {
    background-color: #454d59;
    display: -ms-flexbox;
    color: white;
    height: 100%;

}

.DSWLink:hover {
    background-color: #d4d4d4; /*#0069d9;*/
    display: -ms-flexbox;
    color: #ffffff;
}

.force-front {
    z-index: 9999 !important;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px; /* Height of the footer */
    background-color: #2ad0dd;
    color: #ffffff;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.navbar ul li a {
    color: #fff;
}

.navbar ul li a:hover, a:active {
    color: black;
    background-color: #d4d4d4;
}

.navbar-nav > li > .dropdown-menu {
    font-family: Abel, Josefin Sans, Lato, sans-serif;
    font-size: 18px;
}

.navbar-nav > li > .dropdown-menu a {
    color: black;
}

.nav-tabs > li > a {
    background-color: lightslategray;
    border-color: #FFFFFF;
    color: white;
}

.nav-tabs > li > a:hover {
    color: black;
}

dsw_legend {
    font-family: Abel, Josefin Sans, Helvetica, Lato;
    display: block;
    width: 100%;
    padding: 0px;
    line-height: inherit;
    color: #454d59;
    border: 0;
    margin-top: 8px;
    margin-bottom: 18px;
    font-size: 26px;
    border-bottom: 2px solid #454d59;
}

dsw_exception {
    font-family: Abel, Josefin Sans, Helvetica, Lato;
    color: white;
    font-size: 20px;
}

.field-validation-error {
    color: #f7945b;
}

th {
    font-family: Abel, Josefin Sans, Helvetica, Lato;
    color: #d4d4d4 !important;
    background-color: #454d59 !important;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: lightslategray;
    color: white;
    font-size: 14px;
}

#_BS_Overrides ._BS_Overrides2 tbody,
#_BS_Overrides ._BS_Overrides2 thead,
#_BS_Overrides ._BS_Overrides2 th,
#_BS_Overrides ._BS_Overrides2 td {
    border: 1px solid #454d59;
}

.table-bordered td, .table-bordered th {
    border: 1px solid #454d59;
}

.btn {
    padding: 3px 8px;
    border: 0 none;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn:focus, .btn:active:focus, .btn.active:focus {
    outline: 0 none;
}

.btn-primary {
    background: #454d59;
    color: #ffffff;
}

.modal-header, .close {
    background-color: #d4d4d4;
    color: #454d59;
    font-family: Helvetica, sans-serif, 'Courier New';
    border-bottom: 1px solid #454d59;
}

.modal-footer {
    background-color: #d4d4d4;
    color: #454d59;
    font-family: Abel, Helvetica, sans-serif, 'Courier New';
    border-top: 1px solid #454d59;
}

.modal-content {
    background-color: #d4d4d4;
}

.ui-autocomplete > li > div {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-family: 'Courier New';
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    white-space: nowrap;
}

.input-xs {
    height: 28px;
    padding: 3px 8px;
    font-size: 12px;
    line-height: 1.4;
    border-radius: 1.5px;
}

.validation-summary-valid.alert-danger {
    display: none;
}

.alert-bp {
    font-family: Abel, Josefin Sans, Helvetica, Lato;
    color: #454d59 !important;
    background-color: #454d59 !important;
    border-width: 3px;
}

.dsw_form-control .form-control:focus {
    /*color: #454d59;*/
}

.dsw_form-control label {
    /*margin-bottom: 0px;*/
}

.dsw_form-control .form-control {
    /*color: #454d59;
    background-color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    max-width: 300px;
    margin-right: 8px;
    border: 1px solid #454d59;*/
}

.DSWMargin0 {
    margin-top: 0;
    margin-bottom: 0;
}

.DSWPadding0 {
    padding-top: 0;
    padding-bottom: 0;
}

.DSWPadding0 {
    border-top: 0;
    border-bottom: 0;
}

.height100px{
    height:100px
}

.pdding10 {
    padding-right:100px;
}

.DSW_no_space{
    padding:0; margin:0; border:0;
}


.DSW_float_right {
    float:right;
}

#statusMessage {
    font-family: Josefin Sans, Abel, Lato, Helvetica;
    visibility: hidden;
    min-width: 250px;
    text-align: center;
    /*position: fixed;*/
    z-index: 1;
    bottom: 40px;
    font-size: 16px;
    
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
}

#statusMessage.show{visibility: visible;-webkit-animation:fadein 0.6s, fadeout 0.6s 3.5s;animation:fadein 0.6s, fadeout 0.6s 3.5s;}
@-webkit-keyframes fadein{from{bottom:0;opacity:0;}to{bottom:40px;opacity:1;}}
@-webkit-keyframes fadeout{from{bottom:40px;opacity:1;}to{bottom:0;opacity:0;}}
@keyframes fadein {from{bottom:0;opacity:0;}to{bottom:40px;opacity:1;}}
@keyframes fadeout{from{bottom:40px; opacity:1;}to{bottom:0;opacity:0;}}

.center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

._dateTimePicker {
    color: black !important;
    width:300px;
}
.ui-datepicker-year {
    color:black;
}
.ui-datepicker-month {
    color: black;
}

.ui-datepicker-trigger {
    border: 1px solid #454d59;
    background: none;
    float: left;
    position: relative;
    left: 2px;
    display: block;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    width: calc(1.5em + 0.75rem + 2px);
}

.floatLeft{
    float: left;
}

.pmb_0 .form-control {
    /*padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
    border-bottom: 0px;*/
    width: 70px;
}

.form-control option {
    background-color: white;
    outline: none;
}


/*=============================================================================*/

.mr_20 {
    margin-right: 20px;
}



/*=============================================================================*/
._navLink {
    padding: 8px;
    height: 40px;
    position:relative;
    top:-1px;
}

._navLink :hover {
    background-color: #d4d4d4;
    color: #16181b;
    text-decoration: none;
}

._navLink a {
    padding: 9.5px;
    height: 40px;
}

/*=============================================================================*/

label {
    margin:0px;
}

input, select{
    margin-bottom:8px;
}

.modal-content {
    padding-left: 15px;
    padding-right: 15px;
    /*padding-top:15px;
    padding-bottom:15px;*/
}

.orderView_MarginTop{
    margin-top:30px;
}

/*=============================================================================*/
.custom-combobox {
    position: relative;
    display: inline-block;
}
.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: 1px;
    padding: 0;
}
.custom-combobox-input {
    margin: 0;
    padding: 5px 10px;
    font-family: Abel, Josefin Sans, Lato, sans-serif;
    font-size: 16px;
}
._combobox_box .custom-combobox .custom-combobox-input {
    padding-top: 6px;
    padding-bottom: 6px;
    height: 38.003px;
    width: calc(var(--_width));
}
._combobox_box {
    position: relative;
    margin-right: 32px;
}
._combobox_box ._clearBtn {
    padding-top: 7px;
    padding-left: 1px;
    position: absolute;
    left: calc(var(--_width) - 26px);
    top: 4px;
    height: 30px;
    width: 23px;
    background-color: #f6f6f6;
    color:#454545; 
    /*background-color: red;*/
}


/*=============================================================================*/
.ui-menu {
    list-style: none;
    padding: 2px;
    margin: 0;
    display: block;
    float: left;
    z-index: 99999;
}

.ui-autocomplete > li > div {
    font-family: Abel, Josefin Sans, Lato, sans-serif;
    font-size:16px;
}


/*=============================================================================*/
.dswTable > tbody > tr > td {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
}

.dswTable > tbody > tr > td > input {
    margin-bottom:0px
}

input, select {
    margin-bottom:0px;
}


/*=============================================================================*/
.ui-autocomplete {
    max-height: 400px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}
/* IE 6 doesn't support max-height we use height instead, but this forces the menu to always be this tall */
* html .ui-autocomplete {
    height: 400px;
}


/*=============================================================================*/
.supplierSelected .custom-combobox .custom-combobox-input {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.supplierNotSelected .custom-combobox .custom-combobox-input {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.supplierSelected .custom-combobox .custom-combobox-toggle {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.supplierNotSelected .custom-combobox .custom-combobox-toggle {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.supplierSelected ._clearBtn {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.supplierNotSelected ._clearBtn {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}



/*=============================================================================*/

.input-validation-error, .input-validation-error + span > input, .input-validation-error + span > a {
    color: #721c24;
    background-color: #f8d7da;
    border-width: 1.5px !important;
    border-style: solid !important;
    border-color: red !important;
}

 .input-validation-error ~ ._clearBtn {
    color: #721c24;
    background-color: #f8d7da;
}


/*=============================================================================*/
.notesNotAdded{

}

.notesAdded {
    background-color: #007bff;
}

/*todo nice to have
    
    .notesAdded:hover{
    background-color: !important #454d59; 
}*/

/*=============================================================================*/
.marginTop24px{
    margin-top:24px;
}


.modal2 {
    position: relative;
    right: 0;
    left: 0;
    z-index: 0;
}

._modelContent, ._modelContent form div{
    background-color: #e9ecef;
}


/*=============================================================================*/
.porterFees_MarginTop {
    margin-top: 12px;
}

/*=============================================================================*/
.padding_LR_0 th {
    padding-left: 0px;
    padding-right: 0px
}


.margin_left_15{
    margin-left:15px
}

.margin_left_200 {
    margin-left: 192px
}

.margin_left_204 {
    margin-left: 194px;
}


.cbPorterFees_xy {
    position: relative;
    top: -3px;
}


._hidden {
    display: none;
}

.tablebuttonposition{
    position:relative;
    top:5px;
}

.width_110 {
    width: 110px;
}

.width_300 {
    width: 300px;
}


/*=============================================================================*/
@media (min-width:0px) {
    .modal-xxl {
        max-width: 1590px;
        min-width: 1590px;
    }
}

.margintopModal{
    margin-top:46px;
}

#modalTable .modal-content{
    border-style:none;
    
}


.backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.modul {
    padding: 15px;
    background-color: #d4d4d4;
    color: #454d59;
    margin: auto;
    position: relative;
    border-radius: 0.3rem;
}




.dswTable tr:nth-child(even) {
    background-color: #a6a6a6;
}

.dswTable tr:nth-child(even) .form-control:disabled {
    background-color: rgba(233, 236, 239, .2);
    border-color: rgba(233, 236, 239, .2)
}

.dswTable tr:nth-child(even) .form-control,
tr:nth-child(even) .custom-combobox * {
    background-color: rgba(255, 255, 255, .4)
}

.dswTable tr:nth-child(even) ._combobox_box ._clearBtn,
tr:nth-child(even) ._combobox_box .ui-icon-triangle-1-s {
    background-color: rgba(255, 255, 255, .0);
}


/*=============================================================================*/
#_BS_Overrides .dswTable .margin .profitZero {
    color: #454545;
    background-color: #f6f6f6;
    border-color: #454545;
}

#_BS_Overrides .dswTable .margin .profitOk {
    color: #155724;
    background-color: #d4edda;
    border-color: rgba(21, 87, 36, .15);
}

#_BS_Overrides .dswTable .margin .profitWarning {
    color: #721c24;
    background-color: #f8d7da;
    border-color: rgba(114, 28, 36, .15)
}

.marginTop_5px{
    margin-top:5px
}

.marginTop_10px {
    margin-top: 10px
}

.marginTop_12px {
    margin-top: 10px
}

.marginTop_15px {
    margin-top: 12px
}

.marginBottom_5px {
    margin-bottom: 5px
}

.marginBottom_10px {
    margin-bottom: 10px
}

.marginBottom_12px {
    margin-bottom: 12px
}

.marginBottom_15px {
    margin-bottom: 15px
}


.marginLeft_5px {
    margin-left: 5px
}

.marginLeft_10px {
    margin-left: 10px
}

.marginLeft_15px {
    margin-left: 15px
}

.marginRight_5px {
    margin-right: 5px
}

.marginRight_10px {
    margin-right: 10px
}

.marginRight_15px {
    margin-right: 15px
}

.DSW_Blue_Colour * {
    //color: #0045A8;
    color: #007bff;
}

.DSW_Blue_BGColour * {
    //background-color: #0045A8;
    background-color: #007bff;
}

.modCancel_b .modal-content,
.modCancel_b .modal-header,
.modCancel_b .modal-body,
.modCancel_b .modal-footer {
    background-color: #C9C9C9
}

.modEntityPONotes_b .modal-content,
.modEntityPONotes_b .modal-header,
.modEntityPONotes_b .modal-body,
.modEntityPONotes_b .modal-footer {
    background-color: #C9C9C9
}

#_BS_Overrides ._BS_Overrides2 #modCancel, #_BS_Overrides ._BS_Overrides2 #modEntityPONotes {
    z-index: 999999999 !important;
}


input[type="text"]:disabled {
    color: rgba(69,77,89,0.9);
}

.pagei li {
    min-width: 40px;
    text-align: center
}

.pagei .blank {
    min-width: 0px;
    text-align: center
}

.pageiHide {
    display: none;
}

/*.ui-autocomplete {
    position: absolute;
    cursor: default;
    background: #CCC
}

html .ui-autocomplete {
    width: 1px;
}

.ui-menu {
    list-style: none;
    padding: 2px;
    margin: 0;
    display: block;
    float: left;
}

.ui-menu .ui-menu {
    margin-top: -3px;
}

.ui-menu .ui-menu-item {
    margin: 0;
    padding: 0;
    zoom: 1;
    float: left;
    clear: left;
    width: 100%;
}

.ui-menu .ui-menu-item a {
    text-decoration: none;
    display: block;
    padding: .2em .4em;
    line-height: 1.5;
    zoom: 1;
}

.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
    font-weight: normal;
    margin: -1px;
}*/