/* abel-regular - latin */
@font-face {
  font-family: 'Abel';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/abel-v10-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Abel Regular'), local('Abel-Regular'),
       url('/assets/fonts/abel-v10-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/abel-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/assets/fonts/abel-v10-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/abel-v10-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/abel-v10-latin-regular.svg#Abel') format('svg'); /* Legacy iOS */
}



body {
    margin:0px;
    padding: 0px;
    font-family: "Abel","Helvetica Neue",Helvetica,Arial,sans-serif;
    overscroll-behavior-y: contain;
}
#topbar {
  position: fixed;
  height:70px;
  background-color: black;
  color: white;
  width: 100%;
  background-color: #506492;
  top: 0px;
  margin:0px;
  z-index: 99;
}

a{
    color: #506492;
}

.modal {
  background-color: rgba(80, 99, 145, 0.88);
}

#jitsi {
  margin:0px;
  width:100%;
  margin-top: 00px;
  padding-top: 70px;
  height: calc(100vh - 70px);
  height: calc(var(--vh, 1vh) * 100 - 70px);
  float:left;
  background: #2B4066;
  overflow: none;
}
#etherpad {
  margin:0px;
  width:100%;
  margin-top: 70px;
  height: calc(100vh - 70px);
  height: calc(var(--vh, 1vh) * 100 - 70px);
  float:left;
  
}
#etherdraw {
  margin:0px;
  width:100%;
  margin-top: 70px;
  height: calc(100vh - 110px);
  height: calc(var(--vh, 1vh) * 100 - 110px);
  float:left;
  position: relative;
  overflow-y: scroll;
    overflow-x: hidden;
}

.checkerboard {
    background-image: url(/img/checkerboard.png);
    background-position: 0px -1px;
}

#filebox {
  margin:0px;
  width:100%;
  margin-top: 70px;
  height: calc(100vh - 70px);
  height: calc(var(--vh, 1vh) * 100 - 70px);
  float:left;
  
}
#custom {
  margin:0px;
  width:100%;
  margin-top: 70px;
  height: calc(100vh - 70px);
  height: calc(var(--vh, 1vh) * 100 - 70px);
  float:left;
  
}
.logo {
  height: 60px;
  margin: 5px;
  margin-left: 15px;
}

.avatar {
  height: 60px;
  margin: 5px;
  margin-left: 15px;
}

.loadingbg {
  background-image: url(/img/loading.gif);
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 100px;
}

#videospace {
  top: 70px;
}
.button {
    border-radius: 3px;
    background-color: #506492;
  color: white;
  padding: 12px 20px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
    text-decoration: none;
}
.active {
    font-weight: bold;
}

h1, h2 {  
  display: block;
  color: #506492;
  font-weight: 800;
  font-size: 32px;
  text-align: center;
}

.toplinks, .toplinks a, .toplinks.a:visited, .toplinks.a:active {
  color: white;
  font-size: 12px;
}
.toplinks a:hover {
  color: #EEE;
}

.regularbutton {
  background-color: #EEE;
  color: #666;
  padding: 7px 20px;
  margin-top: 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 3px;
  
}



.btnsmall {
    padding-left: 5px;
    padding-right: 2px;
}

small {
        font-size: 14px;
}

.block {
    width: 95%;
}

.copylink {
  background-color: #506492;
  color: #EEE;
  width: 400px;
  padding: 7px 20px;
  border: 0px;
  margin-right: 10px;
}

/* Style inputs, select elements and textareas */
.container input[type=text], .container input[type=password], .container select, .container textarea, .modalcontainer input[type=text], .modalcontainer input[type=password], .modalcontainer select, .modalcontainer textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  font-family: Arial;
  font-size: 14px;
}

.container input[readonly]
{
    background-color:#EFEFEF;
}

/* Style the label to display next to the inputs */
.container label {
  padding: 12px 12px 12px 0;
  display: inline-block;
  font-family: Arial;
  font-weight: bold;
  color: #506492;
  font-size: 16px;
}

/* Style the submit button */

.container input[type=submit], .container .submitbutton {
  background-color: #506492;
  color: white;
  padding: 12px 20px;
  margin-top: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: Arial;
  font-size: 14px !important;
  float: right;
  text-decoration: none;
}

button.submitbutton {
    background-color: #506492;
  color: white;
  padding: 12px 20px;
  margin-top: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: Arial;
  font-size: 14px !important;
  text-decoration: none;
}

