/*
Theme Name: TRIMOM Productions
Theme URI: http://www.tenmilecreative.com
Description: Basic Responsive Wordpress theme for TRIMOM Productions
Version: 1.0.1
Author: Ten Mile Creative
Author URI: http://www.tenmilecreative.com
*/


* {
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
}
body {
	background-color: #eeeeee;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}

#container {
	position: relative;
	width: 100%;
	margin: 0 auto 0 auto;
	background-color: none;
	min-height: 100%;
}

a {
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
}

#header {
	background-color: #1f1f1f;
	display: block;
	width: 100%;
	position: relative;
	min-height: 80px;
}
#logo {
	max-height: 95px;
	left: 20px;
	top: 5px;
	position: absolute;
	z-index: 202;
}
@media (max-width: 700px) and (min-width: 500px) {
	#logo {
		max-height: 85px;
		top: 10px;
	}
}
@media (max-width: 500px) and (min-width: 250px) {
	#logo {
		max-height: 70px;
		top: 5px;
	}
}


#menu_toggle {
	display: none;
	position: absolute;
	right: 40px;
	top: 20px;
	font-size: 2em;
}
#menu_toggle a {
	color: #FFF;
	text-decoration: none;
}
#main-menu {
	list-style: none;
	display: block;
	width: auto;
	position: absolute;
	right: 40px;
	top: 24px;
	margin: 0 auto 0 auto;
}
#main-menu li {
	display: inline-block;
	margin-right: 1px;
}
#main-menu a {
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 300;
	font-size: 17px;
	color: #FFF;
	padding: 5px 10px 4px 10px;
	display: inline-block;
}



#main-menu li.menu-item-has-children ul.sub-menu {
	display: none;
	position: absolute;
	z-index: 200;
	margin-top: 3px;
}
#main-menu li.menu-item-has-children:hover ul.sub-menu {
	display: block;
}
#main-menu li.menu-item-has-children ul.sub-menu li {
	display: block;
	background-color: #303030;
	border-bottom: 3px solid #303030;
	width: auto;
}
#main-menu li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu {
	display: none;
	position: absolute;
	left: 100%;
	top: 0;
	width: auto;
	margin-top: 0px;
}
#main-menu li.menu-item-has-children ul.sub-menu li.menu-item-has-children:hover ul.sub-menu {
	display: block;
	width: auto;
	white-space: nowrap;
}

/* MENU HOVER FX */
.no-touch #main-menu li:hover, #main-menu .current-menu-item, #main-menu .current-page-parent {
	/*border-bottom: 3px solid #8c1c70;*/
	border-bottom: 3px solid #b3249b;
	background-color: #303030;
}
.no-touch #main-menu ul.sub-menu li.menu-item-has-children:hover, .no-touch #main-menu li.menu-item-has-children ul.sub-menu li:hover {
	border-bottom: 3px solid #b3249b;
	background-color: #404040;
}


@media (max-width: 949px) {
/* MENU */
	#menu_toggle {
		display: block;
	}
	#main-menu {
		display: none;
		z-index: 201;
		background-color: #121212;
		border-top: 1px solid #000;
		top: 80px;

	}
	#main-menu li {
		display: block;
		position: relative;
	}
	#main-menu li a {
		display: block;
		width: auto;
	}
	#main-menu li.menu-item-has-children ul.sub-menu li {
		border-bottom: 0 !important;
	}
	#main-menu li.menu-item-has-children ul.sub-menu, #main-menu li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu {
		display: block !important;
		position: relative;
		border-bottom: 0 !important;
	}
	#main-menu li:hover, #main-menu .current-menu-item, #main-menu .current-page-parent, #main-menu ul.sub-menu li.menu-item-has-children:hover, #main-menu li.menu-item-has-children ul.sub-menu li:hover {
		border-bottom: 0 !important;
	}
	
}
@media (min-width: 950px) {
	/* MENU */
	#main-menu { display: block !important; }
	#menu_toggle { display: none !important; }
	/* END MENU */
}


#footer-menu {
	padding: 6px 0em 0em 14px;
}
#footer-menu ul {
	list-style: none;
}
#footer-menu ul li {
	display: inline-block;
	margin-right: 0.8em;
	vertical-align: top;
}
#footer-menu ul li a {
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
}


#footer .copyright {
	padding: 10px 0 12px 14px;
	font-size: 14px;
}
#footer .tmc {
	font-size: 11px;
}

