/* ==================================================
   Reset CSS + Clearfix
================================================== */

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}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}
.clearfix:before,.clearfix:after{content:".";display:block;height:0;overflow:hidden}.clearfix:after{clear:both}.clearfix{zoom:1}

/* ==================================================
   Images
================================================== */

img
{
	display: block;
	
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	
	outline: 1px solid transparent;
}

/* ==================================================
   LazySizes
================================================== */

.lazyloading:not(iframe)
{
	opacity: 0;
}

.lazyloaded
{
	opacity: 1;
	transition: 400ms opacity;
}

[data-expand].lazyload
{
	opacity: 0;
	transform: scale(0.8);
}

[data-expand].lazyloaded
{
	opacity: 1;
	transition: all 700ms;
	transform: scale(1);
}

img.lazyloaded, 
img.lazyload
{
	display: block;
	width: 100%;
	max-width: 1000px;
}

/** <img class="lazyload" src="images/img-small.jpg" data-srcset="images/img-small.jpg 768w, images/img-large.jpg 1024w" alt="" /> **/

/* ==================================================
   Typography
================================================== */

.section p
{
	margin: 0 0 20px 0;
}

.section strong, .section b
{
	font-weight: 700;
}

.section em, .section i
{
	font-style: italic;
}

h1, h2, h3, h4, h5, h6
{
	margin: 0 0 20px 0;
	font-weight: 400;
	font-family: "Asul";
	line-height: 1em;
	text-transform: none;
	color: #222;
	letter-spacing: -0.02em;
}

	h1
	{
		font-size: 2em;
	}
	
		h1 span
		{
			color: #b54e21;
		}

		.homepage #maincont h1
		{
			display: block;
			width: 100%;
			max-width: 700px;
			margin: 0 auto 30px auto;
			line-height: 0.8em;
		}
	
	h2
	{
		font-size: 1.8em;
	}
	
	h3
	{
		font-size: 1.6em;
	}
	
	h4
	{
		font-size: 1.4em;
	}
	
	h5
	{
		font-size: 1.2em;
	}
	
	h6
	{
		font-size: 1em;
	}

.section hr
{
	clear: both;
	border: 0;
	height: 0;
	margin: 0 0 25px 0;
	border-top: 1px dotted #DDD;
}

	#testimonialscont hr
	{
		clear: both;
		border: 0;
		height: 0;
		margin: 0 0 25px 0;
		border-top: 1px dotted #BBB;
	}

.section ul
{
	margin: 0 0 20px 25px;
	list-style-type: square;
}

	.section ul li
	{
		padding: 0;
	}

		.section ul ul
		{
			margin: 0 0 0 20px;
		}

.section ol
{
	margin: 0 0 20px 25px;
	list-style-type: decimal;
}

	.section ol li
	{
		padding: 0;
	}

		.section ol ol
		{
			margin: 0 0 0 20px;
		}

.section ul.tickulnormal
{
	margin: 0 0 20px 30px;
	list-style-type: none;
}

	.section ul.tickulnormal.nobottom
	{
		margin: 0 0 0 30px;
	}
	
		.section ul.tickulnormal li
		{
			margin-bottom: 8px;
			line-height: 1.6em;
		}
	
			.section ul.tickulnormal li:before
			{
				content: '\f418';
				font-family: 'Genericons';
				float: left;
				font-size: 1.6em;
				color: #b54e21;
				margin-left: -32px;
			}

.section .treemenu, .section .treemenu ul, .section .treemenu li
{
     position: relative;
}

	.section .treemenu ul
	{
		list-style: none;
		margin: 0 0 20px 0;
		line-height: 1.4em;
		padding-left: 15px;
	}
	
	.section .treemenu ul ul
	{
		padding-top: 5px;
		padding-left: 20px;
		margin: 0 0 5px 0;
	}
	
		.section .treemenu ul li
		{
			padding: 1px 0;
		}
		
			.section .treemenu li::before,
			.section .treemenu li::after
			{
				content: "";
				position: absolute;
				left: -15px;
			}

			.section .treemenu li::before
			{
				border-top: 1px solid rgba(255,255,255,0.3);
				top: 12px;
				width: 8px;
				height: 0;
			}
			
			.section .treemenu li::after
			{
				border-left: 1px solid rgba(255,255,255,0.3);
				height: 100%;
				width: 0px;
				top: 2px;
			}

