/* Eric Meyer's Reset CSS v2.0  */

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;
}

/* DONE RESET! On to our stuff */
html,
body {
	margin: 0;
  	height: 100vh;
  	min-height: 100vh;
}
body {
  	margin:0;
    display: flex;
  	flex-direction: column;
    font-family: "Roboto";
    font-weight:400;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-kerning: normal;
}

/* BASIC CONTENT BLOCKS */
#header {
	order: 1;
    flex-shrink: 0;
    background:#fff;
}
#content {
	  order: 2;
	  overflow-y: auto;
	  flex-grow:1;
	background-color:#000;
	color:#fff;
}
#highlights #content {
	background-color:#fff;
	color:#000;
}
#footer {
    order: 3;
    flex-shrink: 0;
    background:#fff;
	font-size:12px;
}

/* BASIC STYLING */
#contentflex {
	display:flex;
	margin:4em 0;
}
#content h1 {
	font-size:50px;
	line-height:120%;
	margin:0;
	padding:0;
	font-weight:400;
	color:#00B2A9;
}
#content h2 {
	font-size:30px;
	line-height:120%;
	margin:0;
	padding:0;
	font-weight:700;
}
#content h3 {
	font-size:30px;
	line-height:120%;
	margin:0;
	padding:0;
	font-weight:400;
}
#content h4 {
	font-size:30px;
	line-height:120%;
	margin:0 0 0.5em 0;
	padding:0;
	font-weight:400;
}
#content h5,
#content h6 {
	font-size:25px;
	line-height:120%;
	margin:0 0 0.5em 0;
	padding:0;
}
#content ul,
#content ol{
	margin:0 0 1em 0;
}
#content p,
#content th,
#content td,
#content li {
	line-height:130%;
	padding:0;
	margin:0 0 1em 0;
	font-weight:400;
	font-size:16px;
 	line-height:130%;
}
#content th,
#content td {
	margin:0;
	vertical-align:top;
	padding:3px 0;
}
#content a {
	color:#fff;
	text-decoration:underline;
}
#content b,
#content strong{
	font-weight:700;
}
#content i,
#content em{
	font-style: italic;
}
#content blockquote {
	display:block;
	margin:0 40px 1em 40px;
	font-style:italic;
}
#content ol {
	list-style:decimal;
	margin-left:0em;
}
#content ul {
	list-style:disc;
	margin-left:0em;
}
#content ul li{
	padding:0 0 0.5em 0;
	margin:0 0 0 1em;
}
#content ol li{
	padding:0 0 0.5em 0;
	margin:0 0 0 2em;
}
#privacypolicy #content ol ol {
	list-style:lower-alpha;
}
#content #pageheading {
	padding:2em;
}
#content #pageheading h1 {
	color:#fff;
	text-align:center;
}
#content #pageheading img,
#content #pageheading svg {
	width:100%;
	max-width:440px;
}

/* telephone number */
#content .iti__flag-box,
#content .iti__country-name,
#content div.iti__selected-dial-code {
    color: #000 !important;
	text-shadow:none !important;
}
#content .iti {
    width: 100%;
    max-width: 400px;
	color:#000;
}
#content .iti ul {
	list-style:none;
}
#error-msg {
    color: red;
}
#valid-msg {
    color: green;
}
.hide {
    display: none;
}
input.error {
    border: 2px solid red;
}
#content .homecontent {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
text-align:center;
}

/* FLEXBOX */
#contentflex{
	margin:0;
	padding:8.3333% 0;
	flex-wrap: wrap;
}
#oblive2020 #contentflex {
	padding-top:1em;
}

/* HEADER */
#headerpadding {
	width:100%;
	padding:1.5%;
	box-sizing:border-box;
}
#header a {
	text-decoration:none;
}
#header #logo img,
#header #logo nav {
	height:100%;width:auto;max-height:40px;
}

