html {
    height: 100%;
}

body {
    background-color: white;
    height: calc(100vh - 164px);
    font-family: 'Lato';
}

/* -------- HERO IMAGE -------- */

#hero-img {
    border-radius: 10px;
}

#hero-container-inner {
    flex-direction: column-reverse;
}

@media (max-width: 991px) {
    #hero-container-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 460px;
    }
}

#hero-container-text li p {
    font-size: 1.2rem;
}

#hero-button {
    margin-bottom: 20px;
    margin-left: 20px;
    font-size: 20px;
}

#hero-container {
    background: linear-gradient(rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0)), url('/media/home_page.jpg');
    background-color: rgb(248, 151, 5);
    /* Used if the image is unavailable */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 100vh;
}


#hero-heading {
    color: black;
    font-size: 4rem;
    padding-top: 106px;
    text-shadow: 5px 3px 6px #00000099;
}

/* from Bulma */
.icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    height: 1.5rem;
    width: 1.5rem;
}

.logo-font {
    text-transform: uppercase;
}

.main-logo-link {
    width: fit-content;
}

.view-courses-button {
    background: black;
    color: white;
    min-width: 260px;
}

.btn-black {
    background: black;
    color: white;
}

.btn-outline-black {
    background: white;
    color: black !important;
    /* use important to override link colors for <a> elements */
    border: 1px solid black;
}

.btn-outline-black:hover,

.btn-outline-black:active,

.btn-outline-black:focus {

    background: black;

    color: white !important;

}

.view-courses-button:hover,
.view-courses-button:active,
.view-courses-button:focus,
.btn-black:hover,
.btn-black:active,
.btn-black:focus {
    background: #222;
    color: white;
}

.text-black {
    color: #000 !important;
}

.border-black {
    border: 1px solid black !important;
}
.bg-black {

    background: #000 !important;

}
overlay {
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	position: fixed;
	background:white;
	z-index: -1;
}
a.category-badge>span.badge:hover {
    background: #212529 !important;
    color: #fff !important;
}

.btt-button {
    height: 42px;
    width: 42px;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.btt-link .update_link .remove-item {
    cursor: pointer;
}

input[name='q']::placeholder {

    color: #aab7c4;
}

/* -------- ABOUT PAGE -------- */

#about-header {
    padding-top: 83px;
    margin-top: 50px;
}

.about-text {
    max-width: 500px;
}

.about-text-container-left {
    display: flex;
    justify-content: flex-start;
}

.about-text-container-right {
    display: flex;
    justify-content: flex-end;
}

.about-separator {
    border-top: 5px solid #ed8500;
    margin: 25px 0;
}

.about-section-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-subheading {
    color: #ed8500;
}

.about-img {
    margin-top: 53px;
    border-radius: 10px;
    box-shadow: 1px 2px 5px #00000099;
}

#about-last-img {
    margin-bottom: 25px;
}

#about-button-container {
    display: flex;
    justify-content: center;
    margin: 25px;
}

/* -------- FAQ PAGE -------- */

#faq-accordion-container {
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.transition,
.faq-ul li i:before,
.faq-ul li i:after,
.faq-text {
    transition: all 0.25s ease-in-out;
}

.flipIn,
.faq-ul li,
#faq-heading {
    animation: flipdown 0.5s ease both;
}

.no-select,
.faq-h2 {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


#faq-accordion {
    min-height: 0;
    display: inline-block;
    position: relative;
    margin: 140px 90px 205px 90px;
    box-shadow: 0 10px 0 0 #ed8500 inset;
    background-color: #fff;
    color: #000;
    max-width: 900px;
    min-width: 320px;
    padding: 30px;
    border-radius: 20px
}


#faq-heading {
    text-transform: uppercase;
    font-size: 36px;
    line-height: 42px;
    letter-spacing: 3px;
    font-weight: 100;
}

.faq-h2 {
    font-size: 26px;
    line-height: 34px;
    font-weight: 300;
    letter-spacing: 1px;
    display: block;
    background-color: #fefffa;
    margin: 0;
    cursor: pointer;
}

.faq-text {
    color: rgba(75, 75, 75, 0.9);
    font-size: 17px;
    line-height: 26px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    max-height: 800px;
    opacity: 1;
    transform: translate(0, 0);
    margin-top: 14px;
    z-index: 2;
}

