/*css slider*/
.slideshow {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.slideshow .slider {
    width: 100vw;
    height: 100vw;
    z-index: 2;
}

.slideshow .slider * {
    outline: none;
}

.slideshow .slick-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow .slider .item {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    border: none;
}

.slideshow .slick-dots {
    position: fixed;
    z-index: 100;
    width: 40px;
    height: auto;
    bottom: auto;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: auto;
    color: #fff;
    display: block;
}

.slideshow .slick-dots li {
    display: block;
    width: 100%;
    height: auto;
}

.slideshow .slick-dots li button {
    position: relative;
    width: 20px;
    height: 15px;
    text-align: center;
}

.slideshow .slick-dots li button:before {
    content: "";
    background: #fff;
    color: #fff;
    height: 2px;
    width: 20px;
    border-radius: 0;
    position: absolute;
    top: 50%;
    right: 0;
    left: auto;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    opacity: 0.6;
}

.slideshow .slick-dots li.slick-active button:before {
    width: 40px;
    opacity: 1;
}

.topnav {
    overflow: hidden;
    background-color: #333;
}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: #4caf50;
    color: white;
}

.topnav-right {
    float: right;
}

/*login*/
.simplelogin-form .btn-primary.form-submit {
    color: #fff;
    background-color: #00abc8;
    border-color: #00abc8;
    border-radius: 1.25rem;
    margin-top: 1.25rem !important;
}

.simplelogin-form .form-item.form-item-pass.form-no-label {
    position: relative;
}

.simplelogin-form span.password-toggle {
    position: absolute;
    right: 11px;
    top: 34%;
}

.simplelogin-form .btn-primary.form-submit:hover {
    color: #fff;
    background-color: #08bcdb;
    border-color: #08bcdb;
}

.simplelogin-form .slider .item img {
    height: 100%;
}

.simplelogin-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
}

.simplelogin-wrapper .eye-toggle {
    top: 40%;
}

#demo.carousel.slide {
    display: none;
}

.simplelogin-form {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(8, 7, 16, 0.6);
    border-radius: 1rem;
}

.simplelogin form.user-pass p {
    color: #000!important;
}
.simplelogin-form div[role="contentinfo"] {
    text-align: center;
    margin: 0 0 20px;
}

.simplelogin-form div[role="alert"] a {
    display: block;
    margin-top: 10px; 
}

.simplelogin-form h1,
.simplelogin-form .forgot-password {
    color: #363636;
}
.simplelogin-form input.form-submit, 
.simplelogin-form button.form-submit, 
.simplelogin-form input.form-submit:hover, 
.simplelogin-form input.form-submit:active, 
.simplelogin-form input.form-submit:focus, 
.simplelogin .link:hover, 
.simplelogin .link:focus {
    background-color: #00abc8;
}
.simplelogin-form input.form-text,
.simplelogin-form input.form-tel,
.simplelogin-form input.form-email,
.simplelogin-form input.form-url,
.simplelogin-form input.form-search,
.simplelogin-form input.form-file,
.simplelogin-form input.form-number,
.simplelogin-form input.form-color,
.simplelogin-form textarea.form-textarea,
.simplelogin select.form-select {
    width: 100%;
    border: 0.0625rem solid #f5f5f5;
    color: #6e6e6e;
    padding: 0.3125rem 1.25rem;
    margin-bottom: 10px;
    border-radius: 1rem;
    height: 3.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/****** dashboard ******/
aside.main-sidebar.sidebar-dark-primary.elevation-4 {
    background-color: #004185 !important;
}

aside.main-sidebar.sidebar-dark-primary.elevation-4 a.nav-link.d-flex {
    align-items: center;
}

aside.main-sidebar.sidebar-dark-primary.elevation-4 a.nav-link.d-flex p {
    color: #C8D8EA;
}

aside.main-sidebar.sidebar-dark-primary.elevation-4 .nav-sidebar .nav-link>.right,
aside.main-sidebar.sidebar-dark-primary.elevation-4 .nav-sidebar .nav-link>p>.right {
    top: inherit;
}

.breadcrumb-item a {
    color: #00ABC7;
}

.btn-primary:hover,
.btn-secondary:hover {
    opacity: 0.8;
}

.custom-control-input:checked~.custom-control-label::before {
    border-color: #00ABC7 !important;
    background-color: #00ABC7 !important;
}

body.sidebar-collapse:not(.sidebar-mini-xs):not(.sidebar-mini-md):not(.sidebar-mini) .main-header {
    width: 100% !important;
}

/*page list patient*/
.content-filter-patient button {
    display: flex;
    align-items: center;
}

section.content.list-patient p,
section.content.list-patient ul li {
    color: #9CA7BA !important;
}

section.content.list-patient span.fa-li i {
    color: #A45A95;
}

section.content.list-patient h2.lead {
    font-weight: bold;
    color: #00ABC7;
}

section.content.list-patient .header-card-patient .content-img {
    width: 100px;
    min-width: 100px;
    height: 100px;
}

section.content.list-patient .header-card-patient .content-img img {
    object-fit: cover;
}

/*fin page list patient*/

/*page Add New patient*/
.content-add-patient {
    min-height: calc(100vh - 52px);
}

.content-add-patient .card-header h2.card-title {
    font-weight: bold;
    color: #004185;
}

.content-add-patient a.btn.btn-primary-outline {
    border-radius: 8px;
    border: 1px solid #00ABC7;
    color: #00ABC7;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    gap: 6px;
    max-width: 184px;
}

.content-add-patient a.btn.btn-secondary-outline,
button.btn.btn-secondary-outline {
    color: #9CA7BA;
    background-color: inherit !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: none;
}

.content-add-patient #form-add-patient a.btn.btn-secondary-outline,
.content-add-patient #form-add-patient button.btn.btn-secondary-outline {
    display: block;
}

