/* OER CUSTOM STYLES */

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

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

.btn-primary:hover {
	background-color: #0b5ed7;
}

.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: #1c3457;
}

.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, #mobile-rotate-landscape2 {
    display: none;
}

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


/* new */

body {
	margin:20px auto;
}

#oer_canvas {
	background: #eee;
	background-size: contain;
}

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

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

#oer_controls {
	overflow: inherit;
}

.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: #5e7407;
    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;
}

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

#lab1 .table td {
	text-align: center;
}

#lab1 input,
#lab2 input {
	width: 50px;
	border: 1px solid #ccc;
	text-align: left;
	color: #d96215;
	margin: 0 auto;
	padding: 5px;
	border-radius: 0;
}

#lab1 input[type='number'],
#lab2 input[type='number'] {
	text-align: right;
}

#lab1 input:read-only,
#lab2 input:read-only {
	color: black;
    background: transparent;
    border: 0;
    text-align: right;
}

#lab4 {
	background: #fff;
	padding: 20px 40px;
	border-radius: 0 0 20px 20px;
}

i.fa-check {
	font-size: 24px;
	color: #93b40d;
}

i.fa-bell {
	color: #d96215;
}

.bounce {
  animation: bounce 1s ease infinite;
}
@keyframes bounce {
  30% { transform: scale(1.2); }
  40%, 60% { transform: rotate(-20deg) scale(1.2); }
  50% { transform: rotate(20deg) scale(1.2); }
  70% { transform: rotate(0deg) scale(1.2); }
  100% { transform: scale(1); }
}

#btn_reload_lab1, #btn_reload_lab2, #btn_reload_lab3 {
	width: 100%;
	border: 0;
	border-radius: 20px;
}

#award_lab1, #award_lab2, #award_lab3 {
	display: none;
}

.progress, .progress-stacked {
    --bs-progress-height: 1.5rem;
}

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

/* new style with boy or girl */
@media screen and (min-width: 1024px) {
    #oer_canvas {
        /*
        background-image: url('../images/character-boy.png');
        background-position: bottom right;
        background-repeat: no-repeat;
        background-size: 15%;
        */
        background: white;
    }
}

/* new style with background image */
@media screen and (min-width: 1024px) {
	body {
		background: #555 url('../images/chemistry-bg07.jpg') repeat;
		/* background-blend-mode: overlay; */
        background-size: cover;
	}
	#oer_title {
		border-radius: 20px 20px 0 0;
	}
	#oer_canvas {
		border-radius: 0 0 0 20px;
	}
	#oer_sidebar {
		border-radius: 0 0 20px 0;
	}
}

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