/* Custom css */
.vsi-hidden
{
    display: none;
}

.vsi-label
{
    padding-right: 3px!important;
}

.vsi-right
{
    text-align: right;
}

.vsi-text-contents
{
    font-family: 'Consolas', 'Courier New', Courier, monospace;
}

.vsi-ellipsis
{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vsi-fixed-footer
{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1b6ec2;
    color: white;
    padding: 10px 10px;
    font-size: 18px;
    text-align: center;
    z-index: 1000; /* Ensures it's above other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for better visibility */
}

.vsi-loading-screen-text
{
    margin-top: 100px;
}

/* Add space before / after arrows */
.vsi-arrowleft
{
    margin-right: 8px;
}
.vsi-arrowright
{
    margin-left: 8px;
}

/* Add some margin*/
.vsi-btn-voyage-page-action
{
    margin-top: 10px;
}

/* Grey overlay when in Progress*/
.vsi-overlay
{
    position: fixed; /* Fixed position to cover the whole viewport */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(128, 128, 128, 0.2); /* Semi-transparent grey */
    display: flex; /* Use flexbox to center the child content */
    align-items: center; /* Center the content vertically */
    justify-content: center; /* Center the content horizontally */
    z-index: 9998; /* High z-index to ensure overlay is on top of other content */
}

.vsi-text-loading
{
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: black;
    font-size: 56px;
    text-align: center;
    z-index: 9998;
}

.vsi-mainscreen-button
{
    width: 90%;
    font-size: 1rem;
}

.vsi-header-item
{
    text-align: end;
    font-size: 1.3rem;
}

/* page field sepereator */
.vsi-seperator-line
{
    border-top: 1px solid #aaaaaa;
    margin-top: 2px;
    margin-bottom: 2px;
}
.vsi-seperator
{
    margin-top: 2px;
    margin-bottom: 2px;
}

.vsi-seperator-20
{
    margin-top: 10px;
    margin-bottom: 10px;
}

.vsi-seperator-40
{
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Toast fixed in the viewport*/
.cs-toast
{
    position: fixed!important;
}

/* Payment images */
.img-payment-success
{
    width: 100px;
    height: 100px;
}
.img-payment-failed
{
    width: 325px;
    height: 150px;
}

/* Page titles */

.vsi-centered
{
    text-align: center;
}

.vsi-h1
{
    text-align: center;
    font-size: 2em;
    border-radius: 0.25rem;
}

/* Fonts */
.font-bold
{
    font-weight: bold;
}

.font-large
{
    font-size: 22px;
}

/* Logo */
.vsi-account-logo
{
    min-width: 60px;
}

/* Time */
.vsi-time-display
{
    font-size: 16px;
}

/* Menu */
.vsi-menu-header-style
{
    color: #FFFFFF;
    font-weight: bold;
    cursor: pointer !important;
}
.vsi-dropdown-menu
{
}
.vsi-dropdown
{
    line-height: 28px;
    display: flex;
    align-items: center;
}

.vsi-dropdown a
{
    border-radius: 4px;
    display: flex;
    align-items: center;
}
.vsi-dropdown-button i.fas
{
    font-size: 28px;
}

.vsi-menu-item-style:hover
{
    text-decoration: none !important;
}
.vsi-menu-item-style
{
    color: #FFFFFF !important;
    font-weight: bold !important;
    margin-left: 0px !important;
    font-size: 0.7rem!important;
    line-height: 0.7rem!important;
}

.vsi-menu-item-style:hover
{
    color: #16181b;
    background-color: red;
    text-decoration: none;
}

.vsi-menu-divider
{
    border-top: 2px solid #FFFFFF !important;
    opacity: 1;
    background-color: inherit;
}

.vsi-menu-icon-item-style
{
    --bs-nav-link-padding-y: 0;
    font-size: 2rem !important;
    line-height: 2rem !important;
    padding-left: 30px !important;
    font-weight: bold !important;
    margin-left: 0px !important;
}

.vsi-menu-icon-item-style:hover
{
    color: #16181b !important;
    text-decoration: none !important;
}

.vsi-account-button
{
    font-size: 1rem !important;
}
.vsi-account-button:hover
{
    color: #16181b !important;
    background-color: transparent !important;
    text-decoration: none !important;
}

/* Text */
.vsi-number-label
{
    display: inline-block;
}

.vsi-number-input
{
    display: inline-block;
    width: 60px;
}

.vsi-time-display
{
    color: #FFFFFF !important;
    font-weight: bold !important;
    margin-left: 0px !important;
    margin-top: 18px;
}

.vsi-input-select
{
    appearance: none; /* This removes native select styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../images/dropdown.svg'); /* Path to your icon */
    background-repeat: no-repeat;
    background-position: right 10px center; /* Adjust as needed */
    background-size: 15px 15px; /* Size of your icon */
    cursor: pointer;
}

.vsi-search-input
{
    width: 120px !important;
    display: inline-block;
    border-top-right-radius: 0rem;
    border-bottom-right-radius: 0rem;
    margin-right: 0px !important;
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}
.vsi-search-input-button
{
    width: 120px !important;
    display: inline-block;
    border-top-left-radius: 0rem;
    border-bottom-left-radius: 0rem;
    margin-left: -4px !important;
}

.vsi-search-input-button-container
{
    width: 140px !important;
}

/* For browsers that do not support appearance */
.vsi-input-select::-ms-expand
{
    display: none;
}

/* Buttons */
.vsi-btn
{
    margin-right: 3px;
    margin-bottom: 3px;
    color: #fff !important;
    padding: 0.30rem 0.5rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

.vsi-btn-account
{
    margin-left: 5px!important;
    color: white !important;
}

/* Align */
.vsi-left-aligned-no-padding
{
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.vsi-fixed-mid-right
{
    position: fixed;
    top: 50%;
    right: 10px;
    z-index: 999;
}

.vsi-fixed-mid-left
{
    position: fixed;
    top: 50%;
    left: 10px;
    z-index: 999;
}

/* Rows */
.vsi-row
{
    position: relative;
    z-index: 0;
}

.top-row
{
    padding-left: 0px !important;
    padding-right: 0px !important;
    z-index: 999;
}

.form-row
{
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

/*** Telerik DropDownList ***/
.vsi-dropdownlist
{
    font-size: 0.8rem;
    padding: 0.2rem 0.2rem;
    margin-top: 2px;
}
.vsi-dropdownlist-popup
{
    min-width: 400px;
}

/* Select */
select
{
}
select option
{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #eeeeee;
    color: #000000;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
}
select:checked
{
    color: #FFFFFF;
}


.vsi-image-loading
{
    width: 160px;
    height: 120px;
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index:9999;
}

/*** Telerik Checkbox ***/
/* Vertical align checkbox */
.vsi-col-checkbox
{
    padding-top: 0px;
    padding-bottom: 0px;
}


/* media queries */
@media (max-width: 992px)
{
    .vsi-menu-header-style
    {
        padding-left: 10px!important;
    }
}

/* media queries - iPhone tm XR*/
@media (max-width: 414px)
{
    /* Header text smaller */
    .vsi-h1
    {
        font-size: 1.25em;
        margin-bottom: 5px;
    }

    /* Remove text on mobile */
    .vsi-btn-no-text-on-mobile .k-button-text
    {
        display: none;
    }

    /* margin buttons */
    .vsi-btn
    {
        margin-bottom: 5px;
    }

    /* subscriptions smaller */
    .osm-page-title
    {
        font-size: 2em;
    }

    /* Smaller account icon */
    .vsi-dropdown-button i.fas
    {
        font-size: 17px;
    }

    /* Delete space between h1 and the articles*/
    .isas-home .mt-4
    {
        margin-top: 0px!important;    
    }

    /* No extra margins when on mobile */
    p
    {
        margin-bottom: 0rem;
    }

    /* Labels condensed */
    .col-form-label
    {
        padding-top: calc(0.075rem + 1px);
        padding-bottom: calc(0.075rem + 1px);
        line-height: 1.3;
    }

    /* Some indention */
    .dropdown-menu
    {
        left: 60px;
        box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.5)!important;
    }

    .navbar-nav
    {
        box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.5) !important;
    }

}


@media screen and (min-width: 768px)
{
    select#limit.form-select, select.form-select.input-mini
    {
        width: 100px !important
    }

    select.form-select.input-medium
    {
        width: 180px !important
    }

    /* URL buttons on the index page */
    .principal-select
    {
        width: 100%;
        margin-top: auto;
        position: absolute;
        bottom: 70px;
        padding-right: 3.5rem !important;
    }
}

