/*
.frodoc-btn {
    box-sizing: border-box;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-color: transparent;
    border: 2px solid #e74c3c;
    border-radius: 0.6em;
    color: #e74c3c;
    cursor: pointer;
    display: flex;
    align-self: center;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    margin: 20px 0;
    padding: 1.2em 2.8em;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.frodoc-btn:hover, .btn:focus {
    color: #0071a1;
    outline: 0;
}

.btn-booking {
    border-radius: 3em;
    border-color: #0071a1;
    color: #0071a1;
    background-image: linear-gradient(to bottom, transparent 50%, #0071a1 50%);
    background-position: 0% 0%;
    background-size: 210%;
    transition: background 150ms ease-in-out, color 150ms ease-in-out;
}

.btn-booking:hover {
    color: #fff;
    background-position: 0 100%;
}
*/
/*
.btn-booking {
  border-radius: 3em;
  border: none;
  margin: 2% 1%;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1.5px !important;
  font-size: 1.7rem;
  padding: 1.5% 2.5%;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0) linear-gradient(to right, #00c9fd 0%, #81ee8e 100%) repeat scroll 0 0;
}
*/

/**
  * Base CSS configuration
  */
  
.fr-booking-modal input, .fr-booking-modal button, .fr-booking-modal select, .fr-booking-modal textarea {
    font-family: "Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.fr-booking-modal .form-group {
  position: relative;
  margin-bottom: 15px;
}
.fr-booking-modal p {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: #4c5462;
  margin-bottom: 15px;
}

.fr-booking-modal .form-error-msg {
  color: #a94442;
}

/**
  * Material Modal CSS
  */
