/* GESTION DES MENUS */
.menu-logo {
    height: 45px;
}

.portal-menu {
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    z-index: 2000;
}

.portal-title {
    color: var(--main-bg-color);
}

.portal-img-h150 {
    height: 150px;
    object-fit: contain;
}

.portal-img-h250 {
    height: 250px;
    object-fit: contain;
}

.navbar-nav {
    overflow-y: auto;
    overflow-x: hidden;
}

#cartnotif_d .navbar-nav {
    overflow: unset;
}

/* Surcharge des styles bootstrap */
.navbar-nav .nav-link.active, .navbar-nav .show > .nav-link {
    color: inherit;
    font-weight: bold;
}

.nav-link {
    color: inherit;
}

.nav-link:hover {
    color: inherit;
    font-weight: bold;
}

.nav-link:focus, .nav-link:hover {
    color: var(--main-text-color);
}

.dropdown-menu {
    background-color: var(--main-bg-color);
    border: none;
}

.dropdown-item {
   color: var(--main-text-color);
}

.mobile-display .nav-link {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.child-nav {
    padding-left: 3rem !important;
}

.separator {
    border-right: 1px solid grey;
}

.sidebar-menu {
    width: 250px;
    margin-top: 72px;
    height: 100vh;
}

.sidebar-menu .nav-item {
    padding-left: 1rem;
}

.content-w-sidebar {
    padding-left: 250px;
}

.label-cart, .label-notif {
    /*padding-left: 5px;*/
}

.form-select-lg ~ .select2-container--bootstrap-5 .select2-selection {
    font-size: 1rem;
}

@media (min-width: 992px) {
    .mobile-display {
        display: none;
    }
}

@media (max-width: 991px) {
    .navbar-collapse ul {
        height: calc(100vh - 140px);
    }

    .sidebar-menu {
        margin-top: 72px;
        height: 100vh;
        width: 100vh;
    }

    .content-w-sidebar {
        padding-left: 0px;
    }

    #navbarTogglerDemo02.collapse.show, #navbarTogglerDemo02.collapsing {
        width: 100%;
        height: calc(100% - 40px);
        overflow: hidden !important;
    }

    #navbarTogglerDemo02.collapse.show .header-menu, #navbarTogglerDemo02.collapsing .header-menu {
        display: flex !important;
        width: 100%;
        margin: 0;
        padding: 0;
        z-index: 2000;
    }

    #navbarTogglerDemo02.collapse.show .navbar-nav, #navbarTogglerDemo02.collapsing .navbar-nav {
        margin-top: 70px;
    }

    .label-cart, .label-notif {
        display: none;
    }
}

/* FIN DE GESTION DES MENUS */

/* GESTION DES BOUTONS */
.btn-portal {
    /*padding:15px 20px;*/
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    border: 1px solid var(--main-text-color);
    text-transform: uppercase;
    font-weight: bolder;
    transition-duration: 0.2s;
}

.btn-portal:hover {
    color: var(--main-bg-color);
    background-color: var(--main-text-color);
    border: 1px solid var(--main-bg-color);
}

.btn-portal-secondary {
    /*padding:15px 20px;*/
    background-color: var(--main-text-color);
    color: var(--main-bg-color);
    border: 1px solid var(--main-bg-color);
    text-transform: uppercase;
    font-weight: bolder;
    transition-duration: 0.2s;
}

.btn-portal-secondary:hover {
    color: var(--main-text-color);
    background-color: var(--main-bg-color);
    border: 1px solid var(--main-text-color);
}

.portal-bg-color {
    background-color: var(--main-bg-color) !important;
}

#auth_logo {
    width: 30%;
    max-width: 200px;
}

.btn-secondary {
    background-color: var(--secondary-bg-color);
    border-color: var(--secondary-text-color);
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c53340 !important;
}

.btn-profile {
    height: 40px;
    background-color: var(--main-bg-color);
    border-radius:5px;
    color: var(--main-text-color);
}

/* FIN DE GESTION DES BOUTONS */

/**************** HOME PAGE WIDGETS **************************/
.calltoaction-icon {
    height: 50px;
}

.widget-categories {
    text-align: center;
    border-radius: 5px;
}

.registration-block {
    background-color: white;
}

.registration-block .header-content {
    background-color: #f4f4ee;
    color: #1b1e21;
}

