/*
	Theme Name: Impact - HTML 5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Based Wordpress Theme with CSS3
	Version: 2.3.1 - using V1.4.2 of HTML5 Blank
	Author: Impact
	Author URI: http://impactpartner.com
	Tags: Blank, HTML5, CSS3
	
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size: 62.5%;
}
body {
	color:#444;
	font-size: 1em;
}
body, html {
	height:100%; width:100%;
	font-weight: 400;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
code {
    background: none repeat scroll 0 0 #EEEEEE;
    border: 1px solid #D8D8D8;
    clear: both;
    display: block;
    font-family: "Courier New";
    font-size: 12px;
    line-height: 19px;
    margin: 10px 0;
    padding: 5px 15px;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}

/*------------------------------------*\
	Navigation (Responsive)
\*------------------------------------*/

#nav-wrap {
	display: table;
    margin: 0px auto;
}

/* menu icon */
#menu-icon {
	display: none; /* hide menu icon initially */
}

#nav {
	display: table-row;
    list-style-position: outside;
    list-style-type: none;
    margin: 1px 0 0;
    padding: 0;
    position: relative;
}

#nav li {
	font-size: 1em;
	color: #000;
    border: 0 none;
    float: left;
    line-height: 1;
    margin: 0;
    padding: 0;
    display: table-cell;
    padding: 20px 13px;
}

#nav li:last-child {
	background: none;	
}

/* nav link */
#nav a {
	font-size: 1.6em;
	padding: 13px 20px;
}

/* nav dropdown */
#nav ul {
	background: #fff;
	padding: 2px;
	position: absolute;
	border: solid 1px #ccc;
	display: none; /* hide dropdown */
	width: 200px;
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}
#nav li:hover > ul {
	display: block; /* show dropdown on hover */
}

/*------------------------------------*\
MOBILE
\*------------------------------------*/
@media screen and (max-width: 767px) {

/* nav-wrap */
#nav-wrap {
	position: relative;
	width: 100%;
	padding: 10px 0;
}

/* menu icon */
#menu-icon {
	color: #000;
	width: 100%;
	height: 30px;
	background: #ecebeb url("img/menu-icon.png") no-repeat 10px center;
	padding: 4px 0 0 39px;
	cursor: pointer;
	border: solid 1px #666;
	display: block; /* show menu icon */
}
#menu-icon:hover {
	background-color: #f8f8f8;
}
#menu-icon.active {
	background-color: #bbb;
}

/* main nav */
#nav {
	clear: both;
	position: absolute;
	top: 39px;
	width: 100%;
	z-index: 10000;
	padding: 5px 0;
	background: #f8f8f8;
	border: solid 1px #999;
	display: none; /* visibility will be toggled with jquery */
}
#nav li {
	text-align: center;
	background: none;
	padding: 15px 0;
	clear: both;
	float: none;
	display: block;
	border-bottom: 1px solid #E8E8E8;
}
#nav li:last-child {
	border: none;
}

#nav a, 
#nav ul a {
	font: inherit;
	background: none;
	display: inline;
	padding: 0;
	color: #666;
	border: none;
}
#nav a:hover, 
#nav ul a:hover {
	background: none;
	color: #000;
}

/* dropdown */
#nav ul {
	width: auto;
	position: static;
	display: block;
	border: none;
	background: inherit;
}
#nav ul li {
	margin: 3px 0 3px 15px;
}
}

@media screen and (min-width: 767px) {

/* ensure #nav is visible on desktop version */
#nav {
	display: block !important;
}
}

@media screen and (max-width: 930px) {
#nav a {
	font-size: 14px;
	padding: 13px 12px;
}
}

