/*? Start Default Style */

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "iransans" !important;
  word-spacing: -1px;
  overflow-x: hidden;
}

a {
  text-decoration: none !important;
}

th,
td {
  white-space: nowrap;
}

.IRANSans {
  font-family: "iransans" !important;
}

.validMessage {
  color: red;
  text-align: center;
  margin: 0.5rem 0;
}

.showPasswordIcon {
  position: absolute;
  left: 16px;
  top: 14px;
}

.cursorPointer {
  cursor: pointer;
}

.customTextarea {
  min-height: 10rem;
  max-height: 10rem;
}

.badge-purple {
  background-color: #9629e6;
  color: #fff;
}

.clientDataImg {
  border-radius: 10%;
  width: 3rem;
  height: 3rem;
}

.minHeightModal {
  min-height: 40vh;
}

.customBackground {
  background: url("./../images/customBackground.jpg") right !important;
}

.btnRounded {
  border-radius: 50px;
  font-weight: bold;
  font-size: 1em;
}

.rounded-pill-right {
  border-top-right-radius: 50rem !important;
  border-bottom-right-radius: 50rem !important;
}

.rounded-pill-left {
  border-top-left-radius: 50rem !important;
  border-bottom-left-radius: 50rem !important;
}

.JDatePicker {
  z-index: 1060 !important;
}

.date-input-with-dialog-calendar {
  color: #007bff !important;
  border: none !important;
  background-color: unset !important;
  font-size: 20px;
}

.date-input-with-dialog-empty {
  color: #ff2600 !important;
  border: none !important;
  background-color: unset !important;
  font-weight: bold;
  font-size: 28px;
}

.defaultCardHeight {
  max-height: 600px;
  overflow-y: auto;
}

@media screen and (max-width: 990px) {
  option {
    font-size: 0.9em;
  }
}

