/* ===========================================================================
   OEM-Anpassungen – MHH Medizinische Hochschule Hannover

   Farben nach dem Webauftritt www.mhh.de:
     MHH-Rot          #F03C14   Akzent: Balken, Schaltflächen, Fokus, Fortschritt
     Text dunkel      #393939   Fließtext, Kopfzeile
     Warmgrau         #887F70   MHH-Logo, Rahmen der Eingabefelder
     Warmgrau dunkel  #786E64   Fußzeile, Hinweistexte
     Hintergrund      #F7F7F5
   Hausschrift ist Frutiger (lizenzpflichtig, nicht eingebettet); wie auf
   mhh.de wird auf Arial/Helvetica zurückgefallen.

   Das Original der Ulm-Fassung liegt in _backup_ulm/.
   =========================================================================== */

html
{
  font-family: Arial, Helvetica, sans-serif;
}

body
{
  background-color: #F7F7F5;
  background-image: none;
}

a,
a:visited
{
  color: #393939;
}

a:hover,
a:active
{
  color: #F03C14;
}

/* ---- Kopfzeile: dunkel für das mRay-Logo, MHH-roter Abschlussbalken ---- */
#header
{
  background-color: #393939;
  border-bottom: 6px solid #F03C14;
  padding: 14px 0;
}

/* ---- MHH-Logo über der Eingabekarte ------------------------------------- */
#clinic-logo-link
{
  display: block;
  width: 280px;
  margin: 36px auto 0;
}

#clinic-logo
{
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

/* ---- Karte ------------------------------------------------------------- */
#content
{
  background-color: #fff;
  border-top: 6px solid #F03C14;
  box-shadow: 0 2px 12px rgba(57, 57, 57, 0.12);
  padding: 16px 12px 8px;
  margin: 28px auto 120px;
}

h1, h2, h3,
h1 *, h2 *, h3 *
{
  color: #393939;
}

#login-page > h2,
#pin-box > h2
{
  font-weight: bold;
}

p.info
{
  color: #786E64;
}

/* ---- Eingabefelder für Zugangscode und PIN ------------------------------ */
form.field-group input
{
  color: #393939;
  background-color: #fff;
  border: 2px solid #887F70;
  border-radius: 0;
}

form.field-group input:focus
{
  outline: none;
  border-color: #F03C14;
  box-shadow: 0 0 0 2px rgba(240, 60, 20, 0.25);
}

/* ---- Schaltflächen ------------------------------------------------------ */
button,
#download-button,
#view-button
{
  color: #fff;
  background-color: #F03C14;
  border: none;
  border-radius: 0;
  font-weight: bold;
}

#download-button:hover,
#view-button:hover
{
  background-color: #C8300F;
}

#download-button:focus-visible,
#view-button:focus-visible
{
  outline: 3px solid #393939;
  outline-offset: 2px;
}

i.fa,
button i
{
  color: #fff;
}

/* ---- Fortschritt -------------------------------------------------------- */
.loader
{
  border: 8px solid #EDEDED;
  border-top: 8px solid #F03C14;
}

#bar
{
  background-color: #F03C14;
}

#progress
{
  border: 2px solid #887F70;
  background-color: #fff;
}

.study
{
  border: 2px solid #887F70;
}

.study .download,
.study .download:visited
{
  border-top: 1px solid #887F70;
}

.study .download:hover,
.study .download:active
{
  background-color: #F03C14;
  color: #fff;
}

/* ---- Fußzeile ----------------------------------------------------------- */
#footer
{
  background-color: #786E64;
}

#footer a,
#footer a:visited
{
  color: #fff;
}

#footer a:hover
{
  color: #F9B1A1;
}

/* ---- Popups (Nutzungsbedingungen, Datenschutz) -------------------------- */
.overlay
{
  background: rgba(57, 57, 57, 0.7);
}

.popup
{
  background: #fff;
  border-top: 6px solid #F03C14;
  border-radius: 0;
}

.popup h2
{
  color: #F03C14;
  font-weight: bold;
}

.popup .close,
.popup .content,
.popup .content h3,
.popup .content h4,
.popup .content p
{
  color: #393939;
}

.popup .close:hover
{
  color: #F03C14;
}

/* ---- Kleine Bildschirme ------------------------------------------------- */
@media only screen and (max-width: 640px)
{
  #clinic-logo-link
  {
    width: 210px;
    margin: 22px auto 0;
  }

  #content
  {
    margin-top: 18px;
    padding: 12px 4px 6px;
  }
}
