:root {
	--primary-color: #085F8F;
	
	--hue: 223;
  --bg: hsl(var(--hue),10%,90%);
  --fg: hsl(var(--hue),10%,10%);
  --primary: hsl(201deg 90% 30%);
  --trans-dur: 0.3s;
  --trans-timing: cubic-bezier(0.65,0,0.35,1);

}

html, body { min-height: 100vh; }
body {
	margin: 0;
	padding: 0;
	font-family: "Golos Text", sans-serif;
}
header, section { 
	max-width: 600px;
	margin: auto;
}
header  { 
	padding-top: 45px; 
}
.header-collumn {
	padding-top: 20px;
	padding-left: 48px;
}
section {
	background-color: #ffffff;
	padding: 20px;
	color: #616262;
	min-height: 730px;
	min-width: 400px;
	margin: auto !important;
}
h1, h2, h3, h4, h5 {
	color: var(--primary-color);
	font-family: "Nunito", sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
}
h1 { 
	font-size: 1.6em;
}
img.logo { 
	border-radius: 75px;
	box-shadow: 0px 9px 33px #b9e4f3;
}
h2 { 
	margin-top: 0;
	font-size: 1.4em;
}
h1.modal-title {
	color: white;
}
h3 {
	font-size: 1.1rem;
	margin-bottom: 18px;
}
h3 span {
	margin-right: 8px;
	border-radius: 12px;
	border: 1px solid #2a93c9;
	display: inline-block;
	width: 24px;
	text-align: center;
	color: #2a93c9;
}

.fs-xs {
	font-size: 12px;
}

a {
	text-decoration: none;
	color: #315ca4;
}
a.iconic {
	display: flex;
	align-items: end;
	justify-content: center;
}
a.iconic img {
	padding-right: 5px;
}
a:hover { color: #673ab7; }
.btn { --bs-btn-font-size: 1rem; }
.btn-primary {
	padding: 15px 32px;
	border-radius: 7px;
	border: 1px solid #4e7f22;
	font-size: 1.1rem;
	color: #4d5a00;
	background: linear-gradient(to bottom, #d2ff52 0%, #5b9427 100%);
	font-weight: bold;
	text-shadow: 0px 1px 2px #ffffff;
}
.btn-primary:hover {
	background: linear-gradient(to bottom, #fff95d 0%, #51a704 100%) !important;
	box-shadow: 0px 2px 5px 0px #00000045;
	text-shadow: none;
}
.btn-primary:active {
	background: linear-gradient(to bottom, #78b044 0%, #b0d44b 100%) !important;
	text-shadow: none;
}
.btn-default {
	background: linear-gradient(to bottom, #ffffff 0%, #e9e7e7 100%);
	border: 1px solid #d5d1d1;
}
.btn-default.active {
	color: #ffffff;
    background: linear-gradient(to bottom, #4bcea3 0%, #1e6682 100%);
    border-color: #379db6;
}
.btn-accent {
	background: linear-gradient(to bottom, #fefcea 0%, #ffe38f 100%);
	border: 1px solid #FFC107;
	padding-bottom: 10px;
}
.btn-accent:hover {
	border-color: #75b798;
}

.mb-50 { margin-bottom: 50px; }
.float-left {
	float: left;
	margin-right: 5px;
}

.list-group-item.active,
.dropdown-item.active {
	color: black;
	background: linear-gradient(to bottom, #fefcea 0%, #ffe38f 100%);
    border: 1px solid #FFC107;
}

small {
	color: #ababab;
}
.list-group-item.active {
	color: #343a40;
}
.grid-item small {
	display: block;
	overflow-wrap: break-word;
	/* word-break: break-all; */
	/* white-space: normal; */
	white-space: pre-wrap;
}
.dropdown-menu li a {
	border-bottom: 1px dashed #dfd9d9;
}
ul.dropdown-menu a {
	white-space: normal!important;
}
ul.dropdown-menu {
	max-width: 300px;
}
#selectService ul.dropdown-menu {
	max-width: 100%;
}
.grid-flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}
.grid-item {
	flex: 0 0 calc(20% - 10px); 
	box-sizing: border-box;
	text-align: center;
}
.grid-item img, 
.grid-item a {
	border-radius: 7px;
	margin-bottom: 5px;
}
.grid-item img {
	width: 150px;
}
.grid-item a {
	display: block;
	padding: 7px;
	border: 1px solid #ffffff;
}
.grid-item a:hover,
.grid-item a.active {
	background: linear-gradient(to bottom, #f7f4da 0%, #fff5da 100%);
	border-color: #fce0ae;
}
@media (min-width: 1024px) {
	.grid-item {
		flex-basis: calc(15% - 12px);
	}
}
@media (min-width: 600px) and (max-width: 1023px) {
	.grid-item {
		flex-basis: calc(20% - 8px); 
	}
}
@media (max-width: 599px) {
	.grid-item {
		/*flex-basis: 100%;*/
		flex-basis: calc(30% - 8px); 
	}
}
.offcanvas-header.bg-success .btn-close,
.modal-header.bg-success .btn-close{
	background-color: #8BC34A;
}
.modal-header .bg-danger-subtle .btn-close {
	background-color: #e59199;
}
.hidden {
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}
.visible {
	opacity: 1;
}
.grid-item:has(a.disabled), a.disabled {
	display: none!important;
}

#pnlGender [data-gender].active img,
.invert {
	filter: invert(100%);
}
img.success {
	filter: invert(60%) sepia(0.8) hue-rotate(100deg);
}
#pnlDoctors div {
	border: 2px solid transparent;
	border-radius: 8px;
	margin-bottom: 8px;
}
#pnlDoctors img {
	display: none;
}
#pnlDoctors small, label small {
	display: block;
}
#pnlDoctors span {
	margin-top: 2px;
	border-radius: 50%;
	padding: .5rem;
	margin-right: .5rem;
}
#pnlDoctors a {
	cursor: default;
}

#btnBirthday img {
	filter: invert(50%);
	cursor: pointer;
}

#btnBirthday img:hover {
	filter: none;
}