.registration-block .header-content a {
    color: #1b1e21;
}

.call-action .action-message {

}

.call-action .secondary-message {

}

.frontProductLine {
    text-align: left;
    margin-left: 0;
    margin-top: 0;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.frontProductLine:nth-of-type(odd) {
    background: rgba(255, 255, 255, .5)
}

.ProductName {
    font-weight: bold;
}

.frontProductDesc {
    padding-bottom: 5px;
}

#frontProducts {
    text-align: center;
    padding: 16px 0px;
    border: 1px solid #ddd;
    background: #f7f7f7;
}

#frontProducts h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 300;
    padding-bottom: 10px;
    border-bottom: 1px solid #CCC;
    margin-left: 0px;
}

.frontProductLine a {
    text-decoration: none;
    color: black;
}

.row-fluid.frontProductLineMain {
    padding: 8px;
}

.frontProductLineDesc {
    border-top: 1px solid rgba(0, 0, 0, .03);
    padding: 8px 12px;
    font-size: 11px;
    color: #777;
    font-style: italic;
}

.frontProductLine {
    text-align: left;
    margin-left: 0;
}

.frontProductPicture img {
    padding: 2px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 2px;
    width: 48px;
    box-sizing: border-box;
}

.frontProductTitle {
    line-height: 24px;
}

.productPriceTag {
    padding: 4px 15px 4px;
    margin-top: 6px;
    line-height: 2em;
    background: #565656;
    color: white;
    float: right;
    font-family: roboto;
    width: 100%;
    text-align: center;
    color: white !important;
}

.productPriceName {
    font-weight: bold;
    font-family: roboto;
}

/**************** END HOME PAGE WIDGETS **************************/

/**************** LIBRARY **************************/
.content-container {
    background-color: white;
    padding: 1rem;
    margin: 0.5rem;
}

.full-background {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.library-block .card {
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    border-radius: 20px;
    min-height: 350px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}

.library-block .card-header, #highlight_list .card-header {

}

@media (max-width: 768px) {
    .library-block .card {
        min-height: 250px;
        max-height: 250px;
    }
}

@media (max-width: 420px) {
    .library-block .card {
        min-height: 200px;
        max-height: 200px;
    }
}

.card.card-has-bg {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.library-block .card.card-has-bg:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
}

.library-block .card .card-footer {
    background: none;
    border-top: none;
}

.library-block .card .card-footer .media img {
    border: solid 3px rgba(255, 255, 255, 0.3);
}

.library-block .card .card-meta {
    color: #26BD75;
}

.library-block .card .card-body {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.library-block .card:hover {
    cursor: pointer;
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.library-block .card:hover .card-body {
    margin-top: 30px;
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.library-block .card .card-img-overlay {
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    background: transparent;
    background: linear-gradient(0deg, rgba(35, 79, 109, 0.37858893557423) 20%, transparent 40%);
}

.library-block .card .card-header {
    background-color: transparent;
    border-bottom: none;
}

.library-block .card .card-footer,
#highlight_list .card .card-footer {
    position: absolute;
    bottom: 0px;
    margin: 25px 0px;
}

#highlight_list .card {
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    border-radius: 20px;
    min-height: 150px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}

#cartnotif_m {
    position: relative;
    width: 100%;
    height: 60px;
}
#cartnotif_m > ul {
     position: absolute;
    right: -20px;
}


#cartnotif_d {
    position: absolute;
    background: transparent!important;
    right: 20px;
    top: 0;
}

#cartnotif > ul {
    width: fit-content;
    display: flex;
    justify-content: space-around;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    #highlight_list .card {
        min-height: 150px;
        max-height: 150px;
    }

    #auth_logo {
        margin-top: 20px;
    }

    #cartnotif_m {
        display: block !important;
    }

    #cartnotif_d {
        display: none !important;
    }
}

@media (max-width: 420px) {
    #highlight_list .card {
        min-height: 150px;
        max-height: 150px;
    }
}

/**************** FIN D LIBRARY **************************/


/**************** SCHEDULE **************************/
.selection-club-title {
    width: 100%;
    background-color: wheat;
    display: inline-block;
    margin: 10px 0px;
    border-radius: 5px;
}

