@import  
	url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700;900&display=swap');

	:root {
		--background: rgba(224, 183, 133, 1);
		--sales: rgba(7, 30, 71, 1);
		--footer: rgba(232,231,231, 0.5);
		--bull: rgba(7, 30, 71, 0.7);
		--button: rgba(38, 56, 87, 1);
		--button2: rgba(38, 56, 87,0.7);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Raleway', san-serif;
	text-align: center;
	background-image: url("/images/cowhide.jpg");
	background-attachment: fixed;
}

img {
	max-width: 75%;
	height: auto;
	padding-left: .5em;
}

.container {
	width: 95%;
	margin: 0 auto;
}

.container2 {
	width: 95%;
	margin: 0 auto;
}

.container3 {
	background: var(--bull);
	width: 95%;
	margin: 0 auto;
	padding: 1em 1em;
}

.container4 {
	background: var(--sales);
	width: 95%;
	margin: 0 auto;
	padding: 1em;
	color: white;
}

.container5 {
	background: var(--bull);
	width: 95%;
	margin: 0 auto;
	padding: 1em 1em;
	align-content: center;
	color: white;
}
@media screen and (min-width: 900px) {
	.container5 {
		width: 75%;
	}
}

@media screen and (min-width: 1200px) {
	.container5 {
		width: 55%;
	}
	.container4 {
		width: 75%;
	}
	.container3 {
		width: 80%;
	}
}

@media screen and (min-width: 1600px) {
	.container3 {
		width: 65%
	}
}

/*buttons
============*/
.btn {
	display: inline-block;
	font-size: 1rem;
	text-decoration: none;
	text-transform: uppercase;
	border-width: 1px;
	border-style: solid;
	border-radius: 10px;
	padding: .5em 1em;
	color: #cecccc;
}

.btn:hover {
	font-weight: 700;
	color: yellow;
	background: var(--button);
}

.btn2 {
	display: inline-block;
	font-size: .85rem;
	text-decoration: none;
	text-transform: uppercase;
	border-width: 1px;
	border-style: solid;
	border-radius: 5px;
	padding: .25em .5em;
	color: #cecccc;
}

.btn2:hover {
	color: yellow;
	background: var(--button2);
	font-weight: 600;
}

/*typography
============*/
h1 {
	font-size: 1.5rem;
}

.sale {
	color: #FFF;
}

.info span {
	font-weight: 700;
}

h2 {
	color: #FFF;
	font-weight: 700;
	font-size: 1.25rem;
}

.title {
	color: #FFF;
	font-weight: 700;
	font-size: 1rem;
}

.bull {
	color: #fff;
	font-size: .85rem;
}

.owners {
	font-size: .65rem;
}

.bull_semen {
	font-weight: 700;
}

.epds {
	color: white;
}

.epd_label {
	color: black;
	font-size: .75rem;
	font-weight: 700;
}

.epd_num {
	color: white;
	font-size: .75rem;
	font-weight: 700;
}

.epd_trait {
	background-color: red;
	font-size: .75rem;
	font-weight: 700;	
}

footer span {
	font-size: .5rem;
}

.event {
	font-size: 1.25rem;
	font-weight: 700;
	color: white;
}

.social a{
	color: yellow;
}

.rates {
	font-size: 1rem;
	font-weight: 700;
}
.rates a{
	color: yellow;
}

.urgent {
	font-weight: 700;
	font-style: italic;
}

.group_rates {
	font-size: 1rem;
}

.group_rates a{
	color: yellow;
}

.services {
	font-weight: 700;
	text-transform: uppercase;
}

.sale_banner {
	font-size: 1.4rem;
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	color: white;
	padding-top: 1em;
}

/*header
============*/
header {
	background: var(--background);
	text-align: center;
	position: absolute;
	margin-top: auto;
	z-index: 999;
	width: 100%;	
}

.logo {
	margin: 0;
}

.nav-toggle {
	display: none;
}

.nav-toggle-label {
	position: absolute;
	top: 0;
	left: 0;
	margin-left: 1em;
	height: 100%;
	display: flex;
	align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
	display: block;
	background: white;
	height: 2px;
	width: 2em;
	border-radius: 2px;
	position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
	content: '';
	position: absolute;
}

.nav-toggle-label span::before {
	bottom: 7px;
}

.nav-toggle-label span::after {
	top: 7px;
}

nav {
	font-size: .25rem;
	position: absolute;
	text-align: left;
	top: 100%;
	left: 0;
	background: var(--background);
	width: 100%;
	transform: scale(1, 0);
	transform-origin: top;
	transition: transform 400ms ease-in-out;
}

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

