/*MiraculuxWeb
All rights reserved.*/

body{
	margin: 0;
	padding: 0;
	font-family: sans-serif;
}
header{
/*	background: #00795f;*/
	width: 100%;
	/*padding: 40px 0; 
	equals 40px top and bottom, 0px left and right*/
	color: white;
	text-align: left;
	cursor: default;
}
header ul{
	padding-top: 20px;
	text-align: left;
	overflow: hidden;
}
header ul li{
	display: inline-block;
	/*apparently what allows list items to be next to each
	other in a single row. without it, items are always stacked
	on top of each other, regardless of width.*/
	padding: 0 0 0 10px;
}
h1{
	color: #004b24;
	font-family: 'Noto Serif', serif;
	font-size: 2em;
	margin: 0 auto;
}
h7{
	color: #004b24;
	font-family: 'Noto Serif', serif;
	font-size: 2em;
	margin: 0 auto;
	line-height: 1em;
}
h6{
	color: #004b24;
	font-family: 'Noto Serif', serif;
	font-size: 1.5em;
	margin: 0 auto;
}
h2{
/*	color: #bbe4d0;*/
	color: #004b24;
	font-family: 'News Cycle', sans-serif;
	font-size: 0.9em;
	text-align: right;
	letter-spacing: 0.1em;
}
h3{
	color: white;
	font-family: 'News Cycle', sans-serif;
	font-size: 0.9em;
	letter-spacing: 0.1em;
	margin-left: 30px;
}
a{
	text-decoration: none;
	color: inherit;
	/*this means it takes the colour settings from everything around it*/
}
nav ul{
	/*background-color: #43a286;*/
	background-color: #93be66;
	overflow: hidden;
	/*very important so that the overflow doesn't mess with item size*/
	color: white;
	padding: 0;
	font-family: 'News Cycle', sans-serif;
	font-size: 1.2em;
	text-align: center;
	margin: 0;
	transition: max-height 0.4s;
/*	this is a standard css addition which all
	browsers respond to. however, each browser
	has their own "phone number", which is
	expressed in different prefixes.*/
	-webkit-transition: max-height 0.4s;
	-ms-transition: max-height 0.4s;
	-moz-transition: max-height 0.4s;
	-o-transition: max-height 0.4s;
}
nav ul li{
	display: inline-block;
	padding: 20px;
}
nav ul li:hover{
	background-color: #004b24;
}
.divider{
	clear: both;
	width: 100%;
	height: 5px;
	margin-top: 10px;
}
.contactbar{
	width:20%;
	display: inline-block;
	padding: 5px;
	margin: 0 10px 0 0;
	height: 600px;
	position: fixed;
}
section{
	width: 100%;
	display: inline-block;
	margin: 0 auto;
	height: 100%;
	color: black;
	font-family: 'News Cycle', sans-serif;
	font-size: 0.9em;
	line-height: 1.5em;
}
section a{
	color: #93be66;
}
section a:hover{
	background-color: #004b24;
	color: #fff;
}
.menu{
	width: 100%;
	background-color: #93be66;
	text-align: left;
	box-sizing: border-box;
	padding: 15px 10px;
	cursor: pointer;
	color: white;
	display: none;
	/*means that it won't be displayed unless the
	requirements of the media query are fulfilled.
	for that to be a thing a matching tag has to
	be added in the media query though, stating
	explicitly that the handle shall be displayed.*/
}
footer{
	display: block;
	width: 100%;
	height: 100px;
	z-index: 12; bottom: 0px;
	position: fixed;
	margin: 0;
	background: #93be66;
	cursor: default;
	background-image: url("footerdivider.png");
	background-position: center;
	background-repeat: no-repeat;
}
footer ul{
	overflow: hidden;
	text-align: center;
	padding: 0;
}
footer ul li{
	display: inline-block;
	padding: 0 10px 0 10px;
	/* top - right - bottom - left */
	text-align: left;
}
footernonfix{
	display: none;
}
footernonfix ul{
	display: none;
}
footernonfix ul li{
	display: none;
}
mobilefooter{
	display: none;
	width: 100%;
	background: #93be66;
	cursor: default;
}
mobilefooter ul{
	display: none;
	overflow: hidden;
	text-align: center;
	padding: 0;
}
mobilefooter ul li{
	display: none;
	padding: 20px;
}
@media screen and (max-width: 800px){
.contactbar{
	display: none;
	}
section{
	display: block;
	line-height: 1.5em;
	/*makes for very readable text*/
	font-family: 'News Cycle', sans-serif;
	font-size: 0.9em;
	width: 100%;
	margin: 0 auto;
	/*this centers the content in this instance.
	the padding makes sure it's not uncomfortably
	touching the edges. wow i english well today.*/
	}
}
@media screen and (max-width: 530px){
	footer{
		display: none;
	}
	mobilefooter{
	display: block;
	width: 100%;
	background: #93be66;
	cursor: default;
	float: none;
	background-image: url("mobilefooterdivider.png");
	background-position: center;
	background-repeat: repeat-x;
	}
	mobilefooter ul{
		display: block;
		overflow: hidden;
		text-align: center;
		padding: 0;
	}
	mobilefooter ul li{
		display: inline-block;
		padding: 5px;
	}
		h1{
		font-size: 1em;
	}
}
@media screen and (max-width: 589px){
	header ul{
	padding-top: 40px;
	}
	nav ul{
		background-image: none;
		max-height: 0px;
		/*this is what collapses the nav bar!
		no "hide" or "display" tag needed.
		we also want something that can be
		animated, something the browser can
		interpolate, like a numerical value.
		that is why we set a max height - here
		at 0px, in the .showing div at 20em.*/
	}
	.showing{
		max-height: 20em;
	}
	nav ul li{
		box-sizing: border-box;
		/*if you had normal box sizing it would
		be adding the padding on the outside, 
		leading the width of 100% PLUS the padding,
		causing it to overflow*/
		width: 100%;
		padding: 15px;
		text-align: left;
	}
	.menu{
		display: block;
	}
	h1{
		font-size: 1.5em;
	}
}
@media screen and (max-height: 530px){
	footer{
		display: none;
	}
}
@media screen and (max-height: 730px){
	.contactbar{
	display: none;
	}
}



