:root {
    --main-color: #DB0000;
    --second-color: #F4F4F4;
    --heading-color: #535353;
    --text-color: #5D4B7B;
}

@font-face {
    font-family: IRANSansX;
    font-style: normal !important;
    font-weight: 500 !important;
    src: url('../fonts/woff/IRANSansX-Medium.woff') format('woff'),
    url('../fonts/woff2/IRANSansX-Medium.woff2') format('woff2');
}

body {
    font-family: 'IRANSansX' !important;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    color: var(--text-color) !important;
    background: var(--second-color);
    height: 100vh;
}

html,
body {
    /*height: 100%;*/
}

h1 {
    color: var(--heading-color);
    font-weight: 700;
    font-size: 30px;
}

h2 {
    color: var(--heading-color);
    font-weight: 600;
    font-size: 25px;
}

h3 {
    color: var(--text-color);
    font-weight: 400;
    font-size: 20px;
}

.weekday {
    font-style: normal;
    font-weight: 900;
    font-size: 20px;
    color: #676767;
    padding: 10px 20px;
}
.modal{
    margin: 0px !important;
    padding: 0px !important;
    --bs-modal-margin: 0px !important;
}
#logo{
    width: 65px;
}
/*.day{
    color: #535353;
    opacity: 0.4;
}*/

label {
    font-weight: 400;
}

.error-msg {
    font-size: 13px;
    color: #DB0000;
}

input {
    border: 1px solid var(--text-color) !important;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
}

.form-control:focus {
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid var(--text-color) !important;
}


.light-badge {
    background: #F4F4F4;
    border-radius: 12px;
    padding: 10px 15px 5px 15px;
    color: var(--main-color);
    text-align: left;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    width: auto !important;
    margin: 1px 5px !important;
    text-align: center;
}

.light-badge img {
    margin-top: -6px;
}

.primary-button {
    background: var(--main-color) !important;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 17px !important;
    text-align: center !important;
}

.secondary-button {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    color: var(--text-color) !important;
    border-color: var(--text-color) !important;;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 17px !important;
    text-align: center !important;
}

.container-fluid {
    height: 100%;
}

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

.bg-second-color {
    background: var(--second-color);
}

.main-wrapper {
    background: var(--second-color);
}

.info-box {
    background: #FFFFFF;
    border: 3px solid #ECEBEE;
    border-radius: 30px;
}

.calendar-box {
    background: #ECEBEE;
    border: 3px solid #FFFFFF;
    border-radius: 30px;
}

.calendar-box-in {
    background: #FFFFFF;
    border: 1px solid var(--text-color) !important;;
    border-radius: 12px;
    padding: 15px;
    max-height: 285px;
}
.slots{
    overflow-x: hidden;
}
.button{
    padding-top: 7px !important;
}
.right-side {
    -webkit-border-top-left-radius: 50px;
    -moz-border-radius-topleft: 50px;
    border-top-left-radius: 50px;
    overflow: hidden;
    box-shadow: -3px 4px 8px rgba(0, 0, 0, 0.02);
    background: #FFFFFF;
    height: 100vh !important;
}

.day-active {
    background: #5D4B7B;
    color: #FFFFFF;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    padding: 4px;
}

.day-available {
    border: 1px solid #5D4B7B;
    color: var(--text-color);
    height: 30px;
    width: 30px;
    border-radius: 50%;
    padding: 4px;
}

.btn-slot, .btn-slot:hover {
    border-radius: 12px;
    border: 1px solid #5D4B7B;
    color: var(--text-color);
    font-weight: 500;
    font-size: 17px;
    border: 1px solid #5D4B7B;
    padding-top: 11px;
}

.left-side {
    background: var(--second-color);
    -webkit-border-bottom-right-radius: 54px !important;
    -webkit-border-bottom-left-radius: 54px !important;
    -moz-border-radius-bottomright: 54px !important;
    -moz-border-radius-bottomleft: 54px !important;
    border-bottom-right-radius: 54px !important;
    border-bottom-left-radius: 54px !important;
    padding-bottom: 35px;
}

