/*temp style*/
body{
    margin: 0;
    padding: 0;
    font-family: arial, sans-serif;
}
header{
    background: repeating-linear-gradient(to right, #A60000 20%, #FF7171 40%, #A60000 60%);
    padding: 0.7rem;
    font-weight: bold;
    text-align: center;
    color: #FFF;
    font-size: 1.2rem;
}
#main_menu{
    background: repeating-linear-gradient(to right, #A60000 20%, #FF7171 40%, #A60000 60%);
    border-top: solid #000 1px;
    border-bottom: solid #000 1px;
    color: #FFF;
    margin-bottom: 1rem;
}
#main_menu ul{
    margin: 0;
	padding: 0;
    display: inline-block;
}
#main_menu li{
    display: inline-block;
}
#main_menu li a{
    display: inline-block;
    padding: 0.4rem 0.8rem;
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
}

#main_menu form{
    display: inline;
}
#main_menu form input{
    display: inline;
}
#main_menu input[type="submit"]{
    background: none;
    font-family: Arial;
    font-size: 16px;
    font-weight: bold;
}
#menu-mobile{
	display: none;
}
@media (max-width: 787px){
	#menu-mobile{
		display: inline;
		float: left;
	}
	#main_menu{
		display: none;
	}
	#main_menu ul{
		display: block;
	}
	#main_menu li{
		display: block;
		text-align: center;
	}

}
form.inline{
	display: inline-block;
}
label{
	white-space: nowrap;
}
.sub_menu{
    border-top: solid black 1px;
    border-bottom: solid black 1px;
    background: repeating-linear-gradient(to right, #6c6c6c 20%, #bababa 40%, #6c6c6c 60%);
    margin-bottom: 1rem;
}
.sub_menu ul{
    padding: 0 1rem;
    margin: 0;
}
.sub_menu li{
    display: inline-block;
    position: relative;
}
.sub_menu a{
    position: relative;
    display: inline-block;
    padding: 0.2rem;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}
table, form, p, h1, h2, h3{
    margin-left: 1rem;
    margin-right: 1rem;
}
form table{
	margin-left: 0;
	margin-right: 0;
}
h1{
    font-size: 1.4rem;
}
.customer_info{
    padding: 1rem;
    font-weight: bold;
}
.item_info{
    font-weight: bold;
}
table{
    border-collapse: collapse;
    margin: 1rem;
}
table thead{
    font-weight: bold;
    background: #000000;

}
table thead td{
    border-bottom: solid #000 1px;
    color: #FFF;
}
table td{
    padding: 0.2rem 0.4rem;
}
table tbody tr:nth-child(n){
    background: #e4e4e4;
}
table tbody tr:nth-child(2n){
    background: #FFF;
}
table a{
    color: #000;
}
table.bids tbody.location{
    font-weight: bold;
    background: #6c6c6c;
    color: #FFF;
}
table.bids tbody.vehicle:nth-child(n){
    background: #e4e4e4;
}
table.bids tbody.vehicle:nth-child(2n){
    background: #FFF;
}
table.bids tbody tr {
	background: none;
}
tr.total td{
	border-top: solid #000 2px;
	text-align: right;
	font-weight: bold;
}
.finance{
    text-align: right;
    white-space: nowrap;
}
.finance.low{
    color: #A60000;
}
.finance.high{
    color: #028e00;
}
.toolbar{
    margin: 1rem;
}
.toolbar a, .button, input[type="submit"], input[type="button"], button{
    font-family: Tahoma;
    text-decoration: none;
    background: #6b6b6b;
    color: #FFF;
    padding: 0.2rem 0.6rem;
    font-weight: bold;
    border: none;
	cursor: pointer;
    font-size: 13px;
}
.toolbar label, .toolbar .list, .toolbar input[type="submit"], .toolbar input[type="button"]{
	margin-bottom: 0.5rem;
	display: inline-block;
}
.toolbar form{
	margin: 0;
}
.list button{
	margin: 0;
}
footer{
	border-top: solid black 1px;
	border-bottom: solid black 1px;
    background: repeating-linear-gradient(to right, #6c6c6c 20%, #bababa 40%, #6c6c6c 60%);
    padding: 0.5rem;
    font-size: 0.8rem;
    text-align: right;
    margin-top: 1rem;
}
footer a{
    color: #000;
    text-decoration: none;
    font-style: italic;
}
.form1{
    max-width: 500px;
}
.form1 label{
    display: block;
    margin: 0.4rem 0;
}
.form1 label span{
    display: block;
}
.form1 label input, .form1 label select, .form1 select{
    display: block;
    width: 200px;
}
.form1 label input[type="checkbox"]{
    display: inline;
    width: auto;
}
.form1 label.inline span{
    display: inline;
}
.form1 label.inline input{
    display: inline;
}
.info{
    display: inline-block;
    vertical-align: top;
    margin: 0.2rem;
    padding: 0.4rem;
    font-size: 0.9rem;
    border: solid #aaaaaa 1px;
    border-radius: 0.2rem;
}
.info .value{
    display: block;
    font-size: 1rem;
    font-weight: bold;
}
.info.note, .info.vat_check{
    display: block;
}
.info.note textarea{
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 200px;
}
.info input[type="submit"]{
    margin-top: 5px;
}
.form2 label{
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

#frm_add_delivery_company{
    border-bottom: solid #000 1px;
    padding-bottom: 0.5rem;
}
#v_details, #auc_details, #bid_history{
    display: inline-block;
    vertical-align: top;
}
#pic_large{
    display: inline-block;
}
#pic_large img{
    height: 222px;
}
#pictures{
    margin: 0 1rem;
}
#pics{
    display: inline-block;
}
#pics div{
    display: inline-block;
}
#pics div::before{
    content :    '\a' ;
    white-space :    pre ;
}
.unconfirmed{
    color: #ff8c49;
}
#message_box{
    margin: auto;
    text-align: center;
}
#message_box .error {
    display: inline-block;
    text-align: center;
    padding: 5px 10px 5px 10px;
    margin: 5px 0;
    border: solid #FF6161 1px;
    border-radius: 5px;
    background: #FF6161;
}
#message_box .success{
    display: inline-block;
    text-align: center;
    padding: 5px 10px 5px 10px;
    margin: 5px 0;
    border: solid #96EA5C 1px;
    border-radius: 5px;
    background: #96EA5C;
}
#message_box .alert{
    display: inline-block;
    text-align: center;
    padding: 5px 10px 5px 10px;
    margin: 5px 0;
    border: solid #ff8c49 1px;
    border-radius: 5px;
    background: #ff8c49;
}
#message_box .close{
    text-decoration: underline;
    cursor: pointer;
    vertical-align: super;
    font-size: smaller;
}
.inline{
    display: inline;
}