#footer {
	background-color: #1f1f1f;
	width: 100%;
	font-size: 13px;
	color: #e0e0e0;
	padding: 0.5em 0 0.5em 0;
	clear: both;
	position: absolute;
	bottom: 0;
	margin-bottom: 0;
	display: block;
	z-index: 300;
}

#footer a {
	color: #e0e0e0;
}
#footer a:hover {
	color: #b3249b; 
}

#footer .right {
	float: right;
	position: relative;
	text-align: right;
	padding-right: 1%;
	padding-top: 8px;
	display: block;
}

#footer .social-icons a {
	margin-left: 2px;
	text-decoration: none;	
}
#footer .social-icons {
	font-size: 1.7em;
}

#footer .social-icon-base {
}
#footer .social-icon-top {
	color: #1f1f1f;
}
#footer .social-icons a .social-icon-base {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
#footer .social-icons a:hover .social-icon-base {
	text-shadow: 0px 0px 5px #b3249b;
}
#footer .social-icons .social-icons-row1, #footer .social-icons .social-icons-row2 {
	display: inline-block;
}

@media (max-width: 520px) {
	#footer-menu ul li {
		display:block;
		padding-bottom: 4px;
	}
	#footer-menu ul li:last-child {
		padding-bottom: 0px;
	}
	/*#footer .social-icons .social-icons-row1 {
		display:block;
		margin-bottom: 6px;
	}*/
	#content {
		font-size: 0.85em;
	}
	#footer .copyright {
		clear: right;
	}
	#footer .social-icons {
		text-align: center;
		float: none;
	}
	#footer {
		height: 260px;
	}
}


#content {
	color: #303030;
	position: relative;
	z-index: 10;
	width: 100%;
	padding-bottom: 100px;
}

h1, h2, h3, h4, h5, h6 {
	color: #b3249b;
	font-family: 'Bitter';
}


/* ----- WP RESPONSIVE IMAGE FIX ----- */

/* ----- WP RESPONSIVE IMAGE FIX ----- */

.sticky,
.bypostauthor,
.gallery-caption {
   display: normal;
}
 
.alignnone {
   margin: 1em 1em 1em 0;
}
 
.aligncenter,
div.aligncenter {
   display:block;
   margin: .5em auto;
}
 
.alignright {
   float:right;
   margin: 0 0 1em 1em;
}
 
.alignleft {
   float:left;
   margin: 0 1em 1em 0;
}
 
.aligncenter {
   display: block;
   margin: 1em auto;
}
 
img[class*="align"],
img[class*="wp-image-"] {
   max-width: 100%;
   height: auto;
}
 
img.wp-smiley {
   border: none;
   margin-bottom: 0;
   margin-top: 0;
   padding: 0;
}
 
img.alignright {
   margin-left: 1em 0 1em 1em;
}
 
img.alignleft {
   margin: 1em 1em 1em 0;
}
 
img.aligncenter{
   display: block;
   margin: 1em auto;
}
 
img#wpstats {
   display: block;
   margin: 0 auto;
}
 
img[class*="align"],
img[class*="wp-image-"],
   .gallery .gallery-icon img {
   border: none;
}
 
.wp-caption {
   margin-bottom: 1em;
   margin-left: 0;
   max-width: 96%;
   text-align: center;
}
 
.wp-caption img {
   display: block;
   margin: 0 auto;
}
 
.wp-caption-text {
   position: relative;
   font-size: .8em;
}
 
.gallery {
   margin: 0 auto;
}
 
.gallery .gallery-item  {
   margin: 0;
   float: left;
   text-align: center;
   width: 33%;
}
 
.gallery a img {
   border: none;
}
 
.gallery-columns-4 .gallery-item {
   width: 25%;
}
 
.gallery-columns-4 .gallery-item img {
   width: 100%;
   height: auto;
}
 
.comments ol    {
   padding-left: 0;
}
 
.comments ol li {
   margin: 0;
}
 
.comment-author {
   padding: 0;
   text-decoration: none;
}
 
 
@media only screen and (max-width: 800px) {
 
   embed,
   object {
      max-width: 100%;
   }
 
}
 
@media only screen and ( max-width: 650px ) {
 
   .gallery-columns-3 .gallery-item {
      width: 33.33%;
   }
 
   .gallery-columns-3 .gallery-item img {
      width: 100%;
      height: auto;
   }
 
}
 
@media only screen and (max-width: 480px) {
 
   .gallery-columns-2 .gallery-item {
      width: 50%;
   }
 
   .gallery-columns-2 .gallery-item img {
      width: 100%;
      height: auto;
   }
 
}




