*, :after, :before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    font-family: arial;
    background: #676767 url(../images/bkg.jpg); top:50px;
    background-size: cover;
    background-attachment:fixed;
    font-size: 14px;
    color: #000;
    
}

img { border: 0; }

#mobileheader {
    background-color: #fff;
    display: none;
    position: relative;
}


#uberheader {
    width: 960px;
    height: 134px;
    margin: 0 auto;
    background: #3C2C0B url(../images/header-bkg.jpg) no-repeat;
}

#uberheader #header-inner {
    width: 960px;
    height: 150px;
    margin: 0 auto;
    overflow: auto;
    zoom: 1;
}

#uberheader #header-inner img { 
    border: 0; 
    float: left; 
    margin: 8px 0 0 10px;
}

#container {
    width: 1000px;
    background-color: #fff;
    margin: 0 auto;
    padding-bottom: 20px;
    border-left: solid 2px #fff;
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;
}

#containerinner {
    width: 960px;
    margin: 0 auto;
    clear: both;
}
               
/*---------- TOPNAV ----------*/

header {
    width: 960px;
    background: #462B10;
    z-index: 200;
    margin: 2px auto;
    
}

header nav {
    width: 960px;
    height: 40px;
    z-index: 200;
    margin: 0 auto;
}

header nav ul {
    padding:0;
    list-style:none;
    margin:0 0 0 46px;
}

header nav ul li {
    float:left;
    position:relative;
    text-align: center;
}

header nav ul li a {
    font: bold 15px arial;
    color:#fff;
    display:block;
    float:left;
    padding: 0 34px;
    line-height: 40px;
    text-decoration: none;
}

header nav ul li:first-child a {
    padding-left: 3px;
}

header nav ul li:last-child a {
    padding-right: 3px;
}

header nav ul li a span {
    display: block;
}

header nav ul li a:hover {
    color:#FFEE21;
    text-decoration: none;
}

header nav ul li ul {
    display:none;
}

header nav ul li > ul {
    left:auto;
    top:auto;
}
						
header nav ul li.over ul, header nav ul li:hover ul {
    background:#333333;
    border:1px solid #333333;
    border-radius:0 0 5px 5px;
    -moz-border-radius:0 0 5px 5px;
    -webkit-border-radius:0 0 5px 5px;
    border-width:0 1px 1px;
    clear:left;
    display:block;
    list-style:none;
    margin:0;
    padding:5px;
    position:absolute;
    text-indent:0;
    top:100%;
    width:220px;
    z-index: 100;
}

header nav ul li ul li {
    display:block;
    text-transform:none;
    
}
								
header nav ul li ul li a, header nav ul li ul li:first-child a:first-child {
    display:block;
    padding:5px;
    width:208px;
    font-size: 12px;
    text-align: left;
    line-height: 20px;
}

header nav ul li ul li a:hover {
    background-color:#5C5C5C;
    text-decoration: none;
}

/*---------- FRONT PAGE ----------*/

#fp-rotation {
    width: 100%;
    max-width: 620px;
    border: solid 1px #BDBDBF;
    float: left;
    margin-top: 0px;
    position: relative;
    z-index: 2;
}

#fp-rotation-mobile {
    display: none;
}

/* --------- FP CONTACT PANEL --------- */

#fp-contact-panel {
    width: 320px; 
    height: 340px;
    float: right;
    background-color: #462B10;
} 

#fp-contact-panel span {
    color: red;
}   

#fp-contact-panel div {
    width: 287px;
    margin: 15px auto;
    font: normal 12px arial;
    color: #fff;
}    

#content #fp-contact-panel-hdr {
    font: bold 14px arial;
    color: #fff;
    padding: 5px 0 5px 5px;
    background-color: #7A4B1C;
    border-radius: 5px;
}

#content #fp-contact-panel .submit-btn {
    background-color: #7A4B1C;
    padding: 3px;
    color: #fff;
    margin-top: 10px;
    border: 0;
    height: 30px;
    width: 50%;
    float: right;
}


#fp-contact-panel div input {
    width: 100%;
    height: 20px;
    padding: 0;
}

#fp-contact-panel div textarea {
    width: 100%;
    height: 67px;
}

#comment-box-alt { display: none; }

/* ---------- FP ABOUT PANEL ------------ */

