/* OER CUSTOM STYLES */

body {
	margin-top: 20px;
}

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

#oer_canvas {
	background: #efefef;
	border-radius: 0 0 20px 20px;
}

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

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

#oer_investigation {
	margin-top:-192px; /* 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:#0ca9f0;
}

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

.theme-green-peace .modal-header {
	background: #fff;
}

/* Customize Modals for ASCII table */
.modal-header {
    border-bottom: 0;
    padding: 0 1rem;
}

.modal-content {
    background: #1c3457;
    opacity: 0.95;
}

.modal-title {
	padding: 8px 0;
	/* color: #71abdc; */
}

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


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

#sound_control {
	float:right;
	margin:0 20px 0 0;
	cursor: pointer;
}

#sound_control .fas {
	font-size:26px;
}

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

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

#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 */

.theme-blue-sea #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 {
	border: 0;
	border-radius: 20px;
}

.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;
    margin-left: -15px;
    padding: 10px;
    border-radius: 10px;
    color: #174e81 !important;
}

.help_text.success {
	/* gold letter */
	/* color: #bfa82f !important;
    background: #fff; */
    margin-left: 0;
    color: #fff !important;
    background: #1eba1e;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

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


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


/* periodic table specific */

.ppColorCode {
	left: calc(5% + 190px);
}

.ppColorCodeName {
    font-size: 0.77rem;
}

.ppInfo {
	left: calc(108%);
}

.ppMoreInfo {
	position: absolute;
	margin: 32px 0 0 0;
}

.ppMoreInfo a {
	font-size: 15px;
	text-align: center;
	color: #555;
	text-decoration: none;	
}

.nonmetal a {color: #187acf;}
.nonmetal a:hover {color: #1d90f6;}
.halogen a {color: #ce53c5;}
.halogen a:hover {color: #f562ea;}
.transmetal a {color: #cfa13c;}
.transmetal a:hover {color: #f6c048;}
.postmetal a {color: #729d2e;}
.postmetal a:hover {color: #88ba37;}
.alkali a {color: #b83a53;}
.alkali a:hover {color: #da4462;}
.alkaliearth a {color: #cf6a4a;}
.alkaliearth a:hover {color: #f67e58;}
.noblegas a {color: #25b4b8;}
.noblegas a:hover {color: #2cd6da;}
.metalloid a {color: #3a8a89;}
.metalloid a:hover {color: #44a4a3;}
.lanthanides a {color: #9e56c3;}
.lanthanides a:hover {color: #bb67e8;}
.actinides a {color: #6262c3;}
.actinides a:hover {color: #7575e8;}

.elementInfo h3 {
    font-size: 1.1rem;
    border-bottom: 1px dashed white;
    margin-top: 32px;
}

.elementInfo table {
	width: 100%;
}

.elementInfo td {
	vertical-align: top;
	text-align: left;
	padding: 4px;
}
.elementInfo td:first-child {
	width:20%;
}
.elementInfo td:nth-child(2) {
	width:20%;
}
.elementInfo td:nth-child(3) {
	width:25%;
}
.elementInfo td:nth-child(4) {
	width:35%;
}

.ppAtom img {
	max-width: 160px;
    position: absolute;
    margin: 120px 0 0 -80px;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 3px 3px 6px #999, -3px -3px 6px #e4e4e4;
}

.ppBohr {
	display: none;
}

.ppInfo .ppBohr {
	display: inline-block;
	position: absolute;
    margin: 295px 0 0 -60px;
    text-align: center;
    font-size: 15px;
    line-height: 150%;
}

.aktina {
	font-family: monospace;
	font-size: 100%;
}

.contentImg {
	float: right;
	border-radius: 10px;
	border: 3px solid #ccc;
	max-width: 30%;
	max-height: 30%;
	width: 30%;
	height: auto;
	margin: 0 0 20px 20px;
}


@media (max-width: 1024px) {
	#hmenu {
    	display: none;
    }

    .modal {
		--bs-modal-width: 85%;
	}

	#periodicTable {
		max-width: 640px;
	}

	.ppInfo {
    	width: 120px;
    	left: calc(105%);
    }

    .ppInfo .ppBohr {
    	margin-top: 260px;
    }

    .ppColorCode {
    	left: calc(5% + 110px);
    }

	.ppAtom img {
    	max-width: 120px;
    	margin: 120px 0 0 -60px;
    	padding: 5px;
    }
}