.selection-activity-block {
    text-align: center;
    width: 100%;
    display: inline-block;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(115, 128, 157, 0.3);
    text-decoration: none;
    color: #31383c;
    background-color: white;
}

.calendar-nav {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--main-bg-color);
}

.click-more {
    border: 1px solid var(--main-bg-color);
    text-align: center;
    border-radius: 1rem;
    margin: 5px 0;
    background-color: var(--main-text-color);
}

.click-more a {
    text-decoration: none;
    color: var(--main-bg-color) !important;
}

.click-register {
    background-color: var(--main-bg-color);
    text-align: center;
    color: var(--main-text-color);
    border-radius: 1rem;
    margin: 5px 0;
    border: 1px solid var(--main-text-color);
}
.fa-check {
    color: green;
}
.fa-times {
    color: #e00000;
}
.register-message {
    color: black;
}

.eventtype_selected {
    color: var(--main-bg-color);
    background-color: var(--main-text-color);
}

.search-type_selected {
    color: var(--main-bg-color);
    background-color: var(--main-text-color);
}

.event-infos{
    font-weight: 600;
}

a.activity-lnk, a.all-lnk, a.facility-lnk {
    text-decoration: none;
}

a.facility-lnk {
    font-size: 18px;
font-weight: 700;
}

.btn-calendar-selection{
    border-radius: 10px;
}

/* TEMPLATE BLOCK */

.block2 .block-day-title {
    color: var(--main-bg-color);
    border-bottom: 1px solid;
    min-width: 100%;
}

.block2.card-title {
    font-weight : bold;
}

.block2 .event {
    padding-right: 15px;
    padding-left: 15px;
}

.block2.card-header {
    background-color: transparent;
    border-bottom: none;
}

.block2 .card-body {
    width:100%;
    padding: 5px;
}

.block2.card {
    height: 100%;
}
.block2 .card-footer {
    padding-top: 0rem;
    padding-bottom: 0rem;
    padding-left: 0rem;
    padding-right: 0rem;
    text-decoration: none;
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
}
.block2 .card-footer a {
    text-decoration: none;
    color: inherit
}

/* END OF TEMPLATE BLOCK 2 */

/**************** FIN DE SCHEDULE *******************/


/**************** SHOP *******************/

