body.auction {
    position: relative;
    min-height: 100%;
}
#wrapper.auction {
    width: 1000px;
    max-width: 100%;
}
.auction-branding {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}
.auction-branding-top {
    display: block;
    width: 100%;
    max-width: 1040px;
    height: auto;
    margin: 0 auto;
}
.auction-branding-back {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: no-repeat bottom 100px center;
    background-size: 100% auto;
}
#wrapper.auction {
    margin-bottom: 40px;
    box-shadow: 8px 8px 20px rgba(5, 29, 65, 0.3);
}
@media (min-width: 1000px) {
    #wrapper.auction {
        padding: 20px;
    }
}
.auction .toggle  {
    clear: both;
}
.auction-slider-main {
    position: relative;
    max-width: 900px;
    margin: 0 auto 20px;
    background: no-repeat center bottom;
    background-size: contain;
    transition: background 0.5s;
}
.auction-slider-main:after {
    content: '';
    display: block;
    width: 100%;
    height: auto;
    padding-top: 56.25%;
}
.auction-slider-main-description {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    padding: 20px;
    color: rgb(255, 255, 255);
    background: rgba(5, 29, 65, 0.9);
}
.auction-slider-main-description-title {
    display: block;
    margin-bottom: 10px;
    font-size: 30px;
    text-transform: uppercase;
}
.auction-slider-main-description a {
    color: inherit;
}
.auction-slider-main-description-title:after {
    content: '';
    display: block;
    width: 40px;
    height: 5px;
    background: rgb(247, 168, 0);
}
.auction-slider-main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.auction-slider-main-nav * {
    position: absolute;
    display: block;
    top: calc(50% - 40px);
    width: 25px;
    height: 68px;
    background: url('../img/nav-slider.png') left top no-repeat;
    cursor: pointer;
}
.auction-slider-main-nav :first-child {
    left: -40px;
}
.auction-slider-main-nav :last-child {
    right: -40px;
    background-position: -25px 0;
}
.auction-slider-thumbnails {
    position: relative;
    overflow: hidden;
}
.auction-slider-thumbnails ul {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0;
    white-space: nowrap;
    transition: left 0.3s;
}
.auction-slider-thumbnails ul li {
    display: inline-block;
    width: calc(10% - 5px);
    min-width: 80px;
    margin-left: calc(1% + 5px);
    opacity: 0.5;
    transition: opacity 0.3s;
}
.auction-slider-thumbnails ul li:first-child {
    margin-left: calc(1% + 3px);
}
.auction-slider-thumbnails ul li.active {
    opacity: 1;
}
.auction-slider-thumbnails ul li img {
    width: 100%;
    min-width: 100%;
    height: auto;
    cursor: pointer;
}
.auction-slider-thumbnails nav {
    opacity: 0;
    transition: opacity 0.3s;
}
.auction-slider-thumbnails:hover nav {
    opacity: 1;
}
.auction-slider-thumbnails nav a {
    position: absolute;
    top: 0;
    left: calc(1% + 3px);
    width: 40px;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
}
.auction-slider-thumbnails nav a:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 25px;
    height: 68px;
    background: url('../img/nav-slider.png') left top no-repeat;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.auction-slider-thumbnails nav a:last-child {
    left: auto;
    right: calc(1% + 3px);
}
.auction-slider-thumbnails nav a:last-child:after {
    background-position: -25px 0;
}
@media (max-width: 1024px) {
    .auction-slider-thumbnails nav {
        opacity: 1;
    }
}
.auction-popin {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(5, 29, 65, 0.85);
}
.auction-popin-content {
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 520px;
    max-width: 100%;
    padding: 100px 30px 60px;
    border: 3px rgb(245, 157, 25) solid;
    text-align: center;
    background: rgb(255, 255, 255);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.auction-popin-content-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: block;
    width: 21px;
    height: 22px;
    background: url('../img/icon-close.jpg');
    cursor: pointer;
}
.auction-popin-content img {
    max-width: 100%;
    margin-bottom: 40px;
}
.auction-popin-content p {
    font-size: 20px;
}
.auction-popin-content-button {
    display: inline-block;
    width: 300px;
    margin-top: 30px;
    padding: 17px 0;
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    background: rgb(245, 157, 25);
    border-radius: 10px;
    box-shadow: 4px 4px 20px rgba(5, 29, 65, 0.5);
}
