
html, body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: black;
    color: white;
    font-family: "Roboto", serif; 
}

/*---only for black sails 4 use---*/
/*.dxc-elements {
    stroke: #cddc39 !important;
}*/

/*.dxc-markers {
    fill: #cddc39 !important;
}*/
/*---only for black sails 4 use---*/

.content {
    min-height: calc(100vh - 86px - 44px);
    margin-top: 85px;
    width: 100%;
    height: 100%;
}

.card {
    background-color: #212529;
    color: white;
}

.nav-bg {
    background-color: ghostwhite;
}

.logo-icon {
    height: auto;
    width: 60px;
}

.logo {
    height: auto;
    width: 190px;
}

.card-header {
    background-color: transparent;
    border-bottom: none;
}

.fortis-title {
    color: #141240;
}

.bg-fortis-grey {
    background-color: ghostwhite;
}

.bg-fortis-blue {
    background-color: #1e1c55;
}

.bg-fortis-dark {
    background-color: #141240;
}

.bg-fortis-ltblue {
    background-color: #585c8d;
}

.sub-text {
    font-size: 14px;
}

.bg-fortis-Teal {
    background-color: #30bebe;
}

.fortis-text-teal {
    color: #30bebe;
}

.bg-fortis-ltgreen {
    background-color: #6bc7b8;
}

.bg-fortis-gd {
    background: rgb(51,56,89);
    background: linear-gradient(159deg, rgba(51,56,89,1) 0%, rgba(23,28,49,1) 37%);
    color: white;
}

.bg-grey {
    background-image: radial-gradient( circle 975px at 2.6% 48.3%, rgba(0,8,120,1) 0%, rgba(95,184,224,1) 99.7% );
    background-color: #fafafa;
}

.icon-profile {
    margin-bottom: 4px;
    color: black;
}

.icon-lock {
    color: white;
    border-radius: 10px;
    padding: 10px;
    background-image: radial-gradient( circle 975px at 2.6% 48.3%, rgba(0,8,120,1) 0%, rgba(95,184,224,1) 99.7% );
}

.footer-bg {
    color: whitesmoke;
    text-align: center;
}

