html {
	overflow-y: scroll;
}

body {
    font-family: Arial, sans-serif;
    font-size: 12px;
    background-color: #e2e2e2;
    min-height: 100vh;
}

a {
    color: #c00;
    text-decoration: none;
}

a:hover {
    color: red;
    text-decoration: underline;
}

table {
    border-collapse: collapse;
}
th, td {
    padding: .2ex .7ex;
    border: 1px solid silver;
}

.pager {
	text-align: right;
}

.pager span {
    background-color: gray;
    color: white;
    padding: 0 .5ex;
}

.pager a {
    background-color: #ddd;
    padding: 0 .5ex;
}

.right {
    text-align: right;
}

#body-wrapper {
    width: 1260px;
    margin: 0 auto;
    background: url('/img/bg.png');
    min-height: 100vh;
}

#body {
    width: 1080px;
    margin: 0 90px;
    min-height: 100vh;
    background-color: white;
}

#header {
    height: 120px;
    /*background-color: #222323;*/
    background-color: #545454;
    color: white;
}

#header a.logo {
    display: block;
    float: left;
    width: 256px;
    height: 120px;
    background: url('/img/logo_kast_trans.png') center no-repeat;
}
#header .menu {
    line-height: 120px;
}

#header-menu {
    position: relative;
    height: 70px;
    /*background: url('/img/menu_2.png') center repeat-x;*/
    background-color: #fc1a19;
    /*text-align: center;
    line-height: 70px;
    color: white;*/
}

#search-block {
    position: absolute;
    left: 225px;
    top: 15px;
    height: 40px;
}

#search-form {
    background-color: white;
    height: 100%;
    width: 395px;
}

#search-keyword {
    border: 0;
    margin: 0;
    padding: 0 10px;
    height: 40px;
    font-size: 120%;
    width: 340px;
    outline: none;
}

#search-form input.submit {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 35px;
    height: 30px;
    border: 0;
    background: url('/img/search.png') no-repeat center;
}

#search-block .spinner {
    background: url('/img/spinner.gif') no-repeat;
    width: 24px; height: 24px;
    position: absolute;
    top: 8px;
    right: 45px;
}

#basket-block {
    background-color: #f3f3f3;
    height: 40px;
    position: absolute;
    top: 15px;
    right: 15px;
    margin-right: 260px;
    width: 170px;
}

#basket-block a.summary {
    display: block;
    padding-left: 50px;
    padding-top: 5px;
    line-height: 16px;
    background: url('/img/cart.png') no-repeat 5px 5px;
    font-weight: bold;
    color: black;
}

#basket-block a.summary em {
    display: block;
    height: 30px;
    line-height: 30px;
}

#basket-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 170px;
    z-index: 1;
    background-color: #f3f3f3;
    opacity: 0;
    visibility: hidden;
    height: 40px;
    transition: opacity 100ms 600ms, height 250ms 500ms, visibility 1s 1s;
    overflow: hidden;
}

#basket-block:hover #basket-top {
    opacity: 1;
    visibility: visible;
    transition: opacity 100ms, height 250ms;
    height: 150px;
}

#basket-block:focus-within #basket-top {
    opacity: 1;
    visibility: visible;
    /*transition: all 250ms;*/
    height: 150px;
}

#basket-top .count {
    height: 40px;
    background: url('/img/cart.png') no-repeat 5px 5px;
    line-height: 40px;
    font-weight: bold;
    padding-left: 50px;
}

#basket-top .price {
    margin: 10px;
    line-height: 1.5em;
    font-weight: bold;
}

#basket-top .links {
    margin: 15px 10px 0;
}
#basket-top .links a {
    display: block;
    margin-top: 10px;
    color: #fc1a19;
    font-weight: bold;
}

#user-block {
    background-color: #f3f3f3;
    height: 40px;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 245px;
}

#user-block .summary {
    padding-left: 50px;
    padding-top: 5px;
    font-weight: bold;
    background: url('/img/user.png') no-repeat 5px 5px;
    white-space: nowrap;
    margin-right: 5px;
}

#user-block:hover #login-top {
    opacity: 1;
    visibility: visible;
    transition: all 250ms;
    height: 200px;
}

#user-block:focus-within #login-top {
    opacity: 1;
    visibility: visible;
    transition: all 250ms;
    height: 200px;
}

#user-block .summary.loggedout {
    line-height: 30px;
}

#user-block .summary.loggedin {
    line-height: 16px;
    overflow: hidden;
}

#user-block .summary.loggedin a {
    font-weight: normal;
    color: #fc1a19;
}

#user-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 245px;
    background-color: #f3f3f3;
    z-index: 1;

    opacity: 0;
    visibility: hidden;
    height: 40px;
    transition: opacity 100ms 600ms, height 250ms 500ms, visibility 1s 1s;
    overflow: hidden;
}

