/***********************login********************/

* {
    outline: none;
}

html {
    scroll-behavior: smooth;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea {
    -webkit-appearance: none;
}

.login-box {
    box-shadow: 0 10px 30px rgba(50, 50, 93, .12), 0 -1px 4px rgba(0, 0, 0, .06);
    background-color: #fff;
    /*color: #8f8f8f;
    */
    text-align: center;
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    border-radius: 5px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.login-box h3 {
    margin-bottom: 30px;
    border: 1px solid black;
    padding: 20px;
    border-right: 0;
    border-left: 0;
    display: inline-block;
    margin: 40px auto;
}

.login-box .checkbox label {
    padding-left: 0;
}

.login-box p {
    margin-bottom: 40px;
}

.login-box input:not([type="checkbox"])::placeholder {
    text-align: right;
    padding-right: 15px;
}

.login-box img {
    width: 200px;
    display: block;
    margin: 40px auto 60px auto;
}

.login-box small {}

.login-box input:not([type="checkbox"]),
.login-box button {
    border-radius: 0;
    display: block;
    margin: 15px auto;
    box-shadow: 0 10px 30px rgba(50, 50, 93, .12), 0 -1px 4px rgba(0, 0, 0, .06);
    height: 40px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.login-box input {
    border: 1px solid rgba(123, 123, 123, 0.3);
    display: inline-block;
}

.login-box input:focus {
    border: 1px solid black;
}

.login-box .form-group {
    position: relative;
    margin: 0;
    width: 88%;
    margin: 0 auto;
}

.login-box input+i {
    position: absolute;
    left: 20px;
    bottom: 28px;
    display: inline-block;
    opacity: 0.6;
}

.login-box button {
    margin-bottom: 50px;
}

.login-box a {
    color: #000;
}

/* .logout-icon {
    float: left;
} */

.logout-icon .btn {
    background-color: transparent;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.logout-icon img {
    opacity: 0.5;
    width: 25px;
    margin-right: 10px;
    margin-left: 5px;
}

.logout-icon .btn:hover {
    background-color: rgb(235, 235, 235);
}

.logout-icon .btn:hover img {
    opacity: 1;
}

.back-img {
    width: 100%;
    margin: 100px auto;
    position: absolute;
    z-index: -1;
}

.lock-animation {
    position: relative;
    animation-name: lock;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

legend {
    border-bottom: 0;
}

@keyframes lock {
    0% {
        top: 0
    }

    50% {
        top: -10px;
    }

    100% {
        top: 0;
    }
}

@-webkit-keyframes lock {
    0% {
        top: 0
    }

    50% {
        top: -10px;
    }

    100% {
        top: 0;
    }
}

@-moz-keyframes lock {
    0% {
        top: 0
    }

    50% {
        top: -10px;
    }

    100% {
        top: 0;
    }
}

@-o-keyframes lock {
    0% {
        top: 0
    }

    50% {
        top: -10px;
    }

    100% {
        top: 0;
    }
}

/************************************admin**********************************************/

/* header */

.admin-logo {
    width: 40px;
    margin-left: 10px;
    float: right;
}

header {
    background-color: #fff;
    box-shadow: 0 4px 15px 0 rgba(116, 79, 168, 0.75);
    padding: 10px;
    color: #555;
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    height: 60px;
}

header *,
aside * {
    transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
}

header h1 {
    font-size: 1.3em;
    margin-top: 10px;
    padding: 0;
    float: right;
}

header .icons {
    margin-top: 5px;
    display: block;
}

header .icons img {
    width: 20px;
    cursor: pointer;
}

/* aside */

aside::-webkit-scrollbar {
    width: 2px;
    /* remove scrollbar space */
    background: #fff;
    /* optional: just make scrollbar invisible */
}

/* optional: show position indicator in red */

aside::-webkit-scrollbar-thumb {
    background: #ccc;
}

aside {
    background-color: #fff;
    text-align: center;
    position: fixed !important;
    top: 0;
    bottom: 0;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 50px;
}

aside.dark {
    background-color: #f5f5f5;
}

aside .user-img::before {
    display: block;
    font-size: 4em;
}

aside .menu-header {
    /* background-color: #f8f8f8; */
    cursor: pointer;
}

aside .menu-header,
aside ul li {
    text-align: right;
    padding-right: 10px;
}

aside h4 {
    font-size: 16px;
}

aside h5 {
    font-size: 12px;
}

aside ul li a.btn-link:hover,
aside ul li input.btn-link:hover {
    text-decoration: none;
}

aside .menu-header {
    cursor: pointer;
    vertical-align: middle;
}

aside .menu-header h3 {
    font-size: 1em;
    margin-top: 0;
}

aside .menu-header:hover {
    background-color: #f5f5f5;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

aside .menu-header a {
    position: relative;
    top: -1px;
    display: inline-block;
    width: 100%;
}

aside .menu-header a h3 {
    color: #000;
}


aside .menu-header span {
    font-size: 20px;
    display: inline-block;
    margin-left: 15px;
    padding: 5px;
    position: relative;
    bottom: -4px;
}

.menu-header+ul {
    display: none;
}

a:hover,
a:focus {
    color: #000;
}

aside ul {
    padding: 0;
}

aside ul li {
    list-style: none;
    margin-bottom: 7px;
    display: block;
}

aside .spec-img {
    width: 60px;
    height: 60px;
    margin: 20px auto;
    border: 1px solid rgba(123, 123, 123, 0.3);
    border-radius: 50%;
    overflow: hidden;

}




aside .spec-img img {
    width: 60px;
    margin: 0 auto;
}

/* main */

main {
    margin-top: 90px;
}

/*panel box*/

.panel-box {
    background-color: #fff;
    padding: 15px 20px;
    margin-bottom: 30px;
    /*position: relative;*/
    border-radius: 20px;
    float: right;
    width: 100%;
}

.panel-box .sm-box {
    padding: 5px;
    margin: 10px;
    border-radius: 5px;
}

.panel-box .sm-box p {
    font-size: 0.9em;
}

.panel-box h3 {
    font-size: 1.1em;
    margin: 0;
    display: inline-block;
    color: #727272;
}

.panel-box a:hover h3 {
    color: #000;
}

.panel-box .single-line {
    margin: 15px;
}

.box-footer {
    bottom: 0;
    border-top: 1px dashed rgba(123, 123, 123, 0.4);
    padding: 10px;
    text-align: left;
}

.box-footer.right {
    text-align: right;
}

.box-footer a {
    /* color: rgba(0, 60, 255, 0.97); */
    color: rgb(31, 31, 31);
}

.box-footer a i {
    position: relative;
    right: 3px;
    top: 1px;
}

.box-footer a:hover i {
    right: 7px;
}

/*column*/

@media only screen and (min-width:992px) {
    .column2 {
        column-count: 2;
        column-gap: 100px;
        column-rule: 1px dashed rgba(123, 123, 123, 0.3);
    }

    .column2 .checkbox {
        display: inline-block;
    }
}

/*list items*/

.list-items {
    padding-top: 10px;
}

.list-items li {
    list-style: none;
    margin-bottom: 15px;
}

.list-items li small {
    display: block;
}

.list-items li small i {
    margin-left: 3px;
}

.list-items li .btn i {
    margin-right: 5px;
}

/*queue*/

.queue {
    /* box-shadow: 0px 1px 2.5px 0px rgba(0, 0, 0, .12); */
    padding: 8px;
    margin-bottom: 30px;
    position: relative;
}

.queue p {
    display: block;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.queue label {
    display: flex;
    color: #061173;
    opacity: 0.62;
}

.queue label img {
    width: 20px;
    margin-left: 10px;
}

.queue .btn {
    font-size: 0.9em;
    margin-left: 5px;
    /*float: left;*/
}

.queue .close {
    position: relative;
    top: -5px;
    right: -3px;
}

.queue-inner-row {
    display: flex;
    justify-content: space-between;
}

.queue-buttons a {
    border: 1px solid #0C7A57;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}


#queueinfo label {
    border: 1px solid rgb(209, 209, 209);
    border-radius: 15px;
    padding: 10px;
    text-align: center;
}

#queueinfo label span {
    font-size: 18px;
    color: #061173;
    margin-left: 5px;
}

.pid-box {
    display: block;
    float: none;
    margin-top: 15px;
    position: absolute;
    bottom: -35%;
    left: 0;
}

.searchform input {
    margin-right: 5px;
}

div#selectedFiles img {
    width: 30%;
    margin-bottom: 10px;
    border: 1px solid rgba(123, 123, 123, 0.2);
}

div#selectedMainPic img {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid rgba(123, 123, 123, 0.2);
}

/*reservation table*/

#date-select {
    margin: 10px 0 20px 0;
}

table th {
    background-color: #f5f5f5;
    text-align: right;
}

/* .btn {
    border-radius: 50px;
} */

.btn:active,
.btn:focus,
.btn:visited {
    outline: none;
}

.btn i {
    opacity: 0.7;
}

/*heading*/

h2 {
    font-size: 20px;
}

.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
    vertical-align: middle;
}

.btn-link {
    color: #000;
}

.btn-link:hover,
.btn-link:focus,
.btn-link:active {
    color: #444343;
}

/***************media queries*******************/

@media only screen and (min-width:992px) {}

@media only screen and (max-width:780px) {}

@media only screen and (max-width:480px) {}

.carousel {
    display: none;
}

nav ul {
    background-color: #fff;
    box-shadow: 2px 2px 2px #dedede;
    margin: 20px 0;
}

.padding {
    padding: 30px;
}

.form-group {
    position: relative;
}

input.icon-inside+i {
    position: absolute;
    left: 0;
    margin-top: -31px;
    background-color: #f5f5f5;
    padding: 0 10px;
}

input.input-validation-error,
textarea.input-validation-error,
select.input-validation-error {
    background: #FEF1EC;
    border: 1px solid #CD0A0A;
}

.form-control[readonly] {
    background-color: #fff;
}

@media (min-width: 768px) {
    .dl-horizontal dt {
        float: right;
        width: 160px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dl-horizontal dd {
        margin-bottom: 20px;
    }
}

.modal-header .close {
    margin-left: 30px;
    margin-top: 0;
}



#moneyModal .modal-dialog #extra {
    column-count: 2;
}

@media (min-width: 768px) {
    #moneyModal .modal-dialog {
        width: 90%;
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    #moneyModal .modal-dialog #extra {
        column-count: 1;
    }

    #moneyModal .modal-dialog .pull-right,
    #moneyModal .modal-dialog .pull-left {
        float: unset !important;
    }

}

