﻿
/** Global colors*/
:root {
    --primary-blue: #0083C0;
    --accent-blue: #E4F4FF;
    --accent-blue-s4n4: rgba(166, 209, 239, 0.7);
    --secondary-blue: #1C375F;
    --primary-green: #2DAB74;
    --primary-gray: #9A9A9A;
    --dark-text: #061731;
    --accent-green: #9CDDB9;
}



form {
    margin-block-end: 0 !important;
}
body {
    margin: 0 !important;
    box-sizing: border-box;
    padding: 0 !important;
    overflow-x: hidden;
    /*font-family: "Open Sans", sans-serif !important;*/
    font-family: "Open Sans", sans-serif !important;
    background-color: var(--secondary-blue) !important;
    font-weight: 400 !important;
}

input[type=checkbox], input[type=radio] {
    accent-color: var(--secondary-blue);
}

/** Reusable styles (fonts, backgrounds, colors)*/
.text-header {
    font-size: 24px;
}

.inter {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.barlow {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
}

.montserrat {
/*    font-family: 'Inter', sans-serif;*/
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400;
}

/*.open-sans {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}*/

.bold {
    font-weight: 700 !important;
}

.semi-bold {
    font-weight: 600 !important;
}

.top-shadow {
    background: linear-gradient(180deg, #000000 -12.11%, rgba(0, 0, 0, 0) 26.95%);
}

.sub-text {
    font-size: 12px !important;
}

.text-16 {
    font-size: 16px !important;
}

.text-dark-blue {
    color: var(--dark-text);
}

.gap-20 {
    gap: 20px;
}

.flex-1 {
    flex: 1
}


.gap-10 {
    gap: 10px;
}

.line-break {
    line-break: anywhere;
}


.underline {
    text-decoration: underline;
}



.icon-container {
    min-height: 30px;
}

.flex-half > div {
    flex: 0.5;
}



.link-primary {
    color: var(--primary-blue) !important;
    text-decoration: underline !important;
}

    .link-primary:hover {
        cursor: pointer;
    }

.link-secondary {
    color: var(--primary-gray) !important;
    text-decoration: underline !important;
}

    .link-secondary:hover {
        cursor: pointer;
    }

.borderblack {
    border: 1px solid black;
}

.bg-blue {
    background: var(--secondary-blue);
}

.cursor-pointer {
    cursor: pointer;
}

.nav-link-container > a {
    text-decoration: none;
    color: #212529;
}

#nav-links a {
    color: inherit;
}

#nav-links a:hover {
    color: inherit;
    text-decoration: none;
}

#nav-links > .link-item:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 6px;
    width: 48px;
    border-radius: 3px;
    background: var(--accent-green);
    transform: translateX(-50%);
    left: 50%;
    z-index: 98;
}

.nav-link-container {
    position: relative;
}


#nav-links {
    gap: 25px;
    justify-content: end;
}

#nav-links  select {
    font-weight: 600;
    border: none;
}

    #nav-links select:focus-visible {
        outline: none;
    }

.nav-active {
    font-weight: bold;
    position: relative;
}

    .nav-active::after {
        content: '';
        position: absolute;
        bottom: 0;
        height: 6px;
        width: 48px;
        border-radius: 3px;
        background: var(--accent-green);
        transform: translateX(-50%);
        left: 50%;
        z-index: 98;
    }




/********************/


/**Specific styles for elements*/
/** LOGIN */
.s4-description-container {
    max-width: 735px;
    margin-top: 50px
}


.slideshow-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.login-widget {
    border-radius: 10px;
    padding: 40px;
    background: #fff;
    width: 470px;
    background: #fff;
}

.logo-container {
    width: 250px;
    height: auto;
    max-height: 61px;
}


.login-container {
    display: flex;
    justify-content: flex-end;
    flex: 1;
    align-items: center;
}

.slideshow-background {
/*    background-image: url("../../S4ProV2/images/slide_1.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0%;*/
    height: 675px;
}

.slideshow-background-image-container >img {
    height: 100%;
    width: 100%;
    object-fit: cover;

}

.slideshow-background-image-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}



.get-started-widget {
    background: var(--accent-blue);
    border-radius: 8px;
    width: 250px;
    padding: 30px 15px 30px 15px;
    height: 190px;
}

