/**********************************************/
/*******        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;
    height: 100%;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

/* @endregion*/

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

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: teko, sans-serif;
    margin-top: 0;
}

h1, .h1 {
    /* background: #00427a;
    color: #fff; */
    color: #00427a;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    /* padding: 12px 15px 0; */
    text-align: center;
    text-transform: uppercase;
}

.section-heading {
    font-size: 3.25rem;
}

h3, .h3 {
    font-size: 2.5rem;
}

.bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.lead {
    font-family: teko, sans-serif;
    font-size: 2.25rem;
    font-weight: 400;
}

.alt-text {
    font-family: teko, sans-serif;
}

.upper {
    text-transform: uppercase;
}

a {
    color: #235c8d;
}

a:hover, a:focus {
    color: #194266;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.6;
    min-height: 100%;
}

.page-header {
    background: center / cover no-repeat url(../images/template/header-bg.jpg);
    padding: 30px 0;
    margin: 0;
    border: none;
}

.header-text {
    font-family: teko, sans-serif;
    font-size: 1.75rem;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0 12px rgb(255 255 255 / 95);
}

.header-text-lg {
    font-size: 2.5rem;
}

main {
    padding-top: 40px;
    padding-bottom: 40px;
}

footer {
    background: #c9d2e5;
    font-size: .875rem;
    padding: 15px;
    text-align: center;
}

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

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

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

.form-control {
    border-color: #d2d8d6;
    border-radius: 6px;
    padding: 6px;
}

.btn-primary {
    background-color: #e8c454;
    border: none;
    border-radius: 8px;
    color: #333;
    font-size: 1rem;
    letter-spacing: 2px;
    padding: 8px 15px;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    color: #333;
    background-color: #cead49;
}

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

.navbar {
    background: #00427a;
    border: none;
    border-radius: 0;
    font-family: teko, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.nav>li>a {
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    -webkit-transition: background .2s ease-in-out;
    -o-transition: background .2s ease-in-out;
    transition: background .2s ease-in-out;
}

.nav>li>a:hover, .nav>li>a:focus {
    /* background: #316a9c; */
    /* background: #1f598c; */
    background: #2b679c;
    color: #fff;
}

.navbar-brand {
    color: #fff;
    font-size: 1.75rem;
}

.navbar-toggle {
    border: none;
    border-radius: 0;
    margin-top: 7px;
    margin-bottom: 6px;
}

.navbar-brand:hover, .navbar-brand:focus {
    color: #fff;
}

.navbar-toggle .icon-bar {
    border-radius: 0;
    width: 32px;
    height: 3px;
}

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

.navbar-toggle.collapsed:hover .icon-bar, .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-toggle.collapsed:hover, .navbar-toggle {
    background-color: #316a9c;
}

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

.navbar-toggle.collapsed .icon-bar {
    background-color: #fff;
}

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

.animals>div {
    margin-bottom: 35px;
}

.animals>div img,
#case img {
    margin-bottom: 8px;
}

.animals a img {
    opacity: 1;
    -webkit-transition: opacity .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
}

.animals a:hover img {
    opacity: .82;
}

.PedAnmName {
    display: none;
}

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

.divEpdTbl caption {
    background-color: #00427a;
    border-color: #ccc;
    color: #fff;
}

.divEpdTbl tbody {
    background-color: #f7f8fd;
}

.divEpdTbl thead {
    background-color: #e6e6e9;
}

.animal-caption p {
    color: #6e6e6e;
    line-height: 1.1;
    margin-bottom: 0;
}

/**********************************************/
/*******       Sale Table Classes       *******/
/**********************************************/

.sortable {
    border-spacing: 0;
}

.sortable th {
    font-weight: normal;
    text-align: left;
    text-transform: capitalize;
    vertical-align: baseline;
    white-space: nowrap;
}

.sortable th {
    cursor: pointer;
}

.sortable th::after, .sortable th::before {
    -webkit-transition: color 0.1s ease-in-out;
    -o-transition: color 0.1s ease-in-out;
    transition: color 0.1s ease-in-out;
    font-size: 1.2em;
    color: transparent;
}

.sortable th::after {
    margin-left: 3px;
    content: '\025B8';
    position: absolute;
    top: 3px;
}

.sortable th:hover::after {
    color: inherit;
}

.sortable th.dir-d::after {
    color: inherit;
    content: '\025BE';
}

