/* sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 70px;
    background: #fff;
    padding: 6px 14px;
    z-index: 99;
    transition: all .5s ease;
}

.sidebar.open {
    width: 250px;
}

.mobile-sidebar-button {
    display: none;
}

.sidebar .logo-details {
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
}

.sidebar .logo-details .icon {
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 8px;
    transition: all .5s ease;
    opacity: .3;
}

.sidebar .logo-details .logo_name {
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    opacity: 0;
    transition: all .5s ease;
}

.sidebar.open .logo-details .icon,
.sidebar.open .logo-details .logo_name {
    opacity: 1;
}

.sidebar .logo-details .open-menu {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 22px;
    transition: all .4s ease;
    font-size: 23px;
    text-align: center;
    cursor: pointer;
    transition: all .5s ease;
    transition: all .5s ease;
    color: #222;
}

.sidebar.open .logo-details .open-menu {
    text-align: right;
    right: 0;
}

.sidebar .bx-chevron-right:before {
    background-color: #FFF;
    color: #000;
    font-size: 21px;
    border-radius: 50%;
    box-shadow: 0 2px 1px #00000020;
}

.sidebar i {
    color: #222;
    height: 60px;
    min-width: 42px;
    font-size: 28px;
    text-align: center;
    line-height: 60px;
    transition: color .2s ease-in-out;
}

.sidebar .nav-list {
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 0px;
    padding-bottom: 80px;
    height: 87vh;
    width: 222px;
    overflow: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.sidebar .nav-list::-webkit-scrollbar {
    display: none;
}

.sidebar li {
    position: relative;
    margin: 5px 0;
    list-style: none;
}

.sidebar li .tooltip-menu {
    position: absolute;
    top: -20px;
    left: calc(40px + 25px);
    z-index: 3;
    background: #fff;
    box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    transition: 0s;
}

.sidebar li:hover .tooltip-menu {
    opacity: 1;
    pointer-events: auto;
    transition: all .4s ease;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar .subtitle {
    display: block;
    width: 20px;
    height: 1px;
    color: #11101D;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0;
    padding-left: 12px;
    overflow: hidden;
    background: #32313c;
    margin: 5px 0 5px 11px;
    cursor: default;
}

.sidebar.open .subtitle {
    color: #99999950;
    width: 100%;
    height: 18px;
    margin: 16px 0 0;
    background: transparent;
}

.sidebar.open li .tooltip-menu {
    display: none;
}

.sidebar input {
    font-size: 14px;
    color: #FFF;
    font-weight: 400;
    outline: none;
    height: 50px;
    width: 42px;
    border: none;
    border-radius: 12px;
    transition: all .5s ease;
    background: #1d1b31;
}

.sidebar.open input {
    padding: 0 20px 0 42px;
    width: 100%;
}

.sidebar .bx-search {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 22px;
    height: 50px;
    line-height: 50px;
    background: #1d1b31;
    color: #FFF;
    border-radius: 12px;
    cursor: pointer
}

.sidebar.open .bx-search:hover {
    background: #1d1b31;
    color: #FFF;
}

.sidebar .bx-search:hover {
    background: #FFF;
    color: #11101d;
}

.sidebar li a {
    display: flex;
    height: 100%;
    width: 42px;
    border-radius: 12px;
    align-items: center;
    text-decoration: none;
    transition: all .4s ease;
}

.sidebar.open li a {
    width: 100%;
}

.sidebar li a:hover,
.sidebar li a.active {
    background: linear-gradient(to bottom, #83bcef, #4a90e2);
}

.sidebar li a .links_name {
    color: #222;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: .4s;
}

.sidebar.open li a .links_name {
    opacity: 1;
    pointer-events: auto;
}

.sidebar li a:hover .links_name,
.sidebar li a:hover i,
.sidebar li a.active .links_name,
.sidebar li a.active i {
    transition: all .5s ease;
    color: #FFF;
}

.sidebar li i {
    height: 38px;
    line-height: 34px;
    font-size: 17px;
}

.sidebar li.profile {
    position: fixed;
    height: 60px;
    width: 70px;
    left: 0;
    bottom: -8px;
    padding: 10px 14px;
    background: #fff;
    transition: all .5s ease;
    overflow: hidden;
    align-items: start;
}

.sidebar.open li.profile {
    width: 250px;
}

.sidebar li .profile-details {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.sidebar li img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 10px;
}

.sidebar li.profile .name,
.sidebar li.profile .job {
    font-size: 14px;
    font-weight: 400;
    color: #222;
    white-space: nowrap;
}

.sidebar li.profile .job {
    font-size: 12px;
    opacity: .6;
}

.sidebar .profile .logout {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #fff;
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-radius: 0px;
    cursor: pointer;
    transition: all .5s ease;
    border: none;
    outline: 0;
}

.sidebar.open .profile .logout {
    width: 50px;
    background: none;
}

.sidebar.open ~ .home-section {
    left: 250px;
    width: 100%;
}

.home-section {
    position: relative;
    /*background: #E4E9F7;*/
    /*background: #f5f5f5;*/
    background: #ebf5ff;
    min-height: 100vh;
    top: 0;
    transition: all .5s ease;
    z-index: 2;
    padding-bottom: 20px;
    padding-top: 60px;
}

