    /* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v30-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/roboto-v30-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v30-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/roboto-v30-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
	font-family: 'ElegantIcons';
	src:url('../fonts/ElegantIcons.eot');
	src:url('../fonts/ElegantIcons.eot?#iefix') format('embedded-opentype'),
		url('../fonts/ElegantIcons.woff') format('woff'),
		url('../fonts/ElegantIcons.ttf') format('truetype'),
		url('../fonts/ElegantIcons.svg#ElegantIcons') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* –––––––––––––––––––––– Basic Element Styles –––––––––––––––––––––– */
:root {
  --color-lightblue: #EAF7FB;
  --color-darkblue: #013399;
  --color-contentblue: #0199CC;
  --color-contentgreen: #2DA300;
  --color-formred: #ff0000;
  --color-formgrey: #979797;
  --font-sansserif: normal 1em/1.5em 'Roboto', Arial, Helvetica, sans-serif;
  --font-elegant: normal 1.5em/2em 'ElegantIcons';
}
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  padding: 0;
  margin: 0;
  font: var(--font-sansserif);
  font-size: 18px;
  line-height: 120%;
  background-color: var(--color-lightblue);
}
.align-l {
  text-align: left;
}
.align-r {
  text-align: right;
}
.align-c {
  text-align: center;
}
.grey
 {
  color: var(--color-formgrey);
}
.margin-l {
  margin-left: 10px;
}
span.extra {
  font-size: 0.9em !important;
  line-height: 130%;
  display: inline-block;
  max-width: 400px;
  text-align: right;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}



/* –––––––––––––––––––––– Basic Grid Styles –––––––––––––––––––––– */
.c1-8,
.c1-9 {
  grid-column: 1 / 9;
}
.c1-7 {
  grid-column: 1 / 7;
}
.c1-2 {
  grid-column: 1 / 2;
  align-self: center;
}
.c2-3 {
  grid-column: 2 / 3;
  align-self: center;
}
.c2-4 {
  grid-column: 2 / 4;
  align-self: center;
}
.c3-4 {
  grid-column: 3 / 4;
  align-self: center;
}
.c4-5 {
  grid-column: 4 / 5;
  align-self: center;
}
.c5-6 {
  grid-column: 5 / 6;
  align-self: center;
}
.c4-6 {
  grid-column: 4 / 6;
  align-self: center;
}
.c6-8 {
  grid-column: 6 / 8;
  align-self: center;
}
.c8-9 {
  grid-column: 8 / 9;
  align-self: center;
}
.c2-6 {
  grid-column: 2 / 6;
  align-self: center;
}
.c2-8 {
  grid-column: 2 / 9;
  align-self: center;
}
.c5-8 {
  grid-column: 5 / 8;
  align-self: center;
}
.c5-9 {
  grid-column: 5 / 9;
  align-self: center;
}
.c6-9 {
  grid-column: 6 / 9;
  align-self: center;
}
.r2 {
  grid-row: 2;
}
.r3 {
  grid-row: 3;
}
.just-l {
justify-self: left;
}
.bold {
  font-weight: 700;
}

/* –––––––––––––––––––––– Content Styles –––––––––––––––––––––– */
.grid-container,
ul.patients li { 
  display: grid;
  grid-template-columns: 30vw repeat(7,1fr);
  column-gap: 24px;
  row-gap: 0;
  align-items: baseline;
  padding: 0 15px;
  border: none;
  border: none;
  margin: 0 10vw;
}

ul.aerzte li { 
  display: grid;
  grid-template-columns: 15vw repeat(7,1fr);
  column-gap: 24px;
  row-gap: 0;
  align-items: baseline;
  padding: 0 15px;
  border: none;
  margin: 0 10vw;
}

.login-area,
.login-area form {
  background-color: var(--color-lightblue);
}
.login-area {
  padding: 30px 0;
}
.login-area h2 {
  font-size: 22px;
  font-weight: 400;
  color: var(--color-contentblue);
}
.login-area label {
  display: inline-block;
  width: 130px;
}
.login-area input[type=submit] {
  padding: 2.5px 18px;
  margin-left: 8px;
}
.login-area .info-text {
  color: var(--color-contentblue);
  margin-top: 20px;
}
.login-area .alert {
  color: var(--color-formred);
  margin-top: 20px;
}


.top-area {
  width: 100%;
  background-color: var(--color-darkblue);
  color: #fff !important;
  /* position: fixed;
  z-index: 100; */
}
.top-area a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}
.top-area a:hover {
  text-decoration: none;
  opacity: 0.8;
}


