/**********************************************/
/*******        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 {
    z-index: 1000;
}

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

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

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

.bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.lead {
    font-size: 1.25rem;
}

a {
    color: #871717;
}

a:hover, a:visited, a:focus, a:active {
    color: #430b0b;
    text-decoration: none;
}

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

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

.banner {
    background: url("../images/pages/home/IMG_8048.jpg");
    height: 600px;
    background-size: cover;
    background-position: center;
    text-align: center;
}

img.logo {
    max-height: 50%;
    max-width: 90%;
    margin-top: 130px;
}

section {
    padding: 50px 0;
}

.panel-default>.panel-heading {
    background-color: #871717;
    color: #fff;
}

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

footer a {
    color: #fff;
    font-weight: bold;
}

footer a:hover, footer a:active, footer a:focus {
    color: #871717;
}

.btn-primary {
    background: #6e1313;
    border: none;
    border-radius: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.nanogallery_gallerytheme_dark_my_nanogallery2 .nGY2GThumbnail_l1 {
    border-color: #871717 !important;
}

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

.navbar {
    font-family: grueber, serif;
    text-transform: uppercase;
    background-color: transparent;
    margin-bottom: 0;
    border-radius: 0;
    z-index: 1001;
    width: 100%;
}

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

.nav>li>a:hover, .nav>li>a:active,.nav>li>a:focus {
    background-color: transparent;
    color: #222;
}

.top-nav-collapse .nav>li>a:hover, .top-nav-collapse .nav>li>a:active, .top-nav-collapse .nav>li>a:focus {
    color: #bdbdbd;
}

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

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

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

.animals a img {
    -webkit-filter: grayscale(45%);
            filter: grayscale(45%);
    -webkit-transition: all .35s ease-in-out;
    -o-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out;
}

.animals a:hover img {
    -webkit-filter: grayscale(0);
            filter: grayscale(0)
}

.animals a:hover {
    text-decoration: underline;
}

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

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

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

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

.PedAnmName {
    font-family: grueber, serif;
    font-size: 36px;
    font-weight: 500;
}

/**********************************************/
/********        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: #6e1313;
    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 {
    background-color: #f8f5f5;
    border-color: #efefef;
    border-radius: 0;
    padding: 6px;
}

.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 #efefef;
    border-radius: 0; 
    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: 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;
}

.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) {
    .navbar {
        padding: 5px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -o-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }
    
    .top-nav-collapse {
        padding: 0;
        background-color: #871717;
    }

    .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) {
    .nav>li>a {
        padding: 10px 12px;
        font-size: 16px;
    }

    .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) {
    .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) {
    .navbar {
        background-color: #871717;
    }

    .navbar-default .navbar-toggle {
        border: none;
    }

    .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
        background-color: #222;
    }

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

    .nav-justified {
        margin: 15px 0;
    }
    
    .nav>li>a {
        padding: 5px 12px;
    }

    .navbar-collapse {
        clear: both;
    }

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