@media (max-width: 520px) {
	#content { padding-bottom: 270px; }
}
#content-wrapper {
	margin: 2em 6% 2em 6%;
}

#content-wrapper .photo-right {
	float: right;
	max-width: 30%;
	margin-left: 1em;
	margin-bottom: 1em;
}
#content-wrapper .photo-left {
	float: left;
	max-width: 30%;
	margin-right: 1em;
	margin-bottom: 1em;
}
#content-wrapper p {
	font-size: 20px;
	font-weight: 400;
}
#content-wrapper p + p {
	margin-top: 1em;
}
#content-wrapper h3 {
	margin-bottom: 1em;
}
#content-wrapper h4 {
	margin-bottom: 1em;
}
@media (max-width: 480px) { 
	#content-wrapper .photo-right, #content-wrapper .photo-left { max-width: 40%; }
}
@media (min-width: 481px) and (max-width: 700px) { 
	#content-wrapper .photo-right, #content-wrapper .photo-left { max-width: 40%; }
}
@media (min-width: 1200px) {
	#content-wrapper {
		width: 1100px;
		margin: 2em auto 2em auto;
	}
}
@media (min-width: 801px) and (max-width: 1199px) {
	#content-wrapper {
		margin: 2em 6% 2em 6%;
	}
}
@media (min-width: 481px) and (max-width: 800px) {
	#content-wrapper {
		margin: 2em 5% 2em 5%;
	}
}
@media (max-width: 480px) {
	#content-wrapper {
		margin: 1em 5% 1em 5%;
	}
}

/* ------ BUTTONS ------*/

.button {
	display: inline-block;
	text-decoration: none;
	border-radius: 0.3em;
	padding: 0.3em 0.9em 0.3em 0.9em;
	font-size: 0.8em;
	text-shadow: 0.05em 0.05em 0.3em rgba(0,0,0, 0.4);
	box-shadow: 0 0.1em 0.3em #000;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	
	background-image: -moz-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.0) 49%, rgba(0,0,0,.0) 51%, rgba(0,0,0,.2));
	background-image: -ms-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.0) 49%, rgba(0,0,0,.0) 51%, rgba(0,0,0,.2));
	background-image: -o-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.0) 49%, rgba(0,0,0,.0) 51%, rgba(0,0,0,.2));
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.1)), color-stop(49%, rgba(255,255,255,.0)), color-stop(51%, rgba(0,0,0,.0)), to(rgba(0,0,0,.2)));
	background-image: -webkit-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.0) 49%, rgba(0,0,0,.0) 51%, rgba(0,0,0,.2));
	background-image: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.0) 49%, rgba(0,0,0,.0) 51%, rgba(0,0,0,.2));
}
.button {
	color: #FFFFFF !important;
	background-color: #b3249b;
}
.button:hover {
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.3)), color-stop(49%, rgba(255,255,255,0.0)), color-stop(51%, rgba(0,0,0,0.0)), to(rgba(0,0,0,0.1)));
	background-image: -moz-linear-gradient(top, rgba(255,255,255,0.3), rgba(255,255,255,0.0) 49%, rgba(0,0,0,0.0) 51%, rgba(0,0,0,0.1));
	background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.3), rgba(255,255,255,0.0) 49%, rgba(0,0,0,0.0) 51%, rgba(0,0,0,0.1));
	background-image: -o-linear-gradient(top, rgba(255,255,255,0.3), rgba(255,255,255,0.0) 49%, rgba(0,0,0,0.0) 51%, rgba(0,0,0,0.1));
	background-image: -ms-linear-gradient(top, rgba(255,255,255,0.3), rgba(255,255,255,0.0) 49%, rgba(0,0,0,0.0) 51%, rgba(0,0,0,0.1));
	background-image: linear-gradient(top, rgba(255,255,255,0.3), rgba(255,255,255,0.0) 49%, rgba(0,0,0,0.0) 51%, rgba(0,0,0,0.1));
}
.button:active {
	background-image: -moz-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, rgba(0, 0, 0, .0) 50%, rgba(0,0,0,.15));
	background-image: -ms-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, rgba(0, 0, 0, .0) 50%, rgba(0,0,0,.15));
	background-image: -o-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, rgba(0, 0, 0, .0) 50%, rgba(0,0,0,.15));
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.1)), color-stop(30%, rgba(255,255,255,0)), color-stop(50%, rgba(0, 0, 0, .0)), to(rgba(0,0,0,.15)));
	background-image: -webkit-linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, rgba(0, 0, 0, .0) 50%, rgba(0,0,0,.15));
	background-image: linear-gradient(bottom, rgba(255,255,255,.1), rgba(255,255,255,0) 30%, rgba(0, 0, 0, .0) 50%, rgba(0,0,0,.15));
}
.button-xsmall {
	font-size: 0.6em;
	box-shadow: 0 0.05em 0.2em #000;

}
.button-small {
	font-size: 0.7em;
}
.button-large {
	font-size: 0.9em;
}
.button-xlarge {
	font-size: 1.0em;
}
.button-xxlarge {
	font-size: 1.15em;
}

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


