html{
    width:100%;
    min-width: 775px;
    height:100%;
    overflow: hidden;
    padding:0;
    margin:0;
    /*min-width: 1025px;*/
}

body{
    width:100%;
    min-width: 775px;
    height:100%;
    padding:0;
    margin:0;
    overflow: hidden;
    /*min-width: 1025px;*/
    /*-webkit-touch-callout: none; !* iOS Safari *!*/
    /*-webkit-user-select: none;   !* Chrome/Safari/Opera *!*/
    /*-khtml-user-select: none;    !* Konqueror *!*/
    /*-moz-user-select: none;      !* Firefox *!*/
    /*-ms-user-select: none;       !* Internet Explorer/Edge *!*/
    /*user-select: none;           !* Non-prefixed version, currently*/
                                 /*not supported by any browser *!*/
}

p{
    margin: 15px 0 15px 0;
}

#basicUI{
    position: absolute;
    top: 53px;
    font-size: 14px;
    color: #34495e;
    text-align: right;
    right: 0px;
    width: 400px;
    padding: 20px 20px;
}
#showAdvancedOptions{
    color: #34495e;
    font-weight: 900;
}
#hideAdvancedOptions{
    font-size: 14px;
    color: #34495e;
    font-weight: 900;
    text-align: right;
    width: 100%;
    display: inline-block;
}

#controlsBottom{
    width:100%;
    min-width: 775px;
    max-width: 850px;
    margin: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height:110px;
    font-weight: 900;
}
#controlsBottom>div{
    display: inline-block;
}
#bottomSliderContainer{
    text-align: center;
        margin-top: 20px;
}
#creaseSliderContainer
{
    opacity: 0.6;
    border: 2px solid #34495e;
    background: white;
    border-radius: 10px;
    width: fit-content;
    display: none;
    flex-direction: column;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
}
#bottomSliderContainer>span,
#creaseSliderContainer>span{
    font-size: 14px;
}
#targetAngleBottom,
#stiffnessBottom {
    margin: 0;
}
#creasePercentBottom{
    width: 100%;
    margin-top: 14px;
    margin-bottom: 5px;
}
#stiffnessBottom>.flat-slider
#targetAngleBottom>.flat-slider,
#creasePercentBottom>.flat-slider{
    width: 100%;
    margin: 0;
    background: #e8e8e8;
}
.sliderEndPt{
    text-align: center;
    width: 100px;
    position: absolute;
    top: -30px;
    color: #34495e;
    line-height: 18px;
}
#flatIndicator{
    left: -50px;
        top: -15px;
}
.sliderEndPt>img{
    width:100%;
}
#foldedIndicator{
    right: -50px;
        top: -15px;
}
.sliderEndPt>.fui-triangle-down{
    display: block;
    color: #34495e;
    margin-top: 0px;
}
.sliderEndPtLabel{
    color: #34495e;
    display: block;
    /*margin-top: 30px;*/
}

.preserveAspect{
    width: auto;
}
.bigToggle{
    height:90px;
    width:140px;
    text-align: center;
    margin: 0 10px;
    font-size:14px;
    /*border: 1px solid #34495e;*/
}
.bigToggle>div{
    border: 2px solid #34495e;
    background: white;
    height:70px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 5px;
}
.bigToggle>div div{
    padding: 5px;
    width:50%;
    height: 100%;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    color: #34495e;
}
.bigToggle div.active{
    background: #e8e8e8;
}
.bigToggle .separator{
        width: 2px;
    height: 68px;
    position: absolute;
    background: #34495e;
    padding: 0;
    margin: 0;
}
.bigToggle img{
    display: inline-block;
    height:40px;
}
.bigToggle span{
    display: block;
    width:100%;
}

#resetBottom{
    position: absolute;
    bottom: 80px;
    right: 0;
    color: #34495e;
    font-weight: 900;
}

#stepperBottom{
    background: #00ff00;
    position: absolute;
    bottom: 30px;
    right: 0;
    color: #34495e;
    font-weight: 900;
}
#stepperBottom.active {
    background: #ff4400;
}


