body{font-size:16px;}

.section-panel {
    border: 1px solid #ccc;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

    padding: 10px;
    margin-bottom: 15px;
}

.panel-heading {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.item-panel {
    padding: 0;
}

.panel-details {
    padding: 10px 5px 10px 5px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.text-small {
    font-size: 14px;
}

.search-detailed-row {
    margin-top: 20px;
}

.search-detailed-row > div.search-center-label {
    padding-top: 15px;
}

.padding0 {
    padding: 0 !important;
}

.padding5 {
    padding: 5px !important;
}

ul.pull-left {
    margin: 0;
    padding: 0;
}

.container {
    padding-right: 10px;
    padding-left: 10px;
}

.container-fluid {
    padding-right: 5px;
    padding-left: 5px;
}

.navbar-right .dropdown a {
    cursor: pointer;
}

.login-card {
    width: 80%;
    margin: auto;
}

.validation-error {
    color: red;
}

.validation-pending {
    color: orange;
}

.clear-search {
    /*float: right;*/
}

.horse-image {
    cursor: pointer;
}

img.horse-image-center {
    display: block;

    height: 100px;
}

.ratio {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 70%; /* % of width, defines aspect ratio*/

    background: no-repeat center center;
    background-size: cover;
}
.ratio-first {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 70%; /* % of width, defines aspect ratio*/

    background: no-repeat center center;
    background-size: contain;
    background-color: #404040;
}

.ratio-header {
    padding-bottom: 40%;
    background: no-repeat center top;
    background-size: cover;
}

.image-gallery .row {
    margin-left: 5px;
    margin-right: 5px;
}

.image-gallery .row > div {
    padding: 2px;
!important;
}

.imageAndText {
    position: relative;
    margin-top: -20px;
    margin-bottom: 10px;
}
.col h1{
    font-size: 10vmin;
    min-font-size: 25px;
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.imageAndText .col {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    padding-left: 10px;
}

li.horse-video {
    margin: 2px;
    padding: 2px;
}

.close-discipline {
    float: none;
}

.add-horse-form .form-inline {
    padding: 5px 0 5px 0;
}

.search-panel > span {
    padding-right: 25px;
}

.search-panel > span > button {
    float: none !important;
}

.section-panel .row-without-margin {
    margin-right: 0px;
    margin-left: 0px;
}

.horse-data span.education-value {
    padding-right: 5px;
}

.table tbody > tr > td.vert-align {
    vertical-align: middle;
}

span.pedigree-placeholder {
    font-style: italic;
    color: grey;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.horse-data div.buttons {
    margin-top: 10px;
}


.horse-data div.breeder-info label{
    margin-bottom: 0;
}

form .section-panel  {
    border: 0;
}

.contents {
    font-size: 16px;
    color: gray;
    margin-bottom: 0;
}

.horse-pedigree-input {
    height: 28px;
    padding: 6px;
    font-size: 15px;
}.horse-pedigree-input.url {
    margin-top: 5px;
}
.help-block{
    margin: 0px;
}

form.form-horizontal div.row-checkbox {
    margin-top: 20px;
}

div.has-error button.birthday-select {
    color: #a94442;
    border: 1px #a94442 solid;
}

.col-xxs-1,.col-xxs-10,.col-xxs-11,.col-xxs-12,.col-xxs-2,.col-xxs-3,.col-xxs-4,.col-xxs-5,.col-xxs-6,.col-xxs-7,.col-xxs-8,.col-xxs-9{
    position:relative;
    min-height:1px;
    padding-right:15px;
    padding-left:15px;
}

.col-xxs-1,.col-xxs-10,.col-xxs-11,.col-xxs-12,.col-xxs-2,.col-xxs-3,.col-xxs-4,.col-xxs-5,.col-xxs-6,.col-xxs-7,.col-xxs-8,.col-xxs-9{
    float:left;
}

@media screen and (min-width:200px) and (max-width: 567px){

    .col-xxs-pull-12 { right:100%; }
    .col-xxs-pull-11 { right:91.66666667%; }
    .col-xxs-pull-10 { right:83.33333333%; }
    .col-xxs-pull-9 { right:75%; }
    .col-xxs-pull-8 { right:66.66666667%; }
    .col-xxs-pull-7 { right:58.33333333%; }
    .col-xxs-pull-6 { right:50%; }
    .col-xxs-pull-5 { right:41.66666667%; }
    .col-xxs-pull-4 { right:33.33333333%; }
    .col-xxs-pull-3 { right:25%; }
    .col-xxs-pull-2 { right:16.66666667%; }
    .col-xxs-pull-1 { right:8.33333333%; }
    .col-xxs-pull-0{ right:auto; }

    .col-xxs-push-12 { left:100%; }
    .col-xxs-push-11 { left:91.66666667%; }
    .col-xxs-push-10 { left:83.33333333%; }
    .col-xxs-push-9 { left:75%; }
    .col-xxs-push-8 { left:66.66666667%; }
    .col-xxs-push-7 { left:58.33333333%; }
    .col-xxs-push-6 { left:50%; }
    .col-xxs-push-5 { left:41.66666667%; }
    .col-xxs-push-4 { left:33.33333333%; }
    .col-xxs-push-3 { left:25%; }
    .col-xxs-push-2 { left:16.66666667%; }
    .col-xxs-push-1 { left:8.33333333%; }
    .col-xxs-push-0 { left:auto; }
    .col-xxs-offset-12 { margin-left:100%; }
    .col-xxs-offset-11 { margin-left:91.66666667%;}
    .col-xxs-offset-10 { margin-left:83.33333333%; }
    .col-xxs-offset-9 { margin-left:75%; }
    .col-xxs-offset-8 { margin-left:66.66666667%; }
    .col-xxs-offset-7 { margin-left:58.33333333%; }
    .col-xxs-offset-6 { margin-left:50%; }
    .col-xxs-offset-5 { margin-left:41.66666667%; }
    .col-xxs-offset-4 { margin-left:33.33333333%; }
    .col-xxs-offset-3 { margin-left:25%; }
    .col-xxs-offset-2 { margin-left:16.66666667% ;}
    .col-xxs-offset-1 { margin-left:8.33333333%; }
    .col-xxs-offset-0{ margin-left:0; }

    .col-xxs-1 { width:8.33333333%; }
    .col-xxs-2 { width:16.66666667%; }
    .col-xxs-3 { width:25%; }
    .col-xxs-4 { width:33.33333333%; }
    .col-xxs-5 { width:41.66666667%; }
    .col-xxs-6 { width:50%; }
    .col-xxs-7 { width:58.33333333%; }
    .col-xxs-8 { width:66.66666667%; }
    .col-xxs-9 { width:75%; }
    .col-xxs-10 { width:83.33333333%; }
    .col-xxs-11 { width:91.66666667%; }
    .col-xxs-12 { width: 100%; }
}

@media screen and (min-width:568px) and (max-width: 987px) {

    .col-xxs-without-padding {
        padding-right:0px;
        padding-left:0px;
    }
}

@media screen and (min-width:300px) and (max-width: 321px) {

    .col-xxs-small-left-padding {
        padding-left:5px;
    }
}

input#youtube-video {
    width: 240px;
}

input#pedigree-url {
    width: 340px;
    padding: 5px 5px;
 }

a.go-up {
    position: fixed;
    z-index: 9993;
    right: 10px;
    bottom: 35px;
    background: #2e6da4;
    border: 1px solid #2e6da4;
    border-radius: 25px;
    cursor: pointer;
    color: #fff;
    text-align: center;
    font-size: 24px;
    line-height: 24px;
    text-shadow: 0 1px 2px #000;
    opacity: .75;
    padding: 3px;
    margin-bottom: 5px;
    width: 42px;
    height: 42px;
}

a.go-up:hover {
    opacity: 1;
    text-decoration: none;
}

.text-required {
    color: rgb(237, 0, 0);
    font-size: 20px;
    line-height: 10px;
}

footer {
    width: 100%;

    position: fixed;
    bottom: 0;
    border-top: 1px #9e9e9e solid;
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
    /*color: #666;*/
    font-size: 11px;
    background: #fff;
    z-index: 999;
}

.sold-mark-EN {
    position: absolute;
    top: -4px;
    left: 11px;
    width: 120px;
    height: 120px;
    background-image: url('/resources/styles/images/sold_EN.png');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    z-index: 5;
}
.sold-mark-DE {
    position: absolute;
    top: -4px;
    left: 11px;
    width: 120px;
    height: 120px;
    background-image: url('/resources/styles/images/sold_DE.png');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    z-index: 5;
}


/**
 * For the correct positioning of the placeholder element, the dnd-list and
 * it's children must have position: relative
 */
.draggableArea ul[dnd-list],
.draggableArea ul[dnd-list] > li {
    position: relative;
}

/**
 * The dndDraggingSource class will be applied to
 * the source element of a drag operation. It makes
 * sense to hide it to give the user the feeling
 * that he's actually moving it.
 */
.draggableArea ul[dnd-list] .dndDraggingSource {
    display: none;
}

/**
* An element with .dndPlaceholder class will be
* added to the dnd-list while the user is dragging
* over it.
*/
.draggableArea ul[dnd-list] .dndPlaceholder {
    /*display: block;*/
    background-color: #ddd;
    min-height: 120px;
    min-width: 100px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    opacity: 0.90;
    z-index: 500;
}

.nav.max-z {
    z-index: 999999;
}

.fade.ng-hide {
    transition: 0.5s linear all;
    opacity:0;
}
.fade.ng-hide.ng-hide-active {
    opacity:1;
}

/* ngGallery */

.ng-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.85;
    z-index: 9999;
}

.ng-gallery-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    text-align: center;
}

