/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

::-webkit-scrollbar {
    display: none;
}

.Blocker3D > rect {
    fill: grey;
}

.Blocker3D > text {
    color: white;
    font-size: 24px;
    font-family: "Verdana";
    baseline-shift: -6px;
}

body {
	margin-top: 80px;
    background-color: #262f35;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#NMatoms {
	font-family: "Verdana";
	font-size: 38px;
	text-anchor: middle;
}

.button {
    background-color: #5b7da0;
    border: none;
    color: white;
    padding: 15px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    width: 45%;
    margin: 5px;
    box-shadow: 3px 3px 4px rgba(0,0,0,.3);
}

.dd > rect {
    fill: lightgray;
	stroke-width: 1.1px;
	stroke: black;
}

.dd > defs > mask > text {
    text-anchor: middle;
    font-size: 34px;
    font-family: "Verdana";
}

.dd > line, .dd > circle {
    stroke: black;
    stroke-width: 2px;
}

div{
    overflow: hidden;
    display: block;
	position:relative;
}

div#controls {
    margin-top: 16px;
}

div#NewmanModel {
    position: absolute;
	left:27%;
    top: 0px;
    width: 480px;
    height: 321px;
}

.draggable {
    text-anchor: middle;
    font-size: 38px;
    font-family: "Verdana";
    cursor: -webkit-grab;
}

.draggable > * > line {
	stroke-width: 4px;
    stroke-dasharray: 4,5;
    stroke: #606d79;
}

.draggable > * > rect {
	stroke:none;
	opacity:0.4;
	fill:white;
}

#eye {
    stroke: black;
    stroke-width: 4px;
    stroke-linecap: round;
}

h1 {
	margin: 3px;
	text-align: center;
	font-family: "Bookman Old Style";
	font-size: 28px;
	font-weight: bold;
}

.header {
	position: fixed;
    top: -5px;
    background-color: #3e4649;
    display: block;
    width: 100%;
    z-index: 10;
    border-bottom: 3px solid #212121;
}

.help {
	position: absolute;
    right: 0px;
    text-align: right;
    -webkit-transition: .4s;
    transition: .4s;
    background-color: #5b7da0;
    color: white;
    width: 10px;
    height: 15px;
    z-index: 2;
    padding: 10px;
    font-family: "Verdana";
    line-height: 18px;
}

input:checked + .slider {
  background-color: #4c98af;
}

input:checked + .slider:before {
    transform: translateX(192px);
}

.label {
    position: absolute;
    pointer-events: none;
    font-size: 24px;
    font-weight: bolder;
    font-family: sans-serif;
    background-color: rgba(255, 255, 255, 0.75);
    margin: 0px;
}

.menu {
	position: relative;
	height: 240px;
	width: 100%;
	background: linear-gradient(-90deg, lightslategrey, #8ca1b5);
    border-top: 6px solid #3e546b;
}

#molName {
	position: absolute;
    top: 5px;
    left: 5px;
    font-size: 24px;
}

#NMbonds {
	stroke: black;
	stroke-width: 2px;
}

.page {
    width: 1020px;
	height: 677px;
	top:24px;
    margin: auto;
    background-color: #dee8f9;
	border: 3px solid #5d5d65;
}

.resultRight {
    font-family: "Verdana";
    float: right;
    font-size: 22px;
    line-height: 13px;
    margin: 1em 0 1em 0;
}

#root > div {
    position: relative;
    height: 240px;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #5b7da0;
  -webkit-transition: .4s;
  transition: .4s;
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.slider:before {
  position: absolute;
  content: "";
  height: 37px;
  width: 200px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border: 2px solid #2a3846;
  -webkit-transition: .4s;
  transition: .4s;
}

.switch {
  position: relative;
  display: inline-block;
  width: 400px;
  height: 45px;
  margin: 5px;
}

.switch input {display:none;}

.switch > h2 {
    font-family: "Bookman Old Style";
    margin: 0px;
    font-size: 18px;
    font-weight: bold;
    pointer-events: none;
    position: relative;
    top: 30%;
    width: 50%;
    height: 100%;
    text-align: center;
}

.view2D {
    position:absolute;
	right:0px;
}

.view3D {
    position:absolute;
}