.container .secondarybutton {
  background-color: #BBB;
  color: white;
  padding: 12px 20px;
  margin-top: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: Arial;
  font-size: 14px !important;
  text-decoration: none;
  float:left;
}

button.modalsmallbutton {
    margin-left: 5px;
    float: left;
    padding: 6px;
    padding-right: 6px;
    padding-left: 6px;
    padding-left: 12px;
    padding-right: 12px;
    margin-top: 0px;
}

.container .formcontainer {
  background-color: #EEE;
  padding: 20px;
  
}

/* Style the container */
.container {
  border-radius: 5px;
  padding: 20px;
  margin-top: 40px;
  max-width: 800px;
  margin-left:auto;
  margin-right: auto;
}



/* Floating column for labels: 25% width */
.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}


/* Floating column for inputs: 75% width */
.col-50 {
  float: left;
  width: 50%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


/* select2 */
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 43px;
    padding: 7px;
    font-family: Arial;
    font-size: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 4px;
}

 /* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

.select-selected {
  background-color: white;
  padding: 12px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px;
  font-size: 14px;
  overflow: hidden;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 17px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #000 transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #000 transparent;
  top: 10px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: #000;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: #FFF;
  font-size: 14px;
  top: 100%;
  left: 0;
  width: auto;
  z-index: 99;
  border: 1px solid #ccc !important;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
} 

.buttonicon {
    margin-bottom: -3px;
}
.h3icon {
    
    margin-bottom: -10px;
    margin-right: 10px;
}

.checkcontainer {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

label.checkcontainer  {
  padding:5px;
  display: inline-block;
  font-family: Arial;
  font-weight: normal;
  font-size: 14px;
    padding-left: 40px;
    color: black;
}

/* Hide the browser's default checkbox */
.checkcontainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}


/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #FFF;
  border-radius: 50%;
  border: 1px solid #ccc;
  margin-top:2px;
}

input[type="checkbox"] {
  display:none;
}
input[type="checkbox"] + label {
  width: 35px;
  height: 20px;
  border-radius: 15px;
  border: 2px solid #ddd;
  background-color: #EEE;
  display: inline-block;
  padding: 0px;
  margin-top: 10px;
  content: "";
  float: left;
  margin-right: 5px;
  transition: background-color 0.5s linear;
  /*margin-top: 15px;*/
}
input[type="checkbox"] + label:hover {
  cursor: pointer;
}
input[type="checkbox"] + label::before {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background-color: #fff;
  display: block;
  content: "";
  float: left;
  margin-right: 5px;
  transition: margin 0.1s linear;
  box-shadow: 0px 0px 5px #aaa;
}
input[type="checkbox"]:checked+label{
  background-color: #506492;
}
input[type="checkbox"]:checked+label::before {
  margin: 0 0 0 20px;
}

input[type="checkbox"] + label {
  position: relative;
}
input[type="checkbox"] + label::after {
    position: absolute;
    left: 50px;
    top: 3px;
    font-weight: normal;
    font-size: 12px;
    color: #666;
    width: 400px;
    
}

input[type="checkbox"] + label.labelnovideo::after {
    content: "Kameras der Teilnehmer deaktivieren";
}
input[type="checkbox"] + label.labelnovoice::after {
    content: "initial alle Teilnehmer stummschalten";
}


/* On mouse-over, add a grey background color */
.checkcontainer:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.checkcontainer input:checked ~ .checkmark {
  background-color: #ddd;
}

input.error, select.error, .custom-select.error {
    border: 2px solid red !important;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.checkcontainer input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.checkcontainer .checkmark:after {
  top: 6px;
  left: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #506492;
}

 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  overflow-y: auto;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

.chatmodal {
    display:none;
    z-index: 500;
    top: 105px;
    height: calc(100vh - 10px);
    width: 300px;
    border: 0px;
    position: fixed;
    left: 0px;
}

.blink_me div.modal-content {
  animation: blinker 0.5s linear infinite;
}

@keyframes blinker {
  50% {
    background-color: #CCC;
  }
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  /*margin: 10% auto;*/ /* 15% from the top and centered */
  margin: 105px auto;
  padding: 20px;
  border: 1px solid #888;
  max-width:900px;
  width: 85%;
  overflow-wrap: anywhere;
}

div.modal-content {
-webkit-box-shadow: 3px 3px 17px -6px rgba(0,0,0,0.65);
-moz-box-shadow: 3px 3px 17px -6px rgba(0,0,0,0.65);
box-shadow: 3px 3px 17px -6px rgba(0,0,0,0.65);
}

#modalSignal div.modal-content {
    padding-top:5px;
    padding-bottom: 5px;
}
#modalChat div.modal-content {
    padding-top: 5px;
    padding-bottom: 5px;
}


