:root {
    --primary-color: #231f20;
    --secondary-color: #f3f6f4;
    --tertiary-color: #990000;
    --body-bg: #f1f1f1;
    --text-color: #333;
    --alt-text-color: #f1f1f1;
    --link-color: #990000;
    --link-hover-color: #231f20;
    --primary-font-family: "unit-rounded", sans-serif;
    --secondary-font-family: "factoria", serif;
    --nav-bg: #231f20;
    --nav-link-color: #f1f1f1;
    --nav-link-hover-bg: #f1f1f1;
    --nav-link-hover-color: #231f20;
    --navbar-toggle-icon-bar-bg: #f1f1f1;
    --navbar-toggle-icon-bar-hover-bg: #990000;
    --button-text: #fff;
    --button-bg: #990000;
    --button-hover-text: #fff;
    --button-hover-bg: #231f20;
    --border-radius: 4px;
    --footer-text: #f1f1f1;
    --footer-bg: #231f20;
    --footer-padding: 20px;
    --section-padding: 60px;
    --section-padding-sm: 45px;
    --alt-section-bg: #D7D7D7;
    --alt-section-text-color: #333;
    --transition-speed: 0.3s;
}

/**********************************************/
/*******        Helper Classes          *******/
/**********************************************/
/* @group region*/

/* Removes Padding of Columns Inside This Row  */
.relative {
    position: relative;
}

/* Removes Padding of Columns Inside This Row So They Touch The Edge Of Container */
.row-nopad {
    margin-right: -15px;
    margin-left: -15px;
}

.row-nopad>* {
    padding-right: 0;
    padding-left: 0;
}

.row-nopad:before,
.row-nopad:after {
    display: table;
    content: " ";
}

.row-nopad:after {
    clear: both;
}

.nopad-md {
    padding: 0;
}