.fr-booking-modal {
  will-change: visibility, opacity;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  /* transition-delay: $modal-delay; */
}
.modal--active {
  visibility: visible;
  opacity: 1;
}
.modal--align-top {
  align-items: flex-start;
}
.modal__bg {
  background: transparent;
}
.modal__dialog {
  max-width: 100%;
  /*padding: 1.2rem;*/
  padding: 16px;
}
.modal__content {
  will-change: transform, opacity;
  position: relative;
  /*padding: 4rem 7rem 4rem 5rem;*/
  padding: 5em 5em 5em 5em;
  background: #fff;
  background-clip: padding-box;
  box-shadow: 0 12px 15px 0 rgba(0,0,0,0.25);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  color: #505458;
  font-size: 10px;
}
.modal__content--active {
  opacity: 1;
}
.modal__close {
  z-index: 1100;
  cursor: pointer;
}
.modal__trigger {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.modal__trigger--active {
  z-index: 10;
}
.modal__trigger:hover {
}
#modal__temp {
  will-change: transform, opacity;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* PLUGIN COLOR
  background: #0071a1;
  */
  background: #004f96;
  -webkit-transform: none;
          transform: none;
  opacity: 1;
  transition: opacity 0.1s ease-out, -webkit-transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transition: opacity 0.1s ease-out, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transition: opacity 0.1s ease-out, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/**
  * Demo specific CSS
  */
.demo-btns header {
  padding: 7vh 10vw;
  background: #ffebee;
  display: flex;
  align-items: center;
}
.demo-btns header h1 {
  margin: 0;
  color: rgba(0,0,0,0.54);
  font-weight: 300;
}
.demo-btns .info {
  background: #f44336;
  padding: 3vh 10vw;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column wrap;
}
.demo-btns p {
  text-align: center;
  color: #fff;
}
.demo-btns .link {
  font-size: 20px;
}
.demo-btns .modal__trigger {
  margin-right: 3px;
}
@media (max-width: 640px) {
  .demo-btns .modal__trigger {
    margin-bottom: 0.8em;
  }
}
.fr-booking-modal .modal_signature {
  position: absolute;
  /*left: 0;*/
  /*right: 3em;*/
  right: 0em;
  /*width: 20em;*/
  width: 17em;
  margin-top: 0.8em;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.5em;
  color: #9b9b9b;
}
.demo-close {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1.2em;
  padding: 0.6em;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.demo-close svg {
  width: 24px;
  fill: #fff;
  pointer-events: none;
  vertical-align: top;
}
.demo-close:hover {
  background: rgba(0,0,0,0.6);
}

.logo {
  position: fixed;
  bottom: 3vh;
  right: 3vw;
  z-index: 2;
}
.logo img {
  width: 45px;
  -webkit-transform: rotate(0);
          transform: rotate(0);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.logo img:hover {
  -webkit-transform: rotate(180deg) scale(1.1);
          transform: rotate(180deg) scale(1.1);
}
.fr-booking-modal .modal_title {
  /*font-size: 2.5rem;*/
  font-size: 2.5em;
  font-weight: 600;
  margin-bottom: 0;
}
.fr-booking-modal .modal_subtitle {
  /*font-size: 1.6rem;*/
  font-size: 1.6em;
  margin-top: 0;
}
.select-institutions {
    width: 100%;
}
.styled-select select {
  background: transparent;
  border: none;
  /*font-size: 1.3rem;*/
  font-size: 1.3em;
  height: 40px;
  color: white;
  /*padding: 10px;*/ /* If you add too much padding here, the options won't show in IE */
}
.rounded {
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.blue {
  /* border: 2px solid #0071a1; */
  /* PLUGIN COLOR
  background-color: #0071a1;
  */
  background-color: #004f96;
}

/*#modal2 .btn-white {
  color: #5e5e5e;
  background-color: #ffffff;
  border: 1px solid #e5e9ec;
}*/

.frodoc-subtitle {
  font-family: "Raleway", sans-serif !important;
  color: #4c5462 !important;
  margin-top: 0px;
  font-style: normal;
  font-weight: 700;
}

.btn-select-sched-structure {
  border: 1px solid #fff;

  background: #d3d3d3 !important;
  color: #565656 !important;
  opacity: .75;
  border: 0 none;
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  outline: 0 none;
  padding: 13px 30px;
  position: relative;
  text-align: center;
  text-decoration: none;
  z-index: 1;
}

.btn-select-sched-structure.selected {
  /* PLUGIN COLOR
  background-color: #5ec775 !important;
  */
  background-color: #004f96 !important;
  color: #eee !important;
  opacity: 1;
}

.btn-prev-step {
  color: #fff !important;
  background-color: #545454 !important;
  /*
  border: 0 none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  outline: 0 none;
  padding: 13px 30px;
  position: relative;
  text-align: center;
  text-decoration: none;
  z-index: 1;*/
}

.btn-next-step {
  border: 1px solid #fff;
  /* PLUGIN COLOR
  background-color: #0071a1 !important;
  */
  background-color: #004f96 !important;
  color: #eee !important;
}

.styled-select select:focus{
    outline: none;
}
.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
  margin-left: 8%
}

.lds-spinner div {
  transform-origin: 16px 16px;
  animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 14.5px;
  width: 2.5px;
  height: 7px;
  border-radius: 20%;
  background: gray;
}
  
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
  
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.frodoc-no-margin {
  margin: 0 !important;
}
.frodoc-text-center {
  text-align: center!important;
}
.frodoc-text-left {
  text-align: left!important;
}
.frodoc-text-right {
  text-align: right!important;
}
.frodoc-semi-bold {
  font-weight: 600;
}
.frodoc-m-b-10 {
  margin-bottom: 10px !important;
}
.frodoc-m-r-5 {
  margin-right: 5px !important;
}


/* Style the buttons that are used to open and close the accordion panel */
.fr-booking-modal .frod-accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-size: 1.4em;
}

.fr-booking-modal .frod-accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  /*font-size: 13px;*/
  color: #777;
  float: right;
  margin-left: 5px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.fr-booking-modal .frod-accordion-active, .fr-booking-modal .frod-accordion:hover {
  background-color: #ccc;
}

.fr-booking-modal .frod-accordion-active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

/* Style the accordion panel. Note: hidden by default */
.fr-booking-modal .frod-panel {
  /*padding: 0 18px;*/
  padding: 9px 18px;
  margin-bottom: 9px;
  background-color: white;
  display: none;
  overflow: hidden;
}



/** EXTRA CSS STYLES INSIDE THE MODAL **/

#modal2 input[type="text"], #modal2 input[type="email"], #modal2 input[type="url"], #modal2 input[type="password"], #modal2 input[type="search"], #modal2 input[type="number"], #modal2 input[type="tel"], #modal2 input[type="range"], #modal2 input[type="date"], #modal2 input[type="month"], #modal2 input[type="week"], #modal2 input[type="time"], #modal2 input[type="datetime"], #modal2 input[type="datetime-local"], #modal2 input[type="color"], #modal2 select {
  color: #666;
  background: #fff;
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  border: 1px solid #bbb;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  display: block;
  width: 100%;
}
#modal2 input[type="text"], #modal2 input[type="email"], #modal2 input[type="url"], #modal2 input[type="password"], #modal2 input[type="search"], #modal2 input[type="number"], #modal2 input[type="tel"], #modal2 input[type="range"], #modal2 input[type="date"], #modal2 input[type="month"], #modal2 input[type="week"], #modal2 input[type="time"], #modal2 input[type="datetime"], #modal2 input[type="datetime-local"], #modal2 input[type="color"] {
  padding: 0.7em;
}