.sortable th.dir-u::after {
    color: inherit;
    content: '\025BE';
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sale-table {
    font-size: .875rem;
}

/* .sale-table .table tr th:nth-child(11),
.sale-table .table tbody tr td:nth-child(11),
.sale-table .table tr th:nth-child(12),
.sale-table .table tbody tr td:nth-child(12),
.sale-table .table tr th:nth-child(13),
.sale-table .table tbody tr td:nth-child(13),
.sale-table .table tr th:nth-child(16),
.sale-table .table tbody tr td:nth-child(16),
.sale-table .table tr th:nth-child(17),
.sale-table .table tbody tr td:nth-child(17),
.sale-table .table tr th:nth-child(18),
.sale-table .table tbody tr td:nth-child(18),
.sale-table .table tr th:nth-child(19),
.sale-table .table tbody tr td:nth-child(19),
.sale-table .table tr th:nth-child(20),
.sale-table .table tbody tr td:nth-child(20),
.sale-table .table tr th:nth-child(21),
.sale-table .table tbody tr td:nth-child(21),
.sale-table .table tr th:nth-child(23),
.sale-table .table tbody tr td:nth-child(23),
.sale-table .table tr th:nth-child(24),
.sale-table .table tbody tr td:nth-child(24),
.sale-table .table tr th:nth-child(25),
.sale-table .table tbody tr td:nth-child(25),
.sale-table .table tr th:nth-child(30),
.sale-table .table tr td:nth-child(30),
.sale-table .table tr th:nth-child(31),
.sale-table .table tr td:nth-child(31),
.sale-table .table tbody tr td:nth-child(32),
.sale-table .table tr th:nth-child(32) {
    display: none;
} */

/* Unhide after new EPD update 5/25 and comment out above */
.sale-table .table tr th:nth-child(11),
.sale-table .table tbody tr td:nth-child(11),
.sale-table .table tr th:nth-child(12),
.sale-table .table tbody tr td:nth-child(12),
.sale-table .table tr th:nth-child(13),
.sale-table .table tbody tr td:nth-child(13),
.sale-table .table tr th:nth-child(16),
.sale-table .table tbody tr td:nth-child(16),
.sale-table .table tr th:nth-child(17),
.sale-table .table tbody tr td:nth-child(17),
.sale-table .table tr th:nth-child(18),
.sale-table .table tbody tr td:nth-child(18),
.sale-table .table tr th:nth-child(19),
.sale-table .table tbody tr td:nth-child(19),
.sale-table .table tr th:nth-child(20),
.sale-table .table tbody tr td:nth-child(20),
.sale-table .table tr th:nth-child(21),
.sale-table .table tbody tr td:nth-child(21),
.sale-table .table tr th:nth-child(23),
.sale-table .table tbody tr td:nth-child(23),
.sale-table .table tr th:nth-child(24),
.sale-table .table tbody tr td:nth-child(24),
.sale-table .table tr th:nth-child(25),
.sale-table .table tbody tr td:nth-child(25),
.sale-table .table tr th:nth-child(26),
.sale-table .table tr td:nth-child(26),
.sale-table .table tr th:nth-child(27),
.sale-table .table tr td:nth-child(27),
.sale-table .table tr th:nth-child(28),
.sale-table .table tr td:nth-child(28),
.sale-table .table tr th:nth-child(29),
.sale-table .table tr td:nth-child(29),
.sale-table .table tr th:nth-child(31),
.sale-table .table tr td:nth-child(31),
.sale-table .table tr th:nth-child(33),
.sale-table .table tr td:nth-child(33),
.sale-table .table tr th:nth-child(34),
.sale-table .table tr td:nth-child(34),
.sale-table .table tr th:nth-child(35),
.sale-table .table tr td:nth-child(35)
{
    display: none;
}

.EpdGridStyleHeaderRow {
    display: none;
}

.sale-table .table>thead>tr>th, .sale-table .table>tbody>tr>th, .sale-table .table>tbody>tr>td, .sale-table .table>tfoot>tr>td {
    border: none;
    padding: 4px;
    font-size: 12px;
    position: relative;
    white-space: nowrap;
}

.sale-table .table>thead>tr>th {
    white-space: nowrap;
    padding: 6px 15px 6px 4px;
}

.sale-table .table tfoot {
    border-top: 10px solid #dcdcdc;
}

.sale-table .table tfoot tr:first-child td {
    text-align: center;
}

.sale-table .table thead, .sale-table .table thead a, .tfoot-head {
    background-color: #00427a;
    color: #fff;
}

.table-responsive .EPDAcc {
    display: block;
    padding-left: 0;
    font-weight: 400;
}

.sale-table tbody tr:nth-child(even) {
    background-color: #d5dcee;
}

.table-loader {
    height: 150px;
    position: relative;
}

.table-loader .table-loader-inner {
    font-size: 45px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.bulls-current table, .bulls-later table {
    opacity: 0;
}

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

label {
    font-weight: 400;
}

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

.btn-form[disabled],
.btn-form[disabled]:hover,
.btn-form[disabled]:focus,
.btn-form[disabled]:active {
    background-color: #e8c454;
    outline: none;
}

.btn-form {
    -webkit-transition: outline .25s ease-in-out;
    -o-transition: outline .25s ease-in-out;
    transition: outline .25s ease-in-out;
}

.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: #ccc;
    font-size: 12px;
    font-style: italic;
    white-space: nowrap;
}

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

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

.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 #d2d8d6;
    border-radius: 6px;
    font-size: 14px;
    color: #555;
    min-height: 100px;
    padding: 6px;
    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: 10px;
}

/**********************************************/
/*******        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;
}

.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;
}

.alt-bg {
    background: #00427a;
    color: #fff;
}

.section-pad {
    padding-top: 40px;
    padding-bottom: 40px;
}

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

@media screen and (min-width: 768px) {
    .header-row {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .header-text-inner {
        margin-left: auto;
    }

    .navbar-nav {
        float: none;
        margin: 0 auto;
        display: table;
        table-layout: fixed;
    }

    .nav>li>a {
        padding-left: 25px;
        padding-right: 25px;
    }

    .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) {
    .header-text {
        font-size: 2.25rem;
        text-shadow: 0 0 12px rgb(255 255 255 / 95);
    }

    .header-text-lg {
        font-size: 3.5rem;
    }

    .section-pad, main {
        padding-top: 60px;
        padding-bottom: 60px;
    }

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

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

@media screen and (max-width: 1199px) {}

@media screen and (max-width: 991px) {
    .header-logo {
        max-width: 250px;
    }

    .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) {
    .header-logo {
        margin: 0 auto 30px;
    }

    h1, .h1 {
        font-size: 3.5rem;
    }

    .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;
    }
}