.loading,
.loading input:hover,
.loading button:hover,
.loading a:hover {
    cursor: wait;
}

.flex-col {
    flex-direction: column;
}

.flex-col>div {
    margin: .5rem 0;
}

.banner {
    height: 40rem;
    width: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.purchase-popup .form-group,
.tab-nav-selection {
    margin-bottom: 0;
}

.purchase-popup .col-sm-1.col-form-label {
    margin-left: 0;
}

.purchase-popup .btn {
    float: right;
}

.navbar.fixed-top+.page-body-wrapper {
    padding-top: 0;
}

.page-body-wrapper {
    padding-top: 70px !important;
}

.login.page-body-wrapper {
    padding-top: 0 !important;
}

.sidebar {
    width: 275px;
}

.main-panel {
    width: calc(100% - 275px);
}

.main-panel.admindashboard {
    width: 100%;
}

.nav-item .nav-link .menu-title {
    color: #3e4b5b;
    display: inline-block;
    font-size: 0.875rem;
    line-height: 1;
    vertical-align: middle;
}

.nav-item .nav-link.active .menu-title,
.btn-link {
    color: #b66dff;
}

h4.center {
    text-align: center;
}

.table .form-check {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.table .form-check .form-check-label input {
    position: unset;
}

.table .input-helper {
    position: absolute;
    left: calc(50% - 9px);
    cursor: pointer;
}

.closebtn {
    position: absolute;
    top: 0;
    right: 0.25rem;
    font-weight: bold;
    cursor: pointer;
}

.card-body h6 a {
    color: inherit;
}

.form-control,
select.form-control {
    outline: 1px solid #76838F;
    color: #76838F;
}

#piecejointe {
    padding: 0.4rem;
}

.page-title .form-control {
    margin-top: 1rem;
}

.dashboard #days_container .eventcontent h3 div {
    display: none;
}

.navbar.default-layout-navbar .navbar-brand-wrapper .navbar-brand img,
.navbar.default-layout-navbar .navbar-brand-wrapper .brand-logo-mini img {
    width: auto;
    height: 65px;
}

.navbar.default-layout-navbar .navbar-brand-wrapper .brand-logo-mini {
    margin-left: 26px;
}

.navbar.default-layout-navbar .navbar-menu-wrapper .search-field .input-group i,
.navbar.default-layout-navbar .navbar-menu-wrapper .search-field input::placeholder {
    color: #b66dff !important;
}

@media (max-width: 991px) {
    .navbar.default-layout-navbar .navbar-brand-wrapper {
        width: 95px;
    }
}

.form-control::placeholder {
    color: #76838F;
}

.navbar.default-layout-navbar .navbar-menu-wrapper .search-field .form-control {
    outline: none;
}

.form-group {
    align-items: baseline;
}

.ASC,
.DESC {
    color: #b66dff;
}

.table tbody button:not(.btn) {
    background: transparent;
    border: none;
}

.hidden {
    display: none;
}

.table tr td .mdi,
.page-header .mdi {
    cursor: pointer;
    font-size: 1.5rem;
}

.pagination {
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.pagination .btn {
    margin: 0 1rem;
    padding: 3.5px 10px;
}

.sidebar-actions .btn.btn-block.btn-lg.btn-gradient-primary.mt-4 {
    padding: 16px !important;
    text-align: center;
}

.popup_pj button {
    border: none;
    background: none;
}

.popup_pj button,
.popup_pj a {
    padding: 0;
    margin: 0.5rem;
    font-size: 1.2rem;
}

.tox.tox-tinymce {
    height: 400px !important;
}

.images .theme_img {
    height: 25vh;
    padding: 1rem;
}

.form-check-label .btn.btn-link {
    padding: 0;
    font-size: 1rem;
}

#RGPDcheck {
    margin-top: 0;
}

.form-rgpd {
    margin-left: 20px;
}

.pdf_view {
    height: 500px;
}

.list-sorties .img-thumbnail {
    max-width: 250px;
    max-height: 250px;
    cursor: pointer;
}

.list-sorties .card-title {
    cursor: pointer;
}

