﻿/**************************/

/*
Clinic web application
Authur: MohammadReza Keikavousi
2018
*/

/**************************/

@font-face {
    font-family: 'IRANSansXV';
    src: url('../fonts/IRANSansXV.woff2') format('woff-variations'),
        /* will be the standard and works in Safari now */
        url('../fonts/IRANSansXV.woff2') format('woff');
    /* for the other supporting browsers */
    font-weight: 100 900;
    font-display: fallback;
}


body {
    font-family: 'IRANSansXV';
    font-variation-settings: "wght"500;
}

* {
    box-sizing: border-box;
}

*:not(.fa) {
    font-family: 'IRANSansXV';
    font-variation-settings: "wght"500;
    -moz-font-feature-settings: 'ss02';
    -webkit-font-feature-settings: 'ss02';
    font-feature-settings: 'ss02';
}

[class^="flaticon"] {
    font-family: "Flaticon";
}

*:active,
*:focus {
    outline: none;
}

/*input:not([type="checkbox"]),textarea{
    -webkit-appearance:none;
    border:1px solid rgba(123,123,123,0.4);
    border-radius:7px;
    -webkit-border-radius:7px;
    -moz-border-radius:7px;
    -ms-border-radius:7px;
    -o-border-radius:7px;
}*/

html,
body {
    min-height: 100%;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden
}

html {
    -webkit-tap-highlight-color: transparent
}

body {
    margin: 0;
    padding: 0;
    background-color: #f2f3f5;
    color: #333;
    line-height: 2;
    text-rendering: optimizeLegibility;
    font-feature-settings: "liga", "kern";
    overflow-y: auto;
}

.main-wrapper {
    direction: rtl;
}

img {
    border-width: 0;
    max-width: 100%
}

::-moz-selection {
    color: #F5F5F5;
    background-color: rgba(60, 55, 68, 0.9)
}

::selection {
    color: #F5F5F5;
    background-color: rgba(60, 55, 68, 0.9)
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

a {
    text-decoration: none;
    color: rgb(44, 44, 44);
}

a:hover {
    text-decoration: none;
}

.reset-margin {
    margin: 0;
}

.reset-padding {
    padding: 0;
}

.reset-padding-right {
    padding-right: 0;
}


.padding {
    padding: 10px 30px 50px 30px;
}

.gradient-btn {
    font-size: 1.1em;
    font-weight: 300;
    color: #fff;
    cursor: pointer;
    text-align: center;
    border: none;
    border-radius: 50px;
    background-color: #000;
    /* background-image: linear-gradient(to right, #667eea, #764ba2, #6B8DD6, #8E37D7); */
}

.gradient-btn:focus,
.gradient-btn:active,
.gradient-btn:hover {
    background-position: 100% 0;
    color: rgb(221, 221, 221);
    border: none;
    outline: none;
    background-color: #858a8a;
}

.gradient-border-btn {
    font-size: 1.1em;
    font-weight: 300;
    color: #764ba2;
    cursor: pointer;
    text-align: center;
    background-size: 300% 100%;
    border-radius: 50px;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    /*border-image: linear-gradient(to right, #667eea, #764ba2, #6B8DD6, #8E37D7);*/
    /* box-shadow: 0 4px 15px 0 rgba(116, 79, 168, 0.75); */
    box-shadow: 0px 1px 2.5px 0px rgba(0, 0, 0, .12);
}

.full-height {
    height: 100vh;
}


/*box*/
.box {
    padding: 0 30px;
}

.box h3 {
    font-size: 1.2em;
    font-weight: 300;
}

.box img {
    display: block;
    border-radius: 10px;
    box-shadow: 3px 3px 5px rgb(204, 204, 204);
    margin: 10px 0 10px 10px;
    width: 70px;
    height: 70px;
    float: right;
}

.box h4 {
    font-size: 1.2em;
    font-weight: 400;
    display: block;
}

.box p {
    font-size: 1.1em;
    display: block;
    margin-bottom: 0;
}

.box a {
    padding-bottom: 2px;
    display: block;
    margin-bottom: 30px;
}

.box-header {
    /* border-bottom: 1px solid rgba(123, 123, 123, 0.1); */
    margin: 10px 0;
    /* padding-bottom: 10px; */
}

.box-header i::before {
    font-size: 2.5em;
    color: #858a8a;
    margin-left: 25px;
}

.box-header a i::before {
    font-size: unset;
    color: unset;
    margin-left: unset;
}

.box-header h3 span[class^="flaticon"] {
    font-size: 25px;
    margin: 5px;
    position: relative;
    bottom: -5px;
}

.box-header a {
    float: left;
    /* margin-top: 20px; */
    /*border: 1px dashed rgb(45, 129, 255);*/
    padding: 5px;
}

.box-header a.block {
    display: block;
    float: unset;
}

.sm-box {
    box-shadow: 0 10px 30px rgba(50, 50, 93, .12), 0 -1px 4px rgba(0, 0, 0, .06);
    border: 1px solid rgba(123, 123, 123, 0.3);
    padding: 15px;
    margin: 20px 10px 20px 10px;
}

.sm-box .fa {
    margin-left: 5px;
}

/*general*/
.grey {
    background-color: #f5f5f5;
}

.white {
    background-color: #fff;
}

.img-on-page {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 20px 0;
}

.green-color {
    color: #18b69c;
}

.margin-md {
    margin: 40px;
}

.margin-top-md {
    margin-top: 40px;
}

.margin-sm {
    margin: 10px;
}

.margin-top-sm {
    margin-top: 10px;
}

.margin-bot-sm {
    margin-bottom: 10px;
}

small {
    color: #8f8f8f;
}

.alert .icon {
    float: right;
}

.alert small {
    display: block;
    text-align: left;
}

.shadow {
    /* box-shadow: 0 10px 30px rgba(50, 50, 93, .12), 0 -1px 4px rgba(0, 0, 0, .06);*/
    box-shadow: 0px 1px 2.5px 0px rgba(0, 0, 0, .12)
}

.center {
    display: block;
    text-align: center;
}

.badge {
    background-color: #b5b5b5;
    color: #fff;
}

.badge-primary {
    background-color: #b5b5b5;
    color: #fff;
    margin: -5px 0 0 5px;
}

.label-success {
    background-color: #000000;
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    position: relative;
    margin-left: 0;
    top: 4px;
}

/*btn*/
.float-btn {
    background-color: #f8355f;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: fixed;
    bottom: 10px;
    left: 10px;
    text-align: center;
    display: block;
    transition: 0.5s ease all;
}

.float-btn img {
    width: 25px;
    margin-top: 12px;
}

.float-btn:hover {
    box-shadow: none;
}

.btn-secondary {
    background-color: #16ceaf;
    border-color: #16ceaf;
    color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #18b69c;
    border-color: #16ceaf;
    color: #fff;
}

/* form */
.form-control {
    border-color: rgba(60, 55, 68, 0.2);
    box-shadow: 2px 2px 5px rgba(218, 218, 218, 0.351);
}

.form-control:active,
.form-control:focus {
    border-color: #16ceaf;
}

legend {
    font-size: 1.2em;
    background-color: rgba(218, 218, 218, 0.151);
    margin-top: 20px;
    padding: 5px;
}

.center-img {
    margin: 0 auto;
}

@media (min-width: 768px) {
    .dl-horizontal dd {
        margin-left: 0;
        margin-right: 0
    }
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 20px;
}


.upload-btn-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}


