@charset "UTF-8";
/* CSS Document */

* {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 400;
	margin: 0px;
	padding: 0px;
}
body {
	width:100%;
	background-image: url('img/background-img.png'); 
    background-repeat: repeat-y;
	background-size: 30%;
	position: relative;
}
#header-logo {
	margin:10px auto;
	display: block; width: 30%;
}
#navbar {
	background-color: #25408f;
	overflow: hidden;
	color: white;
	padding: 5px 7%;
}
#menuToggle {
	display: none;
}

#menuToggle:checked ~ .menu {position: absolute; left: 0; width: 100%;}

.menu-icon {font-size: 1.2em; padding-left: 3%;}

.menu {
	position: absolute; 
	display: inline-flex;
	background-color: #25408f;
	left: -1000px;
	padding: 0 0 0 10%;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
}
.menu a {
	color: white;
	text-decoration: none;
	font-size: 1em;
	padding: 12px 15px;
	margin-left: 0;
}

#slider {
	overflow: hidden;
}
#slider figure {
	position: relative;
	width: 500%;
	margin: 0;
	left: 0;
	animation: 20s slider infinite;
}
#slider figure img {
	width: 20%;
	float: left;
}

@keyframes slider {
	0% {
		left: 0;
	}
	20% {
		left: 0;
	}
	25% {
		left: -100%;
	}
	45% {
		left: -100%;
	}
	50% {
		left: -200%;
	}
	70% {
		left: -200%;
	}
	75% {
		left: -300%;
	}
	95% {
		left: -300%;
	}
	100% {
		left: -400%;
	}
}

#content {
	 padding: 3% 10%;
}
p {
	font-size: 1.05em;
	line-height:1.5em;
	padding-bottom:1.1em;
}
strong {
	font-weight: 600;
}
.nopaddingbottom {
	padding-bottom: 6px;
}
.blue {color:#25408f;}
.photo-caption {
	font-size: 95%;
	font-style: oblique;
	padding: 10px 0 3px 0;
	margin-bottom:10px;
	border-bottom: 1px solid #25408f;
}
h1  {
	font-family: 'Poiret One', cursive;
	font-weight:600;
	font-size: 1.8em;
	color: #25408f;
	padding-top: 15px;
	padding-bottom: 6px;
	line-height: 1.25em;
}
h2  {
	font-family: 'Poiret One', cursive;
	font-weight:600;
	color: #25408f;
	padding-top: 2px;
	font-size: 1.25em;
	line-height: inherit;
	padding-bottom: 6px;
	margin-top: 8px;
}
ul {
	line-height:1.5em;
	margin-left:8px;
	padding-left: 12px;
	padding-bottom: .85em;
	}
li {
	margin-top: 0px;
	list-style-type: disc;
}
td {
	vertical-align: bottom;
	text-align: left;
	padding: 0px;
	max-width: 400px;
}
.FUNsidebar {
	float: right; 
	width: 50%;	
	margin-left:20px;
}
.FUNimage {
	width: 47%;
	float: left;
	padding-left: 2%;
}
.FUNcaption {
	float: left;
	font-size: 95%;
	font-style: oblique;
	padding: 10px 0 3px 0;
	margin-left: 2%;
	margin-bottom:10px;
	border-bottom: 1px solid #25408f;
}
button {
	color: #ffffff;
	font-weight:600;
	font-size: 1em;
	padding: 10px;
	margin-bottom: 8px;
	border: 2px solid #25408f;
	border-radius: 6px;
	background-color:#25408f;
}
button:hover {
	background-color:#bfeaf4;
	color: #384FA3;
}
video {
	padding: 4px;
}
.machines {
	width: 30%;
	float: left;
	padding-right: 3%;
	padding-bottom: 6px;
}
.container {
	width: 100%;
	margin: auto;
}
.subcontainer {
  	width: 100%;
  	margin: auto;
}
.grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 1rem;
	padding: 20px;
	overflow-x: hidden;
}
.container img{
  	width: 100%;
  	background-position: center;
  	background-size: cover;
}
input, textarea, select, option {
  background-color: white;
  border: solid 1px #25408f;
  border-radius: 6px;
  padding: 6px;
  margin: 0 4px 7px 2px;
  font-size: .85em;
  display: inline-block;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
	width: 70%;
}
input[type="submit"] {
	background-color:#25408f;
	color: #ffffff;
	border: solid 2px #25408f;
	border-radius: 8px;
	font-weight:600;
	font-size: 1em;
	padding: 10px;
}
input[type="submit"]:hover {
	background-color:#bfeaf4;
	color: #384FA3;
}
input[type="reset"] {
	background-color: #CCC;
	border: solid 2px #25408f;
	border-radius: 8px;
	font-weight:600;
	font-size: 1em;
	color: #384FA3;
	padding: 10px;
}
input[type="reset"]:hover {
	background-color:#f81747;
	color: #ffffff;
}
footer {
	height: auto;
	border-top: 1px solid #25408f;
	font-size: 0.8em;
	color: #28101F;
	line-height: 1em;
	padding: 10px;
	margin: 30px 10% 15px 10%;
}
/******************************
Media Queries
*******************************/
@media screen and (max-width: 600px) {
	#header-logo {
		display: block; width: 45%;
	}
	.grid {
		grid-template-columns: 1fr;
	}
	.machines {
		width: 100%;
		float: none;
		padding-right: 0;
	}
	.photo-caption {
		padding: 3px 0;
		margin-bottom:10px;
	}
	video {
		padding: 0;
		width: 100%; height:auto;
	}
	.FUNsidebar {
		float: none; 
		width: 100%;	
		margin-left:0;
	}
	.FUNimage {
		width: 100%;
		float: none;
		padding: 5px 0 5px 0;
	}
	.FUNcaption {
		float: none;
		margin-left: 0;
	}
}
