@media only screen and (max-width: 1080px) {
    body {
        zoom: 0.7;
    }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

html {
    -webkit-print-color-adjust: exact;
    background-color: var(--back-clr2);
}

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 100%;
    background-color: var(--back-clr2);
}

p {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    color: var(--font-color);
    box-sizing: border-box;
    font-size: var(--font-medium);
}

a {
    font-family: sans-serif;
    color: var(--font-color2);
    pointer-events: auto;
}

a:hover {
    font-family: sans-serif;
    color: var(--font-color3) !important;
}

a:active {
    font-family: sans-serif;
    color: var(--font-color3) !important;
}

img {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

span {
    padding: 0px;
}

input {
    box-shadow: none;
    outline: none;
    border: 1px solid transparent;
    border-bottom: 1px solid var(--light-border);
    box-sizing: border-box;
    /*padding: 4px 6px;*/
    background-color: var(--background);
    color: var(--font-color);
    font-size: var(--font-medium);
}

input:focus {
    border: 1px solid transparent;
    border-bottom: 1px solid var(--font-color2);
}

textarea {
    box-shadow: none;
    outline: none;
    border: 1px solid var(--light-border);
    box-sizing: border-box;
    padding: 4px 12px;
    background-color: var(--background);
    color: var(--font-color);
    font-size: var(--font-medium);
}

textarea:focus {
    border: 1px solid var(--light-border);
}

div {
    box-sizing: border-box;
}

.flex-spaced {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

.header {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.header-menus {
    /*background-color: black;*/
    padding: 0px 3%;
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--header-background);
}

.header-menus-sect{
    height: 100%;
    position: relative;
    display: flex;
}

.sub-header {
    position: relative;
    background-color: var(--sub-header-background);
    width: 100%;
    height: 52px;
    padding: 0px 3%;
    display: flex;
    align-items: center;
}

.sub-header-item {
    position: relative;
    height: 100%;
    display: flex;
    margin: 0px 16px;
    align-items: center;
    color: var(--font-color4);
    /*padding: 0px 10px;*/
}

.sub-header-right {
    position: absolute;
    left: 50%;
    height: 80%;
    width: auto;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
    top: 10%;
}

.logo-pos-left {
    position: absolute;
    left: calc(50% - 80px);
    height: 70%;
    width: auto;
    transform: translate(-100%, -50%);
    z-index: 1000;
    pointer-events: none;
    top: 50%;
}

.logo-pos-right {
    position: absolute;
    left: calc(50% + 80px);
    height: 70%;
    width: auto;
    transform: translate(0%, -50%);
    z-index: 1000;
    pointer-events: none;
    top: 50%;
}

.sub-header-bold {
    font-weight: bold;
    font-size: var(--font-large);
    letter-spacing: 1px;
}

.sub-header-item p {
    color: var(--font-color4);
    padding: 8px;
}

.main {
    position: absolute;
    width: 100%;
    height: calc(100% - 104px - 32px);
    box-sizing: border-box;
    overflow: hidden;
    top: 104px;
}

.footer {
    position: absolute;
    background-color: var(--footer-bg);
    height: 32px;
    bottom: 0px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px 72px;
}

.footer p {
    font-size: var(--font-smallest);
}

.hidden {
    display: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}


/* -------------------------------------------------------------------------------------------------------/
 *  Main pages - Frame
 * ----------------------------------------------------------------------------------------------------*/
.menu {
    margin: 0px 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid transparent;
    box-sizing: border-box;
    border-style: solid;
    padding: 0px 10px;
    cursor: pointer;
}

.menu-selected {
    border-bottom-color: var(--font-color2);
}

.menu:hover {
    border-bottom-color: var(--font-color2);
}

.menu-text {
    color: var(--font-color4);
    transform: translateY(4px);
}

.main-wrap {
    overflow-y: scroll;
    width: 100%;
    height: 100%;
    position: relative;
}

.flexed-row {
    display: flex;
    flex-direction: row;
}

.flexed-search {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.search-label {
    width: 160px;
    margin-left: 16px;
    padding: 4px 6px;
}

.flexed-row-srch {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
    justify-content: flex-start;
    height: 44px;
}

.srch-status-list {
    width: 232px !important;
}

.srch-box {
    display: flex;
    width: 400px;
    align-items: center;
    justify-content: flex-start;
}

.sres-pdf-sml {
    position: absolute;
    right: 32px;
}

.srch-lists-s {
    position: relative;
}

.user-lists {
    border: 1px solid var(--light-border);
    background-color: var(--back-clr2);
    width: 320px;
    min-height: 64px;
    max-height: 480px;
    position: absolute;
    z-index: 500;
    overflow-y: auto;
}

.srch-box .c-date-input {
    width: 193px !important;
}

.item-srch {
    padding: 4px 12px;
}

.item-srch:hover {
    background-color: var(--alt-row-hl);
}

.main-bar {
    /*height: 62px;*/
    min-height: 62px;
    height: 66px;
    width: 90%;
    position: relative;
    margin: 0 5%;
    padding-top: 4px;
    padding-bottom: 4px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.bar-title {
    padding: 4px 8px;
    color: var(--font-color2);
    border: 2px solid transparent;
    cursor: pointer;
    margin: 0px 8px;
}

.bar-title:hover {
    color: var(--font-color3);
    border-bottom-color: #5553;
}

.bar-selected {
    border-bottom-color: var(--font-color2) !important;
}

.font-italic {
    font-style: italic;
}

.color-gray {
    color: var(--font-color3);
}

.title-line {
    /*width: 100%;*/
    border-bottom: 1px solid;
    border-color: var(--font-color2);
    margin: 0 5%;
    margin-top: 4px;
    margin-bottom: 4px;
    height: fit-content;
}

.title-line-text {
    width: 100%;
    padding-left: 128px;
    color: var(--font-color2);
    font-size: var(--font-large);
    letter-spacing: 2px;
}

.left-title {
    /*width: max-content;*/
    padding-left: 0%;
    color: var(--font-color2);
    letter-spacing: 0px;
    font-size: var(--font-medium);
    overflow-wrap: break-word;
    /*inline-size: 300px;*/
    max-height: 48px;
    text-overflow: ellipsis;
    white-space: pre-wrap;
    overflow: hidden;
}

#content {
    width: 100%;
    height: 100%;
}

.headers {
    background-color: var(--back-clr);
    padding: 8px;
    font-weight: bold;
    font-size: var(--font-medium);
    width: 100%;
    display: flex;
}

.headers p {
    color: var(--font-color4);
}

.headers-summary {
    background-color: var(--back-clr);
    padding: 0px 12px;
    font-weight: bold;
    font-size: var(--font-medium);
    width: 100%;
    display: flex;
    height: 42px;
    display: flex;
    align-items: center;
}

.headers-summary p {
    color: var(--font-color4);
}

#left-bar {
    width: 30%;
    align-items: center;
}

#mid-bar {
    justify-content: center;
    align-items: center;
    text-align: center;
    width: fit-content;
    min-width: 240px;
    flex-direction: column;
    padding: 4px;
    /*height: 100%;*/
    flex-wrap: wrap;
    font-size: var(--font-smaller);
    text-align: center;
}

#right-bar {
    /*width: 100%;*/
    justify-content: flex-end;
    align-items: center;
    /*flex-wrap: wrap;*/
}