.get-started-widget-container {
    display: flex;
}

.br-5 {
    border-radius: 5px !important;
}

.footer {
    background: var(--secondary-blue);
}

.login-error {
    border-color: red;
}

.input-error {
    border-color: red !important;
}

.login-error:focus, .input-error {
    border-color: red !important;
}

    .login-error::placeholder, .input-error::placeholder {
        color: red;
    }

#txtPassword {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}


#password-eye-container {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 999;
    transform: translateY(-50%);
}

.back-to-login-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
}


/** FAQS */

.accordian-panel-active {
    background: var(--primary-blue) !important;
    color: #fff !important;
}

.accordian-panel {
    background: #fff;
    color: var(--dark-text);
    border-radius: 4px;
}

.accordian-click {
    cursor: pointer;
    width: 100%;
    padding: 15px;
    font-family: 'Inter', sans-serif;
/*    font-family: 'Montserrat', sans-serif;
*/    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

#txtFAQSearch {
    border-right: none;
    border-left: none;
    border-top: none;
    border-color: rgba(255,255,255,0.75);
    background: transparent;
    color: #FFF;
    transition: all 0.2s ease;
}

    #txtFAQSearch::placeholder {
        color: rgba(255,255,255,0.3)
    }

    #txtFAQSearch:focus-visible {
        outline: none;
        border-color: #FFF;
    }

.faq-question {
    border-bottom: 1px solid #fff;
}


/** SEARCH PAGE */

#search-content-container {
    width: 100%;
    height: 100%;
}


#searchCategoriesContainer {
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#filters-container {
    flex: 1;
    overflow-y: auto;
}

#txtZipCode {
    border-color: transparent !important;
    padding-right: 100px;
}

#txtEmail {
    padding-right: 100px;
    background-color: transparent;
    border-image: none;
    border: 1px solid #DEE2E6;
}

#search-options-container {
    background: var(--accent-blue);
}


.more-options a:hover {
    text-decoration: none;
    color: inherit;
}



#txtZipCode:focus-visible, #txtEmail:focus-visible {
    outline: none;
}

#btnSearch, #btnEmailSend {
    right: 10px;
    top: 50%;
    transform: translateY(-50%)
}

#referral-summary-container {
    overflow-y: auto;
    flex: 1;
}


#referral-summary-container::-webkit-scrollbar, #filters-container::-webkit-scrollbar, .results-container::-webkit-scrollbar {
    background-color: transparent;
    width: 6px;
}

#referral-summary-container::-webkit-scrollbar-thumb, #filters-container::-webkit-scrollbar-thumb, .results-container::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: #C4C4C4;
}

#pnlAnnouncements::-webkit-scrollbar, #filters-container::-webkit-scrollbar, .results-container::-webkit-scrollbar {
    background-color: transparent;
    width: 6px;
}

#pnlAnnouncements::-webkit-scrollbar-thumb, #filters-container::-webkit-scrollbar-thumb, .results-container::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: #C4C4C4;
}


