/*
Theme Name: PM Theme
Theme URI: https://wordpress.org/themes/pm_theme/
Description: PM Theme boilerplate code
Version: 1
Tags: Multi-Column, Repsonsive, Bootstrap
*/

/* --------------------------------------------------------------------- */
/* Font Families                                                         */
/* --------------------------------------------------------------------- */

/* Radio Canada */
@import url('https://fonts.googleapis.com/css2?family=Radio+Canada:ital,wght@0,300..700;1,300..700&display=swap');


/* --------------------------------------------------------------------- */
/* Variables                                                             */
/* --------------------------------------------------------------------- */
:root {
	/* Colors */
	--primary-clr: hsl(203, 57%, 27%);
	--primary-hover-clr: hsl(203, 65%, 19%);
	--secondary-clr: hsl(120, 1%, 22%);
	
	--black-clr: hsl(0, 0%, 0%);
	--white-clr: hsl(0, 0%, 100%);

	/* Font sizes */
	--font-100: ;
	--font-200: ;
	--font-300: ;
	--font-400: ;
	--font-500: ;
}

/* --------------------------------------------------------------------- */
/* Browser resets                                                        */
/* --------------------------------------------------------------------- */
body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
}

a {
	text-decoration: none;
}

/* --------------------------------------------------------------------- */
/* Utilities                                                             */
/* --------------------------------------------------------------------- */
.btn-theme {
	color: var(--white-clr);
	width: 150px;
	background-color: blue;
}

.btn-theme:hover {
	background-color: lightblue;
}

.btn-theme--2 {
	color: var(--white-clr);
	width: 150px;
	background-color: green;
}

.btn-theme--2:hover {
	background-color: lightgreen;
}

.primary-heading {
	font-family: '';
	font-size: 32px;
	font-weight: bold;
}

.secondary-heading {
	font-family: '';
	font-size: 24px;
	font-weight: bold;
}

@font-face {
	font-family: nameOfFont;
	src: url(fonts/nameOfFont.ttf);
}

.radio-font {
	font-family: 'Radio Canada';
}

.flex-end {
	display: flex;
	justify-content: end;
}

.flex-center {
	display: flex;
	justify-content: center;
	align-items: center;
}


.heading--1 {
	font-size: clamp(32px, 3vw, 56px);
	font-weight: bold;
	color: var(--primary-clr);
}

.heading--1__white {
	font-size: clamp(32px, 3vw, 56px);
	text-align: center;
	font-weight: bold;
	color: var(--white-clr);
}

.heading--1__inverted {
	text-align: center;
	font-size: clamp(32px, 3vw, 56px);
	font-weight: bold;
	color: var(--primary-clr);
}

.tagline {
	text-transform: uppercase;
	font-family: 'Radio Canada', 'sans-serif';
	font-weight: 300;
}

.vertical-align {
	align-content: center;
}

/* --------------------------------------------------------------------- */
/* Header                                                                */
/* --------------------------------------------------------------------- */
.video-wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-top: 56.25%;

	iframe {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		width: 100%;
		height: 100%;
	}
}

.header-social-icons {
	display: flex;
	gap: 1rem;
}


/* --------------------------------------------------------------------- */
/* Navbar                                                                */
/* --------------------------------------------------------------------- */
.navbar {
	background-color: var(--white-clr);
}

.navbar-nav {
	align-items: center;
	font-size: 20px;
	font-weight: 600;
}

.contact-btn {
	padding: 6px 21px;
	border: 1px solid var(--primary-clr);
	border-radius: 100px;
	margin-inline: 0.8rem;

	a {
		color: var(--primary-clr);
	}

	a:hover {
		color: var(--primary-hover-clr);
	}

	&:hover {
		border: 1px solid var(--primary-hover-clr);
	}
}

/* Contact button inverted */
.contact-btn__inverted {
	padding: 12px 34px;
	color: var(--white-clr);
	font-size: 20px;
	font-weight: 600;
	border: 1px solid var(--white-clr);
	border-radius: 100px;
}


/* Custom toggler button */
.custom-navbar-toggler {
	padding-inline: 12px;
	height: 40px;
	width: 56px;
	border: none;
	background: transparent;
}

.custom-navbar-toggler-icon {
	content: '';
	margin-inline: auto;
	display: block;
	position: relative;
	height: 3px;
	width: 100%;
	background-color: var(--white-clr);
}

.custom-navbar-toggler-icon:before {
    content: '';
    margin-inline: auto;
    display: block;
    position: absolute;
    top: 8px;
    height: 100%;
    width: 100%;
    background-color: var(--white-clr);
}

.custom-navbar-toggler-icon:after {
    content: '';
    margin-inline: auto;
    display: block;
    position: absolute;
    top: -8px;
    height: 100%;
    width: 100%;
    background-color: var(--white-clr);
}

.mobile-navigation {
	color: var(--white-clr);
	position: relative;
	text-align: center;
	background-color: var(--primary-clr);
	width: 100%;
	position: absolute;
	top: 0;
	z-index: 1;
}