#right-bar input {
    padding: 8px 4px;
    margin: 0px 8px;
}

.page-num {
    color: var(--font-color2);
    padding: 0px 4px;
}

.underlined {
    border-bottom: 1px solid var(--back-clr);
}

.data-bottom {
    position: absolute;
    bottom: 0px;
    display: flex;
    width: 100%;
    padding: 8px;
    height: 52px;
}

.data-left {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.data-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.data-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.main-bar {
    border-bottom: 1px solid var(--c-btn-border);
}

@media only screen and (max-width: 1080px) {
    .data-sect-half {
        display: flex;
        flex-direction: column;
        width: calc(50% - 32px);
        justify-content: flex-start;
        align-items: flex-start;
        padding: 4px 4px;
        height: 100%;
    }
}

@media only screen and (min-width: 1081px) {
    .data-sect-half {
        display: flex;
        flex-direction: column;
        width: calc(50% - 32px);
        justify-content: flex-start;
        align-items: flex-start;
        padding: 16px 18px;
        height: 100%;
    }
}



.data-sect-full {
    display: flex;
    flex-direction: column;
    width: calc(100% - 64px);
    justify-content: flex-start;
    align-items: flex-start;
    margin: 16px 32px;
    height: calc(100% - 62px);
}

.data-sect-center {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    height: calc(100% - 52px);
}

.data-wrap {
    display: flex;
    height: 100%;
}

.user-user-top-bar {
    display: flex;
    padding-left: 32px;
}

.data-title-sel {
    border-bottom: 2px solid var(--font-color2);
}

.data-title {
    padding-bottom: 6px;
    /*margin: 0px 12px;*/
    color: var(--font-color2);
    border-bottom: 2px solid var(--font-color2);
    width: 100%;
}

.data-label {
    width: 142px;
}

@media only screen and (max-width: 1080px) {
    .data-row {
        padding-bottom: 8px;
        min-height: 42px;
        align-items: center;
        width: 280px;
    }

}

@media only screen and (min-width: 1081px) {
    .data-row {
        padding-bottom: 8px;
        min-height: 42px;
        align-items: center;
        width: 400px;
    }

}


.data-row p {
    color: var(--font-color2);
}

.data-stretched {
    width: 398px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
}

@media only screen and (max-width: 1080px) {
    .data-row input {
        width: 156px;
        padding-bottom: 12px;
    }

    .data-row-space {
        width: 156px;
    }

    .data-row .c-list-cont {
        width: 156px;
    }
}

@media only screen and (min-width: 1081px) {
    .data-row input {
        width: 256px;
        padding-bottom: 12px;
    }

    .data-row-space {
        width: 256px;
    }

    .data-row .c-list-cont {
        width: 256px;
    }
}

.data-part {
    overflow-y: auto;
    height: calc(100% - 78px);
    width: 100%;
    padding-bottom: 48px;
}

.data-part-small {
    width: 100%;
}

.data-row-break {
    width: 100%;
    color: var(--font-color2);
}

.span-title {
    align-self: center;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid var(--font-color2);
    padding-bottom: 4px;
    margin-bottom: 8px;
    margin-top: 12px;
}

.br-s {
    height: 16px;
}

.br-m {
    height: 24px;
}

.br-l {
    height: 32px;
}

.brh-s {
    width: 16px;
}

.brh-m {
    width: 24px;
}

.brh-l {
    width: 32px;
}

.confirm {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.confirm-text {
    color: var(--font-color2);
    text-align: center;
}

.confirm-popup {
    width: 620px !important;
    height: 320px !important;
    min-width: unset !important;
    min-height: unset !important;
    z-index: 10000000 !important;
}

.wider-btns .c-btn-container {
    width: 120px;
}

.back-btn-padding {
    margin-right: 16px !important;
}


.small-width {
    width: 6%;
}

.med-width {
    width: 12%;
}

.large-width {
    width: 18%;
}

.vlarge-width {
    width: 33%;
}

.data-part-wrap-subs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 6px;
}

.data-part-subs {
    overflow-y: auto;
    height: calc(100% - 8px);
    width: 100%;
}

.error-text {
    color: var(--red-text);
    font-size: var(--font-large);
    font-weight: bolder;
}

.service {
    etter-spacing: 2px;
    font-size: var(--font-small) !important;
}

.draft-text {
    color: #ffc24d !important;
}

.draft-text-bd {
    color: #ffc24d !important;
    font-weight: bold;
    letter-spacing: 0px;
    /*border: 1px solid #ffc24d;*/
    border-radius: 5px;
    padding: 0px 6px !important
}

.red-text {
    color: var(--red-text) !important;
}

.red-text-lt {
    color: var(--red-text-lt) !important;
}

.green-text {
    color: var(--green-text) !important;
}

.green-text-lt {
    color: var(--green-text-lt) !important;
}

.closed-text {
    color: var(--font-color2) !important;
    font-size: var(--font-small);
}

.audit-text {
    color: var(--font-color2) !important;
}

.wide-btns {
    width: 126px !important;
}

.t-area {
    left: 0px;
    width: 90%;
    height: 80%;
    position: relative;
    padding: 8px;
    font-family: sans-serif;
}

.reason-text {
    padding: 4px;
}

.reason-text {
    width: 100%;
    color: var(--font-color2);
}

.grayed-row .review-sub p {
    color: gray !important;
}

.grayed-row .review-sub-big p {
    color: gray !important;
}

.grayed-row .review-sub-sml p {
    color: gray !important;
}

.del-text {
    padding-left: 12px !important;
    color: var(--font-color2) !important;
}

.debug-btn {
    position: absolute !important;
    right: 5%;
}

.notif {
    position: absolute;
    right: 5%;
    width: 32px;
    height: 32px;
    border: 2px solid var(--hl-clr);
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 150ms;
}

.notif:hover {
    background-color: var(--hl-clr);
}

.notif:hover #notif-count {
    color: var(--back-clr);
}