.check-label {
    font-size: 0.8em;
    position: relative;
}

.record-header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(123, 123, 123, 0.2);
}

.record-header img {
    width: 60px;
}

/*signature pad*/

.signature-pad {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 10px;
    width: 100%;
    height: 400px;
    /*max-width: 700px;*/
    /*max-height: 460px;*/
    /*height: 297mm;
    width: 210mm;*/
    /* to centre page on screen*/
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
    padding: 16px;
    z-index: 99999;
}

.signature-pad--body canvas {
    position: relative;
    z-index: 9999999;
}

/*.signature-pad::before, .signature-pad::after {
    position: absolute;
    z-index: -1;
    content: "";
    width: 40%;
    height: 10px;
    bottom: 10px;
    background: transparent;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.signature-pad::before {
    left: 20px;
    -webkit-transform: skew(-3deg) rotate(-3deg);
    transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
    right: 20px;
    -webkit-transform: skew(3deg) rotate(3deg);
    transform: skew(3deg) rotate(3deg);
}*/

.signature-pad--body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border: 1px solid #f4f4f4;
}

.signature-pad--body canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
}

.signature-pad--actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 8px;
}

@page {
    size: 21cm 29.7cm;
    margin: 10mm 10mm 10mm 10mm;
    /* change the margins as you want them to be. */
}