#user-block:hover #user-top {
    opacity: 1;
    visibility: visible;
    transition: all 250ms;
    height: 200px;
}

#user-block:focus-within #user-top {
    opacity: 1;
    visibility: visible;
    transition: all 250ms;
    height: 200px;
}

#user-block .address {
    margin: 15px 10px;
    line-height: 1.4em;
}

#user-block .links {
    margin: 15px 10px 0;
}
#user-block .links a {
    display: block;
    margin-top: 10px;
    color: #fc1a19;
    font-weight: bold;
}

#login-top {
    position: absolute;
    top: 0;
    left: 0;

    width: 245px;
    background-color: #f3f3f3;
    z-index: 1;

    /**/opacity: 0;
    visibility: hidden;
    height: 40px;/**/
    /*height: 200px;*/
    transition: opacity 100ms 600ms, height 250ms 500ms, visibility 1s 1s;
    overflow: hidden;
}

#login-top .reg {
    margin: 15px 10px 0;
    text-align: right;
}
#login-top .reg strong {
    float: left;
}
#login-top .reg .hide {
    visibility: hidden;
}

#login-top form {
    margin: 10px;
}

#login-top form label {
    display: block;
    margin-bottom: 5px;
}

#login-top form label input {
    display: block;
    border: 1px solid #fc1a19;
    width: 215px;
    padding: 5px;
}

#login-top form .submit {
    font-weight: bold;
    background-color: #fc1a19;
    border: 0;
    padding: 5px;
    color: white;
}

#producer-block {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 195px;
    height: 40px;
    background-color: white;
    overflow: hidden;
}

#producer-block form select {
    display: block;
    width: 195px;
    height: 40px;
    border: 0;
}

#producer-block form .submit {
    visibility: hidden;
}

#header-pad {
    height: 15px;
    background-color: white;
}

#onas {
    float: right;
    margin: 2em 2em 0 0;
    font-size: 120%;
    text-align: left;
}

#onas .tooltiptext {
  font-weight: bold;
  font-size: 90%;
  box-shadow: 5px 5px 10px -5px;
  line-height: 1.4em;
}
#onas .tooltiptext a {
  color: #fc1a19;
}

#left {
    float: left;
    width: 210px;
    background-color: #f3f3f3;
}

#right {
    float: right;
    width: 210px;
    background-color: #f3f3f3;
}

#middle {
    margin-left: 210px;
    /*margin-right: 210px;*/
    padding: 0 2ex;
}

#middle.fullwidth {
	margin-left: 0;
}

.clear {
    clear: both;
}

.section .header {
    background: url('/img/list_back.png') center repeat-x;
    height: 27px;
    text-align: center;
    font-weight: bold;
    line-height: 27px;
    color: white;
    text-transform: uppercase;
    margin-bottom: 1em;
}

.section .body {
    margin: 0;
    padding: 0 1ex;
}

#middle .section .body {
	padding: 0;
}

#middle .section .body h2 {
	margin-top: 0;
}

#middle .section .header {
    text-align: left;
    padding-left: 3em;
    text-transform: none;
}

#middle .section .header .view {
	float: right;
	margin-right: 4px;
	font-weight: normal;
}

#middle .section .header .view a {
	color: white;
	font-weight: bold;
	margin: 2px;
	padding: 2px 4px
}

#middle .section .header .view a.active {
	background-color: white;
	color: #fc1a19;
	border-radius: 2px;
}

#login-right label {
    display: block;
    height: 2em;
    line-height: 2em;
}
#login-right label span {
    float: left;
    width: 4em;
    font-weight: bold;
}
#login-right label input {
    width: 10em;
}
#login-right input[type=submit] {
    font-weight: bold;
}
#login-right div {
    margin-top: 1ex;
    text-align: center;
}
#basket-right {
    display: block;
    font-weight: bold;
    font-size: 120%;
    padding: 1ex 0;
}
#basket-right span {
    display: block;
    margin: 1ex 0;
    text-align: center;
}

.card {
    width:  278px;
    height: 180px;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: #fff;
    position: relative;
}

.card.third {
	margin: 0;
}

.card .body {
	margin-top: 1em;
}

.card .title {
    background-color: #c8c8c8;
    font-weight: bold;
    padding: 1ex;
    display: block;
    color: black;
    height: 3.5em;
    overflow: hidden;
}

.card .img {
    float: left;
    display: block;
    color: black;
    margin-left: 5px;
    width: 95px;
}

.card .img .wrap {
    display: block;
    width: 95px;
    height: 95px;
    overflow: hidden;
    text-align: center;
}

.card .img .wrap img {
	max-width: 95px;
}

.card .img .code {
    display: block;
    text-align: center;
    font-size: 90%;
    margin-top: .5ex;
}

.card .body .price {
    font-weight: bold;
    font-size: 110%;
    text-align: right;
    margin-right: 3px;
}

