
div[role='dialog'].fade.modal.show {
    z-index: 9999;
}
.fade.show {
    opacity: 1;
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.fade.modal.show {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.fade.show {
    transition: opacity .15s linear;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal.show .modal-dialog.schedule_modal {
    -webkit-transform: none;
    transform: none;
}

.modal.fade .modal-dialog.schedule_modal {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    -webkit-transform: translate(0,-50px);
    transform: translate(0,-50px);
}
.modal-dialog.schedule_modal {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.schedule_modal .modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
}
.schedule_modal .modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}
.schedule_modal .modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}
.schedule_modal .modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}

.schedule_modal .modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.schedule_modal .h4, .schedule_modal h4 {
    font-size: 1.5rem;
}

.schedule_modal .h1, .schedule_modal .h2, .schedule_modal .h3, .schedule_modal .h4,
.schedule_modal .h5, .schedule_modal .h6, .schedule_modal h1, .schedule_modal h2, .schedule_modal h3
, .schedule_modal h4, .schedule_modal h5, .schedule_modal h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}


.schedule_modal .modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}

.schedule_modal [type=button]:not(:disabled)
, .schedule_modal [type=reset]:not(:disabled)
, .schedule_modal [type=submit]:not(:disabled)
, .schedule_modal button:not(:disabled) {
    cursor: pointer;
}
.schedule_modal button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
}
.schedule_modal .close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.schedule_modal button, .schedule_modal select {
    text-transform: none;
}
.schedule_modal button, .schedule_modal input {
    overflow: visible;
}
.schedule_modal button, .schedule_modal input, .schedule_modal optgroup, .schedule_modal select, .schedule_modal textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
.schedule_modal .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.schedule_modal .btn-primary {
    color: #fff;
    font-weight: 600;
    background-color: #337ab7;
    border-color: #2e6da4;
    border-radius: 0;
}
.schedule_modal .modal-footer>* {
    margin: 0.25rem;
}

.schedule_modal .btn,
#id_shipping_schedules .btn
 {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.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;
}

.vessel_settings_table {
    width: 100%;
    font-size: 13px;
}
.add_vessel_popup.schedule_modal {
    width: 900px;
    max-width: 900px !important;
}
.add_vessel_popup.schedule_modal .modal-content {
    width: 900px !important;
}
.vessel_settings_line {
    border: 1px solid #777;
    border-bottom: none;
}
.vessel_settings_line td {
    padding: 5px;
    border: 1px solid #999;
    border-bottom: none;
}
.vessel_settings_line_type > div {
    display: inline;
    margin: 2px 5px 2px 0px;
    border: 1px solid #337ab7;
    border-radius: 4px;
    background: #aaa;
    font-size: 12px;
    white-space: nowrap;
    padding-left: 2px;
}
.vessel_settings_line_type
{
    display: flex;
    flex-wrap: wrap;
    width: 320px;
}
.vessel_settings_line_type_delete {
    border: 1px solid #337ab7;
    font-weight: bold;
    margin: 2px 1px 2px 5px;
    background: #ed000b;
    border-radius: 4px;
    line-height: 12px;
    color: #fff;
    padding: 0px 2px;
    font-size: 12px;
}
.vessel_settings_consol_line .vessel_settings_line_type_delete {
    right: 30px;
    position: absolute;
    line-height: 17px;
    padding: 0px 6px;
}
.vessel_settings_line_sizes {
    white-space: nowrap;
}
.vessel_settings_line_sizes > div {
    width: 230px;
}
.vessel_settings_line_count {
    white-space: nowrap;
}
.vessel_settings_line_sizes input {
    width: 45px;
    margin: 1px 4px;
    line-height: 18px;
    height: 21px;
}
.vessel_settings_line_sizes input[type="checkbox"] {
    width: 20px;
    height: 16px;
}
.vessel_restr_settings_wrapper {
    margin: 15px 0px 5px 0px;
}
.vessel_settings_line_count input {
    width: 50px;
    margin: 1px 4px;
    line-height: 18px;
    height: 21px;
}

