@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

:root {
    --mm-spn-item-height: 56px;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    color: #424453;
}

a {
    text-decoration: none;
}

.form-label {
    color: #000;
}

.form-control, .form-select, .btn, .dropdown-menu {
}

.form-control:focus, .form-select:focus, .form-check-input:focus {
    box-shadow: none;
}

.page-link:focus, .navbar-toggler:focus {
    box-shadow: none;
}

.tooltip {
    font-size: .75rem;
}

.content {
    background-color: rgb(248, 249, 250);
    display: flex;
}

.content img {
    max-width: 100%;
}

.bootstrap-select > .btn-light {
    border-color: #ced4da;
}

.bootstrap-select .dropdown-toggle:focus {
    outline: none !important;
}

.bootstrap-select .dropdown-menu li a {
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .12);
}

.navbar-main {
    display: flex;
    flex-grow: 1;
}

.navbar-nav .avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.navbar-nav .dropdown-menu {
    position: absolute;
}

.navbar-brand {
    font-size: unset;
    display: flex;
    align-items: center;
}

.navbar-brand img.logo {
    height: 25px;
}

.navbar-brand img.name {
    height: 15px;
    margin-left: .5rem;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
}

.nav-shadow {
    box-shadow: inset 0 -1px 0 #ddd;
}

.cover {
    height: 664px;
    /*background: url('/images/cover.jpg') center center no-repeat;*/
    background: linear-gradient(120deg, #7730a8, #5334ad 40%, #5792ff 90%, #67b2ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover .illustration {
    text-align: right;
}

.cover .illustration img {
    width: 500px;
}

.service-group a {
    background: rgba(0, 0, 0, 0.3);
    width: 240px;
    transition: 0.3s;
}

.service-group a:hover {
    background: rgba(0, 0, 0, 0.4);
}

.service-group img {
    height: 32px;
}

.bib-search-home {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: .5rem;
}

.bib-search-home h5 {
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.bib-search-home .btn-primary {
    padding-left: 2rem;
    padding-right: 2rem;
}

.bib-search-home .btn-light {
    background-color: #fff;
}

.bib-search-home .btn-light:hover {
    background-color: #fff;
}

.bib-search-home .bootstrap-select {
    width: 100% !important;
}

.bib-search-home .bootstrap-select .dropdown-menu {
    max-width: 100%;
}

.bib-search-home .col {
    min-width: 0;
}

.select2-container--bootstrap-5 .select2-selection {
    border-radius: .375rem;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
    box-shadow: none;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
    box-shadow: none;
}

.latest-events a {
    color: unset;
}

.latest-events .event-item {
    background-color: #fff;
}

.latest-events .event-item .preview {
    position: relative;
    background: #F6F6F6;
    aspect-ratio: 12/5;
}

.latest-events .event-item img {
    width: 100%;
    height: 100%;
}

.latest-events .event-item .event-title {
    color: #000;
}

.content h1 {
    font-size: 1.75rem;
    padding-bottom: 3rem;
}

.event-list .event-item {
    display: flex;
    background-color: #fff;
    margin-bottom: 3rem;
}

.event-list .event-item .event-featured-image {
    position: relative;
    background: #F6F6F6;
    width: 350px;
    aspect-ratio: 2/1;
}

.event-list .event-item .event-featured-image img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
}

.event-list .event-item .event-date {
    position: absolute;
    top: -10px;
    left: 10px;
    width: 4.5rem;
    height: 5rem;
    background-color: #e51937;
    color: #fff;
    text-align: center;
}

.event-list .event-item .event-info {
    flex: 1;
    padding: 2rem;
}

.event-list .event-item .event-title {
    font-size: 1.5rem;
    color: #2f373b;
    font-weight: 500;
}

.event-list .event-item .province {
    margin-top: .25rem;
}

.offer .price {
    font-size: 1.25rem;
}

.photo-list {
    display: flex;
    flex-wrap: wrap;
    margin: -.25rem;
}

.photo-item {
    padding: .25rem;
}

.photo-item .preview {
    position: relative;
    padding-top: 100%;
    background: #F6F6F6;
}

.photo-item .thumbnail {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    transition: opacity .1s;
}

.photo-item .thumbnail .centered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate(50%, 50%);
}

