﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;800&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    background-color: #fff;
}


.bg-body {
    background-color: #dfe2e4 !important;
}

.body-margin {
    margin-top: 6em;
}

::selection {
    color: #fff;
    background-color: #1a7c9c;
}

::-moz-selection {
    color: #fff;
    background-color: #1a7c9c;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
}

.bold {
    font-weight: bold;
}

p {
    margin: 0;
}

.container, .container-fluid, .row, .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
    top: 0px;
    left: 0px;
}

.background-aqua {
    background-color: #1a7c9c;
}

.bg-grey {
    background-color: #eee;
}

.bg-light-grey {
    background-color: rgba(20,21,22,0.05);
}

.mainbody {
    /*    margin-top: 360px;
*/
}
/* #Navigation
================================================== */
.start-header {
    opacity: 1;
    transform: translateY(0);
    padding: 20px 0;
    box-shadow: 0 10px 30px 0 rgba(138, 155, 165, 0.15);
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

    .start-header.scroll-on {
        box-shadow: 0 5px 10px 0 rgba(138, 155, 165, 0.15);
        padding: 10px 0;
        -webkit-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }

        .start-header.scroll-on .navbar-brand img {
            height: 24px;
            -webkit-transition: all 0.3s ease-out;
            transition: all 0.3s ease-out;
        }

.navigation-wrap {
    position: fixed;
    width: 100%;
    /*    top: 260px;
*/ left: 0;
    z-index: 1000;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.navbar {
    padding: 0;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    display: block;
    filter: brightness(100%);
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.navbar-toggler {
    float: right;
    border: none;
    padding-right: 0;
}

    .navbar-toggler:active,
    .navbar-toggler:focus {
        outline: none;
    }

.navbar-light .navbar-toggler-icon {
    width: 24px;
    height: 17px;
    background-image: none;
    position: relative;
    border-bottom: 1px solid #000;
    transition: all 300ms linear;
}

    .navbar-light .navbar-toggler-icon:after,
    .navbar-light .navbar-toggler-icon:before {
        width: 24px;
        position: absolute;
        height: 1px;
        background-color: #000;
        top: 0;
        left: 0;
        content: '';
        z-index: 2;
        transition: all 300ms linear;
    }

    .navbar-light .navbar-toggler-icon:after {
        top: 8px;
    }

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

.nav-link {
    color: #212121 !important;
    font-weight: 500;
    transition: all 200ms linear;
}

.nav-item:hover .nav-link {
    color: #1a7c9c !important;
}

.nav-item.active .nav-link {
    color: #777 !important;
}

.nav-link {
    position: relative;
    padding: 5px 0 !important;
    display: inline-block;
}

.nav-item:after {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background-color: #1a7c9c;
    opacity: 0;
    transition: all 200ms linear;
}

.nav-item:hover:after {
    bottom: 0;
    opacity: 1;
}

.nav-item.active:hover:after {
    opacity: 0;
}

.nav-item {
    position: relative;
    transition: all 200ms linear;
}

/* #Primary style
================================================== */

.bg-light {
    background-color: #fff !important;
    transition: all 200ms linear;
}

.section {
    position: relative;
    width: 100%;
    display: block;
}

.full-height {
    height: 100vh;
}

.over-hide {
    overflow: hidden;
}

.absolute-center {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    margin-top: 40px;
    transform: translateY(-50%);
    z-index: 20;
}

h2 {
    color: #1a7c9c;
    font-size: 1.2em;
    font-weight: bold;
    padding-top: 10px;
}

.rt-venue {
    color: #1a7c9c;
    font-weight: bold;
}

div.stallion-sectionwrapper > div.RowSep:nth-of-type(odd) {
    background: #e0e0e0;
}

.nav-item .dropdown-menu {
    transform: translate3d(0, 10px, 0);
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    display: block;
    padding: 0;
    margin: 0;
    transition: all 200ms linear;
}

.nav-item.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 999px;
    transform: translate3d(0, 0px, 0);
}

.dropdown-menu {
    padding: 10px !important;
    margin: 0;
    font-size: 13px;
    letter-spacing: 1px;
    color: #212121;
    background-color: #fcfaff;
    border: none;
    border-radius: 3px;
    box-shadow: 0 5px 10px 0 rgba(138, 155, 165, 0.15);
    transition: all 200ms linear;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-item {
    padding: 3px 15px;
    color: #212121;
    border-radius: 2px;
    transition: all 200ms linear;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        color: #fff;
        background-color: rgba(129,103,169,.6);
    }

body.dark {
    color: #fff;
    background-color: #1f2029;
}

    body.dark .navbar-brand img {
        filter: brightness(100%);
    }

    body.dark h1 {
        color: #fff;
    }

        body.dark h1 span {
            transition-delay: 0ms !important;
        }

    body.dark p {
        color: #fff;
        transition-delay: 0ms !important;
    }

    body.dark .bg-light {
        background-color: #14151a !important;
    }

    body.dark .start-header {
        box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.15);
    }

        body.dark .start-header.scroll-on {
            box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
        }

    body.dark .nav-link {
        color: #fff !important;
    }

    body.dark .nav-item.active .nav-link {
        color: #999 !important;
    }

    body.dark .dropdown-menu {
        color: #fff;
        background-color: #1f2029;
        box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.25);
    }

    body.dark .dropdown-item {
        color: #fff;
    }

    body.dark .navbar-light .navbar-toggler-icon {
        border-bottom: 1px solid #fff;
    }

        body.dark .navbar-light .navbar-toggler-icon:after,
        body.dark .navbar-light .navbar-toggler-icon:before {
            background-color: #fff;
        }

    body.dark .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        border-color: transparent;
    }

