html {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    max-width: 100vw;
    
}

body {
    height: calc(100vh - 200px);
    color: rgb(0, 0, 0);
    font-family: 'Lato';
    max-width: 100vw;
}

/* ////////////////////////////////// colors and bg colors//////////////////////////////////// */
.pink-bg {
    background-color: #f0c1c1 !important;
}

.text-black {
    color: #000;
}

.white-text {
    color: #fff;
}

.bg-light {
    background-color: #f1e6d9 !important;
}

/* /////////////////////////////////// Navbar ////////////////////////////////////////////// */
#topnav {
    min-height: 6rem;
}

.navbar-toggler {
    border-radius: 0;
    border: none;
    line-height: inherit;
}

.navbar {
    justify-content: center;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    display: block;
}

/* //////////////////////////////////////// fonts ////////////////////////////////////////// */
a {
    text-decoration: none;
}

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

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

/* ///////////////////////////////////// buttons and borders  ///////////////////////////////////////// */
.btn-black {
    background: #000;
    color: #fff;
}

.btn-pink {
    background-color: #f0c1c1 !important;
}

.btn-pink:hover {
    background-color: #f58e8e !important;
}

.shop-all-btn {
    background: #000;
    color: #fff;
    position: absolute;
    left: 49% !important;
    cursor: pointer;
    box-shadow: 0px 0px 8px rgb(75, 73, 73);
}

.shop-all-btn:hover,
.shop-all-btn:active,
.shop-all-btn:focus,
.btn-black:hover,
.shop-all-btn:active,
.shop-all-btn:focus {
    background: #222;
    color: #fff;
}

.btt-button {
    height: 2.5rem;
    width: 2.5rem;
    position: fixed;
    right: 0;
    background-color: #000;
    z-index: 999;
}

.border-black {
    border: 1px solid rgb(0, 0, 0) !important;
}

.border-dark {
    border-color: rgb(221 216 216) !important;
}

.add-to-bag-btn {
    width: 70%;
    background-color: rgb(237, 222, 60);
}

.add-to-bag-btn:hover {
    background-color: rgb(213, 196, 4);
}

.btn-outline-dark {
    border-color: rgba(194, 194, 194, 0.838);
}

.btn-outline-dark:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
}

.current-category .btn-black:hover {
    background-color: #5f5f5f;
}

.badge {
    border-radius: 0 !important;
}

.badge a {
    font-size: .85rem;
}

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

.query-form button.btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

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

/* custom negative right margin */
.mr-n2 {
    margin-right: -0.75rem !important;
}

/* custom negative left margin */
.ml-n2 {
    margin-left: -0.75rem !important;
}

/* ///////////////////////////////////// lists /////////////////////////////////////////// */

ul {
    padding: 0 !important;
}

li.list-group-item.current-category:hover {
    background-color: #000 !important;
}

.table-responsive>table.table tbody>tr:last-child>td {
    border-bottom: none;
}

/* ///////////////////////////////////// images and cards /////////////////////////////////// */
.img-responsive-anim-card {
    height: 21.87rem;
    width: 21.87rem;
    box-shadow: 0px 0px 8px rgb(111, 109, 109);
}

.img-responsive-product {
    height: 25rem;
    width: 76%;
}

.card-img-top {
    max-height: 15.6rem;
    max-width: 13rem;
    min-height: 15.6rem;
    min-width: 13rem;
}

.img-md {
    max-width: 10rem;
    min-height: 11rem;
    max-height: 11rem;
}

.card.product-card:hover {
    border: 2px solid #d4d1d1 !important;
    box-shadow: 0px 0px 8px #d4d1d1;
}

/* ////////////////////////////////////////// dropdowns /////////////////////////////// */
.dropdown-menu {
    background-color: #f0c1c1;
}

.dropdown-item {
    color: #000;
}

/* ////////////////////////////////////////// carousel /////////////////////////////// */
/* This carousel is borrowed from (https://www.codeply.com/p/jCzaESNi07) */
.sim-carousel-inner>.carousel-item.active,
.sim-carousel-inner>.carousel-item-next {
    display: flex;
    flex-wrap: nowrap;
}

.sim-carousel-control-prev {
    z-index: 2000;
    left: -4% !important;
    border: 1px solid black;
    border-radius: 50%;
    width: 2.6rem;
    height: 2.6rem;
    top: 40% !important;
}

.sim-carousel-control-next {
    z-index: 2000;
    right: -4% !important;
    border: 1px solid black;
    border-radius: 50%;
    width: 2.6rem;
    height: 2.6rem;
    top: 40% !important;
}