.ng-gallery-content > a.close-popup {
    font-size: 42px;
    text-decoration: none;
    margin: 0 30px 0 0;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 0;
    z-index: 10005;
}

.ng-gallery-content > a.nav-left, .ng-gallery-content > a.nav-right {
    font-size: 60px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10005;
    cursor: pointer;
}
.ng-gallery-content > a.nav-left {
    left: 20px;
}
.ng-gallery-content > a.nav-right {
    right: 20px;
}

.ng-gallery-content > img {
    height: auto;
    max-height: 100%;
    max-width: 100%;
    position: relative;
    display: block;
    margin: 0 auto 0 auto;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.ng-gallery-content > span.info-text {
    font-size: 25px;
    display: inline-block;
    height: 60px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 20px;
    left: 10px;
    z-index: 10005;
}
.ng-gallery-content > .contrast-text {
    color: #dadada;
    text-shadow: -1px 0 #3c3c3c, 0 1px #3c3c3c, 1px 0 #3c3c3c, 0 -1px #3c3c3c;
}

@-webkit-keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-ms-keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.uil-ring-css {
    background: none;
    position: relative;
    top: 0;
    margin: 180px auto 0 auto;
    width: 100px;
    height: 100px;
}

.uil-ring-css > div {
    position: absolute;
    display: block;
    width: 80px;
    height: 80px;
    top: 20px;
    left: 20px;
    border-radius: 40px;
    box-shadow: 0 3px 0 0 #787878;
    -ms-animation: uil-ring-anim 1s linear infinite;
    -moz-animation: uil-ring-anim 1s linear infinite;
    -webkit-animation: uil-ring-anim 1s linear infinite;
    -o-animation: uil-ring-anim 1s linear infinite;
    animation: uil-ring-anim 1s linear infinite;
}


.video-container {
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:0;
    overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.details li {
    padding: 3px 0;
    border-bottom: 1px solid #e3e3e3;
}

.details li dl {
    margin: 0;
}


.price{
    margin:0;
    padding:0;
    position:absolute;
    right:30px;
    list-style:none;
}

.price a{
    float:left;
    height:30px;
    line-height:30px;
    position:relative;
    font-size:16px;
}

.price a{
    margin-left:20px;
    padding:0 10px 0 12px;
    background:#3278B3;
    color:#fff;
    text-decoration:none;
    -moz-border-radius-bottomright:4px;
    -webkit-border-bottom-right-radius:4px;
    border-bottom-right-radius:4px;
    -moz-border-radius-topright:4px;
    -webkit-border-top-right-radius:4px;
    border-top-right-radius:4px;
}

.price a:before{
    content:"";
    float:left;
    position:absolute;
    top:0;
    left:-14.5px;
    width:0;
    height:0;
    border-color:transparent #3278B3 transparent transparent;
    border-style:solid;
    border-width:15px 15px 15px 0;
}

.price a:after{
    content:"";
    position:absolute;
    top:12.5px;
    left:0;
    float:left;
    width:4px;
    height:4px;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;
    background:#fff;
    -moz-box-shadow:-1px -1px 2px #004977;
    -webkit-box-shadow:-1px -1px 2px #004977;
    box-shadow:-1px -1px 2px #004977;
}

[disabled] {
    pointer-events: none;
}