.info-area {
  width: 100%;
  background-color: var(--color-lightblue);
  color: #000 !important;
  padding: 14px 0 8px;
}
div.fixed {
  width: 100%;
  position: fixed;
  z-index: 100;
}
.info-area h1,
.patient-list h1,
.aerzte-list h1,
.download-area h1 {
  font: var(--font-sansserif);
  font-size: 22px;
  font-weight: 700;
}
.bottom-area {
  width: 100%;
  background-color: var(--color-lightblue);
  padding-bottom: 30px;
}


.patient-list,
.aerzte-list {
  width: 100%;
  background-color: #fff;
  padding: 50px 0 70px;
}
.patient-list .legende {
  font-size: 16px;
  hyphens: auto;
}
.patient-list ul.patients,
ul.aerzte {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.patient-list ul.patients li,
.aerzte li.patient {
  border-top: 1px solid var(--color-lightblue);
  align-items: center;
  min-height: 50px;
}
.patient-list ul.patients li:last-child,
.aerzte li.patient:last-child {
  border-bottom: 1px solid var(--color-lightblue);
}
.patient-list ul.patients li:hover {
  background-color: var(--color-lightblue);
}
.patient-list span.patient,
.info-area.patient span.patient {
  color: #000;
  font-weight: 500;
  font-size: 22px;
  vertical-align: middle;
}
.patient-list span.pid,
.info-area.patient span.pid {
  width: 200px;
  margin-right: 15px;
  font-size: 18px;
  vertical-align: middle;
}
.patient-list a {
  text-decoration: none;
}
span.plus:before {
  content: "\e050";
  color: var(--color-contentblue);
  font-size: 28px;
  margin-left: -2px;
  /* line-height: 100%; */
}
span.check:before {
  content: "\e052";
  color: var(--color-contentgreen);
  /* line-height: 100%; */
  cursor: default;
}
span.active-form:before {
  content: "\5c";
  color: var(--color-contentblue);
  font-size: 35px;
  margin-left: -5px;
  /* line-height: 100%; */
}
.info-area.patient span.status:before {
 cursor: default;
 left: -1px;
 line-height: 100%
}
.modalButton:before {
  content: "\e051";
  color: var(--color-formgrey);
  /* line-height: 100%; */
  /* display: none; */
}
.modalButton.hidden:before {
  display: none;
}
ul.patients li:hover .modalButton:before {
  /* display: block; */
  cursor: pointer;
}
ul.patients .modalButton.abbruch:before {
  display: none;
}
ul.patients li.abbruch span.pid,
ul.aerzte li.patient.abbruch span:before {
  opacity: 0.5;
}
ul.patients li.abbruch span.patient,
ul.aerzte li.patient.abbruch span.pid {
  opacity: 0.3;
}
span.plus:hover:before,
.modalButton:hover:before,
a.document:hover {
 opacity: 0.8;
}
span.plus.grey:before,
span.check.grey:before,
.modalButton.grey:before {
  color: var(--color-formgrey);
}
span.abbruch:before {
  color: var(--color-formgrey) !important;
  cursor: default;
}
span.check.uaw:before {
  color: var(--color-formred) !important;
}
span.uaw-hinweis {
  color:#000;
  display: block;
}
span.abbruch-hinweis {
  display: block;
}
.form-area {
  width: 100%;
  background-color: var(--color-lightblue);
  color: #000 !important;
  padding: 30px 0;
}
#form-eu, 
#form-fu,
#form-au {
  padding-top: 130px;
}


.download-area {
  width: 100%;
  background-color: var(--color-lightblue);
  color: #000 !important;
  padding: 30px 0;
}
.download-area a {
  text-decoration: none;
  color: var(--color-contentblue);
}
.download-area a.document:after,
a.document:after {
  font: var(--font-elegant);
  position: relative;
  content: "\e092";
  font-size: 20px;
  margin-left: 6px;
  color: var(--color-contentblue);
}
a.document {
  color: var(--color-contentblue);
  text-decoration: none;
  display: block;
  width: fit-content;
}


