

/* Header */
.header .header-logo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
/* CRM Menu */
.crm-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #4c75a0;
}
.crm-menu ul li a {
    padding: 0 30px;
    border: 1px solid #4c75a0;
    background-color: transparent;
    font-size: 16px;
    line-height: 42px;
    border-radius: 500px;
    transition: all .2s ease-in-out;
}
.crm-menu ul li.current-menu-item a,
.crm-menu ul li a:hover {
    background-color: #4c75a0;
    color: #fff;
    border-color: transparent;
}
/* ---------------------- */

/* DASHBOARD Main setings */
.dash-title {
    margin-top: 40px;
    text-align: center;
}
.dash-subtitle {
    text-align: center;
}
.dash-text {
    text-align: center;
}

.dash-btn-block {
    display: flex;
    justify-content: space-around;
}
.dash-btn div,
.dash-btn a {
    display: block;
    width: fit-content;
    text-decoration: none;
    padding: 0 15px;
    line-height: 32px;
    font-size: 13px;
    background-color: #339;
    color: #fff;
    transition: all .2s ease-in-out;
    border-radius: 500px;
    cursor: pointer;
}
.dash-btn div:hover,
.dash-btn a:hover {
    background-color: #262673;
    color: #fff;
}
.dash-btn.btn-danger div,
.dash-btn.btn-danger a {
    background-color: red;
}
.dash-btn.btn-danger div:hover,
.dash-btn.btn-danger a:hover {
    background-color: rgb(152, 3, 3);
}
.dash-btn-block-main {
    justify-content: start;
}
.dash-btn-block-main .btn-main {
    padding-right: 15px;
}
.dash-btn-block-main .btn-main:last-child{
    padding-right: 0;
}
.dash-btn-block-main .btn-main div,
.dash-btn-block-main .btn-main a{
    padding: 0 30px;
    font-size: 16px;
    line-height: 42px;
}
.btn-disabled div{
    cursor: default;
    background-color: gray!important;
}
.close-popup-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.close-popup-btn .close-popup-btn-item {
    width: 20px;
    height: 2px;
    background-color: #262673;
    transform-origin: center;
}
.close-popup-btn .close-popup-btn-item:first-child {
    transform: translateY(1px) rotate(45deg);
}
.close-popup-btn .close-popup-btn-item:last-child {
    transform: translateY(-1px) rotate(-45deg);
}

.dash-table {
    border-top: 1px solid #262673;
    border-left: 1px solid #262673;
    font-size: 16px;
    line-height: 40px;
}
.dash-table .row{
    display: grid;
}
.dash-table .row.row-header{
    font-weight: 600;
    font-size: 18px;
}
.dash-table .row div{
    border-right: 1px solid #262673;
    border-bottom: 1px solid #262673;
    padding: 0 10px;
}
.dash-table .row .hours{
    display: grid;
    padding: 0;
}
.dash-table .row .hours div{
    border-right: 1px solid #262673;
    border-bottom: none;
    padding: 0;
    position: relative;
}
.dash-table .row .hours div:last-child{
    border-right: none;
}
.dash-table .row .hours div span{
    transform: rotate(-90deg) translate(-30%, -155%);
    display: block;
    font-size: 13px;
    line-height: 14px;
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
}
.dash-table .table-link {
    text-decoration: none;
    display: block;
}
.dash-table .table-link:hover {
    background-color: #f3f3f3;
}
/* ---------------------- */
.main-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #262673; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1.5s linear infinite;
    margin: 0 auto;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/* Post Popup */