#page-wrapper {
	padding: 0;
	clear: both;
	display: block;
	position: relative;
}
#page-wrapper #page-main {
	display: inline-block;
	width: 65%;
	vertical-align: top;
	margin-right: 4.5%;
}
#page-wrapper #page-main .post {
	margin-bottom: 2em;
}
#page-wrapper #page-main .post + .post {
	border-top: 1px dashed #d3d3d3;
	padding-top: 1.5em;
}

#page-wrapper #page-main .post h3 a, #page-wrapper #page-main .post h3 a:visited {
	/*color: #303030;*/
}
#page-wrapper #page-main .post h3 a:active, #page-wrapper #page-main .post h3 a:hover {
	/*color: #2985cc;*/
}

#page-wrapper #page-sidebar {
	display: inline-block;
	width: 25%;
	margin-left: 4.5%;
	vertical-align: top;
}
#page-wrapper #page-sidebar li {
	display: block;
	margin-bottom: 1.5em;
	list-style: none;
	font-size: 0.8em;	
}
#page-wrapper #page-sidebar #sidebar li:last-child {
	margin-bottom: 0;
}
#page-wrapper #page-sidebar li h4 {
	font-weight: 600;
	margin-bottom: 2px;
	font-size: 1.1em;
}
#page-wrapper #page-sidebar li p {
	font-size: 1.1em;
}
#page-wrapper #page-sidebar li ul {
	list-style: none;
}
#page-wrapper #page-sidebar li ul li {
}

#page-wrapper #page-sidebar a, #page-wrapper #page-sidebar a:visited {
/*	color: #303030;*/
}
#page-wrapper #page-sidebar a:active, #page-wrapper #page-sidebar a:hover {
	/*color: #2985cc;*/
}

@media (max-width: 700px) {
	#page-wrapper #page-main {
		display: block;
		width: 100%;
		margin-right: 0%;
	}
	#page-wrapper #page-sidebar {
		display: block;
		width: 100%;
		margin-left: 0%;
		border-top: 1px dashed #d3d3d3;
		padding-top: 1.5em;
		margin-top: 1.5em;
	}	
}
@media (max-width: 700px) and (min-width: 400px) {
	#page-wrapper #page-sidebar li {
		display: inline-block;	
		vertical-align: top;
		width: 44.5%;
		padding-right: 5%;
	}	
}
@media (max-width: 400px) {
	#page-wrapper #page-sidebar li {
		display: inline-block;	
		vertical-align: top;
		width: 100%;
		padding-right: 0%;
	}	
}

#content .social-icons a {
	margin-left: 2px;
	text-decoration: none;	
}
#content .social-icons {
	font-size: 1.3em;
	margin-bottom: 1em;
}

#content .social-icon-base {
	color: #222222;
}
#content .social-icon-top {
	color: #eeeeee;
}
#content .social-icons a .social-icon-base {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
#content .social-icons a:hover .social-icon-base {
	color: #b3249b !important;
}

.home-multi {
	margin: 0em 1.5em 1em 1.5em;
	padding: 1em 0.75em;
	border: 4px solid #b3249b;
	font-size: 1.2em;
}

ul.home-connect {
	list-style: none;
	display: block;
	margin: 2em 0;
}
ul.home-connect li {
	display: inline-block;
	vertical-align: top;
	width: 49%;
}
@media (max-width: 500px) {
	ul.home-connect li {
		width: 100%;
	}
}

#content h3, #content h4, #content h5, .races-bar h3 {
	color: #b3249b;
	font-family: "Bitter", "Times New Roman", serif;
}
#content h3 {
	font-size: 1.3em;
}

#content h5, #content h4 { 
	margin-top: 1.5em;
}