nav li {
	display: block;
	margin-bottom: 1em;
	margin-left: 1em;
}

nav a {
	color: white;
	text-decoration: none;
	font-size: .75rem;
	font-weight: 900;
	padding: .5rem;
	text-transform: uppercase;
	opacity: 0;
	transition: opacity 150ms ease-in-out;
}

nav a:hover {
	color: #000;
}

.nav-toggle:checked ~ nav {
	transform: scale(1,1);
}

.nav-toggle:checked ~ nav a {
	opacity: 1;
	transition: opacity 250ms ease-in-out 250ms;
}

@media screen and (min-width: 800px) {
	.nav-toggle-label {
		display: none;
	}
	
	img {
		max-width: 85%;
		height: auto;
	}
	
	header {
		display: grid;
		grid-auto-rows: 2fr 1fr;
	}
	
	.logo {
		grid-row: 1;
		margin: auto;
	}

	nav {
		all: unset;
		grid-row: 2;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		transition: none;
		transform: scale(1,1);
		background: none;
		top: initial;
		left: initial;
	}

	nav ul {
		display: flex;
	}
	
	nav li {
		margin-left: 1em;
		margin-bottom: 0;
	}

	nav a {
		opacity: 1;
		position: relative;
	}
	
	nav a::before {
		content: '';
		display: block;
		height: 5px;
		background: black;
		position: absolute;
		top: -.75em;
		left: 0;
		right: 0;
		transform: scale(0, 1);
		transition: transform ease-in-out 250ms;
	}
	
	nav a:hover::before {
		transform: scale(1,1);
	}
}

@media screen and (min-width: 950px) {
	nav a {
		font-size: .85rem;
	}
}

/*sales
============*/
.sales {
	background: var(--sales);
	padding-top: 3em;
	padding-bottom: .5em;
	margin: auto;
	align-content: center;
	-moz-box-shadow: 9px 9px 5px #000;
	-webkit-box-shadow: 15px 15px 5px #000;
	box-shadow:15px 15px 5px #000
}

@media screen and (min-width: 400px) {
	.sales {
		padding-top: 5em;
	}
}
@media screen and (min-width: 625px) {
	.sales {
		padding-top: 7em;
	}
}
@media screen and (min-width: 800px) {
	.sales {
		padding-top: 16em;
	}
}

.banner {
	background: var(--sales);
	padding-top: .5em;
	padding-bottom: .5em;
	margin: auto;
	align-content: center;
	-moz-box-shadow: 9px 9px 5px #000;
	-webkit-box-shadow: 15px 15px 5px #000;
	box-shadow:15px 15px 5px #000
}
	
/*info
============*/
.info {
	background-color: #232323;
	padding: 4em;
	width: 100vw;
	margin-left: -2.5%;
	outline: 2px solid #FFF;
	outline-offset: -2.5em;
	color: #FFF;
	position: relative;
}

.info h1 {
	color: #FFF;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -0.35em;
	background: #232323;
	padding: 0 .145em;
}

.info p {
	padding-top: 2em;
}

.info a {
	color: white;
	text-decoration: none;
}

.info a:hover {
	text-decoration: underline;
}

@media screen and (min-width:590px) {
	.info h1 {
		top:0.1em;
		padding: 0 .2em;
	}
}

@media screen and (min-width: 800px) {
	.container2 {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}
	
	.info {
		background-color: #232323;
		padding: 4em;
		width: 90%;
		margin-left: -2.5%;
		outline: 2px solid #FFF;
		outline-offset: -2.5em;
		color: #FFF;
		position: relative;
		justify-content: center;
		grid-column: 1/2;
		grid-row: 1/2;
	}

	.family {
		grid-row: 1/2;
	}

	.salsa {
		grid-column: 1/3;
		grid-row: 2/3;
	}
	
	.info h1 {
		top: 0.001em;
	}
	
	.stuff {
		display: grid;
		grid-template-columns: 2fr 1fr;
	}
	
	.shadow {
		grid-column: 1/2;
		align-self: center;
	}
	
	.social {
		grid-column: 2/3;
	}
	
	.photo2 {
		grid-column: 2/3;
	}
}

@media screen and (min-width: 1000px) {
	.info p {
		font-size: 1.25rem;
	}
}

@media screen and (min-width: 1250px) {
	.info h1 {
		font-size: 1.75rem;
		top: -0.5em;
	}
	
	.info p {
		font-size: 1.5rem;
	}
}

@media screen and (min-width: 1635px) {
	.info h1 {
		top: -0.1em;
	}
}


/*stuff
============*/

.stuff {
	padding-top: 1.1em;
	padding-bottom: .5em;
	margin: 0 auto;
	padding-right: 1em;
	align-content: center;
}