.vessel_settings_consol_data {
    border-top: 1px solid #999;
}
.vessel_settings_consol_data table tr td {
    border-bottom: 1px solid #999;
}
.add_vessel_popup .consol_data {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #aaa;
    padding: 2px;
    margin: 10px 0px 20px 0px;
}
.add_vessel_popup .consol_data table {
    margin-bottom: 10px;
}
.add_vessel_popup .consol_data table td {
    border: 1px solid #999;
    padding: 4px;
}
.vessel_settings_consol_line_div {
    border: 2px solid #999;
    padding: 1px 5px 5px 5px;
    margin-top: 10px;
}
.vessel_settings_consol_line {
    padding: 5px;
}
.vessel_settings_consol_line select {
    margin: 5px 20px 5px 10px !important;
}
.add_vessel_inp {
    max-width: 750px !important;
}
.delete_vessel_inp {
    font-size: 14px;
    line-height: 35px;
    padding: 0 10px;
}
.consol_restrictions {
    height: 25px;
}
.save_vessel_loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ddd;
    opacity: 0.5;
    z-index: 9;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 20px;
}
.vessel_unrestricted_items {
    margin: 10px 0px;
}
.vessel_unrestricted_items > div {
    width: 100%;
}
.vessel_unrestricted_items_title {
    width: 100%;
    height: 30px;
    font-weight: bold;
    line-height: 30px;
    border: 1px solid #ced4da;
    background-color: #ddd;
    padding-left: 10px;
    border-radius: 4px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    color: #a91d1d;
    cursor: pointer;
}
.vessel_unrestricted_items_body {
    width: 100%;
    height: 0px;
    display: none;
}
.vessel_unrestricted_items_body.show_list {
    height: 100%;
    display: block;
}
.vessel_unrestricted_items_body > div
{
    border: 1px solid #ced4da;
}
.vessel_unrestricted_items_body > div > div
{
    margin: 5px 20px;
    min-width: 110px;
}
.vessel_settings_line td.consol_confirm_ch {
    font-weight: bold;
    line-height: 14px;
    padding: 2px 2px;
}
.consol_confirm_ch input {
    margin-left: 10px;
    width: 15px;
    height: 15px;
}
.vessel_restricted_items_body {
    width: 100%;
    height: auto;
    max-height: 140px;
    overflow-y: auto;
    border: 1px solid #aaa;
}
.vessel_restricted_items_body td
{
    border: 1px solid #ced4da;
    padding: 0px 5px;
    white-space: break-spaces;
}
.vessel_restricted_items_body td.line_nowrap
{
    white-space: nowrap;
}
.vessel_restricted_items_body .vessel_restricted_items_body_head td {
    white-space: nowrap;
}
.vessel_settings_line_count_number {
    font-weight: bold;
    margin: 0 auto;
    display: block;
    max-width: 50px;
}





@media screen and (min-width: 769px) {

	.schedule_modal .modal-content, .schedule_modal .modal-card {
		margin: 0 auto;
		max-height: calc(100vh - 40px);
		width: 640px;
	}

}

@media screen and (min-width: 576px) {

	.modal-dialog.schedule_modal {
		max-width: 500px;
		margin: 5.75rem auto;
	}
}



.schedule_modal .input-group>.custom-file, 
.schedule_modal .input-group>.custom-select, 
.schedule_modal .input-group>.form-control, 
.schedule_modal .input-group>.form-control-plaintext {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    margin-bottom: 0;
}

.schedule_modal .form-control {
    display: block;
    width: 100%;
    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;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.schedule_modal .input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}
.have_unrestricted_item {
	font-weight: bold;
	color: #0f01e1;
	font-size: 16px;
}















/*------------------------------------*/
#id_shipping_schedules textarea {
	width: 95%;
	min-height: 50px;
	padding: 4px;
	margin:10px 0;
	border: 1px solid #414344;
	border-radius: 0.25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.shipping-data-edit {
    /*width:100%;
    min-width:100%;*/
    min-height:24px;
    display:inline-block;
	padding: 0px 8px;
	border-radius: 5px;
}
#id_shipping_schedules .table {
	width:100%;
}
#id_shipping_schedules .table>thead>tr>th,
#id_shipping_schedules .table>thead>tr>th .shipping-data{
    font-weight:600;
}

#id_shipping_schedules .table>thead>tr:nth-child(1) {
    /*background-color:rgba(0,138,170,.8);*/
	background-color: #028da4;
}
#id_shipping_schedules .table>thead>tr:nth-child(2) {
    background-color:#F0F0F0;
}