@media print {
    main {
        margin: 0;
        padding: 0;
    }

    aside,
    header,
    #print,
    .box-footer {
        display: none;
    }
}

.nav-tabs>li {
    float: right;
}

.ck.ck-editor__editable_inline {
    border: 1px solid rgba(123, 123, 123, 0.2) !important;
    min-height: 200px;
}

.block {
    display: block;
    margin-top: 50px;
}

#print img {
    width: 30px;
}

.toggle {
    border: 1px solid rgba(123, 123, 123, 0.2);
    padding: 15px;
    margin-bottom: 20px;
    cursor: pointer;
}

.toggle h2 {
    font-size: 1.6em;
}

.toggle-content {
    display: none;
}

.modal-dialog.modal-lg {
    width: 70%;
    margin: auto;
}

/*body.modal-open{
    position:fixed;
}*/

/* .pname:after {
    content: '';
    width: 30px;
    height: 30px;
    padding: 10px;
    opacity: 0.5;
    background-image: url(../images/money.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    position: absolute;
    left: 10px;
    top: 10px;
    cursor: pointer;
}

.pname.color:after {
    content: '';
    width: 30px;
    height: 30px;
    padding: 10px;
    opacity: 0.4;
    background-image: url(../images/card.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    position: absolute;
    left: 10px;
    top: 10px;
    cursor: pointer;
} */