#controls{
    position: absolute;
    top:53px;
    bottom: 0;
    right:-430px;
    width:430px;
    padding:20px 20px;
    overflow: auto;
    background:rgba(10,10,10,0.1);
}
#controls>a{
    /*float:right;*/
}
#controlsLeft{
    position: absolute;
    bottom:0;
    left:-420px;
    width: 420px;
    top:53px;
    padding:20px 20px;
    max-height: 100%;
    overflow: auto;
}
#controlsLeft .radio{
    width: 240px;
}

.sliderInput{
    margin-bottom:15px;
}
.sliderContainer{
    display: block;
    margin-bottom:15px;
}

.indent{
    padding-left:20px;
}
.doubleIndent{
    padding-left:40px;
}

#gpuMathCanvas{
    display: none;
}

a, a:hover, a:visited, a:focus{
    color:#ec008b;
}

a.btn:visited, a.btn:focus{
    color: white;
}

button{
    border: 0;
    outline: none;
}

.editable{
    color:#34495e;
    height: 42px;
    display: inline-block;
    line-height: 42px;
    width: 70px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space:nowrap
}
.editable:hover{
    color:#34495e;
    cursor: text;
}
.editableInput{
    display: none;
    outline: grey;
    padding: 5px 7px;
    height: 42px;
    line-height: 42px;
}
.editableInput:focus {
    outline: grey;
    border:none;
}

input.form-control {
    width: 90px;
    display: inline-block;
}

.radioSlider{
    display: inline-block;
    float:right;
}

.form-control, .select2-search input[type=text] {
    height: 35px;
}

.floatRight{
    float:right;
}

#threeContainer {
    width:100%;
    height:100%;
    padding:0;
    position: absolute;
    top: 0px;
    left: 0px;
}



.slider.slider-horizontal {
    width: 200px;
    margin: 0;
    padding: 20px;
    top: 10px;
}

.slider.slider-vertical {
    height: 200px;
    margin: 0;
    padding: 20px;
}

.flat-slider.ui-corner-all,
.flat-slider .ui-corner-all {
  border-radius: 0;
}

.flat-slider.ui-slider {
  border: 0;
  background: #ffffff;
  border-radius: 7px;
}

.flat-slider.ui-slider-horizontal {
  height: 6px;
}

.flat-slider.ui-slider-vertical {
  width: 6px;
}

.flat-slider .ui-slider-handle {
  width: 20px;
  height: 20px;
  background: #666;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.flat-slider.ui-slider-horizontal .ui-slider-handle {
  top: 50%;
  margin-top: -10px;
    opacity: 0.8;
}

.flat-slider.ui-slider-vertical .ui-slider-handle {
  left: 50%;
  margin-left: -10px;
    opacity: 0.8;
}

.flat-slider .ui-slider-handle:hover {
  opacity: 0.7;
}

.flat-slider .ui-slider-handle:focus { outline: none; }


.flat-slider{
    vertical-align: middle;
    display: inline-block;
    width: 130px;
    position: relative;
    margin: 10px 10px 10px 10px;
    /*padding: 4px 0;*/
}

.modal-content{
    border-radius: 0;
}
.modal-body{
    padding: 20px 35px;
}

span.modal-close{
    display: none;
}
.titleSpan{
    display: inline-block;
    width:100%;
    margin-top:15px;
}
.form-control:focus{
    border-color: #666;
}

.checkbox input.custom-checkbox[type="checkbox"]:checked + .icons .icon-checked, .radio input.custom-checkbox[type="checkbox"]:checked + .icons .icon-checked, .checkbox input.custom-radio[type="radio"]:checked + .icons .icon-checked, .radio input.custom-radio[type="radio"]:checked + .icons .icon-checked {
    color: #666;
}
.checkbox .icon-checked, .radio .icon-checked, .checkbox .icon-unchecked, .radio .icon-unchecked {
    color: #bdc3c7;
}

.radio .icon-checked{
    transition-duration: 0s;
}

.radio .icon-unchecked{
    transition-duration: 0s;
}