#modal2 input[type="text"],
#modal2 input[type="email"],
#modal2 input[type="number"],
#modal2 fieldset,
#modal2 select {
  border: 1px solid #333;
  box-sizing: border-box;
}


#modal2 input:disabled {
  background-color: #eee;
}
#modal2 select:disabled {
  background-color: #eee;
}

#modal2 input:invalid,
#modal2 select:invalid {
  -webkit-box-shadow: 0 0 5px 1px #ff0000a1 !important;
  -moz-box-shadow: 0 0 5px 1px #ff0000a1 !important;
  box-shadow: 0 0 5px 1px #ff0000a1 !important;
}

#modal2 input.invalid,
#modal2 select.invalid {
  -webkit-box-shadow: 0 0 5px 1px #ff0000a1 !important;
  -moz-box-shadow: 0 0 5px 1px #ff0000a1 !important;
  box-shadow: 0 0 5px 1px #ff0000a1 !important;
}

#modal2 input:focus:invalid
#modal2 select:focus:invalid {
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

#modal2 label {
  color: #626262 !important;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
}

#modal2 button.frodoc-btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

#modal2 button.frodoc-btn:hover, button.frodoc-btn:focus {
  /*color: #0071a1;*/
  opacity: .90;
  outline: 0;
}

#modal2 button:disabled {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: .65 !important;
}

#modal2 button.frodoc-btn.btn-color-1 {
  /* PLUGIN COLOR
  background-color: #0071a1;
  */
  background-color: #004f96;
  color: #fff;
}

#modal2 button.frodoc-btn.btn-color-2 {
  /* PLUGIN COLOR
  background-color: #0aa699;
  */
  background-color: #0192d3;
  color: #fff;
}

.hour-schedule {
  /* PLUGIN COLOR
  background-color: rgb(0, 113, 161);
  */
  background-color: #004f96;
  color: #fff;
  padding: 5px 9px !important;

  font-size: 11px;
  text-shadow: none;
  font-family: 'Open Sans';
  font-weight: 600;
  
  line-height: 1;
  text-align: center;
  vertical-align: baseline;
  border-radius: .25em;
}

.hour-schedule:hover {
  /* PLUGIN COLOR
  background-color: #5cb85c !important;
  */
  background-color: #0192d3 !important;
}

.hour-schedule.selected {
  /* PLUGIN COLOR
  background-color: #5cb85c !important;
  */
  background-color: #0192d3 !important;
}

.hour-schedule.disabled {
  background-color: #ff3737;
  opacity: .65 !important;
}

.hour-schedule.disabled:hover {
  background-color: #ff3737;
}

.hour-schedule.low-count {
  background-color: rgb(255, 113, 44);
}

#btn-validate-doc, #btn-validate-doc-guardian {
  width: 50%;
}

#btn-retry-doc, #btn-retry-doc-g {
  width: 75%;
}

#modal2 #intro-step-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#modal2 #error-step-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#modal2 #birthdate_input {
  display: inline;
  width: 55%;
}

@media screen and (max-width: 480px) {
  #modal2 #birthdate_input {
    width: 100%;
  }
}

/*@media (max-width: 640px) {*/
@media screen and (max-width: 768px) {
  #btn-validate-doc, #btn-validate-doc-guardian {
    width: 100%;
  }
  #btn-retry-doc, #btn-retry-doc-g {
    width: 100%;
  }
}

#link-modal-terms {
  color: blue;
  text-decoration: underline;
}

.frodoc-badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  padding-bottom: 4px;
  margin-left: 5px;
  text-shadow: none;
  font-family: 'Open Sans';
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  /* PLUGIN COLOR
  background-color: #0aa699;
  */
  background-color: #0192d3;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border-radius: 10px;
}


