html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14px;
	vertical-align: baseline;
	box-sizing: border-box;
	position: relative;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, div {
	display: block;
}
html, body {	
	background: #f2f2f2;;
    color: #212121;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	line-height: 1.5;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
table th, table td {
	border: 1px solid #ccc;
    padding: 5px;
}
table td.alignRight {
	text-align: right;
}
table td a {
	display: block;
	text-align: center;
	padding: 3px;
	font-size: 15px;
}
/* Задаем стили для нечетных рядов таблицы */
table tr:nth-child(odd){ 
    background: #f2f2f2;
}
/* Задаем стили для четных рядов таблицы */
table tr:nth-child(even){ 
    background: #fff;
}
b {
	font-weight: 700;
}
table input {
	margin-bottom: 0;
}
/*---------------------------------------------------------------------------------------
Общие настройки */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
input, select {
	display: block;
	height: 30px;
	width: 100%;
    max-width: 300px;
	padding: 5px;
	margin-bottom: 5px;
	box-sizing: border-box;
	line-height: 20px;
}
input[type="submit"], input[type="button"] {
	cursor: pointer;
}
input[type="radio"] {
	display: inline;
	height: 20px;
	width: 30px;
	margin-top: 10px;
}




::-webkit-scrollbar {
    width: 3px;
    height: 10px;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

.clear_block {
	display: block;
	clear: both;
	height: 0;
}

a {
    color: #0645ad;
}
a:hover {
    color: #d00;
}













/*---------------------------------------------------------------------------------------
Форма входа */

#auth {
	width: 96%;
	height: auto;
	background: #fff;
	max-width: 400px;
	margin: 100px auto 0;
	text-align: center;
	padding: 20px 15px 0;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
}
#auth h1 {
	padding: 5px 5px 15px;
	margin-bottom: 20px;
	font-size: 16px;
}
#auth input {
	display: block;
	height: 40px;
	width: 100%;
    max-width: 100%;
	padding: 5px;
	margin-bottom: 15px;
	box-sizing: border-box;
	line-height: 20px;
}
#auth input[type="submit"] {
	cursor: pointer;
}

#auth p {
	padding: 5px 0 10px;
}
#auth p a {
	font-size: 14px;
	float: right;
	color: red;
}


/*---------------------------------------------------------------------------------------*/

section.courier {
	width: 96%;
	height: auto;
	background: #fff;
	max-width: 400px;
	margin: 15px auto 0;
	padding: 20px 15px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
}
section h1 {
    line-height: 30px;
    text-align: center;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}
section.courier table {
	width: 100%;
	margin: 15px 0 30px;
}
section.courier table a {
    font-weight: 700;
    text-decoration: none;
	text-align: left;
}
section.courier a.bt1 {
	display: block;
	width: 100%;
	margin: 7px 0;
	padding: 10px;
	text-align: center;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid;
}
section.courier table tr.st0, table tr.delivered { background: #bcdf94; }
section.courier table tr.st3 { background: #fa8072; }

section.courier table.buttons a.bt1 {
	margin: 0;	
}
section.courier table.buttons tr, section.courier table.buttons td {
	background: none;
	border: none;
    padding: 1px;
}
section.courier table.buttons a.bt1.cancelled {
	background: darkred;
	color: #fff;
}
section.courier table.buttons a.bt1.ok {
	background: green;
	color: #fff;
}
.image-upload input {
	width: 100%;
	max-width: 100%;
}

input.sbbt {
	display: block;
	width: 100%;
    height: 43px;
	margin: 7px 0;
	padding: 10px;
	text-align: center;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid #0645ad;
	color: #0645ad;
	background: #fff;
}