span>i.carousel-control-right-black,
span>i.carousel-control-left-black {
    display: inline-block;
    color: rgba(82, 81, 81, 0.543) !important;
    font-size: 2rem;
}

.mobile-sim-carousel {
    height: 50%;
    width: 80%;
    margin: 0 auto;
}

/* //////////////////////////////////////// Allauth form formatting ////////////////////*/
/* Taken from boutique ado project */
.overlay-allauth {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    background: #fff url(/media/404_page.png) no-repeat center right;
    z-index: -1;
}

.allauth-form-inner-content p {
    margin-top: 1.5rem;
    color: #6c757d;
}

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

.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'] {
    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;
}

.header-container-allauth {
    padding-top: 8.5rem;
}

/* //////////////////////////////////// toasts //////////////////////////////// */
.message-container {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 9999999;
}

.custom-toast {
    overflow: visible;
    background-color: #fff !important;
}

.toast {
    background-color: #fff !important;
}

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

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

.toast-header {
    border-bottom: none;
}

 /* ////////////////////////////////////////// custom widget file upload field/////////// */
.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;
}

.btn-file {
    padding: .375rem .50rem !important;
    width: 90% !important;
}

.btn-file input {
    width: 90% !important;
}

/* //////////////////////////////////////// footer ///////////////////////////////////// */
footer.page-footer {
    background-color: #000;
    color: #fff;
    margin-top: 1rem !important;
}

/* /////////////////////////////////////////// 404-500 error page///////////////// */
.page_404 {
    background: #fff url('/media/404_page.png') no-repeat center right;
    background-size: auto;
    height: calc(100vh - 15rem);
}

.navInActive {
    -webkit-transform: translate3d(0px, 0, 0);
    -moz-transform: translate3d(0px, 0, 0);
    -ms-transform: translate3d(0px, 0, 0);
    -ms-transform: translate(0px, 0);
    -o-transform: translate3d(0px, 0, 0);
    transform: translate3d(0px, 0, 0);
    z-index: 0;
    -ms-transform: translate(0, 0);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

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

}

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

    .header-container {
        padding-top: 10rem;
    }

    /* displays dropdown menu on hover */
    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }

}


@media (max-width: 991px) {
    .header-container {
        padding-top: 200px;
    }

}


@media screen and (max-width: 768px) {
    body {
        min-height: calc(100vh - 200px);
        margin-bottom: 7rem !important;
        height: unset;
    }

    .header-container-allauth {
        padding-top: 10.8rem;
    }

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

    html {
        min-width: fit-content;
    }

    .img-responsive-product {
        height: 22rem;
        width: 100%;
    }

    .nav-link {
        padding: 0.5rem;
    }

    .btn-group-custom button {
        min-width: 10rem;
        max-width: 10rem;
        width: 10rem;
    }

    .btn-group-custom button a {
        font-size: .8rem;
        padding: 0;
    }

    .btn-lg {
        padding: .4rem .6rem;
        font-size: 1rem;
    }

    #topnav {
        min-height: unset !important;
    }

    /* Footer is fixed on medium and down as a quick fix for
    different size of body content across all pages.
    If this is removed, the footer will jump up to the middle of the page when
    navbar toggler expands. */
    footer.page-footer {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
    }


}


@media screen and (max-width: 576px) {

    .mr-n2 {
        margin-right: 0 !important;
    }

    /* custom negative left margin */
    .ml-n2 {
        margin-left: 0 !important;
    }

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

    .sim-carousel-inner>.carousel-item.active,
    .sim-carousel-inner>.carousel-item-next {
        display: flex;
        flex-wrap: wrap;
    }

    html {
        max-width: fit-content;
        min-width: 378px;
        overflow-x: hidden;
    }

    p {
        font-size: smaller;
    }

    .toast {
        width: 18rem;
    }

    .sim-carousel-control-prev {
        z-index: 2000;
        left: -1% !important;
        border: 1px solid black;
        border-radius: 50%;
        width: 1.6rem;
        height: 1.6rem;
        top: 40% !important;

    }

    .sim-carousel-control-next {
        z-index: 2000;
        right: -1% !important;
        border: 1px solid black;
        border-radius: 50%;
        width: 1.6rem;
        height: 1.6rem;
        top: 40% !important;
    }

    .img-responsive-anim-card {
        height: 18.75rem;
        width: 18.75rem;
    }

    .img-responsive-product {
        height: 14rem;
        width: 50%;
    }

    .img-md {
        max-width: 8rem;
        min-height: 9rem;
        max-height: 9rem;

    }

    .overlay-allauth {
        background: #fff;
    }

    .page_404 {
        background: #fff url('/media/404_page.png') no-repeat bottom right;
    }


}