.sliderInput>.flat-slider{
   width: 90px;
}

.label-slider{
    font-size: 15px;
}

.extraSpace{
    display: inline-block;
    width:100%;
    height:15px;
}

.flipped
{
    direction: rtl;
}
.flipped>div
{
    direction: ltr;
}

.paddingBottom{
    margin-bottom: 20px;
}

#svgViewer{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 3;
    top:0px;
    right:0;
    background: white;
    display: none;
    padding-top: 56px;
}
svg{
    width: 100%;
    height: 100%;
}

.hexVal{
    border-width:4px;
}

#warningMessage{
    padding: 30px 0;
    text-align: center;
    margin: 0 18px;
}

.about{
    margin-right: 10px;
    color: #34495e!important;
    font-size: 18px;
    line-height: 18px;
}
#controls .about, #basicUI .about{
    position: absolute;
    line-height: 1.7;
    margin-top: 2px;
    right:5px;
}

#aboutError{
    line-height: 2.0
}
#aboutStiffness{
    line-height: 28px;
}

#aboutUserInteraction{
    margin-top: 10px!important;
    line-height: 21px!important;
}

#aboutVR{
        float: none;
    margin-left: 40px;
    position: absolute;
    line-height: 1.7;
    margin-top: 2px;
}

#start, #stepForwardOptions{
    display: none;
}
#stepForwardOptions{
    width: 100%;
}
#reset{
    margin-left: 20px;
}


#creasePercentNav{
    margin-bottom: 0;
    margin-top:12px;
    color: white;
    display: none;
}

.bigLabel{
    font-size:16px;
    margin-top: 20px;
}
.checkbox.bigLabel .icons, .radio .icons {
    top: 2px;
}

.smallTxt{
    font-size: 14px;
}
input.form-control.bigInput{
    width:300px;
}

.actionButton{
    min-width: 110px;
    font-size: 16px;
}

#unitsDropdown{
    height: 100px;
    overflow: auto;
}

.modal img{
    width: 200px;
}

a.seeMore{
    float:none!important;
    color: #34495e;
}
a.seeMore>.fui-triangle-down{
    display: inline-block;
    margin-right:10px;
}
a.seeMore.closed>.fui-triangle-down{
    -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
}

.hide{
    display: none;
}

.inlineBlock{
    display: inline-block;
}

.alignRight{
    text-align: right;
}

.fullWidth{
    width: 100%;
}

#simulationSettings, #errorInfo,  #animationsSettings, #cameraAngle, #edgeVisibility, #virtualReality, #materialSettings{
    margin-top: 15px;
}
.modal-body img{
    margin-left: auto;
    margin-right: auto;
        display: block;
}

.colorSwatch{
    display: inline-block;
    width: 20px;
    height: 10px;
    margin-right: 10px;
    margin-bottom: 2px;
}

#authorMoreInfo{
    display: none;
    position: absolute;
    top:0px;
    left:100px;
    z-index: 5;
}
#authorMoreInfo>#authorContent{
    font-size: 14px;
    background: #f5f5f5;
    padding: 15px 25px;
    margin-left: 20px;
    color:#34495e;
    white-space: normal;
    width: 300px;
    border: 2px solid #a8a6ae;
}

#authorMoreInfo a, #authorMoreInfo a:hover,#authorMoreInfo a:visited,#authorMoreInfo a:focus{
    color: #ec008b !important;
}

#authorMoreInfo:after {
    content: '';
    display: block;
    position: absolute;
    top: 19px;
    left:11px;
    width: 20px;
    height: 20px;
    background: #f5f5f5;
    border-left:2px solid #a8a6ae;
    border-bottom:2px solid #a8a6ae;
    -ms-transform: rotate(45deg); /* IE 9 */
     -moz-transform:rotate(45deg);
      -webkit-transform:rotate(45deg);
    transform: rotate(45deg);
}