.card .body .price span {
	color: #fc1a19;
	font-size: 110%;
}

.card .body form {
	display: inline-block;
    border: 1px solid #888;
    background-color: white;
    float: right;
    position: absolute;
    right: 3px;
    bottom: 1.7em;
    height: 26px;
}

.card .body form input,
.card .body form button {
	padding: 0 4px;
	margin: 0;
	height: 26px;
	border: 0;
	vertical-align: middle;
	background-color: transparent;
}

.card .body form button img {
	vertical-align: middle;
	margin-right: 3px;
}

.card .body form .quantity {
	text-align: right;
}

.card .body form .unit {
	background-color: #f3f3f3;
	width: 1.8em;
}

.card .body .av {
    text-align: center;
    margin-top: 1em;
    font-style: italic;
    position: absolute;
    right: 4px;
    bottom: 3px;
    color: #444;
}

.catalog-table {
	width: 100%;
}

.catalog-table td, .catalog-table th {
	border: 0;
	white-space: nowrap;
}

.catalog-table td.name {
	white-space: normal;
}

.catalog-table form {
    border: 1px solid #888;
    background-color: white;
    height: 26px;
    white-space: nowrap;
    text-align: right;
}

.catalog-table form input,
.catalog-table form button {
	padding: 0 4px;
	margin: 0;
	height: 26px;
	border: 0;
	vertical-align: middle;
	background-color: transparent;
}

.catalog-table form button img {
	vertical-align: middle;
}

.catalog-table form .quantity {
	text-align: right;
}

.catalog-table form .unit {
	background-color: #f3f3f3;
	width: 1.8em;
}

.catalog-table a {
	font-weight: bold;
	color: black;
}

.catalog-table tbody:nth-child(even) td {
	background-color: #f8f8f8;
}

.catalog-table tbody:hover td {
	background-color: #f0f0f0;
}

.catalog-table .av {
	font-style: italic;
	color: #444;
}

.catalog-table .price {
	font-weight: bold;
	color: #fc1a19;
}

.catalog-table .price a {
    display: block;
    height: 25px;
    line-height: 25px;
    text-align: center;
    background-color: #e7e7e7;
    color: #444;
    border: 1px solid #888;
    transition: all 200ms;
}

.catalog-table .price a:hover {
    color: #fc1a19;
    text-decoration: none;
    border-color: #fc1a19;
}

.card .body .price a {
	display: inline-block;
    border: 1px solid #888;
    background-color: #e7e7e7;
    position: absolute;
    right: 3px;
    bottom: 1.7em;
    height: 26px;
    line-height: 26px;
    color: #444;
    padding: 0 1ex;
    transition: all 200ms;
}

.card .body .price a:hover {
    color: #fc1a19;
    text-decoration: none;
    border-color: #fc1a19;
}

.section .path	 {
	margin-top: 0;
	padding-top: 1ex;
}

.section .path span {
	display: inline-block;
	width: 7px;
	height: 12px;
	padding: 0 3px;
	background: url('/img/arrow.png') no-repeat 50%;
	color: transparent;
}

.nowrap {
    white-space: nowrap;
}

#signup {
    padding-bottom: 2em;
}

/*#signup label {
    display: block;
    margin-bottom: 1ex;
}

#signup label.sep {
    margin-bottom: 2em;
}

#signup label span {
    float: left;
    width: 8em;
    text-align: right;
    padding-right: 1ex;
    line-height: 1.6em;
}*/

#signup table td,
#signup table th {
	border: 0;
    height: 25px;
}

#signup table th {
	text-align: right;
    line-height: 25px;
    vertical-align: top;
}

#signup table tr.required th:after {
    content: '•';
    color: #fc1a19;
    margin-left: 1ex;
}

#signup table td .error {
    display: block;
    color: #fc1a19;
    font-weight: bold;
    font-size: 90%;
    margin-top: 2px;
    margin-bottom: 8px;
}

#signup table input {
    height: 20px;
}

#signup table input[type=submit] {
    font-weight: bold;
    width: 100%;
    height: 25px;
    margin-top: 15px;
}

#signup table input.separate {
    margin-bottom: 25px;
}

#signup-req form div {
    height: 30px;
}

#signup-req label {
    float: left;
    width: 7em;
    font-weight: bold;
}

#signup-req input[type=submit] {
    margin-left: 7em;
    font-weight: bold;
    padding: 1ex;
}

#signup-req .error {
    color: #fc1a19;
    background-color: #fdd;
    padding: 1ex;
}

#signup-confirm p.name {
    font-weight: bold;
    font-size: 130%;
    background-color: #e2e2e2;
    padding: 1em;
    text-align: center;
}

#signup-confirm p.msg {
    width: 80%;
    margin: 2em auto;
    font-size: 120%;
    line-height: 1.6em;
}

/* ================ */