.home-section .text {
    display: inline-block;
    color: #11101d;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 18px
}

/* mystyle */

.btn-detail {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    padding: 0;
    margin: 0;
    border-radius: .4rem;
}

.btn-jadwal-navigate {
    color: #fffbed;
    background-color: #eaaf0160;
    border-radius: 50%;
    padding: 0;
    width: 50px;
    height: 50px;
    line-height: 51px;
    font-size: 2rem !important;
    margin-left: 5px;
}

/* auth */
.line {
    position: relative;
    height: 1px;
    width: 100%;
    margin: 36px 0;
    background-color: #d4d4d4;
}

.line::before {
    content: 'Atau';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    color: #8b8b8b;
    padding: 0 15px;
}
.line.login::before {
    content: 'Atau belum punya akun';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    color: #8b8b8b;
    padding: 0 15px;
}
.line.register::before {
    content: 'Atau sudah punya akun';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    color: #8b8b8b;
    padding: 0 15px;
}
.line.orang-tua::before {
     content: 'Form Orang Tua';
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     background-color: #FFF;
     color: #8b8b8b;
     padding: 0 15px;
 }
.line.program::before {
     content: 'Program';
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     background-color: #FFF;
     color: #8b8b8b;
     padding: 0 15px;
 }
.line.siswa::before {
    content: 'Siswa';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    color: #8b8b8b;
    padding: 0 15px;
}
.line.riwayat-offering::before {
    content: 'Riwayat Offering';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    color: #8b8b8b;
    padding: 0 15px;
}

#forms-top {
    padding: 0 20px;
    height: 100px;
    display: flex;
    align-items: center;
    background-color: white;
    border-bottom: dotted 1px #CCC;
}

#forms-top img {
    width: 65px;
    height: 65px;
}

#forms-top .right-time {
    font-size: 1.1em;
    font-weight: bold;
    color: #00000040;
}

.forms {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 100px);
    width: 100%;
}

.form-content {
    padding-bottom: 40px;
}

.form-login {
    width: 480px;
    background-color: var(--light);
    padding: 30px 25px;
    box-shadow: 1px 4px 10px 4px #00000006;
    border-radius: 16px;
}

.btn-password {
    border: 0;
    background-color: transparent;
    height: 31px;
    width: 31px;
    line-height: 34px;
    padding: 0 0 0 1px;
    position: absolute;
    right: 8px;
    top: 13px;
    border-radius: 16px;
    text-align: center;
    transition: all .2s ease-in-out;
}

.btn-password > i {
    color: #888;
    font-size: 18px;
}

.btn-password:hover > i {
    color: var(--bs-gray);
}

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #CACACA;
    border-radius: 10px;
    background: var(--light);
    height: 50px;
    position: relative;
}

.btn-google .google-img {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    height: 28px;
    width: 28px;
    color: #0171d3;
    font-size: 20px;
    border-radius: 50%;
    object-fit: cover;
    padding: 6px;
    background-color: #E3E3E3;
}

.btn-google span {
    opacity: 0.8;
    color: #232836;
}

.nav-pills{
    background-color: rgba(0, 0, 0, 0.05);
    width: fit-content;
    padding: 5px;
    border-radius: 0.375rem;
}
.nav-pills .nav-link{
    color: #222;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    color: #222;
    background-color: #fff;
}
.nav-pills .nav-link:focus {
    outline: none !important;
    box-shadow: none !important;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    background-color: #e4e9f7AA;
    border-radius: 12px;
}
.image-box {
    position: relative;
    text-align: center;
    margin: 0 0 16px 16px;
    flex: 0 0 calc(50% - 24px);
    border-radius: 6px;
    box-shadow: 0 2px 4px #00000005;
    background-color: #FFF;
    border: solid 2px #FFF;
    height: fit-content;
    overflow: hidden;
}