#helper{
    display: none;
    position: absolute;
    padding: 10px 15px;
    font-size: 14px;
    background: #f5f5f5;
    margin-top: 20px;
    opacity:0;
    top: 54px;
    -webkit-transition: opacity 1s; /* For Safari 3.1 to 6.0 */
    transition: opacity 1s;
    left: 140px;
    color:#34495e;
    white-space: normal;
    border: 2px solid #a8a6ae;
    /*transition-timing-function: easeInOutCubic;*/
}

#helper:after {
    content: '';
    display: block;
    position: absolute;
    top: -12px;
    left:105px;
    width: 20px;
    height: 20px;
    background: #f5f5f5;
    border-left:2px solid #a8a6ae;
    border-top:2px solid #a8a6ae;
    -ms-transform: rotate(45deg); /* IE 9 */
     -moz-transform:rotate(45deg);
      -webkit-transform:rotate(45deg);
    transform: rotate(45deg);
}

#screenCaptureModal .modal-content, #animationSetupModal .modal-content{
    background: rgba(255,255,255,0.9);
}

#recordStatus{
    position: absolute;
    bottom:20px;
    width:350px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 2;
    display: none;
}
#stopRecord{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.animationStep{
    margin: 7px 0;
    display: inline-block;
    padding: 5px 15px;
    background: #fff;
}
#animationSetupModal p, #animationSetupModal ul, #animationSetupModal div.btns{
    text-align: center;
    padding: 0;
}
.warning{
    color: #f1970f;
}

.red{
    color:red!important;
}

#coverImg{
    z-index: 5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

object{
    width:100%;
    margin-bottom: 10px;
}

#aboutCorner{
    display: none;
    position: absolute;
    z-index: 6;
    top:0;
    right:0;
    background: rgba(40, 40, 40, 0.7);
    width: 30px;
    text-align: center;
    color: white;
}

#noSupportModal{
    text-align: center;
}

#tipImportSVG{
    float: left;
    display: inline-block;
    margin-top: 8px;
    margin-left: 20px;
}

#feedbackNotification {
	position: absolute;
    z-index: 10;
    right: 130px;
    top: 0;
    padding: 5px 10px 4px;
    font-size: 15px;
    font-weight: 900;
    background: #ff64bf;
	display: flex;
	flex-direction: row;
	align-items: center;
}

#feedbackNotification>span {
	max-width: 150px;
    text-align: center;
    display: inline-block;
	line-height: 22px;
}

@media only screen and (max-width: 1055px) {
	#feedbackNotification {
	  display: none;
	}
}

@media only screen and (max-width: 890px) {
	#feedback {
	  display: none;
	}
}

/* === Compact dual sliders fixed small box === */
#bottomSliderContainer{
    width:260px;
    display:grid;
    height:91.9px;
    margin-top:0px;
    padding:2px 0 4px;
    background:none;
    border:0;
    font:12px/1.15 sans-serif;
    color:#000;
}

#bottomSliderContainer .kfButtonGroup{
    display:inline-flex;
    justify-content:flex-start;
    gap:0px;
    padding:0 6px 0 0;
}

#bottomSliderContainer .kfButton{
    flex:0 0 16px;
    width:10px;
    padding:1px 0;
    font-size:15px;
    line-height:1;
    border:1px solid #000;
    background:#b7b7b7;
    border-radius:1px;
    cursor:pointer;
}

#bottomSliderContainer .fold-summary{
    margin:0;
    padding-top:2px;
    font-size:10px;
    text-align:center ;
    color:#000;
}

#bottomSliderContainer .flat-slider.ui-slider{
    position:relative;
    width:100% !important;
    height:4px;
    margin:0 -5px;
    background:#34495e;
    border:0;
    border-radius:2px;
    overflow:visible;
    box-sizing:content-box;
}

#bottomSliderContainer .flat-slider.ui-slider-horizontal .ui-slider-handle{
    width:10px;
    height:10px;
    top:50%;
    margin-top:-5px;
    margin-left:-5px;
    background:#fff;
    border:2px solid #34495e;
    border-radius:50%;
    cursor:pointer;
    box-shadow:none;
    transform:none;
    outline:none;
}

#bottomSliderContainer .flat-slider .ui-slider-handle:hover{
    background:#f2f2f2;
}