/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
      margin-top: -6px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
} 

h3 {
    color: #444;
    font-size: 20px;
    padding-bottom: 5px;
    margin-top: 0px;
    /*border-bottom: 1px solid #DDD;*/
}

#maintext {
    max-width: 50%;
}

#appcontent {
    background: white;
    height: 100vh;
}

.startuperror {
    clear: both; padding:10px; margin-bottom:20px; border-radius: 5px; border: 1px solid red; color: black;
    background: #ffa9a0;
}
.startupwarning {
    clear: both; padding:10px; margin-bottom:20px; border-radius: 5px; border: 1px solid orange; color: black;
    background: #ffca6a;
}

.toolbar {
                height: 38px !important;
                padding-top: 0;
                margin: 0;
                background-color: #fff !important;
                background: 0 0;
                border: 1px solid #d2d2d2;
                display: block;
        }
        .toolbar .button {
            margin-top: 0px;
            border-radius: 0px;
            font-family:Verdana;
            background-color: #FFF;
            color: white;
            width: 120px;
            cursor: pointer;
            font-size: 13px;
            text-decoration: none;
            float: right;
            text-align: center;
            color: #666;
            min-height: 16px;
            padding: 11px 20px;
            border-left: 1px solid #d2d2d2;
            cursor: pointer;
        }
        .toolbar .button:hover, #doupload:hover {
            background-color: #EEE;
        }

/*#pdf-canvas {
  border: 1px solid black;
  direction: ltr;
}*/
.paging {
    font-size:12px;
    margin-top: 12px;
    float: left;
}

.dividier {
    border-right: 1px solid #d2d2d2;
    height: 39px;
    float: left;
    margin-top: 0px;
    
    margin-left: 5px;
    margin-right: 7px;
}

.etherdrawpdfoverlay {
    display: inline;
    z-index: 11;
    position: fixed;
    bottom: 0px;
    /* margin-left: 0px; */
    background-color: #FFF;
    border-top: 1px solid #d2d2d2;
    height: 39px;
    width: 100%;
    margin: 0px;
}
.verticalscrolloverlay {
    position: fixed;
    display: none;
    right: 0px;
    z-index: 20;
    width: 20px;
    height: 100%;
    background: #EEE;
    border-left: 1px solid #d2d2d2;
}
.horizontalscrolloverlay {
    position: fixed;
    display: none;
    left: 0px;
    z-index: 20;
    bottom: 0px;
    height: 20px;
    width: calc(100% - 20px);
    background: #EEE;
    border-top: 1px solid #d2d2d2;
}





.etherdrawbutton {
    margin-top: 6px;
    margin-right: 0px;
    padding: 5px;
    padding-left: 0px;
    padding-right: 0px;
    font-family: Arial;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    float: left;
}
.etherdrawbutton:hover {
    background-color: #eee;
    border-radius: 3px;
}

.lockbutton {
    position: fixed;
    bottom: 6px;
    right: 20px;
    z-index: 99;
    padding: 8px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.anchor {
    clear: both;
    margin-top: -70px;
    position: absolute;
}

small a {
    color: #CCC !important;
    text-decoration: none;
    font-size:1em !important;
}

#chatiframe {
    height: 70%;
    min-height: 400px;
    width: 100%;
    border: 0px;
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
}

#screenshot {
    border: 1px solid #CCC;
    float: right;
    width: 400px;
    margin-left: 40px;
}
.readonlyfield {
    width:200px; float:left
}

.topbuttons {
    margin-left:auto; margin-right: auto; float:right
}
.topbuttongroup {
    padding-right: 10px;
    padding-left: 10px;
    float: left;
}

.isactive {
    background-color: #d2d2d2;
}
.regularbutton:hover {
    background-color: #d2d2d2;
}

*:focus {
    outline: none;
}

[data-tooltip] {
    position: relative;
}
 
[data-tooltip]::after {
  content: attr(data-tooltip);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
 
  display: block;  
  position: absolute; 
  top: 4em;
  right: 0em;
  width: 15em;
  padding: 0.5em;
  z-index: 100;
  color: #EEE; 
  background-color: #222;
  border: solid 1px #222;
  border-radius: 4px;  
}
 