.add-post-popup {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    width: 100%;
    max-width: 800px;
    height: 400px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #262673;
    padding: 20px 20px 100px 20px;
}
.add-post-popup.open {
    display: block;
}
.add-post-popup .title {
    display: flex;
    justify-content: space-between;
}
.add-post-popup .content {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow: auto;
}
.add-post-popup input,
.add-post-popup select {
    border: none;
    border-bottom: 2px solid;
    margin-bottom: 20px;
    outline: none;
    font-size: 20px;
    line-height: 30px;
    color: #262673;
}
.add-post-popup button {
    width: fit-content;
    border: none;
    background: none;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.change-order-popup {
    height: 60vh;
    overflow-y: auto;
    max-height: 600px;
    z-index: 9;
}
.change-order-popup .change-order-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.ajax-success,
.ajax-error {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    text-align: center;
    width: 100%;
    max-width: 300px;
    min-height: 100px;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 2px solid green;
    color: green;
}
.ajax-error {
    border: 2px solid red;
    color: red;
}
/* ---------------------- */

/* Today Page */
.available {
    background-color: transparent;
}
.available:last-child {
    border-right: none;
}
.owners {
    background-color: darkgoldenrod;
}
.private {
    background-color: purple;
    color: white;
}
.maintenance {
    background-color: black;
    color: white;
}
.shared {
    background-color: greenyellow;
}
.buffer {
    background-color: hotpink;
}
.tentative {
    background-color: gold;
}
.postponed {
    background-color: gray;
}
.danger {
    background-color: red;
}
.boat-today-order {
    position: absolute!important; 
    height: 100%;
    z-index: 1;
    display: flex;
}

.today-main {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 3fr 3fr 2fr;
    gap: 50px;
}
.today-main .color-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    color: #000;
}
.today-section .boat-type,
.today-section .boat-name {
    cursor: pointer;
    position: relative;
    z-index: 2;
    background-color: #fff;
}
.today-section .boat-type:hover,
.today-section .boat-name:hover {
    color: #000;
}
.today-section .boats-table {
    margin: 20px 0;
    overflow: hidden;
}
.boats-table .row.row-header {
    height: 60px;
}
.boats-table .row.row-header .boat-type,
.boats-table .row.row-header .boat-name {
    display: flex;
    align-items: center;
}

.boats-table .diary-no {
    display: none!important;
}
.boats-table .diary-no.show {
    display: grid!important;
}
.boats-table-72 .hours.diary-no.show, 
.boats-table-48 .hours.diary-no.show {
    display: flex!important;
}
.order-hover-message{
    cursor: pointer;
}
.order-hover-message .messege {
    position: absolute!important;
    z-index: 10;
    height: auto;
    left: 0;
    border: 1px solid rgb(184, 168, 255);
    background-color: #fff;
    border-radius: 5px;
    padding: 5px!important;
    bottom: 110%;
    line-height: 20px;
    font-size: 15px;
    width: auto!important;
    max-width: 400px;
    display: none!important;
}
.order-hover-message:hover .messege {
    display: block!important;
}

.boats-table-24,
.boats-table-48,
.boats-table-72 {
    display: none;
}
.boats-table-24.active,
.boats-table-48.active,
.boats-table-72.active {
    display: block;
}

/* 48 - 72 hours */
.boats-table-72 .hours,
.boats-table-48 .hours {
    display: flex;
    height: 100%;
}
.boats-table-72 .row.hours div,
.boats-table-48 .row.hours div {
    width: 16.5px;
    min-width: 16.5px;
    position: relative;
    padding: 0;
}
.boats-table-72 .row.hours div span,
.boats-table-48 .row.hours div span {
    transform: rotate(-90deg) translate(-30%, -155%);
    display: block;
    font-size: 13px;
    line-height: 14px;
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
}

/* Drag and drop */
.drop_list{
    width: 170px;
}

.drop{
  transition:100ms;
}

.dragging {
  /* opacity:0.5; */
  z-index: -1;
}

.over {
  box-shadow: inset 0px 0px 15px rgba(0,0,0,1);
}
/* ------------------------------------ */
/* ---------------------- */

/* Menus Page */
.menus-section .dash-btn-block  {
    justify-content: space-around;
}
/* ---------------------- */

/* Boat Single Page */
.boats-single .boat-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 194px;
}
.boats-single .boat-list li{
    display: flex;
    justify-content: space-between;
    margin-right: 80px;
}
.boats-single .boat-list label {
    color: #000;
}
.boats-single .boat-list .boat-list-input-disabled,
.boats-single .boat-list .boat-list-input {
    background: none;
    border: none;
    font-size: 20px;
    color: #339;
    padding: 2px;
}
.boats-single .boat-list .boat-list-input.active {
    border: 1px solid #339;
}
#change-boat-details-btn-block {
    display: flex;
}
#change-boat-details-btn-block #cancel-boat-details {
    background-color: #f3f3f3;
    color: #000;
}
.boats-single .boat-data {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
/* ---------------------- */
/* Booking Page */
.booking-search-block {
    display: flex;
    align-items: center;
}
.booking-search-block label{
    position: absolute;
    bottom: 100%;
}
.booking-search-block input{
    padding: 5px;
    font-size: 16px;
    border: 1px solid;
    border-radius: 5px;
}
.search-popup-by-name,
.search-popup-by-id {
    background: #fff;
    border: 1px solid;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    top: 110%;
    width: calc(100% - 10px);
    max-height: 200px;
    overflow: auto;
}
.search-popup-by-name div,
.search-popup-by-id div {
    cursor: pointer;
}
.search-popup-by-name div:hover,
.search-popup-by-id div:hover {
    background: rgb(230, 230, 230);
}
#note-textarea {
    width: 90%;
    margin-left: 50px;
    background: #fff;
    border: none;
    font-size: 16px;
    color: #262673;
    padding: 5px;
}
#note-textarea.active {
    border: 1px solid #262673;
    color: #000;
    border-radius: 5px;
}
/* ---------------------- */

