@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body, h1, h2, h3, h4, h5, h6, p, .p, .content-home .title, .static-top.navbar .menu-bar > .navbar-nav > li > a, .navbar-static-top.navbar .menu-bar > .navbar-nav > li > a, .page_section p, .section-diagonal-left p, .section-diagonal-right p, .button1, a, .btn-primary, .btn-default, .btn-info {
    font-family: "Inter", "Helvetica", "Arial", sans-serif;
}

body, h1, h2, h3, h4, h5, h6, p, .p {
    color: #252525;
}

h1, h2, h3, h4 {
    font-weight: 800;
    text-transform: uppercase;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 22px;
}

body, p, .p {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 400;
}

a {
    color: #1f7baf;
}

a:hover, .page-link:hover {
    color: #145072;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination >.active > a:hover {
    background-color: #145072 !important;
}

/* Header Styling */
.navbar-dark .navbar-toggler {
    border: none;
    background-color: transparent;
}

.icon-bar {
    background-color: #0d3857;
    border: 1px solid #0d3857;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    margin-top: 4px
}

button.navbar-toggler {
    margin-right: 0;
}

.navbar-toggler {
    padding: 0;
}

.navbar-left {
    display:flex;
}

.navbar-dark .navbar-toggler:hover {
    background-color: transparent;
}

.navbar-dark .navbar-toggler:focus {
    border: none;
    background-color: transparent;
}

.navbar-dark .navbar-nav .show.dropdown-menu {
    background-color: transparent;
}

/* Nav bar styling*/
.static-top {
    padding: 0;
}

#navbar > .menu-bar > ul > li {
    padding: 0 1rem;
}

.rsm-header-logo {
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    margin: 0 auto;
    box-shadow: 0 3px 5px rgba(57, 63, 72, 0.1);
}

.rsm-header-nav {
    width: 100%;
}

.static-top.navbar .menu-bar > .navbar-nav > li > a {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: #0d3857;
}

.navbar-right {
    display: none;
}

.login-icon, .btn-icon {
    margin-right: 0.35rem;
}

.static-top.navbar-dark {
    box-shadow: none;
}

.navbar-dark .navbar-nav > li > a:hover {
    color: #1f7baf;
    background-color: #fff;
}

.static-top.navbar .menu-bar > .navbar-nav > li > a:not(.login-nav-link) {
    font-size: 15px;
    color: #252525;
}

.navbar-dark .navbar-toggler:hover {
    border: none;
    background-color: #fff;
    color: #1f7baf;
}


.navbar-dark .navbar-toggler:focus {
    border: none;
    background-color: #fff;
    color: #1f7baf;
}

.navbar-dark .navbar-nav a.show, .navbar-dark .navbar-nav a.dropdown-toggle.show {
    color: #1f7baf;
    background-color: #fff;
    text-decoration: none;
}

.navbar-dark .navbar-nav > li > a:hover, .navbar-dark .navbar-nav > li.dropdown > a:hover, .static-top.navbar .menu-bar > .navbar-nav > li > a:hover {
    background-color: #fff;
    color: #072a43;
    text-decoration: none;
}

.navbar-dark .navbar-nav > li > a:not(.login-nav-link):hover, .navbar-dark .navbar-nav > li.dropdown > a:not(.login-nav-link):hover, .static-top.navbar .menu-bar > .navbar-nav > li > a:not(.login-nav-link):hover {
    background-color: #fff;
    color: #1f7baf;
    text-decoration: none;
}


.navbar-dark .navbar-nav > li > a:focus, .navbar-dark .navbar-nav > li.dropdown > a:focus {
    background-color: #fff;
    color: #1f7baf;
    text-decoration: none;
}

.navbar-dark .navbar-nav > li > a:focus-visible, .navbar-dark .navbar-nav > li.dropdown > a:focus-visible {
    background-color: #fff;
    color: #1f7baf;
    text-decoration: none;
}

.navbar-dark .navbar-nav a.show:hover, .navbar-dark .navbar-nav a.dropdown-toggle.show:hover {
    background-color: #fff;
    color: #1f7baf;
    text-decoration: none;
}

.navbar-dark .navbar-nav a.show:focus, .navbar-dark .navbar-nav a.dropdown-toggle.show:focus {
    background-color: #fff;
    color: #1f7baf;
    text-decoration: none;
}

.navbar-dark .navbar-nav .show.dropdown-menu {
    background-color: #fff;
}

/* submenu nav */
#navbar .dropdown-divider {
    border-color: #e5e5e5;
}

#navbar .dropdown-menu {
    margin-top: 0px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}
.navbar-dark .navbar-nav .show.dropdown-menu > li > a {
    color: #252525;
}

