:root {
    --main-color: #ab47bc;
  }
.open_calculators {
  width: 64px;
  height: 64px;
  cursor: pointer;
}
.subcalc {
  display: none;
  position: absolute;
  top: 64px;
  z-index: 3;
  background: #ab47bc;
}
.open_subcalc {
  display: block;
}
.brand-logo {
    margin-left: 1rem;
}
.auto-complete-preloader {
  position: absolute;
  bottom: 5px;
}
.auto-complete-preloader img {
  height: 2rem;
}
.accordeon-preloader img {
  height: inherit;
}
.user-name-lastname {
  position: absolute;
  margin-top: 0;
  margin-left: 30px;
}
/* Лоадер */
@keyframes ldio-tbmgxkcv9on {
  0% { opacity: 1 }
  100% { opacity: 0 }
}
.ldio-tbmgxkcv9on div {
  left: 97px;
  top: 79px;
  position: absolute;
  animation: ldio-tbmgxkcv9on linear 1s infinite;
  background: #fe718d;
  width: 6px;
  height: 18px;
  border-radius: 3px / 3.24px;
  transform-origin: 3px 21px;
}.ldio-tbmgxkcv9on div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -0.9166666666666666s;
  background: #fe718d;
}.ldio-tbmgxkcv9on div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -0.8333333333333334s;
  background: #f47e60;
}.ldio-tbmgxkcv9on div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.75s;
  background: #f8b26a;
}.ldio-tbmgxkcv9on div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.6666666666666666s;
  background: #abbd81;
}.ldio-tbmgxkcv9on div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.5833333333333334s;
  background: #849b87;
}.ldio-tbmgxkcv9on div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.5s;
  background: #6492ac;
}.ldio-tbmgxkcv9on div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.4166666666666667s;
  background: #637cb5;
}.ldio-tbmgxkcv9on div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.3333333333333333s;
  background: #6a63b6;
}.ldio-tbmgxkcv9on div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.25s;
  background: #fe718d;
}.ldio-tbmgxkcv9on div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.16666666666666666s;
  background: #f47e60;
}.ldio-tbmgxkcv9on div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.08333333333333333s;
  background: #f8b26a;
}.ldio-tbmgxkcv9on div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
  background: #abbd81;
}
.loadingio-spinner-spinner-l3khv6ohew {
  position: fixed;
  z-index: 5;
  top: 40%;
  left: 40%;
  width: 200px;
  height: 200px;
  display: none;
  overflow: hidden;
  background: none;
}
.ldio-tbmgxkcv9on {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.ldio-tbmgxkcv9on div { box-sizing: content-box; }
/* Конец лоадера */
.enter-text {
  font-size: 1.8rem;
}
.enter-text p {
  font-size: 2.5rem;
  font-weight: 900;
}
img.logo-img {
  height: 100%;
  margin-left: 20px;
}
.auth {
    margin-top: 1rem;
}
#login, #register {
    padding: 2rem 0 0 0;
}
.patient-data {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px;
  margin-bottom: 20px;
}
.od, .os, .god, .gos {
  margin: 10px 10px;
  display: flex;
  justify-content: flex-end;
}
.refraction, .glasses {
  display: flex;
  flex-direction: column;
}
._add {
  margin: 5px 10px;
  align-self: flex-end;
}
.patient-header {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}
.row-header {
  font-weight: bold;
}
button.calc {
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 20px;
}
.patient-data input {
  width: 90px;
  border: none;
  border-bottom: 1px solid black;
  outline: none;
  padding: 0 5px;
}
.calc-result {
  padding: 0 10%;
}
.alert {
    padding: .5rem 1rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 3rem;
    background: rgba(255, 0, 0, .3);
    color: red;
}
.success {
    padding: .5rem 1rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 3rem;
    background: rgba(78, 204, 115, 0.9);
    color: white;
}
.reset_pass {
    margin-top: 4rem;
}
.main {
    margin-top: 3rem;
}
.hidden {
    display: none;
}
.autocomplete {
    background: white;
    z-index: 1000;
    font: 14px/22px "-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: auto;
    box-sizing: border-box;
    border: 1px solid rgba(50, 50, 50, 0.6);
}

