﻿h3 {
	margin: 0;
}

p {
	padding-bottom: 0;
}

#catalogue-items {
	font-size: 13px;
	line-height: 18px;
}

#catalogue-items .title {
	text-align: center;
}

#catalogue-items .num,
#catalogue-items .qty,
#catalogue-items .desc {
	display: inline-block;
	vertical-align: middle;
	padding: 5px;
}

#catalogue-items .num {
	width: 8%;
}

#catalogue-items .qty {
	width: 8%;
}

#catalogue-items .desc {
	width: 80%;
}
#catalogue-items .even .desc,
#catalogue-items .odd .desc {
	text-align: left;
}

#catalogue-items .odd,
#catalogue-items .even,
#catalogue-items .item-row {
	min-height: 20px;
	border: 1px solid #000;
	border-bottom: 0;
	text-align: center;
}

#catalogue-items .odd {
	background: #aaaaaa;
}

#catalogue-items .odd:hover {
	background-color: #999;
}

#catalogue-items .even {
	background: #cccccc;
}

#catalogue-items .even:hover {
	background-color: #bbb;
}

#catalogue-items .even:last-child {
	border-bottom: 1px solid #000;
}

/****************************
PAGING
****************************/
.page-controls-container {
	text-align: center;
	margin: 0;
	position: relative;
	border: none;
	background: #dddddd;	
	border: 1px solid #bbbbbb;
}

.page-controls-container:empty {	
	border: none;
}

.page-control-btn:hover {
	text-decoration: underline;
}

.page-controls {
	text-align: center;
	position: relative;
}

.page-controls input {
	padding: 0px;
	width: 94%;
	margin: 1px 0px;
	height: 30px;
	background: transparent;
}


.page-back-links {
	display: inline-block;
}

.page-first-link {
	display: inline-block;
	width: 70px;
}

.page-previous-link {
	display: inline-block;
	width: 75px;
}

.page-forward-links {
	display: inline-block;
}

.page-next-link {
	display: inline-block;
	width: 75px;
}

.page-last-link {
	display: inline-block;
	width: 70px;
}

.page-links {
	display: inline-block;
}

.page-links input {
	padding: 4px 0;
	width: 24px;
	margin: 0 2px;
}


.active-page {
	font-weight: bold !important;
}

.page-button-disabled {
	cursor: default;
	color: #aaa !important;
}

.page-button-disabled:hover, .page-button-disabled:focus, .page-button-disabled:active {
	outline: none;
	outline-offset: 0px;
	-webkit-box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 2px 2px 0px rgba(0,0,0,0.25);
	box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.25);
	color: #aaa !important;
	background-position: 0 0px;
}

.page-top-count {
	line-height: 30px;
	text-align: center;
	display: none;
}

.page-controls .page-top-count {
	display: block;
}

@media only screen and (max-width: 980px) {
	.page-links input {
		display: none;
	}

	.page-first-link {
		display: none;
	}

	.page-last-link {
		display: none;
	}

	.page-back-links {
		width: 48%;
		float: left;
	}

	.page-forward-links {
		width: 48%;
		float: right;
	}

	.page-links {
		height: 32px;
	}

	.page-previous-link {
		width: 100%;
	}

	.page-next-link {
		width: 100%;
	}

	.page-controls-container .top {
		display: none;
	}

	.page-top-links {
		display: none;
	}

	.page-top-count {
		display: block;
	}

	.stock-search {
		position: relative;
		float: right;
	}

	#ucStock_btnStockReset {
		display: none;
	}
}



.auction-image {
    display: block;
    width: calc(25% - 30px);
    background-size: cover;
    background-position: center center;
    margin: 15px;
    transition: all 0.25s;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    animation-name: auction-image-in;
    animation-duration: 0.25s;
    animation-iteration-count: 1;
    transform: translateY(10px);
    opacity: 0;
    animation-fill-mode: forwards;
    background-color: #444;
}

@media screen and (max-width: 1024px) {
    .auction-image {
        width: calc(33.33333% - 30px);
    }
}

@media screen and (max-width: 768px) {
    .auction-image {
        width: calc(50% - 30px);
    }
}

@media screen and (max-width: 500px) {
    .auction-image {
        width: 100%;
    }
}

