@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* || SITE WIDE STYLES */
body,
html {
    margin: 0;
    overflow-x: hidden;
    padding: 0;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #282828;
}

/* from Bulma to support Font Awesome icons */
.icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    font-size: 1rem;
    height: 0.5rem;
    width: 0.55rem;
}

.title-font {
    font-family: 'Bebas Neue';
}

.page-title {
    font-size: 1.65rem;
}

.page-subtitle {
    font-size: 1.35rem;
}

.page-h3-title {
    font-size: 1.15rem;
    padding-right: 0;
}

p {
    margin-bottom: 0.5rem;
}

hr {
    background-color: #e1efe6;
}

/* Generic button styles  */
.standard-btn {
    max-width: 6.6875rem;
    min-height: 3.375rem;
    border: 0.08rem solid #e1efe6;
    border-radius: 0;
    padding: 0.1rem 0.75rem;
    background-color: #6c757d;
    color: #fff;
}

.back-btn {
    max-width: 6.6875rem;
    min-height: 3.375rem;
    border: 0.08rem solid #e1efe6;
    border-radius: 0;
    padding: 0.1rem 0.75rem;
    margin-right: 0.5rem;
    text-align: center;
    background-color: rgba(100, 105, 109, 0.19);
    color: #383838;
}

.back-btn:hover,
.standard-btn:hover {
    background-color: #674ea7;
    color: #fff;
}

button {
    border: none;
    background: none;
}

.cancel-anchor-btn {
    line-height: 3rem;
}

.our-story-btn {
    font-size: 1.1rem;
    padding-top: 0.6rem;
}

/* Generic form styles  */
.form-control:focus {
    border-color: #ced4da;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0.5rem rgba(103, 78, 167, 0.5);
}

input:-internal-autofill-selected {
    background-color: #fff!important;
}

input[name='q']::placeholder P {
    color: #aab7c4
}

/* Admin only features */
.admin-links-container {
    margin-left: 0.9rem;
}

.admin-links {
    text-transform: uppercase;
    font-weight: 400;
    padding: 0.75rem 0.5rem;
    margin-right: 0.5rem;
    border: #e1efe6 1px solid;
    border-radius: 0;
}

.admin-links:hover {
    background-color: #ced4da;
    text-decoration: none;
}

/* Navbar */
.navbar {
    background-color: #351c75 !important;
}

.navbar-light .navbar-brand {
    color: #fff !important;
}

.navbar-light .navbar-nav .show>.nav-link {
    color: #fff !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #fff !important;
}

.navbar-brand {
    font-family: 'Bebas Neue';
    font-size: 2rem;
}

.nav-label {
    color: #fff;
}

.nav-icon i {
    color: #fff;
}

.dropdown-menu {
    margin-left: -1rem;
    border-radius: 0;
}

.dropdown-item {
    color: #282828;
    padding: 0.25rem 0.75rem;
}

.dropdown-item::selection {
    background-color: #674ea7;
}

/* Burger icon */
.burger-menu-container {
    display: inline-block;
    cursor: pointer;
    margin-left: 0.75rem
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

.navbar-toggler {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 25%;
    height: 5rem;
    background: transparent;
    border: none;
}

/* Toast Messages */
.message-container {
    position: fixed;
    top: 4.5rem;
    right: 0.9375rem;
    z-index: 999999999;
    background-color: #aab7c4;
}

.bag-notification-wrapper {
    height: 6.25rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.toast-text {
    color: #351c75!important;
}

.toast-body {
    background-color: #fff;
}

.toast-button {
    border: #674ea7 solid 0.075rem;
    border-radius: 0;
}

.bg-warning {
    background-color: #351c75!important;
    color: #fff!important;
}

/* || HOMEPAGE STYLES */
section {
    margin-bottom: 5rem;
}

.carousel-caption {
    background-color: #e1efe682;
}

.carousel-anchor {
    color: #351c75!important;
    text-decoration: none;
    font-weight: 500;
}

.carousel-anchor > h5 {
    font-size: 1.5em;
    font-weight: 700;
    color: #351c75;
}

/* Business information section */
.homepage-business-card {
    border: 0;
    border-radius: 0;
}

.homepage-business-card > .card-body > .card-title {
    font-size: 2em;
    font-weight: bold;
    color: #351c75;
}

/* Recommendations */
.recommendation-img {
    margin: 1rem;
}

/* Mailchimp newsletter sign-up */
#mc_embed_signup {
    background: #fff;
    clear: left;
    font: 1rem Open Sans, sans-serif;
    max-width: 600px;
}

#mc_embed_signup h2 {
    color: #351c75;
    font-size: 2em;
}

