html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	overflow-x: hidden;
}

.ng-pageslide {
	background: rgba(214,233,232,0.1);
	width: 90% !important;
	left: 5% !important;
}

body.ng-pageslide-body-open::before {
	content: '.';
	display: block;
	position: absolute;
	top: 0;
	background-color: rgb(0,0,0);
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	opacity: 0.5;
	transition: opacity 1s;
	opacity: 0.5;
	pointer-events: all;
}

body.ng-pageslide-body-closed::before {
	transition: opacity 1s;
	content: '.';
	display: block;
	position: absolute;
	top: 0;
	background-color: rgb(0,0,0);
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	opacity: 0;
	pointer-events: none;
}

.popup {
	z-index: 10;
	position: absolute;
	top: 0px;
	padding: 20px;
}

.frame {
    border: 1px solid black;
	width: 100%;
	height: 100%;
}

.flex-container {
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row {
    width: auto;
	height: 95%;
	width: 95%;
}

.periodic-table {
	width: 100%;
	max-width: 100%;
	height: 100%;
	text-align: center;
	border: 1px solid black;	
	background: #0b5454; /* Old browsers */
	background: -moz-linear-gradient(top, #0b5454 0%, #063d3e 51%, #012122 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #0b5454 0%,#063d3e 51%,#012122 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #0b5454 0%,#063d3e 51%,#012122 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0b5454', endColorstr='#012122',GradientType=0 ); /* IE6-9 */
}

.box {
	width: 90%;
	height: 90%;
	margin: auto;
	cursor: pointer;
	background: rgba(255,255,255,0.3);
	-moz-box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5), 0px 2px 3px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5), 0px 2px 3px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5), 0px 2px 3px rgba(0, 0, 0, 0.5);
}

.glass {
  position: relative;
}

.glass:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  -webkit-background-origin: border-box;
  -moz-background-origin: border;
  background-origin: border-box;
  background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.25)), -moz-linear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
  background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.25)), -webkit-linear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.25)), linear-gradient(to right bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
}

.cell {
	width: 5.555%;
	max-width: 5.555%;
	min-width: 5.555%;
	height: 9%;
}

.cell4 {
	width: 22.22%;
	max-width: 22.22%;
	min-width: 22.22%;
}

.cell10 {
	width: 55.55%;
	max-width: 55.55%;
	min-width: 55.55%;
}

.spacer {
	height: 0.5%;
}

.box:hover {
	background-color: rgba(119,203,0,1.00);
	background-color: rgba(228,108,10,1.00);
}

.focus-cell {
	background-color: rgba(167,0,255,1.00);
}

.e-table {
	width: 100%;
	height: 100%;
}

.an1 {
	width: 60%;
	height: 20%;
}

.an2 {
	width: 40%;
	height: 20%;
	color: rgba(255,255,255,0.77);
	font-size: 2.2vmin;
	text-align: right;
	padding-right: 2px;
}

.an3 {
	width: 100%;
	height: 80%;
	padding: 0;
}

.an3 span {
	font-family: "Arial";
	font-size: 2.7vmin;
	font-stretch: ultra-expanded;
	font-weight: 100;
	color: rgba(255,255,255,1.00);
}

.disabled, .disabled:hover {
	background-color: rgba(223,209,209,0.7);
	cursor: not-allowed;
}

.disabled span {
	color: rgba(115,115,115,1.00);
}

.default {
	border: 1px solid white;
}

.orange {
	background-color: #DAA400;
	background-color: #007DB4;
	border: 1px solid rgba(255,255,255,0.70);
}

.red {
	background-color: #FF0000;
	border: 1px solid rgba(255,255,255,0.70);
}

.blue {
	background-color: #0070c0;
	background-color: #DF00A0;
	border: 1px solid rgba(255,255,255,0.70);
}

.green {
	background-color: #92d050;
	background-color: #009A00;
	border: 1px solid rgba(255,255,255,0.70);
}

.groups .dropdown-menu, .periods .dropdown-menu {
	min-width: 12vmin;
	max-width: 12vmin;
}

.classification .dropdown-menu {
/*	transform: translateX(  5vmin );*/
	min-width: 26vmin;
	max-width: 26vmin;
}

.subgroup2 .dropdown {
	position: relative;
}

.subgroup2 .dropdown-menu li a {
	font-size: 2vmin;
	padding-left: 2vmin;
}

.subgroup2 span {
	font-size: 2vmin;
}

.subgroup2 button {
	font-weight: 500;
	font-size: 1.2vmin;
	height: 4vmin;
	position: relative;
	background-color: rgba(255,255,255, 0.5);
}

.groups span, .periods span, .classification span{
	font-size: 1.7vmin;
}

.subgroup2 .dropdown div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	font-size: 1.3vmin;
	line-height: 4vmin;
}

.subgroup2 .classification button {
	width: 18vmin;
}

.subgroup2 .periods button, .subgroup2 .groups button  {
	width: 7vmin;
}

.box1 {
	width: 90%;
	height: 90%;
	margin: auto;
	font-weight: normal;
	font-size: 1.2vmin;
}

.box2 {
	width: 97.5%;
}

.box3 {
	background: rgba(255,255,255,0.3);
	-moz-box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5), 0px 2px 3px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5), 0px 2px 3px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5), 0px 2px 3px rgba(0, 0, 0, 0.5);
}