/* ==================================================
   Page Dividers
================================================== */

.offset
{
	margin-top: -60px;
}

.offsetdown
{
	margin-bottom: -60px;
	z-index: 2;
}

.dividercont
{
	position: relative;
	overflow: hidden;
	height: 60px;
}

	.dividercont .divider1
	{
		width: 0;
		height: 0;
		position: absolute;
		bottom: 0px;
		
		border-top: 60px solid transparent;
		border-right: 100vw solid #b54e21;
	}
	
	.dividercont .divider2
	{
		width: 0;
		height: 0;
		position: absolute;
		bottom: 0px;
		
		border-top: 60px solid transparent;
		border-right: 100vw solid #DDD;
	}
	
	.dividercont .divider3
	{
		width: 0;
		height: 0;
		position: absolute;
		bottom: 0px;
		
		border-top: 60px solid transparent;
		border-right: 100vw solid #FFF;
	}

@media only screen and (max-width: 768px)
{
	
	.offset
	{
		margin-top: -40px;
	}
	
	.offsetdown
	{
		margin-bottom: -40px;
	}
	
	.dividercont
	{
		height: 40px;
	}
		
		.dividercont .divider1, 
		.dividercont .divider2, 
		.dividercont .divider3
		{
			border-top: 40px solid transparent;
		}
	
}

/* ==================================================
   Images
================================================== */

img
{
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	
	outline: 1px solid transparent;
}

.imgleftdiv
{
    float: left;
    max-width: 280px;
    margin: 0 20px 15px 0;
}
	
    .imgleftdiv img
	{
        width: 100%;
        display: block;
        margin: 0 0 8px 0;
    }
        
.imgrightdiv
{
    float: right;
    margin: 0 0 15px 20px;
}
        
    .imgrightdiv img
	{
        width: 100%;
        display: block;
        margin: 0 0 8px 0;
    }

.imgfull
{
	width: 100%;
}

@media only screen and (max-width: 768px)
{
	
	.imgleftdiv
	{
		float: none;
		margin: 0 0 20px 0;
	}
	
	.imgrightdiv
	{
		float: none;
		margin: 0 0 20px 0;
	}
	
}

/**

<div class="imgrightdiv" style="max-width:400px">
	<img src="https://unsplash.it/600/400/?random" alt="" />
</div>

**/

/* ==================================================
   Button
================================================== */

.mybutton
{
	position: relative;
	display: inline-block;
	padding: 10px 14px 12px 14px !important;
	margin: 0;
	width: auto;
	overflow: hidden;
	text-decoration: none;
	border: none; 
	text-align: left;
	font-family: inherit;
	background-color: #b54e21;
	line-height: 1.1em !important;
	color: #FFF !important;
	cursor: pointer;
	font-size: 1.1em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	
	-webkit-appearance: none;
}

	.mybutton:hover
	{
		background: #8e3d19;
		color: #FFF;
		text-decoration: none;
	}
	
		.mybutton.fullbutton
		{
			width: 100%;
		}

.smallbutton
{
	padding: 8px 12px 10px 12px !important;
	font-size: 1.1em;
	letter-spacing: 0.04em;
}

@media only screen and (max-width: 768px)
{
	
	.mybutton
	{
		padding: 8px 12px 10px 12px !important;
		font-size: 1em;
	}
	
}

/* ==================================================
   Responsive Tables
================================================== */