[data-tooltip]:hover::after {
  opacity: 1;
}

@media screen and (min-width: 1025px) and (max-width: 1300px) {
    .regularbutton svg {
    display: none;
  }
  .btnsmall svg {
    display: inline;
  }
}

@media screen and (max-width: 1024px) and (min-width: 601px) {
 .regularbutton, .regularbutton:active {
    padding: 5px 5px;
    margin-top: 5px;
    border: 0px;
    width: auto;
  }
  [data-tooltip]::after {
    display: none;
  }
  .topbuttons {
      margin-top: 16px;
  }
  .regularbutton svg {
    display: none;
  }
  .btnsmall svg {
    display: inline;
  }
  
  .chatmodal {
    width: 50%;
    top: 2px;
    height: 50%;
  }
  

  
  .verticalscrolloverlay {
    display: inline;
  }
  .horizontalscrolloverlay {
          display: inline;
      }
  
  
  /*#jitsi {
    position: relative !important;
  }*/
  
  
  
  #button_screenshare {
    display: none;
   }
   /*#button_splitscreen {
    display: none;
   }*/
   /*#button_message {
    display: none;
  }*/
  #button_signal {
    display: none;
  }
  #button_invite {
    display: none;
  }
}

@media (hover: none) {
    .etherdrawpdfoverlay {
    bottom: 20px;
  }
  .verticalscrolloverlay {
    display: inline;
  }
  .horizontalscrolloverlay {
          display: inline;
      }
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, .col-50, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
  [data-tooltip]::after {
    display: none;
  }
  
  .toplinks {
    right: 5px !important;
  }
  
  img {
    margin-bottom: 20px;
  }
  
  #chatiframe {
    height: 60%;
    min-height: 300px;
  }
  
    #etherdraw {
    position: initial;
  }
  
  #pdf-canvas {
    top: 110px !important;
  }
  
  .chatmodal {
    width: 100%;
    top: 2px;
    height: 50%;
  }
  
  /*#grid {
    display: none;
  }*/
  
  .hidemobile {
    display: none !important;
  }
  
  .verticalscrolloverlay {
    display: inline;
  }
  .horizontalscrolloverlay {
          display: inline;
      }
  .etherdrawpdfoverlay {
    bottom: 20px;
  }
  
  #jitsi {
    position: relative !important;
  }

  #button_splitscreen {
    display: none;
  }
  #button_screenshare {
    display: none;
  }
  /*#button_message {
    display: none;
  }*/
  #button_help {
    display: none;
  }
  #button_trash {
    display: none;
  }
  #button_signal {
    display: none;
  }
  #button_invite {
    display: none;
  }
  #teachercreateroomsuffix, #visitorroomsuffix {
    display: none;
  }
  #teacherjoinroomsuffix {
    display: none;
  }
  #maintext {
    display: none;
    
  }
  
  button.submitbutton {
    width:100%;
    float:left !important;
  }
  
  .container input[type=submit], .container .submitbutton {
    float: left;
    width: 85%;
  }
  
  .custom-select {
    width: 100% !important;
  }
  .regularbutton, .regularbutton:active {
    padding: 5px 5px;
    padding-bottom: 7px;
    margin-top: 5px;
    border: 0px;
    width: auto;
  }
  button.modalsmallbutton {
    background-color: #506492;
    color: white;
    padding: 12px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: Arial;
    font-size: 14px !important;
    text-decoration: none;
    float: right;
    width: 100%;
  }
  .topbuttons {
      margin-top: 16px;
  }

  .logo {
      height: 40px;
      margin-top: 12px;
  }
  
  .topbuttongroup {
    padding-right: 2px;
    padding-left: 2px;
    float: left;
   }
  
  .readonlyfield {
    width:100%
  }
  
  h2 {
    font-size: 28px;
  }
  .buttontext {
    display: none;
  }
  #myBtn {
    display: none;
  }
  #screenshot {
    width: 100%;
    margin-bottom: 20px;
  }
  #etherpadbuttonmobil {
    display: inline !important;
  }
  .container .formcontainer {
    clear: both;
    }
}

@media screen and (max-width: 375px) {
   #button_invite {
        display: none;
   }
   .avatar {
        display: none;
   }
   
   .verticalscrolloverlay {
        display: inline;
      }
      .horizontalscrolloverlay {
          display: inline;
      }
      .etherdrawpdfoverlay {
    bottom: 20px;
  }
}