#strongLines {
	text-align: left;
}

#spectra, .spectra-gradient {
	position: relative;
	width: 100%;
	height: 100%;
}

#eTitle {
	position: relative;
	top: 50%;
	transform: perspective(1px) translateY(-50%);
	z-index: 1;
	padding-left: calc(0.9%);
	font-size: 4vmin;
	color: rgba(255,255,255,1.00);
}

#spectrum, .spectrum-gradient {
	position: absolute;
	top: 50%;
	transform: perspective(1px) translateY(-50%);
}

.sg1 {
	height: 94%;
	width: 100%;
	background: -moz-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 70%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(0,0,0,1) 0%,rgba(255,255,255,0) 70%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(0,0,0,1) 0%,rgba(255,255,255,0) 70%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}

.sg2 {
	height: 94%;
	width: 100%;
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 20%, rgba(252,252,252,0) 1%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 20%,rgba(252,252,252,0) 1%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,0) 20%,rgba(252,252,252,0) 1%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#000000',GradientType=1 ); /* IE6-9 */
}

.hide-node {
	display: none;
}

.info, .info1 {
	width: 99%;
	height: 97%;
	margin: auto;
	font-size: 1.7vmin;
}

.info1 {
	border: 1px solid white;
}

.info1 td {
	text-align: left;
	vertical-align: top;
	padding: 0.5vmin;
	font-size: 1.7vmin;
	color: rgba(255,255,255,1);
}

.info tr td:nth-child(1), .info tr td:nth-child(3) {
	width: 20%;
}

.details {
	width: 99.5%;
	height: 100%;
	text-align: left;
	margin: auto;
	background-color: #dae4e4;
}

.details tr td:nth-child(1), .details tr td:nth-child(2) {
	width: 50%;
	padding-left: 2px;
	border-bottom: 1px solid #0b5453;
}

.details tr td:nth-child(1) {
	border-right: 1px solid #0b5453;
}

.details tr:last-child td {
	border-bottom: none;
}

.element-info {
	width: 96.5%;
	height: 100%;
	font-size: 1.5vmin;
	background-color: transparent;
	border: 1px solid rgba(255,255,255,0.5);
	color: white;
}

.element-info tr:nth-child(-n+3) td {
	background-color: #0b5453;
}

.element-info tr:nth-last-child(-n+2) td {
	width: 50%;
	height: 15%;
	background-color: #0E7270;
	font-size: 1.3vmin;
}

#group, #period {
	font-size: 2vmin;
}

#symbol {
	font-size: 5.5vmin;
	font-weight: bold;
}

#atomic-number {
	font-size: 3vmin;
	font-weight: bold;
}

#bohr-container {
	width: 100%;
	height: 100%;
	position: relative;
}

#bohr-model-container {
	width: 96.7%;
	height: 100%;
	border: 1px solid rgba(255,255,255,0.5);
	background-color: white;
	position: absolute;
	right: 0px;
}

#bohr-number {
	font-size: 1.5vmin;
	z-index: 1;
	position: absolute;
	top: calc(50% - 1vmin);
	width: 100%;
	pointer-events: none;
	color: white;
	padding-left: 0.7vmin;
}

.bohr-svg-container {
	vertical-align: bottom !important;
	padding-bottom: 0px !important;
	height: 99% !important;
}

#bohr-button {
	z-index: 1;
	position: absolute;
	top: calc(100% - 2vmin);
	right: 1px;
	pointer-events: none;
}

.table-spacer {
	height: 1%;
}

.table-spacer div {
	border-top: 1px dashed rgba(255,255,255,0.5);
	margin: auto;
	width: 95%;
}

.group-button, .group-button:hover {
	border: 1px solid rgba(255,204,102,1.00);
	background-color: rgba(255,204,102,1.00); 
}

.group-button table {
	font-size: 1.3vmin;
	width: 100%;
	height: 100%;
}

.groups, .periods, .classification {
	color: rgba(0,76,74,1.00);
	background-color: rgba(255,204,102,1.00);
}

table.dropdown-toggle.groups tr:first-child td, table.dropdown-toggle.periods tr:first-child td , table.dropdown-toggle.classification tr:first-child td  {
	background-color: rgba(0,76,74,1.00);
	color: white;
	height: 60%
}

.group-button-disabled, .group-button-disabled:hover {
	border: 1px solid rgba(204,204,204,1.00);
	background-color: rgba(204,204,204,1.00);
	pointer-events: none;
}

.dropdown-disabled {
	color: rgba(108,108,108,1.00);
	background-color: rgba(173,173,173,1.00);
}

table.dropdown-toggle.dropdown-disabled tr:first-child td {
	background-color: rgba(255,255,255,0.48);
	color: rgba(108,108,108,1.00);
}

.table-title {
	text-align: left;
	padding-left: 5px;
	color: white;
	font-size: 3.5vmin;
}

#closeQuestion {
	z-index: 1;
	text-align: center;
}

#questionIframe {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
}

.hideIframe {
	display: none;
}

.dropdown-menu li > a {
	color: #000000;
}

#showQuestion:focus, #grpBtn:focus, #periodBtn:focus, #classificationBtn:focus, #clearbutton:focus {
	outline: 3px solid rgba(228,108,10,1.00);
}