p.empty {
	text-align: center;
	font-style: italic;
	height: 100px;
	line-height: 100px;
	color: #888;
}

#detail .img {
	float: left;
	width: 45%;
}
#detail .img img {
	max-width: 300px;
}

#detail .specs {
	width: 54%;
    float: right;
}
#detail .specs td {
	border: 0;
	padding: 6px 2px;
}
#detail .specs tr td:first-child {
	font-weight: bold;
}
#detail .specs .price {
	font-weight: bold;
	color: #fc1a19;
	font-size: 110%;
}

#detail .specs .price .strike {
    color: #888;
    text-decoration: line-through;
    margin-right: 1em;
    font-size: 90%;
    font-weight: normal;
}

#detail .specs .sale {
	font-weight: bold;
	color: #fc1a19;
	font-size: 110%;
}

#detail .basket {
	margin-top: 30px;
}

#detail .basket form {
	display: inline-block;
    border: 1px solid #888;
    background-color: white;
    height: 26px;
    white-space: nowrap;
}

#detail .basket form input,
#detail .basket form button {
	padding: 0 4px;
	margin: 0;
	height: 26px;
	border: 0;
	vertical-align: middle;
	background-color: transparent;
}

#detail .basket form button img {
	vertical-align: middle;
}

#detail .basket form .quantity {
	text-align: right;
}

#detail .basket form .unit {
	background-color: #f3f3f3;
	width: 1.8em;
}

#detail p.desc {
    float: left;
	clear: both;
	/*margin-top: 5em;*/
}

#detail .basket a {
    display: inline-block;
    height: 25px;
    line-height: 25px;
    text-align: center;
    background-color: #e7e7e7;
    color: #444;
    border: 1px solid #888;
    font-weight: bold;
    padding: 0 1ex;
    transition: all 200ms;
}

#detail .basket a:hover {
    color: #fc1a19;
    text-decoration: none;
    border-color: #fc1a19;
}

/* ===================== BASKET ============================================ */
#basket table {
	width: 100%;
}
#basket td, #basket th {
	border: 0;
	white-space: nowrap;
	padding: 18px 5px;
}
#basket th {
	background-color: #e2e2e2;
	border-bottom: 2px solid #c7c7c7;
	border-right: 1px solid #eee;
	padding: 10px 5px;
}
#basket th:last-child {
	border-right: 0;
}

#basket td {
	border-bottom: 1px solid #c7c7c7;
}

#basket .name {
	white-space: normal;
	font-weight: bold;
	position: relative;
}
#basket .name .av {
	font-weight: normal;
	font-style: italic;
	font-size: 90%;
	position: absolute;
	bottom: 2px;
	left: 5px;
	color: #444;
}

#basket td.quantity {
	padding-right: 0;
}
#basket td.unit {
	padding-left: 0;
}

#basket table tbody:nth-child(odd) td {
	background-color: #f8f8f8;
}

#basket table input {
	text-align: right;
}

#basket table a.remove {
	color: transparent;
	background: url('/img/delete.png') center no-repeat;
	display: block;
	width: 16px;
	height: 16px;
}

#basket table tr.av td {
	font-style: italic;
	vertical-align: top;
	padding-bottom: 1em;
	color: #444;
}

#basket td.total {
	font-weight: bold;
	background-color: #f0f0f0;
}
#basket table tbody:nth-child(odd) td.total {
	background-color: #f0f0f0;
}

#basket tbody.packfail td {
	background-color: #fcc;
	border-bottom: 0;
}
#basket tbody.packfail tr.fail td {
	padding: 2px 5px 5px;
	color: #d00;
	text-align: right;
}
#basket tbody.packfail tr.fail td a {
	color: #a00;
	font-weight: bold;
	text-decoration: underline;
}

#basket tbody.postage td {
	background-color: #e2e2e2;
	color: #444;
}
#basket tbody.total td {
	border-top: 2px solid #c7c7c7;
	background-color: white;
	font-weight: bold;
	font-size: 120%;
}
#basket tbody.total tr.tiny td {
	font-size: 100%;
	padding: 5px 5px;
	font-weight: normal;
	border-width: 1px;
	background-color: white;
	color: #444;
}

#basket tbody.total td.total,
#basket tbody.total tr.tiny td.total {
	background-color: #f0f0f0;
}

/* ======= BUTTONS ========================================================= */
#buttons {
	margin-top: 40px;
	height: 30px;
	display: table;
	width: 100%;
	background-color: #c7c7c7;
}
#buttons div {
	display: table-cell;
	width: 33.33%;
}
#buttons div.back {
	text-align: left;
}
#buttons div.next {
	text-align: right;
}
#buttons div.middle {
	text-align: center;
}

