/* This section copied and adapted from the Boutique Ado project. */

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    background: url(/media/hero_image.jpg) no-repeat center center fixed;
    background-size: cover; 
    height: calc(100vh - 164px);
    color: #000;
    font-family: 'Open Sans', sans-serif; 
    position: relative;
}

.header-container {
        padding-bottom: 50px;
    }

#content {
    min-height: calc(100vh - 164px);
}

#header {
    margin-top: 50px;
}
/* from Bulma */
.icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    height: 1.5rem;
    width:1.5rem;
}

.logo-font {
    font-family: 'Parisienne', cursive;
    font-weight: 800;
    font-size: 50px;
}
#delivery-banner {
    background: #000;
    color: #D4AF37;
}
.main-logo-link {
    width: fit-content;
}

/* End of copied code */

#hero-logo {
    margin-top: 17%;
}

.shop-now-button {
    background: #000;
    color: #D4AF37;
    min-width: 200px;
}

.btn-black {
    background: #000;
    color: #D4AF37;
    font-weight: bold;
}

/* This section copied from the Boutique Ado project */

.btn-outline-black {
    background: #fff;
    color: #000 !important; /* !important to override bootstrap colours */
    border: 1px solid #000;
}

.button-outline-black:hover,
.btn-outline-black:active,
.btn-outline-black:focus {
    background: #000;
    color: #fff !important; /* !important to override bootstrap colours */
}

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

.text-black {
    color: #000 !important; /* !important to override bootstrap colours */
}

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

.display-4 {
    font-weight: 500;
    font-size: 5rem;
}

.bg-black {
    background: #000;
}

.overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    background: #fff;
    z-index: -1;
}

a.category-badge > span.badge:hover {
    background: #212629 !important;
    color: #fff;
}

.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;
}

/* Bootstrap toasts */

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

.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;
}

/* 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 */
}

/* Product 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-color: #dc3545;
}

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

/* End of copied code */

.main-logo, .nav-link, .nav-item {
    color: #D4AF37;
}

.nav-link:hover {
    text-decoration: none;
    color: #fff;
}
.hero-logo {
    color: #D4AF37;
    background-color: #000;
    padding: 30px;
    border-radius: .5rem;
    border-color: transparent !important;
}

.card-img-top {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}

.card-img-bottom {
    max-height: 70vw;
    max-width: 60vh;
    object-fit: cover;
}

.blog-title {
    color: #000;
}

.blog-title:hover {
    color: #D4AF37;
}
.blog-link:hover {
    text-decoration: none;
}

.product_detail_image, 
.blog_detail_image {
    max-height: 40vw;
    max-width: 40vh;
    object-fit: cover;
}

.edit-form-image {
    object-fit: cover;
}

/* Accordion */

.card-header {
    background-color: #000;
}

.btn-link {
    color: #D4AF37;
    font-weight: bold;
}

.btn-link:hover {
    text-decoration: none;
    color: #fff;
}


.small-checkout-button {
    border-style: solid;
    border-width: 1px;
    border-color: #000;
}

/* Pagination */

.page-link {
    color: #000;
}

/* Footer */

#footer {
    position: static;
    background-color: #000;
    color: #D4AF37;
    bottom:0;
    left:0;
    width:100%;
}

.footer-hr, .header-hr {
    background-color: #D4AF37;
    padding: 0px;
}

.footer-item {
    color: #D4AF37;
    text-decoration: none;
}

.footer-item:hover {
    text-decoration: none;
    color: #fff;
}

.phone-number {
    text-decoration: none;
    color: #D4AF37; 
}

.phone-number:hover {
    text-decoration: none;
    color: #fff; 
}
.delivery-banner {
    padding: 0px;
} 

.search-button {
    color: #D4AF37;
}

.search-box {
    color: #D4AF37;
    background-color: #000;
}

.fa-bars {
    color: #D4AF37;
    font-size: 28px;
}

.blog-title {
    font-size: 2.5rem;
}

/* -------------------------------- Media Queries */

/* Copied from Boutique Ado project. */
/* Slightly larger container on xl screens */
@media (min-width: 1200px) {
  .container {
    max-width: 80%;
  }
  .main-logo {
        font-size: 50px;
    }
}

@media (max-width: 1280px) {
  #hero-logo {
        margin-top: 5rem;
    }
}

/* Copied from Boutique Ado project. */
/* 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;
    }

    .main-logo {
        font-size: 40px;
    }
}

@media (max-width: 991px) {
    .header-container {
        padding-top: 116px;
    }
    body {
        height: calc(100vh - 116px);
    }
    .display-4.logo-font {
        font-size: 2rem;
        font-weight: bold;
    }
    .nav-link {
        padding: 0.1rem;
    }
    .nav-link i.fa-lg {
        font-size: 1rem;
    }
    .navbar-toggler {
        padding: .6rem .6rem;
        font-size: 1rem;
    }
    #delivery-banner h4 {
        font-size: .9rem;
    }
    #hero-logo {
        margin-top: 10rem;
    }
    .main-logo {
        font-size: 35px;
    }
}

@media only screen and (max-width: 600px) {
    .header-container {
        padding-top: 50px;
    }

    h2 {
        font-size: 1.5rem;
    }

    #hero-logo {
        margin-top: 10rem;
    }

    .product-image {
        zoom: 100%;
    }
}

@media only screen and (max-width: 400px) {
    .header-container {
        padding-top: 50px;
    }

    h2 {
        font-size: 1rem;
    }

    #hero-logo {
        margin-top: 10rem;
        font-size: 1.5rem
    }

    .shop-now-button {
        font-size: 0.75rem;
    }

    .nav-link {
        padding: 0.2rem;
    }

    .nav-link i.fa-lg {
        font-size: 1rem;
    }
    .product-image {
        zoom: 70%;
    }

    .btn {
        font-size: 0.7rem;
    }
}