/* Customers Page */
.input-meta,
.input-secondary-key-meta {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    font-size: 16px;
    color: #262673;
    text-align: center;
}
.input-meta-change,
.input-meta-done,
.input-secondarey-meta-done,
.input-meta-key-done {
    width: 50%;
    cursor: pointer;
}
.customer-single .secondary-drodoun {
    position: absolute;
    top: 100%;
    left: 0;
    width: calc(100% - 20px);
    border: 1px solid;
    border-radius: 5px;
    background: #fff;
    z-index: 2;
    display: none;
}
.customer-single .secondary-drodoun.open {
    display: block;
}
.secondary-dropdoun-btn {
    position: absolute;
    right: 5px;
    top: 0;
    cursor: pointer;
    z-index: 2;
}
.secondary-dropdoun-btn.open {
    transform: rotateX(-180deg);
}
.customer-single .secondary-drodoun .secondary-drodoun-item {
    border: none;
    cursor: pointer;
}
.customer-single .secondary-drodoun .secondary-drodoun-item:hover {
    background: rgb(230, 230, 230);
}
.customer-single .order-hide {
    display: none;
}
.customer-single .order-hide.open {
    display: grid;
}

.customer-single .note-hide {
    display: none;
}
.customer-single .note-hide.open {
    display: grid;
}
.booking-single-popup {
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    left: 0;
    top: 0;
    font-size: 14px;
    line-height: 20px;
}
.booking-single-popup .popup-overlay {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .5);
    width: 100vw;
    height: 100vh;
}
.booking-single-popup .popup-content {
    width: 90%;
    height: 90%;
    z-index: 101;
    background: #fff;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 40px 30px 20px;
    overflow: auto;
    position: relative;
}
.booking-single-popup .popup-content .close-booking-popup {
    position: absolute;
    right: 30px;
    top: 12px;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 20px;
    text-decoration: none;
    color: #151515;
}
.grid-segment {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: 30px;
    margin-bottom: 30px;
}
.grid-segment.col-3-grid-segment {
    grid-template-columns: repeat(3, 1fr);
}
.booking-single-popup .popup-content table {
    border-collapse: collapse;
    width: 100%;
}
.booking-single-popup .popup-content table td:first-child {
    font-weight: 700;
    color: #111111;
}
.booking-single-popup .popup-content table td {
    border: 1px solid #0a0c11;
    line-height: 30px;
    height: 30px;
    padding: 3px 5px;
}
.open-add-booking-note {
    display: block;
}
.notes-heading {
    font-size: 16px;
    width: 100%;
    text-align: center;
    border: 1px solid #151515;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 10px;
}
.notes-holder {
    box-sizing: border-box;
    padding: 5px 0;
}
.notes-holder .booking-note-item {
    display: grid;
    grid-template-columns: 80% 15%;
    column-gap: 10px;
}
.notes-holder .booking-note-item .note-content input {
    width: 100%;
    height: 100%;
    padding: 0 7px;
    background-color: #fff !important;
    border: 0;
    outline: none !important;
    font-size: 18px;
    color: #262673;
    box-sizing: border-box;
    text-align: left;
}
.notes-holder .booking-note-item {
    margin-bottom: 10px;
}
.notes-holder .booking-note-item .note-content {
    position: relative;
}
.notes-holder .booking-note-item .note-content .note-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}
.notes-holder .booking-note-item .note-content input.active {
    border: 1px solid #151515;
}
.notes-holder .booking-note-item .note-edit {
    display: flex;
    justify-content: space-evenly;
}
.booking-notes-context .add-booking-note-content {
    display: grid;
    width: 100%;
    grid-template-columns: 73% 27%;
    column-gap: 15px;
    box-sizing: border-box;
}
.booking-notes-context .add-booking-note-content input {
    width: 100%;
}
.booking-notes-context .add-booking-note-content a.add-booking-note-action {
    display: block;
    width: fit-content;
    width: -moz-fit-content;
    padding: 5px 10px;
    background: #0E284B;
    color: #fff;
    font-weight: 600;
    box-sizing: border-box;
}
.booking-single-popup .popup-content .management-area {
    margin-top: 30px;
    margin-bottom: 30px;
}
.booking-single-popup .popup-content .management-area .management-area-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.booking-single-popup .popup-content .management-area .management-area-buttons a {
    display: block;
    width: fit-content;
    width: -moz-fit-content;
    padding: 7px 23px;
    color: #000;
    background-color: gold;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.88em;
    margin-right: 20px;
    text-decoration: none;
    border-radius: 8px;
}
.booking-single-popup .booking-delete {
    width: fit-content;
    margin: 50px 0 0 auto;
}
.booking-single-popup .booking-delete .booking-delete-btn {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 500;
    color: red;
    text-transform: uppercase;
    background: transparent;
    border: 2px solid red;
    cursor: pointer;
    transition: all 0.1s ease;
}
.booking-single-popup .booking-delete .booking-delete-btn:hover {
    color: #fff;
    background: red;
}
#booking-data-management .catering-category-item .booking-upsell-image img {
    width: 90px;
    height: 90px;
}
#booking-data-management .catering-category-item .booking-upsell-amount input {
    width: 50px;
    height: 24px;
    border-radius: 13px;
    background-color: #33339922;
    text-align: center;
}

