/**
CSS FILE FOR WORKSPACE DESIGN
 */

:root {
  --defaultcolor: #c2cb2a;
  --beveco: #c2cb2a;
  --devel: steelblue;
  --tn: peru;
}

* {
  box-sizing: border-box;
  font-family: century-gothic, -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  /*font-size: 16px;*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-size: 20px;
}

body {
  /*background-color: #435165;*/
  margin: 0;
  background-image: url('https://www.beveco.org/wp-content/uploads/2021/02/contract-scaled.jpg');
  background-color: rgba(255,255,255,0.5);
  background-blend-mode: screen;
}

::-webkit-scrollbar { 
    /*width: 0;
    height: 0;*/
}

.login, .register {
  width: 500px;
  background-color: #ffffff;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 100px auto;
}

.login h1, .register h1 {
  text-align: center;
  color: #626469;
  font-size: 24px;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #dee0e4;
}

.login .links, .register .links {
  display: flex;
  padding: 0 15px;
}

.login .links a, .register .links a {
  color: #adb2ba;
  text-decoration: none;
  display: inline-flex;
  padding: 0 10px 10px 10px;
  font-weight: bold;
}

.login .links a:hover, .register .links a:hover {
  color: #9da3ac;
}

.login .links a.active, .register .links a.active {
  border-bottom: 3px solid var(--defaultcolor);
  color: var(--defaultcolor);
}

.login form, .register form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.login form label, .register form label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12%;
  height: 50px;
  background-color: var(--defaultcolor);
  color: #ffffff;
}

.login form input[type="password"], .login form input[type="text"], .login form input[type="email"], .register form input[type="password"], .register form input[type="text"], .register form input[type="email"] {
  width: 80%;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
}

.login form input[type="submit"], .register form input[type="submit"] {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: var(--defaultcolor);
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
  border-radius: 0;
  -webkit-border-radius: 0;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.login form input[type="submit"]:hover, .register form input[type="submit"]:hover {
  background-color: var(--defaultcolor);
  filter: brightness(1.1);
  transition: background-color 0.2s;
}

.login form #rememberme, .register form #rememberme {
  width: 100%;
  height: auto;
  padding: 5px 20px;
  background-color: transparent;
  color: #000;
  justify-content: flex-start;
}

.login form #rememberme input, .register form #rememberme input {
  transform: scale(1.3);
  margin-right: 7px;
}

.login form .msg, .register form .msg {
  padding: 0 20px;
  width: 100%;
}

.login form > a, .register form > a {
  text-decoration: none;
  color: #626469;
  width: 100%;
  padding: 5px 20px;
}

.login form > a:hover, .register form > a:hover {
  color: #394049;
}

.navtop {
  background-color: var(--defaultcolor);
  height: 60px;
  width: 100%;
  border: 0;
}

.navtop div {
  display: flex;
  margin: 0 auto;
  width: 1200px;
  height: 100%;
}

.navtop div h1, .navtop div a {
  display: inline-flex;
  align-items: center;
}

.navtop div h1 {
  flex: 1;
  font-size: 24px;
  padding: 0;
  margin: 0;
  color: white;
  font-weight: normal;
  text-align-last: center;
}

.navtop div a {
  padding: 0 15px;
  text-decoration: none;
  color: white;
  font-weight: 300;
}

.navtop div a i {
  padding: 2px 8px 0 0;
}

.navtop div a:hover {
  color: white;
}

#navtop-data {
  font-size:14px; 
  padding-left:30px;
}

body.loggedin {
  background-color: #f3f4f7;
}

.content {
  width: 80%;
  margin: 0 auto;
  text-align: justify;
}

.content h2 {
  margin: 0;
  padding: 25px 0;
  font-size: 22px;
  border-bottom: 1px solid #e0e0e3;
  color: #4a536e;
}

.content .block {
  box-shadow: 0 0 20px 0 rgba(0, 100, 0, 0.3);
  margin: 25px 0;
  padding: 25px;
  background-color: #fff;
}

.content .block table {
  width: 100%;
  /*border-collapse: collapse;*/
}

.content .block table td {
  overflow: hidden;
  padding: 0px;
}

.content .block table td:first-child {
  font-weight: bold;
  color: #4a536e;
  /*padding-right: 15px;*/
}

.content .block table td:last-child {
  word-break: break-all;
}

.content .block p {
  padding: 5px;
  margin: 0 0 10px 0;
}

.content .blockp {
  box-shadow: 0 0 20px 0 rgba(0, 100, 0, 0.3);
  margin: 25px 0;
  padding: 25px;
  background-color: #fff;
}

.content .blockp table {
  width: 100%;
  /*border-collapse: collapse;*/
}

.content .blockp table td {
  overflow: hidden;
  padding: 0px 10px;
}

.content .blockp table td:first-child {
  font-weight: bold;
  color: #4a536e;
  /*padding-right: 15px;*/
}

.content .blockp table td:last-child {
  word-break: break-all;
}

.content .blockp p {
  padding: 5px;
  margin: 0 0 10px 0;
}