.slot-selected, .slot-selected:hover{
   /* background: #33C05A;
    border-radius: 12px;
    border: none !important;*/

    background: #5D4B7B;
    color: #FFFFFF;
   /* height: 30px;
    width: 30px;
    border-radius: 50%;
    padding: 4px;*/
}

.sticky-nav {
    background: #ffffff !important;
    text-align: center;
    width: calc(100% - 57.50%) !important;
    padding: 15px;
    -webkit-border-bottom-left-radius: 50px;
    -moz-border-radius-bottomleft: 50px;
    border-bottom-left-radius: 50px;
    z-index: 0;
}

.sticky-nav img {
    margin: 0px 8px;
}

.fixed-bottom {
    left: auto !important;
}

table caption{
    background: var(--second-color);
    border: 1px solid var(--text-color);
    border-radius: 12px;
    margin: 0px 15px;
    padding: 0px;
    overflow: hidden;
}
 .btn-arrow:focus, .btn-arrow:active{
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}
 /*.btn{
     line-height: 0px !important;
     padding: 18px 10px 13px 10px !important;
 }*/
.month-name{
    line-height: 38px;
}
.arrow{
    min-width: 30px;
}
.btn-close{
    padding-right: 25px !important;
}
@media only screen and (max-width: 768px) {
    body{
        background: #fff;
    }
    .main-wrapper {
        background: #FFFFFF !important;
    }

    .choose-appointment{
        font-size: 25px;
    }
    /*.bg-second-color {
        background: red !important;
    }*/
    #girl {
        width: 50%;
        height: 50%;
    }

    .right-side {
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
        box-shadow: none;
        background: #FFFFFF;
        overflow: hidden;
        height: auto !important;
        padding: 30px 10px 100px 10px !important;
    }

    .sticky-nav {
        background: #fff !important;
        padding: 15px !important;
        text-align: center !important;
        width: 107% !important;
        margin-top: 20px;
        border-radius: 0 !important;
    }

    .light-badge {
        width: 200px !important;
    }

    .weekday{
        padding: 10px 19px;
    }

    .calendars {
        margin-bottom: 20px;
    }
}

@media only screen and (min-width: 360px) and (max-width: 760px){
    .weekday{
        padding: 10px 14px;
    }

}

@media only screen and (min-width: 361px) and (max-width: 760px){
    .weekday{
        padding: 10px 16px;
    }
}

/*@media only screen and (min-width: 384px) and (max-width: 760px){
    .weekday{
        padding: 10px 15px;
    }
}*/

@media only screen and (min-width: 769px) and (max-width: 992px) {
    .sticky-nav {
        width: calc(100% - 56.9%) !important;
    }
    .weekday{
        padding: 10px 16px;
    }
}
@media only screen and (min-width: 993px) and (max-width: 1200px){
    .weekday{
        padding: 10px 16px;
    }
}

@media only screen and (min-width: 1201px) and (max-width: 1400px){
    .weekday{
        padding: 10px 16px;
    }
}

@media only screen and (min-width: 1401px){
    .weekday{
        padding: 10px 20px;
    }
}

/*@media only screen and (max-width: 1366px) and (min-width: 768px)  {
    #sidebarMenu{
        padding: 0px 22px !important;
    }
}*/


/*@media (max-width: 576px) {
    .bg-second-color {
        background: red !important;
    }
    #girl{
        width: 50%;
        height: 50%;
    }
}*/
/****************** Absolute Center Spinner ******************/
.loading {
    position: fixed;
    z-index: 9000000;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(20, 20, 20, .5), rgba(0, 0, 0, .5));
    background: -webkit-radial-gradient(rgba(20, 20, 20, .5), rgba(0, 0, 0, .5));
}
.h2-22{
    font-size: 22px;
}
/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}