.noresize {
    resize: none;
}

/*toggle*/

/* The switch - the box around the slider */

.switch {
    position: relative;
    /* display: inline-block; */
    width: 60px;
    height: 34px;
    /* bottom: -17px; */
    bottom: 0;
    left: 5px;
    float: left;
}

/* Hide default HTML checkbox */

.switch input {
    display: none;
}

/* The slider */

.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: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.toggle-box i {
    position: relative;
    top: -20px;
}

input[type="radio"],
input[type="checkbox"] {
    margin: 4px !important;
}

.notification {
    padding-right: 0;
    margin-bottom: 0;
}

.notification li {
    list-style: none;
}

.notification li:last-of-type .alert {
    margin-bottom: 0;
}

.notification small {
    text-align: right;
}

ul {
    padding-right: 0;
}

li.single-line {
    list-style: none;
}

.map-background {
    width: 100%;
    height: 200px;
    opacity: 0.1;
    position: absolute;
    background: url(../images/google-map.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.ui-frame {
    height: 200px;
    overflow: hidden;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.ui-frame+label {
    text-align: center;
    display: block;
    margin: 10px 0 30px 0;
    background-color: rgba(123, 123, 123, 0.1);
    cursor: pointer;
    color: black;
    text-decoration: none;
}

.ui-frame img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    transition: all 0.6s ease;
}

.ui-frame:hover img {
    transform: scale(1.1);
}

.page-notif {
    position: absolute;
    top: 10px;
    left: 10px;
    animation-name: fadeout;
    animation-delay: 1.5s;
    animation-duration: 4s;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

@keyframes fadeout {
    from {
        opacity: 1;
        display: block;
    }

    to {
        opacity: 0;
        display: none;
    }
}

@-moz-keyframes fadeout {
    from {
        opacity: 1;
        display: block;
    }

    to {
        opacity: 0;
        display: none;
    }
}

@-webkit-keyframes fadeout {
    from {
        opacity: 1;
        display: block;
    }

    to {
        opacity: 0;
        display: none;
    }
}

.side-box {
    padding-top: 15px;
    height: auto;
    background-color: #f5f5f5;
}

.top-btn {
    position: absolute;
    top: 45px;
    left: 35px;
}

.select-img {
    margin-bottom: 30px;
}

.select-img img {
    width: 70%;
    display: block;
    margin: 5px auto;
}

/* lightbox */

.ekko-lightbox {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-right: 0 !important
}

.ekko-lightbox-container {
    position: relative
}

.ekko-lightbox-container>div.ekko-lightbox-item {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%
}

.ekko-lightbox iframe {
    width: 100%;
    height: 100%
}

.ekko-lightbox-nav-overlay {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex
}

.ekko-lightbox-nav-overlay a {
    -ms-flex: 1;
    flex: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    opacity: 0;
    transition: opacity .5s;
    color: #fff;
    font-size: 30px;
    z-index: 1
}

.ekko-lightbox-nav-overlay a>* {
    -ms-flex-positive: 1;
    flex-grow: 1
}

.ekko-lightbox-nav-overlay a>:focus {
    outline: none
}

.ekko-lightbox-nav-overlay a span {
    padding: 0 30px
}

.ekko-lightbox-nav-overlay a:last-child span {
    text-align: right
}

.ekko-lightbox-nav-overlay a:hover {
    text-decoration: none
}

.ekko-lightbox-nav-overlay a:focus {
    outline: none
}

.ekko-lightbox-nav-overlay a.disabled {
    cursor: default;
    visibility: hidden
}

.ekko-lightbox a:hover {
    opacity: 1;
    text-decoration: none
}

.ekko-lightbox .modal-dialog {
    display: none
}

.ekko-lightbox .modal-footer {
    text-align: left
}

.ekko-lightbox-loader {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center
}

.ekko-lightbox-loader>div {
    width: 40px;
    height: 40px;
    position: relative;
    text-align: center
}

.ekko-lightbox-loader>div>div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #fff;
    opacity: .6;
    position: absolute;
    top: 0;
    left: 0;
    animation: a 2s infinite ease-in-out
}

.ekko-lightbox-loader>div>div:last-child {
    animation-delay: -1s
}

.modal-dialog .ekko-lightbox-loader>div>div {
    background-color: #333
}

@keyframes a {

    0%,
    to {
        transform: scale(0);
        -webkit-transform: scale(0)
    }

    50% {
        transform: scale(1);
        -webkit-transform: scale(1)
    }
}

#selectedFiles ul {
    list-style: none;
}

#selectedFiles.panel-img ul li img {
    width: 100%;
}