/* FOOTER */
#footer #footerpadding{
	width:100%;
	padding:1.5%;
	box-sizing:border-box;
}
#footer .footerflex {
	display:flex;flex-wrap:nowrap;justify-content:space-between;
}
#footer .footer__logo {
	margin:0 2em 2em 0;
}
#footer .footer__logo img,
#footer .footer__logo .svg {
	width:100%;
	max-width:120px;
	height:auto;
}
#footer .footer__phoneemail {
	margin:0 2em 2em 0;
}
#footer .footer__address {
	margin:0 2em 2em 0;
}
#footer .footer__spacer {
	flex-grow:1;
}
#footer .footer__icons {
	display:flex;
	flex-direction:row;
	margin:0 2em 2em 0;
}
#footer .footer__icons div {
	margin:0 1em 0 0;
}
#footer .footer__icons #ruok .svg {
	padding-left:1.5em;
	max-height:1.75em;
	width:auto;
}
#footer .footer__icons #supplynation .svg {
	padding-left:1.5em;
	max-height:5em;
	width:auto;
}
#footer .footer__icons #ruok .white,
#ideastorm #footer .footer__icons #ruok .black,
#footer .footer__icons #supplynation .white,
#ideastorm #footer .footer__icons #supplynation .black {
	display: none;
}
#footer .footer__icons #ruok .black,
#ideastorm #footer .footer__icons #ruok .white,
#footer .footer__icons #supplynation .black,
#ideastorm #footer .footer__icons #supplynation .white {
	display: block;
}
#footer #footer2 {
	display:flex;
	flex-direction:column;
}
#footer #footer2 .footer__social {
	flex-grow:1;
	text-align:right;
}
#footer #footer2 .footer__privacy {
	text-align:right;
}
#footer #footer2 .footer__copyright {
	text-align:right;
}
#footer #social {
	display:flex;
}
#footer #social div img,
#footer #social div .svg {
	padding-left:1.5em;
	max-height:1.75em;
	width:auto;
}
#footer a {
	color:#000;
	text-decoration:none;	
}


/* MAIN MENU */
#nav #toggle {
	display: none
}
#nav .toggle img {
	width:7.5%;max-width:60px;min-width:30px;height:auto;
}
#nav .toggle {
	display: block;
	position: relative;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
	z-index: 9999;
}
#nav .site-nav {
	display:none;
	width: auto;
	height: 100%;
	box-sizing:border-box;
	position: absolute;
	right: 0;
	top: 0;
	padding: 12% 9% 3% 3%;
	z-index: 5555;
    transition: all .2s ease-in;
	background-color: rgba(153,153,153,0.95);
}
#nav .site-nav li a {
	display: block;
	padding:1.5% 0;
	color: #fff;
    transition: all .2s ease-in;
	text-decoration:none;
	opacity: 1;
	font-size:20px;
	line-height:200%;
}
#nav .site-nav li a:hover {
	color: #00B2A9;
}
#nav #toggle:checked~.site-nav {
	display: block;
	transition-delay: 0s;
}
#nav #toggle:checked~.toggle .svg path {
    fill: #ffffff;
}

/* CONTACT FORM */
form {
	max-width:600px;
	margin:0 auto;
}
input,
select {
	font-family:"Roboto";
	font-weight:400;
	width:100%;
	max-width:600px;
	padding:0.5em;
	box-sizing:border-box;
	border:1px solid black;
	font-size:22px;
}
textarea {
	font-family:"Roboto";
	font-weight:400;
	width:100%;
	padding:0.5em;
	box-sizing:border-box;
	border:0;
	font-size:22px;
	border:1px solid black;
}
input[type=button],
input[type=submit] {
	font-family:"Roboto";
	font-weight:700;
	width:auto;
	padding:0.75em 1.5em;
	box-sizing:border-box;
	background:#00B2A9;
	color:#fff;
	border:1px solid #fff;
	cursor:pointer;
	font-size:22px;
	background:#000;
}
#home input[type=button] {
	background:#00B2A9;
}
input[type=checkbox] {
	margin: 3px 1em 0 0;
}
a[href^="tel"]{
    color:inherit;
    text-decoration:none;
}
#demoform input,
#demoform textarea {
	font-size:18px;	
}
#regoform input,
#regoform select,
#regoform option,
#regoform textarea {
	font-size:16px;	
}
#highlights #content {
	margin-top:4em;
	text-align:center;
}