.twitter-top {
    background-image: url(https://breednet.blob.core.windows.net/breednet/images/premium-stallion/twitterheader-sm-3.jpg);
    height: 20vh;
    background-size: cover;
    background-repeat: no-repeat;
}

/* #Media
================================================== */

@media (max-width: 767px) {
    h1 {
        font-size: 38px;
    }

    .nav-item:after {
        display: none;
    }

    .nav-item::before {
        position: absolute;
        display: block;
        top: 15px;
        left: 0;
        width: 11px;
        height: 1px;
        content: "";
        border: none;
        background-color: #000;
        vertical-align: 0;
    }

    .dropdown-toggle::after {
        position: absolute;
        display: block;
        top: 10px;
        left: -23px;
        width: 1px;
        height: 11px;
        content: "";
        border: none;
        background-color: #000;
        vertical-align: 0;
        transition: all 200ms linear;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(90deg);
        opacity: 0;
    }

    .dropdown-menu {
        padding: 0 !important;
        background-color: transparent;
        box-shadow: none;
        transition: all 200ms linear;
    }

    .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
        margin-top: 10px !important;
        margin-bottom: 20px !important;
    }

    body.dark .nav-item::before {
        background-color: #fff;
    }

    body.dark .dropdown-toggle::after {
        background-color: #fff;
    }

    body.dark .dropdown-menu {
        background-color: transparent;
        box-shadow: none;
    }
}

/* #Link to page
================================================== */

.logo {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: block;
    z-index: 100;
    transition: all 250ms linear;
}

    .logo img {
        height: 26px;
        width: auto;
        display: block;
        filter: brightness(100%);
        transition: all 250ms linear;
    }

body.dark .logo img {
    filter: brightness(10%);
}

.breadcrumbs-premium {
    color: lightgrey;
}

    .breadcrumbs-premium a {
        color: #1a7c9c;
    }

.stallion-HeaderDisplay {
    margin: 0;
    /*    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)*/
}

.stallion-head {
    font-size: 4em;
    font-weight: bold;
}

.list-inline-item img {
    max-height: 100px;
}


.pagination a {
    color: #555;
}

.panel ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.news-item {
    padding: 8px 4px;
    margin: 0px;
    border-bottom: 1px solid #f2f2f2;
    font-size: 0.8em;
}

a {
    color: #00BCD4 !important;
}

#news-ticker .panel-heading.panel1 {
    background: #1a7c9c;
    color: #fff !important;
    padding: 16px 19px;
    border-radius: 15px 15px 0px 0px;
    border-bottom: none !important;
}

#news-ticker .panel {
    border: medium none;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

#news-ticker .panel-footer {
    border-radius: 0px 0px 15px 15px;
    border-top: 1px solid rgba(0,0,0,0.015);
}

