/*---------------------------*/
/*---- css-01-global.css ----*/
/*---------------------------*/

:root {
    --text-color: #353535;
    --secondary-text-color: #8f8f8f;
    --primary-color: #1d5485;
    --secondary-color: #f0b783;
    --third-color:#69b799;
    --fourth-color:#86c5d2;
    --fifth-color:#efaeb9;
    --sixth-color:#aed4c2;
    --white-color: #ffffff;
    --black-color: #000000;
}

/*---------------------------*/
/*---------------------------*/

/* === Yanone Kaffeesatz font weights === */
@font-face {
    font-family: 'Yanone Kaffeesatz';
    src: url('../fonts/YanoneKaffeesatzExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Yanone Kaffeesatz';
    src: url('../fonts/YanoneKaffeesatzLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Yanone Kaffeesatz';
    src: url('../fonts/YanoneKaffeesatzRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Yanone Kaffeesatz';
    src: url('../fonts/YanoneKaffeesatzMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Yanone Kaffeesatz';
    src: url('../fonts/YanoneKaffeesatzSemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Yanone Kaffeesatz';
    src: url('../fonts/YanoneKaffeesatzBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


/* ====== GLOBAL FONT SETTINGS ====== */
body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #222;
}

h1, h2, h3, h4{
    font-family: "Yanone Kaffeesatz", sans-serif;
    letter-spacing: 0.05em;
}

h5, h6, p {
    font-family: "Poppins", sans-serif;
    letter-spacing: inherit;
}

/* ====== FONT DIMENSION ====== */
h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; }
h3 { font-size: 1.75rem; font-weight: 500; }
h4 { font-size: 1.5rem; font-weight: 400; }
h5 { font-size: 1.25rem; font-weight: 300; }
h6 { font-size: 1rem; font-weight: 200; }

p {
    font-size: 1rem;
    margin-bottom: 1em;
}

tr {
    border: solid 1px #e0e7ed;
}

body a {
    text-decoration: none !important;
}

h4.title-card-box-leades {
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid var(--primary-color);
    margin-left: 8px;
}

.content-wrapper {
    background-color: #e7f6f8;
    background-image: url(https://www.brainandcare.com/wp-content/uploads/2024/05/sfondoprova1-350x467.png);
    background-size: auto;
    background-repeat: repeat;
    overflow: hidden;
    padding: 15px;
}

.bubble-title{
    background-color: transparent;
    color: var(--primary-color) ;
    border-radius: 30px 30px 0 30px;
    padding: 10px 45px 5px 45px;
    margin-bottom: -1px;
    border: 2px solid var(--primary-color);
    border-bottom: none;
}

/* === Card box === */

.card.extend{
    box-shadow: 0px 7px 15px rgb(216 216 216), 0 1px 3px rgba(0, 0, 0, .2);
    background-color: #ffffff;
}

.title-card-box, .modal-title {
    text-transform: uppercase;
    font-weight: 600;
}

.page-subtitle {
    text-transform: uppercase;
    font-weight: 600;
}
.border-text {
    border-bottom: 2px solid var(--primary-color);
    margin: 20px 0px 0px 20px;
    border-radius: 0px 0px 0px 27px;
}

.form-control {
    border: 1px solid #5b697f !important;
    height: 40px;
}
.select2-container {
    border: 1px solid #5b697f;
    border-radius: 5px;
}

.select2-selection__clear
 {
    padding-left: .12em !important;
    padding-top: 2px;
 }

.box-button{
    position: absolute;
    top: 10px;
}

.card.extend > .card-body{
    padding: 20px 20px;
    margin-bottom: 30px;
}


/* === Buttons === */

button:focus {
    outline: 1px dotted;
    outline: 5px auto -webkit-focus-ring-color;
}

.btn.btn-add, .btn.btn-save, .btn.btn-add:hover, .btn.btn-save:hover {
    color: var(--white-color);
    font-weight: 500;
    letter-spacing: 0.1em;
    background-color: var(--fourth-color);
    padding: 7px 20px;
    border-radius: 50px;
    border: 2px solid var(--fourth-color);
    min-width: 110px;
    display: inline-block;
}

.btn.btn-add.disabled, .btn.btn-add.disabled:hover{
    color: #413e3e;
    background-color: #e1e1e1;
    border: 2px solid #e1e1e1;
}


.btn.btn-cancel, .btn-cancel:hover{
    color: var(--fourth-color);
    font-weight: 500;
    letter-spacing: 0.1em;
    background-color: var(--white-color);
    padding: 7px 20px;
    border-radius: 50px;
    border: 2px solid var(--fourth-color);
    min-width: 110px;
    display: inline-block;
}

.buttons-excel, .buttons-excel:hover, .buttons-csv, .buttons-csv:hover{
    font-weight: 500;
    padding: 5px 20px !important;
    border-radius: 30px;
    min-width: 80px;
    display: inline-block;
    background: transparent !important;
    color:var(--primary-color) !important;
    border:var(--primary-color) 2px solid !important;
}


ul.nav-pills:not(.nav-sidebar) a {
    letter-spacing: 0.1em;
    font-weight: 500;
    background-color: var(--white-color);
    padding: 7px 20px;
    width: 100%;
    border-radius: 0px;
    color: #6A8AB7 !important;
    border: 2px solid #6A8AB7;
    min-width: 110px;
    display: inline-block;
}

ul.nav-pills:not(.nav-sidebar) a.active {
    font-weight: 400;
    background-color: #6A8AB7 !important;
    padding: 7px 20px;
    width: 100%;
    border-radius: 0px;
    color: var(--white-color) !important;
    border: 2px solid #6A8AB7;
    min-width: 110px;
    display: inline-block;
}

.nav-pills:not(.nav-sidebar) button{
    letter-spacing: 0.1em;
    font-weight: 500;
    background-color: var(--white-color);
    padding: 7px 20px;
    width: 100%;
    border-radius: 0px;
    color: #222222 !important;
    border: 2px solid #e1e1e1;
    min-width: 110px;
    display: inline-block;
}

ul.nav-pills:not(.nav-sidebar) button.active {
    font-weight: 400;
    background-color: #e1e1e1 !important;
    padding: 7px 20px;
    width: 100%;
    border-radius: 0px;
    color: #222222 !important;
    border: 2px solid #e1e1e1;
    min-width: 110px;
    display: inline-block;
}

ul.nav-pills:not(.nav-sidebar) .nav-item:first-child .nav-link {
    border-radius: 30px 0 0 30px;
}

ul.nav-pills:not(.nav-sidebar) .nav-item:last-child .nav-link {
    border-radius: 0 30px 30px 0;
}

ul.nav-pills:not(.nav-sidebar) .nav-item:first-child .nav-link.active {
    border-radius: 30px 0 0 30px !important;
}

ul.nav-pills:not(.nav-sidebar) .nav-item:last-child .nav-link.active {
    border-radius: 0 30px 30px 0 !important;
}


.nav-item:first-child .nav-link.active {
    border-radius: 30px 0 0 30px;
}

.nav-item:last-child .nav-link.active {
    border-radius: 0 30px 30px 0;
}

/* Input color active */

input:not([type="submit"]),
select,
textarea {
    background-color: #ffffff !important;
    transition: background-color 0.8s ease, box-shadow 0.8s ease !important;
    outline: none;
}

/* Status focus */
input:not([type="submit"]):focus,
select:focus,
textarea:focus {
    background-color: #e7f2fc !important;
    box-shadow: 0 0 8px #2a7cc5 !important;
}


/* select style */
select option:checked {
    background-color: var(--fourth-color) ;
    color: #ffffff;
}

.gantt-container .current-date-highlight {
    background: #6a8ab7 !important;
}

select option {
    background: #fff;
    color: #495057;
}

select option:checked {
    background: #1D5485 !important;
    color: white !important;
}

select option:hover {
    background: #1D5485 !important;
    color: white !important;
}


.select2-results__option--highlighted{
    background-color: #6A8AB7  !important;
}
.select2-results__option[aria-selected="true"] {
    background-color: var(--primary-color) !important;
    color: white !important;
}



/* calendar input style */

.flatpickr-calendar {
    background: #e7f2fc !important;
    border: 2px solid #6a8ab7 !important;
}

.flatpickr-months .flatpickr-month {
    background: #e7f2fc !important;
    color: white;
    height: 50px !important;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
    fill: #6a8ab7 !important;
}

.flatpickr-current-month{
    background-color: #6a8ab7;
    padding: 2px !important;
    border-radius: 20px;
    margin-top: 6px !important;
}

.flatpickr-monthDropdown-months, .numInputWrapper input, .flatpickr-monthDropdown-months:focus{
    background-color: transparent !important;
    color: white !important;
    box-shadow: 0px 0px 0px !important;
}

.flatpickr-day:hover {
    background: #6a8ab7 !important;
    color: white;
    cursor: pointer;
    border: 1px solid #6a8ab7 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #1D5485 !important;
    color: white !important;
    border: 1px solid #1D5485 !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:after, .flatpickr-current-month .numInputWrapper span.arrowDown:after
{
    border-top-color: rgb(255 255 255 / 90%) !important;
    border-bottom-color: rgb(255 255 255 / 90%) !important;
}
.numInputWrapper:hover span {
    border: none;
}



.swal2-title{
color: #545454;
}
.swal2-popup {
    background-color: #fff;
}


/*----------------------*/
/*---- ALERT CUSTOM ----*/
/*----------------------*/

.img-alert-success {
    background: white;
    color: #1D5485;
    border-radius: 50%;
    position: absolute;
    top: 34px;
    width: 50px;
    height: 50px;
    left: auto;
    justify-self: anchor-center;
    font-size: 32px;
}
.alert-success {
font-size: 24px;
    border-radius: 15px;
    width: 25%;
    padding: 0px !important;
    margin-left: 250px !important;
    background-color: #ffffff;
    border-radius: 15px;
    margin-top: 80px;
    justify-self: center;
    height: max-content;
    position: fixed !important;
    inset: 0;
    z-index: 2000;
}

.card-footer.card-footer-alert-success {
    place-self: center;
    background-color: rgba(255, 255, 255, 0.03);
    border-top: 0 solid rgba(255, 255, 255, 0.125);
}

.card-body-alert-success {
    justify-self: center;
    color: black;
    margin-top: 30px;
}

.btn-alert-success {
    border-radius: 15px;
    border: solid #1D5485 1px !important;
    background-color: #fff !important;
    color: #1D5485 !important;
    font-size: 16px;
    padding: 10px 15px !important;
    opacity: 1 !important;
    margin-top: 25px;
}

.card-header-alert-success {
    background-color: #1D5485;
}

.card-header.card-header-alert-success {
    border-radius: 15px 15px 0px 0px;
    height: 60px;
}




.img-alert-danger {
    background: white;
    color: #dc3546;
    border-radius: 50%;
    position: absolute;
    top: 34px;
    width: 50px;
    height: 50px;
    left: auto;
    justify-self: anchor-center;
    font-size: 32px;
}
.alert-danger {
font-size: 24px;
    border-radius: 15px;
    width: 25%;
    padding: 0px !important;
    margin-left: 250px !important;
    background-color: #ffffff;
    border-radius: 15px;
    margin-top: 80px;
    justify-self: center;
    height: max-content;
    position: fixed !important;
    inset: 0;
    z-index: 2000;
}

.card-footer.card-footer-alert-danger {
    place-self: center;
    background-color: rgba(255, 255, 255, 0.03);
    border-top: 0 solid rgba(255, 255, 255, 0.125);
}

.card-body-alert-danger {
    justify-self: center;
    color: black;
    margin-top: 30px;
}

.btn-alert-danger {
    border-radius: 15px;
    border: solid #dc3546 1px !important;
    background-color: #fff !important;
    color: #dc3546 !important;
    font-size: 16px;
    padding: 10px 15px !important;
    opacity: 1 !important;
    margin-top: 25px;
}

.card-header-alert-danger {
    background-color: #dc3546;
}

.card-header.card-header-alert-danger {
    border-radius: 15px 15px 0px 0px;
    height: 60px;
}


/*----------------------*/
/*------ TABLES -------*/
/*----------------------*/

table thead, table.dataTable thead tr > .dtfc-fixed-left{
    background-color: #6A8AB7 !important;
    color: var(--white-color);
}

.page-link:focus
{
    box-shadow: 0 0 0 .2rem var(--fourth-color) !important;
}

table.dataTable thead th{
    font-size: 16px;
    font-weight: 600 !important;
    padding: 5px 12px;
    text-transform: uppercase;
    border-bottom: none !important;
}
table td {
    border-bottom: none !important;
    border-top: none !important;
}

.even {
    background-color: #e0e7ed !important;
}

.odd {
    background-color: #ffffff !important;
}

.sorting_1, .dtfc-fixed-left {
    background-color: transparent !important;
}

.dataTable tr, .dataTable thead {
    border: none !important;
}

.dataTable th {
    border-top: 1px solid #1D5485 !important;
    border-left: none !important;
    border-right: none !important;
}

.dataTables_scrollBody {
    border-top: none  !important;
    border-bottom: 1px solid #1D5485 !important;
    margin-bottom: 10px;
}

.dataTables_scrollFoot table,
.dataTables_scrollFoot table tfoot {
    border: none !important;
    background: transparent !important;
}


/* === Pagination === */

.dataTables_wrapper .dataTables_paginate .paginate_button{
    padding: 5px !important;
}

.paginate_button.page-item,
.paginate_button.page-item:hover,
.paginate_button.page-item:focus,
.paginate_button.page-item:active {
    color: var(--text-color) !important;
    border: 1px solid transparent !important;
    background-color: transparent;
    background: -webkit-linear-gradient(top, transparent 0%, transparent 100%) !important;
    background: -moz-linear-gradient(top, transparent 0%, transparent 100%) !important;
    background: -ms-linear-gradient(top, transparent 0%, transparent 100%) !important;
    background: -o-linear-gradient(top, transparent 0%, transparent 100%) !important;
    background: linear-gradient(to bottom, transparent 0%, transparent 100%) !important;
    box-shadow: none !important;
}

a.page-link {
    width: 40px;
    height: 40px;
    font-weight: 500;
    border: 1px solid var(--primary-color) !important;
    border-radius: 3px !important;
    color: var(--primary-color) !important;
}

a.page-link:hover {
    background-color: var(--sixth-color) !important;
    color: var(--white-color) !important;
}

.paginate_button.page-item.active > a{
    color: var(--white-color) !important;
    background-color: #6a8ab7 !important;
    border: 1px solid var(--primary-color) !important;
    width: 40px;
    height: 40px;
    border-radius: 3px;
}

.icon-table{
    color: var(--primary-color);
    font-size: 18px;
    margin: 0px 5px;
    cursor: pointer;
}

.icon-table:hover{
    color: #6a8ab7;
}

tbody > tr > td.actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="file"] {
    height: 40px;
    align-content: center;
    border: none !important;
    padding: 0px;
}

input[type="file"]::file-selector-button {
    height: 32px;
    line-height: 32px;
    background-color: #e1e1e1;
    color: #222;
    border: none;
    padding: 0 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}

/* === Nav === */
aside.main-sidebar.sidebar-dark-primary {
    background-image: linear-gradient(to right, #d3d3d3de, #ebebebd4), url(https://www.brainandcare.com/wp-content/uploads/2021/04/brain-e-care.jpg);
    background-size: cover;
    background-position: top, center;
    background-repeat: no-repeat;
}

nav.main-header.navbar.navbar-expand.navbar-white.navbar-light {
    background: #1D5485;
}

a.nav-link {
    color: #5b697f !important;
    text-transform: capitalize;
}

li.nav-header {
    color: #1D5485 !important;
    font-weight: 600;
    font-size: 20px !important;
    text-transform: capitalize;
}

img.brand-image.img-circle.elevation-3 {
    opacity: 1;
    border-radius: 0px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0), 0 6px 6px rgba(0, 0, 0, 0) !important;
}

.main-header .nav-link {
    height: 2.5rem;
    position: relative;
    color: #ffffff !important;
}

.nav-link.active {
    background-color: #86c5d200 !important;
    box-shadow: 0 0px 0px transparent !important;
    text-decoration: 1px solid !important;
    border-radius: 0px !important;
    /*text-decoration: underline 2px !important;*/
    font-weight: 600;
}

.nav.nav-treeview a.nav-link.active {
border-bottom:   1px solid transparent !important;
color: #6a8ab7   !important;
}

a.nav-link {
    padding: 10px 0px 4px 0px;
}

.sidebar > nav > ul > li > a.nav-link.active {
    border-bottom:   1px solid var(--primary-color) !important;
}
.nav-sidebar .nav-link>p>.right
{
    right: 0rem;
}

.nav-item.menu-open >.nav-link{
    background-color: transparent !important;
}
.brand-link .brand-image {
    float: left;
    line-height: .8;
    margin-left: .4rem !important;
    margin-right: .5rem;
    margin-top: -3px;
    max-height: 33px;
    width: auto;
}

a.fc-col-header-cell-cushion {
    color: #ffffff;
}

/* === calendar === */

.completed {
    opacity: 0.5;
}

.fc-theme-standard th {
    background: #6A8AB7;
}

.fc .fc-button-primary {
    background-color: #6A8AB7;
    border-color: #6A8AB7;
    color: var(--white-color);
}

button.fc-next-button.fc-button.fc-button-primary, button.fc-prev-button.fc-button.fc-button-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:not(:disabled):active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.fc .fc-button-primary:not(:disabled).fc-button-active:focus, .fc .fc-button-primary:not(:disabled):active:focus {
    box-shadow: rgba(255, 255, 255, 0) 0px 0px 0px 0.2rem;
}

.fc .fc-button-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: rgb(123 161 250 / 15%);
}

.fc .fc-timegrid-col.fc-day-today {
    background-color: rgb(123 161 250 / 15%);
}

.fc .fc-timegrid-col.fc-day-today {
    background-color: rgb(123 161 250 / 15%);
}

    .fc-listDay-view.fc-view.fc-list.fc-list-sticky {
        max-height: 325px !important;
        overflow: auto !important;
        position: sticky !important;
    }

.fc .fc-list-sticky .fc-list-day > * {
    background: #F1F1F1;
    position: sticky;
    top: 0px;
}

button.fc-today-button.fc-button.fc-button-primary {
    border-bottom-left-radius: 0.25rem !important;
    border-top-left-radius: 0.25rem !important;
    margin-left: 15px !important;
}

.header-home button.fc-prev-button.fc-button.fc-button-primary {
    border-bottom-right-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
}

.fc-daygrid-event {
    border-radius: 3px;
    font-size: var(--fc-small-font-size);
    position: relative;
    white-space: pre-wrap;
}

nav.main-header.navbar.navbar-expand.navbar-white.navbar-light {
    position: fixed;
    width: -webkit-fill-available;
    width: -moz-available;
}

.content {
    margin-top: 57px;
}

body:not(.layout-fixed) .main-sidebar {
    height: inherit;
    min-height: 100%;
    position: fixed;
    top: 0;
}

.wrapper .content-wrapper {
    min-height: 100vh !important;
}

button.swal2-confirm.swal2-styled {
    background: var(--fourth-color);
        --swal2-action-button-focus-box-shadow: 0 0 0 3px var(--fourth-color);
}

.btn-delete-tsm, .btn-delete-tsm:hover, .btn-delete-tsm:focus, .btn-delete-tsm:active{
    background-color: #6e7881 !important;
    border-color: #6e7881 !important;
    border-radius: 50px !important;
    box-shadow: none;
    min-width: 110px;
    font-weight: 500;
    padding: 7px 20px;
    border-radius: 50px;
    color: var(--white-color);
    margin-right: 30px;
}

/* ================================
            MEDIA QUERIES
   ================================ */

/* --- Small devices (≥576px) --- */
@media (min-width: 576px) {

}

/* --- Medium devices (≥768px) --- */
@media (min-width: 768px) {

}

/* --- Large devices (≥992px) --- */
@media (min-width: 992px) {

}

/* --- Extra large devices (≥1200px) --- */
@media (min-width: 1200px) {

}

/* --- XXL devices (≥1400px) --- */
@media (max-width: 1400px) {
    ul.nav-pills:not(.nav-sidebar) a{
        font-size: 14px;
        min-height: 62px;
        align-content: center;
    }

    nav.main-header.navbar.navbar-expand.navbar-white.navbar-light {
        position: fixed;
        width: -webkit-fill-available;
        width: -moz-available;
    }

}

/* --- Extra large devices (≥1200px) --- */
@media (max-width: 1200px) {
    a#documents-tab {
        border-radius: 30px 0px 0px 30px;
    }

    a#pharmacological_area-tab {
        border-radius: 0 30px 30px 0;
    }

    a#tms-tab, a#notes-tab, a#documents-tab  {
        margin-top: 16px;
    }

    .alert-danger {
        font-size: 24px;
        border-radius: 15px;
        width: 35%;
        padding: 0px !important;
        margin-left: 250px !important;
        background-color: #ffffff;
        border-radius: 15px;
        margin-top: 80px;
        justify-self: center;
        height: max-content;
        position: fixed !important;
        inset: 0;
        z-index: 2000;
    }

    .alert-success {
        font-size: 24px;
        border-radius: 15px;
        width: 25%;
        padding: 0px !important;
        margin-left: 250px !important;
        background-color: #ffffff;
        border-radius: 15px;
        margin-top: 80px;
        justify-self: center;
        height: max-content;
        position: fixed !important;
        inset: 0;
        z-index: 2000;
    }

    .bubble-title {
        background-color: transparent;
        color: var(--primary-color);
        border-radius: 30px 30px 0 30px;
        padding: 10px 15px 5px 15px;
        margin-bottom: -1px;
        border: 2px solid var(--primary-color);
        border-bottom: none;
    }

    .sidebar > nav > ul > li > a.nav-link.active {
        border-bottom: 1px solid #ffffff00 !important;
    }

    .fc table {
        border-collapse: collapse;
        border-spacing: 0px;
        font-size: 14px;
    }

    .fc .fc-toolbar-title {
        font-size: 1.25em;
        margin: 0px;
    }

    .auth-form.card.m-5 {
        background: rgba(255, 255, 255, 0.15);
        width: 100%;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        height: min-content;
        padding: 2rem;
        color: var(--white-color);
        align-self: center;
        border: solid 2px var(--white-color);
        border-radius: 40px;
    }

    nav.main-header.navbar.navbar-expand.navbar-white.navbar-light {
        position: fixed;
        width: -webkit-fill-available;
        width: -moz-available;
    }



}

