.lower-case {
    text-transform: lowercase;
}

/* TODO: Move to component */

.competitor-result-test {
    color: #c3c3c375;
    float: right;
    font-size: 42px;
    float: right;
    overflow: hidden;
    margin: -10px;
    margin-top: -20px;
}

.competitor-prize {
    overflow-x: hidden;
}

.competitor-prize {
    overflow-x: hidden;
}

.competitor-totals {
    float: right;
    text-align: right;
}

.judge-result-item {
    text-align: center;
    border-top: 1px solid lightgray;
    margin-top: 4px;
    padding-top: 4px;
}

.judge-classification {
    font-size: 12px;
    vertical-align: super;
    display: inline-block;
    width: 20px;
}

.horse-details-item p {
    line-height: 26px;
}

button.horse-relative {
    text-transform: capitalize;
    padding: 6px 3px;
}

button.horse-tree {
    padding-right: 6px;
}


.horse-logo {
    line-height: 50px;
}

    .horse-logo span, .horse-logo img {
        vertical-align: middle;
    }

    .horse-logo span {
        padding-left: 10px;
    }


.mud-card-content {
    padding-top: 4px;
}

.mud-card-header {
    padding-bottom: 8px;
}


.tree-close-button-fixed {
    position: fixed;
    left: 0;
    top: 0;
    border: 2px;
    background-color: lightgray;
}

.tree-dialog .mud-dialog-content {
    padding: 0 !important;
}

.tree-loading {
    padding: 0 !important;
    font-size: 40px;
}

.tree-image {
    width: 100%;
    height: 100%
}