#mc_embed_signup .button {
    background-color: #674ea7;
    border-radius: 0;
}

#mc_embed_signup .button:hover {
    background-color: #fff;
    border: 0.08rem solid #674ea7;
    color: #351c75;
}

.mailchimp-disclaimer-text {
    font-size: 0.875rem;
}

.asterisk {
    color: #351c75!important;
}

/* || MAIN CONTENT STYLES  */
.main-content {
    position: relative;
    margin-bottom: 1rem;
    min-height: 72vh;
}

/* || FOOTER STYLES  */
footer {
    position: relative;
    bottom: 0;
    left: 0;
    background-color: #e1efe6;
    color: #383838;
    box-shadow: 0 50vh 0 50vh #e1efe6;
}

.footer-div {
    padding: 2rem 1rem;
}

.footer-div>.row .col-12 {
    padding-left: 0;
}

.footer-list-links {
    list-style-type: none;
    margin: 0;
    padding-inline-start: 0;
    overflow: hidden;
    background-color: #e1efe6;
}

.footer-list-links li {
    float: left;
}

.footer-list-links li a {
    display: block;
    color: #383838;
    text-align: left;
    padding: 1rem;
    text-decoration: none;
}

.footer-list-socials {
    padding-inline-start: 0;
}

.footer-list-socials li {
    display: inline-block;
    text-align: center;
}

.footer-copyright {
    display: contents;
    text-align: center;
    font-size: 0.875rem;
    color: #383838;
}

.social-media-icon i {
    font-size: 2.5rem;
    color: #6c757d;
    margin-right: 1.5rem;
}

/* || ALLAUTH FORM FORMATTING  */
.allauth-form-inner-content p {
    margin-top: 1.5rem;
    color: #282828;
}

.allauth-form-inner-content input {
    border-color: #ced4da;
    border-radius: 0;
}

.allauth-form-inner-content label:not([for='id_remember']) {
    display: none;
}

.allauth-form-inner-content::placeholder {
    color: #aab7c4;
}

.allauth-form-inner-content button,
.allauth-form-inner-content input[type='submit'] {
    display: inline-block;
    width: inherit;
    border: 0.08rem solid #e1efe6;
    min-height: 3.375rem;
    border-radius: 0;
    padding: 0.1rem 0.75rem;
    text-align: center;
    background-color: #6c757d;
    color: #fff;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* standard bootstrap btn transitions */
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.allauth-form-inner-content button:hover,
.allauth-form-inner-content input[type='submit']:hover {
    background-color: #674ea7;
    color: #fff;
}

.allauth-form-inner-content a {
    color: #351c75!important;
    /* text-info */
}

/* Login Form */
#login-form input::placeholder {
    color: #aab7c4
}

#login-form .form-control {
    color: #282828;
}

/* || 404 & 505 ERROR PAGE STYLES  */
.error-page-header {
    font-weight: 500;
}

.lead-error-p {
    padding-left: 0;
}

.home-btn {
    min-height: min-content!important;
}

/****************************************************************/

/* |||| MEDIA QUERIES  */