.autocomplete * {
    font: inherit;
}

.autocomplete > div {
    padding: 0 4px;
}

.autocomplete .group {
    background: #eee;
}
.autocomplete > div:hover {
    background: #ab47bc;
    color: white;
}
.autocomplete > div:hover:not(.group),
.autocomplete > div.selected {
    background:  #ab47bc;  
    cursor: pointer;
}

#autocomplete-input:focus {
    border-bottom: 1px solid #ab47bc;
    box-shadow: 0 1px 0 0 #ab47bc;
}
#autocomplete-input+label, #complaint+label{
    color: black;
}
textarea, textarea:focus {
    border: none;
    outline: none
}
/*Модальное окно*/
.myModal, .controlsModal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }
  .atepickerInput {
    width: 300px;
    margin:auto;
  }
  #changePatientForm, #createPatientForm {
    margin-top: 3rem;
  } 
  .myModal-content {
    background-color: #fefefe;
    margin: 3% auto;
    padding: 50px 20px;
    border: 1px solid #888;
    width: 80%;
  }

  .controlsModal-content {
    background-color: #fefefe;
      margin: 10% auto;
      padding: 50px 20px;
      border: 1px solid #888;
      width: 80%;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .smart-captcha {
    margin-bottom: 30px;
  }
  .fulname, .birdDate, .caseDate {
      font-size: 1.8rem;
  }
  #toast-container .toast {
      background-color: brown;
  }
  #case {
      position: relative;
  }
  .occluder {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background-color: rgba(0,0,0,0.1);
      z-index: 2;
  }

  #status {
      margin-top: 3rem;
      position: relative;
  }
  #caseOccluder {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
  }
  .myinput {
    width: 40%;
  }
  #status .input-field {
    margin: 2px;
  }
  .my-margin, .my-margin:focus {
    border-bottom: solid 1px rgb(206, 203, 203);
    margin-bottom: 5px;
  }
  .buttons {
      padding: 0 0 15px;
      margin: 0 0 50px;
  }
  .buttons div {
      margin: 0 20px;
  }
  .visHelp {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
  }
  .vis_and_tension, .anamnes {
      padding: 0 15px;
      margin-top: 2rem;
  }
  #visOd, #visOs, #sphOd, #sphOs, #cylOd, #cylOs, #axOd, #axOs, #cvisOd, #cvisOs {
      margin: 0;
      color: black;
      border-bottom: 1px solid #9e9e9e;
      box-shadow: 0 1px 0 0 #9e9e9e;
      height: auto;
      border: none;
      width: 15%;
      outline: none;
  }
  #tensionOd, #tensionOs {
    margin: 0;
    padding: 5px 10px;
    color: black;
    width: 60%;
    border: 1px solid #9e9e9e;
    box-shadow: none;
    text-align: center;
    height: auto;
  }
  .tension {
      display: flex;
      flex-direction: column;
      padding: 0 10px;
      font-size: 0.8rem;
  }
  .one-tension {
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  textarea {
    resize: none;
  }
  .items a {
    color: black;
    font-size: 1.3rem;
  }
  .items a:hover {
    color: #ab47bc;
  }
  .items {
    border-bottom: solid 1px rgb(207, 201, 201);
  }
  #accord {
      position: absolute;
      width: 15%;
      box-shadow: 0.4em 0.4em 5px rgba(122,122,122,0.5);
  }
  .accordion {
    text-align: center;
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;    
  }
  .accordion:hover {
    background-color: #ccc;
  }
  .panel {
    text-align: center;
    background-color: white;
    display: none;
    overflow: hidden;
    position: absolute;
    width: 100%;
    box-shadow: 0.4em 0.4em 5px rgba(122,122,122,0.5);
    z-index: 2;
  }
  .eye-exam {
    display: none;
  }
  
  /*Аккордион на странице контролей*/
    .accordionControls {
      background-color: #eee;
      color: #444;
      cursor: pointer;
      padding: 18px;
      width: 90%;
      text-align: left;
      border: none;
      outline: none;
      transition: 0.4s;
      font-family: 'Open Sans', sans-serif;
      font-size: 1.0rem;
    }
  
    .activeControls,
    .accordionControls:hover {
      background-color: #ccc;
    }
    .accordionControls:focus {
      background-color: #ccc;
    }
  
    .panelControl {
      padding: 0 18px;
      background-color: white;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.2s ease-out;
      font-family: 'Open Sans', sans-serif;
    }
  
    .panelControl p {
      margin: 10px 0;
    }
    .contolDeleter {
      width: 9%;
    }
    .deleterIcons {
      cursor: pointer;
    }
  .archCase {
    width: auto;
    padding: 5px 5px;
    margin: 0;
  }
  .archCase:hover {
    background-color: rgba(122,122,122,0.2);
    cursor: pointer;
  }
  .input-field {
    position: relative;
  }
  .input-field:hover .helper-btn, .input-field:hover .helper-btn-left, .input-field:hover .transfer-right, .input-field:hover .transfer-left {
    display: block;
  }
  .helper-btn {
    position: absolute;
    right: -60px;
    top: 15%;
    cursor: pointer;
    display: none;
  }
  .helper-btn-left {
    position: absolute;
    padding-right: 5px;
    left: -80px;
    top: 5%;
    cursor: pointer;
    display: none;
  }
  .transfer-right {
    position: absolute;
    right: -6px;
    top: 0;
    cursor: pointer;
    display: none;
  }
  .transfer-left {
    position: absolute;
    left: -15px;
    top: 0;
    cursor: pointer;
    display: none;
  }
  .helper-block-bottom {
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: #fff;
    display: none;
    padding: 10px;
    z-index: 2;
    box-shadow: 0 0 10px rgba(122,122,122,0.5);
    overflow-y: scroll;
    max-width: 300px;
    max-height: 800px;
  }
  .helper-block {
    position: absolute;
    right: 0;
    background-color: #fff;
    display: none;
    padding: 10px;
    z-index: 2;
    box-shadow: 0 0 10px rgba(122,122,122,0.5);
    overflow-y: scroll;
    max-width: 300px;
    max-height: 800px;
  }
  .helper-block-left {
    position: absolute;
    left: 0;
    background-color: #fff;
    display: none;
    padding: 10px;
    z-index: 2;
    box-shadow: 0 0 10px rgba(122,122,122,0.5);
    max-width: 300px;
  }
  .helper {
    margin: 0;
    padding: 2px 5px;
  }
  .diplayed {
    display: block;
  }
  .helper:hover {
    cursor: pointer;
    background-color: rgba(122,122,122,0.2);
  }
  .material-icons:hover {
    font-weight: 900;
  }
  .add-help {
    max-width: 500px;
    padding: 20px;
  }
  .inline {
    display: flex;
  }
  #template {
    margin-bottom: 3rem;
  }
  #template > div {
    border: 2px solid rgb(100, 52, 52);
    border-radius: 10px;
    margin: 20px 0;
    padding: 20px;
  }
  .help-del {
    cursor: pointer;
  }
  button#save-change {
    position: fixed;
    top: 190px;
    right: 0;
  }
  #patient-name-bird {
    display: flex;
    justify-content: start;
  }
  #patient-name-bird div {
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  input::-webkit-calendar-picker-indicator {
    display: none;
  }

  /* Слайдер */
  .slider {
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
  }

  .slider__wrapper {
    display: flex;
    transition: transform 0.6s ease;
  }

  .slider__item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .del {
    text-decoration: line-through;
    color: #999797;
  }
  
  /* Анимация призм*/
  .recipeForPrism {
    margin: 0 20px;
  }
  .btnBox {
    width: 1000px;
    display: flex;
    justify-content: center;
  }
  .myinput input[type=text]:focus {
      border-bottom: 1px solid #ab47bc;
      box-shadow: 0 1px 0 0 #ab47bc;
    }
  .prismGlasses {
    width: 1000px;
    height: 500px;
    margin: 0 auto;
    background-image: url(images/drawingEyes1.png);
  }
  #animationFieldRight {
    height: 500px;
    width: 500px;
    float: left;
    position: relative;
  }
  #animationFieldLeft {
    height: 500px;
    width: 500px;
    float:right;
    position: relative;
  }
  .cross {
    font-size: 1.2em;
    color:red;
    position: absolute;
  }
  .prismBasis {
    position: absolute;
    width: 30px;
    height: 30px;
    font-size: 15px;
    font-weight: 600;
    line-height: 90%;
    color:#fff;
    text-shadow: 3px 3px 3px #000;
    user-select: none;
  }
  #rightLens {
    width: 250px;
    height: 250px;
    border-radius: 125px;
    position: relative;
    touch-action: none;
    left: 150px;
    top: 125px;
    cursor: pointer;
    background: rgba(216, 216, 243, 0.4);
    opacity: 1.0;
    border: solid black 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #leftLens {
    width: 250px;
      height: 250px;
      border-radius: 125px;
      position: relative;
      touch-action: none;
      left: 100px;
      top: 125px;
      cursor: pointer;
      background: rgba(216, 216, 243, 0.4);
      opacity: 1.0;
      border: solid black 10px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  #calcField {
    display: flex;
    justify-content: space-evenly;
  }
    #clearBtn {
      margin: -15px 0 0 0;
      float: right;
      z-index: 1;
    }
    .recipe {
      width: 1000px;
      display: flex;
      justify-content: space-around;
      margin-top: 30px;
      margin-bottom: 50px;
    }
    .rightRecipe, .leftRecipe {
      display: flex;
    }
    .moveBtnRight, .moveBtnLeft {
      position:absolute;
    }
    .rightMoveHorizontal {
      top:480px;
      left:20px;
      height: 20px;
      width: 60px;
      display: flex;
      justify-content: space-around;
      z-index: 1;
    }
    .rightMoveVertical {
      height: 60px;
      width: 20px;
      top: 440px;
      left: 0px;
      z-index: 1;
    }
    .leftMoveHorizontal {
      top: 480px;
      left: 430px;
      height: 20px;
      width: 60px;
      display: flex;
      justify-content: space-around;
      z-index: 1;
    }
    .leftMoveVertical {
      height: 60px;
      width: 20px;
      top: 440px;
      left: 500px;
      z-index: 1;
    }
    #moveODLeft, #moveODRight, #moveODUp, #moveODDown,
    #moveOSLeft, #moveOSRight, #moveOSUp, #moveOSDown {
      cursor: pointer;
      font-size: 20px;
      user-select: none;
    }
    #rightHorizontalOffset, #rightVerticalOffset,
    #leftHorizontalOffset, #leftVerticalOffset {
      position: absolute;
    }
    #rightHorizontalOffset, #leftHorizontalOffset {
      top: -40px;
      left: 0px;
      width: 230px;
      height: 30px;
      display: flex;
      justify-content: space-around;
    }
    #rightVerticalOffset, #leftVerticalOffset {
      height: 230px;
      width: 56px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
    }
    #rightVerticalOffset {
      top: 0px;
      left: -62px;
    }
    #leftVerticalOffset {
      top: 0px;
      left: 240px;
    }
    #mmrightHorizontalOffset, #prismrightHorizontalOffset,
    #mmrightVerticalOffset, #prismrightVerticalOffset,
    #mmleftHorizontalOffset, #prismleftHorizontalOffset,
    #mmleftVerticalOffset, #prismleftVerticalOffset {
      display: flex;
      align-items: center;
      color:#fff;
      font-weight: 600;
      background-color: #000;
      border-radius: 5px;
      padding: 3px;
      line-height: 80%;
    }

  /*Страница очковых аберраций*/ 