@media (min-width: 850px) {
  .vw-related {
    max-width: 70vw;
  }
}

@media (min-width: 1020px) {
  .vw-related {
    max-width: 60vw;
  }
}
@media (min-width: 1425px) {
  .vw-related {
    max-width: 50vw;
  }
}

@media (min-width: 1775px) {
  .vw-related {
    max-width: 40vw;
  }
}

/* RESPONSIVE DATEPICKER BLOCK */
#ui-datepicker-div {
  background-color: #004f96;
}
.ui-datepicker {
  padding: .2em .2em 0;
  display: none;
}
.ui-datepicker-calendar {
  width: 100%;
  background-color: #0192d3;
  background-color: white;
}
.ui-datepicker .ui-datepicker-header {
  position: relative;
  padding: .2em 0;
  width:100%;
  background-color: #004f96;
}
.ui-datepicker-header{
  width:100%;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  position: absolute;
  top: 2px;
  width: 1.8em;
  height: 1.8em;
  background: white;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
  top: 1px;
}
.ui-datepicker .ui-datepicker-prev {
  left: 2px;
}
.ui-datepicker .ui-datepicker-next {
  right: 2px;
}
.ui-datepicker .ui-datepicker-prev-hover {
  left: 1px;
}
.ui-datepicker .ui-datepicker-next-hover {
  right: 1px;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -8px;
  top: 50%;
  margin-top: -8px;
}
.ui-datepicker .ui-datepicker-title {
  margin: 0 2.3em;
  line-height: 1.8em;
  text-align: center;
}
.ui-datepicker .ui-datepicker-title select {
  font-size: 1em;
  margin: 1px 0;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
  width: 45%;
}
.ui-datepicker table {
  width: 100%;
  font-size: .9em;
  border-collapse: collapse;
  margin: 0 0 .4em;
}
.ui-datepicker th {
  padding: .7em .3em;
  text-align: center;
  font-weight: bold;
  border: 0;
  color: white;
  color: #333;
}
.ui-datepicker td {
  border: 0;
  padding: 1px;
}
.ui-datepicker td span,
.ui-datepicker td a {
  display: block;
  padding: .2em;
  text-align: center;
  text-decoration: none;
}
.ui-state-default {
    background: #0192d3 !important;
    color: white !important;
}
.ui-state-default.ui-state-active {
    border: 1px solid #003eff;
    background: #004f96 !important;
    font-weight: normal;
    color: #ffffff;
}
.ui-datepicker .ui-datepicker-buttonpane {
  background-image: none;
  margin: .7em 0 0 0;
  padding: 0 .2em;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}
.ui-datepicker .ui-datepicker-buttonpane button {
  float: right;
  margin: .5em .2em .4em;
  cursor: pointer;
  padding: .2em .6em .3em .6em;
  width: auto;
  overflow: visible;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
  float: left;
}
  
/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi {
  width: auto;
}
.ui-datepicker-multi .ui-datepicker-group {
  float: left;
}
.ui-datepicker-multi .ui-datepicker-group table {
  width: 95%;
  margin: 0 auto .4em;
}
.ui-datepicker-multi-2 .ui-datepicker-group {
  width: 50%;
}
.ui-datepicker-multi-3 .ui-datepicker-group {
  width: 33.3%;
}
.ui-datepicker-multi-4 .ui-datepicker-group {
  width: 25%;
}
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
  border-left-width: 0;
}
.ui-datepicker-multi .ui-datepicker-buttonpane {
  clear: left;
}
.ui-datepicker-row-break {
  clear: both;
  width: 100%;
  font-size: 0;
}

/* RTL support */
.ui-datepicker-rtl {
  direction: rtl;
}
.ui-datepicker-rtl .ui-datepicker-prev {
  right: 2px;
  left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next {
  left: 2px;
  right: auto;
}
.ui-datepicker-rtl .ui-datepicker-prev:hover {
  right: 1px;
  left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next:hover {
  left: 1px;
  right: auto;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane {
  clear: right;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
  float: left;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
.ui-datepicker-rtl .ui-datepicker-group {
  float: right;
}
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
  border-right-width: 0;
  border-left-width: 1px;
}

@media screen and (max-width: 480px) {
  .ui-datepicker {
    width: 65%;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .ui-datepicker {
    width: 50%;
  }
}