#addSalarie .modal-dialog,
#editSalarie .modal-dialog,
#editPaiement .modal-dialog,
#addPaiement .modal-dialog,
#addFournisseur .modal-dialog,
#editFournisseur .modal-dialog,
#addBilletterie .modal-dialog,
#editBilletterie .modal-dialog,
#addSortie .modal-dialog,
#editSortie .modal-dialog,
#addOperation .modal-dialog,
#editOperation .modal-dialog,
#addBudget .modal-dialog,
#addEvent .modal-dialog,
#addChamp .modal-dialog,
#linkChamp .modal-dialog,
#addReservation .modal-dialog,
#editReservation .modal-dialog,
#editEvent .modal-dialog,
#defineBudget .modal-dialog,
#editSociete .modal-dialog,
#addSociete .modal-dialog,
#editDotation .modal-dialog,
#addDotation .modal-dialog,
#addFonctionnementD .modal-dialog,
#editRemboursement .modal-dialog,
#addRemboursement .modal-dialog,
#setRemboursement .modal-dialog,
#modifyRemboursement .modal-dialog,
#addFonctionnementD .modal-dialog,
#editQuota .modal-dialog,
#addQuota .modal-dialog,
#setQuota .modal-dialog,
#modifyQuota .modal-dialog,
#addRappel .modal-dialog,
#lostpswd .modal-dialog,
#RB .modal-dialog,
#exportModal .modal-dialog,
#modifyTheme .modal-dialog,
#defineTheme .modal-dialog,
#modifySousTheme .modal-dialog,
#definePartTheme .modal-dialog,
#regime .modal-dialog,
#addCommande .modal-dialog,
#editCommande .modal-dialog {
    max-width: 90vw;
}

#addSalarie .modal-title,
#editSalarie .modal-title,
#addFournisseur .modal-title,
#editFournisseur .modal-title,
#addOperation .modal-title,
#editOperation .modal-title,
#addBilletterie .modal-title,
#editBilletterie .modal-title,
#addSociete .modal-title,
#editSociete .modal-title,
#addDotation .modal-title,
#editDotation .modal-title,
#addSortie .modal-title,
#editSortie .modal-title,
#addFonctionnementD .modal-title,
#editRemboursement .modal-title,
#addRemboursement .modal-title,
#editPaiement .modal-title,
#addPaiement .modal-title,
#setRemboursement .modal-title,
#modifyRemboursement .modal-title,
#editQuota .modal-title,
#addQuota .modal-title,
#setQuota .modal-title,
#modifyQuota .modal-title,
#addBudget .modal-title,
#addEvent .modal-title,
#editEvent .modal-title,
#addRappel .modal-title,
#modifySousTheme .modal-title,
#definePartTheme .modal-title,
#modifyTheme .modal-title,
#defineTheme .modal-title,
#regime .modal-title,
#addCommande .modal-title,
#editCommande .modal-title {
    display: none;
}

.table thead th {
    vertical-align: baseline;
    text-align: center;
}

.table tr td,
.dashboard .table tr td {
    text-align: center;
}

form .valid {
    background-color: #1bcfb4;
    border-color: #46c35f;
}

form .invalid {
    background-color: #fe7c96;
    border-color: #f96868;
}

#form_alert {
    display: none;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    border-color: #84404e;
}

#import_alert,
#edit_alert {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: max-content;
}

.search-field .center {
    align-items: center;
}

#demande_compte {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
}

#demande_compte .modal-dialog {
    max-width: 90vw;
}

#addValeurChamp {
    font-size: 3rem;
    cursor: pointer;
}

.line-through {
    text-decoration: line-through;
    color: grey;
}

.product-item-wrapper .product-item {
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-bottom: 20px;
}

.product-item-wrapper .product-item .card {
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid #ebedf2;
}

.product-item-wrapper .product-item .card-body {
    padding: 20px 25px;
    display: grid;
    position: relative;
    grid-template-columns: 70% 30%;
    grid-template-rows: auto;
    grid-template-areas: "product-image product-image" "product-title product-price" "product-variation product-actual-price" "product-description product-description" "product-action product-action";
}

.product-item-wrapper .product-item .card-body .product-img-outer {
    width: 100%;
    grid-area: product-image;
    overflow: hidden;
    margin-bottom: 10px;
}