/* calendar */
.fc .fc-toolbar-title {
    font-size: 1em;
}
.fc-h-event .fc-event-title,
.fc-event-time,
.fc-event-title{
    font-size: .8em!important;
}
.fc .fc-col-header-cell-cushion,
.fc .fc-daygrid-day-top a{
    font-size: .8em;
}

.live-circle {
    display: inline-block;
    background: #dc3545;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0px 0px 1px 1px #0000001a;
    margin-right: 5px;
}

.live-circle.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
}

img.jenis-meet{
    width: 25px;
    height: auto;
    position: absolute;
    margin-left: 3px;
}

/* Table */
table.journey {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    overflow-x: auto;
}
table.journey thead tr{
    background-color: yellow;
}
table.journey th, td {
    /*border: 1px solid #ddd;*/
    /*text-align: center;*/
    padding: 10px;
}
table.journey th {
    writing-mode: vertical-rl;
    transform: rotate(-45deg);
    white-space: nowrap;
    min-height: 100px;
    vertical-align: bottom;
    width: 130px;
}

table.journey thead tr th.headline,
table.journey thead tr th.headline-number{
    background-color: #fff;
}
table.journey th.headline{
    writing-mode: horizontal-tb;
    width: 250px;
    transform: rotate(0);
}
table.journey th.headline-number{
    writing-mode: horizontal-tb;
    width: 70px;
    transform: rotate(0);
}
/* Modal table */
table.modal-table{
    width: 100%;
    border: 1px solid #efefef;
}
table.modal-table tr{
    border-bottom: 1px solid #efefef;
    cursor: pointer;
}
table.modal-table tr td{
    padding: 0;
}
table.modal-table tr:hover{
    background-color: rgba(131, 188, 239, 0.16);
}
table.modal-table tr:last-child{
    border-bottom: none;
}
table.modal-table tr td:nth-child(1){
    width: 5%;
    height: 100%;
    padding: 10px;
}
table.modal-table tr td:nth-child(2){
    width: 85%;
    height: 100%;
}
table.modal-table .form-check-input[type=checkbox]{
    border-radius: .20em;
}
table.modal-table .form-check .form-check-input{
    float: none;
    margin-left: 0;
}
table.modal-table .form-check{
    display: flex;
    flex-direction: row;
    min-height: auto;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
table.modal-table .form-check input[type="checkbox"]:checked + label{
    background-color: rgba(131, 188, 239, 0.16)!important;
}
table.modal-table .form-check label{
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    padding: 10px;
}

/* Dashboard */
.profile{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.profile .profile-cover{
    width: 100%;
    position: relative;
}
.profile .profile-cover .cover-rate{
    position: absolute;
    top: 8px;
    right: 8px;
    color: #F4AE0C;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.profile .profile-cover .cover-rate i{
    font-size: 1.1em;
}
.profile .profile-cover .cover-rate span{
    font-size: .8em;
    font-weight: 600;
    color: #fff;
}
.profile .profile-cover img{
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    filter: brightness(90%);
}
.profile .profile-img{
    padding: 5px;
    background-color: #fff;
    border-radius: 50px;
    width: fit-content;
    margin-top: -40px;
    margin-bottom: 20px;
    z-index: 2;
}
.profile .profile-img img{
    width: 80px;
    height: 80px;
    border-radius: 50px;
    object-fit: cover;
}
.profile .profile-item-box{
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
    justify-content: center;
}
.profile .profile-item-box .profile-item{
    padding: 2px 6px;
    border-radius: 5px;
    font-size: .9em;
}
.profile .profile-item-box.light-primary .profile-item{
    background-color: #ddeaff;
    color: #5c96fc;
}
.profile .profile-item-box.light-success .profile-item{
    background-color: #d7f9ef;
    color: #0bb783;
}
.profile .rate h4 i{
    font-size: 20px;
}
.profile .title p{
    background-color: #fff;
}

.profile .title{
    position: relative;
    width: 100%;
}
.profile .title p{
    background-color: #fff;
    width: fit-content;
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translate(-50%, 0);
    padding-inline: 10px;
}
.profile .title:before{
    content: '';
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 1.5px;
    background-color: #efefef;
}
.news .live-circle{
    background-color: #0d6efd;
}
.news-item {
    width: 100%;
    display: flex;
    gap: 10px;
    padding: 5px;
    border-radius: 8px;
    transition: .3s ease-in-out;
}
.news-item:hover{
    background-color: #f4f7ff;
}
.news-item:hover > h6,
.news-item:hover > .title-status{
    color: #000!important;
}
.news-img {
    width: 90px;
    height: 65px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.news-text {
    width: calc(100% - 90px);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.news-text h6{
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-text .title-status {
    font-size: .8em;
    margin: 0;
    color: #a1a1a1;
}
.btn-floating{
    position: fixed;
    bottom: 5px;
    border-radius: 6px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.btn-floating.float-center{
    left: 50%;
    transform: translate(-50%, -50%);
}
.btn-floating.float-left{
    left: 5px;
}
.btn-floating.float-right{
    right: 5px;
}
/**/

/* schedule */
.schedule{
    border: 1px solid rgb(239, 239, 239);
    padding-block: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color .3s ease-in-out;
}
.schedule:hover{
    background: repeating-linear-gradient(
        45deg,
        rgba(249, 249, 249, 0.6),
        rgba(249, 249, 249, 0.6) 20px,
        rgba(255, 255, 255, 0.58) 20px,
        rgba(255, 255, 255, 0.61) 40px
    );
}

.schedule .action{
    display: flex;
    align-items: center;
    justify-content: end;
}
.schedule .action i{
    font-size: 24px;
}
.schedule .dropdown-item, .dropdown-item{
    display: flex;
    align-items: center;
}

.default .dropdown-item:focus, .default .dropdown-item:hover,
.default .dropdown-item:hover button {
    color: #FFF;
    background-color: #4a90e2;
}
.default .dropdown-item button{
    transition: 0s;
}
.schedule .dropdown-item, .dropdown-item i{
}
.schedule .dropdown-item:focus, .dropdown-item:hover,
.dropdown-item:hover button {
    color: #FFF;
    background-color: #4a90e2;
}

.dropdown-item .bx{
    top: 0;
}
.dropdown-item.bg-light-primary, .dropdown-item.bg-light-primary,
.dropdown-item.bg-light-success, .dropdown-item.bg-light-success,
.dropdown-item.bg-light-success, .dropdown-item.bg-light-info,
.dropdown-item.bg-light-danger, .dropdown-item.bg-light-danger{
    background: transparent;
}
.dropdown-item.bg-light-primary:focus, .dropdown-item.bg-light-primary:hover{
    color: #fff;
    background-color: #5c96fc;
}
.dropdown-item.bg-light-info:focus, .dropdown-item.bg-light-info:hover{
    color: #fff;
    background-color: #8950fc;
}
.dropdown-item.bg-light-success:focus, .dropdown-item.bg-light-success:hover{
    color: #fff !important;
    background-color: #0bb783 !important;
}
.dropdown-item.bg-light-danger:focus, .dropdown-item.bg-light-danger:hover{
    color: #fff;
    background-color: #f64e60;
}
.schedule .btn-action{
    border: none;
}


.schedule .box{
    padding-inline: 15px;
}
.schedule .date{
    border-right: 1px solid #efefef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.schedule table{
    width: 100%;
}
.schedule table tr td{
    padding: 0 0 3px 0;
}
.schedule table tr td:nth-child(1){
    width: 15%;
}
.schedule table tr td:nth-child(2){
    width: 15%;
}
.schedule table tr td:nth-child(3){
    width: 15%;
}
/**/
.table-custom thead tr{
    background-color: #efefef;
}

.table-custom thead tr td{
    padding-block: 4px;
    cursor: pointer;
    user-select: none;
    font-size: .75rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #00000070;
}
.table-custom tbody tr{
    border-bottom: 1px solid #efefef;
}
.table-custom tbody tr:last-child{
    border-bottom: none;
}
.table-custom thead tr td:first-child{
    border-radius: 6px 0 0 6px;
    text-align: center;
}
.table-custom thead tr td:last-child{
    border-radius: 0 6px 6px 0;
    text-align: center;
}
.schedule-resume{
    width: 400px;
}
.schedule-resume tr.bidang-studi{
    vertical-align: top;
}
.schedule-resume tr td{
    padding: 0 0 5px 0;
}
.schedule-resume tr td:nth-child(1){
    width: 50%;
}
.schedule-resume tr td:nth-child(2){
    width: 5%;
}
.schedule-resume tr td:nth-child(3){
    width: 45%;
}
.reviews .review-item{
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 0;
    margin: 0;
}
.reviews .review-item:hover{
    background-color: rgba(246, 246, 246, 0.8);
    cursor: pointer;
}
.reviews .stars{
    color: #d5d5d5;
    font-size: 16px;
}
.reviews .stars small{
    font-size: 0.7em;
    font-weight: 700;
}
.reviews .stars .active i{
    color: orange;
}
.reviews .comments{
    font-size: .9em;
}
.detail-angket img.profile{
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
}

.administration .box.icon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
}
.administration .box.icon i{
    font-size: 26px;
}
.bill{
    width: 100%;
}
.bill tr td{
    padding: 0;
    width: 50%;
    padding-bottom: 10px;
    font-size: .9em;
}
.bill tr:last-child td{
    border-top: 1px solid #efefef;
    padding-top: 10px;
    font-size: 1em;
}
.bill tr td:first-child{
    text-align: start;
    color: #6c757d;
    --bs-text-opacity: 1;
}
.bill tr td:last-child{
    text-align: end;
    font-weight: 600;
    color: #000;
}
.bill img.profile{
    width: 80px;
}

.timeline{
}
.timeline .timeline-item::before{
    content: '';
    display: inline-block;
    height: 100%;
    width: 1.3px;
    position: absolute;
    top: 0;
    left: 9px;
    background-color: rgba(196, 196, 196, 0.75);
    --bs-text-opacity: 1;
}
.timeline .timeline-item:last-child::before {
    content: '';
    display: inline-block;
    height: 0;
    width: 0;
}
.timeline .timeline-item{
    display: flex;
    gap: 10px;
    padding-bottom: 15px;
    position: relative;
}
.timeline .timeline-item p{
    font-size: .8em;
    color: #6c757d;
    --bs-text-opacity: 1;;
}
.timeline .timeline-item p:first-child{
    margin-bottom: 0!important;
}
.timeline .timeline-item.active p{
    color: #000;
}
.timeline .timeline-item .icon{
    z-index: 1;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    border-radius: 50px;
}
.timeline .timeline-item .icon i{
    margin-top: 1px;
}
.timeline .timeline-item .text{
    margin: 0;
}

.data-detail h5{
    font-size: 1em;
}
.switch-box{
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-right: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: #4a90e2;
}
input:focus + .slider {
    /*box-shadow: 0 0 1px #000;*/
}
input:checked + .slider:before {
    -webkit-transform: translateX(15px);
    -ms-transform: translateX(15px);
    transform: translateX(15px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
.rating{
    display: flex;
    align-items: center;
    flex-direction: column;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
}
.rating #rating-label i,
#create-rating-label i,
#edit-rating-label i{
    font-size: 50px;
    margin-bottom: 5px;
}
.rating small{
    font-size: .875em;
}
.rating .box {
    display: flex;
    flex-direction: row-reverse; /* this is the magic */
    justify-content: center;
}

.rating .box input {
    display: none;
}

.rating .box label {
    cursor: pointer;
    color: #6c757d;
    transition: all .3s ease-in-out;
}
.rating .box label i{
    font-size: 34px;
}

.rating .box label:hover,
.rating .box label:hover ~ label {
    color: orange;
}

.rating .box input:checked ~ label {
    color: orange;
}

.reschedule-confirm{
    color: #fff;
    background-color: #0bb783;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: .8rem;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    z-index: 1000;
}
.reschedule-confirm:hover{
    color: #fff;
    background-color: #0c936d;
}
.accordion-body{
    font-weight: 300;
}
.accordion-button{
    font-weight: 500;
}
.accordion-button::after{
    display: none;
}

.accordion-button::before{
    content: "+ ";
    transition: .2s ease-in-out;
    font-size: 1.3em;
    margin-right: 10px;
}
.accordion-button:not(.collapsed)::before{
    content: "-";
    transition: .2s ease-in-out;
}
.accordion-button:focus{
    box-shadow: none;
}


footer{
    background-color: #E4E9F7;
    z-index: 2;
}

footer p{
    font-size: .8em;
    padding-block: 10px;
}
/* custom bs */

@media screen and (max-width: 768px) {
    .sidebar.open ~ .home-section {
        transition: .3s ease-in-out;
    }

    .sidebar.open ~ .home-section:after{
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        content: '';
        display: inline-block;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur( 2px );
        -webkit-backdrop-filter: blur( 4px );
        z-index: 100!important;
        transition: .3s ease-in-out;
    }
}