.content-add-patient a.btn.btn-primary-outline:hover,
.content-add-patient a.btn.secondary-outline:hover {
    opacity: 0.8;
}

/*fin Add New patient*/

/*formulaire create patient stepper*/
form#form-add-patient .active .bs-stepper-circle {
    background-color: #00ABC7 !important;
}

form#form-add-patient .bs-stepper-circle {
    background-color: #9CA7BA !important;
}

form#form-add-patient .bs-stepper .step-trigger {
    color: #9CA7BA;
}

form#form-add-patient .active span.bs-stepper-label {
    color: #222222;
}

form#form-add-patient span.bs-stepper-label {
    font-size: 14px;
}

form#form-add-patient .active span.bs-stepper-label {
    color: #222222;
}

form#form-add-patient .bs-stepper-content .profil-user .holder {
    border: 1px solid #D0D0D0;
    background: lightgray 50% / cover no-repeat;
    width: 174px;
    height: 174px;
    overflow: hidden;
}

form#form-add-patient .bs-stepper-content .profil-user .holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

form#form-add-patient label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 400 !important;
    margin-bottom: 4px;
}

@media (max-width: 1399.98px) {
    form#form-add-patient .bs-stepper .step-trigger {
        padding: 0;
    }

    form#form-add-patient .bs-stepper-content {
        padding: 20px;
    }
}

@media (max-width: 1199.98px) {
    form#form-add-patient span.bs-stepper-label {
        font-size: 12px;
        white-space: initial;
    }

    form#form-add-patient .bs-stepper .line,
    .bs-stepper-line {
        display: none;
    }

    form#form-add-patient .bs-stepper .step-trigger {
        padding: 0;
    }

    form#form-add-patient .step {
        margin: 0 4px;
    }
}

/*Fin formulaire create patient stepper*/

/*Manage Registrations Chanels*/
.card-gray-dark:not(.card-outline)>.card-header {
    background-color: #00ABC7 !important;
}

.card-tabs .nav-tabs .nav-link:focus,
.card-tabs .nav-tabs .nav-link:hover {
    border-color: #00ABC7 !important;
    opacity: 0.8;
}

.pagination .page-link {
    padding: 0.375rem 0.5rem !important;
}

.page-item.active .page-link {
    background-color: #00ABC7 !important;
    border-color: #00ABC7 !important;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 12px 0 0 !important;
}

.pagination li.paginate_button.page-item.active .page-link {
    color: #ffffff !important;
}

li.paginate_button.page-item .page-link {
    color: #9CA7BA !important;
}

/* dialog */
h2#swal2-title {
    font-size: 1.375rem !important;
}

button.swal2-confirm.swal2-styled.swal2-default-outline {
    background-color: #00ABC7 !important;
}

.btn-success-smile,
.btn-danger-smile {
    color: #9CA7BA !important;
    border: none !important;
}

.btn-success-smile:hover,
.btn-danger-smile:hover {
    opacity: 0.75;
}

/***** Tabulation ******/
:root {
    --first-color: #004185;
    --third-color: #00ABC7;
    --text-color: #ffffff !important;
    --text-black: #393939 !important;

    --box-shadow: 0 5px 25px rgb(2, 2, 2, 0.1);
    --text-shadow: 0 5px 25px rgb(2, 2, 2, 0.1);
}

.main-container {
    position: relative;
}

.tab-nav-bar {
    position: relative;
}

.tab-navigation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
}

.dropdown-content {
    display: none;
    position: fixed;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    list-style: none;
    padding: 0;
}