#buttons a,
#buttons input,
#buttons button {
	display: inline-block;
	padding: 0 10px;;
	margin: 0;
	height: 30px;
	border: 0;
	background-color: #666;
	font-weight: bold;
	font-size: 110%;
	color: white;
	line-height: 30px;
	cursor: pointer;
	transition: background-color 250ms;
}

#buttons a:hover,
#buttons input:hover {
	background-color: #444;
}

#buttons .back a {
	background: url('/img/arrow_button_left.png') left no-repeat;
	background-color: #444;
	padding-left: 25px;
}
#buttons .back a:hover {
	background-color: #fc1a19;
	text-decoration: none;
}

#buttons .next input {
	background: url('/img/arrow_button_right.png') right no-repeat;
	background-color: #fc1a19;
	padding-right: 25px;
}
#buttons .next input:hover {
	background-color: #a00;
	text-decoration: none;
}
#buttons .next button {
	background: url('/img/arrow_button_right.png') right no-repeat;
	background-color: #888;
	padding-right: 25px;
	cursor: not-allowed;
}

#buttons .middle input:first-child {
	margin-right: 50px;
}



/* ------------------------------------------------------------------------- */


/* ================ DELIVERY =============================================== */
#delivery .number {
	margin-bottom: 2em;
	background-color: #e2e2e2;
	padding: 1ex;
	font-weight: bold;
}
#delivery .number input {
	padding: 1ex;
	font-size: 110%;
	background-color: white;
	border: 1px solid #ccc;
}
#delivery .number span {
	font-weight: normal;
	margin-left: 1ex;
	color: #888;
}

#delivery .blocks div.left,
#delivery .blocks div.right {
	width: 49%;
	background-color: #f8f8f8;
	line-height: 1.5em;
	min-height: 250px;
}
#delivery .blocks strong.title {
	display: block;
	background-color: #c8c8c8;
	padding: 1.5ex;
	margin-bottom: 1em;
}
#delivery .blocks .left {
	float: left;
}
#delivery .blocks .right {
	float: right;
	text-align: left;
}
#delivery .blocks .cont {
	padding: 0 1em;
}


#delivery .address {
	height: 200px;
	overflow: auto;
}
#delivery .address label input {
	vertical-align: middle;
}
#delivery a.add {
	display: inline-block;
	margin-top: 1em;
	padding: 2px 6px;
	background-color: #444;
	color: white;
	font-weight: bold;
	transition: background-color 250ms;
}
#delivery a.add:hover {
	background-color: #fc1a19;
	text-decoration: none;
}

#delivery #address-form label {
	display: block;
	margin: 1ex;
}

#delivery #address-form label span {
	float: left;
	width: 6em;
}

#delivery #address-form div {
	margin-left: 6.5em;
	margin-top: 1em;
	height: 25px;
	line-height: 25px;
}
#delivery #address-form div input {
	font-weight: bold;
	height: 25px;
	background-color: #444;
	color: white;
	border: 0;
	padding: 0 1em;
}
#delivery #address-form div a {
	margin-left: 1em;
	color: #888;
}
#delivery #address-form label.required span:after {
	content: '•';
	color: #fc1a19;
	float: right;
	margin-right: 1ex;
}

#delivery #address-form .error {
	float: right;
	color: #fc1a19;
	margin-top: 0;
	background-color: #fdd;
	padding: 1ex;
	padding-left: 2em;
	font-weight: bold;
	border: 1px solid #fc1a19;
}
#delivery a.reset {
	color: #fc1a19;
	display: inline-block;
	margin-top: 1em;
}

/* ======= SPLIT =========================================================== */
#split p {
	line-height: 2em;
}
#split p.head {
	font-weight: bold;
	font-size: 120%;
}
#split label {
	display: block;
	min-height: 30px;
	line-height: 30px;
	margin-bottom: 2px;
	background-color: #e2e2e2;
}
#split label:hover {
	background-color: #c8c8c8;
}
#split label span {
	display: block;
	float: left;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 35px;
	background-color: #c8c8c8;
	margin-right: 1em;
}
#split label:hover span {
	background-color: #aaa;
}
#split table {
	margin: 10px;
	margin-left: 40px;
	line-height: 1.4em;
}
#split table .head {
	border: 0;
	padding-top: 1ex;
	font-weight: bold;
}

/* ==================== FINISH ============================================= */
#finish .mojecislo {
	margin-bottom: 2em;
	background-color: #e2e2e2;
	padding: 1ex;
	font-weight: bold;
}
#finish .mojecislo strong {
	padding: 1ex;
	font-size: 110%;
}

#finish .blocks div.left,
#finish .blocks div.right {
	width: 49%;
	background-color: #f8f8f8;
	line-height: 1.5em;
	min-height: 160px;
}
#finish .blocks strong.title {
	display: block;
	background-color: #c8c8c8;
	padding: 1.5ex;
	margin-bottom: 1em;
}
#finish .blocks .left {
	float: left;
}
#finish .blocks .right {
	float: right;
	text-align: left;
}
#finish .blocks .cont {
	padding: 0 1em;
}
#finish a.reset {
	display: inline-block;
	margin-top: 1em;
	font-weight: bold;
}

