/*	
Layout für Anmelde-, Profil- und Passwort-Popup
-----------------------------------------------
* included in: index.php
* used in: signin_popup.php, profil_pupup.php, pwd_popup.php
*/

/* Variablen 
   ---------
 */
 /* mobile */
:root {  
  --popup-height: 100%;
  --popup-width: 100%;
  --popup-top: 0;
  --popup-left: 0%;   
  --main-green: #4CAF50;
}
/* PC */
@media all and (min-width: 900px) {  
  :root {  
    --popup-height: 90%; 
    --popup-width: 50%;
    --popup-top: 5%;
    --popup-left: 25%;   
  }
}

#signin_popup, #profil_popup, #pwd_popup, #imp_popup , #dat_popup , #agb_popup{
  z-index: 10;
  display: none;
  position: fixed;
  height: var(--popup-height);
  width: var(--popup-width);
  top: var(--popup-top);
  left: var(--popup-left);
  background-color: white;
}
/* Eingabe außerhalb des Popup blockieren */
.parentdisable {
    z-index: 9;
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.5;
}
#load_parentdisable{
    opacity:0.1;
}

/* Header */
.modal_head {
  z-index: 11;
  position: relative;
  height: 50px;
  border-bottom: 0.5px solid lightgrey;
  background-color: white;
}
div.headertext {
  position: absolute;
  top: 10px;
  left: 40px; 
  padding: 0;
  margin: 0;
  font-size: 30px;
  color: black;
  cursor: pointer;
}
table#headchange {
  position: relative;
  height: 50px;
  width: 100%;
  padding: 0;
  margin: 0;
}
tr {
  width: 100%;
  padding: 0;
  margin: 0;
}
.close {
  position: absolute;
  right: 30px;
  font-size: 40px;
  color: black;
  cursor: pointer;
}
#uel_PwdContent {
  z-index: 13;
  position: absolute;
  top: 55px;
  bottom: 55px;
  width: 100%;
  padding: 0px;
  overflow-x: hidden;
  overflow-y: auto;
}
#uel_ProfilContent, #uel_LogContent, #uel_RegContent, #uel_PwdContent {
  z-index: 12;
  position: absolute;
  width: 100%;
  padding: 0px;
  overflow-x: hidden;
  overflow-y: auto;
}
#imp_content, #dat_content, #agb_content {
  z-index: 12;
  position: absolute;
  width: 100%;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  top:50px;
  bottom:0px;
}
#uel_ProfilContent {
  top: 55px;
  bottom: 55px;
}
#uel_PwdContent {
  top: 30px;
  bottom: 30px;
}
#uel_LogContent {
  top: 100px;
  bottom: 50px;
}
#uel_RegContent {
  top: 100px;
  bottom: 0px;
}
  
th#uel_LogHead, th#uel_RegHead {
  width: 50%;
  border-bottom: 3px solid black;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
}
th#uel_LogHead {
  color: var(--main-green);
  border-bottom-color: var(--main-green);  
}

/* Animation */
div.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}
@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0.7)} 
  to {-webkit-transform: scale(1)}
}
@keyframes animatezoom {
  from {transform: scale(0.7)} 
  to {transform: scale(1)}
}

/* Layout für Login- und Registrier-Formular 
used in: signin_form_login.php, signin_form_register.php
*/
div.container {
  position: relative;
  width: 100%;
  padding: 20px;
  font-size: 20px;
}
form#uel_LogForm, form#uel_RegForm {
  display: inline-block;
  transition: 0.1s;
}
form#uel_RegForm {
  transform: translate(100%,0);
}

.button {
  position: relative;
  width: calc(100% - 40px);
  padding: 10px 10px;
  border: none;
  border-radius: 30px;
  margin: 0;
  font-size: 18px;
  cursor: pointer;
  color: white;
  background-color: var(--main-green);
  transition: 0.3s;
}
.button:hover {
  background-color: green;
}

input[type=text], input[type=password], input[type=email], input[type=number] {
  position: relative;
  z-index:1;
  display: inline-block;
  height: 100%;
  font-size:16px;
  font-weight:normal;
  color:black;
  width: calc(100% - 40px);
  box-sizing: border-box;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
}
#uel_ProfilVerfied{
    margin-left:30px;
    margin-top:0px;
}
#uel_ProfilVerfied h5{
    margin-top:0px;
    cursor:pointer;
}
input#uel_RegNname, input#uel_RegVname, 
input#uel_RegPlz, input#uel_RegStr, input#uel_RegHnr {
  width: 100%;
}
input#uel_ProfilNname, input#uel_ProfilVname {
  width: 100%;
}
::placeholder{
    color:grey;
    font-size:15px;
}
fieldset{
    padding:5px;
}
.input_field {
  position: relative;
  width: 100%;
  height: 35px;
  margin: 7px 0;
}
label.input_label {
  position: absolute;
  z-index:2;
  display: inline-block;
  background-color: white;
  font-size:16px;
  top: 8px;
  left: 10px;
  padding: 0 2px;
  color: grey;
  transition: 0.2s all;
  pointer-events: none;
}
input:focus,
input:valid {
  outline: none;
  border-color: #2196F3;
}
input:focus~label,
input:valid~label,
input:disabled~label{
  font-size: 12px;
  top: -7px;
  color: #2196F3;
}
textarea{
  height:80px;
  line-height: 22px;
  font-size:16px;
  width: calc(100% - 40px);
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 8px 0;
  color: rgb(70,70,70);
}
.textarea_field {
  position: relative;
  width: 100%;
  height: 80px;
}
label.textarea_label {
  position: absolute;
  z-index:2;
  display: inline-block;
  background-color: white;
  font-size:16px;
  top: 15px;
  left: 10px;
  padding: 0 2px;
  color: grey;
  transition: 0.2s all;
  pointer-events: none;
}
textarea:focus,
textarea:valid{
  outline: none;
  border-color: #2196F3;
}
textarea:focus~label,
textarea:valid~label,
textarea:disabled~label{
  font-size: 12px;
  top: 0px;
  color: #2196F3;
}