.dropdown-content a {
    color: var(--text-black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border: none !important;
}

.dropdown-content a.nav-link:hover {
    background-color: #00abc8;
    color: white;
}

.tab-menu {
    color: var(--text-black);
    list-style: none;
    background-color: transparent;
    white-space: nowrap;
    scroll-behavior: smooth;
    user-select: none;
    overflow-x: auto;
    border-bottom: 3px solid #dee2e6;
    padding: 0;
    width: 100%;
}

.tab-menu.dragging {
    scroll-behavior: unset;
    cursor: grab;
}

.tab-menu::-webkit-scrollbar {
    display: none;
}


.tab-menu li.tab-btn a {
    color: var(--text-black);
}

.tab-menu li.tab-btn {
    display: inline-block;
    color: var(--text-black);
    font-size: 1em;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
    transition: background-color .3s ease;
}

.tab-menu.dragging .tab-btn {
    pointer-events: none;
}

.tab-nav-bar .nav-link {
    padding: 0.875rem;
    transition: transform .2s;
}

.tab-nav-bar a.nav-link.active {
    background-color: var(--text-color);
    border-bottom: 3px solid #00abc7;
}

.tab-btn {
    transition: transform .2s;
}

.tab-btn:hover {
    background-color: var(--text-color);
}

.tab-btn:hover .nav-link {
    color: var(--text-black);
    border-bottom: 3px solid #00abc7;
    background-color: var(--text-color);
    transform: scale(1.04);
}

.tab-btn:hover .nav-link.active {
    color: var(--text-black);
    border-bottom: 3px solid #00abc7;
    background-color: var(--text-color);
}

.left-btn,
.right-btn {
    position: absolute;
    color: var(--text-color);
    font-size: 2.2em;
    padding: 4px;
    cursor: pointer;
    top: 5px;
    z-index: 999;
}

.left-btn:hover,
.right-btn:hover {
    opacity: 0.8;
}

.left-btn {
    left: 1px;
    background: linear-gradient(to left, transparent, #00abc8 60%);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    display: none;
}

.right-btn {
    right: 1px;
    background: linear-gradient(to left, transparent, #00abc8 60%);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.photo-user-avatar {
    width: 24px;
    height: 24px;
    overflow: hidden;
    border-radius: 50%;
}

.name-user-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -ms-flex: 1;
    flex: 1;
    margin-left: 8px;
    color: #0d0c22;
}

.shots-grid {
    display: grid;
    grid-gap: 36px;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    list-style: none;
}

.shot-thumbnail-container {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.shot-thumbnail-base {
    position: relative;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 8px;
}

.shot-thumbnail-placeholder:before {
    content: '';
    display: block;
    padding-top: 75%;
}

.shot-thumbnail-placeholder {
    margin: 0;
    overflow: hidden;
}

.shot-thumbnail-placeholder>* {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.shot-thumbnail-container .shot-thumbnail-base:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(8.1%, rgba(0, 0, 0, 0)), color-stop(15.5%, rgba(0, 0, 0, 0.001)), color-stop(22.5%, rgba(0, 0, 0, 0.003)), color-stop(29%, rgba(0, 0, 0, 0.005)), color-stop(35.3%, rgba(0, 0, 0, 0.008)), color-stop(41.2%, rgba(0, 0, 0, 0.011)), color-stop(47.1%, rgba(0, 0, 0, 0.014)), color-stop(52.9%, rgba(0, 0, 0, 0.016)), color-stop(58.8%, rgba(0, 0, 0, 0.019)), color-stop(64.7%, rgba(0, 0, 0, 0.022)), color-stop(71%, rgba(0, 0, 0, 0.025)), color-stop(77.5%, rgba(0, 0, 0, 0.027)), color-stop(84.5%, rgba(0, 0, 0, 0.029)), color-stop(91.9%, rgba(0, 0, 0, 0.03)), to(rgba(0, 0, 0, 0.03)));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 8.1%, rgba(0, 0, 0, 0.001) 15.5%, rgba(0, 0, 0, 0.003) 22.5%, rgba(0, 0, 0, 0.005) 29%, rgba(0, 0, 0, 0.008) 35.3%, rgba(0, 0, 0, 0.011) 41.2%, rgba(0, 0, 0, 0.014) 47.1%, rgba(0, 0, 0, 0.016) 52.9%, rgba(0, 0, 0, 0.019) 58.8%, rgba(0, 0, 0, 0.022) 64.7%, rgba(0, 0, 0, 0.025) 71%, rgba(0, 0, 0, 0.027) 77.5%, rgba(0, 0, 0, 0.029) 84.5%, rgba(0, 0, 0, 0.03) 91.9%, rgba(0, 0, 0, 0.03) 100%);
}

.shot-thumbnail-container .shot-thumbnail-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.shot-thumbnail-container .shot-thumbnail-overlay {
    display: -ms-flexbox;
    display: flex;
    z-index: 2;
    -ms-flex-align: end;
    align-items: flex-end;
    padding: 20px;
    -webkit-transition: opacity 300ms ease;
    transition: opacity 300ms ease;
    border-radius: 8px;
    opacity: 0;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(62%, rgba(0, 0, 0, 0)), color-stop(63.94%, rgba(0, 0, 0, 0.00345888)), color-stop(65.89%, rgba(0, 0, 0, 0.014204)), color-stop(67.83%, rgba(0, 0, 0, 0.0326639)), color-stop(69.78%, rgba(0, 0, 0, 0.0589645)), color-stop(71.72%, rgba(0, 0, 0, 0.0927099)), color-stop(73.67%, rgba(0, 0, 0, 0.132754)), color-stop(75.61%, rgba(0, 0, 0, 0.177076)), color-stop(77.56%, rgba(0, 0, 0, 0.222924)), color-stop(79.5%, rgba(0, 0, 0, 0.267246)), color-stop(81.44%, rgba(0, 0, 0, 0.30729)), color-stop(83.39%, rgba(0, 0, 0, 0.341035)), color-stop(85.33%, rgba(0, 0, 0, 0.367336)), color-stop(87.28%, rgba(0, 0, 0, 0.385796)), color-stop(89.22%, rgba(0, 0, 0, 0.396541)), color-stop(91.17%, rgba(0, 0, 0, 0.4)));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.00345888) 63.94%, rgba(0, 0, 0, 0.014204) 65.89%, rgba(0, 0, 0, 0.0326639) 67.83%, rgba(0, 0, 0, 0.0589645) 69.78%, rgba(0, 0, 0, 0.0927099) 71.72%, rgba(0, 0, 0, 0.132754) 73.67%, rgba(0, 0, 0, 0.177076) 75.61%, rgba(0, 0, 0, 0.222924) 77.56%, rgba(0, 0, 0, 0.267246) 79.5%, rgba(0, 0, 0, 0.30729) 81.44%, rgba(0, 0, 0, 0.341035) 83.39%, rgba(0, 0, 0, 0.367336) 85.33%, rgba(0, 0, 0, 0.385796) 87.28%, rgba(0, 0, 0, 0.396541) 89.22%, rgba(0, 0, 0, 0.4) 91.17%);
    pointer-events: none;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.shot-thumbnail-overlay-content,