#news-ticker .pagination {
    border-radius: 25px;
    box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.05);
    margin: 0;
}

    #news-ticker .pagination li a.prev {
        border-bottom-left-radius: 25px;
        border-top-left-radius: 25px;
        margin-left: 0;
    }

    #news-ticker .pagination li a.next {
        border-bottom-right-radius: 25px;
        border-top-right-radius: 25px;
    }

.pagination > li > a, .pagination > li > span {
    padding: 7px 12px 3px 12px !important;
}

#news-ticker img {
    max-width: 120px;
    /*    height: 50px;
    width: 50px;
    margin-right: 10px;
*/
}


.sire-post {
    max-height: 300px;
    position: relative;
    overflow: hidden;
}

    .sire-post .read-more {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 30px 0;
        /* "transparent" only works here because == rgba(0,0,0,0) */
        background-image: linear-gradient(to bottom, transparent, grey);
    }

.title-text {
    margin-top: 50px;
    margin-bottom: 30px;
    color: #00BCD4;
    text-shadow: 3px 3px 0px #EEEEEE;
    letter-spacing: 1px;
    font-weight: bold;
}

.sire-comment {
    display: block;
    font-size: 0.9em;
}

.sire-distance-chart {
    width: 100%;
}

.sire-distance-container {
    display: block;
    width: 100%;
    overflow: hidden;
    font-size: 0.8em;
    border: 1px solid grey;
    border-radius: 0px;
    margin: 20px 0px 0px 0px;
}

.sire-distance-wrapper {
    display: block;
}

.sire-distance-cell {
    display: inline-block;
    width: 13%;
    height: 40px;
    border-top: 1px dotted #666;
    margin: 0px 1px 0px 1px;
    text-align: center;
    vertical-align: top;
}

.sire-distance-cell-header {
    display: inline-block;
    width: 13%;
    margin: 0px 1px 0px 1px;
    padding: 6px 0px 3px 0px;
    text-align: center;
    font-weight: bold;
}

.sire-distance-cell-header-long {
    display: inline-block;
    width: 18%;
    margin: 0px 1px 0px 1px;
    text-align: center;
    vertical-align: middle;
}

.sire-distance-cell-long {
    display: inline-block;
    width: 18%;
    border-top: 1px dotted #666;
}

.sire-distance-cell-sup {
    display: inline-block;
    width: 13%;
    height: 40px;
    border-top: 1px dotted #666;
    margin: 0px 1px 0px 1px;
    text-align: center;
    vertical-align: top;
    color: forestgreen;
    font-weight: bold;
}

.carousel-item {
    text-align: center;
}

.profile-comment {
    font-size: 1.1em;
    font-weight: bold;
}


#ResultDisplay, #SPDisplay, #WnrDisplay, #PlcDisplay, #StakesDisplay, #SPDisplay, .stallion-nicksboxheader, #sireTxt {
    min-width: 100%
}

.stallion-nickscontent {
    min-width: 100%;
    margin-left: 0 !important;
}

.stallion-nomsboxheader a {
    color: #fff !important;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}

.news-image-preview {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 110px;
    max-height: 110px;
}

.dash-border-bottom {
    border-bottom-color: lightgrey;
    border-bottom-width: 0.2px;
    border-bottom-style: dashed;
}

.dash-border-left {
    border-left-color: lightgrey;
    border-left-width: 0.2px;
    border-left-style: dashed;
}

.header-border {
    border-bottom-color: #1a7c9c;
    border-bottom-width: 0.2px;
    border-bottom-style: solid;
    padding-bottom: 0.3em;
    padding-left: 0.2em;
    text-transform: uppercase;
}

    .header-border span {
        float: right;
        padding-right: 0.5em;
        font-size: 0.7em;
    }

h4 {
    font-size: 1.1rem;
    margin-top: 0.5em;
    font-weight: bold;
    margin-left: 0.5em;
}

/*.carousel-inner {
    height: 300px;
}
*/

.video-icon {
    background-image: url('https://breednet.blob.core.windows.net/breednet/images/play.png');
    height: inherit;
    width: inherit;
    margin-left: auto;
    margin-right: auto;
    bottom: 0px;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40px;
    opacity: 0.6;
}

.swiper-container img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
}

.thumb-img {
    max-height: 125px !important;
}