@media (min-width: 992px) {
    .nopad-md {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* Disables Textarea Resize that Messes with Design */
textarea {
    resize: none;
}

/* Force Block Elements To Stack Horizontally */
/* Ex: Span Around A Phrase So It drops Down */
/* As a Whole When Responding  */
.inline-block {
    display: inline-block
}

/* Prevents Flicker On Transition */
.carousel {
    position: relative;
    z-index: 1000;
}

/* Always Displays a Scrollbar even if page does not need to scroll */
html {
    font-size: 16px;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* @endregion*/

/**********************************************/
/*******        Fonts Classes           *******/
/**********************************************/

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--secondary-font-family);
    margin-top: 0;
}

.bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.lead {
    font-size: 1.25rem;
}

a {
    color: var(--link-color)
}

a:hover,
a:focus {
    color: var(--link-hover-color);
}

blockquote {
    border-left: 5px solid var(--tertiary-color);
}

blockquote>footer {
    background-color: var(--section-bg);
}

/**********************************************/
/*******       Template Classes         *******/
/**********************************************/

body {
    background-color: var(--body-bg);
    color: var(--text-color);
    font-family: var(--primary-font-family);
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    height: 90vh;
    background-size: cover;
    background-position: center;
}

header.home {
    background-image: url("../images/pages/home/IMG_0732-edit.jpg");
}

header.about {
    background-image: url("../images/pages/about/Front-Enterance.jpg");
}

header.donors {
    background-image: url("../images/pages/donors/DSC_0051.jpg");
    background-position: 0%;
}

header.sales {
    background-image: url("../images/pages/sales/She-Shed.jpg");
}

header.contact {
    background-image: url("../images/pages/contact/DSC_0032.jpg");
    background-position: 15%;
}

.header-content {
    position: absolute;
    text-align: center;
    width: 90%;
    left: 45%;
    top: 55%;
    transform: translate(-45%, -55%);
}

.header-text {
    animation: 1.5s fadeInUp;
    font-family: var(--secondary-font-family);
    font-size: 70px;
    font-weight: 500;
    color: var(--secondary-color);
    text-shadow: 3px 3px 3px rgba(0, 0, 0, .8);
}

header.home>.header-content>.header-text {
    font-size: 50px;
}

@keyframes fadeInUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

section {
    padding: var(--section-padding);
}

.photo-left {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    max-width: 50%;
}

.carousel-control.left, .carousel-control.right {
   background-image:none !important;
   filter:none !important;
}

.carousel-indicators li {
    border: 1px solid #000;
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators .active {
    background-color: var(--tertiary-color);
}

footer {
    background-color: var(--footer-bg);
    font-size: .875rem;
    padding-top: var(--footer-padding);
    padding-bottom: var(--footer-padding);
}

footer,
footer a,
footer a:hover,
footer a:focus {
    color: var(--footer-text);
}

.btn-primary {
    background-color: var(--button-bg);
    border: none;
    border-radius: var(--border-radius);
    color: var(--button-text);
    -webkit-transition: all var(--transition-speed) ease-in-out;
    -o-transition: all var(--transition-speed) ease-in-out;
    transition: all var(--transition-speed) ease-in-out;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--button-hover-bg);
    color: var(--button-hover-text);
}

/**********************************************/
/*******      Navigation Classes        *******/
/**********************************************/

.navbar {
    background-color: var(--nav-bg);
    font-family: var(--secondary-font-family);
    position: absolute;
    width: 100%;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    top: 50px;
    z-index: 1000;
}

.nav>li>a {
    color: var(--nav-link-color);
    -webkit-transition: all var(--transition-speed) ease-in-out;
    -o-transition: all var(--transition-speed) ease-in-out;
    transition: all var(--transition-speed) ease-in-out
}

.nav>li>a:hover,
.nav>li>a:focus {
    background-color: var(--nav-link-hover-bg);
    color: var(--nav-link-hover-color);
}

.navbar-brand img {
    max-height: 100px;
    margin-top: -40px;
}

.navbar-toggle .icon-bar {
    border-radius: 0;
    width: 35px;
    height: 3px;
    -webkit-transition: all var(--transition-speed) ease-in-out;
    -o-transition: all var(--transition-speed) ease-in-out;
    transition: all var(--transition-speed) ease-in-out;
}

.navbar-toggle .icon-bar+.icon-bar {
    margin-top: 5px;
}

.navbar-toggle.collapsed:hover .icon-bar,
.navbar-toggle .icon-bar {
    background-color: var(--navbar-toggle-icon-bar-hover-bg);
}

.navbar-toggle.collapsed {
    background: transparent;
}

.navbar-toggle.collapsed .icon-bar {
    background-color: var(--navbar-toggle-icon-bar-bg);
}

/**********************************************/
/*******        Animal Classes          *******/
/**********************************************/

.animals {
    margin-bottom: 40px;
}

.animals img {
    margin-bottom: 8px;
}

#case img {
    margin-top: 70px;
    margin-bottom: 10px;
}

.PedAnmName {
    font-family: var(--secondary-font-family);
}

.PedCalvedRow,
.PedTable,
.divEpdTbl {
    font-size: 1rem;
}

.divEpdTbl caption {
    background-color: var(--primary-color);
    border-color: var(--tertiary-color);
    color: var(--alt-text-color);
}

/**********************************************/
/********        Form Classes          ********/
/**********************************************/

label {
    font-weight: 400;
}

.form-control {
    border-radius: var(--border-radius);
}

/* legend {
    border: none;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
} */

.btn-form:disabled {
    opacity: .65;
    cursor: not-allowed;
    pointer-events: all;
}

/* Update disabled button style to match button style with no hover focus effects */
/* .btn-form[disabled],
.btn-form[disabled]:hover,
.btn-form[disabled]:focus,
.btn-form[disabled]:active {
    background-color: var(--button-bg);
    border: none;
    color: var(--button-text);
    outline: none;
} */

.btn-form:focus,
.btn-form:active:focus {
    outline-offset: 2px;
    outline: 2px solid #f3a36a;
}

.form-control:focus {
    border-color: #86b7fe;
    -webkit-box-shadow: 0 0 0 2px #86b7fe;
    box-shadow: 0 0 0 2px #86b7fe;
}

.breederFormError,
.form-control.breederFormError {
    border-color: #d64947;
}

.breederFormError:focus,
.form-control.breederFormError:focus {
    -webkit-box-shadow: 0 0 0 2px #d64947;
    box-shadow: 0 0 0 2px #d64947;
}