.pad-tb {
    padding-top: 20px;
    padding-bottom: 20px;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media only screen and (max-width: 600px) {
    .vertical-center {
        margin: auto;
        position: initial;
        top: initial;
        -ms-transform: translateY(0%);
        transform: translateY(0%);
    }
}

.accord-link {
    color: whitesmoke !important;
    text-decoration: none;
    text-transform: uppercase;
}

    .accord-link:hover {
        color: #9098aa !important;
    }

/*--Color--*/
.loginIntro {
    background: black;
}

body.login-intro {
    background-color: black;
}

.bg-blue-gradient {
    background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}

.bg-dark-grey {
    background-color: #363636;
}

.bg-lt-green {
    background-color: #eaf2e7;
    border-radius: 5px;
    padding: 11px;
}

.square-blue {
    border-left: solid 5px #113A8C;
}

.square-green {
    border-left: solid 5px #15591F;
}

.square-lt-green {
    border-left: solid 5px #94bf88;
}

.square-navy {
    border-left: solid 5px #0f3c59;
}

.square-orange {
    border-left: solid 5px #D95829;
}

.link-blue {
    color: #113A8C;
}

    .link-blue:hover {
        color: black;
    }

.link-yellow {
    color: #cddc39 !important;
}

    .link-yellow:hover {
        color: white !important;
    }


/*--Buttons--*/


/*--Text Colors--*/

.bg-ltblue {
    background-color: #f2f6fc;
}

element.style {
}

.table > :not(caption) > * > * {
    padding: .5rem .5rem;
    color: var(--bs-table-color-state, var(--bs-table-color-type, #ffffff));
    background-color: #3f3f4b;
    border: solid 1px #515159;
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}

.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    --bs-table-color-type: white;
    --bs-table-bg-type: #212529;
    border: solid 1px #515159;
}

tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: none;
    border-width: 0;
}

.breadcrumb-nav::after {
    content: "/";
    margin-left: 1rem;
}

@media only screen and (max-width: 600px) {
    .breadcrumb-nav::after {
        content: "";
        margin-left: 0;
    }
}

.text-title {
    color: white;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
}

.text-title-black {
    color: black;
    text-align: left;
    text-transform: uppercase;
    font-weight: bold;
}

.under-text {
    color: #adb5bd;
}

.bg-none {
    background-color: transparent;
}

.gradient-background {
    background: linear-gradient(-45deg, #23a6d5, #0a58ca, #001741, #001741);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 100%;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.text-blue {
    color: #1ca8dd;
}

.bg-1blue {
    background-color: #023373;
}

.bg-2blue {
    background-color: #03588C;
}

.bg-3blue {
    background-color: #0388A6;
}

.bg-3blue {
    background-color: #04ADBF;
}

.bg-4blue {
    background-color: #04D9C4;
}
/*--new colors--*/
.bg-navy {
    /* background: rgb(0,0,0);
    background: linear-gradient(309deg, rgba(0,0,0,1) 0%, rgba(55,63,78,1) 100%);*/
    /* background-image: radial-gradient( circle 975px at 2.6% 48.3%, rgba(0,8,120,1) 0%, rgba(95,184,224,1) 99.7% );*/
}

.icon-navy {
    background-color: #cddc39;
    color: black;
    border-radius: 0.25rem;
}


.nav-dashboard {
    color: white !important;
}

    .nav-dashboard .active a {
        color: #1ca8dd !important;
    }

    .nav-dashboard:hover {
        color: #cddc39 !important;
    }

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.background {
    background-image: linear-gradient(160deg, #0093E9 0%, #80D0C7 100%);
}

.btn-dark {
    color: white;
    background-color: #1e1c55;
}

    .btn-dark:hover {
        background-color: #585c8d;
        border-color: #585c8d;
    }

    .btn-dark:active, .btn-dark:focus {
        background-color: #30bebe !important;
        border-color: #30bebe !important;
    }


.text-lt-yellow {
    color: #cddc39;
    text-transform:uppercase;
}

.btn-primary {
    background-color: #cddc39 !important;
    color: black !important;
    border: 1px solid #cddc39 !important;
}

    .btn-primary:hover {
        color: black !important;
        background-color: #abb921 !important;
        border: 1px solid #abb921 !important;
    }

    .btn-primary:active, .btn-green:focus {
        color: black !important;
        background-color: #7d8718 !important;       
        border: 1px solid #7d8718 !important;
    }

.btn-green {
    color: black;
    background-color: #cddc39;
}

    .btn-green:hover {
        color: black !important;
        background-color: #abb921 !important;
        border-color: transparent !important
    }

    .btn-dark:active, .btn-green:focus {
        color: black !important;
        background-color: #7d8718 !important;
        border-color: #7d8718 !important;
    }

.btn-coral {
    color: white;
    background-color: #f24646;
}

    .btn-coral:hover {
        color: white;
        background-color: #ef2121 !important;
        border-color: transparent !important
    }


    .btn-coral:active {
        color: white !important;
        background-color: #b60d0d !important;
        border-color: transparent !important
    }


.btn-primary {
    padding-left: 1rem;
    padding-right: 1rem;
}

.btn-outline-primary {
    padding-left: 1rem;
    padding-right: 1rem;
}

.form-check-input:checked {
    background-color: #99A61D; /* Your checked color */
    border-color: #99A61D; /* Your checked border color */
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(153, 166, 29, 0.25); /* Custom focus color with similar opacity */
    outline: none; /* Removes the default outline */
}

.image {
    background-image: url('../images/istockphoto-1435226184-612x612.jpg');
}

.nav-link-bar {
    color: ghostwhite !important;
}

    .nav-link-bar:hover {
        color: #9098aa !important;
    }

.text-navy {
    color: #101357;
}

.text-turq {
    color: #00ece9;
}

.dashboard-img {
    background-image: url('../images/iStock-1488222579_bw.jpg');
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

.text-body-tertiary {
    color: #667085 !important;
}

.nav-tabs .nav-link {
    border: none;
    color: white;
    text-transform: uppercase;
}

    .nav-tabs .nav-link.active {
        color: #a3abc0;
        background-color: #212529;
        border-color: #212529;
    }

    .nav-tabs .nav-link:hover {
        color: white;
        border-color: #212529;
    }


.nav-tabs {
    --bs-nav-tabs-border-color: transparent;
}

.custom-card {
    border-radius: 0 0.25rem 0.25rem 0.25rem !important; /* top-left, top-right, bottom-right, bottom-left */
}

.dropdown-menu-dark {
    background-color: #2a2f34;
}

.nav-pills .nav-link {
    color: whitesmoke; /* Default link color */
}

    .nav-pills .nav-link:hover {
        color: #9098aa; /* Default link color */
    }

    .nav-pills .nav-link.active {
        color: #fff; /* Active link color */
        background-color: #373f4e; /* Active link background color */
    }

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    background-color: #3d444b;
}

.dx-datagrid {
    color: #dedede;
    background-color: #212529 !important;
}

.dx-toolbar {
    background-color: #212529 !important;
}

.text-green {
    color: #45ffd4;
}

.toc {
    list-style-type: none;
    padding: 0;
}

    .toc li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 10px 0;
    }

        .toc li span {
            margin-left: 0;
        }


.parentheses {
    list-style-type: none;
    counter-reset: list-counter; /* Reset the counter */
}

    .parentheses li {
        counter-increment: list-counter; /* Increment the counter */
    }

        .parentheses li::before {
            content: "(" counter(list-counter) ") "; /* Add parentheses */
        }

.dot {
    flex-grow: 1;
    border-bottom: 1px dotted #9098aa;
    margin-left: 10px;
    margin-right: 10px;
}

/* Mobile-specific styles */
@media (max-width: 768px) { /* Adjust the max-width value based on your mobile breakpoint */
    .dot {
        border-bottom: none; /* Remove the dotted line */
        margin-left: 0; /* Optional: Adjust spacing */
        margin-right: 0; /* Optional: Adjust spacing */
    }
}

.bg-yellow {
    background-color: rgb(181, 237, 237, 0.5)
}

.yellow {
    background-color: yellow;
}

.text-yellow {
    color: black;
    background-color: yellow;
    padding: 2px;
}

.form-check-label.text-yellow {
    color: black !important;
    background-color: yellow;
    padding: 2px;
}

.yellow-stroke {
    border: 1px solid slategrey;
    background-color: yellow;
}

    .yellow-stroke:focus {
        outline: none !important;
        box-shadow: none !important;
    }

.match-table-padding {
    padding-left: 0.75rem; /* Same as table cell */
    padding-right: 0.75rem; /* Same as table cell */
}

.form-check-input {
    border-color: slategrey !important;
}

.form-title {
    color: white;
    text-transform: uppercase;
}

/* Uppercase for navbar links */
.navbar-nav .nav-link {
    text-transform:initial;
}

.dashboard-img {
    background-image: url('../images/blacksails_background-02.jpg');
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.form-check-label {
    color: white !important;
}

.list-group-item {
    color: white !important;
    background-color: transparent;
}

.bg-grey-box {
    background-color: #343434;
}

.bg-grey-dark {
    background-color: #4d4d4d !important;
}

.border-grey {
    border: 1px solid #4d4d4d;
}

.btn-complete {
    background-color: #cddc39 !important;
    color: black !important;
    border: 2px solid #cddc39;
    display: inline-block;
    position: relative;
    transform: skew(-21deg); /* Skew the button to the left */
    transition: all 0.3s ease;
    overflow: hidden; /* Prevent content overflow */
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: small;
}

    .btn-complete span {
        display: inline-block;
        transform: skew(21deg); /* Reverse skew for text */
    }

    .btn-complete:hover {
        border-color: #abb921;
        background-color: #abb921 !important; /* Slightly darker shade on hover */
        color: black !important;
    }


    .btn-complete:active {
        border-color: #7d8718;
        background-color: #7d8718 !important; /* Slightly darker shade on hover */
        color: black !important;
    }

.btn-not-complete {
    background-color: transparent !important;
    color: slategray !important;
    border: 2px solid slategray;
    display: inline-block;
    position: relative;
    transform: skew(-21deg); /* Skew the button to the left */
    box-shadow: none; /* No shadow for this version */
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: small;
}

    .btn-not-complete span {
        display: inline-block;
        transform: skew(21deg); /* Reverse skew for text */
    }

    .btn-not-complete:hover {
        background-color: transparent !important;
        color: #4e5964 !important; /* Change text to white on hover */
        border-color: #4e5964; /* Keep border color the same */
    }

@media only screen and (max-width: 600px) {
    .check-pad {
        padding-left: 1px !important;
        padding-right: 1px !important;
    }
}


.table input:not([type="checkbox"]):not([type="radio"]) {
    min-width: 150px; /* Adjust as needed */
}

.signature-font {
    font-family: "Dancing Script", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    text-underline-offset: 8px;
}

.dx-popup-normal {
    max-height: 90vh !important; /* Prevents it from being too tall */
    height: auto !important; /* Adjusts height dynamically */
}

.dx-overlay-content {
    max-height: 90vh !important; /* Ensures the popup doesn't go beyond viewport */
    overflow: hidden; /* Prevents unwanted scrolling outside the modal */
}

.dx-popup-content {
    max-height: 75vh !important; /* Keeps content within modal */
    overflow-y: auto !important; /* Enables scrolling inside the popup */
    padding: 15px; /* Ensures content has spacing */
}


@media (max-width: 768px) { /* For tablets and smaller screens */
    .dx-popup-normal {
        width: 95% !important; /* Ensures it doesn't stretch too wide */
        max-height: 85vh !important; /* Slightly less height on smaller screens */
    }

    .dx-popup-content {
        max-height: 70vh !important; /* More space for scrolling */
    }
}

@media (max-width: 480px) { /* For mobile devices */
    .dx-popup-normal {
        width: 100% !important; /* Full width for small screens */
        max-height: 80vh !important; /* Keeps it usable */
    }

    .dx-popup-content {
        max-height: 65vh !important; /* Allows more scrolling space */
        padding: 10px; /* Less padding for smaller screens */
    }
}


.font-yellow {
    color: #cddc39;
}


@media print {
    body {
        width: 100%;
    }

    .container {
        max-width: 100%;
        width: 100%;
    }
}

@media print {
    * {
        overflow: visible !important;
        position: static !important;
    }
}


@media print {
    body {
        margin: 0;
        padding: 0;
    }

    html, body {
        height: 100%;
    }

    header {
        margin: 0;
        padding: 0;
        display: none; /* Optional: Hide header during printing */
    }

    .navbar {
        margin: 0;
        padding: 0;
    }

    .content {
        margin-top: 0;
    }
}
