/*
Theme Name: Crawford Farms
Author: Jeremy Muncy

font-family: 'Cinzel', serif;
font-family: 'EB Garamond', serif;

*/
.default-featured-img, #comments, .comments-link {
  display: none;
}

body {
  font-family: 'EB Garamond', serif;
}
h1, .large-text {
  font-size: 30px;
  font-family: 'Cinzel', serif;
}
.table {
	text-transform: uppercase;
}
.lined-button::before,
.lined-button::after {
    display: inline-block;
    content: "";
    border-top: .1rem solid black;
    width: 1rem;
    margin: 1rem 1rem -13px 1rem;
    transform: translateY(-1rem);
}
.lined-button .btn {
  border-radius: 0px!important;
  padding: 10px 20px!important;
  border: 1px solid #000;
  text-transform: uppercase;
}

.video-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0px;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%!important;
    height: 100%;
}
.video-box-playlist {
    margin-bottom: 10px;
}
.video-box a.activevid {
    background-color: #31170a;
    display: block;
    box-shadow: 1px 2px 3px #333;
    padding: 8px;
	text-decoration: none;
}
.video-box a.activevid #vid-title {
    color: #FFF;
    font-weight: bold;
}
div#results {
    margin-top: 20px;
}
#vid-title {
    text-align: center;
}
a.video {
	text-decoration: none;
	color: #31170a;
}

#menu {
  background-image: url("imgs/mobile-menu.jpg");
  height: 192px;
  background-position: center center;
}


#menu .navbar-brand {
	display: block;
}

#menu .bg-dark {
    background-color: rgba(0,0,0,.8) !important;
}
#menu .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .75rem;
    padding-left: .75rem;
padding-top: .25rem;
	padding-bottom: .25rem;
}

#menu .navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,1);
}
.alignleft {
	float: none;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-top: 0px;
}
.alignright {
	float: none;
	margin-left: 0px;
	margin-bottom: 20px;
	margin-top: 0px;
}

/* ---------- HOMEPAGE ---------- */

#homebox {

}
.about {
  color: #31170a;
  font-size: 20px;
  max-width: 800px;
  margin: 0px auto;
  text-align: center;
}
.stone {
    background-image: url(imgs/stone-resized.png);
    min-height: 588px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin-bottom: 40px;
    text-align: center;
    /* margin-top: 275px; */
    /* clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%); */
    /* border-bottom: solid 20px #31170a; */
}
.stone .lined-button .btn {
  border: 1px solid #FFF;
}
.stone .lined-button::before,
.stone .lined-button::after {
    border-top: .1rem solid #FFF;
}
.stone a {
  color: #FFF;
}
.slogan {
  font-size: 45px;
  margin: 30px 0px;
  color: #FFF;
  font-style: italic;
  font-weight: bold;
}
.lower-hero {
  margin-bottom: -160px;
}
.lower-hero img {
  width: 100%;
}


.hero-image {
	max-width: 950px;
	margin: 0 auto;
}

.hero-image img, #hero_image_carousel {
    box-shadow: 0px 10px 20px #000;
}

.align-text-box {
	position: absolute;
	bottom: 20px;
}

.card-img-overlay a {
	color: #FFF;
	font-size: 30px;
}

.card-img-overlay p {
	line-height: 1;
}

img#vid-icon {
    max-width: 40px;
}

/* ---------- HORSE ---------- */

#mare-list {
	font-size: 18px;
}

#feat-stal-photo {
    background-size: cover;
    width: 100%;
    padding-top: 63.4%;
    position: relative;
}

#feat-stal-photo h3 {
	position: absolute;
	bottom: 20px;
	left: 20px;
	font-size: 40px;
}

#mares-section {
	background-color: #f6f2f1;
}

#mares-section .container-fluid {
	max-width: 950px;
}

#tbreds.entry-content {
	max-width: 950px;
	margin: 0 auto;
}

#midline {
	border-top: solid 1px #33170b;
	max-width: 150px;
	margin: 0 auto;
}

.horsehosting-table a {
	color: #000;
	text-decoration: none;
}

.sex-col {
	text-transform: capitalize;
}

.horse-grid-bg {
    background-position: center center;
    height: 0;
    padding-top: 80%;
    width: 100%;
    background-size: cover;
}

.horsephoto-grid a {
	color: #000;
	text-decoration: none;
}
#stallion-top-hero {
	width: 100%;
	height: 0;
	padding-top: 64%;
	background-size: cover;
	background-position: center center;
	/*margin-top: 260px;*/
	clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
}


#stallion-bottom-hero {
width: 100%;
    height: 0;
    padding-top: 64%;
    background-size: cover;
    background-position: center center;
    margin-top: 50px;
    margin-bottom: -140px;
}

#stallion-gal {
	text-align: center;
}

#stallion-gal img {
    max-height: 380px;
    width: auto;
    height: auto;
    margin-bottom: 3px;
    max-width: 100%;
}

#stallion-description {
	max-width: 600px;
	margin: 0 auto;
}

#stallionfee {
	font-weight: bold;
}

#race-record ul li {
font-size: 17px;
    padding-bottom: 25px;
}

#record-table {
	text-align: right;
}

#ped-gen .container-fluid {
max-width: 1200px;
}