.auction-image:nth-child(1) {
    animation-delay: 0s;
}
.auction-image:nth-child(2) {
    animation-delay: 0.05s;
}
.auction-image:nth-child(3) {
    animation-delay: 0.1s;
}
.auction-image:nth-child(4) {
    animation-delay: 0.15s;
}
.auction-image:nth-child(5) {
    animation-delay: 0.2s;
}
.auction-image:nth-child(6) {
    animation-delay: 0.25s;
}
.auction-image:nth-child(7) {
    animation-delay: 0.3s;
}
.auction-image:nth-child(8) {
    animation-delay: 0.35s;
}
.auction-image:nth-child(9) {
    animation-delay: 0.4s;
}
.auction-image:nth-child(10) {
    animation-delay: 0.45s;
}
.auction-image:nth-child(11) {
    animation-delay: 0.5s;
}
.auction-image:nth-child(12) {
    animation-delay: 0.55s;
}
    
.auction-image:before {
    display: block;
    content: " ";
    padding-top: 75%;
}

.auction-images {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.auction-image:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

@keyframes auction-image-in {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}





.stock-table-container {
    width: 100%;
    display: block;
}

.stock-table {
    width: 100%;
    display: table;
    table-layout: auto;
    border-radius: 4px;
    /* overflow: hidden; */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    position: relative;
}

.stock-table > tbody > tr {
    background: #fff;
    transition: all 0.1s;
}

.stock-table > tbody > tr:hover {
    background: #eee;
}

.stock-table > tbody > tr.highlighted {
    background: #fafafa;
}

.stock-table > tbody > tr.highlighted:hover {
    background: #ddd;
}
    
.stock-table > tbody > tr > td {
    padding: 10px 25px;
    vertical-align: middle;
}

td.item-lotno {
}

td.item-qty {
}

td.item-details {
    width: auto;
}

h3.item-name {
    font-size: 16px;
    text-transform: none;
}

p.item-description {
    color: #333;
}

.stock-table > tfoot,
.stock-table > thead {
    background: #fafafa;
}

.stock-table > tfoot > tr > td,
.stock-table > thead > tr > th {
    padding: 15px 25px;
    text-align: left;
    font-weight: 600;
    user-select: none;
}

.stock-table > thead th {
    position: sticky;
    top: 102px;
    background: #eee;
    z-index: 100;
}

.stock-table > tbody > tr:not(:last-child) {
    border-bottom: solid 1px #eee;
}


label.item-row-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-align: left;
    padding: 10px 25px;
    cursor: pointer;
}

td.item-select {
    position: relative;
}


label.item-row-select > input {
    visibility: hidden;
}

label.item-row-select > div.checkbox {
    position: absolute;
    top: 50%;
    left: 25px;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: translateY(-50%);
    border-radius: 3px;
    border: solid 3px #333;
    transition: all 0.1s;
}

label.item-row-select > div.checkbox:before {
    display: block;
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/assets/images/icons/check-symbol-light.svg);
    background-position: center center;
    background-size: 89%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.1s;
}

label.item-row-select > input:checked + div.checkbox:before {
    opacity: 1;
}

label.item-row-select > input:checked + div.checkbox {
    background: #ec1d25;
    border-color: #ec1d25;
}

.stock-table-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 15px 0;
}



a#btnLoadMoreStock {
    margin-top: 15px;
    display: block;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
}

td.table-loader {
    padding: 0 !important;
    height: 4px;
    background: #eee;
    position: relative;
    transition: opacity 0.15s;
    opacity: 0;
}

    td.table-loader:before {
        content: " ";
        display: block;
        position: absolute;
        left: 0;
        width: 10%;
        height: 100%;
        background: #ec1d25;
        top: 0;
        animation: table-loader 2s linear infinite;
    }

@keyframes table-loader {
    0% {
        left: 0;
        width: 0%;
    }

    20% {
        left: 0;
        width: 20%;
    }

    80% {
        left: 80%;
        width: 20%;
    }

    100% {
        left: 100%;
        width: 0%;
    }
}

tbody.stock-loading.table-content + tbody > tr > td.table-loader {
    opacity: 1;
}


input.table-search {
    border: none;
    padding: 0 10px;
    background-color: #fafafa;
    border-radius: 4px;
    transition: all 0.15s;
    text-overflow: ellipsis;
    width: 200px;
    flex-grow: 1;
}

p.auction-description {
    line-height: 1.25em;
    margin: 15px 0;
}

h4.auction-address {
    font-size: 18px;
    margin-bottom: 15px;
}


.content-sections > div.content-section {
    display: none;
}

.content-sections > div.content-section.active {
    display: block;
}

a#btnLoadMoreImages {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 150px;
}