.bottom-shadow {
    position: absolute;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    height: 60px;
    z-index: 10;
    background: linear-gradient(0deg, #FFF 0%, rgba(255, 0, 0, 0) 100%)
}

.result-hidden {
    display: none;
}


.results-container {
    overflow-y: auto;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.arrow-down-circle {
    position: absolute;
    bottom: -25px;
    z-index:11;
    left: 50%;
    transform: translateX(-50%);
}

table {
    border-spacing: 0px;
}

td {
    display: table-cell;

}

.expand-hide-bar {
    min-width: 24px;
    border-radius: 8px;
    background: rgba(255,255,255,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pnlAnnouncements {
    overflow: auto;
}

.pnlAnnouncements p {
    margin-bottom: 0;
}


    #expand-bar:hover {
        background: rgba(255,255,255,0.5)
    }

#search-flex-grid {
    gap: 8px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
    width: clamp(1250px, 100%, 1500px);
}


.btn-search {
    font-family: 'Open Sans', sans-serif !important;
    padding: 8px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}


.search-result-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.search-result-widget {
    background: var(--accent-blue);
}

.search-result-widget-s4n4 {
    background: var(--accent-blue-s4n4);
}

.search-result-widget, .search-result-widget-s4n4 {
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

.details-link, .show-less-link {
    text-decoration: underline;
    font-weight: 700;
}

.referral-add {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: var(--primary-blue);
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.zip-distance {
    text-align: center;
    white-space: nowrap;
}

.referral-add:hover {
    background-color: var(--secondary-blue);
}


.search-cat-btn {
    border: none;
    background: transparent;
    text-align: left;
}



.search-img {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.plus-container {
    height: 18px;
}

    .plus-container img {
        vertical-align:top!important;
    }

#referral-count {
    border: 2px solid var(--secondary-blue);
    width: 27px;
    height: 27px;
    border-radius: 50%;
    color: var(--secondary-blue);
    font-weight: 700;
}

.feedback-btn {
    background: transparent;
    border: none;
    outline: none;
    text-decoration: underline;
}

.feedback-btn:focus-visible, .feedback-btn:focus {
    outline: none !important;
}

.no-results-desc {
    width: 300px;
}

.tooltip-link {
    color: inherit;
}

.service-check {
    height: 25px;
}

.service-check:hover {
    background-color: var(--accent-blue);
}


.service-check a:hover {
    color: inherit;
    text-decoration: none;
}

#gvZipcode th {
    display: none;
}

#gvZipcode td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.gv-users > th {
        font-family: 'Inter', sans-serif;
/*    font-family: 'Montserrat';
*/    font-size: 12px !important;
}

.admin-content th {
    font-family: 'Inter', sans-serif;
/*    font-family: 'Montserrat', sans-serif;
*/    font-size: 12px;
}







/** MEDIA QUERIES */
/*// Extra large devices (large desktops, 1200px and up)*/
@media only screen and (max-width: 1200px) {
    ...
}

/*// Large devices (desktops, 992px and up)*/
@media only screen and (max-width: 992px) {
    .login-container {
        justify-content: center;
        padding: 0;
    }
}

/*// Medium devices (tablets, 768px and up)*/
@media only screen and (max-width: 768px) {
    .get-started-widget {
        height: 225px;
    }
}



/**Small devices (landscape phones, 576px and up)*/
@media only screen and (max-width: 576px) {
    .get-started-widget {
        height: 170px;
    }

    .arrow-spin {
        transform: rotate(90deg);
    }

    .get-started-widget-container {
        flex-direction: column;
    }

    .slideshow-container {
        padding: 0 !important;
    }

    .footer > div {
        flex-direction: column;
        gap: 20px;
    }

    .get-started-text {
        margin-top: 15px;
    }

}
/**ADMIN FOOTER*/

.admin-footer a {
    color: #153A5B !important;
}

TD:not(.referral-result *) {
    padding-bottom: 4px;
    padding-top: 4px;
    padding-left: 0px;
    padding-right: 2px;
    color: #555555;
}

TH {
    text-align: center
}

.oldinput {
    font-weight: 300;
    margin: 2px;
    border: 1px solid #CCCCCC;
    border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    padding: 7px;
    color: #555555;
}

TABLE INPUT {
    font-weight: 300;
    margin: 2px;
    border: 1px solid #CCCCCC;
    border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    padding: 7px;
    color: #555555;
}

TABLE SELECT {
    font-weight: 300;
    margin: 2px;
    border: 1px solid #CCCCCC;
    border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    padding: 7px;
    color: #111111;
}


TABLE TEXTAREA {
    font-weight: 300;
    margin: 2px;
    border: 1px solid #CCCCCC;
    border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    padding: 7px;
    color: #111111;
}

.responsive-nav-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
    height: 150px;
}


#main-content-container {
    height: calc(100vh - 150px);
}

#updtPnlNoReferralResults {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 992px) {
    .responsive-nav {
        flex-direction: column;
        gap: 20px;
    }

        .responsive-nav #nav-links {
            height: 50px;
        }

    .responsive-nav-container {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    #main-content-container {
        height: calc(100vh - 152px);
        overflow-x: auto;
    }
}


/* Override for bootstrap css */

select.form-control:not([size]):not([multiple]) {
    height: calc(2rem + 1px) !important
}

