
/* OER Specific Styles */

/* color palete

dark green:		#667b16;
dark orange:	#d96214;

dark blue:		#4c5e64;
white border:	#f8e8ce;


#oer_title {
    min-width:830px;
}

*/


#oer_help {
	/* margin: 175px 0 0 0; */
}


#oer_canvas {
	text-align:right;
	background-color:#bdbea7;
	/* min-width:830px; */
    background-color: #ccc;
}

.theme-blue-sea #oer_canvas {
    background-color: #f2f2f2;
	background-size: 64px 64px;
    background-image: linear-gradient(to right, #ddd 1px, transparent 1px), linear-gradient(to bottom, #ddd 1px, transparent 1px);
}


.value-box {
	display:block;
	width:auto;
	/* min-width:180px; */
	background:#39454a;
	border:10px solid #f8e8ce;
	border-radius:10px;
	padding:10px;
	color:white;
	font-weight:bold;
	font-size:20px;
}




#canvas {
	/*
	width: 100%;
	height: auto;
	background:url('../images/base.png') no-repeat;
	background-size:800px;
	background-position:0 220px;
	border:1px dashed #fff;
	*/
	width:100%;
	max-width:1200px !important;
	margin-bottom:20px;
	margin-top:32px;

}


#oer_controls label {
	width:115px;
	padding:0;
	color:white;
}

#oer_controls span {
	color:white;
}

#oer_controls input[type="range"] {
	width:190px;
}

#r1_minus, #r1_plus, #l1_minus, #l1_plus, #c1_minus, #c1_plus {
	cursor:pointer;
}

.fa-minus-circle, .fa-plus-circle {
	font-size:20px;
	background: white;
    border-radius: 10px;
	cursor: pointer;
}

.fa-minus-circle {
	color:#d52a2f;
}

.fa-plus-circle {
	color:#73bc29;
}


#oer_results {
	display:block;
	padding:16px 0 6px 0;
	margin-bottom: 20px;
}



#oer_results .table {
	text-align:left;
	padding-left:55px;
	font-size:18px;
}

#oer_results .table span.title {
	display: inline-block;
	width: 40px;
}

#ammeter, #result_r, #result_xl, #result_xc, #result_z, #result_phi {
	display: inline-block;
	text-align: right;
	width:80px;
}

#result_coordination {
	text-align: center;
	background: #15578b;
    line-height: 22px;
    padding: 10px 0;
    margin-bottom:6px;
    font-weight: normal;
	font-size: 18px;
	color: #fff !important;
}




/* Reload button */

#btn_reload {
	text-align:right;
	margin:30px 0;
}

#btn_reload a {
	border:1px solid #fff;
	border-radius:10px;
	padding:2px 10px;
	color:#fff;
}

#btn_reload a:hover,#btn_reload a:link, #btn_reload a:visited {
	color:#fff !important;
}

#btn_reload a:hover {
	background:#b91c1e;
}



/* 3 buttons */
#oer_theory {
	margin-top: -490px;
	bottom: -135px;
}

#oer_application {
	margin-top: -112px;
	bottom: -104px;
}

#oer_investigation {
	margin-top:-63px;
}

#oer_application div {
	display:none;
}

#oer_application div.active, #oer_application div.navigation {
	display:block;
}

#oer_investigation div {
	display:none;
}

#oer_investigation div.active, #oer_investigation div.navigation {
	display:block;
}



/* IE - Edge bug fix */
#oer_theory:after, #oer_application:after, #oer_investigation:after {
	color:rgba(255, 255, 255, 0.2);
}

/* Range appearance fix */
input[type=range] {
	cursor: pointer;
	background: transparent;
    border: 0;
    -webkit-appearance: none;
}
input[type=range]::-webkit-slider-runnable-track {
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #283767;
    margin-top: -4px;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}
input[type=range]::-moz-range-track {
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}
input[type=range]::-moz-range-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #283767;
}
input[type=range]:-moz-focusring{
    outline: 1px solid white;
    outline-offset: -1px;
}
input[type=range]::-ms-track {
    height: 5px;
    background: transparent;
    border-color: transparent;
    border-width: 6px 0;
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #bbb;
    border-radius: 10px;
}
input[type=range]::-ms-fill-upper {
    background: #ddd;
    border-radius: 10px;
}
input[type=range]::-ms-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #283767;
}
input[type=range]:focus::-ms-fill-lower {
    background: #bbb;
}
input[type=range]:focus::-ms-fill-upper {
    background: #ccc;
}




@media (min-width: 576px) {
	/* oer directives are big so enlarge the width */
	.modal-dialog {
	    max-width: 800px; /* default: 500px */
	}
}


@media (max-width: 1200px) {
	body > .container {
		box-shadow:none;
	}
}