/* ---------------------- */

/* Menus Page */
.menus-section .hide {
    display: none;
}
.options-section .staff-table .table-row,
.options-section .levels-table .table-row,
.options-section .responses-table .table-row,
.menus-section .product-table .table-row,
.menus-section .suppliers-table .table-row {
    display: grid;
    background-color: rgb(216, 216, 216);
    gap: 20px;
}
.options-section .staff-table .table-body:nth-child(even),
.options-section .levels-table .table-body:nth-child(even),
.options-section .responses-table .table-body:nth-child(even),
.menus-section .product-table .table-body:nth-child(even),
.menus-section .suppliers-table .table-body:nth-child(even) {
    background-color: rgb(249, 249, 249);
}
.options-section .staff-table .table-body:nth-child(odd),
.options-section .levels-table .table-body:nth-child(odd),
.options-section .responses-table .table-body:nth-child(odd),
.menus-section .product-table .table-body:nth-child(odd),
.menus-section .suppliers-table .table-body:nth-child(odd) {
    background-color: rgb(255, 255, 255);
}
.menus-section .suppliers-table .table-row {
    grid-template-columns: 4fr 5fr 5fr 5fr 3fr 1fr;
}
.menus-section .product-table .table-row {
    grid-template-columns: 5fr 4fr 4fr 2fr 1fr;
}
.options-section .responses-table .table-row {
    grid-template-columns: 8fr 6fr 2fr 4fr 4fr 4fr 2fr;
}
.options-section .staff-table .table-row,
.options-section .levels-table .table-row {
    grid-template-columns: 7fr 3fr 2fr;
}
.options-section .staff-table .table-row .item,
.options-section .levels-table .table-row .item,
.options-section .responses-table .table-row .item,
.menus-section .product-table .table-row .item,
.menus-section .suppliers-table .table-row .item {
    padding: 10px 5px;
}
.options-section .staff-table .table-row .item select,
.options-section .levels-table .table-row .item select,
.options-section .responses-table .table-row .item select,
.options-section .staff-table .table-row .item input,
.options-section .levels-table .table-row .item input,
.options-section .responses-table .table-row .item input,
.menus-section .product-table .table-row .item input,
.menus-section .suppliers-table .table-row .item input {
    font-weight: 400;
    line-height: 1.75;
    color: #00437c;
    font-size: 16px;
    border: none;
    background: transparent;
    display: block;
    width: 100%;
}
.options-section .staff-table .table-row .item select
.options-section .levels-table .table-row .item select
.options-section .responses-table .table-row .item select {
    height: 100%;
}
.options-section .staff-table .table-row.table-title .item,
.options-section .levels-table .table-row.table-title .item,
.options-section .responses-table .table-row.table-title .item,
.menus-section .product-table .table-row.table-title .item,
.menus-section .suppliers-table .table-row.table-title .item {
    font-size: 16px;
    font-weight: 700;
}

.supplier-meta-cancel,
.supplier-meta-change,
.supplier-meta-done {
    width: 30%;
    cursor: pointer;
}

/* ---------------------- */

.booking-date-select .active {
    background-color: #bbdfff;
}

#change-date-for-single-booking-popup {
    padding: 0 10px;
    line-height: 24px;
    font-size: 14px;
    background-color: #339;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    border: none;
}
.popup-change-booking-date {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 101;
    width: 300px;
    height: auto;
    padding: 30px 30px 40px;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0px 0px 5px #000;
}
.popup-change-booking-date span{
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-size: 12px;
}

.staff-name,
.staff-active,
.level-name,
.level-active {
    font-weight: 400;
    line-height: 1.75;
    color: #00437c;
    font-size: 16px;
    border: none;
    background: transparent;
    display: block;
    width: 100%;
}