#notif-count {
    color: var(--hl-clr);
}

.notif-list {
    position: absolute;
    z-index: 500000;
    top: calc(100% + 0px);
    right: 0;
    height: 680px;
    width: 480px;
    background-color: var(--back-clr2);
    border: 2px solid var(--back-clr);
}

.notif-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--back-clr);
    position: relative;
    width: 90%;
    left: 5%;
    padding-top: 4px;
    padding-bottom: 4px;
}

.notif-indent {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-left: 18px;
}

.notif-row:hover {
    background-color: var(--alt-row-color);
}

.notif-row p {
    /*padding: 12px 8px;*/
    color: var(--font-color2);
}

.status-red {
    color: var(--red-text) !important;
}

.status-orange {
    color: var(--orange-text) !important;
}

.status-green {
    color: var(--font-color2) !important;
}

.notif-opts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
    padding: 12px 6px;
    border: 1px solid var(--back-clr);
}

.notif-opts p {
    font-weight: bold;
    font-style: var(--font-large);
}

.full-page-popup {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-top: 1px solid var(--fore-clr) !important;
}

.full-page-popup-sml {
    width: 75% !important;
    height: 75% !important;
    border: 1px solid var(--light-border) !important;
    z-index: 5000;
}

.full-page-popup-sml2 {
    width: 85% !important;
    height: 85% !important;
    border: 1px solid var(--light-border) !important;
    z-index: 5000;
}