.ellipsisHiddenFirstName {
  display: inline-block;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.ellipsisHiddenSubscriptionName {
  display: inline-block;
  max-width: 500px;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.ellipsisHiddenDocument {
  display: inline-block;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.overflowDocumentHidden {
  max-height: "600px";
  overflow-y: "scroll";
}
/*? End Default Style */

/*? Start Custom Scroll Bar */
/** Scroll Bar width */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

/** Scroll Bar Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/** Scroll Bar Handle */
::-webkit-scrollbar-thumb {
  background: #a09f9f;
  border-radius: 10px;
}

/** Scroll Bar Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #cecece;
}
/*? End Custom Scroll Bar */

/*? Start Home Public Style */
.secondWorkProcess {
  margin-top: 28.2rem;
}

@media only screen and (max-width: 991px) {
  .secondWorkProcess {
    margin-top: 4rem;
  }
}
/*? End Home Public Style */

/*? Start Dashboard Style */
.dashboardSmallBox {
  border-radius: 0.25rem;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
  position: relative;
  display: block;
  background: url("./../images/customBackground.jpg");
  margin-bottom: 20px;
}

.dashboardSmallBoxInner {
  padding: 10px;
  color: #4a3282;
}

.dashboardInnerHeaderText {
  font-size: 1.2rem;
  font-weight: bold;
}

.dashboardSmallBoxIcon {
  transition: all 0.3s linear;
  position: absolute;
  top: 0;
  left: 20px;
  z-index: 0;
  font-size: 70px;
  color: #5a739c;
}

.dashboardSmallBoxFooter {
  position: relative;
  text-align: center;
  padding: 3px 0;
  color: #4a3282;
  display: block;
  z-index: 10;
  background: rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.dashboardSmallBoxFooter:hover {
  background: rgba(0, 0, 0, 0.15);
}
/*? End Dashboard Style */

/*? Start Newsletter Style */
.bgNewsletter {
  background-color: #e9ecef;
}

.newsletterForm .inputNewsletter {
  height: 50px;
  display: block;
  width: 100%;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  padding-top: 0;
  padding-left: 0;
  padding-bottom: 0;
  padding-right: 25px;
}

.newsletterForm button {
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  height: auto;
  border: none;
  border-radius: 5px;
  background-color: #e9ecef;
  display: inline-block;
  color: #000;
  padding-right: 20px;
  padding-left: 20px;
  transition: all 0.3s;
}

.newsletterForm button:hover {
  background-color: #cfd2d4;
  color: #000;
  transition: all 0.3s;
}

.newsletterForm button:focus {
  outline: none;
}

.newsletterFormSecondButton {
  margin-left: 4rem;
}

.newsletterFormSecondButton:hover {
  color: #fff !important;
}
/*? End Newsletter Style */

/*? Start User Avatar Style */
.avatar-upload {
  position: relative;
  max-width: 205px;
  margin: auto;
}

.avatar-upload .avatar-edit {
  position: absolute;
  right: 12px;
  z-index: 1;
  top: 10px;
}

.avatar-upload .avatar-edit input {
  display: none;
}

.avatar-upload .avatar-edit input + label {
  display: inline-block;
  text-align: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}

.avatar-upload .avatar-edit input + label:hover {
  background: #f1f1f1;
  border-color: #d6d6d6;
}

.avatar-upload .avatar-delete {
  position: absolute;
  right: 148px;
  z-index: 1;
  top: 12px;
}

.avatar-upload .avatar-delete input {
  display: none;
}

.avatar-upload .avatar-delete input + label {
  display: inline-block;
  text-align: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #ca0202;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}

.avatar-upload .avatar-delete input + label:hover {
  background: #f80202;
}

.avatar-upload .avatar-preview {
  width: 192px;
  height: 192px;
  position: relative;
  border-radius: 100%;
  border: 6px solid #f8f8f8;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-upload .avatar-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
/*? End User Avatar Style */

/*? Start Inquiry Modal Style */
.inquiryModalHeader {
  width: 35%;
  border-bottom: 2px solid #00ccff;
  padding-bottom: 5px;
}

@media screen and (max-width: 992px) {
  .inquiryModalHeader {
    width: 60%;
  }
}

.inquiryModalText {
  color: #0059ffc4;
  margin-right: 5px;
}
/*? End Inquiry Modal Style */

/*? Start Prescription Style */
.searchServicesCard {
  cursor: pointer;
  font-size: 0.8em;
  transition: all 0.5s;
}

.searchListPrescription {
  position: absolute;
  z-index: 2;
  width: 100%;
  max-height: 24rem;
  overflow-y: auto;
}
/*? End Prescription Style */

/*? Start Sketch Pad Style */
#sketchpad {
  border: 0.2rem solid rgb(206, 206, 206);
  border-radius: 0.5rem;
  /* cursor: crosshair; */
  cursor: url("/assets/images/cur.png"), auto;
  display: block;
  resize: vertical;
  height: 600px;
  overflow-x: hidden;
  overflow-y: auto;
}
/*? End Sketch Pad Style */

/*? Start Side Bar Style */
.privateSideBarTitle {
  display: flex;
  align-items: center;
  text-align: center;
  padding: 5px 12px;
  overflow: "hidden";
  text-overflow: "ellipsis";
  white-space: "nowrap";
}

.pro-sidebar {
  font-weight: 400;
}

.pro-inner-item:hover {
  font-weight: 400;
  color: #6730e3 !important;
}

.sideBarCloseImg {
  width: 100%;
  height: 70px;
}

.pro-sidebar-inner {
  background: url("./../images/customBackground.jpg") !important;
}

.pro-sidebar {
  color: #55578a !important;
}

.pro-sidebar .pro-menu a {
  color: #929292 !important;
}

.popper-inner {
  background-color: #dfe0e1 !important;
}

.pro-inner-item:focus {
  color: unset !important;
}

.sidebar-btn {
  color: #55578a !important;
  background: #dadada !important;
}

.sideBarActiveClass {
  color: #6730e3 !important;
  font-weight: bold !important;
}

.privateSideBarTitle img {
  width: 60px;
  height: 60px;
  border-radius: 25rem;
  border: 4px solid #272f34;
}

.pro-icon-wrapper {
  font-size: 28px !important;
}
/*? End Side Bar Style */

/*? Start Rotate Image Style */
.react-viewer-image-transition {
  position: absolute;
  left: 0px;
}

.react-viewer-close > i {
  position: relative;
  top: 5px !important;
  right: 10px !important;
}

.rotate2 {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
}
.rotate3 {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
}
.rotate4 {
  transform: rotate(270deg);
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
}
/*? End Rotate Image Style */

/*? Start Toggle Button Style */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.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: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.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%;
}
/*? End Toggle Button Style */