.product-item-wrapper .product-item .card-body .product-title {
    grid-area: product-title;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-item-wrapper .product-item .card-body .product-price {
    grid-area: product-price;
    font-size: 19px;
    font-weight: 500;
    text-align: right;
    margin-bottom: 10px;
}

.product-item-wrapper .product-item .card-body .product-description {
    grid-area: product-description;
    line-height: 1.71;
    font-size: 0.875rem;
}

.product-item-wrapper .product-item .card-body .product-action {
    grid-area: product-action;
    line-height: 1.71;
    font-size: 0.875rem;
    display: flex;
}

.product-nav-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.product-nav-wrapper .product-filter-options .account-user-actions {
    list-style: none;
    margin-bottom: 30px;
}

.product-nav-wrapper .product-filter-options {
    margin-left: auto;
    padding-left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: flex-end;
}

.product-nav-wrapper .product-filter-options .account-user-actions li {
    display: inline-block;
    margin-right: 15px;
    position: relative;
}

.product-nav-wrapper .product-filter-options .account-user-actions li a {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    color: #343a40;
    text-decoration: none;
}

.product-nav-wrapper .product-filter-options .account-user-actions li .badge {
    position: absolute;
    top: -12px;
    right: -17px;
}

.product-nav-wrapper .product-filter-nav {
    list-style: none;
    margin-bottom: 30px;
}

.product-nav-wrapper .product-filter-nav li {
    display: inline-block;
}

.product-nav-wrapper .product-filter-nav li a {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    margin-right: 20px;
    color: #343a40;
}

.product-nav-wrapper .product-filter-nav li.active a {
    color: #b66dff;
}

.product-item-wrapper .product-item .card-body .product-img-outer {
    width: 100%;
    grid-area: product-image;
    overflow: hidden;
    margin-bottom: 10px;
}

.product-item-wrapper .product-item .card-body .product-img-outer .product_image {
    width: 100%;
    max-width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transform: scale(1);
    transform: scale(1);
    z-index: 1;
    border-radius: 0px;
    -webkit-box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0);
    box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: "ease";
    transition-timing-function: "ease";
    -webkit-transition-property: "transform", "border-radius", "box-shadow", "transform", "box-shadow";
    transition-property: "transform", "border-radius", "box-shadow", "transform", "box-shadow";
    transition-property: "transform", "border-radius", "box-shadow";
}

.product-item img {
    border-radius: 0.3125rem 0.3125rem 0 0;
    vertical-align: middle;
    border-style: none;
}

.product-item-wrapper .product-item .card-body .product-img-outer:hover .product_image {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    border-radius: 4px;
    -webkit-box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.58);
    box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.58);
    overflow: hidden;
}


/*Spécification Mozilla*/

@-moz-document url-prefix() {
    input.form-control {
        padding: 0rem 1.375rem;
    }
    .form-group {
        align-items: center;
    }
}


/*Calendrier*/

.agenda {
    padding: 2px;
    background: linear-gradient(to right, #da8cff, #9a55ff);
    box-shadow: 0px 3px 8.3px 0.7px rgba(163, 93, 255, 0.35);
    border-radius: 4px;
}

.month {
    padding: 70px 25px;
    width: 100%;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    background-color: transparent;
}

.month svg {
    fill: #fff;
    transition: 0.6s ease;
}

.month ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    list-style: none;
}

.month ul li {
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.month #month_next,
.month #month_prev {
    cursor: pointer;
    padding: 1em;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.month #month_next {
    border-radius: 0 5px 5px 0;
}

.month #month_prev {
    border-radius: 5px 0 0 5px;
}

.month #month_next:hover,
.month #month_prev:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.month #month_next:hover svg {
    fill: #9a55ff;
}

.month #month_prev:hover svg {
    fill: #da8cff;
}

.weekdays {
    margin: 0;
    padding: 10px 0;
    background-color: #ddd;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.weekdays li {
    display: inline-block;
    width: 13.6%;
    color: #666;
    text-align: center;
}

.days {
    padding: 10px 0;
    background-color: #FFF;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    border-radius: 0 0 4px 4px;
}

.days li {
    list-style-type: none;
    display: inline-block;
    width: 13.6%;
    text-align: center;
    margin-bottom: 5px;
    padding: 5px;
    font-size: 12px;
    color: #777;
}

.days li.event {
    background-color: #90caf9;
    color: white;
    cursor: pointer;
    position: relative;
    /*Important pour l'effet tooltip*/
}

.days li .eventcontent {
    position: absolute;
    top: 125%;
    left: 0;
    width: 100%;
    height: 0;
    opacity: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: .5s ease;
    z-index: -1;
    border-radius: 4px;
    border: solid 1px #da8cff;
}

