﻿body {
    font-size: 12pt;
}

h1 {
    font-size: 1.5em;
    font-weight: bold;
    padding: 0px 0px 0px 0px;
    margin: 30px 0px 20px 50px;
    border-bottom: 1px dotted grey;
}

.foal-row-wrapper {
    display: none;
    overflow: hidden;
    /*    background-color: lightgray;
    padding: 1em;
*/
}

.foal-cell {
    background-color: #fff;
    display: inline-block;
    padding: 5px;
    width: 33%;
}

.foal-img-cell-thumb {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 200px;
    height: 200px;
}

.progeny-img-cell-info {
    text-align: center;
}

.progeny-img-cell-racename {
    font-size: 0.8em;
}

.progeny-img-cell-breeding {
    font-size: 0.8em;
    font-style: italic;
    text-align: center;
}

.progeny-img-cell-sale {
    margin: 6px 0 6px 0;
    padding: 6px 0 6px 0;
    background-color: #d3d3d3;
    font-size: 0.8em;
    text-align: center;
}

.rightcolFoals {
    width: 100%;
    /*    background-image: url(https://breednet.blob.core.windows.net/breednet/images/banners/MagnaGreciaFoalHeader.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    padding-top: 400px;
    padding-top: 400px;
*/
    padding-top: 6px;
    margin-top: 50px;
}

.portfolio {
    position: relative;
    margin: 5px;
    border: 1px solid black;
    float: left;
    width: 31%;
    max-width: 280px;
    transition-duration: 0.4s;
    border-radius: 5px;
    animation: winanim 0.5s;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    box-shadow: 0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12);
    min-height: 450px;
}

    .portfolio:hover {
        box-shadow: 0 12px 16px 0 rgba(0,0,0,.24),0 17px 50px 0 rgba(0,0,0,.19);
    }

    .portfolio img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

.desc {
    padding: 5px;
    text-align: center;
    font-size: 80%;
    background: #fff;
    color: #000;
    height: 100%;
}

.foal-cell-ch {
    margin-top: 1em;
}

.bold{
    font-weight: bold;
}

#VideoAd {
    border: #000 1px solid;
    margin: 0.5em;
}

@keyframes winanim {
    0% {
        opacity: 0;
        transform: scale3d(.3,.3,.3);
    }

    50% {
        opacity: 1;
    }
}

@media only screen and (max-width: 500px) {
    .portfolio {
        width: 100%;
        max-width: 400px;
    }

    .col-pixel-width-300 {
        flex: auto;
    }

    #topAd {
        display: none;
    }
}

.show-toggle {
    display: block;
}

.hide-toggle {
    display: none;
}

.video-player-mid {
    display: inline-block;
    width: 100%;
}

@media only screen and (min-width: 500px) {
    #topAd {
        display: block;
    }

}

@media only screen and (max-width: 500px) {
    .rightcolFoals {
        width: 100%;
        padding-top: 0px;
        margin-top: 0px;
    }
}