/* FOR BRANDING */
body.branded #footer div.footer1 {
	width:20%;
}
body.branded #footer div.footer3 {
	width:20%;
	text-align:right;
}

/* system check */
#testpage body {
	margin:0
}
#testpage img {
	width:80%;
}
#content div.helptext {
	background: rgba(0,0,0,0.5);
    padding: 2em;
    margin:0 0 1em 0;
}
#content div.helptext p {
    line-height: 2em !important;
    margin:0;
}
#oblive2020 #content #contentflex div div {
	max-width:100% !important;
}

@media only screen and (max-width:768px) {
	body {
		/*display:block;*/
	}
	#content {
		overflow-y: inherit;
	}
	#content h1 {
		font-size:30px;
	}
	#content h2,
	#content h3 {
		font-size:20px;
	}
	#content .homecontent {
		position:relative;
		padding:1.5em;
	}
	#content div.iti {
		width:auto !important;
	}
	#content p.helptext {
		font-size:13px;
	}
	#contentflex {
		display: block;
		padding:1.5%;
		margin:0;
	}
	#contentflex div {
		width: 50%;
	}
	#contentflex div {
		width: 100% !important;
	}
	#contentflex div.iti div {
		width: auto !important;
    	text-shadow: none !important;
		color:#000 !important;
	}
	#contentflex div.iti div.iti__flag {
    	width: 20px !important;
	}

	#footer .footer__logo {
		margin: 2em 0;
	}
	#footer .footerflex {
		display: block;
		margin: 0;
	}
	#footer .footer__phoneemail {
		margin: 0 0 1.5em 0;
	}
	#footer .footer__address {
		margin: 0 0 1.5em 0;
	}
	#footer .footer__spacer {
		display:none;
	}
	#footer .footer__icons #ruok .svg {
		padding-left: 0px;
	}
	#footer #footer2 .footer__social,
	#footer #footer2 .footer__privacy,
	#footer #footer2 .footer__copyright {
		text-align: left;
	}
	#footer #footer2 .footer__social #social {
		margin: 0 0 1.5em 0;
	}
	#footer #footer2 .footer__social #social div img, 
	#footer #footer2 .footer__social #social div .svg {
		padding: 0 1.5em 0 0;
		max-height: 2em;
	}
	#header #headerpadding,
	#footer #footerpadding,
	#content #contentflex {
		padding:3%;
	}
	#nav .site-nav {
		padding:12% 3% 3% 3%;
	}
	#nav .site-nav li a {
		padding:3%;
		text-align:center;
	}
	
	/* FOR BRANDING */
	body.branded #footer div.footer2 {
		text-align:left !important;
		margin:3em 0;
	}
	body.branded #footer div.footer1 {
		width:100%;
	}
	body.branded #footer div.footer3 {
		width:100%;
		text-align:left;
	}

	/* NAVIGATION */
	#nav .site-nav {
		width: 100%;
		height: 100%;
		left: 0px;
		top: 0px;
	}
	#nav .site-nav li a {
		font-size:24px;
	}
	input[type=button], input[type=submit] {
	    font-size: 18px;
	}
	#home input[type=button] {
	    margin: 1em auto;
	}
	div.videocontainer {
		position: relative;
		padding-bottom: 56.25%;
		padding-top: 30px; 
		height: 0; 
		overflow: hidden;
	}
	div.videocontainer iframe,
	div.videocontainer object,
	div.videocontainer embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	#highlights #content {
		margin-top:0
	}
	#oblive2020 #content #contentflex div div {
		display:block !important;
		width:100% !important;
	}
	#oblive2020 #content #contentflex div div div {
		display:block !important;
		width:100% !important;
		box-sizing:border-box;
	}
}