/* –––––––––––––––––––––– Dashboard Studienleiter –––––––––––––––––––––– */
.aerzte li.arzt .scenter {
  color: var(--color-formgrey);
  font-size: 16px;
  margin-right: 10px;
  vertical-align: middle;
}
.aerzte li.arzt .name {
  color: var(--color-contentblue);
  font-size: 22px;
  font-weight: 500;
  vertical-align: middle;
}
.aerzte li.arzt .city {
  color: var(--color-formgrey);
  font-size: 16px;
  font-weight: 400;
  vertical-align: middle;
  margin-left: 10px;
}
.aerzte li.arzt .patients-num {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  vertical-align: middle;
  margin-left: 10px;
}
.aerzte li.arzt.toggle {
  cursor: pointer;
}
.aerzte li.arzt:hover,
.aerzte li.arzt.open {
  background-color: var(--color-lightblue);
}
.aerzte .aerzte-container {
  padding: 30px 0;
  display: none;
}
.aerzte .legende {
  padding-bottom: 20px;
}
.aerzte .pid {
  font-size: 22px;
  font-weight: 500;
}
.aerzte .arzt div.toggle:before,
.elegant:before {
  font: var(--font-elegant);
  font-size: 26px;
  position: relative;
  cursor: pointer;
}
.aerzte .arzt div.toggle:before {
  color: var(--color-contentblue);
  font-size: 32px;
  line-height: 32px;
}
.aerzte .arzt:hover div.toggle:before {
  content: "\33";
}
.aerzte .arzt.open div.toggle:before {
  content: "\32";
}
.bottom-area {
  width: 100%;
  background-color: var(--color-lightblue);
  color: #000 !important;
  padding: 30px 0;
}
.bottom-area a.export {
  background-color: var(--color-darkblue);
}
.bottom-area a.export:hover {
  background-color: var(--color-contentblue);
}


/* –––––––––––––––––––––– Form Styles –––––––––––––––––––––– */
form {
  background-color: #FCFEFF;
}
form h2,
form h3 {
  font: var(--font-sansserif);
  grid-column: 2 / 9;
  align-self: center;
}
form h2 {
  margin-top: 70px; 
  margin-bottom: 0; 
  font-size: 22px;
}
form h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
}

.form-container { 
  display: grid;
  grid-template-columns: 30vw repeat(7,1fr);
  column-gap: 24px;
  row-gap: 0;
  align-items: baseline;
  padding: 0 15px;
  border: none;
  grid-column: 1 / 2;
  margin: 30px 10vw;
}

.margin-0 {
  margin-top: 0;
}
.top15 {
  margin-top: 15px;
}
.top10 {
  margin-top: 10px;
}
.top60 {
  margin-top: 60px;
}


.rating {
  display: grid;
  grid-template-columns: 15vw repeat(10,1fr) 15vw;
  column-gap: 1px;
  row-gap: 0;
  align-items: baseline;
  padding: 0 15px;
  border: none;
  margin-top: 20px;
}
.rating span.num {
  display: inline-block;
  margin-top: 10px;
}

.input,
input[type="date"] {
  font-size: 18px;
  font-family: inherit;
  padding: 0.25em 0.5em;
  background-color: #fff;
  border: 1px solid var(--color-formgrey);
  transition: 180ms box-shadow ease-in-out;
  width: 150px;
}

.width-l {
  width: 100%;
  max-width: 550px;
}
.width-ml {
  width: 500px;
}
.width-m {
  width: 300px;
}
.width-sm {
  width: 200px;
}
.width-s {
  width: 50px;
}

.input:focus {
  border-color: var(--color-contentblue);
  outline: 3px solid transparent;
  -webkit-box-shadow: 0px 0px 1px 1px var(--color-contentblue); 
  box-shadow: 0px 0px 1px 1px var(--color-contentblue);
}
input::placeholder {
  opacity: 0.7;
  color: var(--color-formgrey);
}

label input[type="radio"],
label input[type="checkbox"] {
  /* display: none; */
  -webkit-appearance: none;
  appearance: none;
  transform: translateY(-0.075em);
  margin: 0;
}
label input[type="radio"] ~ span {
  position: relative;
  display: inline-block;
  padding: 8px 0 6px 32px;
}
label.rating input[type="radio"] ~ span {
  padding: 5px 0 3px 32px;
}
label input[type="radio"] ~ span:before {
  content: "";
  position: absolute;
  display: block;
  width: 26px;
  height: 26px;
  background: #fff;
  margin-right: 5px;
  border: 1px solid var(--color-formgrey);
  border-radius: 50%;
  left: -3px;
  top: 5px;
  box-sizing: border-box;
  transition: all 100ms ease-in-out;
}
.input.error,
label input[type="checkbox"].error ~ span:before,
label input[type="radio"].error ~ span:before,
select.error {
  border: 1px solid var(--color-formred);
}
label input[type="radio"]:checked ~ span:before {
  border: 4px solid #fff;
  background: #000;
  box-shadow: 0px 0px 1px 1px var(--color-formgrey);
}
label input[type="checkbox"] ~ span {
  position: relative;
  display: inline-block;
  padding: 8px 0 6px 35px;
}
label input[type="checkbox"] ~ span:before {
  content: "";
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  background: #fff;
  margin-right: 5px;
  border: 1px solid var(--color-formgrey);
  left: -5px;
  top: 0px;
  box-sizing: border-box;
  /* transition: all 50ms ease-in; */
}
label input.top[type="checkbox"] ~ span:before {
  top: 3px;
}
label input[type="checkbox"]:checked ~ span:before {
  content: "\00d7";
  font-size: 50px;
  padding: 3px 0 0 2px;
}