header {
  width: fit-content;
  margin: 0 auto;
}

main {
  width: fit-content;
  margin: 0 auto;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.canvasBlock {
  position: relative;
  margin: 0px 20px 0 0;
}

#canvas {
  position: absolute;
}

#canvas-basis,
#canvas {
  width: 400px;
  height: 200px;
}

.inputs_block {
  font-size: 1.0em;
  color: #302e2e;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.inputs_block input {
  width: 60px;
}

#fakeLensSph,
#fakeLensCyl,
#cylAx,
#vertex,
#objDistance,
#eyeModelRefraction,
#setkaSize,
#objHeight {
  width: 80px;
  border: none;
}

.object,
.firstLens,
.eyeModel,
.setka {
  display: flex;
  margin: 10px 0;
}

.firstLens div:nth-child(1),
.eyeModel div:nth-child(1),
.object div:nth-child(1),
.setka div:nth-child(1){
  width: 280px;
}
.firstLens div:nth-child(2),
.eyeModel div:nth-child(2),
.object div:nth-child(2),
.setka div:nth-child(2) {
  width: 280px;
}

.firstLens div,
.eyeModel div,
.object div {
  margin-right: 20px;
  border: #e7e7e7 2px solid;
  border-radius: 15px;
  padding: 0 5px;
}