.days li .eventcontent h3 {
    color: #26330C;
    font-weight: bold;
    font-size: 1.25em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.days li .eventcontent button {
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.days li .eventcontent p {
    color: #26330C;
}

.days li:hover .eventcontent::after {
    content: ' ';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #da8cff transparent;
}

.days li:hover .eventcontent {
    animation-name: displayEvent;
    animation-duration: 0.9s;
    padding: 1rem;
    height: auto;
    width: 200%;
    transform: translateX(-25%);
    opacity: 1;
    z-index: 250;
}

@keyframes displayEvent {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: auto;
        opacity: 1;
    }
}

.days li.active {
    padding: 5px;
    background: linear-gradient(to right, #da8cff, #9a55ff);
    color: white;
}

.days li.active.event {
    background-image: linear-gradient(to right, #da8cff, #9a55ff, #90caf9);
    color: white;
}


/* Add media queries for smaller screens */

@media screen and (max-width:720px) {
    .weekdays li,
    .days li {
        width: 13.1%;
    }
}

@media screen and (max-width: 420px) {
    .weekdays li,
    .days li {
        width: 12.5%;
    }
    .days li .active {
        padding: 2px;
    }
}

@media screen and (max-width: 290px) {
    .weekdays li,
    .days li {
        width: 12.2%;
    }
}


/*Fin calendrier*/

@media (max-width: 991px) {
    .main-panel {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 425px) {
    .page-header {
        flex-direction: column;
    }
}

.infos .card-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}


/** Payment Stripe **/

form#payment-form {
    width: 30vw;
    min-width: 500px;
    align-self: center;
    box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1), 0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
    border-radius: 7px;
    padding: 40px;
}

#payment-form input {
    border-radius: 6px;
    margin-bottom: 6px;
    padding: 12px;
    border: 1px solid rgba(50, 50, 93, 0.1);
    height: 44px;
    font-size: 16px;
    width: 100%;
    background: white;
}

.result-message {
    line-height: 22px;
    font-size: 16px;
}

.result-message a {
    color: rgb(89, 111, 214);
    font-weight: 600;
    text-decoration: none;
}

.hidden {
    display: none;
}

#card-error {
    color: rgb(105, 115, 134);
    text-align: left;
    font-size: 13px;
    line-height: 17px;
    margin-top: 12px;
}

#card-element {
    border-radius: 4px 4px 0 0;
    padding: 12px;
    border: 1px solid rgba(50, 50, 93, 0.1);
    height: 44px;
    width: 100%;
    background: white;
}

#payment-request-button {
    margin-bottom: 32px;
}


/* Buttons and links */

#payment-form button {
    background: #b66dff;
    color: #ffffff;
    font-family: Arial, sans-serif;
    border-radius: 0 0 4px 4px;
    border: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
}

#payment-form button:hover {
    filter: contrast(115%);
}

#payment-form button:disabled {
    opacity: 0.5;
    cursor: default;
}


/* spinner/processing state, errors */

.spinner,
.spinner:before,
.spinner:after {
    border-radius: 50%;
}

.spinner {
    color: #ffffff;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.spinner:before,
.spinner:after {
    position: absolute;
    content: "";
}

.spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: #b66dff;
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    -webkit-transform-origin: 10.4px 10.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
}

.spinner:after {
    width: 10.4px;
    height: 10.2px;
    background: #b66dff;
    border-radius: 0 10.2px 10.2px 0;
    top: -0.1px;
    left: 10.2px;
    -webkit-transform-origin: 0px 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 600px) {
     ::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 5px;
        height: 5px;
    }
     ::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background-color: rgba(0, 0, 0, .5);
        -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
    }
    .boutique .table-responsive {
        overflow-x: scroll !important;
    }
    .boutique .content-wrapper,
    .boutique .card .card-body {
        padding: 0.25rem;
        word-wrap: none;
    }
    .boutique .content-wrapper {
        padding-top: 1rem;
    }
    .boutique .table th,
    .boutique .table td {
        font-size: 0.75rem;
    }
    .boutique .table tr td .mdi {
        font-size: 0.75rem;
    }
    .boutique .btn-sm {
        padding: 0.25rem 0.5rem;
    }
    .boutique .product-action {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .payment .grid-margin {
        padding: 0 5px;
    }
    .payment .card .card-body {
        padding: 20px 10px;
    }
    form#payment-form {
        width: 100%;
        min-width: 100%;
        padding: 0;
    }
}