#content a, #content a:visited {
	color: #b3249b;
}
#content a:hover, #content a:active {
	color: #222222;
}


.races-bar {
	background-color: #FFF;
	font-size: 1.2em;	
	min-height: 200px;
	padding: 1.5em 0.7em;
	text-align: center;
}
.races-bar h3 {
	margin-bottom: 1em;
	font-size: 1.7em;
}
.races-bar .race-block {
	display: block;
	margin: 0 auto 0 auto;
	max-width: 1500px;	
}
.races-bar .race-item {
	display: inline-block;
	vertical-align: top;
	width: 250px;
	margin: 15px 20px 20px 20px;
}
.races-bar .race-link-img {
	display: block;
	width: 100%;
	margin: 0 auto 0.5em auto;
}
.races-bar .race-info {
	text-transform: uppercase;
	font-size: 16px;
	text-align: center;
}
@media (min-width: 1151px) {
	.races-bar h3 {
		font-size: 3.4em !important;
	}
}
@media (max-width: 1150px) and (min-width: 651px) {
	.races-bar h3 {
	font-size: 2.75em !important;
	}
}
@media (max-width: 650px) and (min-width: 400px) {
	.races-bar .race-item {
		width: 200px;
		margin: 5px 5px 20px 5px;
	}
}
@media (max-width: 399px) {
	.races-bar .race-item {
		width: 150px;
		margin: 5px 5px 20px 5px;
	}
}
@media (max-width: 650px) {
	.races-bar .race-info {
		font-size: 14px;
	}
	.races-bar h3 {
		font-size: 1.2em !important;
	}
}


li.race-sidebar img {
	display: block;
	margin: 0 auto 0.5em auto;
}
li.race-sidebar .race-info {
	text-transform: uppercase;
	font-size: 14px;
	text-align: center;
}


.home-slider {
	max-width: 100%;
	height: auto;
	width: 100%;
	display: block;
}

.race-page h5 {
	margin-top: 1em;
}


div.training-series-links {
	max-width: 250px;
	margin-top: 1em;
}
div.training-series-links .button {
	float: right;
}




#contact-info {
	float: right;
	width: auto;
	margin-bottom: 2em;
	margin-left: 2em;
}
#contact-info #contact-map {
	width: 280px;
}
#contact-clear {
	display: none;
	clear: both;
}

@media (max-width: 950px) {
	#contact-info {
		float: none;
		margin-bottom: 0;
		margin-left: 0;
	}
	#contact-info #contact-map {
		float: right;
		width: 180px;
		margin-right: 1em;
		margin-top: -2em;
	}
	#contact-clear {
		display: block;
	}
}
@media (max-width: 475px) {
	#contact-info #contact-map {
		display: none;
	}
}

.contact-wrap {
	margin-top: 1.5em;
}
.contact-field {
	display: block;
	position: relative;
}
.contact-wrap input, textarea, select {
	outline: none;
	transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
}
.contact-wrap input[type='text'] {
	padding: 7px 8px;
	margin-bottom: 1em;
	font-size: 1em;
	width: 480px;
	border: 1px solid #303030;
	-webkit-appearance: none;
}
.contact-wrap input[type='submit'] {
	padding: 7px 8px;
	font-size: 1em;
	width: 500px;
	border: 1px solid #1A1A1A;
	background-color: #b3249b;
	background-color: rgba(179, 36, 155, 1.0);
	color: #FFF;
}
.contact-wrap input[type='submit']:active, .contact-wrap input[type='submit']:focus {
	background-color: #b3249b;
}
.contact-wrap input[type='submit']:hover {
	background-color: rgba(179, 36, 155, 0.8);
}
.contact-wrap textarea {
	font-size: 1em;
	margin: 0 0 1em 0;
	width: 480px;
	height: 12em;
	border: 1px solid #303030;
	-webkit-appearance: none;
	resize: vertical;
	padding: 7px 8px;
}
.contact-wrap input[type='text']:focus, .contact-wrap textarea:focus {
	border: 1px solid #1a1a1a;
	background-color: #FFF;
	box-shadow: 0 0 6px #b3249b;
    -webkit-box-shadow: 0 0 6px #b3249b; 
    -moz-box-shadow: 0 0 6px #b3249b; 
}
.contact-wrap label.form_icon {
	display: inline-block;
	width: 2.1em;
	vertical-align: top;
	font-size: 1.3em;
	margin: 4px;
	color: #b3249b;
}
.contact-buttons {
	margin-bottom: 1em;
}
.contact-wrap label.error {
	margin-left: 6em;
	left: 20%;
}


