/* DejaVu Serif */

@font-face
{
  font-family: 'DejaVu Serif';
  src: url('/src/fonts/DejaVu/DejaVuSerif.ttf') format('truetype');
}

@font-face
{
  font-family: 'DejaVu Serif';
  src: url('/src/fonts/DejaVu/DejaVuSerif-Bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face
{
  font-family: 'DejaVu Serif';
  src: url('/src/fonts/DejaVu/DejaVuSerif-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

@font-face
{
  font-family: 'DejaVu Serif';
  src: url('/src/fonts/DejaVu/DejaVuSerif-Italic.ttf') format('truetype');
  font-style: italic;
}

@font-face
{
  font-family: 'DejaVu Serif Condensed';
  src: url('/src/fonts/DejaVu/DejaVuSerifCondensed.ttf') format('truetype');
}

@font-face
{
  font-family: 'DejaVu Serif Condensed';
  src: url('/src/fonts/DejaVu/DejaVuSerifCondensed-Italic.ttf') format('truetype');
  font-style: italic;
}

@font-face
{
  font-family: 'DejaVu Serif Condensed';
  src: url('/src/fonts/DejaVu/DejaVuSerifCondensed-Bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face
{
  font-family: 'DejaVu Serif Condensed';
  src: url('/src/fonts/DejaVu/DejaVuSerifCondensed-BoldItalic.ttf') format('truetype');
  font-style: italic;
  font-weight: bold;
}

@font-face
{
  font-family: 'DejaVu Serif Condensed';
  src: url('/src/fonts/DejaVu/DejaVuSerifCondensed-BoldItalic.ttf') format('truetype');
  font-style: italic;
  font-weight: bold;
}

/* Open Sans */

@font-face
{
  font-family: 'Open Sans';
  src: url('/src/fonts/Open-Sans/OpenSans-Light.ttf') format('truetype');
  font-weight: 300;
}

@font-face
{
  font-family: 'Open Sans';
  src: url('/src/fonts/Open-Sans/OpenSans-LightItalic.ttf') format('truetype');
  font-style: italic;
  font-weight: 300;
}

@font-face
{
  font-family: 'Open Sans';
  src: url('/src/fonts/Open-Sans/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face
{
  font-family: 'Open Sans';
  src: url('/src/fonts/Open-Sans/OpenSans-Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
}

@font-face
{
  font-family: 'Open Sans';
  src: url('/src/fonts/Open-Sans/OpenSans-Semibold.ttf') format('truetype');
  font-weight: 600;
}

@font-face
{
  font-family: 'Open Sans';
  src: url('/src/fonts/Open-Sans/OpenSans-SemiboldItalic.ttf') format('truetype');
  font-style: italic;
  font-weight: 600;
}

@font-face
{
  font-family: 'Open Sans';
  src: url('/src/fonts/Open-Sans/OpenSans-BoldItalic.ttf') format('truetype');
  font-style: italic;
  font-weight: 700;
}

@font-face
{
  font-family: 'Open Sans';
  src: url('/src/fonts/Open-Sans/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face
{
  font-family: 'Open Sans';
  src: url('/src/fonts/Open-Sans/OpenSans-ExtraboldItalic.ttf') format('truetype');
  font-style: italic;
  font-weight: 800;
}

@font-face
{
  font-family: 'Open Sans';
  src: url('/src/fonts/Open-Sans/OpenSans-Extrabold.ttf') format('truetype');
  font-weight: 800;
}


/*Folgendes übernommen*/

h1
{
  color: #00457d;
  font-size: 2.2rem;
  font-family: 'Open-Sans', Arial, Helvetica, sans-serif;
  margin-block-start: 0em;
  margin-block-end: 0.5em;
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1.65rem;
}

h2
{
  color: #00457d;
  font-size: 1.44rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.3;
  margin-bottom: 0.73333rem;
  font-weight: bold;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  display: block;
}

h3
{
  display: block;
  font-size: 1.2rem;
  margin-block-start: 0.1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
}

p
{
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: #000000;
  font-size: 1rem;
  line-height: 1.5;
  display: block;
  margin-block-start: 0em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  letter-spacing: 0.01em;
}

a
{
  text-decoration: none;
  color: #1a588a;
  font-size: 1rem;
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
}

button
{
  color: white;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: 0px;
  background-color: #00457d;
  padding: 0.55em;
  margin-top: 0.3em;
  margin-right: 1.7em;
  letter-spacing: 0.02em;
}

button:hover
{
  background-color: #4b7ca3;
  color: white;
  cursor: pointer;
}

.hr
{
  clear: both;
  border: 0;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 1px 0 #e6ecf2;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
}

.hrMobile
{
  clear: both;
  border: 0;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 1px 0 #e6ecf2;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
}

/*bis hierhin übernommen*/

/*mobile first*/

body
{
  margin: 0px;
  min-height: calc(100% - 10px);
}

html
{
  height: 100%;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 100%;
  line-height: 21px;
  letter-spacing: .01em;
  padding: 0px;
  border: 0px;
  margin: 0px;
}

.grid-container
{
  min-height: 100vh;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto auto 1fr;
  padding: 0px;
  border: 0px;
  margin: 0px;
  background-color: white;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  letter-spacing: .01em;
  font-size: 1rem;
  /* hier Schriftgröße ändern */
  line-height: 1.4rem;
}

.grid-container > div
{
  padding: 20px 0.6em;
  background-color: #fcfcfc;
  /* hier padding für alle grid-divs */
}

/*Make items start on column 1 and end before column 4 */

.row
{
  grid-column: 1/4;
}

/* .empty{

} */

div.pic
{
  display: flex;
  justify-content: center;
  padding: 0px;
  /* hier nochmal wegen des paddings schauen */
}

div.pic > img
{
  width: 250px;
  height: max-content;
}

div.description
{
  padding-top: 0;
}

div.header
{
  padding: 13px;
  background-repeat: no-repeat;
  border-bottom: 0px;
  border-radius: 0px 0px 0px 0px;
  color: white;
  background-color: #00457d;
}

div.ub-logo
{
  background-color: #e6ecf2;
  color: #00457d;
  padding: 13px;
  position: sticky;
  top: 0;
  z-index: 1;
}

div.ub-logo > #UBSchrift
{
  /*Schrift "Universitätsbibliothek"*/
  font-weight: 400;
  font-size: 1.14rem;
  line-height: 21px;
  color: #00457d;
  display: flex;
  justify-content: center;
  grid-row-start: 2;
  grid-row-end: 3;
}

#UniLogo
{
  display: none;
}

div.header > #UniSchrift
{
  color: #fff;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 21px;
  display: flex;
  justify-content: center;
  grid-row-start: 1;
  grid-row-end: 2;
}

#UBLogo
{
  display: none;
}

#ubFooter
{
  grid-column: 1/4;
  background-color: rgb(230, 236, 242);
  border-top: 7px solid rgb(204, 218, 229);
  grid-row-start: 100;
  grid-row-end: 101;
}

#ubFooter > p
{
  text-align: center;
  color: rgb(0, 69, 125);
  text-shadow: rgb(255, 255, 255) 1px 1px 0px;
  font-size: 0.8rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.5rem;
}

div.dataTables_wrapper
{
  position: inherit;
  hyphens: auto;
}

.BeraterFoto
{
  width: 250px;
  height: auto;
  margin: 0.1em 0em 1.4em 0em;
}

/* DataTable-Style */

thead
{
  border-bottom: 6px solid #e6e6e6;
  background-color: #00457d;
  color: white;
  text-align: left;
}

table.dataTable.no-footer
{
  border-bottom: 1px solid #ddd !important;
  font-size: 0.9em;
}

tr.odd
{
  background-color: #f0f4f8 !important;
}

.dataTable > tbody > tr:hover
{
  background-color: #c3c9cf !important;
}

/* mediaQueries */

/* Display */

@media all and (min-width:768px)
{
  body
  {
    margin: 10px 0px 0px;
  }

  .html
  {
    background-color: #e6ecf2;
    font-size: 87.5%;
    line-height: 21px;
    letter-spacing: .01em;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  }

  .grid-container
  {
    display: grid;
    min-height: calc(100vh - 10px);
    grid-template-columns: 300px auto auto;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  }

  .grid-container > div
  {
    padding: 20px;
  }

  /*Make pictures start on column 1 and end before column 2*/
  table.dataTable.no-footer
  {
    font-size: 1em;
  }

  div.pic
  {
    grid-column: 1/2;
    background-color: #fcfcfc;
  }

  div.description
  {
    grid-column: 2/4;
    background-color: #fcfcfc;
    border-bottom: none;
    padding-bottom: 0px;
    ;
    margin-bottom: 0px;
    place-self: center;
  }

  div.BeraterFoto
  {
    margin: 0.1em 0em 1.4em 0em;
  }

  div.header
  {
    background-image: linear-gradient(to bottom, #00457d 10%, #336a97 85%, #336a97 95%);
    background-repeat: no-repeat;
    border-bottom: 0px;
    border-radius: 8px 67px 0px 0px;
    margin: 0px;
    padding: 30px;
    display: table-cell;
  }

  div.ub-logo
  {
    padding: 13px 30px;
    position: unset;
    top: 0;
  }

  /*make UniLogo visible*/

  #UniLogo
  {
    display: block;
    margin: 0px 20px 0px 0px;
    float: left;
    width: 98.6px;
    height: 98.6px;
    border: 0px;
    max-width: 150px;
    max-height: 150px;
  }

  div.header > #UniSchrift
  {
    color: #e6ecf2;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 98.6px;
    display: table-cell;
    vertical-align: middle;
    text-decoration: none;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    width: 100%;
  }

  div.ub-logo > #UBSchrift
  {
    font-size: 1.2rem;
    line-height: 55px;
    font-weight: 400;
    text-shadow: 1px 1px #fff;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    display: inline;
  }

  #UBLogo
  {
    display: block;
    float: right;
    font-size: 2.8rem;
    font-family: 'DejaVu Serif Condensed', 'Liberation Serif', 'DejaVu Serif', serif;
    font-weight: bold;
    color: #00457d;
    line-height: 55px;
    letter-spacing: .02em;
    width: auto;
    height: 55px;
  }

  #Videosymbol
  {
    width: 125px;
    height: auto;
  }

  div.item5
  {
    color: #00457d;
    font-weight: 700;
  }

  .hrMobile
  {
    clear: both;
    border: 0;
    border-bottom: 0;
    box-shadow: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  #ubFooter > p
  {
    font-size: 1rem;
    line-height: 1.7rem;
  }
}

/* Formular-Klassen */
.ubb_submit
{
  margin: 1.2em auto 0em auto;
  padding: 0.7em;
  width: 12em;
  /* font-weight: 500; */
  letter-spacing: 0.05em;
  color: white;
  background-color: #00457d;
  border: 0px;
}

.ubb_submit:hover
{
  background-color: #4b7ca3;
  cursor: pointer;
}

fieldset
{
  margin: 0;
  padding: .35em 0 .66em;
  border: 0;
  width: 95%;
}

input, select, textarea, button
{
  background-color: #f0f4f8;
  border: 1px solid #b3c7d8;
  box-shadow: none;
  font-size: 100%;
  font-weight: 400;
  font-family: inherit;
  width: 95%;
  margin-top: 0.25em;
  margin-bottom: 1em;
  margin-right: 0px;
  margin-left: 0px;
  padding: .5em .6em;
  display: block;
}

input:focus, select:focus, textarea:focus
{
  outline-color: #00457d;
}

.ubb_label
{
  display: block;
  margin-top: .3666666667rem;
  margin-bottom: .55rem;
  color: #00457d;
  font-weight: 700;
  /*font-size: 100%;
  width: 100%;
  margin-bottom: 0.3em;
  display: block;*/
}

.ubb_terms
{
  width: 20px;
  margin-bottom: 0em;
  padding: 0em;
  display: unset;
}


/* Modal Style */
div.modal
{
  display: block;
  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: #F0F0F0; /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

div.modal.ubb-hide
{
  display: none;
}

/* Modal Content/Box */
.modal-content
{
 background-color: #fefefe;
 margin: 10% auto auto; /* 10% from the top and centered */
 padding: 18px 20px;
 border: 1px solid #888;
 width: 82%; /* Could be more or less, depending on screen size */
 max-width: 510px;
}

.modal-content.modal-content-success
{
  max-width: 850px;
  margin: 2px auto auto;
}

div.info-window > p
{
  margin: 0;
}

div.info-window
{
  font-size: 24px;
  border-radius: 15px;
  text-align: center;
  padding: 25px 15px;
  margin-bottom: 20px;
}

div.info-window-success
{
  background-color: #DFD;
  color: #0A0;
}

div.info-window-error
{
  background-color: #FDD;
  color: #E00;
}

.info-window-success,
.info-window-error
{
  display: None;
}

.info-window-success.info-window-visible,
.info-window-error.info-window-visible
{
  display: inherit;
}

button,
a.lnk-btn,
input.btn
{
  color: white;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  background-color: #00457d;
  padding: 0.55em;
  margin-top: 0.3em;
  margin-right: 1.7em;
  letter-spacing: 0.02em;
}

button:hover,
a.lnk-btn:hover,
input.btn:hover
{
  background-color: #4b7ca3;
  color: white;
  cursor: pointer;
}

a.lnk-btn
{

}

.pull-right
{
  float: right;
}

div.modal-footer
{
  display: inline-block;
  width: 100%;
}

.hide
{
  display: none;
}

span.mandatory
{
  color: red;
}

div.header > p#langLinks
{
  color: white;
  font-weight: bold;
  margin-bottom: 0;
  float: right;
}

div.header > p#langLinks > a
{
  color: white;
  font-weight: lighter;
  text-decoration: none;
}

div.header > p#langLinks > a:hover
{
  text-decoration: dashed underline;
}
