.hamburger,
.hamburger.active {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-top: 42px;
    float: right;

    /* Copying li background */
    background-image: -ms-linear-gradient(top, #8BE4FA 0%, #63CDEA 100%);
    background-image: -moz-linear-gradient(top, #8BE4FA 0%, #63CDEA 100%);
    background-image: -o-linear-gradient(top, #8BE4FA 0%, #63CDEA 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #8BE4FA), color-stop(1, #63CDEA));
    background-image: -webkit-linear-gradient(top, #8BE4FA 0%, #63CDEA 100%);
    background-image: linear-gradient(to bottom, #8BE4FA 0%, #63CDEA 100%);
    color: #2e3191;
    border: 1px solid #1284c6;
    box-shadow: 0 0 1px #97F7FF;
}
.hamburger .hamburger-icon {
    width: 20px;
    height: 3px;
    display: block;
    position: absolute;
    left: 9px;
    top: 17px;
    background: #2e3191;

    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: all 0.3s ease;
}
.hamburger .hamburger-icon:before,
.hamburger .hamburger-icon:after {
    content: '';
    width: 20px;
    height:3px;
    display: block;
    position: absolute;
    background-color: #2e3191;

    transition: all 0.3s ease;
    -webkit-transform: rotate(0deg) translate(0px,0px);
    -moz-transform: rotate(0deg) translate(0px,0px);
    -ms-transform: rotate(0deg) translate(0px,0px);
    -o-transform: rotate(0deg) translate(0px,0px);
    transform: rotate(0deg) translate(0px,0px);
}
.hamburger .hamburger-icon:before {
    top: -7px;
    left: 0;
}
.hamburger .hamburger-icon:after {
    bottom: -7px;
    left: 0;
}
.hamburger.active .hamburger-icon {
    background: 0 0;
}
.hamburger.active .hamburger-icon:before {
    -webkit-transform: rotate(45deg) translate(5px,5px);
    -moz-transform: rotate(45deg) translate(5px,5px);
    -ms-transform: rotate(45deg) translate(5px,5px);
    -o-transform: rotate(45deg) translate(5px,5px);
    transform: rotate(45deg) translate(5px,5px);
}
.hamburger.active .hamburger-icon:after {
    -webkit-transform: rotate(-45deg) translate(5px,-5px);
    -moz-transform: rotate(-45deg) translate(5px,-5px);
    -ms-transform: rotate(-45deg) translate(5px,-5px);
    -o-transform: rotate(-45deg) translate(5px,-5px);
    transform: rotate(-45deg) translate(5px,-5px);
}

.nav-bar.vertical {
    overflow: hidden;
}

@media screen and (max-width: 763px) {
    .top_logo {
        float: left;
    }
    .topnav,
    .udMenu {
        display: none;
    }
    .topnav .nav-bar {
        top: 0;
        display: block;
    }
    .content-frontpage {
        padding-top: 0px;
    }
    .call-to-action {
        padding-left: 0;
    }
    .call-to-action h2 {
        font-size: 43px;
        margin-top: 20px;
        text-align: left;
    }

}
@media screen and (min-width: 764px) {
    .hamburger,
    .hamburger.active {
        display: none;
    }
}

.blue-box {
    background-color: #01bbea;
    color: #fff;
    font-size: 16.8px;
    line-height: 1.3;
    margin-top: 16px;
    padding: 20px;
}

.blue-box ul {
    padding-left: 20px;
}

.blue-box ul li {
    font-size: 16.8px;
}

.blue-box h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.blue-box .blue-box-center-text {
    font-size: 16.8px;
    line-height: 1.3;
    margin-bottom: 0;
    text-align: center;
}

.script {
    font-family: 'Oleo Script', Helvetica, sans-serif;
}

.simple-button {
  padding: 8px 20px;
  background: rgb(229, 86, 63);
  border: 1px solid rgb(229, 86, 63);
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  line-height: 20px;
  color: white;
  cursor: pointer;
  text-align: center;
  -webkit-appearance: none;
}

.simple-button:hover {
  color: white;
  background: rgb(208, 79, 58);
  border: 1px solid rgb(208, 79, 58);
}

.simple-button.spaced {
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: 15px;
}

.simple-button.green,
.simple-button-green
{
  background: rgb(143, 209, 79);
  border: 1px solid rgb(143, 209, 79);
}

.simple-button.green:hover,
.simple-button-green:hover
{
  background: rgb(128, 186, 72);
  border: 1px solid rgb(128, 186, 72);
}

.simple-button.blue,
.simple-button-blue
{
  background: rgb(56, 63, 172);
  border: 1px solid rgb(56, 63, 172);
}

.simple-button.blue:hover,
.simple-button-blue:hover
{
  background: rgb(45, 50, 138);
  border: 1px solid rgb(45, 50, 138);
}

.simple-button.light-blue,
.simple-button-light-blue
{
  background:       rgb(0, 179, 231);
  border: 1px solid rgb(0, 179, 231);
}

.simple-button.light-blue:hover,
.simple-button-light-blue:hover
{
  background:       rgb(2, 156, 200);
  border: 1px solid rgb(2, 156, 200);
}

.simple-button.disabled,
.simple-button[disabled]
{
  color: rgb(206, 202, 202);
  background: rgb(150, 150, 150);
  border: 1px solid rgb(150, 150, 150);
}

.simple-button-plain {
  color: black;
  background: white;
  border: 1px solid #aaa;
}

.simple-button-plain:hover {
  color: black;
  background: #f5f5f5;
  border: 1px solid #aaa;
}

.simple-button.small {
  padding: 4px 20px;
}

.simple-button--short {
  padding-top: 4px; padding-bottom: 5px;
}

.simple-button--thin {
  padding-left:  6px;
  padding-right: 6px;
}

.simple-checkbox {
  width:  30px;
  height: 30px;
  border: 2px solid black;
  border-radius: 6px;
  background: white;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
}

.simple-checkbox:checked:after {
  content: ' ';
  position: absolute;
  left: 5px;
  top: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  background: rgb(0, 179, 231);
  border-radius: 4px;
  display: block;
  pointer-events: none;
}

.simple-checkbox.white {
  border-color: white;
}

.simple-checkbox.small {
  width:  20px;
  height: 20px;
}

.simple-checkbox.small:checked:after {
  left: 2px;
  top:  2px;
  width:  calc(100% - 4px);
  height: calc(100% - 4px);
}

.simple-checkbox[disabled] {
  border: 2px solid #ddd;
}

.simple-checkbox[disabled]:checked:after {
  background: #ccc;
}

.modal-box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 900;
}

.modal-box--therapist {
  /* padding for the "Menu" button */
  padding-top: 38px;
}

.modal-box--showing {
  opacity: 1;
  pointer-events: all;
}

.modal-box__content {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
  max-height: 95%;
  max-width: 95%;
  position: relative;
  overflow: hidden;
}

.modal-box__title {
  width: 100%;
  margin-bottom: 20px;
  padding-right: 30px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  line-height: 30px;
}

.modal-box__close {
  position: absolute;
  right: 10px;
  top:   10px;
  transition: all 0.2s ease;
}

.modal-box__close:hover {
  transform: scale(1.2);
}

.tip-container {
  display: inline-block;
  position: relative;
  vertical-align: top;
}
.tip-container__circle {
  top:   -5px;
  right: -5px;
  position: absolute;
  width: 24px;
  border: 2px solid white;
  border-radius: 99px;
  transition: all 0.2s ease;
}
.tip-container__circle:hover {
  transform: scale(1.2);
}

.--nowrap {
  white-space: nowrap;
}

.scroll-container {
  width: 100%;
  overflow-x: scroll;
}

.simple-button--fill {
  width: 100%;
}

.simple-button__loading-icon {
  padding: 2px;
  background: white;
  border-radius: 100%;
  vertical-align: middle;
  margin-left: 5px;
  width:  15px;
  height: 15px;
}

/* Catch Chrome's buggy and disruptive autofill in an off-screen, invisible,
   un-focusable input element of this class ^^ */
.autofill-bait {
  position: absolute;
  top: -1000px;
  pointer-events: none;
  opacity: 0;
}

input.phone-number-input {
  font-size: 20px !important;
}

.v-spacer {
  height: 20px;
}

.simple-fieldset {
  border: 2px solid black;
  padding: 12px;
}

.simple-fieldset legend {
  background: inherit;
}

.simple-tabs {
    border-bottom: 2px solid gray;
}

.simple-tabs__tab {
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid black;
    margin-bottom: -2px;
    border-radius: 6px 6px 0 0;
    z-index: 100;
    font-weight: bold;
    cursor: pointer;
}

.simple-tabs__tab--active {
    color: white;
    background: #04c1ec;
    border-bottom: 2px solid #04c1ec;
}

.simple-tabs__tab--disabled {
    color: gray;
    border-color: gray;
}

.simple-tabs[disabled] {
    pointer-events: none;
}

.simple-tabs[disabled] .simple-tabs__tab {
    color: gray;
}

.simple-tabs[disabled] .simple-tabs__tab--active {
    color: lightgray;
    background: #888;
    border-bottom: 2px solid #888;
}

label[disabed] {
    pointer-events: none;
}

@media (max-width: 450px) {
    .simple-tabs {
        border-bottom: 0;
    }

    .simple-tabs__tab {
        display: block;
        margin-bottom: 5px;
    }
}

.cyclebox {
    width: 30px;
    height: 30px;
    border: 2px solid black;
    border-radius: 5px;
    background: white;
    text-align: center;
    font-size: 22px;
    cursor: pointer;
}

.cyclebox__option {
    font-size: 22px;
}

.cyclebox[disabled] {
  pointer-events: none;
  border-color: #ccc;
}

.cyclebox__option[disabled] {
  opacity: 0.4;
}

@keyframes fadeout {
  from {
      opacity: 1;
  }
  to {
      opacity: 0;
  }
}

.save-status {
  position: fixed;
  top: 0px;
  right: 0px;
  background: white;
  border: 2px solid white;
  display: inline-block;
  padding: 10px 20px;
  z-index: 10;
}

.save-status--pending {
  background: gray;
}

.save-status--saved {
  background: mediumseagreen;
}

.save-status--error {
  background: red;
}

.save-status__message {
  display: none;
  color: white;
}

.save-status--pending .save-status__message--pending {
  display: block;
}

.save-status--saved .save-status__message--saved {
  display: block;
}

.save-status--error .save-status__message--error {
  display: block;
}

@keyframes endless-rotation {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(359deg);
  }
}

.fa-spinner {
  animation-name: endless-rotation;
  animation-duration: 0.5s;
  animation-direction: normal;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

input[type=range].simple-range {
  -webkit-appearance: none;
  width: 100%;
  margin: 6.2px 0;
  border-radius: 999px;
}

input[type=range].simple-range:focus {
  outline: none;
}

input[type=range].simple-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 23.6px;
  cursor: pointer;
  background: rgba(0,178,224,1);
  border-radius: 16.5px;
  border: 2px solid #010101;
}

input[type=range].simple-range::-webkit-slider-thumb {
  border: 2px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7.2px;
}

input[type=range].simple-range:focus::-webkit-slider-runnable-track {
}

input[type=range].simple-range::-moz-range-track {
  width: 100%;
  height: 23.6px;
  cursor: pointer;
  background: rgba(0,178,224,1);
  border-radius: 16.5px;
  border: 2px solid #010101;
}

input[type=range].simple-range::-moz-range-thumb {
  border: 2px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}