.specimen-detail-tree {
    padding: 0;
    margin: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #222;
    width: 1760px;
    height: 760px
}

    .specimen-detail-tree .x-html {
        transition: transform .6s;
        width: 0;
        height: 0
    }

    .specimen-detail-tree img {
        vertical-align: middle
    }

    .specimen-detail-tree h1 {
        text-align: center;
        margin: 8px;
        font-size: 48px;
        width: 1770px;
        visibility: hidden
    }

    .specimen-detail-tree footer {
        padding: 2px;
        margin-top: -170px;
        font-size: 1.33em
    }

    .specimen-detail-tree #columns {
        width: 1770px;
        margin: auto;
        margin-top: -150px;
        background: url(https://movil.studbook.es/icon/studbook-tree.png) no-repeat bottom
    }

    .specimen-detail-tree #level-0 .horse {
        height: 210px;
        width: 410px;
        margin-top: 35px;
        border: 2px solid gray
    }

    .specimen-detail-tree #level-0 {
        position: absolute;
        left: 20px;
        top: 287px
    }

        .specimen-detail-tree #level-0 .horse-code {
            font-size: 1em !important
        }

        .specimen-detail-tree #level-0 .horse-year {
            font-size: 1em;
            color: #222
        }

    .specimen-detail-tree #level-1 .horse {
        margin-top: 244px;
        margin-bottom: 244px;
        height: 120px
    }

    .specimen-detail-tree #level-2 .horse {
        margin-top: 101.99249812px;
        margin-bottom: 101.99249812px;
        height: 80px
    }

    .specimen-detail-tree #level-3 .horse {
        margin-top: 4.3px;
        margin-bottom: 4.3px;
        height: 80px
    }

    .specimen-detail-tree .horse {
        display: block;
        height: 40px;
        margin: 2px;
        width: 100%;
        vertical-align: middle;
        padding: 1px 2px
    }

    .specimen-detail-tree #columns .parent {
        display: inline-block;
        vertical-align: middle;
        margin-left: 2px;
        width: 420px
    }

    .specimen-detail-tree #level-4.parent {
        width: 470px
    }

    .specimen-detail-tree .escarapela {
        width: 40px
    }

    .specimen-detail-tree #level-4 .escarapela {
        width: 30px
    }

    .specimen-detail-tree .parent div {
        font-size: 1.2em
    }

    .specimen-detail-tree #level-4 div {
        font-size: 1.1em;
        display: inline-block;
        margin-bottom: 1px;
        margin-top: 1px
    }

    .specimen-detail-tree .horse {
        position: relative
    }

    .specimen-detail-tree .horse-name {
        min-width: 291px;
        overflow: hidden;
        height: 1.2em;
        margin-bottom: 2px
    }

    .specimen-detail-tree .horse-criador-propietario {
        width: 200px;
        overflow: hidden;
        font-size: .75em !important;
        text-align: right;
        position: absolute;
        right: 2px;
        bottom: 2px;
        height: 2.4em
    }

        .specimen-detail-tree .horse-criador-propietario span {
            display: block;
            height: 1.2em;
            overflow: hidden
        }

    .specimen-detail-tree #level-0 .horse-criador-propietario {
        width: 400px;
        overflow: hidden;
        font-size: 1em !important;
        display: block;
        position: relative;
        text-align: left;
        height: auto;
        padding: 4px 2px
    }

        .specimen-detail-tree #level-0 .horse-criador-propietario img {
            margin-right: 2px
        }

    .specimen-detail-tree #level-1 .horse-criador-propietario {
        width: 400px;
        overflow: hidden;
        font-size: 1em !important;
        display: block;
        position: relative;
        text-align: left;
        height: 2.8em
    }

        .specimen-detail-tree #level-1 .horse-criador-propietario span {
            display: block;
            height: 1.1em;
            overflow: hidden
        }

    .specimen-detail-tree .horse-code {
        font-size: .7em !important;
        position: absolute;
        bottom: -2px;
        left: 2px
    }

    .specimen-detail-tree .horse-male {
        background: rgba(173, 216, 230, 0.7);
        background: -moz-linear-gradient(left, rgba(173, 216, 230, 0.7) 0, rgba(173, 216, 230, 0.33) 100%);
        background: -webkit-gradient(left top, right top, color-stop(0%, rgba(173, 216, 230, 0.7)), color-stop(100%, rgba(173, 216, 230, 0.33)));
        background: -webkit-linear-gradient(left, rgba(173, 216, 230, 0.7) 0, rgba(173, 216, 230, 0.33) 100%);
        background: -o-linear-gradient(left, rgba(173, 216, 230, 0.7) 0, rgba(173, 216, 230, 0.33) 100%);
        background: -ms-linear-gradient(left, rgba(173, 216, 230, 0.7) 0, rgba(173, 216, 230, 0.33) 100%);
        background: linear-gradient(to right, rgba(173, 216, 230, 0.7) 0, rgba(173, 216, 230, 0.33) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#add8e6', endColorstr='#add8e6', GradientType=1)
    }

    .specimen-detail-tree .horse-female {
        background: rgba(255, 182, 193, 0.7);
        background: -moz-linear-gradient(left, rgba(255, 182, 193, 0.7) 0, rgba(255, 182, 193, 0.33) 100%);
        background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255, 182, 193, 0.7)), color-stop(100%, rgba(255, 182, 193, 0.33)));
        background: -webkit-linear-gradient(left, rgba(255, 182, 193, 0.7) 0, rgba(255, 182, 193, 0.33) 100%);
        background: -o-linear-gradient(left, rgba(255, 182, 193, 0.7) 0, rgba(255, 182, 193, 0.33) 100%);
        background: -ms-linear-gradient(left, rgba(255, 182, 193, 0.7) 0, rgba(255, 182, 193, 0.33) 100%);
        background: linear-gradient(to right, rgba(255, 182, 193, 0.7) 0, rgba(255, 182, 193, 0.33) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb6c1', endColorstr='#ffb6c1', GradientType=1)
    }

    .specimen-detail-tree .hierro {
        width: 30px;
        height: 30px;
        display: inline-block;
        vertical-align: middle
    }

    .specimen-detail-tree .horse-year {
        color: #666
    }

    .specimen-detail-tree .capa {
        width: 30px;
        height: 30px;
        display: inline-block;
        vertical-align: middle
    }

    .specimen-detail-tree .capa-1 {
        background-color: salmon
    }

    .specimen-detail-tree .capa-2 {
        background-color: red
    }

    .specimen-detail-tree .capa-3 {
        background-color: red
    }

    .specimen-detail-tree .capa-4 {
        background-color: brown
    }

    .specimen-detail-tree .capa-5 {
        background-color: black
    }

    .specimen-detail-tree .capa-6 {
        background-color: red
    }

    .specimen-detail-tree .capa-7 {
        background-color: red
    }

    .specimen-detail-tree .capa-8 {
        background-color: gray
    }

    .specimen-detail-tree .capa-9 {
        background-color: red
    }

    .specimen-detail-tree .capa-10 {
        background-color: transparent
    }

    .specimen-detail-tree .capa-11 {
        background-color: black
    }

    .specimen-detail-tree .capa-12 {
        background-color: red
    }

    .specimen-detail-tree .capa-13 {
        background-color: red
    }

    .specimen-detail-tree .capa-14 {
        background-color: red
    }

    .specimen-detail-tree .capa-15 {
        background-color: red
    }

    .specimen-detail-tree .capa-16 {
        background-color: white
    }

    .specimen-detail-tree .capa-17 {
        background-color: transparent
    }

    .specimen-detail-tree .capa-18 {
        background-color: transparent
    }
