﻿/*
input[data-type="LabledTextBox"], label {
    font-size: 16px;
    line-height: 20px;
}

input[data-type="LabledTextBox"] {
    display: block;
    outline: none;
    width: 200px;
    border: 1px solid #ccc;
    padding: 4px;
    margin-top: 35px;
    background-color: #f3f3f3;
    color: #444;
    border-radius: 5px;
    transition: background-color 1s step-end;

    & + label {
        position: relative;
        top: -30px;
        left: 5px;
        font-size: 16px;
        color: #ccc;
        pointer-events: none;
        transition: all 0.25s ease;
    }

    &:focus, &:not(:placeholder-shown), &:-webkit-autofill {
        background-color: #fff;

        & + label {
            top: -52px;
            left: 0px;
            color: black;
            font-size: 12px;
        }
    }
}*/
.loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
}

.loader {
    left: 50%;
    margin-left: -4em;
    font-size: 10px;
    border: .8em solid rgba(218, 219, 223, 1);
    border-left: .8em solid #7e71b3;
    animation: spin 1.1s infinite linear;
}

    .loader, .loader:after {
        border-radius: 50%;
        width: 8em;
        height: 8em;
        display: block;
        position: absolute;
        top: 50%;
        margin-top: -4.05em;
    }

@keyframes spin {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}
#HomeScreenDiv, #form, #notification {
    display: none;
}

.appointment a {
    cursor: pointer;
}
.logo-area {
  width: 100%;
  float: left;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-left: 20px;
}

.brand {
  display: inline-block;
  float: right;
}

label {
  padding-left: 5px;
}

.btn-div {
  margin-top: 5px;
}
input[type="button"] {
  min-width: 120px;
  margin-bottom: 10px;
}

.save-btn {
    min-width: 120px;
}
#submit-btn {
  min-width: 120px;
}


.bottomMargin {
  margin: 2% 5% 2% 0%;
}

.form-horizontal .control-label.text-left {
  text-align: left;
}

.form-group.flex-it {
  margin-right: 0;
  margin-left: 0;
  display: flex;
  justify-content: space-between;
}

.form-group.flex-it .form-control {
  width: 30%;
}

.form-group.flex-it .form-control:first-child {
  margin-left: -20px;
}

.form-group.flex-it .form-control:last-child {
  margin-right: -20px;
}

.form-group.flex-it-override .form-control {
  width: 100%;
}

.alert-box {
  padding: 23px;
  text-align: center;
}

.col-sm-2 {
  padding-top: 1%;
}

/* make medical form scroll*/
/*
.medical-conditions {
  height: 60vh;
  overflow-x: hidden;
  overflow-y: scroll;
}
*/
/* scroll bar */

/* Style for the tooltip */
[data-tooltip] {
    position: relative;
    cursor: help;
}

    /* Tooltip appearance */
    [data-tooltip]:before {
        content: attr(data-tooltip);
        position: absolute;
        background: #7e71b3;
        color: #fff;
        padding: 5px;
        border-radius: 4px;
        max-width: 300px;
        z-index: 1;
        bottom: calc(100% + 5px);
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        pointer-events: none;
    }

    /* Tooltip display on hover */
    [data-tooltip]:hover:before {
        transition: opacity 0.5s ease;
        content: attr(data-tooltip);
        opacity: 1;
    }

.medical-conditions::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}

.medical-conditions::-webkit-scrollbar {
  -webkit-appearance: none;
}
.medical-conditions::-webkit-scrollbar:vertical {
  width: 11px;
}

.medical-conditions::-webkit-scrollbar:horizontal {
  height: 11px;
}

.medical-conditions::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 0px solid white; 
  background-color: #7e71b3;
}

/*
#cancelModalCenter .modal-dialog,
#saveModalCenter .modal-dialog,
#submitModalCenter .modal-dialog {
  -webkit-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transform: translate(0, -50%);
  top: 50%;
  margin: 0 auto;
}*/

.privacy-notice {
  display: inline-block;
  margin-top: 10px;
}
legend {
  font-family: "Agenda Lt";
  font-size: 1.188em;
  line-height: 1.4;
}

.required {
  color: red;
}
.errors {
  margin-top: 5px;
  color: red;
  text-align: center;
}

#version {
    display: inline-block;
    padding-right: 10px;
}

@media (min-width: 472px) and (max-width: 900px) {
    .logo-area {
    float: right;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 400px) and (max-width: 900px) {
  .logo-area a {
    display: block;
    float: right;
  }
}

@media only screen and (max-width: 472px) {
  .logo-area {
    float: right;
  }

  .form-group.flex-it {
    margin-right: 15px;
    margin-left: 15px;
  }
}

@media (max-width: 616px) {
  .appointment {
    display: inline-block;
    float: right;
  }
  .hidden-cell {
    display: none !important;
  }
}
