/* Responsive */
#main img,  {max-width:100%!important;height:auto;}
.mobile, .mobile .shadow {display:none!important;}
.page-id-540 .left-col {width:290px;padding: 0 8px 0 7px;}
.page-id-540 .right-col {width:315px;padding: 0 8px 0 7px;}
#main #stallion-match {display:none;}
.app-form {clear:both;overflow:hidden;}
@media only screen and (min-width: 953px) {
#container, #header-content {
	width:953px!important;
	overflow:hidden;
}
#footer-content {
	width:773px;
}
#logo-mobile {
	display:none!important;
}
#logo {
	display:block!important;
}
} /*end*/

@media only screen and (max-width: 950px) {
	.mobile {	width:768px!important;background:#FFF; }
	iframe, img, object {max-width:100%;}
#container, #header-content, #main, #footer, #footer-content, .shadow-top {
	width:768px!important;
}
.sm-img {
	width: 40px;
}
#sidebar,
#top-menu,
#logo-mobile,
.search-block,
#top-menu-right nav,
#main #stallion-match,
#menu-top-menu-right nav {
	display:none!important;
}
#logo {
	display:block!important;
	margin-top: 25px;
}
#top-menu-right #stallion-match {
margin-top: 75px;
}
#footer, .shadow-box-footer {
	margin-left:0!important;
}
.mobile-menu, .mobile {display:block!important;}
.mobile {height:50px;}
.mobile:hover .shadow,
.mobile:hover .push {
	display:block!important;
}
.mobile-menu, .menu {
	width:320px;
}
.mobile .shadow {
background: url(images/gradient-top.png) 0 0 repeat-x;
height:14px;
position:relative;
margin-bottom:-14px;
}
.mobile-menu ul {
margin:0;
padding:0;
list-style:none;
max-width:284px;
overflow:hidden;
}
.mobile-menu ul li ul {
margin:0!important;
max-width:269px;
}
.mobile-menu {
top:133px;
position:absolute;
z-index:99;
}
.mobile-menu .menu {
padding:0 0 18px 0;
}
.mobile-menu .shadow {
margin-bottom:10px;
}
.mobile-menu div.back {
	background: rgba(0, 0, 0, 0.8);
}
.mobile-menu ul {
	margin:0 18px;
}
.mobile-menu ul li a {
padding:7px 5px 6px;
color:#FFF;
text-decoration:none;
display:block;
text-transform: uppercase;
-webkit-tap-highlight-color: transparent;
outline:none;
}
.mobile-menu ul li ul li a{
	text-transform: none;
}
#menu-icon {
display:block;
padding:45px 18px 6px 25px;
text-transform: uppercase;
background:#FFF;
color:#fcb813;
height:25px;
text-decoration:none;
font-size: 12px;
}

	#menu-icon img {
		margin-left:45px;
		width:35px;
	}
	nav.mobile-menu ul, nav.mobile-menu:active ul { 
		display: none;
		position: relative;
		z-index:10;
		width:100%;
		height:auto;
	}
	nav.mobile-menu li {
		text-align: left;
		width: 100%;
		margin: 0;
		border-top:1px solid #ddecf4;
	}
	
	#menu-mobile li.current-menu-item > .sub-menu, #menu-mobile li.current-menu-parent > .sub-menu {
		display:block;
	}
	
	#menu-mobile > li:first-child {
		margin-top: -1px;
	}
	nav.mobile-menu ul li ul {
		/*border-top:1px solid #ddecf4;*/
		margin-bottom:-1px!important;
	}
	nav.mobile-menu li a:hover, nav.mobile-menu li a:active, #menu-mobile > li.current-menu-item  > a, #menu-mobile > li.current-menu-parent > a {
		background:url('images/mobile_menu_hover.jpg') #FFF;
		color:#000; /* #f48729 in psd */	
	}

	nav.mobile-menu .sub-menu {
		padding-left:43px;
		display: none;
	}
	#menu-mobile > li:hover .sub-menu {
		display: block;
	}
	#menu-mobile #menu-item-2358 .sub-menu,
	#menu-mobile #menu-item-2364 .sub-menu {
		display: block;
	}
	.home .tabs {
		right: -51px;
	}
}/*end*/
@media only screen and (max-width: 767px) {

	iframe, img, object {max-width:100%;height:auto;}

	#container, #header-content, #main, #footer, #footer-content, .shadow-top, .pedigree_content, .pedigree_block, .archive-box  {
	width:320px!important;
}
#main {
	min-height:100%!important;
	margin-bottom: 70px;
}
.mobile #stallion-match {
position: absolute;
margin-left: 216px;
margin-top:190px;
z-index:1;
}
.mobile {	width:320px!important;background:#FFF; }
#main #stallion-match {margin-top:10px;margin-left: 216px;position:absolute;}

#map {
	max-width:269px;
	max-height:269px;
}
.page-id-540 .the-content, .left-col, .right-col, .category-racing-and-farm-news .columnContainer {
	max-width:269px!important;
}
.columnContainer .right {
	border:none!important;
}
/*#main {
	margin-bottom:115px!important;
}
*/
.page-template-page-stallions-php #main {
	margin-bottom:31px!important;
}
.the-content.stallions {

}

