.video-content {background-color: #EFEFEF; display: inline-flex;max-width:860px;}
.video-frame {width: 480px; height: 270px; float: left;}
.video-description {width: 400px; height: 270px; float: right; background-color: #EFEFEF;} 
.video-description-title {font-size: 20px; margin: 10px;}
.video-description-content {margin: 10px;}
.our_horses_list {float:left;width:33%;}
.instagram_slide .social_widgets {
	overflow: scroll;
	height: 300px;
}
.instagram_slide .instagram {
	list-style-type:none;
	max-width:350px;
	margin:10px 0;
	padding:0;
	clear:both;
	list-style-type:none;
} 
.instagram_slide .instagram li {
	max-width:300px;
	float:left;
	margin:0 5px 5px  0;
	padding:0;
}
.instagram_slide .instagram img {
	max-width:100px;
}

#aside .instagram {
	max-width:275px;
	margin:10px 0;
	padding:0;
	clear:both;
	list-style-type:none;
}
#aside .instagram li {
	max-width:275px;
	float:left;
	margin:0 5px 5px  0;
	padding:0;
}
#aside .instagram img {
	max-width:80px;
}

#aside .social_widgets {
margin:0 0 10px 0;
}

.quick_contact .input-control {
	max-width:220px;
} 
.horse_sold {
	background: url(../../img/sold-sticker.png) !important;
}
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.videoWrapper iframe,
.videoWrapper embed,
.videoWrapper object {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    left: 0;
    top: 0;
}
.available-images {float: right;}
.incentives {
	margin-bottom: 9px;
	margin-top: 9px;
}
.pedigree table {
	overflow: hidden;
}
.pedigree table tr td:nth-child(1) table tr:nth-child(2) td:nth-child(1) {
    word-break: break-all;
}
@media only screen and (max-width: 1160px) {
.our_horses_list {float:left;width:33%;}
.instagram_slide {display:none !important;}
}
@media only screen and (max-width: 1124px) {
.our_horses_list {float:left;width:33%;}
}
@media only screen and (max-width: 980px) {
.our_horses_list {float:left;width:50%;}
.available-images {float: none;}	
.pedigree table {width: 590px !important;}
}
@media only screen and (max-width: 849px) {
.our_horses_list {float:left;width:50%;}
.available-images {float: none;}	
}
@media only screen and (max-width: 767px) {
.our_horses_list {float:left;width:100%;}
.available-images {float: none;}	
}
@media only screen and (max-width: 640px) {
	.our_horses_list {float:left;width:100%;}	
	#news-detail .news-image {
		float: none !important;
		margin: 0 !important;
		width: 100% !important;
	}
	.available-images {float: none;}	
	.pedigree table {width: 424px !important;}
}
@media only screen and (max-width: 479px) {
.our_horses_list {float:left;width:100%;}
.available-images {float: none;}
.pedigree {margin: 20px 0;width: 100%;overflow: hidden;}		
 .pedigree table {width: 290px !important;}
}
@media only screen and (max-width: 360px) {
	

}
#file-manager-panel img {width: auto;}
 #our-horses-content {
        background: #fff none repeat scroll 0 0;
        padding: 20px;
        position: relative;
}

.table_our_horses {
    border-collapse: collapse;
    width: 100%;
}

.table_our_horses tr {
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    -moz-box-sizing: border-box;
    min-height: 158px;
}
.table_our_horses td {
    padding: 10px 20px 10px 0;

}
.our_horses_prizemoney, .our_horses_record {
    vertical-align: top;
}
.pedigree-back {float: right; margin-bottom: 20px;}

.btn-red:hover {
	background: #555 !important; color:#FFF !important
}
.btn-red{
	background-color: #0243bb;
    text-decoration: none;
    border: medium none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    padding: 8px 25px;
    text-decoration: none;
}
.available-content > h2 {
    background-image: none;
    padding-left: 0;
}
/*imazing-gallery*/
.gal {
	-webkit-column-count: 3; /* Chrome, Safari, Opera */
	-moz-column-count: 3; /* Firefox */
	column-count: 3;
}

.gal img {
	width: 100%;
	padding: 7px 0;
}
.gal-img a img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .2s ease-in-out;
	transition: .2s ease-in-out;
}
.gal-img a:hover img {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}
/*table*/
.table .flip.collapsed {
    background-position: 9px -390px;
}
.table .flip {
    background-position: -57px -524px;
}
.flip  > .footable-toggle {
    display: none !important;
}
.cycle-pager {
    display: none;
}
@media (max-width: 500px) {
	.gal {
		-webkit-column-count: 1; /* Chrome, Safari, Opera */
		-moz-column-count: 1; /* Firefox */
		column-count: 1;
	}
}