.mobile-link-1 {
	width: 100%;
	font-size: 24px;
	font-weight: 600;
	border-top: 1px solid var(--white-clr);
	border-bottom: 1px solid var(--white-clr);
}

.mobile-link-2 {
	height: 48px;
	width: 204px;
	padding: 6px 21px;
	border: 1px solid var(--white-clr);
	border-radius: 100px;
	margin: 2rem 0;
}

.mobile-link-2 .nav-link {
	display: inline;
}

.mobile-header-logo {
	margin: 2rem auto;
}

.close-btn {
	top: 12px;
	right: 12px;
}

.standardbred-header-link {
	border-bottom: 3px solid transparent;

	&:hover {
		color: var(--primary-clr);
		padding-bottom: 1px;
		margin-bottom: -1px;
	}

	&:hover .dropdown-menu {
		display: block;
	}
}

/* .standardbred-header-link:hover .drop */

.standardbred-header-link .nav-link:hover {
	color: var(--primary-clr);
}

.navbar-collapse .dropdown {
	width: 49%;
}

.navbar-collapse .dropdown-toggle {
	border: 0 !important;
}

.navbar-collapse .dropdown-menu {
	background-color: var(--white-clr);
	width: 222px !important;
	border: 1px solid var(--primary-clr);
}


/* --------------------------------------------------------------------- */
/* Home | PAGE                                                          */
/* --------------------------------------------------------------------- */
.carousel-collection {
	height: 100%;
	width: 100%;
	background-color: var(--primary-clr);
}

#about-section .row {
	border-bottom: 10px solid var(--secondary-clr);
}

#about-section .container,
#about-section .row {
	height: 100%;
}

#about-section a {
	text-decoration: underline;
	color: var(--primary-clr);
}

#about-section .content {
	max-width: 600px;
	padding: 2rem 0;
	align-content: center;
}

#socials-section {
	min-height: 210px;
	color: var(--white-clr);
	padding: 2rem 0;
	align-content: center;
	background-color: var(--primary-clr);
}

#socials-section .container,
#socials-section .row {
	height: 100%;
}

.table-heading th {
	color: var(--white-clr);
	background-color: var(--primary-clr);
}

.table th, .table td {
	text-align: center;
}

#socials-section .social-icons img {
	height: 85px;
	width: 85px;
}

#founders-section {
	margin: 2rem 0; 
}

#founders-section a {
	text-decoration: underline;
	color: var(--primary-clr);
}

.founders-content {
	max-width: 700px;
	margin-inline: auto;
}

.founders-content h2 {
	font-size: 40px;
	font-weight: bold;
	font-family: 'Radio Canada', 'sans-serif';
	padding-bottom: 1rem;
}

#all-horses {
	padding: 2rem 0;
}

.image-slides {
	height: 100%;
	padding: 2.5rem 0;
	overflow: hidden;
	align-content: center;
	background-color: var(--primary-clr);
}

.slick-slide {
	margin-left: 10px;
	margin-right: 10px;
}

.slide--2 {
	transform: translateX(-170px);
}

.image-slide {
	height: 200px;
}

.heading-area {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#front-page__news {
	background-color: #f4f4f4;
	padding: 3rem 0;
}

.view-news-button {
	height: fit-content;
	padding: 0.4rem 0.8rem;
	background-color: transparent;
	border: 1px solid var(--primary-clr);
}

.view-news-button a {
	color: var(--primary-clr);
}

.widget-container {
	padding: 1rem 1rem 0 1rem;
	min-height: 423px;
}

.widget-container iframe {
	overflow-y: scroll !important;
	height: 542px !important;
}

/* --------------------------------------------------------------------- */
/* News | PAGE                                                          */
/* --------------------------------------------------------------------- */
.news__title {
	font-size: 24px;
	font-weight: bold;
	color: var(--primary-clr);
}

.news-block {
	border-radius: 15px;
	background-color: white;
	box-shadow: 5px 5px 8px #888888;
}

.news-block__heading {
	min-height: 140px;
	padding: 1rem;
	
}

.news-block__bottom {
	height: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--primary-clr);
	border-radius: 0 0 15px 15px;
}

.news-block__image img {
	height: 423px;
	width: 636px;
	object-fit: cover;
}

.news-block__bottom a {
	color: var(--white-clr);
}

#news-page {
	padding: 3rem 0;
}

.background-color {
	background-color: #f4f4f4;
}

#featured__news {
	padding: 2rem 0;
}

#news__article {
	padding: 1rem;
	border-radius: 15px;
	background-color: white;
	box-shadow: 5px 5px 8px #888888;
}

/* --------------------------------------------------------------------- */
/* Standardbred Horses | PAGE                                            */
/* --------------------------------------------------------------------- */
#standardbred-header {
	height: 600px;
	color: var(--white-clr);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;

	display: flex;
	justify-content: center;
	align-items: center;
}

#pill-section {
	padding: 3rem 0;
}

#pill-section .nav-item .active {
	color: var(--white-clr) !important;
	background-color: var(--primary-clr);
	border-radius: 0;
}