#id_shipping_schedules .schedules-list.table  .shipping-data-edit,
#id_shipping_schedules th.origin-city .shipping-data-edit,
#id_shipping_schedules th.month-title .shipping-data-edit,
#id_shipping_schedules td.vessel-title .shipping-data-edit,
#id_shipping_schedules td.vessel-day .shipping-data-edit {
    white-space: nowrap;
}

.schedules-list.table  .shipping-data-edit::after,
th.origin .shipping-data-edit::after,
th.origin-city .shipping-data-edit::after,
th.month-title .shipping-data-edit::after,
td.vessel-title .shipping-data-edit::after,
td.vessel-day .shipping-data-edit::after {
     display: inline-block;
     content: "";
     background-image: url('data:image/svg+xml,<svg width="0.75em" height="0.75em" viewBox="0 0 16 16" class="bi bi-tools" fill="lightgrey" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 1l1-1 3.081 2.2a1 1 0 0 1 .419.815v.07a1 1 0 0 0 .293.708L10.5 9.5l.914-.305a1 1 0 0 1 1.023.242l3.356 3.356a1 1 0 0 1 0 1.414l-1.586 1.586a1 1 0 0 1-1.414 0l-3.356-3.356a1 1 0 0 1-.242-1.023L9.5 10.5 3.793 4.793a1 1 0 0 0-.707-.293h-.071a1 1 0 0 1-.814-.419L0 1zm11.354 9.646a.5.5 0 0 0-.708.708l3 3a.5.5 0 0 0 .708-.708l-3-3z"/><path fill-rule="evenodd" d="M15.898 2.223a3.003 3.003 0 0 1-3.679 3.674L5.878 12.15a3 3 0 1 1-2.027-2.027l6.252-6.341A3 3 0 0 1 13.778.1l-2.142 2.142L12 4l1.757.364 2.141-2.141zm-13.37 9.019L3.001 11l.471.242.529.026.287.445.445.287.026.529L5 13l-.242.471-.026.529-.445.287-.287.445-.529.026L3 15l-.471-.242L2 14.732l-.287-.445L1.268 14l-.026-.529L1 13l.242-.471.026-.529.445-.287.287-.445.529-.026z"/></svg>');
     background-repeat: no-repeat;
     background-size: 0.75rem 0.75rem;
     width:16px;
     height:16px;
     margin-left:5px;
     color:#777;
 }

 .schedules-list.table  .shipping-data-edit:hover::after,
th.origin-city .shipping-data-edit:hover::after,
th.month-title .shipping-data-edit:hover::after,
td.vessel-title .shipping-data-edit:hover::after,
td.vessel-day .shipping-data-edit:hover::after {
    background-image: url('data:image/svg+xml,<svg width="0.75em" height="0.75em" viewBox="0 0 16 16" class="bi bi-tools" fill="grey" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 1l1-1 3.081 2.2a1 1 0 0 1 .419.815v.07a1 1 0 0 0 .293.708L10.5 9.5l.914-.305a1 1 0 0 1 1.023.242l3.356 3.356a1 1 0 0 1 0 1.414l-1.586 1.586a1 1 0 0 1-1.414 0l-3.356-3.356a1 1 0 0 1-.242-1.023L9.5 10.5 3.793 4.793a1 1 0 0 0-.707-.293h-.071a1 1 0 0 1-.814-.419L0 1zm11.354 9.646a.5.5 0 0 0-.708.708l3 3a.5.5 0 0 0 .708-.708l-3-3z"/><path fill-rule="evenodd" d="M15.898 2.223a3.003 3.003 0 0 1-3.679 3.674L5.878 12.15a3 3 0 1 1-2.027-2.027l6.252-6.341A3 3 0 0 1 13.778.1l-2.142 2.142L12 4l1.757.364 2.141-2.141zm-13.37 9.019L3.001 11l.471.242.529.026.287.445.445.287.026.529L5 13l-.242.471-.026.529-.445.287-.287.445-.529.026L3 15l-.471-.242L2 14.732l-.287-.445L1.268 14l-.026-.529L1 13l.242-.471.026-.529.445-.287.287-.445.529-.026z"/></svg>');
}

.schedule_modal .btn-primary,
#id_shipping_schedules .btn-primary
 {
    color: #fff;
    font-weight: 600;
    background-color: #337ab7;
    border-color: #2e6da4;
    border-radius:0;
}

.schedule_modal  .btn-primary:hover,
#id_shipping_schedules .btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}