.navbar-dark .navbar-nav .show.dropdown-menu > li > a:hover, .navbar-dark .navbar-nav .show.dropdown-menu > li > a:focus .navbar-dark .navbar-nav .show.dropdown-menu > .active > a, .navbar-dark .navbar-nav .show.dropdown-menu > .active > a:hover, .navbar-dark .navbar-nav .show.dropdown-menu > .active > a:focus {
    background-color: rgba(128, 128, 128, 0.05);
    color: #1f7baf;
    text-decoration: none;
}

/* .details-link, a:not([role="menuitem"]):not(.btn):not(footer a):not(.list-group-item) {
    text-decoration: underline !important;
} */

/* nav modal styling */
.nav-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1050;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.7);
}

#navModal .nav-modal-dialog {
    height: 100%;
    width: 100%;    
}

#navModal .nav-modal-content {
    background-color: rgb(13, 56, 87);
    color: #fff;
    transition: transform 0.3s ease-out;
    height: 100%;
    text-transform: uppercase;
    padding: 1.5rem 2rem;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.15);
}

#navModal .nav-modal-header {
    width: 100%;    
}

#navModal .menu-bar > .navbar-nav > li > a {
    padding: 0.35rem 0px;
    font-weight: 600;
    color: #fff;
    font-size: 16px;
}

#navModal .menu-bar > .navbar-nav > li > a.login-nav-link {
    border-bottom: 1px solid rgba(117, 137, 152, 0.25);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    gap: 0.5rem;
}


#navModal .menu-bar > .navbar-nav > li > a:hover {
    background-color: transparent;
    color: #fff;
}

.nav-modal.show {
    display: flex;
}

.nav-modal .custom-close {
  position: relative;
  right: 1rem;
  float: right;
  font-size: 1.5rem;
  color: #fff;
  background: none;
  border: none;
  z-index: 1050;
}

/* home page styling */
.rsm-home {
    margin: 0px !important;
}

.custom-wrapper-body {
    margin-bottom: 0px;
}