#fp-about-panel {

    padding: 10px;
    margin-top: 20px;
    
    background: rgb(222,239,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(222,239,255,1) 0%, rgba(152,190,222,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(222,239,255,1) 0%,rgba(152,190,222,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#deefff', endColorstr='#98bede',GradientType=0 ); /* IE6-9 */


}

/* -------------- FP FEATURE IMAGES -------------- */

#content .fpgalleryimages {
    float: left; 
    width: 18.3%; /* HERE */
    margin-right: 20px; /* HERE */
    margin-top: 20px;
}

#content .fpgalleryimages img {
    border: solid 1px #c7c7c7;
}

#content .fpgalleryimages img:hover {
    border: solid 1px #FB0202;
}

#fpgallerycontainer > div:nth-child(5n) {
    margin-right: 0;
}

#fpgallerycontainer > div:nth-child(5n+1) {
    clear: both;
}

#content .fpgalleryimages img, #content .fpgalleryimages div {
    width: 100%;
}

#content .fpgallerycaption {
    font: bold 12px arial; /* HERE */
    text-align: center;
    padding: 5px 0;
}



/*---------- SUBNAV ----------*/

#subnav {
    float: left;
    width: 260px;
    background-color: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
}

#subnavinner {
    background:#E2CCAF;
    border:1px solid #ccc;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    box-shadow:1px 1px 1px #ccc;
    -moz-box-shadow:1px 1px 1px #ccc;
    -webkit-box-shadow:1px 1px 1px #ccc;
    float:left;
    width: 100%;
    padding:10px;
    margin-right: 10px;
}

#leftnavlist div.title {
    
    background-color: #462B10;
    color:#fff;
    display:block;
    font:bold 13px helvetica,arial,sans-serif;
    letter-spacing:1px;
    text-transform:uppercase;
    padding:6px;
    margin: 0;
}

#leftnavlist ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#leftnavlist ul li {
    border-bottom:1px solid #e6e6e6;
    font:bold 13px helvetica,arial,sans-serif;
    padding: 0px;
    margin: 0;
}

#leftnavlist ul li a {
    border-bottom:0;
    color:#333;
    display:block;
    letter-spacing:0;
    text-transform:none;
    padding: 6px;
    text-decoration: none;
}

#leftnavlist ul li a:hover {
    color:#fff;
    background-color: #7F654A;
}

#leftnavlist ul li:last-child {
    border-bottom:0;
}

/*---------- CONTENT ----------*/

.dim:hover {
    opacity: 0.85;
}

img.inset {
    width: 50%; 
    float: right; 
    margin: 0 0 5px 5px;
}

img.inset2 {
    width: 22%; 
    max-width: 220px;
    float: right; 
    margin: 0 0 5px 5px;
    border: solid 1px #EAE8E8;
}

#content {
    padding: 20px 0 20px 0;
    min-height: 400px;
        
}



/* ------------ PHOTO GALLERY -------------- */

#content .galleryimages {
    float: left; 
    width: 23.5%; /* HERE */
    margin-right: 2%; /* HERE */
    margin-top: 5px;
}

#gallerycontainer > div:nth-child(4n) {
    margin-right: 0;
}

#gallerycontainer > div:nth-child(4n+1) {
    clear: both;
}

#content .galleryimages img { border: solid 1px #EAE8E8; }

#content .galleryimages img, #content .galleryimages div {
    width: 100%;
}

#content .gallerycaption {
    font: normal 14px arial; /* HERE */
    text-align: center;
    padding: 5px 0;
}

.square {
  position: relative;
  width: 23.5%; /* HERE */
}

.square:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.squarecontent {
  position: absolute;
  width: 100%;
  height: 100%;
}




/* ---------------- CATTLE CONTENT ----------------*/



#cattle-rotation {
    width: 100%;
    border: solid 1px #BDBDBF;
    margin-top: 0px;
    position: relative;
    z-index: 2;
    max-width: 400px;
}

.nophotolarge { width: 400px; }

#cattleimages-thumb {display: inline-block; width: 100%; max-width:400px;height:auto;overflow:auto;white-space:nowrap;margin:5px 0;}

#cattleimages-thumb img { width: 22%; max-width: 150px; max-height: 60px; border:1px solid #727272; margin: 0; }

#content .NextNTable { 
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
    border: 1px solid #45270D; }
    
#content .NextNTableHeader {
    background: #EAE3CD; 
    font: bold 12px georgia;
    color: #45270D;}
    
#content .NextNTableHeader a { 
    color: #45270D;}
    
#contentinner hr.cattle { color: #3C1C05; background-color: #3C1C05; height: 1px; border:0; }


#content table.pedigree_list {

}

#content table.pedigree_list td {
    white-space:nowrap;
}

#content .list_lg {
    font: bold 52px times; 
    padding: 0 5px 2px 0;
    color: #45270D; 
}