.backstretch img {
	height:100% !important;
}
.archive-box {
	width:280px!important;
	margin:-1px 20px 20px;
}
.category .the-content, .archive .the-content {
	background:none!important;
}

.archive .the-content {
    padding: 0 !important;
}

.page-id-136 .about .left-col {
	margin-left:0!important;
}
.wp-image-143 {
	padding-top:44px;
}
.float-left-image {
	width:139px;
}
.float-left-image img{
max-width:135px!important;
height:auto;
}
/*.pedigree_block_2 {
	margin-bottom:115px;
}
*/
.pedigree_content {
	margin-left:0;
}
img {max-width:320px;}
#sidebar,
#header-container .shadow-box, .mobile-none {
	display:none!important;
}
img.attachment-post-thumbnail, .cont-head img {
	min-width:100%;
	max-width:100%;
}
.slideshow, .slideshow img {
	width:320px!important;
	height:136px!important;
}
.page-id-136 .the-content, .pedigree_content, #main img, .pedigree_block .pedigree_content img {
	max-width:320px;
}
.post {
	padding:0!important;
}

#post-400 .stallions.the-content {
    padding: 0 !important;
}

#top-menu, #menu-top-menu-right, .search-block, .left-col .white {
	display:none!important;
}
.the-content.homepage {
	padding-bottom: 200px!important;
	width: 100%;
}

.home .the-content.homepage .box div {
    padding-right: 0px;
}

#logo-mobile {
	display:block!important;
	
}

#header-container #header-content {
	background: #000;
}

.sm-img {
	display:none!important;
}

#top-menu-right  #stallion-match {
    margin-top: -42px;
}

#menu-icon img {
    width: 27px;
}

.right-col, .the-content, .left-col {
	padding:0!important;
	border:none!important;
	float:none!important;
	display: block!important;
}
.page-id-540 .right-col {
	margin-top: -34px;
}
.the-content {
	padding:12px 25px 15px 25px!important;
	width:auto;
}

.tabs {
	bottom:20px;
	left:25px;
	right:auto!important;
	top:auto!important;
}
#footer {
	background: #fcb813;
	background-size:cover;
	-webkit-box-shadow: 0px -5px 10px 0px rgba(59, 57, 60, 0.3);
    -moz-box-shadow: 0px -5px 10px 0px rgba(59, 57, 60, 0.3);
    box-shadow: 0px -5px 10px 0px rgba(59, 57, 60, 0.3);
}
#footer, .shadow-box-footer {
	margin-left:0!important;
}
#footer-container, #footer {
	height:100px;
}
#footer .icon {
text-align: left;
padding:1px 10px;
float:none!important;
line-height:18px;
}
ul#menu-footer {
	float:none!important;
	clear:both;
	overflow:hidden;
	margin: 8px 0px 0px 10px!important;
}
.copyright {
	padding-left: 25px;
	margin-top:4px;
}
ul#menu-footer,
.copyright {
line-height:13px;
	}
#footer .small-copy {float:left!important; color: #fff;}
#footer .small-copy a { color: #fff;}
.app-form input, .app-form textarea {
	width:126px;
}
.select-wrapper {
	width:130px !important;
}
.right-col .select-wrapper {
	width:132px !important;
}
.app-form .right-col input,
.app-form .right-col div span.wpcf7-form-control-wrap {
	left: 0 !important;
	top: 0;
}
.app-form .right-col p:nth-child(15) img {
	right: 0px !important;
}
.app-form .right-col p:nth-child(15) .required {
	margin-right: 0 !important;
}
.right-col .required {
	margin-right: 2px !important
}
.app-form textarea {
	margin-right: 0;
}
.right-col .select-wrapper {
	margin-right: 0;
}
span.wpcf7-list-item {
margin-left: 0.2em!important;
}
.col-title {
	width:136px;
}
.col-title-right {
float: right;
width: 130px;
}
.mobile .push {
	display:none;
	min-height:100px;
	background:url('images/trans.png');
}
#header-container, #footer-container {
	position:static!important;
	background:none;
}

#header-container {
	height: 133px;
}

#footer-container {
	margin-top: -31px;
}

ul#menu-footer li a {
	color: #fff;
	opacity:1;
}

#container {
	padding-top:0!important;
}
.mobile {
	height:47px;
}
.the-content p:last-child {
	padding-bottom: 17px!important;
}


    .horses .float-left-text {
        margin-bottom:20px;
    }
	
	.fancybox-iframe {
		max-height:540px;
		height:100%;
	}


}/*end*/