#finish table {
	width: 100%;
}
#finish td, #finish th {
	border: 0;
	white-space: nowrap;
	padding: 18px 5px;
}
#finish th {
	background-color: #e2e2e2;
	border-bottom: 2px solid #c7c7c7;
	border-right: 1px solid #eee;
	padding: 10px 5px;
}
#finish th:last-child {
	border-right: 0;
}

#finish td {
	border-bottom: 1px solid #c7c7c7;
}

#finish .name {
	white-space: normal;
	font-weight: bold;
	position: relative;
}
#finish .name .av {
	font-weight: normal;
	font-style: italic;
	font-size: 90%;
	position: absolute;
	bottom: 2px;
	left: 5px;
	color: #444;
}

#finish td.quantity {
	padding-right: 1ex;
}
#finish td.unit {
	padding-left: 0;
}

#finish table tbody:nth-child(odd) td {
	background-color: #f8f8f8;
}

#finish table input {
	text-align: right;
}

#finish table a.remove {
	color: transparent;
	background: url('/img/delete.png') center no-repeat;
	display: block;
	width: 16px;
	height: 16px;
}

#finish table tr.av td {
	font-style: italic;
	vertical-align: top;
	padding-bottom: 1em;
	color: #444;
}

#finish td.total {
	font-weight: bold;
	background-color: #f0f0f0;
}
#finish table tbody:nth-child(odd) td.total {
	background-color: #f0f0f0;
}

#finish tbody.packfail td {
	background-color: #fcc;
	border-bottom: 0;
}
#finish tbody.packfail tr.fail td {
	padding: 2px 5px 5px;
	color: #d00;
	text-align: right;
}
#finish tbody.packfail tr.fail td a {
	color: #a00;
	font-weight: bold;
	text-decoration: underline;
}

#finish tbody.postage td {
	background-color: #e2e2e2;
	color: #444;
}
#finish tbody.total td {
	border-top: 2px solid #c7c7c7;
	background-color: white;
	font-weight: bold;
	font-size: 120%;
}
#finish tbody.total tr.tiny td {
	font-size: 100%;
	padding: 5px 5px;
	font-weight: normal;
	border-width: 1px;
	background-color: white;
	color: #444;
}

#finish tbody.total td.total,
#finish tbody.total tr.tiny td.total {
	background-color: #f0f0f0;
}

#finish #buttons {
	position: relative;
}

#finish #buttons a.send {
	background-color: #fc1a19;
	position: absolute;
	right: 0;
	height: 50px;
	line-height: 50px;
	top: -10px;
	padding: 0 20px;
	font-size: 130%;
}

#finish #buttons a:hover.send {
	background-color: #a00;
	text-decoration: none;
}

/*#finish div>div {
	line-height: 1.5em;
}

/*#finish td, #finish th {
	border: 0;
	white-space: nowrap;
	padding: 5px 4px;
}

#finish .name {
	white-space: normal;
	font-weight: bold;
}

/*#finish table tbody:nth-child(even) td {
	background-color: #f8f8f8;
}

#finish table input {
	text-align: right;
}

#finish table a.remove {
	color: #fc1a19;
	font-weight: bold;
}

#finish table tr.av td {
	font-style: italic;
	vertical-align: top;
	padding-bottom: 1em;
	color: #444;
}

#finish table tr.total td {
	font-weight: bold;
	padding-top: 1em;
	padding-bottom: 1em;
}*/

/* ===== STEPS ============================================================= */
#steps {
	display: table;
	width: 100%;
	margin-bottom: 2em;
}

#steps div {
	display: table-cell;
	width: 33.33%;
	height: 40px;
}
#steps.steps-4 div {
	width: 25%;
}

#steps a,
#steps span {
	display: block;
	height: 40px;
	padding-left: 20px;
	line-height: 40px;
	font-weight: bold;
	font-size: 130%;
	color: #fff;
	margin-right: 2px;
	background: url('/img/arrow_order.png') right no-repeat;
	background-color: #aaa;
}

#steps a {
	background-color: #444;
	transition: background-color 250ms;
}

#steps a.active {
	background-color: #fc1a19;
}

#steps a:hover {
	text-decoration: none;
	background-color: #222;
}
#steps a.active:hover {
	background-color: #a00;
}


/*#steps a, #steps span {
	display: table-cell;
	text-align: center;
	background-color: #aaa;
	font-weight: bold;
	font-size: 110%;
	color: white;
	height: 55px;
	line-height: 55px;
}

#steps a {
	background-color: #444;
}

#steps a.active {
	background-color: #fc1a19;
	color: white;
}

#steps a span,
#steps span>span
{
	float: left;
	width: 3em;
}

#steps span.sep {
	background: url('/img/arrow_basket.png') center no-repeat;
	color: transparent;
	background-color: #fc1a19;
	width: 30px;
}*/