@import url(//fonts.googleapis.com/css?family=Montserrat:300,400,500);
.catalog-browse {
    font-family: "Montserrat", sans-serif;
    color: #8d97ad;
    font-weight: 300;
}

.catalog-browse h1,
.catalog-browse h2,
.catalog-browse h3,
.catalog-browse h4,
.catalog-browse h5,
.catalog-browse h6 {
    color: #3e4555;
}

.catalog-browse .font-weight-medium {
    font-weight: 500;
}

.catalog-browse .bg-light {
    background-color: #f4f8fa !important;
}

.catalog-browse .subtitle {
    color: #8d97ad;
    line-height: 24px;
}

.catalog-browse .font-14 {
    font-size: 14px;
}

.catalog-browse .font-13 {
    font-size: 13px;
}

.catalog-browse .card.card-shadow {
    -webkit-box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
    box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
}

.catalog-browse .text-success {
    color: #2cdd9b !important;
}

.catalog-browse .price small {
    color: #8d97ad;
    font-size: 16px;
}

.catalog-browse h5 {
    line-height: 22px;
    font-size: 16px;
}

.catalog-browse .btn-danger-gradiant {
    background: #ff4d7e;
    background: -webkit-linear-gradient(legacy-direction(to right), #ff4d7e 0%, #ff6a5b 100%);
    background: -webkit-gradient(linear, left top, right top, from(#ff4d7e), to(#ff6a5b));
    background: -webkit-linear-gradient(left, #ff4d7e 0%, #ff6a5b 100%);
    background: -o-linear-gradient(left, #ff4d7e 0%, #ff6a5b 100%);
    background: linear-gradient(to right, #ff4d7e 0%, #ff6a5b 100%);
}

.catalog-browse .btn-danger-gradiant:hover {
    background: #ff6a5b;
    background: -webkit-linear-gradient(legacy-direction(to right), #ff6a5b 0%, #ff4d7e 100%);
    background: -webkit-gradient(linear, left top, right top, from(#ff6a5b), to(#ff4d7e));
    background: -webkit-linear-gradient(left, #ff6a5b 0%, #ff4d7e 100%);
    background: -o-linear-gradient(left, #ff6a5b 0%, #ff4d7e 100%);
    background: linear-gradient(to right, #ff6a5b 0%, #ff4d7e 100%);
}

.catalog-browse .btn-md {
    padding: 10px 25px;
    font-size: 16px;
}

.pricing-block {
    height: 50px;
}

.item-name {
    border-bottom: 1px solid black;
    color: black;
}

.item-description {
    color: black;
}

.item-picture img#product_picture {
    height: fit-content;
    width: 100%;
}

@media only screen and (max-width: 600px) {
    .item-picture img#product_picture {
        height: 250px;
        object-fit: contain;
    }
}
/**************** FIN DE SHOP *******************/


/**************** OVERLAYS **************************/
#overlay_div {
    background: #000000;
    color: #ffffff;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 5000;
    top: 0;
    left: 0;
    float: left;
    text-align: center;
    padding-top: 15%;
    opacity: .80;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay .overlay-wrap,
.text-overlay {
    opacity: 0;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

body:not(.device-touch) .overlay .overlay-wrap,
body:not(.device-touch) .text-overlay {
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.overlay .overlay-wrap i {
    position: absolute;
    opacity: 0.8;
    font-size: 24px;
    line-height: 1;
    width: 24px;
    height: 24px;
    text-align: center;
    top: 50%;
    margin-top: -12px;
    left: 50%;
    margin-left: -12px;
    color: #FFF;
}

.overlay:hover .overlay-wrap,
.overlay:hover .text-overlay {
    opacity: 1;
}


.text-overlay {
    /*position: absolute;*/
    opacity: 0.85;
    top: auto;
    bottom: 0;
    height: auto;
    padding: 40px 15px 15px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.85))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0); /* IE6-9 */
}

.text-overlay-title h2,
.text-overlay-title h3,
.text-overlay-title h4 {
    margin: 0;
    color: #F5F5F5;
}

.text-overlay-title h2 {
    font-size: 28px;
}

.text-overlay-title h3 {
    font-size: 17px;
    font-weight: 600;
}

.text-overlay-title h2,
.text-overlay-title h3,
.text-overlay-title h4,
.text-overlay-meta {
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.text-overlay-meta {
    color: #CCC;
    font-size: 13px;
}

.text-overlay-meta span i {
    position: relative;
    top: 1px;
    font-size: 14px;
}


/* News Carousel Overlays
-----------------------------------------------------------------*/

.news-carousel .text-overlay {
    padding: 40px 30px 25px;
}

.news-carousel .text-overlay-title {
    margin: 15px 0 10px;
}

.news-carousel .text-overlay-title h2,
.news-carousel .text-overlay-title h3,
.news-carousel .text-overlay-title h4 {
    line-height: 1.2;
    text-overflow: none;
    white-space: normal;
}

.news-carousel .text-overlay-meta {
    font-size: 14px;
}

.news-carousel .rounded-skill {
    position: absolute;
    margin: 0 !important;
    top: 30px;
    right: 30px;
    color: #FFF;
    font-weight: 600;
}

/**************** FIN DE OVERLAYS **************************/

/**************** FOOTER **************************/

.hidden-on-desktop,
.footer-desktop {
    color: var(--main-text-color);
}

.hidden-on-desktop a,
.footer-desktop a {
    color: var(--main-text-color);
}

/**************** FIN DE FOOTER **************************/

/**************** SELECT2 - OVERRIDE **************************/
.select2-container .select2-selection--single .select2-selection__clear {
    /*position: absolute !important;*/
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
}

/**************** FIN SELECT2 - OVERRIDE **************************/

/**************** BOOTSTRAP - OVERRIDE **************************/
.form-control-height {
    height: calc(3.5rem + 2px);
}

.fa-layers svg.svg-inline--fa{
    position: relative;
}

/**************** FIN BOOTSTRAP - OVERRIDE **************************/

@media(hover:hover){
    .event-tile.past {
        opacity: .5;
        background: rgba(255, 255, 255, .7);
    }
}

.cancelled-boevent {
    color: #b94a48;
    background-color: #f2dede;
    border: 1px solid #fbeed5;
    text-transform: uppercase;
    border-radius: 1rem;
    text-align: center;
    margin: 5px 0;
}

.event-display-disabled-container {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #999999;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
}