.photo-item img {
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.photo-item .landscape img {
    max-height: 100%;
    max-width: unset;
}

.photo-item .portrait img {
    max-width: 100%;
    max-height: unset;
}

.photo-item .preview:hover .thumbnail {
}

.category-group {
    text-align: center;
    margin-top: 1rem;
}

.category-group a:not(:first-child) {
    margin-left: .125rem;
}

.search-popup {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.avatar img {
    width: 96px;
    height: 96px;
    object-fit: cover;
}

.avatar img:hover {
    cursor: pointer;
}

.payment-select {
    max-width: 500px;
    margin: 0 auto;
}

.order-list {
    display: flex;
    justify-content: space-between;
}

.group-thumb {
    margin-right: auto;
    margin-left: 3rem;
}

.group-thumb a {
    display: flex;
    color: unset;
}

.group-thumb a > div:not(:first-child) {
    margin-left: .25rem;
}

.group-thumb img {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.group-thumb .more {
    width: 48px;
    height: 48px;
    border: 1px solid var(--bs-border-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.stack-photo {
    position: relative;
    width: 150px;
}

.stack-photo img {
    width: 140px;
}

.stack-photo img:not(:first-child) {
    position: absolute;
}

.stack-photo img:nth-child(2) {
    top: 5px;
    left: 5px;
}

.stack-photo img:nth-child(3) {
    top: 10px;
    left: 10px;
}

#photo-modal {
    --bs-modal-margin: 0;
}

#photo-modal .modal-xl {
    --bs-modal-width: 100%;
}

#photo-modal .modal-content {
    border: unset;
    border-radius: unset;
    background-color: rgba(24, 24, 27, 0.96);
}

.photo-header, .photo-footer {
    color: #fff;
}

.photo-header {
    position: absolute;
    width: 100%;
    z-index: 1;
}

.photo-footer .m-auto {
    max-width: 500px;
}

.photo-content {
    display: flex;
    color: #212529;
    overflow: hidden;
    height: 100%;
    flex-direction: column;
}

.photo-wrapper {
    position: relative;
}

.photo-wrapper img {
    cursor: grab;
}

.photo-content .info {
    flex: 1;
}

.photo-content .close {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    cursor: pointer;
}

.photo-content .overlay {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-content .close:hover .overlay {
    background-color: rgba(255, 255, 255, 0.1);
}

.f-panzoom {
    height: 100%;
    background-color: unset;
}

.prev, .next {
    position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 1rem;
    top: 0;
    cursor: pointer;
}

.prev:hover .overlay, .next:hover .overlay {
    background-color: rgba(255, 255, 255, 0.1);
}

.prev .circle, .next .circle {
    display: flex;
    background-color: rgba(0, 0, 0, 0.4);
    width: 2.5rem;
    height: 2.5rem;
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.photo-content .f-carousel {
    margin-top: -4.5rem;
    padding: 0 .5rem;
}

.photo-content .f-carousel__slide {
    width: 7rem;
    background-color: rgba(26, 26, 26, 0.75);
    color: #fff;
    margin-right: .5rem;
    border-radius: .375rem;
    padding: .5rem;
    text-align: center;
}

.photo-content a.f-carousel__slide:hover {
    background-color: rgba(26, 26, 26, 0.85);
}

.photo-content .description {
    font-size: .75em;
}

#categoryCarousel .f-carousel__slide {
    width: fit-content;
}

.cart-item .right {
    flex: 1;
}

#cart-button {
    white-space: nowrap;
}

.footer a {
    color: unset;
}

#login {
    max-width: 380px;
    margin: 0 auto;
}

div:where(.swal2-container) div:where(.swal2-html-container) {
    font-size: unset !important;
}

.w-500 {
    max-width: 500px;
}

@media (max-width: 1199px) {
    .cover {
        text-align: center;
    }

    .cover .illustration {
        display: none;
    }
}

@media (max-width: 991px) {
    #photo-modal .modal-dialog {
        max-width: unset;
        margin: 0;
    }

    #photo-modal .modal-content {
        border-radius: unset;
    }

    #photo-modal .modal-dialog-scrollable {
        height: 100%;
    }
}

@media (max-width: 767px) {
    .navbar {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-main {
        flex-direction: row-reverse;
        flex-grow: unset;
    }

    .navbar-toggler {
        padding: unset;
        border: unset;
        margin-right: calc(var(--bs-gutter-x) * .5);
    }

    .navbar-brand img.name {
        display: none;
    }

    .bib-search-home {
        padding-left: calc(1.5rem * .5);
        padding-right: calc(1.5rem * .5);
    }

    .bib-search-home .btn {
        width: 100%;
    }

    .bib-search-home .col {
        margin-bottom: .5rem;
    }

    .photo-items {
        margin: -.25rem;
    }

    .photo-list {
        margin: -.625rem;
    }

    .photo-item {
        padding: .125rem;
    }

    .event-list .event-item .event-featured-image {
        width: 140px;
    }

    .event-list .event-item .event-title {
        font-size: .875rem;
    }

    .event-list .event-item .province {
        font-size: .75rem;
    }

    .event-list .event-item .event-info {
        padding: .75rem;
    }

    .event-list .event-item .event-date {
        width: 3.5rem;
        height: 4rem;
    }

    .order-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .group-thumb {
        margin-left: unset;
        margin-top: .25rem;
        order: 3;
    }

    .stack-photo {
        width: 100px;
    }

    .stack-photo img {
        width: 90px;
    }
}

@media (max-width: 575px) {
    .offer .price {
        font-size: 1rem;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        /*max-width: 1140px;*/
    }
}