/*------------------------------------*\
	BXSlider Default
	
	<ul class="bxslider">
	  <li><p>Slide 1</p></li>
	  <li><p>Slide 2</p></li>
	  <li><p>Slide 3</p></li>
	  <li><p>Slide 4</p></li>
	</ul>  
	
	<!-- bx-pager -->
	<div id="bx-pager">
	    <a href="" class="pager" data-slide-index="0">Slide 1</a>
	    <a href="" class="pager" data-slide-index="1">Slide 2</a>
	    <a href="" class="pager" data-slide-index="2">Slide 3</a>
	    <a href="" class="pager" data-slide-index="3">Slide 4</a>
	</div>

#bx-pager {
    padding-top: 40px;
    text-align: center;
}

#bx-pager .pager {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 2px solid #FFFFFF;
    display: inline-block;
    border-radius: 10px;
    height: 20px;
    margin: 0 15px;
    text-indent: -9999px;
    width: 20px;
-webkit-transition: all .4s ease;
-moz-transition: all .4s ease;
-ms-transition: all .4s ease;
-o-transition: all .4s ease;
transition: all .4s ease;
}

#bx-pager .pager:hover, #bx-pager .active {
    background:#000;
    border: medium none;
}

\*------------------------------------*/


/*------------------------------------*\
	Gravity Forms Fix for Box-Sizing
\*------------------------------------*/

body .gform_wrapper {
	max-width: 100%;
}

body .gform_wrapper .gform_body .gform_fields .gfield input[type=text] {
	width: 100%;	
}

body .gform_wrapper .gform_body .gform_fields .gfield textarea {
	width: 100%;	
}

body .gform_wrapper .top_label li.gfield.gf_left_half input.medium, body .gform_wrapper .top_label li.gfield.gf_left_half input.large, body .gform_wrapper .top_label li.gfield.gf_left_half select.medium, body .gform_wrapper .top_label li.gfield.gf_left_half select.large, body .gform_wrapper .top_label li.gfield.gf_right_half input.medium, body .gform_wrapper .top_label li.gfield.gf_right_half input.large, body .gform_wrapper .top_label li.gfield.gf_right_half select.medium, body .gform_wrapper .top_label li.gfield.gf_right_half select.large {
    width: 100%;
}

/*------------------------------------*\
	Scroll to Top
\*------------------------------------*/


.scrollup{
	background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid #ECECEC;
    border-radius: 10px 10px 10px 10px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
	color: #333;
    bottom: 9px;
    width:50px;
    position:fixed;
    right:9px;
	text-align: center;
    text-decoration: none;
	display: none;
	cursor: pointer;
	padding: 20px 10px 15px;
   transition: background-color 0.3s linear 0s;
}

.scrollup:hover {
background-color: #fff;	
}

/*------------------------------------*\
	Shortcode: Toggle Boxes [toggle title="Your Title "]Insert your text here[/toggle]
\*------------------------------------*/

h3.toggle {
background-image: url(" ");
font-size: 16px;
padding: 0 0 10px 23px;
margin: 0;
cursor: pointe
}
h3.toggle a {
text-decoration: none;
display: block;
}
h3.toggle-active {

}
.toggle-box {
clear:both;
margin: 0 0 10px 0;
overflow: hidden;
}

/*------------------------------------*\
	Shortcode: Clear Tag [clear]
\*------------------------------------*/

.sc-divider {
content: "";
border-top: 1px solid #d8d8d8;
clear: both;
width: 100%;
height: 1px;
padding: 0;
margin: 20px 0;
position: relative;
}

/*------------------------------------*\
    Shortcode: Justify [Justify]
\*------------------------------------*/

.justify {
	text-align: justify;
}

/*------------------------------------*\
    Hide Google Map
\*------------------------------------*/

@media only screen 
and (min-device-width : 1px)  
and (max-device-width : 1224px) {
#google-map {
	display: none;	
}
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
   
/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
   
.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {
	
}
.bypostauthor {
	
}

.big-error {
	font-size: 100px;	
	text-align: center;
	margin: 50px 0;
	line-height: 120px;
}

.error-home {
	font-size: 30px;
	text-align: center;	
	text-transform: uppercase;
	margin: 50px 0;
	line-height: 40px;
}


/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}