/*
 * min.css for OpenJSCAD.org viewer
 */

:root {
	--register-is-active: #4BAA99;
	--register-is-inactive: #3e8a7c;
	--register-color: white;
}

 footer {
	 background:#e9ecef;
 }
 
 #logo {
	  position:relative;
	  margin-top:-1500px;
      /*margin-left: 1300px;*/
 }
 
 .firstloader{
	 margin-top:-800px;
	 width:120px;
	 height:120px;
	 border:16px solid #f3f3f3;
	 border-top: 16px solid #999999;
	 border-radius:50%;
	 animation:spin 1s linear infinite;
	 float:left;
	}
	@keyframes spin {
		0%{
		transform:rotate(0deg);
		}
		100%{transform:rotate(360deg);}
	}
 
 .btn-group {
	 margin-left:15px;
	 margin-top:20px;
 }
 
 .btn-primary {
     background-color: #3e8a7c;
     border-color: #3e8a7c;
 }

 
 .btn-primary:hover {
	 background-color: #4BAA99;
 }

 .active {
	 background: #4BAA99 !important;
     border-color: #4BAA99 !important;
 }
 
 .btn-group .btn-primary {
	 background: var(--register-is-inactive);
     border-color: var(--register-is-inactive);
 }

 .btn-group .btn-primary:hover {
	 background: var(--register-is-active);
 }

 .btn-group .btn-primary.active {
	 background: var(--register-is-active) !important;
     border-color: var(--register-is-active) !important;
 }

 .download {
	 margin-left:15px;
	 margin-top:20px;
 }
 
 .container {
	max-width:100%;
	margin-bottom:15px;
 }

/*von Dennis eingefügt*/
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@font-face {
  font-family: "Amsi";
  src: url("../font/amsiprocond-blackitalic.woff?v=1713085913");
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Amsi" !important;
}

/*bis hier von Dennis eingefügt*/
 
#viewerContext {
  margin: 40px 5px 5px; /* not inherited */
  border: thin solid gray; /* not inherited */
  padding: 0px; /* not inherited */

  background: white;
  width: 1200px;
  height: 800px;

  top: 0px;
  bottom: 0px;
}

span#parameters {
	margin:20px;
}

#viewerContext {
	width:100%;
}

canvas { 
  margin: 0px; /* not inherited */
  border: 0px none gray; /* not inherited */
  padding: 0px; /* not inherited */

  width: 100%;
  height: auto;

  cursor: move; 
}

#parametersdiv {
	width:100%;
}

/* #parametersdiv { */
  /* margin: 5px; /* not inherited */ */
  /* border: thin solid rgb(200,200,200); */
  /* border-radius: 1em;      */
  /* padding: 10px; */

  /* background: white; */
  /* opacity: 0.8; */
/* } */

#parametersdiv table {
  margin-bottom: 5px;

  text-align: left;
  font-size: 0.8em;
  font-weight: normal;
}

#parametersdiv th {
  margin:  0px; /* not inherited */
  border:  0px none gray; /* not inherited */
  padding: 5px; /* not inherited */

  font-weight: bold;
}

#parametersdiv th.caption {
  text-decoration: underline;
}

#parametersdiv td.caption {
  text-align: right;
  font-weight: bold;
}

#parametersdiv td {
  margin:  0px; /* not inherited */
  border:  0px none gray; /* not inherited */
  padding: 0px; /* not inherited */
}

/* #parametersdiv input, #parametersdiv textarea, #parametersdiv select { */
  /* font-size: 0.9em; */
  /* /* background: #fea; */ */
  /* border: none; */
/* } */

#updateButton {
  margin:  5px; /* not inherited */
  border:  thin solid black; /* not inherited */
  padding: 2px; /* not inherited */
  border-radius: 4px;
  background: white;

  margin-left: 1em;
}

#tail { 
  margin: 5px; /* not inherited */
}

#busy {
  vertical-align: middle;
}

/*
Steuert die Schriftgroesse bei kleinen Geräten
@media (max-width:1150px){
    body{
         font-size:2.25rem;     
    }  
}
*/