.shot-thumbnail-container .shot-thumbnail-overlay .shot-thumbnail-overlay-content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-width: 0;
}

.shot-thumbnail-container .shot-actions-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-pack: end;
    justify-content: flex-end;
}


.shot-thumbnail-container .shot-thumbnail-base:hover .shot-thumbnail-overlay,
.shot-thumbnail-container .shot-thumbnail-base.shot-thumbnail-base-on-hover .shot-thumbnail-overlay {
    opacity: 1;
}

.gender-patient {
    color: #9e9ea7;
    font-size: 14px;
}

.shot-display-template .shot-actions-container,
.shot-thumbnail-container .shot-actions-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-pack: center;
    justify-content: center;
    list-style: none;
}

.shot-thumbnail-container .shot-actions-container .bucket-shot {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
}

.btn2,
a.btn2,
a.bucket-shot.btn2.btn2--circle {
    width: 40px;
    height: 40px;
    -webkit-transition: 0.15s cubic-bezier(0.32, 0, 0.59, 0.03);
    transition: 0.15s cubic-bezier(0.32, 0, 0.59, 0.03);
    -webkit-transition-property: color, background-color, border, border-radius;
    transition-property: color, background-color, border, border-radius;
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    background-color: #ffffff;
    color: #0d0c22;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    gap: 8px;
    padding: 0 !important;
}

.shot-thumbnail-container .shot-actions-container .like-shot,
.shot-thumbnail-container .shot-actions-container .bucket-shot {
    pointer-events: auto;
}

li.shot-action:hover .bucket-shot {
    color: #6e6d7a;
}

/**** detail profil ***/
.profile-tab .form-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.profile-tab .form-group p {
    margin: 0;
    line-height: 1.5;
}

.profile-tab label {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    font-size: 1rem;
}

ul.nav.nav-tabs .nav-item .nav-link {
    color: #393939;
}

.photo-cover-page .slick-slide img {
    object-fit: cover;
    width: 100%;
    max-height: 300px;
}

.gallery-picture-container img.gallery-image {
    max-height: 170px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    object-fit:cover;
}

.gallery-picture-container img.gallery-image:hover {
    opacity: 0.8;
}

#medias-preview img.media-photo-previewed {
    object-fit: cover;
    max-height: 150px;
    padding: 12px 0 0;
}