@media screen and (min-width: 900px) {
	.stuff {
		width: 75%;
	}
	.container2 {
		width: 75%;
	}
}

.news {
	padding-top: 1.1em;
	padding-bottom: .5em;
	margin: auto;
	align-content: center;
}

/*pictures
============*/

.photo {
	filter: drop-shadow(.25em .25em .25em);
	padding: 1em;
}

.photo2 {
    position:relative;
    width: auto;
    padding:.5em;
    margin:2em 5px 4em;
    background:#fff;
    -webkit-box-shadow:0 6px 5px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 0, 0, 0.8) inset;
    -moz-box-shadow:0 6px 5px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 0, 0, 0.8) inset;
    box-shadow:0 6px 5px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 0, 0, 0.8) inset;
}

.photo3 {
	position: relative;
	width: auto;
	padding: .5em;
	margin:1em 5px .5em;
	background: rgba(191, 191, 191,1.00);
	-webkit-box-shadow:0 6px 5px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 0, 0, 0.8) inset;
    -moz-box-shadow:0 6px 5px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 0, 0, 0.8) inset;
    box-shadow:0 6px 5px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 0, 0, 0.8) inset;
}

.sale_ad {
	filter: drop-shadow(1rem 1rem .5rem 1em);
}

/*footer
============*/
footer {
	background: var(--footer);
	font-size: .75rem;
	font-weight: 700;
	color: white;
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: auto;
	justify-content: center;
	gap: 5em;
	margin-top: 3em;
}

footer a {
	color: inherit;
}

.footer-nav {
	grid-column: 1/2;
	grid-row: 1/2;
}

.footer-social {
	grid-column: 2/3;
	grid-row: 1/2;
}
.footer-nav,
.footer-social {
	list-style: none;
	margin: .5em;
	padding: .5em;
}

.footer-nav a{
	text-decoration: none;
}

.footer-nav a:hover {
	text-decoration: underline;
}

.social-link {
	display: inline-block;
	margin-bottom: 5px;
}

.social-icon {
	width: 75px;
}

.extra {
	font-size: .5rem;
	margin-right: .5em;
	grid-column: 1/2;
	grid-row: 2/3;
}

.extra2 {
	font-size: .5rem;
	margin-right: .5em;
	grid-column: 2/3;
	grid-row: 2/3;
}

/*bulls
============*/
.bulls {
	padding-top: 4em;
	padding-bottom: .5em;
	margin: auto;
	align-content: center;
}

.bull a {
	color: #fff;
}

.bull a:hover {
	font-weight: 600;
	color: yellow;
}

.pedigree {
	display: flex;
	justify-content: center;
	font-size: .75rem;
	align-content: center; 
	text-align: left;
}

.epds {
	width: 100%;
	margin: 0;
	padding: 0;
}

.x_photos {
	color: white;
}

.x_photo {
	color: white;
}

.x_photo a{
	color: yellow;
	text-decoration: underline;
}

@media screen and (max-width: 800px) {
	.video {
		overflow: hidden;
		padding-bottom: 56.25%;
		position: relative;
		height: 0;
	}

	.video iframe {
		left: 0;
		top: 0;
		height: 100%;
		width: 100%;
		position: absolute;
	}
}

@media screen and (min-width: 450px) {
	.bulls {
		padding-top: 6em;
	}
}

@media screen and (min-width: 650px) {
	.bulls {
		padding-top: 8em;
	}
}

@media screen and (min-width: 800px) {
	.bulls {
		padding-top: 13em;
	}
}