.content.profile form label {
  display: block;
  padding: 0px 0 5px 0;
}

.content.profile form input[type="text"], .content.profile form input[type="password"], .content.profile form input[type="email"], .content.profile form select {
  width: -webkit-fill-available;
  border: 1px solid #ddd;
}

.content.profile .profile-btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  background-color: var(--defaultcolor);
  margin: 15px 5px 0 0;
  padding: 10px 15px;
  border-radius: 0;
  -webkit-border-radius: 0;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.content.profile .profile-btn:hover {
  background-color: #2868c7;
}

.more {display: none;}

.collapsible {
  background-color: var(--defaultcolor);
  opacity: 0.8;
  cursor: pointer;
  padding: 2px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  margin-bottom:10px;
}

.active, .collapsible:hover {
  background-color: var(--defaultcolor);
  opacity: 1;
}

.collapsecontent {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #f1f1f1;
  margin-bottom:10px;
}

:root {
	--ColorPrimaryDk: #193957;
    --ColorPrimaryLt: #31689b;
}

.range-slider {
    --range-slider-common-height: 16px;
    --range-slider-handle-width: 24px;
    --range-slider-handle-height: 24px;

    position: relative;
    display: flex;
	align-items: center;
    width: 99%;
	height: 100%;
}

.range-slider > div {
    position: absolute;
    display: flex;
	align-items: center;
	left: 13px;
	right: 15px;
	height: var(--range-slider-common-height);
}

.range-slider > div > .range-slider-val-left, 
.range-slider > div > .range-slider-val-right, 
.range-slider > div > .range-slider-val-range {
    height: 10px;
}

.range-slider > div > .range-slider-val-left {
	position: absolute;
	left: 0;
	border-radius: 10px;
	background-color: #ccc;
	margin: 0 7px;
}

.range-slider > div > .range-slider-val-right {
	position: absolute;
	right: 0;
    margin: 0 7px;
    border-radius: 10px;
	background-color: #ccc;
}

.range-slider > div > .range-slider-val-range {
    position: absolute;
    left: 0;
    top: -1px;
    height: 16px;
	border-radius: 14px;
	background-color: var(--ColorPrimaryLt);
}

.range-slider > div > .range-slider-handle {
    z-index: 1;
    position: absolute;
	top: -5px;
    margin-left: -11px;
    width: var(--range-slider-handle-width);
    height: var(--range-slider-handle-height);
    border-radius: 25%;
    background-color: #fff;
    text-align: left;
	
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    outline: none;
    cursor: pointer;
}

div.range-slider > input[type="range"]::-ms-thumb {
	width: var(--range-slider-handle-width);
    height: var(--range-slider-handle-height);
    border: 0 none;
    border-radius: 0px;
    background: red;
    
    pointer-events: all;
	
}

div.range-slider > input[type="range"]::-moz-range-thumb {
	width: var(--range-slider-handle-width);
    height: var(--range-slider-handle-height);
    border: 0 none;
    border-radius: 0px;
    background: red;
    
    pointer-events: all;
}

div.range-slider > input[type="range"]::-webkit-slider-thumb {
	width: var(--range-slider-handle-width);
    height: var(--range-slider-handle-height);
    border: 0 none;
    border-radius: 0px;
    background: red;
    
    pointer-events: all;
	-webkit-appearance: none;
}

div.range-slider > input[type="range"]::-ms-fill-lower {
	background: transparent;
	border: 0 none;
}

div.range-slider > input[type="range"]::-ms-fill-upper {
	background: transparent;
	border: 0 none;
}

.range-slider > input[type="range"] {
    z-index: 1;
    position: absolute;
	width: 100%;
	height: var(--range-slider-common-height);
	
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
    pointer-events: none;
	-webkit-appearance: none;
}

div.range-slider > input[type="range"]::-ms-track {
	background: transparent;
    color: transparent;
    
    -webkit-appearance: none;
}

div.range-slider > input[type="range"]::-moz-range-track {
	background: transparent;
    color: transparent;
    
    -moz-appearance: none;
}

div.range-slider > input[type="range"]:focus::-webkit-slider-runnable-track {
	background: transparent;
	border: transparent;
}

div.range-slider > input[type="range"]:focus {
	outline: none;
}

div.range-slider > input[type="range"]::-ms-tooltip {
	display: none;
}

.range-slider > div > .range-slider-tooltip {
    z-index: 2;
	position: absolute;
	top: -42px;
    margin-left: -12px;
    width: 38px;
    height: 28px;
    border-radius: 28px;
	background-color: var(--ColorPrimaryLt);
	color: #fff;
	text-align: center;
    
    opacity: 1;
}

.range-slider > div > .range-slider-tooltip:after {
    content: "";

    position: absolute;
	left: 0;
	top: 19px;
	border-left: 14px solid transparent;
	border-right: 14px solid transparent;
	border-top-width: 16px;
	border-top-style: solid;
    border-top-color: var(--ColorPrimaryLt);
    border-radius: 16px;
}

.range-slider > div > .range-slider-tooltip > span {
	font-size: 12px;
	font-weight: 700;
	line-height: 28px;
}