.mainpagepic {
    margin-bottom: 10px;
}

.control-label+input[type="checkbox"] {
    display: inline-block;
    height: 15px;
    position: relative;
    right: 5px;
    top: 3px;
}

.alert-warning {
    background-color: rgb(249, 249, 249);
    border-color: transparent;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    color: #000;
}

#queue-header h3 {
    right: 0;
}

/* [data-accept="True"] {
    background-color: rgb(232, 232, 232);
} */

.queue-box {
    border-radius: 20px;
    padding: 5px;
    box-shadow: 0 0 10px 4px rgba(171, 171, 171, 0.26);
    margin-bottom: 50px;
}

@media only screen and (min-width:993px) {
    .ui-widget-content {
        /*left:36px !important;
    */
        width: 24% !important;
        /*top:230px !important;
    */
        border-radius: 0 !important;
        -webkit-border-radius: 0 !important;
        -moz-border-radius: 0 !important;
        -ms-border-radius: 0 !important;
        -o-border-radius: 0 !important;
        transform: translate(27px) !important;
        -webkit-transform: translate(27px) !important;
        -moz-transform: translate(27px) !important;
        -ms-transform: translate(27px) !important;
        -o-transform: translate(27px) !important;
    }
}

.swal2-popup .swal2-styled {
    background-color: #0C7A57 !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #0C7A57 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border: 4px solid #858a8a !important;
}

.ui-widget-content {
    z-index: 9999 !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    background-color: #0C7A57 !important;
}

.form-control:active,
.form-control:focus {
    border: 1px solid #0C7A57;
    box-shadow: none !important;
}

.form-control {
    box-shadow: none !important;
}

.btn-secondary {
    background-color: #0C7A57;
    color: #fff;
    border-color: #0C7A57;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #095f44;
    border-color: #095f44;
}

input {
    border: 1px solid rgba(123, 123, 123, 0.3);
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    height: 35px;
    padding: 3px;
}

.btn {
    border-radius: 50px !important;
    box-shadow: 0 2px 4px 0 rgba(106, 106, 106, 0.5);
}

.btn-primary {
    background-color: #A8EAD5;
    color: #0C7A57;
    border-color: #A8EAD5;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus {
    background-color: #0C7A57;
    border-color: #0C7A57;
}

.ui-datepicker-next.btn.btn-link,
.ui-datepicker-prev.btn.btn-link {
    display: none !important;
}

.top-btn {
    position: absolute;
    top: 30px;
}

table input[type="text"] {
    width: 75%;
}

.modal-body {
    background-color: #fff;
}

span.fc-title {
    float: left;
    direction: rtl;
}

/* span.fc-title:after{
    content:'نوبت'
} */