.swiper-container {
    width: 100%;
    top: 0px;
    left: 0px;
}

    .swiper-container.slider-thumbnail .swiper-wrapper .swiper-slide {
        width: 25%;
        height: 100%;
        opacity: 0.5;
        overflow: hidden;
    }

        .swiper-container.slider-thumbnail .swiper-wrapper .swiper-slide.swiper-slide-thumb-active {
            opacity: 1;
        }

.media-slider-thumbs {
    --bg-opacity: 1;
    background-color: #f9f9f9;
    background-color: rgba(249,249,249,var(--bg-opacity));
    padding: .5rem;
}


.distance-winners {
}

.distance-winners-sup {
    color: forestgreen;
    font-weight: bold;
}

.sticky-ad-top {
    z-index: 999;
    position: sticky;
    position: -webkit-sticky;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
}

.ui-front {
    z-index: 10000;
}

.stakes-winner-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 270px;
}

#StudTitle {
    margin-left: 0 !important;
}

#VidThumbsTxt {
    display: flex;
    flex-direction: column;
}

.midvideo-container {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.video-mid-links {
    font-size: 0.75em;
    display: flex;
    border: dashed 1px lightgrey;
}
    .video-mid-links a{
        display: flex;
    }
.vid-title {
    margin-left: 5px;
}
@media (min-width: 1201px) and (max-width: 1600px) {
    .news-image-preview {
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        min-height: 120px;
        max-height: 120px;
    }
}

@media (max-width: 1200px) {
    .news-image-preview {
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        min-height: 100px;
        max-height: 100px;
    }
}

@media (min-width: 1024px) and (max-width: 1500px) {
    .stallion-head {
        font-size: 2.5em;
        font-weight: bold;
    }

}

@media (max-width: 1024px) {
    .news-preview {
        display: none;
    }

    .stallion-head {
        font-size: 2em;
        font-weight: bold;
    }

    .swiper-container img {
        max-height: 420px;
    }

    .thumb-img {
        max-height: 68px !important;
    }

    .news-image-preview {
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        min-height: 110px;
        max-height: 110px;
    }
}

@media (max-width: 790px) {
    .body-margin {
        margin-top: 7em;
    }

    .stallion-HeaderDisplay {
        margin: 0;
        position: inherit;
        top: auto;
        left: auto;
        margin-right: auto;
        transform: none
    }

    .stallion-head {
        font-size: 3em;
        font-weight: bold;
    }

    #Breadcrumbs {
        padding: 0.8em;
    }

    .sire-distance-container {
        margin: 0;
    }

    .sire-distance-cell-header-long, .sire-distance-cell-long {
        width: 17%;
    }

    .sire-distance-cell-header, .sire-distance-cell {
        width: 12%;
    }

    .stallion-nickscontent {
        min-width: 100%;
        margin-left: 0px !important;
        font-size: 0.8em;
    }

    .stallion-nickshorse {
        width: 40% !important;
    }

    .stallion-nicksdam {
        width: 45% !important;
    }

    .news-image-preview {
        background-size: cover;
        min-height: 85px;
        max-height: 85px;
    }


    .swiper-container img {
        max-height: 240px;
    }

    .thumb-img {
        max-height: 55px !important;
    }
}

@media (max-width: 715px) {
    .news-image-preview {
        background-size: contain;
        min-height: 150px;
        max-height: 150px;
    }

    .swiper-container img {
        max-height: 360px;
    }

    .thumb-img {
        max-height: 75px !important;
    }
}


@media (max-width: 420px) {

    .loader {
        left: 11% !important;
        top: 35% !important;
    }

    .navigation-wrap {
        top: 0;
    }

    .news-image-preview {
        background-size: contain;
        min-height: 80px;
        max-height: 80px;
    }

    .swiper-container img {
        max-height: 240px;
    }

    .thumb-img {
        max-height: 51px !important;
    }
}

@media only screen and (max-width: 992px) {
    .stallion-head {
        font-size: 1.4em;
    }

    .sire-breeding {
        font-size: 1em;
    }

    .profile-comment {
        font-size: 0.9em;
        font-weight: normal;
        line-height: 1;
    }

    .profile-description {
        font-size: 0.9em;
        font-weight: normal;
        line-height: 1.2;
    }
}

.showFade {
    opacity: 1;
    transition: opacity 1s;
}

.hideFade {
    opacity: 0;
}

.text-capital {
    text-transform: uppercase;
}
