
/* OER Specific Styles */

/* color palete

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

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


#oer_title {
    min-width:830px;
}

*/

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

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


.ropi_label {
	font-size:26px;
	font-weight:bold;
	color:#4c5e64;
}



.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;
}

#ropi1 {
	float:left;
	display:block;
	width:190px;
	margin:20px 0 0 38px;
	text-align:center;
}

#ropi2 {
	float:right;
	display:block;
	width:190px;
	margin:20px 25px 0 0;
	text-align:center;
}

#ropi1 .ropi_label {
	color:#4c5e64;
}

#ropi2 .ropi_label {
	color:#fff;
}


#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:800px !important;
	margin-bottom:20px;
}


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

#oer_controls span {
	color:white;
}

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

#f1_minus, #f1_plus, #r1_minus, #r1_plus, #f2_minus, #f2_plus, #r2_minus, #r2_plus {
	cursor:pointer;
}

#oer_results {
	display:none;
}


#oer_controls .checkbox.checbox-switch.switch-primary label {
	width:auto;
}


/* Gravity */
#p3 {
	padding:0 15px;
}

#p3 p, #p3 div {
	color:#fff;
}

#p3 a, #p3 a:link, #p3 a:visited {
	color:#a0d8ff;
}

#p3 a:hover {
	color:#fff !important;
}

#p3 a.active {
	color: #293766;
    /* border-bottom: 1px solid #fff; */
    padding: 0 10px 2px 10px;
    background: #fff;
    border-radius: 15px;
}

#p3 a.active:hover {
	color: #293766 !important;
}

#gravity_value {
	text-align:center;
}




/* 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: -192px;
	bottom: -104px;
}

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

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

/* 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 (max-width: 1200px) {
	body > .container {
		box-shadow:none;
	}
}



@media (max-width:425px) {
	#ropi1, #ropi2 {
		float:none;
		margin:20px auto;
	}
}