/* .fc-button-group{
    direction: rtl;
} */
.fc table {
    width: 50vw !important;
    margin: 0 auto;
}

.fc-basic-view .fc-body .fc-row {
    height: 5vw !important;
}

.fc-toolbar {
    width: 50vw;
    margin: 10px auto;
}



.fc-toolbar .fc-left {
    float: unset !important;
}

tr:first-child>td>.fc-day-grid-event {
    margin-top: 26px !important;
}

.fc-event {
    line-height: 1 !important;
}


.fc-row .fc-content-skeleton td,
.fc-row .fc-helper-skeleton td {
    position: relative;
}

.fc-rtl .fc-basic-view .fc-day-top .fc-day-number {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%);
}

.fc-basicWeek-view table tr:first-child>td>.fc-day-grid-event {
    margin-top: 25px !important;
}

.fc-scroller.fc-day-grid-container {
    overflow: visible !important;
    height: auto !important;
}

.btn-time {
    margin: 10px 0 10px 10px;
    padding: 15px;
}

.list-group-item {
    min-height: 60px;
    display: flex;
}

.list-group-item span {
    flex-basis: 25%;
}

.list-group-item span:first-child {
    flex-basis: 5%;
}

#SearchedArea .list-group-item span:first-child {
    flex-basis: 20%;
}

.fc-widget-content {
    cursor: pointer;
}

/* .fc-icon-right-single-arrow:after{
   content: "\02039" !important;
}
.fc-icon-left-single-arrow:after{
content: "\0203A" !important;
} */

.fc-state-default.fc-corner-left {
    float: right !important;
}

.fc-basicDay-button,
.fc-agenda-button {
    display: none;
}

.fc-state-default.fc-corner-left {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -ms-border-radius: 0 !important;
    -o-border-radius: 0 !important;
}

th.fc-day-header.fc-widget-header span {
    font-size: 0.8em !important;
}

.fc-center h2 {
    direction: rtl;
}

input[name="SearchString"] {
    height: 36px;
}

.fc-time {
    display: none;
}

.hidden-ds {
    display: none;
}

@media print {
    .no-print {
        display: none;
    }

    .hidden-ds {
        display: block;
        margin: 10px auto;
    }

    h2 {
        text-align: center;
    }

    #show_sdate,
    #show_edate {
        border: none;
        margin: 0;
        background-color: #dedede;
    }

    .nav-tabs {
        display: none;
    }
}

@media only screen and (max-width:480px) {

    #show_sdate,
    #show_edate {
        width: 100%;
    }
}

#signature-pad {
    /* border: 1px solid rgba(123, 123, 123, 0.2); */
    /* width: 100%; */
    height: 400px;
    margin-top: 10px;
}

.signature-component {
    text-align: left;
    display: inline-block;
    max-width: 100%;
}

.signature-component h1 {
    margin-bottom: 0;
}

.signature-component h2 {
    margin: 0;
    font-size: 100%;
}

.signature-component button {
    padding: 1em;
    background: transparent;
    box-shadow: 2px 2px 4px #777;
    margin-top: .5em;
    border: 1px solid #777;
    font-size: 1rem;
}

.signature-component button.toggle {
    background: rgba(255, 0, 0, 0.2);
}

.signature-component canvas {
    display: block;
    position: relative;
    border: 1px solid;
}

.signature-component img {
    position: absolute;
    left: 0;
    top: 0;
}

.check-label {
    width: 100%;
    border: 1px solid rgba(123, 123, 123, 0.2);
    padding: 5px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    cursor: pointer;
}

.check-label span {
    margin-right: 23px;
    position: relative;
}

.check-label input[type="number"] {
    float: left;
}

.check-label-select {
    background-color: #000;
    color: #fff;
    cursor: pointer;
}

.check-label-select span:after {
    content: "\f00c";
    font: normal normal normal 14px/1 FontAwesome;
}

.check-label-select input[type="number"] {
    background-color: #000;
}

.check-label input[type="checkbox"] {
    position: absolute;
    right: 0;
    top: -4px;
    width: 18px;
}

.check-label[disabled="disabled"] {
    background-color: #ccc;
    color: #fff;
    cursor: not-allowed;
}

.well {
    background-color: #fff;
}