#selectTime .btn-default:not(.available) {
	color: #cecece;
    pointer-events: none;
    background:	none;
    background-color: #f9f9f9;
    border-color: #f9f9f9;
    text-decoration: line-through;
}
#selectTime button.available:not(.active) {
	background: linear-gradient(to bottom, #ffffff 0%, #d3f0d5 100%);
    color: #2e7d32;
    border: 1px solid #b8e1ce;
}
#selectTime button.sel {
	background: linear-gradient(to bottom, #ffffff 0%, #d3f0d5 100%);
    color: #2e7d32;
}

/* DATEPICKER STYLES*/

.air-datepicker-cell {
    transition: all 0.15s ease-in-out;
    position: relative;
    border-radius: 50% !important;
}

.air-datepicker-cell.available-date {
    background-color: #e8f5e9; 
    color: #2e7d32;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.air-datepicker-cell.available-date:hover {
    background-color: #c8e6c9;
    transform: scale(1.05);
}

.air-datepicker-cell.active-choice {
    background-color: #4caf50 !important; 
    color: white !important;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    border-radius: 50%;
}

.air-datepicker-cell.unavailable-date {
    background-color: #f5f5f5;
    color: #bdbdbd;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
}

.air-datepicker-cell.unavailable-date:hover {
    background-color: #f5f5f5;
    transform: none;
}

@media (max-width: 768px) {
    .air-datepicker-cell.available-date,
    .air-datepicker-cell.unavailable-date {
        padding: 8px;
        font-size: 14px;
    }
}

.form-floating .form-control:required + label {
    color: #000000;
}
.form-floating .form-control:required + label::after {
    content: " *";
    color: #ff0000;
}


.ajax_load {
  background-image: repeating-linear-gradient(-45deg, #c9d5ea, #c9d5ea 15px, #d4f9b5 15px, #d4f9b5 25px)!important;
  -webkit-animation:progress 1s linear infinite;
  -moz-animation:progress 1s linear infinite;
  -ms-animation:progress 1s linear infinite;
  animation:progress 1s linear infinite;
  
  -webkit-background-size: 70px 70px;
     -moz-background-size: 70px 70px;
      -ms-background-size: 70px 70px;
          background-size: 70px 70px;
    cursor: progress;
    color: #6c757d;
}

@-webkit-keyframes progress{
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -70px 0px;
  }
}
@-moz-keyframes progress{
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -70px 0px;
  }
}    
@-ms-keyframes progress{
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -70px 0px;
  }
}    
@keyframes progress{
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -70px 0px;
  }
} 

/* STEPS */

.steps {
  border-radius: 0.75em;
  display: flex;
  justify-content: center;
  width: 100%;
  flex-direction: row;
  align-items: center;
  padding: 1.5em 2.25em 2.25em 2.25em;
}
.steps__connector, .steps__step {
  position: relative;
}
.steps__connector {
  background-color: hsl(var(--hue), 10%, 80%);
  transition: background-color var(--trans-dur);
  margin-inline-start: 0;
  width: 100%;
  height: 0.125em;
  transform: translateY(-50%);
}
.steps__connector:before {
  background-color: var(--primary);
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transition: background-color var(--trans-dur), transform var(--trans-dur) var(--trans-timing);
  transform: scale(0, 1);
  transform-origin: 0 50%;
}
.steps__step {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1;
}
.steps__step-name {
  color: hsl(var(--hue), 10%, 50%);
  font-size: 0.75em;
  line-height: 2;
  transition: color var(--trans-dur) var(--trans-timing), font-weight var(--trans-dur) var(--trans-timing);

  position: absolute;
  top: 100%;
  left: 50%;
  text-align: center;
  width: 6em;
  transform: translateX(-50%);

}
.steps__step-number {
  background-color: hsl(var(--hue), 10%, 80%);
  color: white;
  border-radius: 50%;
  margin-inline-end: 0;
  text-align: center;
  width: 1.5em;
  height: 1.5em;
  transition: background-color var(--trans-dur) var(--trans-timing), box-shadow var(--trans-dur) var(--trans-timing);
}
.steps__step--done, .steps__step--current {
	cursor: pointer;
}
.steps__step--current .steps__step-name, .steps__step--done .steps__step-name {
  color: hsl(var(--hue), 10%, 10%);
  font-weight: 700;
}
.steps__step--done .steps__step-number {
  background-color: var(--primary);
}
.steps__step--current .steps__step-number {
  background-color: hsl(161.57deg 55.72% 40.55%);
}
.steps__step--current .steps__step-number, .steps__step--current .steps__step-name {
  transition-delay: var(--trans-dur);
}
.steps__step.active .steps__step-number {
  /*box-shadow: 0 0 0 0.125em hsla(var(--hue), 90%, 30%, 0.4);*/
  box-shadow: 0 0 0 0.125em hsl(106.27deg 84.73% 44.07% / 40%);
}
.steps__step--done + .steps__connector:before {
  transform: scale(1, 1);
}
