
@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700');
@import url('https://fonts.googleapis.com/css?family=Titillium+Web:400,700&display=swap');

* {
	font-family: 'Titillium Web','PT Sans', Arial;
}
html, body {
	height: 100%;
	/*overflow: hidden;*/
}
body {
	background: #EEE;
	margin: 0;
}

tr#header {
	height: 167px;
}

td#form {
	width: 320px;
}

td#svg {
	padding: 3% 0;
}

h1 {
	font-size: 55pt;
	color: #006092;
	margin-bottom: 5px;
	width: 100%;
}
h2 {
	font-size: 20pt;
	line-height: 24pt;
	margin-top: 0;
}
h4 {
	font-size: 16pt;
	margin: 9px 0 0px;
}
p {
	margin: 0 0 13px;
}

svg {
	width: 100%;
	height: 100%;
}

a {
	color: #006092;
	cursor: pointer;
	margin-top: 5px;
    display: inline-block;
}
a:hover {
	text-decoration: underline;
}

input {
	width: 270px;
}
input[type="button"] {
	color: white;
	background: #006092;
	border: none;
	font-size: 14pt;
	cursor: pointer;
	padding: 3px 0;
	margin: 3px 0;
}
input[type="button"]:hover {
	background: #006092d6;
}

input[type="range"] {
	width: 270px;
}

text#ambientText {
	font-weight: bold;
}

div#wrapper {
	position: relative;
	left: 0;
	margin: 0;
	width: 100%;
	height: 100%;
    overflow-x: hidden;
}

div#content {
	position: relative;	
	left: 0;
	margin: 0;
	height: 100%;
	width: 400%;
	transition: all 0.5s;
}

div.slider {
	position: relative;
	height: 99%;
	width: 21%;
	float: left;
	padding: 0 2% 1%;
}

table.slider {
	position: relative;
	height: 100%;
	width: 100%;
	float: left;
	padding: 0 5% 2%;
}

.slider img, .slider object {
	max-height: 80%;
}


div#nav {
	position: absolute;
	bottom: 0;
	margin-left: -78px;
	left: 50%;
}

.slider__nav {
  width: 20px;
  height: 20px;
  margin: 2.5rem 20px;
  border-radius: 50%;
  z-index: 10;
  outline: 8px solid #ccc;
  outline-offset: -10px;
  box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  backface-visibility: hidden;
  position: fixed;
  bottom: 0;
  left: 50%;
}
/*.slider__nav::before {
    border: 5px solid #000;
    content: "";
    position: absolute;
    top: -8px;
    bottom: -8px;
    left: -8px;
    right: -8px;
}*/
.slider__nav:nth-of-type(1){
	margin-left: -90px;
}.slider__nav:nth-of-type(2){
	margin-left: -35px;
}.slider__nav:nth-of-type(3){
	margin-left: 20px;
}.slider__nav:nth-of-type(4){
	margin-left: +75px;
}

.slider__nav:checked {
  -webkit-animation: check 0.5s forwards;
  animation: check 0.2s forwards;
}

@keyframes 
check {  50% {
 outline-color: #333;
 box-shadow: 0 0 0 8px #333, 0 0 0 20px rgba(51, 51, 51, 0.2);
}
 100% {
 outline-color: #333;
 box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
}
}

.slider__nav:checked:nth-of-type(1) ~ #content {
	transform: translateX(0%);
}

.slider__nav:checked:nth-of-type(2) ~ #content {
	transform: translateX(-25%);
}

.slider__nav:checked:nth-of-type(3) ~ #content {
	transform: translateX(-50%);
}

.slider__nav:checked:nth-of-type(4) ~ #content {
	transform: translateX(-75%);
}

@media (max-width: 1400px) {
	h1 {
		font-size: 40pt;
	}
	h2 {
		font-size: 17pt;
	}
	h4 {
		font-size: 14pt;
	}
	input, input[type="range"], input[type="button"] {
		width: 220px;
		font-size: 12pt;
	}
	td#form {
		width: 250px;
	}
	tr#header {
		height: 115px;
	}
}