@media (max-width: 750px) and (min-width: 610px) {
	.contact-wrap label.error {
		margin-left: 0em;
		left: 20%;
	}
	.contact-wrap input[type='text'], .contact-wrap textarea {
		width: 400px;
		font-size: 0.9em;
	}
	.contact-wrap input[type='submit'] {
	  	width: 420px;
	}
}
@media (max-width: 609px) and (min-width: 530px) {
	.contact-wrap label.error {
		margin-left: 0em;
		left: 20%;
	}
	.contact-wrap input[type='text'], .contact-wrap textarea {
		width: 380px;
		font-size: 0.85em;
	}
	.contact-wrap input[type='submit'] {
		width: 400px;
	}
}
@media (max-width: 529px) and (min-width: 440px) {
	.contact-wrap label.error {
		margin-left: 0em;
		left: 20%;
	}
	.contact-wrap input[type='text'], .contact-wrap textarea {
		width: 300px;
		font-size: 0.8em;
	}
	.contact-wrap input[type='submit'] {
		width: 320px;
		font-size: 0.9em;
	}
	.contact-wrap label.form_icon {
		font-size: 1.1em;
	}
}
@media (max-width: 439px) and (min-width: 341px) {
	.contact-wrap label.error {
		margin-left: 0em;
		left: 20%;
	}
	.contact-wrap input[type='text'], .contact-wrap textarea {
		width: 230px;
		font-size: 0.8em;
	}
	.contact-wrap input[type='submit'] {
		width: 250px;
		font-size: 0.9em;
	}
	.contact-wrap label.form_icon {
		width: 2.1em;
		font-size: 1.1em;
		margin: 4px;
	}
	.contact-wrap label.error {
		font-size: 0.7em;
	}
	.contact-wrap {
		margin-left: 0;
		margin-right: 0;
	}
}
@media (max-width: 340px) and (min-width: 300px) {
	.contact-wrap label.error {
		margin-left: 0em;
		left: 20%;
	}
	.contact-wrap input[type='text'], .contact-wrap textarea {
		width: 230px;
		font-size: 0.75em;
	}
	.contact-wrap input[type='submit'] {
		width: 250px;
		font-size: 0.9em;
	}	
	.contact-wrap label.form_icon {
		width: 2.1em;
		font-size: 1.1em;
		margin: 4px;
	}
	.contact-wrap label.error {
		font-size: 0.7em;
	}
	.contact-wrap {
		margin-left: 0;
		margin-right: 0;
	}	
}
@media (max-width: 299px) and (min-width: 280px) {
	.contact-wrap input[type='text'], .contact-wrap textarea {
		width: 190px;
		font-size: 0.75em;
	}
	.contact-wrap input[type='submit'] {
		width: 210px;
		font-size: 0.9em;
	}	
	.contact-wrap label.error {
		margin-left: 0em;
		left: 20%;
	}
	.contact-wrap label.form_icon {
		width: 2.1em;
		font-size: 1.1em;
		margin: 4px;
	}
	.contact-wrap label.error {
		font-size: 0.7em;
	}
	.contact-wrap {
		margin-left: 0;
		margin-right: 0;
	}
}
@media (max-width: 480px) {
	.contact-field {
		text-align: left;
	}
}

fieldset {
	border: 0;
}
label.error {
	color: #FFF;
	display: block;
	padding: 0.4em;
	font-size: 0.8em;
	position: absolute;
	z-index: 4;
	background-color: #a5221b;
	background-color: rgba(165,34,27, 0.8);
	border-radius: 0.3em;
	/*margin-left: 5em;*/
	bottom: -1.6em;
}
label.error:before{
    border:solid;
    border-color: #a5221b transparent;
    border-color:rgba(165,34,27, 0.8) transparent;
    border-width:0px 6px 6px 6px;
    top: -6px;
    content:"";
    display:block;
    left:10%;
    position:absolute;
    z-index:4;
}


.metaslider {
	width: 100% !important;
	overflow: hidden;
}
@media (max-width: 650px) and (min-width: 481px) {
	.rslides {
		width: 130% !important;
		margin-left: -15% !important;
	}	
}
@media (max-width: 480px) {
	.rslides {
		width: 150% !important;
		margin-left: -25% !important;
	}
}

.ngg-imagebrowser h3 {
	display: none !important;
}
.ngg-imagebrowser .pic {
	border: 0 !important;
}