.max-width {
    width: 100% !important;
}

thead tr {
    vertical-align: top;
}

thead .hide-heading {
    opacity: 0;
}

.dt-wrapper table {
    width: 100% !important;
}

.con-table-flag {
    max-height: 20px;
    height: 100%;
    /* position: relative; */
    top: 3px;
}

.men-owner-logo {
    margin-bottom: -5px;
}

.con-horse-profile__board  {
    padding: 5rem 0;
    background-color: #E9F2EF;
    padding-bottom: 0;
}

.con-horse-profile__board a {
    text-decoration: none;
}

.con-horse-profile__board a:hover {
    text-decoration: underline;
}

.con-horse-profile__board span,
.con-horse-profile__board strong {
    padding: 0 1em;
}

.con-horse-profile__board--box {
    background: #fff;
}

.con-horse-profile__line {
    box-sizing: border-box;
    height: 1px;
    width: 80px;
    border: 2px solid #A15435;
    margin: 3rem auto;
}

.con-horse-profile__name,
.con-horse-profile__quote {
    text-align: center;
}

.con-horse-profile__name {
    /*font-family: "palatino lt w04 roman";
    font-size: 60px;
    letter-spacing: 0;*/
    line-height: 77px;
    margin-bottom: 0;
}

.con-horse-profile__quote  {
    font-family: "palatino lt w04 roman";
    font-size: 26px;
    letter-spacing: 0;
    line-height: 42px;
    margin-top: 1rem;
}

.con-horse-profile__lineage--current-detail span,
.con-horse-profile__lineage--current-detail strong {
    display: block;
}

.con-horse-profile__lineage-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
}

.con-horse-profile__lineage-wrapper--link {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.con-horse-profile__lineage-wrapper--link a {
    text-decoration: underline;
}

.con-horse-profile__lineage {
    display: flex;
    /* width: 100%; */
    width: 1320px;
    height: 330px;    
    margin-top: 2rem;
    max-width: 1320px;
    margin: 0 auto;
}

.con-horse-profile__lineage--current {
    width: 40%;
    display: flex;
}

.con-horse-profile__lineage--current--image {
    max-width: 40%;
    background: #e9f2ef;
}

.con-horse-profile__lineage--current--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.con-horse-profile__lineage--current-name {
    width: 60%;    
    display: inline-flex;
    flex-flow: column;
    height: 100%;
    vertical-align: top;
    justify-content: center;
}

.con-horse-profile__lineage--parents {
    width: 60%;
    padding-left: .5em;
    line-height:initial;
}

.con-horse-profile__lineage--father-lineage,
.con-horse-profile__lineage--mother-lineage {
    display: block; 
    width: 100%;
    height: 165px;
}

.con-horse-profile__lineage--father-lineage {
    padding-bottom: .25rem;
    box-sizing: border-box;
}

.con-horse-profile__lineage--mother-lineage {
    padding-top: .25rem;
    box-sizing: border-box;
}

.con-horse-profile__lineage--father,
.con-horse-profile__lineage--mother {
    width: 33%;
    display: inline-flex;
    flex-flow: column;
    height: 100%;
    vertical-align: top;
    justify-content: center;
}

.con-horse-profile__lineage--grandparents-lineage {
    width: 66%;
    display: inline-block;
    padding-left: .25em;
    box-sizing: border-box;
}

.con-horse-profile__lineage--grandparents {
    width: 100%;
    display: block;
}

.con-horse-profile__lineage--grandparents.con-father {
    padding-bottom: .25em;
    box-sizing: border-box;
}

.con-horse-profile__lineage--grandparents.con-mother {
    padding-top: .25em;
    box-sizing: border-box;
}

.con-horse-profile__lineage--grandparent,
.con-horse-profile__lineage--great-grandparents {
    width: 49.49%;
    display: inline-flex;
    flex-flow: column;
    height: 76px;
    vertical-align: top;
    justify-content: center;
    padding-left: .25em;
    box-sizing: border-box;
}

.con-horse-profile__lineage--great-grandparent {
    width: 100%;
    display: flex;
    flex-flow: column;
    height: 41.25px;
    vertical-align: top;
    justify-content: center;
}

.con-horse-profile__lineage--great-grandparent.con-male {
    margin-bottom: .25em;
    box-sizing: border-box;
}

.con-horse-profile__lineage--great-grandparent.con-female {
    margin-top: .25em;
    box-sizing: border-box;
}

.con-horse-profile__details-wrapper{
    overflow-x: auto; 
    width: 1320px;
    margin:auto;   
}
.con-horse-profile__details {
    display:flex;
    justify-content: space-evenly;   
    margin: 2rem auto;
}
.con-horse-profile__details-column{
    flex:0 33%;    
}
.con-horse-profile__details-column span{   
    padding:0;
}
.con-horse-profile__details-column strong{
    padding:0 0.5em 0 0.5em;
}

.con-horse-profile__webimage {
    margin-top: 5rem;
}

.con-horse-profile__webimage--image {
    width: 100%;
}
.con-horse-teaser-wrapper{
    overflow-x: auto;    
}
.con-horse-teaser {
    justify-content: space-evenly;
    width: 1320px;
    max-width: 1320px;
    margin: 0 auto;
}

.con-horse-teaser span,
.con-horse-teaser strong {
    display: block;
}

.con-horse-teaser__horse {
    flex: 0 33%;    
    margin-bottom: 2em;    
}

.con-horse-teaser__horse-board {
    background-color: #E9F2EF;
    height: 100%;
    margin: 0 1em;
    display: block;
    text-decoration: none;;
    /* box-sizing: border-box; */
}

.con-horse-teaser__horse-board:hover strong {
    text-decoration: underline;
}

.con-horse-teaser--image-container{
    position: relative;
    padding-top: 150%;
    width: 100%;
}
.con-horse-teaser--image-container>img {
    position: absolute;
    height: 100%;        
    top: 0;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

/*.con-horse-teaser__horse img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
}*/

.con-horse-teaser__horse--info {
    padding: 2em;
    padding-top: 1em;
}

.con-horse-profile__webtext, .con-horse-profile__files {
    padding: 0 1em;
}

@media screen and (max-width:1360px)
{
    .con-horse-teaser{
        width: inherit;
    }
    .con-horse-profile__details-wrapper{       
        width: 100%;         
    }   
}

@media screen and  (max-width: 991px) {
    .con-horse-teaser__horse {
        flex: 0 50%;
    }       
    .con-horse-profile__details {
        display:block;           
        margin: 2rem 1rem;
    }
    
}

@media screen and  (max-width: 767px) {
    .con-horse-teaser__horse {
        flex: 0 100%;
    }    
}


.dataTables_wrapper {
    overflow: auto;
}

/* POPOVERS */
.con-popover {
    position: relative;
    padding: .5em;
}

.env-popover__header {
    display: none;
}

.env-popover__content {
    background: #000;
    color: #fff;
}

.env-popover__arrow--top:after {
    border-top-color: #000;
}

.env-form-element {
    max-width: 15em;
    width: 100%;
    display: inline-block;
    margin-right: 1em;
}

.sorting_1, .sorting_2, .sorting_3, .sorting_4, .sorting_5 {
    background-color: initial !important;
}