/*General*/
:root {
    /* -- colors --*/
    --white: #FFF;
    --black: black;
    --lt-orange: #FF5630;
    --lt-purple: #1c51c3;
    --lt-grey: #666666;
    --lt-dark-grey: #323441;
    --lt-dark-grey-2: #181920;
    --lt-dark-grey-3: #151515;
    --lt-light-grey: #EAEAEA;
    --lt-light-grey-2: #8E91A2;
    --lt-light-theme-blue: #2463EB;
    --lt-dark-theme-blue: #85A8F3;

    --bs-primary-rgb: 36, 99, 235;
    --bs-secondary-rgb: 102, 102, 102;

    /*--bs-body-bg: light-dark(#EAEAEA, #121212);*/

    --bs-card-bg: light-dark(var(--white), var(--lt-dark-grey-2)) !important;

    --bs-list-group-bg: light-dark(var(--white), var(--lt-dark-grey)) !important;

    --bs-border-radius-xl: 20px;


    /*--bs-modal-bg: light-dark(white, var(--lt-dark-grey)) !important;*/
}

body,
.main,
.main > .content,
.page-container {
    min-height: 100vh;

    font-family: 'Inter', sans-serif !important;
}

body {
    background-color: light-dark(var(--lt-light-grey), #121212) !important;
}

.page-container {
    align-items: center;
}

.page {
    min-height: 100%;
}

@media (max-width: 768px) {
    .page-container {
        align-items: end !important;
        padding-bottom: 20px;
    }
}

.validation-errors {
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}

/*end General*/

/* Error message */
.select-item.validation .text-danger,
.activity-modal-container .text-danger,
.auth .text-danger {
    transform: translate(3px, -22px);
    position: relative;
}

a.blue-link,
.auth .blue-link,
.mobile-settings-container .blue-link {
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue));
}

.auth .visibility-icon {
    cursor: pointer;
    right: 7px;
    top: 10px;
}

.auth {
    box-shadow: 0 5px 12px 0 #0000003d !important;
}