#content .list_sm {
    font: bold 24px times; 
    padding: 0 0 3px 3px;
    color: #45270D; 
}

#content #pedigree_details  {
    background-color: #EAE8E8;

}

#content #pedigree_details td {
   white-space:nowrap;
}

#content .detail_lg {
    font: bold 66px times; 
    padding: 0 0 10px 0;
    vertical-align: middle;
    color: #45270D; 
}
#content .detail_sm {
    font: normal 38px times; 
    padding: 0 2px 3px 3px;
    height: 30px;
    color: #45270D;
    vertical-align: middle;
}


.withsubnav { width: 680px; float: right;  }
.withoutsubnav { width: 100%; }

#detailstable {display: table; width: 100%; table-layout: fixed;}
#detailsrow {display: table-row; }    

#detailsleft { display: table-cell; width: 60%; max-width: 410px;margin: 0 auto;}
#detailsright {
    width: 40%; 
    max-width: 270px;
    display: table-cell; 
    vertical-align: top; 
    padding: 5px; 
    border: solid 1px #E2CCAF;
    background: rgb(252,255,244); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(252,255,244,1) 0%, rgba(233,233,206,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(252,255,244,1) 0%,rgba(233,233,206,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(252,255,244,1) 0%,rgba(233,233,206,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#e9e9ce',GradientType=0 ); /* IE6-9 */
}

#detailslower {clear: both; margin-top: 10px;}
#detailsdescription {  border: solid 1px #C7C7C7; padding: 7px 0 0 5px; margin: 10px 0;}

#pedigree_details { font-size: 14px; padding: 10px;}

#kids { font-size: 14px; }
#kids img { border: solid 1px #EAE8E8; }


@media (max-width: 1000px){

    #subnav { width: 27.0%; }
    #leftnavlist div.title { font-size: 11px; }
    #leftnavlist ul li { font-size: 11px; }
    
    #content.withsubnav { width: 70.0%; }
    .withoutsubnav { width: auto; float: none; }
    

    #detailsleft { width: 60%; }
    #detailsright, #detailsdescription { font-size: 12px; }
    
    #cattle-rotation {  }
    #cattleimages-thumb { }

    #detailstable {border-collapse: separate; border-spacing: 5px 5px; margin: 0 -40px -10px 0; }
    #detailsdescription { margin: 10px 5px;}
    
    #pedigree_details { font-size: 12px; }
    
    #kids { font-size: 12px; }
    
    #content .detail_lg { font-size: 40px; }
    #content .detail_sm { font-size: 28px; }


}

@media (max-width: 760px){

    #subnav, #subnavinner, #leftnavlist { display: none; }    
    #content.withsubnav { width: 100%; }


}

@media (max-width: 620px){

    

    #detailstable { display: block; }
    #detailsrow { display: block; }
    #detailsleft { display: block; width: 100%; clear: both;}
    #detailsright { display: block; width: 100%; clear: both; float: none; max-width: 100%;}
    #detailsdescription {width: 100%; margin: 20px 10px 10px 0;}
    #detailsright, #detailsdescription { font-size: 12px; }
    #detailsright {padding: 15px; }
    
    #kids { font-size: 10px; }
    
}

@media (max-width: 480px){

    #pedigree_details { font-size: 10px; }
    
}








/* ---------------- GENERAL CONTENT ----------------*/


#content p { 
    padding: 0; 
    margin: 0 0 10px 0;
}

#content h1 { 
    margin: 0 0 10px 0;
    padding: 0;
    font: bold 28px arial;
    color: #E52022;
}

#content h2 { 
    margin: 15px 0 4px 0;
    padding: 0;
    font: bold 20px arial;
    color: #E52022;
}

#content h3 { 
    margin: 15px 0 4px 0;
    padding: 0;
    font: bold 16px arial;
    color: #E52022;
}

#content a {
    color: #000;
}

#content a:hover {
    text-decoration: none;
}

#forms input, #forms #captcha, #forms select {
    width: 50%;
}

#forms textarea {
    width: 50%;
    height: 50px;
}

#forms span {
    color: red;
}

#content input.submitbutton {
    background-color: #E52022;
    border: 0;
    padding: 6px 10px;
    color: #fff;
}

#content .button {
    width: 200px; 
    background-color: #E52022;
    color: #fff; 
    padding: 6px 10px;
    border: 0; 
    margin-top: 10px;  
    text-decoration: none;  
}

#buttons .left { float: left; }
#buttons .right { float: right; }

#content .button:hover {
    opacity: 0.85;
}


/*---------- VIDEOS ----------*/

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
    