.buttons input {
	padding: 2px 7px;
	font-size: 110%;
	font-weight: bold;
}

#banner {
	position: relative;
	margin-bottom: 1em;
}

#banner button {
	outline: none;
}

#banner .carousel {
	height: 300px;
	overflow: hidden;
}
#banner.small .carousel {
	height: 100px;
}

#banner .carousel img {
	width: 846px;
	height: 300px;
}

#banner.small .carousel img {
	height: 100px;
}

#banner .dots {
	position: absolute;
	bottom: -30px;
	right: 0;
}
#banner .dots li {
	display: inline-block;
	list-style: none;
	margin: 0; padding: 0;
}

#banner .dots li button {
	background-color: transparent;
	color: transparent;
	border: 0;
	font-size: 0;
	line-height: 0;
	width: 10px;
	height: 10px;
	margin: 0; padding: 0;
	margin-left: 10px;
	cursor: pointer;
	background: url('/img/sq1.png') no-repeat;
}
#banner .dots li.slick-active button {
	background-image: url('/img/sq2.png');
}

#banner.small .dots {
	display: none;
}

#banner .next {
	position: absolute;
	bottom: 0;
	right: 0;
}

#banner .next button {
	color: transparent;
	border: 0;
	background-color: transparent;
	width: 20px;
	height: 20px;
	background: url('/img/next_small.png') no-repeat;
}

#filter {
	background: url('/img/i.png') 7px 7px no-repeat;
	background-color: #444;
	color: white;
	height: 30px;
	line-height: 30px;
	padding-left: 2.5em;
	font-weight: bold;
}
#filter strong {
	font-weight: bold;
	color: #c7c7c7;
}
#filter a {
	float: right;
	margin-right: 5px;
	color: #fc1a19;
	background-color: #f3f3f3;
	line-height: normal;
	padding: 2px 5px;
	margin-top: 6px;
}
#filter a:hover {
	background-color: #fc1a19;
	color: #f3f3f3;
	text-decoration: none;
}

/* --- PERSONAL --- */

#personal-detail .body {
	line-height: 1.4em;
}

#personal-detail .username {
	font-size: 120%;
	background-color: #e2e2e2;
	padding: 1ex;
}

#personal-detail h3 {
	border-bottom: 1px solid #e2e2e2;
	margin-top: 1.5em;
}

/* --- ORDER list --- */

#personal-orders table {
	width: 100%;
}
#personal-orders td,
#personal-orders th {
	border: 0;
	white-space: nowrap;
	padding: 5px;
}
#personal-orders th {
	background-color: #e2e2e2;
	border-bottom: 2px solid #c7c7c7;
	border-right: 1px solid #eee;
	padding: 10px 5px;
}
#personal-orders th:last-child {
	border-right: 0;
}

#personal-orders td {
	border-bottom: 1px solid #c7c7c7;
}

#personal-orders table tr:nth-child(odd) td {
	background-color: #f8f8f8;
}

#personal-orders table tr:hover td {
	background-color: #e2e2e2;
}

#personal-orders td.delivery {
	white-space: normal;
	font-size: 90%;
}

#personal-orders a {
	font-weight: bold;
}

/* --- ORDER detail --- */

#personal-order table {
	width: 100%;
}
#personal-order td, #personal-order th {
	border: 0;
	white-space: nowrap;
	padding: 5px;
}
#personal-order th {
	background-color: #e2e2e2;
	border-bottom: 2px solid #c7c7c7;
	border-right: 1px solid #eee;
	padding: 10px 5px;
}
#personal-order th:last-child {
	border-right: 0;
}

#personal-order td {
	border-bottom: 1px solid #c7c7c7;
}

#personal-order .name {
	white-space: normal;
	font-weight: bold;
	position: relative;
}
#personal-order .name .av {
	font-weight: normal;
	font-style: italic;
	font-size: 90%;
	position: absolute;
	bottom: 2px;
	left: 5px;
	color: #444;
}

#personal-order td.quantity {
	padding-right: 0;
}
#personal-order td.unit {
	padding-left: 0;
}

#personal-order table tbody:nth-child(odd) td {
	background-color: #f8f8f8;
}

#personal-order td.total {
	font-weight: bold;
	background-color: #f0f0f0;
}
#personal-order table tbody:nth-child(odd) td.total {
	background-color: #f0f0f0;
}

#personal-order tbody.postage td {
	background-color: #e2e2e2;
	color: #444;
}
#personal-order tbody.total td {
	border-top: 2px solid #c7c7c7;
	background-color: white;
	font-weight: bold;
	font-size: 120%;
}
#personal-order tbody.total tr.tiny td {
	font-size: 100%;
	padding: 5px 5px;
	font-weight: normal;
	border-width: 1px;
	background-color: white;
	color: #444;
}