#responsivetable
{
	overflow-x: auto;
}

	#responsivetable table
	{
		border: 1px solid #CCC;
		border-collapse: collapse;
		margin: 0;
		padding: 0;
		width: 100%;
	}

	#responsivetable table tr
	{
		background: #F5F5F5;
		border: 1px solid #DDD;
	}

	#responsivetable table th,
	#responsivetable table td
	{
		padding: 12px 15px;
		text-align: left;
		line-height: 1em;
	}

	#responsivetable table th
	{
		background: #00685B;
		color: #FFF;
		font-weight: 800;
	}

/**

<div id="responsivetable">
	<table>
		<thead>
			<tr>
				<th>First Name</th>
				<th>Last Name</th>
				<th>Age</th>
				<th>Favorite Movie</th>
				<th>Favorite Band/Aritst</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>Ron</td>
				<td>Wilson</td>
				<td>30</td>
				<td>Wizard of Oz</td>
				<td>Oasis</td>
			</tr>
			<tr>
				<td>Armando</td>
				<td>Reyes</td>
				<td>17</td>
				<td>Star Wars</td>
				<td>Phantogram</td>
			</tr>
			<tr>
				<td>Sarah</td>
				<td>Thompkins</td>
				<td>62</td>
				<td>Ghostbusters</td>
				<td>Arcade Fire</td>
			</tr>
			<tr>
				<td>Lorraine</td>
				<td>Schugel</td>
				<td>25</td>
				<td>Moana</td>
				<td>Bush</td>
			</tr>
		</tbody>
	</table>

**/

/* ==================================================
   Search Box
================================================== */

.sb-search
{
	position: relative;
	float: left;
	width: 100%;
}

	.sb-search form
	{
		float: left;
		width: 100%;
	}
	
		.sb-search form input.sb-search-input
		{
			float: left;
			width: 100%;
			height: 55px;
			background: #FFF;
			padding: 0 70px 0 15px;
			line-height: 1em;
			font-size: 1em;
			border: none;
			outline: none;
			font-family: inherit;
			
			-webkit-appearance: none;
			
			-webkit-border-radius: 0;
			-moz-border-radius: 0;
			border-radius: 0;
		}
		
			#maincont .sb-search form input.sb-search-input
			{
				background: #EEE;
			}
		
		.sb-search form button.formbutton
		{
			position: absolute;
			top: 0;
			right: 0;
			width: 100%;
			height: 55px;
			max-width: 55px;
			line-height: 1em;
			font-size: 1.3em;
			background: #EE7768;
			color: #FFF;
			border: none;
			cursor: pointer;
		}
		
			#searchoverlay .sb-search form button.formbutton
			{
				background: #EE7768;
			}

/* ==================================================
   Search Modal Box
================================================== */

.button_container
{
	position: relative;
}

	.button_container.active
	{
		position: fixed;
		top: 30px;
		right: 30px;
		z-index: 9999;
	}

.toggleoverlay
{
	position: fixed;
	z-index: 9998;
	background: #E84A36;
	color: #FFF;
	top: 0;
	left: 0;
	width: 100%;
	height: 0%;
	opacity: 1;
	padding-top: 0;
	padding-bottom: 0;
	visibility: hidden;
	overflow: hidden;
	
	-webkit-transition: opacity 0.2s, visibility 0.2s, height 0.2s;
	transition: opacity 0.2s, visibility 0.2s, height 0.2s;
}

	.toggleoverlay.open
	{
		opacity: 1;
		visibility: visible;
		height: 100%;
	}
	
		.toggleoverlay .container
		{
			height: 100%;
			max-width: 700px;
		}
	
	.toggleoverlay .overlayheight
	{
		display: table;
		width: 100%;
		height: 100%;
	}
	
		.toggleoverlay .overlayheight .overlaycentre
		{
			display: table-cell;
			vertical-align: middle;
			text-align: left;
			padding: 30px;
		}

#searchoverlay
{
	
}

	#searchoverlay h3
	{
		font-size: 1.8em;
		margin: 0 0 10px 0;
		color: #FFF;
	}
	
	#searchoverlay p
	{
		margin: 0 0 20px 0;
		line-height: 1.2em;
		font-size: 0.95em;
		color: rgba(255,255,255,0.5);
	}