.floating-label {
    font-size: 12px;
    position: relative;
    bottom: 62px;
    left: 12px;
    background-color: light-dark(var(--white), var(--lt-dark-grey)) !important;
    font-weight: 600;
    color: light-dark(var(--lt-grey), #AEAFBB);
    padding: 0 2px;
    width: fit-content;
}

.floating-label.floating-label-select {
    bottom: 57px;
}

/* start: Dropdown */
.select-item {
    position: relative;
}

.floating-label-input,
.floating-label-select,
.select-item .form-select {
    border-color: light-dark(var(--lt-light-grey), #5A5E6F) !important;
}

.select-item:has(select:disabled),
.select-item:has(input:disabled) {
    color: light-dark(lightgrey, dimgrey) !important;

    /*.form-select {*/
    /*    */
    /*}*/

    select, input {
        color: light-dark(lightgrey, dimgrey) !important;
    }
}

.select-item select {
    background-image: none;
}

.select-item .dropdown-arrow {
    position: absolute;
    right: 30px;
    top: 12px;
}

.select-item i {
    pointer-events: none;
}

.select-item i::before {
    font-size: 10px;
}

/* end: Dropdown */

input.floating-label-input.invalid + .floating-label {
    color: var(--lt-orange);
}

input.floating-label-input,
select.floating-label-select {
    height: 50px;
    border-color: var(--lt-light-grey);
    border-radius: 12px;
}

.input.floating-label-input::placeholder {
    color: #959595;
}

input.invalid {
    border-color: var(--lt-orange);
}

body:has(.auth) {
    /*background-image: url(/_content/NgappaTides.UI.Components/assets/ngappaAssets/images/auth-map-bg-light.png);*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
}

html[data-bs-theme="light"] body:has(.auth) {
    background-image: url("/_content/NgappaTides.UI.Components/assets/ngappaAssets/images/auth-map-bg-light.png");
}

html[data-bs-theme="dark"] body:has(.auth) {
    background-image: url("/_content/NgappaTides.UI.Components/assets/ngappaAssets/images/auth-map-bg-dark.png");
}

/*end Auth*/

/* INFO: form-switch colors */
.form-switch .form-check-input:checked {
    background-color: var(--lt-light-theme-blue);
    border-color: var(--lt-light-theme-blue);
}

.form-switch .form-check-input:checked:hover {
    background-color: #1f58d4;
    border-color: var(--lt-purple);
}

.form-switch .form-check-input:checked:active {
    background-color: var(--lt-purple);
    border-color: #194ab1;
}

.form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(36, 99, 235, 0.25);
}

/*end form switch*/

/*Toasts*/

.blazored-toast-container {
    z-index: 9999 !important;
}

.blazored-toast-component {

    border-radius: 16px !important;

    a {
        color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
    }
}

/*end Toasts*/

/* start: buttons */


.btn-lg {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    border-radius: 16px !important;

    --bs-btn-font-size: 14px;
    --bs-btn-font-weight: 600;
    --bs-btn-line-height: 16px;
}

.btn-secondary-grey {
    background: light-dark(#F5F5F5, var(--lt-dark-grey)) !important;
    border: none;
    color: var(--lt-grey) !important;
    padding: 3px !important;
    border-radius: 10px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px !important;
    font-style: normal;
    line-height: 16px;
    justify-content: center;
}

button.btn-danger {
    --bs-btn-color: #FFFFFF;
    --bs-btn-bg: #FF5630;
    --bs-btn-border-color: transparent;

    --bs-btn-hover-color: var(--white);
    --bs-btn-hover-bg: #CC2500;
    --bs-btn-hover-border-color: transparent;

    --bs-btn-disabled-color: var(--white);
    --bs-btn-disabled-bg: #FFD5CC;
    --bs-btn-disabled-border-color: transparent;

    border-radius: 12px;
    /*font-weight: 500;*/
}

button.btn-outline-danger {
    --bs-btn-color: var(--lt-orange);
    --bs-btn-bg: #FFF1EE;
    --bs-btn-border-color: transparent;

    --bs-btn-hover-color: var(--lt-orange);
    --bs-btn-hover-bg: #FFD5CC;
    --bs-btn-hover-border-color: transparent;

    --bs-btn-disabled-color: #FFD5CC;
    --bs-btn-disabled-bg: #FFF1EE;
    --bs-btn-disabled-border-color: transparent;

    border-radius: 12px;
}

button.btn-secondary {
    --bs-btn-color: light-dark(var(--lt-grey), var(--lt-light-grey-2));
    --bs-btn-bg: light-dark(#F5F5F5, #ffffff26);
    --bs-btn-border-color: transparent;

    --bs-btn-hover-color: light-dark(var(--lt-grey), var(--white));
    --bs-btn-hover-bg: light-dark(var(--lt-light-grey), #ffffff33);
    --bs-btn-hover-border-color: transparent;

    --bs-btn-active-color: light-dark(var(--lt-grey), var(--white));
    --bs-btn-active-bg: light-dark(var(--lt-light-grey), #ffffff33); /* active: even darker */
    --bs-btn-active-border-color: transparent;
    /*--bs-btn-active-shadow: inset 0 3px 5px rgba(8, 7, 19, 0.125);*/

    --bs-btn-disabled-color: light-dark(#D1D1D1, #ffffff4d);
    --bs-btn-disabled-bg: light-dark(#F5F5F5, #ffffff26);
    --bs-btn-disabled-border-color: transparent;

    border-radius: 12px;
}

.btn-secondary-grey:hover {
    background-color: #e2e6ea;
    text-decoration: none;
    color: #5a6268;
}

button.btn-primary-blue,
input.btn-primary-blue,
button.btn-primary,
input.btn-primary {
    --bs-btn-color: var(--white);
    --bs-btn-bg: var(--lt-light-theme-blue); /* main background */
    --bs-btn-border-color: var(--lt-light-theme-blue);

    --bs-btn-hover-color: var(--white);
    --bs-btn-hover-bg: #1f58d4; /* hover: slightly darker blue */
    --bs-btn-hover-border-color: var(--lt-purple);

    --bs-btn-focus-shadow-rgb: 36, 99, 235; /* RGB for #2463EB */

    --bs-btn-active-color: var(--white);
    --bs-btn-active-bg: var(--lt-purple); /* active: even darker */
    --bs-btn-active-border-color: #194ab1;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(8, 7, 19, 0.125);

    --bs-btn-disabled-color: var(--white);
    --bs-btn-disabled-bg: var(--lt-light-theme-blue);
    --bs-btn-disabled-border-color: var(--lt-light-theme-blue);

    border-radius: 12px;
}


/*button.btn-primary-blue {*/
/*    --bs-btn-color: var(--white);*/
/*    --bs-btn-bg: #2463EB; !* main background *!*/
/*    --bs-btn-border-color: #2463EB;*/

/*    --bs-btn-hover-color: var(--white);*/
/*    --bs-btn-hover-bg: #1f58d4; !* hover: slightly darker blue *!*/
/*    --bs-btn-hover-border-color: var(--lt-purple);*/

/*    --bs-btn-focus-shadow-rgb: 36, 99, 235; !* RGB for #2463EB *!*/

/*    --bs-btn-active-color: var(--white);*/
/*    --bs-btn-active-bg: var(--lt-purple); !* active: even darker *!*/
/*    --bs-btn-active-border-color: #194ab1;*/
/*    --bs-btn-active-shadow: inset 0 3px 5px rgba(8, 7, 19, 0.125);*/

/*    --bs-btn-disabled-color: var(--white);*/
/*    --bs-btn-disabled-bg: #2463EB;*/
/*    --bs-btn-disabled-border-color: #2463EB;*/

/*    border-radius: 12px;*/
/*}*/

.btn.btn-outline-info {
    /*border-radius: 12px;*/
    /*background:*/
    --bs-btn-color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
    --bs-btn-bg: #2463eb17; /* main background */
    --bs-btn-border-color: #2463eb17;

    --bs-btn-hover-color: var(--white);
    --bs-btn-hover-bg: #1f58d4; /* hover: slightly darker blue */
    --bs-btn-hover-border-color: var(--lt-purple);

    --bs-btn-focus-shadow-rgb: 36, 99, 235; /* RGB for #2463EB */

    --bs-btn-active-color: var(--lt-light-theme-blue);
    --bs-btn-active-bg: #2463eb33; /* active: even darker */
    --bs-btn-active-border-color: #2463eb33;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(8, 7, 19, 0.125);

    --bs-btn-disabled-color: var(--white);
    --bs-btn-disabled-bg: #2463eb17;
    --bs-btn-disabled-border-color: #2463eb17;

    border-radius: 12px;
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
    background-color: light-dark(#2463eb33, #537fdf29) !important;
    border-color: light-dark(#2463eb33, var(--lt-dark-theme-blue)) !important;
}

.btn-group .btn {
    border: 1px solid light-dark(#15151514, #5A5E6F) !important;
    color: light-dark(var(--lt-grey), #AEAFBB) !important;
}

/* end: buttons */


/*start tabs*/

.nav-container {
    overflow-x: auto;
    white-space: nowrap;
}

.nav-container ul {
    display: block;
    flex-direction: row;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .nav-container ul {
        display: block;
    }

}

.nav-container ul li {
    display: inline-block;
}

.tabs button.nav-link {
    border-bottom: 1px solid #1515151a;
}

.nav-link {
    color: light-dark(var(--lt-grey), var(--lt-light-grey-2));
}

ul.navbar-nav li.active {
    background: light-dark(#F5F5F5, #22232C);

    .nav-link {
        color: light-dark(var(--lt-dark-grey-3), var(--white)) !important;
    }

}

.tabs .nav-link.active {
    border-bottom: 3px solid light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue));
    margin-bottom: 15px;
}

.primary-link,
.nav-link.active {
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
}

.tabs button.nav-link:hover {
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
    border-bottom: 3px solid light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
    cursor: pointer;
}

/*end tabs*/

/*my data*/

/*rename since it is not only for places*/
/*.places-container */
.card-header {
    /*background-color: light-dark(var(--white), Canvas) !important;*/
    border-bottom: none ! important;
}

/*.places-container */
.no-activities-desc {
    color: var(--lt-grey);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.5px;
}

/*.places-container */

.add-activity-action {
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue));
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    cursor: pointer;
}

.add-activity-action button {
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
}

.font-16 {
    font-size: 16px;
}

.font-14 {
    font-size: 14px;
}

.activities-container {
    border: none !important;
}

.activities-grid-container {
    max-height: 55vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 12px;
}

.my-data.activities-grid-container {
    max-height: 25vh;
}

@media (max-width: 475px) {
    .activities-grid-container {
        height: calc(80vh - 10px) !important;
        overflow: scroll !important;
        max-height: none;
    }
}

/*.places-container */
.card-main-header {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.18px;
}

/*.places-container */
.card-subheader {
    color: #959595;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.5px;
}

.activities-container .bold-font {
    font-weight: 600;
}

.activities-container .subheader {
    color: var(--lt-grey);
}

.activities-copy-link .copy-link-el a {
    width: 120px;
}

.activities-container .card-body {
    padding-top: 0px;
}

.card-light {
    background-color: light-dark(var(--white), var(--lt-dark-grey)) !important;
}

/*end mydata*/

/*start table*/
.table-bordered tr th:first-child,
.table-bordered tr td:first-child {
    border-left: none !important;
}

.table-bordered tr th:last-child,
.table-bordered tr td:last-child {
    border-right: none !important;
}

/*end table*/

/*start typography*/
/*.text-secondary {*/
/*    color: light-dark(#666, var(--white)) !important;*/
/*}*/
/*end typography*/

.text-body {
    color: light-dark(var(--black), var(--white)) !important;
}


.badge-secondary {
    color: light-dark(var(--black), #85a8f3) !important;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    padding: 0px 10px;
    background-color: light-dark(#efefef, #323441);
}

.bg-light,
.btn-light {
    background-color: light-dark(#f9f9f9, rgba(50, 52, 65, 1)) !important;
}

.btn-light {
    color: light-dark(var(--black), var(--white)) !important;
}


.dropdown-item {
    color: light-dark(var(--lt-grey), #CDCFD8);

}

.weight-600 {
    font-weight: 600 !important;
}

/*map controls start*/


.map-canvas {
    .gm-style-iw {
        color: var(--black) !important;
    }

    .gmnoprint.gm-style-mtc-bbw {
        .gm-style-mtc:first-child {
            button {
                border-top-left-radius: 10px !important;
                border-bottom-left-radius: 10px !important;
                background-color: light-dark(var(--white), var(--lt-dark-grey)) !important;

            }
        }

        .gm-style-mtc:last-child {
            button {
                border-top-right-radius: 10px !important;
                border-bottom-right-radius: 10px !important;
                background-color: light-dark(var(--white), var(--lt-dark-grey)) !important;

            }
        }

        button {
            color: light-dark(var(--black), var(--white)) !important;
        }
    }

    gmp-internal-camera-control button {
        background-color: light-dark(var(--white), var(--lt-dark-grey)) !important
    }

    .gm-svpc {
        border-radius: 10px !important;
        background-color: light-dark(var(--white), var(--lt-dark-grey)) !important;

    }

    .gm-fullscreen-control {
        /*top: 85px !important;*/
        border-radius: 10px !important;
        background-color: light-dark(var(--white), var(--lt-dark-grey)) !important;
    }
}

#autocomplete-container {
    top: 55px;
    width: 235px;
}
[data-bs-theme="light"] #autocomplete-container {
    gmp-place-autocomplete {
        color-scheme: light !important;
    }
}

[data-bs-theme="dark"] #autocomplete-container {
    gmp-place-autocomplete {
        color-scheme: dark;
    }
}

gmp-place-autocomplete {
    border: 0!important;
    border-radius: 12px !important;
    background-color: light-dark(white, #323441) !important;
}
.page:has(header) {

    .gm-fullscreen-control {
        top: 70px !important;
        /*border-radius: 10px !important;*/
    }

    .gmnoprint.gm-style-mtc-bbw {
        top: 70px !important;
        /*background-color: var(--bs-form-control-bg);*/

    }

    #autocomplete-container {
        top: 130px !important;
        width: 300px !important;
    }

    /*#search-input {*/
    /*    top: 125px !important;*/
    /*    !*background-color: var(--bs-form-control-bg);*!*/

    /*    !*border-radius: 10px !important;*!*/
    /*}*/
}

/*map controls end*/
.tempus-dominus-widget {
    background: light-dark(var(--white), #31343F) !important;
    color: light-dark(var(--black), var(--white)) !important;
}

.tempus-dominus-widget .picker-switch {
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.tempus-dominus-widget .fa-chevron-left,
.tempus-dominus-widget .fa-chevron-right {
    font-size: 10px;
    margin: 12px;
}

.tempus-dominus-widget .date-container-days .dow {
    color: light-dark(var(--black), var(--white)) !important;
}

.tempus-dominus-widget .date-container-days .day.old,
.tempus-dominus-widget .date-container-days .day.new {
    color: var(--lt-light-grey-2) !important;
}

.tempus-dominus-widget .date-container-days div.day:hover {
    color: var(--black) !important;
}

.form-check-input:checked {
    background-color: var(--lt-light-theme-blue) !important;
    border: var(--lt-light-theme-blue) !important;
    outline: none;
}

.view-tides-bullet::before {
    content: '•';
    color: light-dark(var(--black), grey);
}

.view-tides-chart-widget .card-main-header {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.5px;
}

.view-tides-chart-widget .card-body {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: -0.5px;
}

.view-tides-chart-widget .card-body .card-subheader.first {
    margin-left: 26px;
}


@media (max-width: 1220px) {
    .view-tides-chart-widget .card-body .card-subheader.first {
        margin-left: 0;
    }
}

.text-overflow-ellipsis-default,
.text-overflow-ellipsis-small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.text-overflow-ellipsis-default {
    max-width: 300px;
}

.text-overflow-ellipsis-small {
    max-width: 150px;
}

@media (max-width: 576px) {
    .text-overflow-ellipsis-default {
        max-width: 200px;
    }
}


.general-dropdown button {
    display: flex;
    padding: 8px 8px 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 12px;
    background: light-dark(var(--white), #22232C) !important;
    border: 1px solid light-dark(var(--lt-light-grey), #5a5e6f1a);
    height: 36px;
}

.general-dropdown button.btn:hover {
    box-shadow: none;
}

.general-dropdown .dropdown-menu li.text-primary {
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
}

.general-dropdown .dropdown-label {
    color: light-dark(var(--lt-grey), var(--lt-light-grey-2)) !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.general-dropdown .dropdown-value {
    color: light-dark(var(--lt-dark-grey-3), var(--white));
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.tides-container .filters-container {
    align-items: center;
    padding: 0px 0 12px 0;
}

@media (max-width: 991px) {
    div.filters-container {
        flex-direction: column !important;
        align-items: start !important;
    }

    div.filters-container div.filters {
        flex-direction: row !important;
        margin: 15px 0 15px 0;
    }
}

@media (max-width: 535px) {
    div.filters-container div.filters {
        flex-direction: column !important;
    }
}

.tides-container-weather {
    max-width: calc(100vw - 165px);
    overflow: auto;
}

.weather-button-container button {
    min-height: 40px !important;
    position: relative;
    bottom: 3px;
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
}

.helper-page-table th,
.helper-page-table td,
.shared-pages-table th,
.shared-pages-table td,
.notification-table table th,
.notification-table table td,
#high-lows table th,
#high-lows table td,
#ascii table th,
#ascii table td,
.tide-info-hilo .table th,
.tide-info-hilo .table td,
.max-rate-of-change-table .table th,
.max-rate-of-change-table .table td,
.sun-time-container table th,
.sun-time-container table td,
.moon-container table th,
.moon-container table td {
    border: 1px solid light-dark(rgba(90, 94, 111, 0.10), rgba(90, 94, 111, 0.10)) !important;
}

.activity-table th,
.activity-table td {
    border: 1px solid light-dark(rgba(90, 94, 111, 0.10), rgba(90, 94, 111, 0.10));
}

.helper-page-table tbody tr:nth-of-type(odd) td,
.shared-pages-table tbody tr:nth-of-type(odd) td,
.notification-table table tbody tr:nth-of-type(odd) td,
.ascii-text-table table tbody tr:nth-of-type(odd) td,
#high-lows table tbody tr:nth-of-type(odd) td,
#ascii table tbody tr:nth-of-type(odd) td,
.moon-container table tbody tr:nth-of-type(odd) td,
.sun-time-container table tbody tr:nth-of-type(odd) td,
.activity-table tr.even td,
.tide-info-hilo .table tbody tr:nth-of-type(odd) td,
.max-rate-of-change-table .table tbody tr:nth-of-type(odd) td {
    background-color: light-dark(#F8FAFE, var(--lt-dark-grey-2)) !important;
    border-color: rgba(90, 94, 111, 0.10) !important;
    box-shadow: none;
}

.helper-page-table tbody tr:nth-of-type(even) td,
.shared-pages-table tbody tr:nth-of-type(even) td,
.notification-table table tbody tr:nth-of-type(even) td,
.ascii-text-table table tbody tr:nth-of-type(even) td,
#high-lows table tbody tr:nth-of-type(even) td,
#ascii table tbody tr:nth-of-type(even) td,
.moon-container table tbody tr:nth-of-type(even) td,
.sun-time-container table tbody tr:nth-of-type(even) td,
.activity-table tr.odd td,
.tide-info-hilo .table tbody tr:nth-of-type(even) td,
.max-rate-of-change-table .table tbody tr:nth-of-type(even) td {
    background-color: light-dark(var(--white), #202028) !important;
}

table.activity-table tr td {
    color: light-dark(var(--black), var(--white)) !important;
}

.helper-page-table tr th,
.shared-pages-table tr th,
.notification-table table tr th,
.ascii-text-table tr th,
#high-lows tr th,
#ascii tr th,
.moon-container tr th,
.sun-time-container tr th,
table.activity-table tr th {
    background: light-dark(var(--white), #1A1C24);
    color: var(--lt-light-grey-2);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.5px;
}

table.activity-table tr.odd + tr.odd td:first-child,
table.activity-table tr.even + tr.even td:first-child {
    border-top: 2px solid transparent !important;
}

#intervalDropdown {
    box-shadow: none;
}

.chart-selection:has(input[type="checkbox"]:not(:checked)) {
    opacity: .5 !important;
}

.compare-tides-color-label {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
}

.checkbox-label-right {
    margin-left: 5px;
}

@media (max-width: 768px) {
    .landing-page-tabs .navigation-arrows,
    .landing-page-tabs .tabs {
        display: none;
    }

    .landing-page-tabs .image-container,
    .landing-page-tabs .tabs-container {
        width: 100%;
    }

    .landing-page-container .tab-content {
        position: static !important;
        padding-bottom: 15px !important;
        padding-top: 45px !important;
    }

    .landing-page-tabs .tides-where-you-are {
        min-height: 460px;
        display: flex;
        align-items: end;
    }

    .who-is-for-container .empty-space {
        width: 40px !important;
    }

    .who-is-for-container .desc {
        width: 100% !important;
        font-size: 20px !important;
        font-weight: 400 !important;
        line-height: 24px !important;
    }

    .share-tides-times-container .text-content {
        padding: 0 !important;
        height: auto !important;
        justify-content: space-between !important;
    }

    .share-tides-times-container .header-section .header {
        text-align: center !important;
        font-size: 24px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 32px !important;
        letter-spacing: -0.24px !important;
    }

    .share-tides-times-container .header-section .sub-header {
        text-align: center;
    }

    .set-your-plan-container {
        padding-top: 40px !important;
        padding-bottom: 15px !important;
    }

    .set-your-plan-container .sub-header-container {
        padding-bottom: 0px !important;
    }

    .set-your-plan-container .header-container {
        text-align: center !important;
        font-size: 24px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 32px !important;
        letter-spacing: -0.24px !important;

    }

    .landing-subscription {
        flex-direction: column;
    }

    .landing-subscription .left-container .header {
        font-size: 25px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 34px !important;
        letter-spacing: -0.25px !important;
    }

    .still-have-questions .header {
        text-align: center !important;
        font-size: 24px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 32px !important;
        letter-spacing: -0.24px !important;
        margin: 0 14px;
    }

    .still-have-questions {
        margin-top: 40px !important;
    }

    .faq-item .question {
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 24px !important;
        letter-spacing: -0.16px !important;
    }

    .faq-item .answer {
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 24px !important;
    }

    .faq-item {
        padding: 15px !important;
    }
}

@media (min-width: 300px) {
    .welcome-to-container .desc {
        margin-top: calc(50% - 280px) !important;
    }

    .welcome-to-container .image {
        top: -160px !important;
    }
}

@media (min-width: 450px) {
    .welcome-to-container .desc {
        margin-top: calc(50% - 290px) !important;
    }

    .welcome-to-container .image {
        top: -250px !important;
    }
}

@media (min-width: 580px) {
    .welcome-to-container .image {
        top: -350px !important;
    }
}

@media (min-width: 650px) {
    .welcome-to-container .image {
        top: -400px !important;
    }
}

@media (min-width: 700px) {
    .welcome-to-container .image {
        top: -450px !important;
    }
}

@media (min-width: 750px) {
    .welcome-to-container .image {
        top: -500px !important;
    }
}

@media (min-width: 800px) {
    .welcome-to-container .image {
        top: -550px !important;
    }
}

@media (min-width: 850px) {
    .welcome-to-container .image {
        top: -600px !important;
    }
}

@media (min-width: 900px) {
    .welcome-to-container .desc {
        margin-top: calc(50% - 350px) !important;
    }

    .welcome-to-container .image {
        top: -150px !important;
    }
}

@media (min-width: 1400px) {
    .welcome-to-container .desc {
        margin-top: calc(50% - 350px) !important;
    }

    .welcome-to-container .image {
        top: -300px !important;
    }
}

@media (max-width: 900px) {
    .welcome-to-container .toggle-dark {
        display: none;
    }

    .welcome-to-container .main-header {
        font-size: 44px !important;
        line-height: 48px !important;
        letter-spacing: -0.44px !important;
        text-align: left;
    }

    .welcome-to-container .sub-headers div {
        max-width: 157px;
        margin-bottom: 10px;
    }

    .welcome-to-container .desc {
        font-size: 19px !important;
        font-weight: 400 !important;
        line-height: 26px !important;
    }

    .landing-page-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 900px) {
    .welcome-to-container .sub-headers {
        flex-direction: column;
        padding: 10px 25px;
    }
}

.display-none {
    display: none !important;
}

@media (max-width: 1155px) {
    .who-is-for-container .text-content {
        padding-bottom: 0 !important;
    }

    .who-is-for-container .text-content .content {
        max-width: 200px !important;
        min-width: 200px !important;
    }

    .who-is-for-container .content-item {
        gap: 2rem !important;
    }
}

@media (min-width: 1650px) {
    .landing-page-tabs .tide-and-moon img {
        max-width: 90%;
    }
}

@media (min-width: 1800px) {
    .landing-page-tabs .tide-and-moon img {
        max-width: 70%;
    }
}

@media (min-width: 2200px) {
    .landing-page-tabs .tide-and-moon img {
        max-width: 60%;
    }
}

@media (min-width: 2600px) {
    .landing-page-tabs .tide-and-moon img {
        max-width: 50%;
    }
}

@media (min-width: 1650px) {
    .landing-page-tabs .compare-places-easily img {
        max-width: 90%;
    }
}

@media (min-width: 1800px) {
    .landing-page-tabs .compare-places-easily img {
        max-width: 70%;
    }
}

@media (min-width: 2200px) {
    .landing-page-tabs .compare-places-easily img {
        max-width: 60%;
    }
}

@media (min-width: 2600px) {
    .landing-page-tabs .compare-places-easily img {
        max-width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 1025px) {
    .tabs-container .tabs-header {
        font-size: 32px !important;
    }
}

@media (max-width: 768px) {
    .landing-page-tabs .tab-body-desc {
        font-size: 14px !important;
    }

    .landing-page-tabs .tab-body-header {
        font-size: 20px !important;
    }
}

@media (min-width: 768px) and (max-width: 1500px) {
    .landing-page-tabs .image-container {
        display: flex;
        align-items: center;
    }

    .landing-page-tabs .image-container .tab-body-image-container {
        transform: translateY(-45px);

    }

    .landing-page-tabs .image-container:has(.tide-alerts) {
        align-items: end;
    }
}

@media (min-width: 1400px) {
    #footer .mobile-col-3,
    #footer .tablet-col-1,
    #footer .tablet-col-2,
    #footer .tablet-col-3 {
        display: none;
    }

    #footer .col-1 {
        width: 35%;
    }

    #footer .col-2 {
        width: 10%;
    }

    #footer .col-3 {
        width: 15%;
    }

    #footer .col-4 {
        width: 15%;
    }

    #footer .col-5 {
        width: 20%;
    }
}

@media (min-width: 768px) and (max-width: 1400px) {
    #footer .mobile-col-3,
    #footer .col-2,
    #footer .col-3,
    #footer .col-4,
    #footer .col-5 {
        display: none;
    }

    #footer .col-1 {
        width: 100%;
        padding-left: 40px !important;
    }

    .tablet-columns {
        display: flex;
        justify-content: space-between;
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    #footer .col-1 {
        width: 100%;
    }

    .tablet-columns {
        display: flex;
        justify-content: space-between;
        padding: 0 40px;
    }

    #footer .col-2,
    #footer .col-3,
    #footer .col-4,
    #footer .col-5,
    #footer .tablet-col-3 {
        display: none !important;
    }

    #footer .mobile-col-3 {
        display: block;
        margin-left: 50px;
        width: 100%;
    }

    .tablet-columns {
        padding: 0 0 0 60px;
    }

    .tablet-columns .tablet-col-1,
    .tablet-columns .tablet-col-2 {
        width: 50%;
    }

    #footer {
        height: 320px !important;
    }
}

@media (max-width: 400px) {
    #footer .col-1,
    .tablet-columns,
    #footer .mobile-col-3 {
        padding-left: 40px !important;
        margin-left: 0;
        font-size: 12px;
    }
}

/* helper pages styles */
html:has(.helper-page-container) {
    background: light-dark(var(--white), var(--lt-dark-grey-2)) !important;
}

.helper-page-container .main-header {
    color: light-dark(var(--lt-dark-grey-3), var(--white));
    text-align: center;
    font-size: 56px;
    font-style: normal;
    font-weight: 600;
    line-height: 60px;
    letter-spacing: -0.56px;
}

.helper-page-container .sub-header {
    color: #959595;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.helper-page-container {
    display: flex;
    justify-content: center;
}

.helper-page-container div {
    width: 80vw;
    margin: auto !important;
}

.helper-page-container a span,
.helper-page-container a {
    text-decoration: underline !important;
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
}

.helper-page-container td a {
    display: inline-block;
}

.helper-page-container td {
    padding: 5px 10px;
    color: light-dark(var(--lt-dark-grey-3), var(--white));
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.5px;
}

.helper-page-container h6 span:nth-child(1),
.helper-page-container h5 span:nth-child(1),
.helper-page-container h4 span:nth-child(1),
.helper-page-container h3 span:nth-child(1),
.helper-page-container h2 span:nth-child(1) {
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
}

@media (max-width: 650px) {
    .helper-page-container div {
        width: 90vw;
    }

    .helper-page-table-container .table {
        max-width: 85vw;
        display: inline-block;
        overflow: scroll;
    }
}

.helper-page-container tr:nth-of-type(odd) {
    background-color: light-dark(#F8FAFE, var(--lt-dark-grey-2)) !important;
}

.helper-page-container tr:nth-of-type(even) {
    background-color: light-dark(var(--white), #202028) !important;
}

.map-container .card-subheader a {
    color: #959595 !important;
    font-size: 13px;
}

.map-container .max-button {
    background-color: light-dark(var(--white), #22232C) !important;
}

.blue-color {
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
}

.map-container .font-13 {
    font-size: 13px;
}

@media (min-width: 530px) and (max-width: 763px) {
    .map-container .height-falling-container {
        flex-direction: column !important;
    }
}

.map-container .custom-badge {
    display: flex;
    padding: 2px 6px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid light-dark(#D6E4FD, var(--lt-dark-grey));
    background: light-dark(#d6e4fd80, var(--lt-dark-grey)) !important;
    color: light-dark(var(--lt-light-theme-blue), var(--lt-dark-theme-blue)) !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: -0.5px;
}

.map-collapse-container {
    display: none;
}

@media screen and (min-width: 916px) and (max-width: 1024px) {
    .map-collapse-container {
        display: initial;
        left: -45px;
        width: 35px;
        height: 35px;
        top: 3px;
        border-radius: 50%;
        cursor: pointer;
    }

    .map-collapse-container .map-collapse-icon {
        position: relative;
        top: 2px;
        left: 2px;
    }

    .map-collapsed-container {
        width: max-content;
        position: relative;
        right: 0;
    }

    .map-collapsed-container .location-name {
        color: light-dark(var(--lt-dark-grey-3), var(--white));
        font-size: 15px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
        padding: 10px;
    }

    .tideinfo {
        display: flex;
        justify-content: end;
    }
}