.modal-footer .btn {
    margin-bottom: 0;
}

.bi-printer-fill {
    margin-left: 10px;
}

div[role='dialog'].fade.modal.show { z-index:9999;}

body > div.page-wrapper table.table:not(.schedules-list) tbody:last-of-type tr:last-of-type {
    display:none;
}

body > div.page-wrapper section p.download-link {
    margin-top: 20px;
}

.big-banner-center { width:100%;text-align:center;text-decoration:none; }
.big-banner-center * { margin:0 }
.btn.big-banner-center:active,.btn.big-banner-center:hover,.btn.big-banner-center:focus {box-shadow:none;outline:none;text-decoration:none;}
#id_shipping_schedules .accordion {margin-top: 20px;}
#id_shipping_schedules .accordion h2.schedule-toggle {font-family: 'Lato',sans-serif;}

td.vessel-title.sort {position:relative;}
td.vessel-title.sort .sorting-arrs{position:absolute;}
td.vessel-title.sort .shipping-data-edit{padding-left:40px;}

#id_shipping_schedules th.origin-city {
    position: relative;
}
.horisontal-sorting-arrs {
    font-size: 15px;
    line-height: 15px;
    width: 100%;
    display: block;
    position: absolute;
    top:-1px;
    left:-2px;
}
.horisontal-sorting-arrs a{
    display: inline-block;
    margin-right:20px;
}

.six-more.table>tbody>tr>td, 
.six-more.table>tbody>tr>th, 
.six-more.table>tfoot>tr>td, 
.six-more.table>tfoot>tr>th, 
.six-more.table>thead>tr>td, 
.six-more.table>thead>tr>th {
    padding: 5px;
}
.eight-more.table>tbody>tr>td, 
.eight-more.table>tbody>tr>th, 
.eight-more.table>tfoot>tr>td, 
.eight-more.table>tfoot>tr>th, 
.eight-more.table>thead>tr>td, 
.eight-more.table>thead>tr>th {
    padding: 3px;
    font-size:14px;
}
.ten-more.table>tbody>tr>td, 
.ten-more.table>tbody>tr>th, 
.ten-more.table>tfoot>tr>td, 
.ten-more.table>tfoot>tr>th, 
.ten-more.table>thead>tr>td, 
.ten-more.table>thead>tr>th {
    padding: 2px;
    font-size:12px;
}

.eight-more.table .horisontal-sorting-arrs a,
.ten-more.table .horisontal-sorting-arrs a{
    margin-right:10px;
}
.eight-more.table .add-origin-city .btn,
.ten-more.table  .add-origin-city .btn {
    padding: px 6px;
}

.shipping_lines_schedules label {
    margin-right: 20px;
}
.modal.show .modal-dialog select {
    margin: 5px 0;
}

/*////////////////////////////////////////*/







/*
@media print {
    body {size: landscape;}

    header,
    footer,
    body > * {
        display: none !important;
    }
    body > div.page-wrapper {
        display: block !important;
    }

    body > div:not('.page-wrapper') *,
    body > div:not('.page-wrapper') {
        display: none !important;
        margin:0 !important;
        padding:0 !important;
        font-size:0 !important;
        line-height:0 !important;
    }

    body > div.page-wrapper div.additional-info {
        margin: 10px 0 20px;
    }

    body > div.page-wrapper section {margin: 10px 0;}
    
    body > div.page-wrapper section h1 {
        margin:0 !important;
        padding:0 !important;
        font-size:0 !important;
        line-height:0 !important;
        height:0;
    }

    body div.banner{height: auto;}

    body div.banner .banner-content{position:relative; top:auto; transform:none; margin-top:10px;}

    body > div.page-wrapper table.table tbody:last-of-type tr:last-of-type {
        display:none;
    }

    body > div.page-wrapper a {
        text-decoration: none !important;
    }

    body > div.page-wrapper a[href]:after {
        content: none !important;
    }

    .big-banner-center {
        width:100%;
        text-align: center;
        text-decoration: none;
    }

    .btn.big-banner-center:active,.btn.big-banner-center:hover,.btn.big-banner-center:focus {
        box-shadow: none;
        outline: none;
        text-decoration: none;
    }

    .accordion {margin-top: 20px;}

    .accordion h2.schedule-toggle {font-family: 'Lato',sans-serif;}
}
*/