@media screen and (min-width: 800px) {
	.bull {
		display: grid;
		grid-template-columns: 1fr 1fr;
		justify-content: center;
	}
	
	.picture {
		grid-column: 1/2;
		align-self: flex-start;
		padding-top: 1em;
	}
	
	.info_pedigree {
		grid-column: 2/3;
	}

	.info_pedigree_single {
		grid-column: 1/3;
	}
	
	.epds {
		display: grid;
		grid-template-rows: auto auto;
		grid-template-columns: 1fr 1fr 1fr;
		align-items: center;
		justify-content: center;
		width: 100%;
	}
	
	.epd {
		grid-column: 2/3;
		grid-row: 1/2;
	}
	
	.epd1 {
		grid-column: 1/2;
		grid-row: 2/3;
	}
	
	.epd2 {
		grid-column: 2/3;
		grid-row: 2/3;
	}
	
	.epd3 {
		grid-column: 3/4;
		grid-row: 2/3;
	}
	
	.x_photos {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	
	.x_photo {
		display: grid;
		grid-template-columns: 1fr;
		justify-content: center;
	}
}

@media screen and (min-width: 900px) {
	.bulls {
		padding-top: 16em;
	}
}

/*insurance
============*/
.insurance_page {
	padding-top: 4.5em;
	padding-bottom: .5em;
	align-content: center;
}

.insurance {
	width: 95%;
	margin: 0 auto;
}

.insurance_info {
	background-color: #232323;
	padding: 4em;
	width: 100vw;
	margin-left: -2.5%;
	outline: 2px solid #FFF;
	outline-offset: -2.5em;
	color: #FFF;
	position: relative;
}

.insurance_info h1 {
	color: #FFF;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -0.75em;
	background: #232323;
	padding: 0 .145em;
}

.insurance_info p {
	padding-top: 2em;
}

.insurance_info a {
	color: white;
	text-decoration: none;
}

.insurance_info a:hover {
	text-decoration: underline;
}

.information {
	padding-top: 2em;
}

@media screen and (min-width:590px) {
	.insurance_info h1 {
		top:0.1em;
		padding: 0 .2em;
	}
}

@media screen and (min-width: 800px) {
	.insurance {
		display: grid;
		grid-template-columns: auto;
		grid-template-rows: auto;
		justify-content: center;
	}
	
	.insurance_page {
		padding-top: 15.5em;
		padding-bottom: .5em;
		align-content: center;
		justify-content: center;
	}
	.insurance_info {
		background-color: #232323;
		width: 100%;
		margin: auto;
		outline: 2px solid #FFF;
		outline-offset: -2.5em;
		color: #FFF;
		grid-column: 3fr;
		justify-content: center;
	}
	
	.insurance_info h1 {
		top: 0.001em;
	}
}

@media screen and (min-width: 900px) {
	.insurance_page {
		padding-top: 17em;
	}
}
@media screen and (min-width: 1000px) {	
	.insurance_info p {
		font-size: 1.25rem;
	}
}

@media screen and (min-width: 1250px) {
	.insurance_info h1 {
		font-size: 1.75rem;
		top: -0.5em;
	}
	
	.insurance_info p {
		font-size: 1.5rem;
	}
}

@media screen and (min-width: 1635px) {
	.insurance_info h1 {
		top: -0.1em;
	}
}

/*geneticcenter
============*/
.genetic_center {
	padding-top: 4.5em;
	padding-bottom: .5em;
	align-content: center;
	width: 95%;
	margin: 0 auto;
}

@media screen and (min-width: 800px) {
	.genetic_center {
		padding-top: 15.5em;
	}
}

@media screen and (min-width: 900px) {
	.genetic_center {
		padding-top: 17em;
	}
}

/*catalog
============*/
.catalog {
	padding-top: 2.5em;
	padding-bottom: .5em;
	align-content: center;
	width: 95%;
	margin: 0 auto;
}

/* CSS for responsive iframe */
/* ========================= */

/* outer wrapper: set max-width & max-height; max-height greater than padding-bottom % will be ineffective and height will = padding-bottom % of max-width */
#Iframe-Master-CC-and-Rs {
  max-width: 1200px;
  max-height: 100%; 
  overflow: hidden;
}

/* inner wrapper: make responsive */
.responsive-wrapper {
  position: relative;
  height: 0;    /* gets height from padding-bottom */
  
  /* put following styles (necessary for overflow and scrolling handling on mobile devices) inline in .responsive-wrapper around iframe because not stable in CSS:
    -webkit-overflow-scrolling: touch; overflow: auto; */
  
}
 
.responsive-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  margin: 0;
  padding: 0;
  border: none;
}

/* padding-bottom = h/w as % -- sets aspect ratio */
/* YouTube video aspect ratio */
.responsive-wrapper-wxh-572x612 {
  padding-bottom: 107%;
}

/* general styles */
/* ============== */
.set-border {
  border: 5px inset #4f4f4f;
}
.set-box-shadow { 
  -webkit-box-shadow: 4px 4px 14px #4f4f4f;
  -moz-box-shadow: 4px 4px 14px #4f4f4f;
  box-shadow: 4px 4px 14px #4f4f4f;
}
.set-padding {
  padding: 40px;
}
.set-margin {
  margin: 30px;
}
.center-block-horiz {
  margin-left: auto !important;
  margin-right: auto !important;
}

#slider {
	overflow: hidden;
}

#slider figure {
	position: relative;
	width: 200%;
	margin: 0;
	left: 0;
	animation: 15s ease-in-out infinite; 
}

#slider figure img {
	float: left;
	width: 50%;
}

@keyframes slider {
	0% {
		left: 0;
	}
	20% {
		left: -100%;
	}
	25% {
		left: -100%
	}

	
}