.receipt>span {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px;
}

.receipt span span {
    display: block;
    margin: 5px;
}

.receipt table {
    width: 100%;
}

.receipt table td {
    padding: 10px;
    border: 1px solid rgba(123, 123, 123, 0.2);
    border-collapse: collapse;
    font-size: 0.9em;
}

@media print {
    .receipt table {
        font-size: 0.7em;
    }
}

.receipt-signature-area {
    position: absolute;
    right: 20px;
    margin-top: 20px;
    display: none;
    font-size: 0.7em;
}

.btn-default {
    border-color: #0C7A57;
}

.btn,
input {
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.table>thead>tr>th {
    border-bottom: none;
}

.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
    border-top: none;
}



.fc-state-default {
    background-image: none !important;
    background-color: #fff !important;
    border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    -ms-border-radius: 3px !important;
    -o-border-radius: 3px !important;
}

/* main > .col-md-4 > .panel-box, main > .col-md-8 > .panel-box{
    border-top: 5px solid rgb(94, 94, 94);
} */


.label-warning {
    background-color: #dedede;
}

.padding-box {
    padding: 20px;
}

.box.padding-box a {
    margin: 0;
    text-decoration: none;
}

.padding-box:hover {
    background-color: #f5f5f5;
}

.table#reserve_table>thead>tr>th,
.table#reserve_table>tbody>tr>th,
.table#reserve_table>tfoot>tr>th,
.table#reserve_table>thead>tr>td,
.table#reserve_table>tbody>tr>td,
.table#reserve_table>tfoot>tr>td {
    font-size: 0.9em;
}

#SearchedArea {
    padding: 100px 0;
}

.check-label input[type="number"] {
    text-align: left;
    margin: 5px;
    font-size: 1.4em;
}

.check-label span {
    font-size: 1.4em;
}

#total__money {
    font-size: 1.3em;
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    top: 12px;
}

#board-panel {
    padding-top: 30px;
}

.btn-buttonface {
    background-color: buttonface;
}

/* Styling an indeterminate progress bar */

progress:not(value) {
    /* Add your styles here. As part of this walkthrough we will focus only on determinate progress bars. */
}

/* Styling the determinate progress element */

progress[value] {
    /* Get rid of the default appearance */
    appearance: none;
    /* This unfortunately leaves a trail of border behind in Firefox and Opera. We can remove that by setting the border to none. */
    border: none;
    /* Add dimensions */
    width: 100%;
    height: 20px;
    /* Although firefox doesn't provide any additional pseudo class to style the progress element container, any style applied here works on the container. */
    background-color: whiteSmoke;
    border-radius: 3px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .5) inset;
    /* Of all IE, only IE10 supports progress element that too partially. It only allows to change the background-color of the progress value using the 'color' attribute. */
    color: royalblue;
    position: relative;
    margin: 0 0 1.5em;
}

/*
Webkit browsers provide two pseudo classes that can be use to style HTML5 progress element.
-webkit-progress-bar -> To style the progress element container
-webkit-progress-value -> To style the progress element value.
*/

progress[value]::-webkit-progress-bar {
    background-color: whiteSmoke;
    border-radius: 3px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .5) inset;
}

progress[value]::-webkit-progress-value {
    position: relative;
    background-size: 35px 20px, 100% 100%, 100% 100%;
    border-radius: 3px;
    /* Let's animate this */
    animation: animate-stripes 5s linear infinite;
}

@keyframes animate-stripes {
    100% {
        background-position: -100px 0;
    }
}

/* Let's spice up things little bit by using pseudo elements. */

progress[value]::-webkit-progress-value:after {
    /* Only webkit/blink browsers understand pseudo elements on pseudo classes. A rare phenomenon! */
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    top: 7px;
    right: 7px;
    background-color: white;
    border-radius: 100%;
}

/* Firefox provides a single pseudo class to style the progress element value and not for container. -moz-progress-bar */