.breederFormErrorMesssage {
    display: none;
    position: relative;
    color: #d64947;
    font-size: 12px;
    font-style: italic;
    white-space: nowrap;
}

.breederFormError~.breederFormErrorMesssage {
    display: block;
    margin-left: 2px;
    top: 1px;
}

.breederFormOptional {
    font-size: 85%;
    color: #888;
}

.sm-pad-3-col>.col-xs-6 {
    padding-right: 5px;
}

.sm-pad-3-col>.col-xs-3 {
    padding-left: 5px;
    padding-right: 5px;
}

.sm-pad-3-col>.col-xs-3:last-child {
    padding-right: 15px;
}

.sm-pad-2-col>.col-xs-6:first-child {
    padding-right: 5px;
}

.sm-pad-2-col>.col-xs-6:last-child {
    padding-left: 5px;
}

.breederEmailHeading,
.breederEmailHeadingC {
    display: none;
}

.grow-wrap {
    display: grid;
}

.grow-wrap::after {
    content: attr(data-replicated-value) " ";
    white-space: pre-wrap;
    visibility: hidden;
}

.grow-wrap>textarea {
    resize: none;
    overflow: hidden;
}

/* Match the other input field styles */
.grow-wrap>textarea,
.grow-wrap::after {
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 14px;
    color: #555;
    min-height: 100px;
    padding: 6px 12px;
    grid-area: 1 / 1 / 2 / 2;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.g-recaptcha {
    margin-bottom: 15px;
}

/**********************************************/
/*******        Helper Classes          *******/
/**********************************************/

.mb-0 {
    margin-bottom: 0;
}

.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mb-70 {
    margin-bottom: 70px;
}

.mb-80 {
    margin-bottom: 80px;
}

.section-pad {
    padding-top: calc(var(--section-padding) - 10px);
    padding-bottom: calc(var(--section-padding) - 10px);
}

.section-pad-sm {
    padding-top: calc(var(--section-padding-sm) - 10px);
    padding-bottom: calc(var(--section-padding-sm) - 10px);
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.img-cover {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
}

/**********************************************/
/*******      Media Query Classes       *******/
/**********************************************/

@media screen and (min-width: 768px) {
    .animals {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .animals::before,
    .animals::after {
        content: none;
    }

    .flex-sm {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

@media screen and (min-width: 992px) {
    .flex-md {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

@media screen and (min-width: 1200px) {
    .section-pad {
        padding-top: var(--section-padding);
        padding-bottom: var(--section-padding);
    }

    .section-pad-sm {
        padding-top: var(--section-padding-sm);
        padding-bottom: var(--section-padding-sm);
    }
}

@media screen and (max-width: 1199px) {
    .nav>li>a {
        padding: 10px 12px;
    }
}

@media screen and (max-width: 991px) {
    .nav>li>a {
        padding: 13px 5px;
        font-size: 15px;
    }

    .photo-left {
        max-width: 100%;
        margin-right: 0;
    }

    .mb-5-md {
        margin-bottom: 5px;
    }

    .mb-10-md {
        margin-bottom: 10px;
    }

    .mb-20-md {
        margin-bottom: 20px;
    }

    .mb-30-md {
        margin-bottom: 30px;
    }

    .mb-40-md {
        margin-bottom: 40px;
    }

    .mb-50-md {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 767px) {
    .nav-justified {
        padding-top: 20px;
    }

    .nav>li>a {
        padding: 5px;
        font-size: 18px;
    }

    header.home>.header-content>.header-text {
        font-size: 42px;
    }

    .navbar-collapse {
        clear: both;
    }

    .carousel-indicators {
        bottom: -70px;
    } 

    .mb-5-sm {
        margin-bottom: 5px;
    }

    .mb-10-sm {
        margin-bottom: 10px;
    }

    .mb-20-sm {
        margin-bottom: 20px;
    }

    .mb-30-sm {
        margin-bottom: 30px;
    }

    .mb-40-sm {
        margin-bottom: 40px;
    }

    .mb-50-sm {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 480px) {
    header.home>.header-content>.header-text {
        font-size: 32px;
    }
}