.faq-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-ul,
.faq-li {
    position: relative;
    padding: 0;
    margin: 0;
    padding-bottom: 4px;
    padding-top: 18px;
    padding-right: 20px;
    border-top: 1px dotted #cfcfcf;
}

.faq-ul li:nth-of-type(1) {
    animation-delay: 0.2s;
}

.faq-ul li:nth-of-type(2) {
    animation-delay: 0.3s;
}

.faq-ul li:nth-of-type(3) {
    animation-delay: 0.4s;
}

.faq-ul li:nth-of-type(4) {
    animation-delay: 0.5s;
}

.faq-ul li:nth-of-type(5) {
    animation-delay: 0.6s;
}

.faq-ul li:nth-of-type(6) {
    animation-delay: 0.7s;
}

.faq-ul li:nth-of-type(7) {
    animation-delay: 0.8s;
}

.faq-ul li:nth-of-type(8) {
    animation-delay: 0.9s;
}

.faq-ul li:nth-of-type(9) {
    animation-delay: 1s;
}

.faq-ul li:last-of-type {
    padding-bottom: 0;
}

.faq-ul li i {
    position: absolute;
    transform: translate(-6px, 0);
    margin-top: 16px;
    right: 0;
}

.faq-ul li i:before,
.faq-ul li i:after {
    content: "";
    position: absolute;
    background-color: #ed8500;
    width: 3px;
    height: 9px;
}

.faq-ul li i:before {
    transform: translate(-2px, 0) rotate(45deg);
}

.faq-ul li i:after {
    transform: translate(2px, 0) rotate(-45deg);
}

.faq-ul li input[type=checkbox] {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
}

.faq-ul li input[type=checkbox]:checked~p {
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    transform: translate(0, 50%);
}

.faq-ul li input[type=checkbox]:checked~i:before {
    transform: translate(2px, 0) rotate(45deg);
}

.faq-ul li input[type=checkbox]:checked~i:after {
    transform: translate(-2px, 0) rotate(-45deg);
}

@keyframes flipdown {
    0% {
        opacity: 0;
        transform-origin: top center;
        transform: rotateX(-90deg);
    }

    5% {
        opacity: 1;
    }

    80% {
        transform: rotateX(8deg);
    }

    83% {
        transform: rotateX(6deg);
    }

    92% {
        transform: rotateX(-3deg);
    }

    100% {
        transform-origin: top center;
        transform: rotateX(0deg);
    }
}

/* -------- CUSTOM FORMS -------- */

.custom-form-outer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    margin-top: 160px;
    margin-bottom: 100px;
}

.custom-form-inner-container {
    max-width: 500px;
}

@media (max-width: 768px) {

    .custom-form-inner-container input,
    .custom-form-inner-container select,
    .custom-form-inner-container textarea {
        width: 300px;
        margin-bottom: 10px;
    }
}

.custom-form-button-container {
    display: flex;
    justify-content: center;
}

/* -------- CONTACT PAGES -------- */

#contact-table-container-outer {
    display: flex;
    justify-content: center;
}

#contact-table-container {
    max-width: 800px;
    margin: 50px 0px;
}

#contact-table {
    font-size: 0.9rem;
    text-align: center;
}

#contact-table .fa-check {
    color: #fff;
}

#contact-table .fa-xmark {
    color: red;
}

#contact-message {
    word-wrap: break-word;
    max-width: 50vw;
}

@media (max-width: 768px) {

    .contact-list-email,
    .contact-list-name,
    .contact-list-header-name,
    .contact-list-header-email {
        display: none;
    }
}

#message-detail-container-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#message-detail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
}

#responded-form {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

#responded-form label {
    display: none;
}

#id_responded {
    height: 18px;
    width: 18px;
    margin-top: 5px;
}

#contact-delete-button-container {
    display: flex;
    justify-content: center;
}

#message-delete-button {
    margin-right: 10px;
}

#message-success-text {
    margin-bottom: 60px;
}

#formDiv {
    display: none;
}

#response-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#response-form p {
    display: none;
}

#response-form input {
    margin: 2px;
    background-color: transparent;
    color: #fff;
    border: 0;
    width: 300px;
    font-weight: 700;
}