#personal-order tbody.total td.total,
#personal-order tbody.total tr.tiny td.total {
	background-color: #f0f0f0;
}

#personal-order .box .box-left {
	float: left;
	width: 50%;
}
#personal-order .box .box-right {
	float: right;
	width: 50%;
}

#personal-order .box .cont {
	margin: 1em 2em;
}

#personal-order .box .box-left .cont {
	border-right: 1px solid #c7c7c7;
}

#personal-order p.dt {
	background-color: #e2e2e2;
	padding: 1em;
}

#order-confirm p.yup {
    font-size: 120%;
    font-weight: bold;
	background-color: #e2e2e2;
	padding: 1em;
}

/* --- login --- */
#login form {
    font-size: 120%;
    margin-top: 20px;
    margin-left: 20px;
}
#login form div {
    height: 30px;
    line-height: 30px;
}
#login form label {
    display: block;
    float: left;
    width: 50px;
    font-weight: bold;
}
#login form input {
    height: 22px;
}
#login form input[type=submit] {
    margin-left: 50px;
    margin-top: 10px;
    font-weight: bold;
    height: 30px;
}

#login p {
    color: #fc1a19;
    font-weight: 120%;
    margin-top: 20px;
    margin-left: 40px;
}

#login form a {
    margin-left: 1em;
    font-size: 90%;
}

#login p a {
    font-weight: bold;
    font-size: 120%;
    margin-top: 1em;
    display: inline-block;
}

/* =============================================================================================================== */
/* =============================================================================================================== */

#menu {
    margin-left: -1em;
}

#menu a {
    color: black;
    font-weight: bold;
    font-size: 110%;
    line-height: 1.4em;
    display: block;
}

#menu a .count {
	float: right;
	font-size: 80%;
	background-color: #fc1a19;
	color: white;
	line-height: 1.4em;
	padding: 0 2px;
}

#menu ul {
    padding-left: 1.5em;
    list-style: none;
}

#menu li>ul {
    display: none;
    padding: 0;
}

#menu li>ul>li {
	padding-left: 30px;
	background: url('/img/menu_arrow.png') 15px center no-repeat;
}

#menu li.active>ul {
    display: block;
}
#menu li.active>a {
    color: red;
    text-decoration: underline;
}

#menu li>ul>li.active {
	background: url('/img/menu_arrow_active.png') 15px center no-repeat;
}

#margin {
    margin-left: 15em;
}

/* === tooltip === */
/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    margin-left: 5em;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    margin-top: -1ex;
    width: 210px;
    background-color: white;
    border: 3px solid #fc1a19;
    color: black;
    padding: 5px;
    top: 100%;
    left: 50%;
    margin-left: -165px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: opacity 250ms 500ms, margin-top 250ms 500ms, visibility 500ms;
}

.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    bottom: 100%;
    left: 75%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #fc1a19 transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    margin-top: 1ex;
    transition: opacity 250ms, margin-top 250ms;
}

.ui-autocomplete {
	background-color: #f3f3f3;
	border: 2px solid #fc1a19;
	border-top: 1px dotted #fc1a19;
	min-width: 394px !important;
	max-width: 581px !important;
}

.ui-autocomplete li.ac-card {
	padding: 0;
	margin: 0;
}

.ui-autocomplete li .ui-menu-item-wrapper {
	padding: 4px 8px;
	line-height: 1.2em;
	border-bottom: 1px dotted #aaa;
}

.ui-autocomplete li.ac-card .ac-code {
	font-size: 85%;
	color: #fc1a19;
}

.ui-autocomplete li.ac-card .ac-menu {
	font-size: 85%;
	color: #898787;
	font-style: italic;
}

.ui-autocomplete li.ac-card .ac-name {
	display: block;
	color: #444343;
	margin-top: 2px;
}

.ui-autocomplete li.ac-card .ac-more {
	display: block;
	color: #444343;
	margin-top: 2px;
	font-style: italic;
}

.ui-autocomplete .ui-state-active {
	margin: 0 !important;
	background-color: #fff;
}

.ui-autocomplete .mark {
	color: #fc1a19;
	padding: 2px 0;
}

.ui-autocomplete .ui-state-active .mark {
	color: #f66;
}

#footer {
	font-size: 8.5pt;
	color: #444;
	padding: 1em;
	background-color: #e2e2e2;
	border-top: 1px solid #c8c8c8;
	border-bottom: 1px solid #c8c8c8;
	margin-top: 4em;
	margin-bottom: -1px;
}

#message {
	border: 1px solid #c8c8c8;
    background-color: #e2e2e2;
    margin: 0 1em 1em;
    padding: 2em 5em;
    font-weight: bold;
    font-size: 150%;
    line-height: 1.5em;
}