@media screen and (max-width: 500px) {
    .section-nav-btns > .btn {
        margin-bottom: 6px;
        width: 100%;
        margin-left: 0;
    }

    .stock-table-buttons > * {
        width: 100%;
        flex-grow: 1;
        margin: 5px 0;
    }

    input#txtSearchListings {
        display: block;
        height: calc(1em + 20px);
    }

    .stock-table > tbody > tr > td {
        padding: 5px 5px;
    }

    .stock-table > tbody > tr > td.item-select {
        width: 15px;
    }

    .stock-table {
        table-layout: fixed;
        width: 100%;
    }

    .stock-table > tfoot > tr > td, .stock-table > thead > tr > th {
        padding: 10px 16px;
    }
}

col.col-select {
    width: 10%;
}

col.col-lotno {
    width: 10%;
}

col.col-qty {
    width: 10%;
}

col.col-desc {
    width: 70%;
}

col.col-imgs {
    width: 86px;
}

@media screen and (max-width: 1040px) {
    col.col-select {
        width: 10%;
    }

    col.col-lotno {
        width: 15%;
    }

    col.col-qty {
        width: 10%;
    }

    col.col-desc {
        width: 65%;
    }
}

@media screen and (max-width: 768px) {
    col.col-select {
        width: 10%;
    }

    col.col-lotno {
        width: 15%;
    }

    col.col-qty {
        width: 5%;
    }

    col.col-desc {
        width: 70%;
    }
}


@media screen and (max-width: 500px) {
    col.col-select {
        width: 65px;
    }

    col.col-lotno {
        width: 82px;
    }

    col.col-qty {
        width: 45px;
    }

    col.col-desc {
        width: 70%;
    }
}



.section-nav-btns > .btn {
    margin-bottom: 10px;
}

.section-nav-btns {
    margin-left: -0.3em;
}



body.auction-image-carousel-in {
    overflow-y: hidden;
}



.auction-image-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222;
    z-index: 10000;
    display: none;
}

body.auction-image-carousel-in .auction-image-carousel {
    display: block;
}

.auction-image-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 24px;
    color: transparent;
    width: 25px;
    height: 25px;
    background-image: url(/assets/images/icons/close-button.svg);
    background-size: contain;
    cursor: pointer;
    background-position: top right;
    background-repeat: no-repeat;
    z-index: 100;
}

a#btnImageCarouselBack {
    left: 25px;
    background-image: url(/assets/images/icons/chevron-left.svg);
}

.auction-image-carousel-nav > a {
    position: absolute;
    top: 50%;
    color: transparent;
    text-decoration: none;
    width: 35px;
    height: 35px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all 0.15s;
    opacity: 0.8;
    z-index: 100;
}

.auction-image-carousel-nav {
}

a#btnImageCarouselNext {
    right: 25px;
    background-image: url(/assets/images/icons/chevron-right.svg);
}

.auction-image-carousel-nav > a:hover {
    opacity: 1;
}

.auction-image-carousel-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 200px);
    height: calc(100% - 50px);
    transform: translateX(-50%) translateY(-50%);
    /*background-image: url(/assets/images/brand/logo.png);*/
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 99;
}

@media screen and (max-width: 768px) {
    .auction-image-carousel-image {
        width: calc(100% - 50px);
    }
}





a.item-imgs__view {
    white-space: nowrap;
    display: block;
    padding: 0.5em;
    background: #eee;
    border-radius: 3px;
    cursor: pointer;
}



.lightbox-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox {
    display: block;
    width: calc(100% - 50px);
    max-width: 800px;
    max-height: calc(100% - 50px);
    height: 600px;
    position: relative;
}

.lightbox__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333;
}

button.lightbox__nav {
    position: absolute;
    top: 0;
    height: 100%;
    width: 20%;
    max-width: 125px;
    -webkit-appearance: none;
    border: none;
    cursor: pointer;
    background: transparent;
}

    button.lightbox__nav.lightbox__nav--next {
        right: 0;
    }

    button.lightbox__nav.lightbox__nav--prev:hover {
        background: linear-gradient(270deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
    }

    button.lightbox__nav.lightbox__nav--next:hover {
        background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
    }

    button.lightbox__nav:before {
        content: " ";
        display: block;
        position: absolute;
        background-size: 3em auto;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center;
        background-repeat: no-repeat;
    }

    button.lightbox__nav.lightbox__nav--next:before {
        background-image: url(/assets/images/icons/chevron-right.svg);
    }

    button.lightbox__nav.lightbox__nav--prev:before {
        background-image: url(/assets/images/icons/chevron-left.svg);
    }

button.lightbox__close {
    position: absolute;
    top: 0;
    right: 0;
    margin: 15px;
    width: 2em;
    height: 2em;
    background: transparent;
    -webkit-appearance: none;
    border: none;
    background-image: url(/assets/images/icons/close-button.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}