.data-sect-full-ve {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 16px 32px;
    height: 100%;
}

.data-part-ve {
    overflow-y: auto;
    height: calc(100% - 0px);
    width: 100%;
}

.wrap-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: max-content;
}

.hist-row-item {
    display: flex;
    justify-content: space-between;
    width: 1120px;
    border: 1px solid var(--light-border);
    margin: 4px;
    padding: 6px 28px;
}

.hist-list-sect {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.data-hist-wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 26px;
}

.hist-row-item p {
    /*width: 33%;*/
}

.full-dif-row {
    width: 33% !important;
}

.full-dif-row p {
    width: 100% !important;
}

.dif-row-date {
    width: 180px;
}

.dif-row-user {
    width: 340px;
}

.sync-text {
    position: absolute;
    color: var(--font-color4);
    right: calc(5% + 64px);
    opacity: 1;
    transition: opacity 150ms;
}

.sync-fade {
    opacity: 0;
}


.saved-view-bar {
    width: 100%;
    flex-direction: row;
    display: flex;
}

.data-right-vsaved {
    display: flex;
    justify-content: flex-end;
}

.data-right-vsaved {
    display: flex;
    justify-content: flex-end;
    /* width: 100%; */
    position: absolute;
    right: 5%;
    top: 4px;
}