/* // Extra Small devices (iPhone 5, Galaxy Fold, 280px and up) */
@media (min-width: 280px) {

    /* || NAVBAR STYLES  */
    .navbar {
        padding: 0;
    }
    
    .navbar-nav {
        padding-left: 0.75rem;
    }

    .nav-link {
        padding: 0.30rem
    }

    .dropdown-item {
        padding-left: 1.25rem;
    }

    .user-profile-link {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .list-inline-item:not(:last-child) {
        margin-right: 0;
    }

    .burger-menu-container {
        margin-left: 0.5rem;
    }


    /* || HOMEPAGE STYLES */
    .homepage-carousel-section {
        margin-bottom: 0;
    }

    /* Recommendations */
    .homepage-recommendations-section {
        text-align: center;
    }
    
    .recommendation-img {
        width: 12.5rem;
    }

    /* || FOOTER STYLES  */
    .footer-list-links>li a {
        min-width: 18.75rem;
    }

    .footer-list-socials {
        display: flex;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .social-media-icon i {
        font-size: 1.25rem;
    }

    .footer-copyright {
        text-align: left;
    }
}

/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .d-sm-block {
        display: block !important;
        padding: 0;
    }

    /* || HOMEPAGE STYLES */

    /* Recommendations */
    .recommendation-img {
        width: 18.5rem;
    }

    .burger-menu-container {
        margin-left: 0.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    /* || NAVBAR STYLES  */
    .navbar {
        padding: 0.5rem 1rem;
    }

    /* || HOMEPAGE STYES */
    .homepage-carousel-section {
        margin-bottom: 4rem;
    }
    
    .homepage-business-card > .card-body > img,
    .homepage-business-card > .card-body > .embed-responsive > iframe {
        margin-top: 1.5rem;
    }

    /* Recommendations */
    .homepage-recommendations-section {
        text-align: left;
    }

    /* || FOOTER STYLES  */
    .footer-item {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    p.footer-item {
        margin-top: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    /* || NAVBAR STYLES  */
    .fixed-top-desktop-only {
        position: relative;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }

    .py-lg-0 {
        padding: 0;
    }

    /* || HOMEPAGE STYLES */

    /* Recommendations */
    .recommendation-img {
        width: 25rem;
    }

    /* || FOOTER STYLES  */
    .footer-list-links>li a {
        min-width: 0;
    }

    .footer-list-socials {
        display: flex;
        margin-top: 0;
        margin-bottom: 0;
        justify-content: space-evenly;
    }

    .social-media-icon i {
        font-size: 1.25rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    /* || GENERAL STYLES */
    .container {
        max-width: 80%;
    }

    /* || HOMEPAGE STYES */
    .carousel-item {
        max-height: 35rem;
    }
}

/* Extra extra large devices (large desktops, 2560px and up) */
@media (min-width: 2560px) {
    
    /* || SITE WIDE STYLES */
    html {
        background-image: url(/static/images/html_background_image.webp);
        background-color: #282828;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        position: relative;
    }
    
    body {
        font-size: 1.5rem!important;
        max-width: 2800px;
        margin: 0 auto !important; 
	    float: none !important; 
    }

    /* from Bulma to support Font Awesome icons */
    .icon {
        font-size: 1.5rem!important;
    }
    
    .page-title {
        font-size: 2.5rem!important;
        margin-top: 5rem;
    }
    
    .page-subtitle {
        font-size: 1.75rem!important;
    }

    .page-h3-title {
        font-size: 1.45rem!important;
    }

    p {
        margin-bottom: 1rem!important;
    }

    .container-fluid {
        padding-right: 2.8125rem;
        padding-left: 2.8125rem;
    }

    /* Navbar */
    .navbar-brand {
        font-size: 4rem;
    }

    .nav-link {
        font-size: 2rem; 
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .dropdown-item {
        font-size: 1.75rem;
    }

    /* Homepage */
    .mailchimp-disclaimer-text {
        font-size: 1.15rem!important;
    }

    .carousel-item {
        max-height: 70rem;
    }

    /* Footer */
    .footer-list-links>li a {
        font-size: 2rem;
    }

    .social-media-icon i {
        font-size: 3.25rem!important;
    }

    .footer-copyright {
        font-size: 1.15rem;
    }
}