.card {
    text-align: center;
    background-color: #f3f4f5;
    padding: 1rem 2rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.rsm-homeMainText {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    text-shadow: rgba(0, 0, 0, 0.5) 1px 1px 8px;
    margin-bottom: 1rem;
}

.rsm-homeMainText h1, .rsm-homeMainText h3 {
    color: #fff;
}

.rsm-homeMainText h1, .rsm-homeMainText h3, .rsm-homepageCards > .card, ul.brand-list {
    margin-top: 0;
    margin-bottom: 0;
}

.title > h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.rsm-homepageCards {
    display: grid;
    /* flex-direction: column;*/
    column-gap: 2rem; 
    row-gap: 1.5rem; 
    grid-template-columns: 1fr;

}

.rsm-homepageCards > .card {
    /* min-height: 185px; */
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.heading-xl {
    font-size: 50px;
    line-height: 1.2;
}

.heading-l {
    font-size: 20px;
}

.rsm-backgroundImageContainer {
    padding: 0; 
    width: 100vw; 
    /* min-height: 840px; */
}

.rsm-backgroundImage {
    flex-grow: 1; 
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    min-width: 250px; 
    word-break: break-word; 
    width: 100%; 
    /* height: 100%;  */
    background-image: url('/homepageImage.jpeg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}

.rsm-home-container, .brand-list-container {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.rsm-home-container {
    row-gap: 4.5rem;
    max-width: 1600px;
    padding-bottom: 185px;
}

.main-card {
    padding-top: 18px;
    display: flex;
    justify-content: center;
}

.brand-list-container {
    background-color: #fff;
    min-width: 375px;
    max-width: 1500px;
}

.brand-image {
    width: 100%;
}

h2.brand-list-title {
    margin-top: 0;
    margin-bottom: 2rem;
}

.brand-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-left: 0;
}

.brand-list > li {
    list-style: none;
}

.brand-list-link > img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.card > p {
    margin-bottom: 2rem;
}

.card > a {
    margin-bottom: 1rem;
    width: 100%;
}

/* buttons stying */
.rsm-btn {
    padding: 0.65rem 1.5rem;
}

.btn-default {
    transition: all .3s ease;
    font-size: 16px;
    line-height: 1.2;
    border-color: #d08a00;
    background-color: #efa035;
    /* padding: 0.65rem 1.5rem; */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    cursor: pointer;
    --bs-btn-disabled-bg: #efa035;
    --bs-btn-disabled-border-color: #efa035;
}

.btn-default:hover,
.btn-default:active,
.btn-default.active,
.btn-default:focus,
.btn-default.focus {
    color: #fff;
    background-color: #faa21f;
    border-color: #d08a00;
}

.btn-primary {
    transition: all .3s ease;
    font-size: 16px;
    line-height: 1.2;
    /* padding: 0.65rem 1.5rem; */
    outline: 0;
    border-color: #0d3857;
    background-color: #0d3857;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    cursor: pointer;
    --bs-btn-disabled-bg: #0d3857;
    --bs-btn-disabled-border-color: #0d3857;
    --bs-btn-disabled-opacity: 0.50;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary:active:hover,
.btn-primary.active:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #072a43;
    border-color: #072a43;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    cursor: not-allowed;
    pointer-events: auto;

}

/* .input-group-addon, .input-group-addon.active {
    line-height: 1.17;
} */

.breadcrumb > li a {
    color: #0d3857;
    padding: 0;
    font-size: 16px;
    text-decoration: none;
}
.breadcrumb > li a:hover {
    color: #1f7baf;
    text-decoration: none;
}


/* footer styling*/
footer .footer-bottom {
    background-color: #0d3857;
}

.footer-container {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-container {
    width: 100%;
    min-width: 375px;
    max-width: 1500px;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

footer a, .footer-bottom a {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
}

footer a:hover, footer a:focus, footer a:not(.btn):hover {
    color: #d6eaf5;
    text-decoration: none !important;
}

.footer-legal-text p {
    color: #8acff7;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.footer-copyright p {
    color: #8acff7;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}



 /*adds spacing between bottom of forms and its webpages*/
body:not(:has(.rsm-home)) #mainContent {
    padding-bottom: 10%; 
    min-height: 40vh;
}

/*intents fields on a form on both sides*/
.crmEntityFormView .cell {
    padding: 0 28px 28px; 
}

 /*styling read only multi select fields*/
.msos-disabled .msos-viewmode-text{
    background-color:#eee;
    opacity: 1;
    border: 1px solid #949494;
}

/*styling read only lookup fields*/
.rsm-lookup-disabled{
    font-weight: normal;
    padding: 6px 12px;
    font-size: 15px;
    background-color:#eee;
    opacity: 1;
    border: 1px solid #949494;
}


input.form-control, .form-control, .input-group {
    /* border-radius: 5px !important; */
    /* border-bottom: 3px solid navy; */
 }

.form-control {
    transition: none;
}

.form-control:not(textarea) {
    height: 37px;
}

 /* .btn.btn-default.clearlookupfield, .btn.btn-default.launchentitylookup {
    line-height: 1.85;
 } */

.form-select, .form-control {
    border: 1px solid #949494;
}

.form-control:focus {
    box-shadow: none;
    outline: 1px solid #949494;
}

.input-group .form-control:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.input-group-btn:last-child>.btn, .input-group-addon {
    border-bottom-right-radius: 5px !important;
    border-top-right-radius: 5px !important;
}

.query.form-control {
    height: 34px;
}

/*removes border from forms*/
.crmEntityFormView {
    border: none;
}

@media (min-width: 576px) {
    .brand-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* medium devices */
@media (min-width: 768px) {
    .navbar-right {
        display: flex;
        align-items: center;
    }

    #navModal .nav-modal-content{
        width: 400px;
    }

    .rsm-homepageCards {
        /* flex-direction: row; */
        /* column-gap: 20px; */
        grid-template-columns: repeat(3, 1fr);

    }

    .rsm-homepageCards > .card {
        /* min-width: 200px; */
        padding: 2rem 1rem 1rem 1rem;
    }

    .brand-list {
        /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
        gap: 2rem;
    }

    .footer-links-list {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem 2rem;
    }

    footer a, .footer-bottom a {
        margin-bottom: 0;
    }
}

/* large devices */
@media (min-width: 992px) {

    .rsm-backgroundImageContainer {
        min-height: 840px;
    }
    .rsm-backgroundImage {
        height: 100%;
    }

    #navModal .nav-modal-content {
        width: 500px;
    }

    .heading-xl {
        font-size: 80px;
    }

    .heading-l {
        font-size: 40px;
    }

    .rsm-homepageCards {
        column-gap: 27px;
    }

    .rsm-homepageCards > .card {
        padding: 2.5rem 2rem 1rem 2rem;
        min-height: 271px;
        max-width: 347px;
    }

    .brand-list {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .brand-list-container {
        padding: 3rem 2rem;
    }
}

@media (min-width: 1200px) {

    .rsm-header-nav {
        border-top: 1px solid rgba(156,173,185,0.5);
        padding: 0.5rem 1rem;
        box-shadow: 0 3px 5px rgba(57, 63, 72, 0.1);
    }

    .rsm-header-logo {
        box-shadow: none;
        padding: 0.5rem 1.5rem;
    }
}