/*---------- FOOTER ----------*/

#footer {
    background-color: #1C1C1C;
    color: #fff;
    font: bold  12px arial;
    text-align: center;
    margin: 0 20px 0 20px; 
    padding: 20px;
}

#footer div {
    font-size: 10px;
    margin-top: 10px;
}

#mobilefooter {
    display: none;
    background-color: #1C1C1C;
    color: #fff;
    font: bold 12px; arial;
    text-align: center;
    padding: 5px 0;
    
}


#subfooter {
    width: 1000px;
    margin: 10px auto;
    text-align: center;
    font: normal 11px arial;
    color: #fff;
}

#subfooter a {
    color: #fff;
}

/*---------- ADMIN STYLES ----------*/

td.inverse { background: #0307C0; font: bold 12px Arial; color: #fff; margin-top: 0; }
td.inverse a { font: bold 11px Arial; color: #fff; text-decoration: none; }
td.inverse a:hover { text-decoration: underline;}
td.inversesmall { background: #0307C0; font: bold 11px Arial; color: #fff; margin-top: 0; }
td.inversesmall a { color: #fff; }
td.inversesmall a:hover { color: #fff;text-decoration: none; }
td.small { font: normal 12px Arial; color: #000; margin-top: 0;}
td.small a { color: #000;}
td.small a:hover { text-decoration: none;}
td.small2 { font: normal 10px Arial;color: #000; margin-top: 0; }
td.small2 a { color: #000; }
td.small2 a:hover { text-decoration: none; }

/* CALENDAR */

.cpYearNavigation,.cpMonthNavigation{background-color:#C0C0C0;text-align:center;vertical-align:center;text-decoration:none;color:#000000;font-weight:bold;}
.cpDayColumnHeader, .cpYearNavigation,.cpMonthNavigation,.cpCurrentMonthDate,.cpCurrentMonthDateDisabled,.cpOtherMonthDate,.cpOtherMonthDateDisabled,.cpCurrentDate,.cpCurrentDateDisabled,.cpTodayText,.cpTodayTextDisabled,.cpText{font-family:arial;font-size:8pt;}
TD.cpDayColumnHeader{text-align:right;border:solid thin #C0C0C0;border-width:0px 0px 1px 0px;}
.cpCurrentMonthDate, .cpOtherMonthDate, .cpCurrentDate{text-align:right;text-decoration:none;}
.cpCurrentMonthDateDisabled, .cpOtherMonthDateDisabled, .cpCurrentDateDisabled{color:#D0D0D0;text-align:right;text-decoration:line-through;}
.cpCurrentMonthDate, .cpCurrentDate{color:#000000;}
.cpOtherMonthDate{color:#808080;}
TD.cpCurrentDate{color:white;background-color: #C0C0C0;border-width:1px;border:solid thin #800000;}
TD.cpCurrentDateDisabled{border-width:1px;border:solid thin #FFAAAA;}
TD.cpTodayText, TD.cpTodayTextDisabled{border:solid thin #C0C0C0;border-width:1px 0px 0px 0px;}
A.cpTodayText, SPAN.cpTodayTextDisabled{height:20px;}
A.cpTodayText{color:black;}
.cpTodayTextDisabled{color:#D0D0D0;}
.cpBorder{border:solid thin #808080;}
.MyDiv {background:#fff;position:absolute;}

.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.clearfix {
    display: inline-block;
}
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}

@media (max-width: 1000px){

    body {background: #000; } 
    
    #content { padding: 10px 0; }
    #content .fpgalleryimages { width: 18.3%; margin-right: 2%; margin-top: 20px; }
    #content .fpgallerycaption { font: bold 11px arial; }
    
    #uberheader,#footer,#subfooter,#fp-video,#fp-promo-panel,#floater { display: none; }
    #container { width: 100%; }
    #header-inner { width: 100%; }

    #containerinner { width: 98%; padding: 5px 0; }
    header nav { width: 100%; }
    #subfooter { width: 100%; }
    #containerinner table { width: 100%; }
    #mobileheader { display: block; background: url(../images/header-bkg.jpg) no-repeat; background-size: 100%;}
    #mobileheader img {width: 50%; max-width: 380px; float: left; border: 0; margin: 5px;}
    #mobilefooter { display: block; padding: 10px; }
    
    #fp-table-1 { display:table; border-collapse: separate; border-spacing: 10px 10px; margin: 0 -10px -40px;}
    #fp-row-1 { display:table-row;  }
    #fp-rotation { width: 64.58%; height: auto; display:table-cell; float: none; border: 0; background-color: #EAE8E8; vertical-align: middle;}
    
    #fp-contact-panel {  width: 33%; padding: 0 10px 10px 10px; height: auto; vertical-align: top; margin: 0; display:table-cell; float: none;}
    #fp-contact-panel div {width: 100%; }
    #fp-contact-panel div textarea {height: 40px;}
    #fp-contact-panel .caption-table .captcha { width: 100%; max-width: 140px; }
    #fp-contact-panel .caption-table .instructions {display: none; }

    #fp-about-panel .size1 { width: 21%; max-width: 200px; }
    #fp-about-panel .size2 { width: 10%; max-width: 100px; }
    
    #content h1 { font-size: 22px; }
    #content h2 { font-size: 18px; }
    #forms #captcha { width: 50%; }
    
    #content .galleryimages { width: 22.75%; margin-right: 3%; }
    #content .gallerycaption { font: normal 12px arial; }
    #gallerycontainer > div:nth-child(4n) { margin-right: 0; }
    #gallerycontainer > div:nth-child(3n) { margin-right: 3%; }
    #gallerycontainer > div:nth-child(3n+1) { clear: none; }
    #gallerycontainer > div:nth-child(4n+1) { clear: both; }
    .square { width: 22.75%; }
    #content .partner { width: 18% }
    
    #headercart { width: 40%; maxwidth: 280px;}
    
}



@media (max-width: 800px){

    #comment-box { display: none; }
    #comment-box-alt { display: block; }
    #telephone { display: none; }

}


@media (max-width: 640px){
    
    #headercart {font-size: 11px; margin: 2px;}
    #headercart .header { font-size: 14px; padding: 0;}
    
    #content #fpgallerycontainer { margin-top: 10px; }
    #content .fpgalleryimages { width: 23.5%; margin-right: 2%; margin-top: 10px; }
    #content .fpgallerycaption { font: bold 11px arial; }
    #fpgallerycontainer > div:nth-child(5n) { margin-right: 1%; }
    #fpgallerycontainer > div:nth-child(5n+1) { clear: none; }
    #fpgallerycontainer > div:nth-child(4n) { margin-right: 0; }
    #fpgallerycontainer > div:nth-child(4n+1) { clear: both; }
    
    #fp-contact-panel { display: none; }
    
    #content {padding: 3px; }
    #content h1 { font-size: 18px; }
    #content h2 { font-size: 16px; }
    #forms input { width: 100%; }
    #forms #captcha, #forms textarea, #forms select { width: 100%; }
    
    #content .galleryimages { width: 31.22%; margin-right: 3%; }
    #content .gallerycaption { font: normal 11px arial; }
    #gallerycontainer > div:nth-child(3n) { margin-right: 0; }
    #gallerycontainer > div:nth-child(4n) { margin-right: 3%; }
    #gallerycontainer > div:nth-child(3n+1) { clear: both; }
    #gallerycontainer > div:nth-child(4n+1) { clear: none; }
    .square { width: 21.22%; }
    #content .partner { width: 30%; height: auto; margin-right: 5px;}
    #content .partner-title { display: none; }
    
    fieldset.forms legend {font: bold 16px arial; color: #DA5A1B;}
    #content fieldset.forms label { font-size: 12px; }
    
}

@media (max-width: 480px){
    
    .summarypedigree {display: none; }
    
    #content .fpgalleryimages { width: 31.5%; margin-right: 2%; }
    #content .fpgallerycaption { font: bold 11px arial; }
    #fpgallerycontainer > div:nth-child(4n) { margin-right: 1%; }
    #fpgallerycontainer > div:nth-child(4n+1) { clear: none; }
    #fpgallerycontainer > div:nth-child(3n) { margin-right: 0; }
    #fpgallerycontainer > div:nth-child(3n+1) { clear: both; }
    
    #additional-names-container .additional-names {width: 100%; margin-bottom: 15px;}
    #additional-names-container> div:nth-child(2n+1) { clear: none; }
    #buttons .button { float: none; margin: 10px auto; clear: both; width: 100%; display: block; padding: 10px;}
    #content .forms .form-item-2 {float: none; margin-left: 0; width: 100%; clear: both;}
    
    #content .dealer-boxes { font-size: 11px; height: 80px;}
    #content .dealer-boxes h3 { font-size: 12px; }
}


@media (max-width: 320px){
    .summarydata td {font-size: 12px; }
}
                 
@media print {
    #uberheader, header, #subnav, #footer, #subfooter, #mobileheader, #menubase, #mobilefooter,.noprint  {display: none; }
}

