/**********************************************/
/*******        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;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
/* @endregion*/

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

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    margin-top: 0;
    font-family: 'Zilla Slab', serif;
    font-weight: bold;
}

h1, .h1 {
    margin-bottom: 20px;
}

.bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

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

body {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.6;
    height: 100%;
    min-height: 100%;
    margin-top: 50px;
    font-family: 'Poppins', sans-serif;
    background-image: url("../images/pages/home/Ad-Photo.jpg");
    background-attachment: fixed;
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: cover;
}

header img {
    padding: 75px 20px;
}

section {
    padding: 75px 0;
    background-color: rgba(255,255,255,.75);
}

section.green {
    background-image: url("../images/template/Baxter-Bkgd.jpg");
    background-size: cover;
    background-position: top center;
    color: #fff;
}

.green a {
    color: #fff;
}

.green a:hover, .green a:focus {
    color: #ececec;
}

.green hr {
    border-color: #2f3532;
    border-width: 2px;
}

.btn-primary {
    background-color: #63b543;
    border: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #315a21;
}

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #63b543;
}

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

.navbar {
    background-color: #63b543;
}

.nav-pills>li>a {
    border-radius: 0;
}

.nav-justified>li>a {
    color: #fff;
}

.nav-justified>li>a:hover,
.nav-justified>li>a:focus {
    background-color: #315a21;
}

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

.navbar-toggle .icon-bar {
    background-color: #315a21;
}

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

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

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

.animal-thumb {
    position: relative;
    overflow: hidden;
    padding-bottom: 66.6667%;
}

.animals a img {
    position: absolute;
    width: 100%;
    top: 0;
    height: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center top;
    object-position: center top;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

.animals a:hover img {
    width: 104%;
    height: 106%;
    top: -3%;
}

.PedAnmName {
    display: none;
}

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

.divEpdTbl caption {
    background-color: #2f3532;
    border-color: #000;
    color: #fff;
}

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

.divEpdTbl thead {
    background-color: #096f37;
}

.divEpdTbl th, .divEpdTbl td {
    border-color: #315a21;
}

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

.Semen-Embryos>.table>thead>tr>th {
    border-color: #000;
    border-top: 2px;
    border-bottom: 1px;
}

.Semen-Embryos>.table>tbody>tr>td {
    border-color: #363636;
}

.heading {
    background-color: #2f3532;
    border-color: #000;
    color: #fff;
    text-align: center;
}

.thead {
    background-color: #096f37;
    border-color: #000;
}

.Semen-Embryos tbody {
    background-color: #757575;
    text-align: left;
    border-color: #000;
}

/**********************************************/
/********        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: #63b543;
    border: none;
    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: #d64947;
    font-size: 12px;
    font-style: italic;
    white-space: nowrap;
}

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

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

.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: 4px;
    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: 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;
}

.justify-center {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.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) {

}

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

}

@media screen and (max-width: 991px) {
    .navbar {
        min-height: 40px;
    }
    .nav-justified>li>a {
        font-size: 15px;
    }
    .nav>li>a {
        padding: 10px;
    }
    header>.logo {
        max-width: 35%;
    }
    .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 {
        margin-top: 50px;
    }
    .nav>li>a {
        text-align: left;
    }
    .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;
    }
}