.data-right-vsaved .c-btn-container{
    height: 32px;
}

.auth-cont {
    border: 2px solid var(--light-border);
    background-color: var(--back-clr2);
    position: absolute;
    top: 100%;
    margin-top: 4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5000000;
    padding: 12px;
}

.auth-cont:hover {
    background-color: var(--alt-row-hl);
}

.auth-p {
    color: var(--font-color2);
}

.auth-err {
    color: red;
    padding: 12px;
    height: 52px;
    width: 100%;
    text-align: center;
}

.auth-hidden {
    opacity: 0;
}


.save-popup {
    width: 820px;
}

.files-list {
    width: 960px;
}

.flexed-save {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.save-users {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid;
    margin-bottom: 24px;
}

.save-wrap {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.save-inline {
    display: flex;
    width: 100%;
}

.save-inline input {
    width: 60%;
}

.save-inline .c-list-cont {
    width: 60%;
}

.save-p {
    width: 35%;
}

.save-inline p {
    color: var(--font-color2);
    padding-right: 12px;
}

.save-top {
    margin-top: 42px;
}

.save-or {
    color: var(--font-color3);
    margin: 12px 0px;
    font-size: var(--font-small);
}

.save-user-height .c-list-items {
    height: 160px;
}


/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--scroll);
    border-radius: 25px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-hl);
}

.tbar-p {
    min-width: 74px;
    text-align: right;

}

.data-withdraw {
    height: 100% !important;
}


#stypes {
    min-width: 180px;
}

.cabins-inline {
    display: flex;

}

.man-yacht-view {
    overflow-y: auto;
    height: 100%;
    position: relative;
    padding-bottom: 64px;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    justify-content: center;
    overflow-y: auto;
}

.video-item {
    width: fit-content;
    min-width: 520px;
    height: 340px;
    margin: 32px;
    padding: 16px;
    border: 1px solid var(--light-border);
}

.video-title {
    border-bottom: 1px solid var(--light-border);
    padding-bottom: 6px;
    margin-bottom: 12px;
    font-size: var(--font-large);
}

#mid-status {
    line-height: 1.1rem;
}

.last-saved-time {
    color: var(--font-color2);
    font-size: var(--font-small);
}

.smaller-log-dd {
    width: 184px !important;
}

.form-entry {
    width: 100%;
}

.g-search-btn {
    align-self: flex-end !important;
    height: 26px !important;
    width: 26px !important;
    margin-bottom: 10px !important;
    border: none !important;
    cursor: pointer;
    margin-right: 22px !important;
}

.g-search-btn p {
    font-size: 16pt;
}

.no-page-break {
    page-break-inside: avoid !important;
}

.page-break {
    page-break-inside: unset !important;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

#help-items {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#video-sect {
    height: 100%;
    overflow-y: auto;
}

#faq-sect {
    height: 100%;
    width: 100%;
    overflow-y: auto;
}

.sect-pdf-full {
    width: 100%;
    height: 100%;
}

.not-auth-text {
    width: 100%;
    text-align: center;
    color: var(--red-text);
    font-size: var(--font-large);
}


.sub-sect-part-top {
    margin-left: 32px;
    border-left: 2px solid var(--light-border);
    padding-left: 8px;
    width: calc(100% - 32px) !important;
}

.sub-sect-part {
    margin-left: 32px;
    padding-left: 8px;
    border-left: 2px solid var(--light-border);
    width: calc(100% - 32px) !important;
}


.fltr-header {
    height: 100%;
    display: flex !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    align-items: center !important;
    cursor: pointer;
}

.fltr_arrow {
    margin-left: 6px;
}

.flex-checklists {
    display: flex;
    padding: 6px;
}

.flex-checklists p {
    margin-right: 6px;
}