.range-slider:hover > div > .range-slider-tooltip {
	opacity: 1;
}

/* CSS */
.button-16 {
  background-color: #f8f9fa;
  border: 1px solid #f8f9fa;
  border-radius: 4px;
  color: #3c4043;
  cursor: pointer;
  font-family: arial,sans-serif;
  font-size: 14px;
  height: 36px;
  line-height: 27px;
  min-width: 54px;
  padding: 0 16px;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: pre;
}

.button-16:hover {
  border-color: #dadce0;
  box-shadow: rgba(0, 0, 0, .1) 0 1px 1px;
  color: #202124;
}

.button-16:focus {
  border-color: #4285f4;
  outline: none;
}

/* CSS */
.button-8 {
  border-radius: 3px;
  border: 1px solid #626469;
  box-shadow: rgba(255, 255, 255, .7) 0 1px 0 0 inset;
  box-sizing: border-box;
  color: #626469;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system,system-ui,"Segoe UI","Liberation Sans",sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.15385;
  margin: 0;
  outline: none;
  padding: 5px .5em;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  white-space: nowrap;
}

.button-8:hover,
.button-8:focus {
  background-color: #00AA0020;
  color: #2c5777;
}

.button-8:focus {
  box-shadow: 0 0 0 4px rgba(0, 149, 255, .15);
}

.button-8:active {
  background-color: #a0c7e4;
  box-shadow: none;
  color: #2c5777;
}

/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
  background-color: var(--defaultcolor);
  color: black;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  width: 296px;
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  border: 3px solid #f1f1f1;
  /*z-index: 999;*/
  z-index: 10500; /* über swal-overlay (10000) */
  transition: all 0.5s ease;
}

.form-popup.shift-left {
  left: 25% !important;
  transform: translate(-50%, -50%) scale(0.98);
  z-index: 10500; /* über swal-overlay (10000) */
}

/* Add styles to the form container */
.form-container {
  width: 800px;
  padding: 25px;
  background-color: white;
}

/* Full-width input fields */
.form-container input[type=text], .form-container select,  .form-container input[type=number], .form-container input[type=email], .form-container input[type=date], .form-container input[type=datetime-local], .form-container input[type=password], .form-container input[type=list], .form-container fieldset {
  width: 100%;
  padding: 5px;
  margin: 1px 0 5px 0;
  border: none;
  background: #f1f1f1;
}

/* Show red background when input invalid */
.form-container input:required:invalid {
  background-color: lightpink;
}
.form-container textarea:required:invalid {
  background-color: lightpink;
}

textarea {
  width: 100%;
  padding: 5px;
  margin: 1px 0 5px 0;
  border: none;
  background: #f1f1f1;
  height: 100px;
}

.datalist {
  width: 100%;
  padding: 5px;
  margin: 1px 0 5px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container select:focus,  .form-container input[type=number]:focus, .form-container input[type=date]:focus,.form-container input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  heigth: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}

.form-overscroll {
  overflow-y:scroll;
  height:600px;
}

/* Increase z-index of swal popup */
.swal2-container {
  z-index: 20000 !important;
}

.swal-modal {
  opacity: 0;
  width: 600px !important;
  transition: all 0.4s ease;
}

.swal-modal.fade-out {
  opacity: 0 !important;
  transition: opacity 0.3s ease;
}

/* Chatbot (SweetAlert v1) rechts andocken */
.swal-overlay--show-modal .swal-modal.chatbot-right {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;  
  opacity: 1;
}

@media screen and (max-width: 1200px) {
  .content {
    padding: 10px;
    width: 90%;
  }
  .content form input[type="text"], .content form input[type="password"], .content form input[type="email"] {
    width: 100%;
  }
  .navtop form {
	  flex: 1;
      text-align: left;
  } 
}

@media screen and (max-width: 950px) {
  .navtop {
    height: auto;
    padding: 10px;
  }
  .navtop div {
    flex-flow: wrap;
    width: 100%;
  }
  .navtop div h1 {
    display: block;
    flex-basis: 100%;
  }
  .navtop div h1 p {
	margin: 0px;
  }
  .navtop div a {
    padding: 10px 0;
    flex-basis: 22%;
  } 
  .navtop form {
	  flex: 1;
      text-align: center;
  } 
  
  #navtop-data {
  font-size:14px!; 
  padding-left:0px;
  }
  .form-container {
  width: 400px;
  padding: 5px;
  background-color: white;
  font-size:12px;
  }
  .form-overscroll {
  overflow-y:scroll;
  height:400px;
  }
  .open-button {
  background-color: var(--defaultcolor);
  color: black;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  width: 150px;
  font-size:11px;
  }
}

@media screen and (max-width: 400px) {
  .login, .register {
    width: 95%;
  }
  .form-container {
  width: 350px;
  padding: 5px;
  background-color: white;
  font-size:12px;
  }
  .open-button {
  background-color: var(--defaultcolor);
  color: black;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  width: 100px;
  font-size:10px;
  }
  .navtop form {
	  flex: 1;
      text-align: center;
  } 
}