#pill-section .nav-item {
	border-radius: 0;
	border: 1px solid var(--primary-clr);
}

#pill-section .nav-item .nav-link {
	color: var(--black-clr);
}

.nav-pills {
	gap: 20px;
	margin-bottom: 2rem;
	justify-content: center;
}

.pedigree {
	color: var(--primary-clr);
	text-decoration: underline;
}

.disabled {
	border-color: lightgray !important;
}

.disabled .nav-link {
	color: lightgray !important;
}


/**** table pagination ****/
.hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.pagination-nav {
	display: flex;
	justify-content: center;
	margin-inline: auto;
	gap: 10px;
	width: fit-content;
}

.table th,
.table td {
	width: 250px;
}

.show-on-desktop {
	display: none;
}


/**** Dropdown styles ****/
.dropdown {
	margin-inline: auto;
	width: 80%;
}

.dropdown-toggle {
	color: var(--secondary-clr);
	width: 100%;
	background-color: var(--white-clr);
	border-radius: 0;
	text-align: start;

	&:after {
		display: none;
	}

	&:hover {
		color: var(--primary-clr);
	}

	&:last-of-type {
		border-bottom: 1px solid var(--black-clr);
	}
}

.dropdown-header,
.dropdown-toggle,
.dropdown-toggle:hover,
.dropdown-toggle:last-of-type {
	border-top: 1px solid var(--black-clr);
	border-left: 1px solid var(--black-clr);
	border-right: 1px solid var(--black-clr);
}

.dropdown-header {
	color: var(--white-clr);
	height: 38px;
	border-radius: 0;
	background-color: var(--primary-clr);
	padding: 0.375rem 0.75rem;
}

.dropdown-menu {
	font-family: 'Radio Canada', 'sans-serif';
	padding-left: 12px;
	border: 1px solid var(--black-clr);
	border-radius: 0;
	width: 100%;
	background-color: #f4f4f4;
}

.horse-label {
	font-size: 12px;
	font-weight: 300;
	color: var(--primary-clr);
}

.btn-wrapper {
	width: fit-content;
	margin-inline: auto;
}

.see-more-btn {
	height: 48px;
	width: 123px;
	color: var(--white-clr);
	background-color: var(--primary-clr);
	border-radius: 0;
	font-family: 'Radio Canada', 'sans-serif';
	font-weight: 300;

	&:hover {
		color: var(--white-clr);
		background-color: var(--primary-clr);
	}
}

.v-align {
	vertical-align: middle;
}

.wid-30 {
	width: 30%;
}

/* --------------------------------------------------------------------- */
/* Broodmares | PAGE                                                     */
/* --------------------------------------------------------------------- */
#horse__content {
	padding: 2rem 0;
}

.pedigree-document a {
	color: var(--primary-clr);
	text-decoration: underline;
}


/* --------------------------------------------------------------------- */
/* Stallions | PAGE                                                      */
/* --------------------------------------------------------------------- */

/* --------------------------------------------------------------------- */
/* Contact | PAGE                                                        */
/* --------------------------------------------------------------------- */
#contact-section {
	padding: 2rem 0;
}

.map-wrapper iframe {
	width: 100%;
}

.contact-info {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.contact-info img {
	margin-bottom: 1rem;
}

.contact-info a {
	color: var(--primary-clr);
}

.email .label,
.phone .label {
	margin-bottom: 1rem;
}

.email a,
.phone a {
	text-decoration: underline;
}

.email, .phone {
	font-weight: 600;
}

.farm {
	font-size: 18px;
}

.get-directions span {
	color: var(--secondary-clr);
}

.get-directions img {
	margin-bottom: 0;
}

.label {
	font-size: 20px;
	font-weight: 600;
	color: var(--secondary-clr);
}


/* --------------------------------------------------------------------- */
/* Footer | partial                                                      */
/* --------------------------------------------------------------------- */
#footer {
	color: var(--white-clr);
	padding-top: 2rem;
	background-color: var(--primary-clr);
}

#footer .social-icons {
	display: flex;
	justify-content: center;
}

#footer .social-icons img {
	height: 46px;
	width: 46px;
}

#footer .contact-info a {
	color: var(--white-clr);
}

.footer-subcontainer {
	padding-bottom: 2rem;
}

.contact-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 120px;
	max-width: 176px;
}

.copywrite {
	padding: 14px 0;
	font-size: 10px;
	color: darkgray;
}

.special-width {
	margin-inline: auto;
	max-width: 200px;
}

/* --------------------------------------------------------------------- */
/* Media queries for responsiveness                                      */
/* --------------------------------------------------------------------- */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.show-on-mobile {
		display: none;
	}

	.show-on-desktop {
		display: block;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
	.flex-lg-end {
		display: flex;
		justify-content: end;
	}

	.w-lg-100 {
		width: 100% !important;
	}

	.special-width {
		margin-inline: 0;
	}

	.navbar-nav {
		margin-right: 2rem;
	}

	.heading--1__white {
		text-align: left;
	}
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { }

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) { }