progress[value]::-moz-progress-bar {
    /* Gradient background with Stripes */
    background-image: -moz-linear-gradient(135deg, transparent, transparent 33%, rgba(0, 0, 0, .1) 33%, rgba(0, 0, 0, .1) 66%, transparent 66%), -moz-linear-gradient(top, rgba(255, 255, 255, .25), rgba(0, 0, 0, .2)), -moz-linear-gradient(left, #09c, #f44);
    background-size: 35px 20px, 100% 100%, 100% 100%;
    border-radius: 3px;
    /* Firefox doesn't support CSS3 keyframe animations on progress element. Hence, we did not include animate-stripes in this code block */
}

/* Fallback technique styles */

.progress-bar {
    background-color: whiteSmoke;
    border-radius: 3px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .5) inset;
    /* Dimensions should be similar to the parent progress element. */
    width: 100%;
    height: 20px;
}

.progress-bar span {
    background-color: royalblue;
    border-radius: 3px;
    display: block;
    text-indent: -9999px;
}

p[data-value] {
    position: relative;
}

/* The percentage will automatically fall in place as soon as we make the width fluid. Now making widths fluid. */

p[data-value]:after {
    content: attr(data-value) '%';
    position: absolute;
    right: 0;
}

.prog::-webkit-progress-value {
    /* Gradient background with Stripes */
    background-image: -webkit-linear-gradient(135deg, transparent, transparent 33%, rgba(0, 0, 0, .1) 33%, rgba(0, 0, 0, .1) 66%, transparent 66%), -webkit-linear-gradient(top, rgba(255, 255, 255, .25), rgba(0, 0, 0, .2)), -webkit-linear-gradient(left, rgb(0, 0, 0), rgb(139, 138, 138));
}


.fc-state-active,
.fc-state-down {
    box-shadow: none !important;
    background-color: #000 !important;
    color: #fff !important;
}

.fc-toolbar button {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -ms-border-radius: 0 !important;
    -o-border-radius: 0 !important;
}

table .btn:not(.btn-link) {
    display: inline-block;
    margin: 5px;
}

tbody tr {
    border-bottom: 1px solid rgba(160, 160, 160, 0.1);
}

.fc .fc-button-group>*,
.fc-today-button {
    border: 1px solid rgba(160, 160, 160, 0.1) !important;
}

span.fc-title {
    text-align: center;
    float: unset;
    display: block;
}

.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child>.btn,
.input-group-btn:last-child>.btn-group>.btn,
.input-group-btn:last-child>.dropdown-toggle,
.input-group-btn:first-child>.btn:not(:first-child),
.input-group-btn:first-child>.btn-group:not(:first-child)>.btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

@keyframes spinner-line-fade-quick {

    0%,
    39%,
    100% {
        opacity: 0.25;
        /* minimum opacity */
    }

    40% {
        opacity: 1;
    }
}

#logout-form {
    color: #000 !important;
}

#logout-form h3 {
    margin-top: 0;
}

@media (max-width: 993px) {
    #menu-icon {
        display: block !important;
    }

    .admin-logo {
        display: none !important;
    }
}

#logout-form button {
    background-color: transparent;
    border: none;
    /* opacity: 0.8; */
    padding: 0;
}

.no-list-style {
    list-style: none;
}

.left-rotate {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
}

.right-rotate {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}

.alert-success {
    background-color: rgba(123, 123, 123, 0.2);
    color: #000;
}

.queue-box .order {
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    padding-top: 5px;
    background-color: #fff;
    font-size: 1.6em;
    z-index: 2;
    position: absolute;
    top: -25px;
    right: 5%;
    transform: translate(-50%, -5%);
    -webkit-transform: translate(-50%, -5%);
    -moz-transform: translate(-50%, -5%);
    -ms-transform: translate(-50%, -5%);
    -o-transform: translate(-50%, -5%);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.time-col span:nth-of-type(2) {
    margin-right: 5px;
}

.online-pay {
    position: absolute;
    left: 5px;
    top: 37px;
    font-size: 0.6em;
}

#loading-wrapper {
    display: block;
}

#loading {
    margin: 0 auto;
    stroke-dasharray: 500;
    stroke-dashoffset: 1000;
    animation: loading 2s linear infinite;
    -webkit-animation: loading 2s linear infinite;
}

@keyframes loading {
    to {
        stroke-dashoffset: 0;
    }
}

.d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}