/* OER CUSTOM STYLES */

#canvas {
	margin-top:20px;
	/* border:2px dashed red; */
}

#oer_theory {
	margin-top:0;  /* change this with the actual total height */
}

#oer_application {
	margin-top:0; /* change this with the actual total height */
}

#oer_investigation {
	margin-top:0; /* change this with the actual total height */
}

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

#oer_inv1 a, #oer_inv1 a:link, #oer_inv1 a:visited {
	color:#fff;
}

#oer_inv1 a:hover {
	color:#fff;
	text-decoration:underline;
}

.btn-primary {
	background-color:#174e81;
}

/*
.btn-primary:hover {
	background-color:#174e81;
}
*/

.btn-group-sm>.btn, .btn-sm {
	border-radius:5px;
}

.theme-blue-sea .checkbox.checbox-switch.switch-primary label > input:checked + span, .theme-blue-sea .checkbox-inline.checbox-switch.switch-primary > input:checked + span {
	background-color:#b5cc30;
	border-color:#617104;
}

.theme-blue-sea .modal-header {
	background: #fff;
}

/* Customize Modals */
.modal-header {
    border-bottom: 0;
    padding: 0 1rem;
    background: #ddd;
}

.modal-content,
#oer_instruction_modal .modal-content {
    background: #839627;
}

.modal-title {
    padding: 8px 0;
    color: #1b3658;
}

.modal-body {
    color: white;
}
@media (min-width: 1140px) {
	.modal-dialog {
    	max-width: 960px;
    }
}


input[type=radio], #pick_digit label {
	cursor:pointer;
}


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

#oer_title h1 {
	font-size: 26px;
}

#oer_help h2 {
    font-size: 16px;
}

#oer_help .fas {
	font-size: 20px;
}



/* mobile rotate alert */
#mobile-rotate-landscape {
    display: none;
}

@media screen and (max-width: 430px) {
    #mobile-rotate-landscape {
        display: block;
        border: 4px solid #d9c49d;
        border-radius: 10px;
        background: #ffeac3;
        padding: 5px;
        text-align: center;
        margin-top: 90px;
    }
}


/* new */

body {
	margin:10px auto;
}

#oer_title {
	border-radius: 20px 20px 0 0;
}

#oer_canvas {
	/* background: url('../images/chemistry-lab-bg1.png') no-repeat;
	background-size: contain; */
}

#oer_theory h2 {
	color: #fff;
	text-align: left;
}

#oer_controls {
	overflow: inherit;
}

#btn_reload, #btn_return {
	border: 0;
	border-radius: 20px;
}

#btn_reload:hover, #btn_return:hover {
	color: #fff !important;
}

.help_steps {
	text-align: right;
	margin: 10px 10px 0 0;
	font-size: 14px;
}

.help_steps .active {
	background: #eaeaea;
	color: #212529;
	border-radius: 10px;
	padding: 0 5px;
}

.help_text {
	background: #eaeaea;
    padding: 10px;
    border-radius: 10px;
    color: #657b16 !important;
}

.theme-blue-sea .help_text {
	color: #174e81 !important;
}

.help_text.success {
    margin-left: 0;
    color: #fff !important;
    background: #debe10;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.help_text .fas {
	font-size: 32px;
	vertical-align: middle;
}


.btn_lab {
	background: #fff;
    padding: 6px 0;
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    color: #174e81;
    border: 0;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    line-height: 22px;
}
.btn_lab a,
.btn_lab a:link,
.btn_lab a:visited,
.btn_lab a:hover {
    text-decoration: none;
    color: inherit;
}

.btn_lab.active {
	background: #174e81;
    color: #fff;
    border-bottom: 2px solid #ccc;
    border-top: 2px solid #444;
}


@media screen and (min-width: 1140px) {
	#oer_canvas {
		max-width: 995px;
		min-height: 786px;
	}
}

@media screen and (max-width: 1024px) {
    #canvas {
        margin-top: -5px !important;
    }

    .btn_lab img {
    	display: none;
    }
}
