@font-face {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: normal;
    src: url(fonts/BebasNeue-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Myriad Pro';
    font-style: normal;
    font-weight: normal;
    src: url(fonts/MyriadPro-Light.otf) format('opentype');
}

@font-face {
    font-family: 'MyriadProBold';
    font-style: normal;
    font-weight: bold;
    src: url(fonts/MyriadPro-Bold.otf) format('opentype');
}

html {
    height: 100%;
}

body {
    margin: 0.5in 0 0 0;
    width: 100%;
    font-family: Myriad Pro, Helvetica, Arial, sans-serif;
    font-size: 9pt;
    background: rgb(82, 86, 89);
}

.page {
    position: relative;
    width: 8in;
    height: 11in;
    background: #fff;
}

.page:nth-child(odd) {
    border-left: 0.5in solid #000;
}

.page:nth-child(even) {
    border-right: 0.5in solid #000;
}

@media print {
    @page {
        margin: 0;
        size: portrait;
    }

    body {
        -webkit-print-color-adjust: exact !important;
        margin: 0;
    }

    .page {
        margin: 0 !important;
    }
}

.category-sidebar {
    position: absolute;
    top: 0;
    height: 100%;
    width: 0.5in;
    background-color: #000;
    color: #fff;
    font-family: Bebas Neue, Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 22pt;
    font-style: italic;
    text-transform: uppercase;
}

.page:nth-child(odd) .category-sidebar {
    left: 0;
    margin-left: -0.5in;
}

.page:nth-child(even) .category-sidebar {
    right: 0;
    margin-right: -0.5in;
}

.category-sidebar span {
    position: absolute;
    bottom: 1in;
    height: 0.30in;
    padding-top: 0.2in;
    -webkit-transform: rotate(-90deg);
    -webkit-transform-origin: left top;
    white-space: nowrap;
}

.page:nth-child(odd) .category-sidebar span {
    left: 0;
}

.page:nth-child(even) .category-sidebar span {
    right: 0;
    -webkit-transform: rotate(90deg);
    -webkit-transform-origin: right top;
}


.bull.angus .category-sidebar {
    background-color: #000;
}

.bull.simmental .category-sidebar,
.bull.simangus .category-sidebar {
    background-color: #090;
}

.bull.hereford .category-sidebar {
    background-color: #900;
}

.bull.red-angus .category-sidebar {
    background-color: #c80;
}

.bull.charolais .category-sidebar {
    background-color: #760fab;
}

.bull.club-calf .category-sidebar {
    background-color: #eee;
    color: rgba(0, 0, 0, 0.8);
}

.bull.shorthorn .category-sidebar {
    background-color: #00b4d0;
}

.bull.limousin .category-sidebar,
.bull.limflex .category-sidebar {
    background-color: yellow;
    color: #000;
}

.bull.brangus .category-sidebar {
    background-color: #11579e;
}

.page.angus {
    border-color: #000;
}

.page.simmental,
.page.simangus {
    border-color: #090;
}

.page.hereford {
    border-color: #900;
}

.page.red-angus {
    border-color: #c80;
}

.page.charolais {
    border-color: #760fab;
}

.page.club-calf {
    border-color: #eee;
    color: rgba(0, 0, 0, 0.8);
}

.page.shorthorn {
    border-color: #00b4d0;
}

.page.limousin,
.page.limflex {
    border-color: yellow;
}

.page.brangus {
    border-color: #11579e;
}


section {
    position: relative;
    clear: both;
}

.page section:first-child {
    padding-top: 0.5in;
}

body.layout-2 section {
    height: 5in;
}

body.layout-3 section {
    height: 3.3in;
}

section .header {
    position: relative;
    padding-left: 0.5in;
    font-family: Bebas Neue, Helvetica, Arial, sans-serif;
    font-size: 22pt;
    font-weight: bold;
    text-transform: uppercase;
}

.page:nth-child(even) section .header {
    padding-left: 1in;
}

body.layout-2 section .header {
    font-size: 18pt;
}

body.layout-3 section .header {
    font-size: 15pt;
}

section .title span {
    font-size: 30pt;
    color: #b8162a;
}

body.layout-2 section .title span {
    font-size: 24pt;
}

body.layout-3 section .title span {
    font-size: 20pt;
}

section .header .price img {
    margin-bottom: -6pt;
    height: 28pt;
}

body.layout-3 section .header .price img {
    height: 22pt;
}

.price {
    position: absolute;
    bottom: 0;
    right: 0.6in;
}

.page:nth-child(even) .price {
    right: 0.1in;
}

.price span {
    font-size: 9pt;
}

.main-image {
    max-height: 6in;
    overflow: hidden;
    padding-top: 0.08in;
}

body.layout-2 .main-image {
    float: left;
    padding-right: 0.1in;
    max-width: 4in;
}

body.layout-3 .main-image {
    float: left;
    padding-right: 0.1in;
    max-width: 3in;
}

.main-image img {
    max-width: 8in;
    box-shadow: 0 0.025in 0.1in rgba(0, 0, 0, 0.6);
}

body.layout-2 .main-image img {
    max-width: 4in;
}

body.layout-3 .main-image img {
    max-width: 3in;
}

.main-image .caption {
    margin-top: 0.05in;
    margin-left: 0.9in;
    padding-right: 0.5in;
}

body.layout-2 .main-image .caption {
    margin-left: 0.25in;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


body.layout-3 .main-image .caption {
    display: none;
}


.details {
    margin: 0.15in 0.15in 0 0.75in;
    float: left;
}

body.layout-2 .details {
    margin: 0 0.1in;
    width: 3.5in;
}

body.layout-3 .details {
    margin: 0 0.1in;
    width: 4.5in;
}

.left-sidebar {
    float: left;
    margin-right: 0.25in;
}

body.layout-1 .left-sidebar {
    max-width: 2in;
}

body.layout-2 .left-sidebar,
body.layout-3 .left-sidebar{
    width: 100%;
}

.main-content {
    float: left;
    width: 4.8in;
}


.registration {
    border-bottom: 0.04in solid #b8162a;
    margin-bottom: 0.1in;
}

body.layout-2 .info,
body.layout-2 .pedigree,
body.layout-3 .info,
body.layout-3 .pedigree{
    float: left;
    width: 50%;
}

.pedigree {
    margin-top: 0.1in;
    text-transform: uppercase;
}

body.layout-2 .pedigree,
body.layout-3 .pedigree{
    margin-top: 0;
    font-size: 8pt;
}

.pedigree > div {
    margin-left: 0.3in;
}

.pedigree .sire,
.pedigree .dam {
    font-family: MyriadProBold, Helvetica, Arial, sans-serif;
    font-weight: bold;
    margin-left: 0;
}

.thumb-container .thumb {
    width: 1.5in;
    margin: 0 0.1in 0.1in 0;
    float: left;
}

.thumb-container .thumb span {
    font-size: 8pt;
    font-style: italic;
    text-align: center;
    display: block;
    width: 100%;
}

.thumb-container .thumb img {
    box-shadow: 0 0 0.1in rgba(0, 0, 0, 0.5);
    width: 1.5in;
}

body.layout-2 .thumb-container {
    margin-top: 0.1in;
    float: left;
}

ul.notes {
    list-style-type: none;
    padding-left: 0.25in;
    margin-top: 0;
    line-height: 9pt;
    padding-right: 0.1in;
    margin-bottom: 0;
}

ul.notes li:before {
    position: relative;
    content: "";
    border-color: transparent transparent transparent #b8162a;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 0.9em;
    padding: 0;
    margin: 0;
}

.page-footer {
    position: absolute;
    bottom: 0.25in;
    font-size: 9pt;
}

.page-footer span.footer-page-number {
    font-family: MyriadProBold, Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 12pt;
}

.page-footer span.footer-tagline {
    display: inline-block;
    margin-right: -0.05in;
    vertical-align: middle;
}

.page-footer span.footer-tagline img {
    height: 10pt;
}

.page:nth-child(even) .page-footer span.footer-generated {
    display: none;
}

.page:nth-child(odd) .page-footer span.footer-tagline {
    display: none;
}

.page:nth-child(even) .page-footer {
    right: 0.1in;
}

.page:nth-child(even) .page-footer span.footer-page-number {
    border-left: 2px solid #b8162a;
    padding-left: 0.1in;
    margin-left: 0.1in;
}

.page:nth-child(odd) .page-footer {
    left: 0.1in;
}

.page:nth-child(odd) .page-footer span.footer-page-number {
    border-right: 2px solid #b8162a;
    padding-right: 0.1in;
    margin-right: 0.1in;
}

table.epd-table {
    border-collapse: collapse;
    text-align: center;
    font-size: 7pt;
    margin-top: 0.15in;
    margin-left: 0.25in;
    width: 7in;
    background-color: #fff;
    float: left;
}

.page:nth-child(even) table.epd-table {
    margin-left: 0.5in;
}

body.layout-1 table.epd-table,
body.layout-1 .page:nth-child(even) table.epd-table{
    margin-left: 0.75in;
}

table.epd-table thead {
    background: #b8162a;
    color: #fff;
    font-family: MyriadProBold, Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.epd-table tbody tr td:first-child {
    font-family: MyriadProBold, Helvetica, Arial, sans-serif;
    font-weight: bold;
}

table.epd-table tbody tr td {
    border: 0;
    border-bottom: 1px solid #666;
    padding: 0.02in;
}

table.epd-table tbody tr:nth-child(even) {
    background-color: #eee;
}