#responded-update-button {
    margin: 20px !important;
    background-color: #000 !important;
    color: #fff !important;
    width: 170px !important;
    border: 1px solid grey !important;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
}

#responded-update-button:hover {
    color: #d6d6d6 !important;
    border: 1px solid #ed8500 !important;
}

#email_body {
    border-radius: 10px;
    box-shadow: 1px 2px 5px #00000099;
    border: 0;
    padding: 8px;
}

/* ------------------------------- bootstrap toasts */

.message-container {
    position: fixed;
    top: 72px;
    right: 15px;
    z-index: 99999999999;
}

.custom-toast {
    overflow: visible;
}

.toast-capper {
    height: 2px;
}

/* from CSS-tricks.com: https://css-tricks.com/snippets/css/css-triangle/ */
.arrow-up {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 10px solid black;
    position: absolute;
    top: -10px;
    right: 36px;
}

/* Convenience classes - colors copied from Bootstrap */
.arrow-primary {
    border-bottom-color: #007bff !important;
}

.arrow-secondary {
    border-bottom-color: #6c757d !important;
}

.arrow-success {
    border-bottom-color: #28a745 !important;
}

.arrow-danger {
    border-bottom-color: #dc3545 !important;
}

.arrow-warning {
    border-bottom-color: #ffc107 !important;
}

.arrow-info {
    border-bottom-color: #17a2b8 !important;
}

.arrow-light {
    border-bottom-color: #f8f9fa !important;
}

.arrow-dark {
    border-bottom-color: #343a40 !important;
}

.basket-notification-wrapper {
    height: 100px;
    overflow-x: hidden;
    overflow-y: auto;
}


/* Courses Form */

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .custom-control-label::before {
    border-radius: 0;
    border-color: #dc3545;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #dc3545;
    border-color: #dc3545;
    border-radius: 0;
}

/* -------- FOOTER -------- */

footer {
    padding-bottom: 0%;
    position: relative;
    background-color: white;
}

.footer-separator {
    border-top: 5px solid black;
    margin: 0;
}

#mailing-list-button {
    max-width: 250px;
}

.footer-credit-icon {
    font-size: 20px;
    margin-left: 8px;
}

.footer-credit-text {
    font-size: 16px;
    padding-top: 3px;
}

.footer-icons {
    color: #000;
}

.footer-icons:hover {
    color: #c47003;
}

/* Allauth form formatting */

.allauth-form-inner-content p {
    margin-top: 1.5rem; /* mt-4 */
    color: #6c757d; /* text-secondary */
}

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

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

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

.allauth-form-inner-content button,
.allauth-form-inner-content input[type='submit'] {
	/* btn */
	display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #000;
    border: 1px solid #000;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;

    /* 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 {	
	color: #fff;
    background-color: #222;
    border-color: #222;
}

.allauth-form-inner-content a {
	color: #17a2b8; /* text-info */
}

.unsubscribe {
    padding-top: 200px;
}

.default-page-container{
    margin-top: 200px;
    min-height: 100vh;
}
/* -------------------------------- Media Queries */

/* Slightly larger container on xl screens */
@media (min-width: 1200px) {
    .container {
        max-width: 80%;
    }
}

/* fixed top navbar only on medium and up */
@media (min-width: 992px) {
    .fixed-top-desktop-only {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }

    .header-container {
        padding-top: 164px;
    }
}

/* pad the top a bit when navbar is collapsed on mobile */
@media (max-width: 991px) {
    .header-container {
        padding-top: 116px;
    }

    body {
        height: calc(100vh - 116px);
    }
    .display-4.logo-font.text-black {
        font-size: 2rem;
    }

    .nav-link {
        padding: 0.15rem;
    }

    .nav-link i.fa-lg {
        font-size: 1rem;
    }

    .navbar-toggler {
        padding: .6rem .6rem;
        font-size: 1rem;
    }

    #delivery-banner h4 {
        font-size: .9rem;
    }

    .btn.btn-outline-black.rounded-0,
    .btn.btn-black.rounded-0 {
        padding: .375rem .375rem;
    }

    .btn.btn-outline-black.rounded-0.btn-lg,
    .btn.btn-black.rounded-0.btn-lg {
        padding: .375rem .375rem;
        font-size: .75rem;
    }
}