.bid_ok{
    color: #005fff;
    font-weight: bold;
}
.bid_new{
    text-decoration: underline;
}
.vehicle-form > form > label{
    display: block;
    margin: 1rem 0;
}
.vehicle-form textarea{
    display: block;
    width: 100%;
    height: 6em;
    font-size: 16px;
}
label.inline, .vehicle-form > form > label.inline{
    display: inline-block;
}
.ok{
    color: #96ea5c;
}
.warn{
    color: #ea6a00;
}
.err{
    color: #A60000;
}
table.general-info td:nth-of-type(2), table.update-info td:nth-of-type(2){
	text-align: right;
}

#modal_cover{
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    display: table;
}
#modal_container{
    display: table-cell;
    vertical-align: middle;
}
.modal_box{
    width: 700px;
    margin: auto;
    background: #FFF;
    border-radius: 10px;
    padding: 20px;
}

#slideshow .button{
	background: none;
}

.calculator input[name="description[]"]{
    width: 220px;
}
.calculator input[name="vat[]"]{
    width: 40px;
}
.calculator input[name="amount[]"], .calculator input[name="gross_amount[]"]{
    width: 100px;
}
[data-manual-input="1"]{
    color: #0000ff;
}
.list{
	display: inline-block;
}
.chk-container{
	border: solid #000 1px;
	border-radius: 4px;
	background: #FFF;
	position: absolute;
	overflow: scroll;
	display: none;
}
.chk-options div{
	padding: 2px 5px;
}

input[type="submit"]:disabled, input[type="button"]:disabled{
	background: #a9a9a9;
}

table.clear tbody tr{
	background: none;
}
#frmCategories table td{
	vertical-align: top;
}
#frmCategories input[type="text"], #frmCategories textarea{
	box-sizing: border-box;
	width: 100%;
}
form ul{
    list-style-type: none;
    padding-left: 20px;
}
table.bids tbody.cat-b tr{
	background: #ffc6cc;
}
.unread{
    font-weight: bold;
}
.admin-login{
    text-align: center;
    width: 200px;
}

.price_info{
    margin-left: 3px;
    width: 35px;
    text-align: center;
}
.price_info .error{
    color: #ff605a;
}
.price_info .warning{
    color: #ffa100;
}


.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.form-default{
    margin: 1rem 0;
    padding: 0 1rem;
    width: 500px;
}
.form-default .toolbar .group{
    padding: 0;
}
.form-default label, .form-default .info-field{
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
    vertical-align: top;
}
.form-default input[type="text"], .form-default select, .form-default textarea, .form-default .info-value{
    width: 300px;
    float: right;
    box-sizing: border-box;
}

#suspension_note{
	display: none;
}
.red{
	color: #A60000;
}

.cke_editor_editor_dialog table tbody tr:nth-child(n){
    background: transparent;
}

@media (max-width: 639px){
    table.responsive{
        width: 100%;
        border: none;
        margin-left: 0;
        margin-right: 0;
    }
    table.responsive, table.responsive thead, table.responsive tbody, table.responsive th, table.responsive tr, table.responsive td {
        height: auto;
        display: block;
    }
    table.responsive thead{
        display: none;
    }
    table.responsive tr{
        border-bottom: solid black 1px;
        padding: 5px 0;
    }
    table.responsive tr:last-of-type{
        border-bottom: none;
    }
    table.responsive td{
        width: 100%;
        text-align: left;
        border: none;
		box-sizing: border-box;
    }
	table.responsive td[data-th]:before{
        display: inline-block;
        width: 50%;
        height: 100%;
        content: attr(data-th);
        font-weight: bold;
    }
}

table.invoice-items input[type="text"]{
    float: none;
}
table.invoice-items input[name="description[]"]{
    width: 300px;
}
table.invoice-items input[name="net[]"], table.invoice-items input[name="vat[]"], table.invoice-items input[name="gross[]"]{
    text-align: right;
    width: 100px;
}
table.invoice-items tfoot td{
    text-align: right;
}