/**file upload**/
.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile+label {
    max-width: 80%;
    font-size: 1.25rem;
    /* 20px */
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 0.625rem 1.25rem;
    /* 10px 20px */
}



.inputfile:focus+label,
.inputfile.has-focus+label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile+label * {
    /* pointer-events: none; */
    /* in case of FastClick lib use */
}

.inputfile+label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    /* 4px */
    margin-right: 0.25em;
    /* 4px */
}


/* style 1 */

.inputfile-1+label {
    border-radius: 3px;
    background-color: #000000;
    border-color: #000000;
    color: #fff;
    font-weight: normal;
    font-size: 1.1em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.inputfile-1:focus+label,
.inputfile-1.has-focus+label,
.inputfile-1+label:hover {
    background-color: #858a8a;
}

.nav-pills>li,
.nav-tabs>li {
    float: right;
}

.block-level {
    display: block;
    clear: both;
}

.validation-summary-errors ul {
    padding: 0;
}

.validation-summary-errors ul li {
    list-style-type: none;
    display: block;
    text-align: center;
}

@media screen and (max-width: 50em) {
    .inputfile-6+label strong {
        display: block;
    }
}

.link-underline {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dashed rgba(123, 123, 123, 0.8);
    padding-bottom: 5px;

}

.link-underline:hover {
    text-decoration: none;
    border-bottom: 1px dashed rgba(123, 123, 123, 1);
    padding-bottom: 5px;
}

.btn.link-underline {
    border-radius: 0;
}

a {
    cursor: pointer;
}

.break {
    word-break: break-all;
}

#queueinfo {
    margin-top: 20px;
    margin-bottom: 40px;
}

#componentcontainer {
    position: relative;
}

.label-info {
    background-color: #16ceaf;
}

.label-success {
    background-color: #858a8a;
}

.input-group input {
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

[hidden] {
    display: none !important;
}





.checkbox-toggle {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.toggle-btn input[type=checkbox] {
    visibility: hidden;
}

.toggle-btn input[type=checkbox]:checked+label {
    background-color: rgba(180, 180, 180, 0.5);
}


.toggle-btn input[type=checkbox]+label::after {
    content: 'ویزیت حضوری';
    position: absolute;
    display: block;
    right: 50px;
    width: 300px;
    top: -3px;
    color: rgba(75, 75, 75);
}

/* .toggle-btn input[type=checkbox]:checked+label::after {
    content: 'ویزیت آنلاین';
    color: #000;
} */

.toggle-btn input[type=checkbox]:checked+label span {
    left: 20px;
    background-color: #000000;
}

.toggle-btn label {
    display: inline-block;
    width: 40px;
    height: 20px;
    border-radius: 10px;
    background-color: #dedede;
    position: relative;
}

.toggle-btn label span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ccc;
    position: absolute;
    left: 0;
}