.resultBlock {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 1.1em;
  color: #302e2e;
  margin-top: 20px;
}

input[type=number] {
  outline: none;
}

input[type=number]::-webkit-inner-spin-button {
  opacity: 1;
}

#lensSph,
#lensCyl {
  width: 13px;
  border: none;
}

.computing span,
.supComputing span {
  font-weight: 700;
}

.supComputing {
  font-size: 0.9em;
  margin: 20px 0 0 20px;
  color: #302e2e;
}

.left10 {
  margin-left: 10%;
}

  @media (min-width: 980px) {
    .slider__item {
      flex: 0 0 50%;
      max-width: 50%;
    }
  }

  .slider__control {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    color: #fff;
    text-align: center;
    opacity: 0.7;
    height: 50px;
    transform: translateY(-50%);
    background: #fafafa;
  }

  .slider__control:hover,
  .slider__control:focus {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: .9;
  }

  .slider__control_left {
    left: 0;
  }

  .slider__control_right {
    right: 0;
  }

  .slider__control::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 36px;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
  }

  .slider__control_left::before {
    background-image: url("/images/chevron_left.png");
  }

  .slider__control_right::before {
    background-image: url("/images/chevron_right.png");
  }

  .slider__item>div {
    font-size: 40px;
    overflow: hidden;
    padding: 45px;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    font-weight: 900;
  }
  .small-text-slider {
    font-size: 25px;
  }
  .controlExist, .archControls {
    text-align: right;
  }
  #recommendations {
    font-size: 1.2em;
    font-weight: 700;
    line-height: 95%
  }

  @media (max-width: 1000px) {
    #accord {
        position: relative;
        width: 25%;
    }
    .helper-btn {
      padding-left: unset;
      right: unset;
      top: unset;
      z-index: 2;
    }
    .helper-btn-left {
      padding-right: unset;
      left: unset;
      top: unset;
      z-index: 2;
    }
    .myinput {
      width: 80%;
    }
    .slider__item>div {
      font-size: 30px;
    }
    #login, #register {
      width: 80%;
      margin-left: 8%;
    }
    #autocomplete-input+label, #complaint+label{
      color: black;
      font-size: 0.8rem;
    }
    header {
      margin-left: 10px;
    }
    .inputs_block, .resultBlock{
      margin-left: 10px;
    }
    .supComputing{
      margin-left: 0;
    }

    #fakeLensSph,
    #fakeLensCyl {
      display: none;
    }
    
    #lensSph,
    #lensCyl {
      width: 50px;
    }
    .firstLens div:nth-child(1),
    .eyeModel div:nth-child(1),
    .object div:nth-child(1),
    .setka div:nth-child(1) {
      width: 120px;
    }
    
    .firstLens div:nth-child(2),
    .eyeModel div:nth-child(2),
    .object div:nth-child(2),
    .setka div:nth-child(2) {
      width: 120px;
     }
  }