#ped-gen .border-end {
    border-right: 1px solid #31170a!important;
}
#ped-gen {
	color: #31170a;
}
#ped-gen h4 {
	font-weight: bold;
}

#ped-gen p {
	margin: 0;
}

#ped-gen .table td {
	padding: 0px 0px 0px 1rem;
}

.t-racehorse {
	position: relative;
	background-size: cover;
	padding-top: 65.5%;
	width: 100%;
}

#racing-section .container-fluid {
	max-width: 950px;
}

.t-racehorse-name {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 35px;
	color: #FFF;
}

#maretable {
	font-size: 25px;
}

.category .attachment-post-thumbnail, .screen-reader-text {
  display: none;
}
.category .entry-title {
  padding-top: 20px;
}
.nav-previous a, .nav-next a {
  color: #a8522a;
  text-decoration: none;
}

.page-id-14 #maretable_filter, .page-id-14 .dataTables_info {
  display: none;
}

.wpcf7-text, .wpcf7-textarea {
  width: 100%;
  padding: 8px;
  margin: 5px 0px;
}
.cf-container h3 {
  margin-top: 15px;
}
.cf-container a {
  color: #a8522a;
  text-decoration: none;
}
.wpcf7-form-control-signature-wrap {
  width: 100%!important;
  margin-bottom: 15px;
}
.signature-box {
  border: 1px solid #000;
  width: 100%;
}

.cf-container {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -5px;
	margin-left: -5px;
}
.cf-col-1, .cf-col-2, .cf-col-3, .cf-col-4, .cf-col-5, .cf-col-6, .cf-col-7, .cf-col-8, .cf-col-9, .cf-col-10, .cf-col-11, .cf-col-12 {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 5px;
	padding-left: 5px;
}
@media ( min-width: 576px ) {
	.cf-col-1 {
		-ms-flex: 0 0 8.333333%;
		flex: 0 0 8.333333%;
		max-width: 8.333333%;
	}
	.cf-push-1 { margin-left: 8.333333%; }
	.cf-col-2 {
		-ms-flex: 0 0 16.66667%;
		flex: 0 0 16.66667%;
		max-width: 16.66667%;
	}
	.cf-push-2 { margin-left: 16.66667%; }
	.cf-col-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.cf-push-3 { margin-left: 25%; }
	.cf-col-4 {
		-ms-flex: 0 0 33.33333%;
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}
	.cf-push-4 { margin-left: 33.33333%; }
	.cf-col-5 {
		-ms-flex: 0 0 41.66667%;
		flex: 0 0 41.66667%;
		max-width: 41.66667%;
	}
	.cf-push-5 { margin-left: 41.66667%; }
	.cf-col-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.cf-push-6 { margin-left: 50%; }
	.cf-col-7 {
		-ms-flex: 0 0 58.33333%;
		flex: 0 0 58.33333%;
		max-width: 58.33333%;
	}
	.cf-push-7 { margin-left: 58.33333%; }
	.cf-col-8 {
		-ms-flex: 0 0 66.66667%;
		flex: 0 0 66.66667%;
		max-width: 66.66667%;
	}
	.cf-push-8 { margin-left: 66.66667%; }
	.cf-col-9 {
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
	.cf-push-9 { margin-left: 75%; }
	.cf-col-10 {
		-ms-flex: 0 0 83.33333%;
		flex: 0 0 83.33333%;
		max-width: 83.33333%;
	}
	.cf-push-10 { margin-left: 83.33333%; }
	.cf-col-11 {
		-ms-flex: 0 0 91.66667%;
		flex: 0 0 91.66667%;
		max-width: 91.66667%;
	}
	.cf-push-11 { margin-left: 91.66667%; }
	.cf-col-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}



/* ---------- FOOTER ---------- */

#footer {
  background: #31170a;
  color: #FFF;
  text-align: center;
  padding: 50px 0px;
}
#footer a {
  color: #FFF;
  text-decoration: none;
}
.footer-news {
  background: #ece5e3;
  clip-path: polygon(50% 0%, 100% 15%, 100% 100%, 0 100%, 0 15%);
  padding-top: 100px;
}
.featured-title {
    color: #31170a;
  text-decoration: none;
  font-size: 22px;
  font-family: 'Cinzel', serif;
}
.featured-lower-title {
  color: #31170a;
  text-decoration: none;
  font-size: 18px;
  font-family: 'Cinzel', serif;
}
.full-story {
  color: #a8522a;
  text-decoration: none;
}

@media(min-width: 768px) {
	h1, .large-text {
  font-size: 45px;
}
	.card-img-overlay a {
	color: #FFF;
	font-size: 40px;
}
	.alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	margin-top: 20px;
}
.alignright {
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
	margin-top: 20px;
}
	.stone {
    min-height: 938px;
}
	img#vid-icon {
	max-width: 80px;
}

	#menu {
  background-image: url("/wp-content/uploads/2021/03/wood-nav.jpg");
  height: 307px;
  background-position: center center;
}
	#menu .navbar-brand {
	display: none;
}
	.lined-button::before,
.lined-button::after {
    display: inline-block;
    content: "";
    border-top: .1rem solid black;
    width: 4rem;
    margin: 1rem 1rem -13px 1rem;
    transform: translateY(-1rem);
}
}

@media(min-width:1950px) {
	.stone {
    min-height: 945px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
}
}