/*
Code Author: Mark-Anthony Karam
Host: mark-anthony.ca
*/

@import url(http://fonts.googleapis.com/css?family=Oswald);
@import url(http://fonts.googleapis.com/css?family=Muli:300);

h4
{
font-family: 'Oswald', sans-serif;
font-size: 1.5em;
text-transform: uppercase;
color: #bcd196;
margin: 5%;
}


/* Centres the page (this could be container)*/
.contactbody {
    display:block;
    position: fixed;
    padding:0 40px 20px 40px;
    margin:0;
    width:176px;
    font-family: 'Muli', sans-serif;
    font-size: 16px;
    color: #999;
}


/* Labels are titles for the text fields. You can use a placeholder instead if you like*/
label 
{
    display:block;
    margin-top:20px;
    letter-spacing:2px;
}

/* Centres the form within the page */
form 
{
    margin:0 auto;
    width:200px;
}

/* Styles the text boxes */
input, textarea, file {
	width:150px;
	height:15px;
	background-color:#efefef;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border:1px solid #dedede;
	padding:10px;
	margin-top:3px;
	font-size:0.9em;
	color:#3a3a3a;
}
input:focus, textarea:focus {
	border:1px solid #93be66;
}
textarea {
	height:113px;
	background-color: #efefef;
}
#submit {
	width:40%;
	height:auto;
	text-align: center;
	border:none;
	padding:2px;
	margin-top:10px;
	cursor:pointer;
}
#submit:hover {
	color:#fff;
	background-color: #93be66;
	opacity:0.9;
}
#cancel {
	width:40%;
	height:auto;
	text-align: center;
	border:none;
	padding: 2px;
	cursor:pointer;
}
#cancel:hover {
	color:#fff;
	background-color: #93be66;
	opacity:0.9;
}






/*--------------------------------------------*/






#menu {
  font-size:14px;
  position:absolute; 
/*  padding-right:950px;*/
margin-top:20px;
margin-left: -20px;
  
}

#menu ul {
  list-style-type:none;
  list-style-image:none;
  margin:0px;
  padding:0px;

 position: absolute;
  
}

#menu li.topmenu {
  float:left;
  
}

.topmenu a {
  
  width:100%;
  text-align:center;
}

.topmenu ul{
  display:none;
}

.topmenu a, .submenu a{
  padding:1px 5px;
  border-collapse:collapse;
 /* color:#C37000;*/
  text-decoration:none;

  margin:0;  
}

.submenu a{
  font-size:12px;
  min-width:110px;
  position:relative;
  clear:both; /* special IE6 */
}

#menu a:hover, .topmenu.on a {
  color:#FFFFFF;
 /*background-color:#004B24 !important;*/

}

.topmenu:hover ul {
  display:block;  
  z-index:500;
}

#menu a {
    float: none;
	text-align: left;
	
}


#menu li {
    clear: both;
	
}

#menu li:hover{
background-color:#004B24 !important;
width:100%;
padding-left:0px;
}

/*OMSAG SLIDER*/
.flexslider .slides > li {
	background-position: right !important;
	background-size: contain !important;
	background-repeat: no-repeat;
	height: 70vh;
}
.flex-direction-nav a {
	position: relative;
	left: 0;
	top: 0;
	opacity: 1;
}
.flex-direction-nav .flex-prev { 
	left: 0 !important;
}
.flex-direction-nav .flex-next {
	right: 0 !important;
}
.flex-direction-nav a:before {
	font-size: 20px !important;
}
.flex-direction-nav li {
	display: inline-block;
}