﻿body {
    font-size: 13pt;
}

.stud-top-container {
    display: block;
    width: 100%;
    overflow: hidden;
    vertical-align: top;
    padding: 0% 0% 0% 3%
}

.stud-address-wrapper {
    display: inline-block;
    width: 40%;
    vertical-align: top;
}

.stud-map {
    display: inline-block;
    width: 50%;
}

.sire-stallion-container {
    display: block;
    padding: 3% 0% 0% 2%;
}

.sire-cell {
    display: inline-block;
    width: 30%;
    overflow: hidden;
    border-top: 1px dotted grey;
    margin: 1% 0% 0% 1%;
    vertical-align: top;
}

    .sire-cell img {
        width: 75%;
    }

.sire-cell-sirename {
    display: block;
    font-weight: bold;
    padding: 0px 0px 10px 10px;
}

.sire-cell-fee {
    display: block;
    font-size: 0.8em;
}

.sire-cell-pedigree {
    display: inline-block;
    font-size: 0.8em;
    width: 45%;
}

.sire-cell-lastwinner {
    display: block;
    font-size: 0.8em;
}

#map-canvas {
    height: 150px;
    width: 90%;
}

.stud-news-row {
    display: block;
    width: 100%;
    overflow: hidden;
    vertical-align: top;
}

.stud-news-container {
    display: block;
    padding: 0px 0px 0px 20px;
    font-size: 0.9em;
    margin: 20px 0px 0px 0px;
}

.stud-news-wrapper {
    display: inline-block;
    padding: 1% 2% 1% 2%;
    border-top: 1px dotted #666;
    width: 45%;
    vertical-align: top;
    overflow: hidden;
}

.stud-data-section {
    display: block;
}

.stud-data-news {
    display: block;
    width: 100%;
    overflow: hidden;
    vertical-align: top;
}

.stud-news-preview {
    font-size: 0.8em;
}

.stud-data-col2 {
    display: block;
    width: 100%;
    overflow: hidden;
    vertical-align: top;
}

.stud-sales-container {
    display: block;
    padding: 0px 0px 0px 20px;
}

.stud-sale-wrapper {
    font-size: 0.8em;
}

@media only screen and (max-width: 500px) {
    .sire-cell {
        display: block;
        width: 90%;
        overflow: hidden;
        border: 1px dotted red;
        margin: 20px 6px 0px 6px;
        vertical-align: top;
    }
}

.profile-card-4 {
    max-width: 300px;
    background-color: #FFF;
    border-radius: 5px;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    margin: 10px auto;
    cursor: pointer;
}

    .profile-card-4 img {
        transition: all 0.25s linear;
        max-height: 225px;
    }

    .profile-card-4 .profile-content {
        position: relative;
        padding: 15px;
        background-color: #FFF;
    }

    .profile-card-4 .premium {
        background-image: url(https://breednet.blob.core.windows.net/breednet/images/premium-stallion/breednet-premium-badge.png);
        background-repeat: no-repeat;
        background-size: 56px;
        position: absolute;
        width: 50px;
        height: 60px;
        top: 0;
        right: 14px;
        z-index: 9999;
    }

    .profile-card-4 .profile-name {
        font-weight: bold;
        position: absolute;
        left: 0px;
        right: 0px;
        top: -70px;
        color: #FFF;
        font-size: 17px;
        background-color: rgba(0,0,0,0.4);
    }

        .profile-card-4 .profile-name p {
            font-weight: 600;
            font-size: 13px;
            letter-spacing: 1.5px;
        }

    .profile-card-4 .profile-description {
        color: #777;
        font-size: 12px;
        padding: 10px;
    }

    .profile-card-4 .profile-overview {
        padding: 15px 0px;
    }

        .profile-card-4 .profile-overview p {
            font-size: 10px;
            font-weight: 600;
            color: #777;
        }

        .profile-card-4 .profile-overview h4 {
            color: #273751;
            font-weight: bold;
        }

    .profile-card-4 .profile-content::before {
        content: "";
        position: absolute;
        height: 20px;
        top: -10px;
        left: 0px;
        right: 0px;
        background-color: #FFF;
        z-index: 0;
        transform: skewY(3deg);
    }

    .profile-card-4:hover img {
        transform: rotate(5deg) scale(1.1, 1.1);
        filter: brightness(110%);
    }
