﻿@import "../css/variables.css";

#bidModal,
#autoBidModal,
#errorModal {
    z-index: 9999999;
}

#bid-button,
#autobid-button {
    height: 100px;
    font-size: 25px;
    border-radius: 120px;
    width: 250px;
    margin: 0 auto;
}

.current-bid {
    font-size: 16px;
    /* height: 50%; */
    position: relative;
    top: 25%;
    /* text-align: center; */
    /* justify-content: end; */
}

.current-bid-text {
    position: relative;
    top: 20%;
    font-size: 25px;
}

.bid-prices-text {
    text-align: right;
    font-weight: 700
        /*bold*/
}

progress {
    border: 1px solid var(--backgroundblack) !important;
}

progress::-webkit-progress-value {
    background-color: var(--backgroundblack) !important;
}

progress::-moz-progress-bar {
    background-color: var(--backgroundblack) !important;
}


#pedigree {
    border-bottom: 1px solid #dee2e6;
    text-transform: uppercase;
}

#pedigree .highlight {
    border-color: var(--primarygreen) !important;
    background: var(--primarygreen);
    color: var(--white);
}


.table-v-align-middle td {
    vertical-align: middle;
}


.bg-lightgrey.table-bordered td {
    border-color: #a1a1a2 !important;
}

.bg-lightgrey.table-bordered td.highlight {
    border-color: var(--primarygreen) !important;
    background: var(--primarygreen);
    color: var(--white);
}


.border {
    border: 1px solid var(--primarygreen);
}

.border-top {
    border-top: 1px solid var(--black) !important;
}

.border-bottom {
    border-bottom: 1px solid var(--black) !important;
}



.btn.btn-black {
    color: var(--black)
}

.media-count {
    justify-content: end;
    font-size: 16px;
    z-index: 100;
    position: absolute;
    right: 15px;
    color: var(--black) !important;
    background-color: var(--backgroundwhite);
    padding-left: 5px;
    padding-right: 5px;
    width: 85px;
    height: 25px;
}

.media-count i {
    color: var(--black) !important;
}

.favorite-star {
    font-size: 16px;
    z-index: 100;
    position: absolute;
    top: 25px;
    right: 20px;
    color: var(--white) !important;
    background-color: var(--primarygreen);
    padding: 4px;
    border-radius: 15px;
    width: 30px;
    height: 30px;
    margin-top: 5px;
}

.datalist {
    list-style: none;
}

/*.datalist li:nth-child(n+6) {
    display: none;
}*/

.datalist li {
    color: var(--primarygreen);
}

.showmore {
    cursor: pointer;
    color: var(--primaryred);
}



.extra-info {
    display: none;
    font-size: 12px;
    position: absolute;
    bottom: 25px;
    left: 50px;
    background-color: var(--backgroundblack);
    color: var(--white);
    padding: 5px;
    border-radius: 5px;
}

.info:hover .extra-info {
    display: block;
}



/*.image-container {
    position: relative;
    width: auto;
}*/

/*.image-container img{
    width:100%
}*/

.image-container-small {
    position: relative;
    width: 260px;
    height: 200px
}

.image-logo-overlay {
    position: absolute;
    bottom: 0;
    left: 40%;
    background: transparent;
    width: 25%;
    opacity: 0.5;
}

.image-container-small>.image-logo-overlay {
    width: calc(25% - 10px);
}




.fancybox__slide.has-image>.fancybox__content {
    background-image: url(https://esha.horse/assets/images/header/logo-esha-text-wit.png);
    background-size: 25%;
    background-position: 50% 99%;
    background-repeat: no-repeat;
    position: relative;
}

.fancybox__slide.has-image>.fancybox__content img {
    opacity: 0.7 !important;
    /* Firefox, Chrome, Safari, Opera, IE >= 9 (preview) */
    filter: alpha(opacity=70) !important;
    /* for <= IE 8 */
}

.image-slider .slick-dots {
    bottom: unset;
}

/* .image-slider > .slider .slick-slide {
    height: auto
} */

.image-slider .slick-list {
    background-color: var(--backgroundblack);
    border-radius: 120px 0px;
}

.image-slider .slick-prev:before,
.slick-next:before {
    color: var(--backgroundblack) !important;
    /*    font-size:30px;
*/
}


#accordion .panel {
    background-color: var(--backgroundwhite);
}

#accordion .panel-heading {
    background-color: var(--backgroundwhite);
    border-bottom: 1px solid var(--black);
    background-image: none;
}

#accordion .panel-title {
    margin-top: 10px;
    position: relative;
}


#accordion .panel-title a {
    color: var(--black);
    font-size: 25px;
}

#accordion .panel-title i {
    color: var(--black);
    font-size: 25px;
    float: right;
}

#accordion .panel-body {
    font-size: 16px;
    margin: 30px 0px;
    background-color: var(--backgroundwhite);
    border-top: none;
}



/* On screens that are 900px wide or less, make the font-size smaller */
@media screen and (max-width: 900px) {
    .bid-bar-prices {
        font-size: 0.7rem;
    }

    .horse-bids{
        font-size: 0.7rem;
    }

    #bid-button,
    #autobid-button {
        font-size: 16px;
        height: 70px;
        width: 150px;
        border-radius: 35px;
    }
}

.item-container {
    padding-left: 30px;
    padding-right: 30px;
}

#bid-buttons {
    -ms-flex-direction: row !important;
    flex-direction: row !important;
}

.current-bid-btn {
    border-radius: 120px;
    float: left;
    height: 100px;
    width: 250px;
}

.min-bid-btn {
    border-radius: 120px;
    float: right;
    height: 100px;
    width: 250px;
}


@media (max-width: 1180px) {
    #bid-buttons {
        -ms-flex-direction: column !important;
        flex-direction: column !important;
    }

    .current-bid-btn {
        margin-right: 0px !important;
    }

    .min-bid-btn {
        margin-top: 5px;
        margin-left: 0px !important;
    }

    .go-back-column {
        margin-top: 10px;
        height: 70px;
    }

    .item-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}



.prev-button,
.next-button {
    position: absolute;
    color: var(--black) !important;
    bottom: 0;
    border: 1px solid var(--black);
    text-transform: none;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}





/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .switch-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .switch-slider {
    background-color: var(--primarygreen);
  }
  
  input:focus + .switch-slider {
    box-shadow: 0 0 1px var(--primarygreen);
  }
  
  input:checked + .switch-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .switch-slider.round {
    border-radius: 34px;
  }
  
  .switch-slider.round:before {
    border-radius: 50%;
  }


  

  .horse-bids {
    max-height: 350px;
    overflow-y: auto;
    background-color: var(--backgroundblack);
    border-radius: 65px;
    color: var(--white);
    padding: 20px;
    width: 100%;
}

.horse-bids-view {
    display:flex;
    flex-direction:column;
}

    .horse-bids-view .horse-bids .bid-row:nth-child(n+3) {
        display: none;
    }

    .horse-bids-view button {
        position: relative;
        left: calc(50% - 15px);
        top:-10px;
        height:30px;
        width:30px;
        padding:0px;
        z-index:200;
    }