.select {
  height: 34px;
  margin: 0;      
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 18px;
  font-family: inherit;
  padding: 0.25em 0.5em;
  background-color: #fff;
  border: 1px solid var(--color-formgrey);
  transition: 180ms box-shadow ease-in-out;
  /* background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23000000%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); */
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill='%23979797'%3E%3Cg%3E%3Cpath d='M 22.782,13.8L 17,19.582L 11.218,13.8c-0.39-0.39-1.024-0.39-1.414,0c-0.39,0.39-0.39,1.024,0,1.414 l 6.486,6.486c 0.196,0.196, 0.454,0.294, 0.71,0.292c 0.258,0, 0.514-0.096, 0.71-0.292l 6.486-6.486c 0.39-0.39, 0.39-1.024,0-1.414 C 23.806,13.41, 23.172,13.41, 22.782,13.8z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");  background-position: calc(100% - 10px) center;
  background-position: calc(100% + 15px) 15%;
  background-repeat: no-repeat;
  border-radius: 0px;
}
.select:focus {
  border-color: var(--color-contentblue);
  outline: 3px solid transparent;
  -webkit-box-shadow: 0px 0px 1px 1px var(--color-contentblue);
  box-shadow: 0px 0px 1px 1px var(--color-contentblue);
}
.form-bottom {
  width: 100%;
  background-color: var(--color-lightblue);
  padding: 30px 0;
  margin-top: 50px;
}

input[type=submit],
input[type=button],
a.button {
  background-color: var(--color-contentblue);
  border: none;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  cursor: pointer;
  font: var(--font-sansserif);
  font-size: 18px;
}
input[type=submit]:hover,
input[type=button]:hover,
a.button:hover {
  background-color: var(--color-contentgreen);
}

a.button.cancel,
input[type=button].cancel {
    background-color: var(--color-lighttblue);
    border: 1px solid var(--color-contentblue);
    color: var(--color-contentblue);
    padding: 11px 24px;
    text-decoration: none;
    cursor: pointer;
    font: var(--font-sansserif);
    font-size: 18px;
    display: inline-block;
    text-align: center;
}
a.button.cancel {
  width: 90px;
}

a.button.cancel:hover,
input[type=button].cancel:hover {
  background-color: #fff;
}

span.error {
  border: none;
  color: var(--color-formred);
  max-width: 600px;
  margin-top: 6px;
  display: inline-block;
}

*[id^='zusatz-spaltlampenbefund'],
#zusatz-diagnose {
  width: 300px; 
  margin-left: 15px; 
}
#zusatz-glaukom {
  width: 300px; 
  margin-left: 10px; 
  vertical-align: top;
}
.blue {
 color: var(--color-contentblue);
}
.blue a {
  color: var(--color-contentblue);
  text-decoration: none;
  font-weight: 600;
}

*[id^='zusatz-spaltlampenbefund'],
#zusatz-wechsel-uaw-dropdown,
#zusatz-wechsel-sonstige {
  position: relative;
  top: -3px;
}
#zusatz-wechsel-uaw-dropdown select option:disabled {
  color: red !important;
}


/* –––––––––––––––––––––– Modal –––––––––––––––––––––– */
.modal .form-container { 
  grid-template-columns: 15vw repeat(7,1fr);
  margin: 30px 5vw;
}
.modal form,
form#patient {
  background-color: var(--color-lightblue);
}
form#patient h2 {
  margin-top: 0;
  color: var(--color-contentblue)
}
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(255,255,255,0.8); /* Black w/ opacity */
}
.modal-content {
  background-color: var(--color-lightblue);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  width: 80vw; /* Could be more or less, depending on screen size */
}
.modal .patient-kennung {
  color: var(--color-contentblue);
  font-weight: 500;
}
.modal a.button.cancel {
  background-color: var(--color-lightblue);
}
.modal a.button.cancel:hover {
  background-color: #fff;
}
.modal input[type="text"]  {
  border: 1px solid var(--color-contentblue);
  width: 80%;
}

@media only screen and (max-width: 1024px) {
  .grid-container,
  ul.patients li,
  ul.aerzte li { 
    margin-left: 3vw;
    margin-right: 3vw;
  }
  form .grid-container { 
    margin-left: 10vw;
    margin-right: 10vw;
  }
}
