body {
  position: relative;
  margin: 0;
  background-color: #cbcbcb;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif;
}

a {
  color: inherit;
}

header {
  margin: 0;
  background-color: #000000;
  color: #ffffff;
}

footer {
  margin: 0;
  font-size: 14px;
  background-color: #000000;
  padding: 20px 0;
  color: #8c8c8c;
}

footer .col {
  vertical-align: top;
  margin-right: 60px;
}

footer .col:last-of-type {
  margin-right: 0;
}

footer p {
  line-height: 22px;
}

header .container,
.hero .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

header .container {
  align-items: flex-end;
}

.bar {
  background-color: #efefef;
  color: #000000;
  font-size: 18px;
  padding: 4px 0 6px 0;
  box-shadow: 2px 2px 10px 3px rgba(0, 0, 0, 0.2);
}

.bar img {
  margin-bottom: -6px;
}

.bar__item {
  display: inline-block;
}

.start__search {
  margin-top: 28px;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.7);
}

.search__bar {
  display: inline-block;
  margin: 3px 0;
  width: 320px;
  background-color: #ffffff;
  font-size: 16px;
  color: #474747;
  border: 1px solid #474747;
  border-radius: 4px;
  padding: 3px 8px;
}

.start__search .search__bar {
  margin: 8px 0;
  width: 240px;
}

.search__button {
  display: inline-block;
  margin: 3px 4px;
  width: auto;
  background-color: #ffa83f;
  font-size: 16px;
  color: #000000;
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  cursor: pointer;
  transition: 0.2s;
}

.start__search .search__button {
  margin: 4px 0 8px 0;
}

.search__button:hover {
  background-color: #ff910c;
}

.bar__item a {
  text-decoration: none;
}

.bar__item:last-child {
  position: absolute;
  right: 0;
  bottom: 2px;
}

.cart__counter {
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  background-color: #ffa83f;
}

section {
  background-color: #cbcbcb;
  min-height: 500px;
}

nav {
  width: 100%;
  margin: -16px auto 0 auto;
  background: linear-gradient(#000000, #2d2d2d);
  color: #ffffff;
  padding: 10px 0;
}

.fixed {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1;
}

.spacer {
  display: block;
  background-color: #000000;
  width: 100%;
}

.nav__link {
  display: inline-block;
  margin-right: 20px;
  line-height: 2.0;
  font-size: 14px;
}

.nav__link a {
  text-decoration: none;
  transition: 0.2s;
}

.nav__link a:hover {
  color: #cccccc;
}

.nav__link__current,
.nav__link__current a:hover {
  color: #ffa83f;
}

h3 {
  font-size: 24px;
  font-weight: normal;
}

.logo {
  margin: 20px 0;
}

.logo h1 {
  color: #ff8c00;
}

h1 a {
  text-decoration: none;
}

.wrapper {
  margin: 0;
}

.header__group {
  display: inline-block;
  font-size: 14px;
  margin: 22px 0;
  padding: 0 16px;
  border-right: 1px dotted #8c8c8c;
}

.header__group:last-child {
  padding-right: 0;
  border-right: none;
}

.header__group__line {
  color: #8c8c8c;
  display: block;
}

.header__group__line:first-child {
  margin-bottom: 6px;
}

.header__group a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.2s;
}

.header__group a#my_orders {
  margin-right: 20px;
}

.header__group a:hover {
  color: #cccccc;
}

h1 {
  display: inline-block;
  margin: 0;
  padding: 0;
  font-size: 40px;
}

.container {
  position: relative;
  margin: auto;
  width: 960px;
}

.row {
  width: 300px;
}

.hero {
  width: 100%;
  margin: 0;
  min-height: 60vh;
  padding: 20px 0 40px 0;
  background: url('../img/banner.jpg');
  background-size: cover;
  background-position: center center;
  text-align: left;
  vertical-align: top;
  color: #ffffff;
}

.row {
  display: inline-block;
}

.row__menu {
  display: block;
  width: 500px;
  margin: 28px 0 0 -20px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  box-shadow: 5px 5px 20px 10px rgba(0, 0, 0, 0.2);
}

.col {
  display: inline-block;
}

.col__menu {
  display: inline-block;
  vertical-align: top;
  margin-right: 80px;
  padding-left: 20px;
}

.col__menu:last-of-type {
  margin-right: 0;
  padding-left: 0;
}

.menu__item {
  display: block;
  font-size: 18px;
  margin: 12px 0;
  padding: 0 16px 10px 16px;
  border-bottom: 1px dotted #ff8c00;
}

.menu__item:last-child {
  border-bottom: none;
}

.menu__item a {
  color: #ff8c00;
  text-decoration: none;
  transition: 0.2s;
  text-shadow: 1px 1px 5px #000000;
}

.menu__item__page a {
  color: #c0c0c0;
}

.menu__item a:hover {
  color: #ffffff;
}

.hero h2 {
  font-size: 42px;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.3);
}

.box {
  display: none;
  position: fixed;
  z-index: 12;
  padding: 25px;
  width: 300px;
  text-align: center;
  background-color: #cfcfcf;
  box-shadow: 5px 5px 20px 10px rgba(0, 0, 0, 0.2);
}

.form__title {
  font-size: 18px;
  padding-bottom: 8px;
  color: #3e3e3e;
}

.form__link {
  color: #000000;
}

.form__error {
  padding-top: 8px;
}

.form__link:hover {
  color: #333333;
}

.form__wrapper > * {
  width: 90%;
  margin-top: 12px;
  font-size: 16px;
}

input, textarea {
  font-family: inherit;
  box-sizing: content-box;
  padding: 10px 12px 10px 12px;
  border: none;
}

input:focus,
textarea:focus {
  outline: none;
}

input:disabled,
textarea:disabled {
  color: #b5b5b5;
}

button {
  display: inline-block;
  margin-top: 22px;
  width: 200px;
  text-align: center;
  padding: 16px 0;
  border: none;
  cursor: pointer;
  background-color: #ff8c00;
  color: #ffffff;
  border-radius: 6px;
  transition: 0.2s;
}

button:hover {
  background-color: #ffa83f;
}

button:active {
  background-color: #ee8200;
}

.items__wrapper {
  display: block;
  padding: 20px 0 40px 0;
}

.items__title__wrapper {
  position: relative;
  display: block;
  padding: 40px 0 20px 0;
}

.items__title {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-block;
  font-size: 24px;
}

.items__actions {
  display: none;
  font-size: 16px;
  margin-bottom: 24px;
}

.items__count {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 16px;
}

.item {
  position: relative;
  display: block;
  margin-bottom: 10px;
  padding: 16px;
  background-color: #ffffff;
  color: #666666;
}

.item__picture {
  cursor: pointer;
  margin-bottom: -4px;
}

.item__result {
  height: 32px;
  /* background-color: #ffa83f; */
  background-color: #dfdfdf;
}

.item__name {
  display: inline-block;
  width: 680px;
  font-size: 20px;
  margin-right: 20px;
}

.item__icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
}

.spikes {
  background-image: url("../img/spikes.png");
}

.winter {
  background-image: url("../img/winter.png");
}

.summer {
  background-image: url("../img/summer.png");
}

.item__detailed > .item__name {
  width: 510px;
  margin-left: 20px;
}

.cart__item > .item__name {
  width: 500px;
}

.cart__item > .item__price {
  position: absolute;
  right: 350px;
  bottom: 16px;
  text-align: right;
}

.cart__item > .item__sum {
  position: absolute;
  right: 130px;
  bottom: 16px;
  text-align: right;
}

.cart__item > .item__price > .item__tip {
  text-align: right;
}

.cart__item > .item__sum > .item__tip {
  text-align: right;
}

.cart__item > .item__quantity {
  position: absolute;
  right: 260px;
  bottom: 16px;
  text-align: center;
}

.quantity {
  border-radius: 4px;
  transition: 0.2s;
  background-color: #cfcfcf;
}

.quantity:hover {
  cursor: pointer;
  background-color: #dedede;
}

.cart__item > .item__quantity > .item__tip {
  text-align: right;
}

.cart__button__wrapper {
  display: block;
  text-align: right;
}

.cart__button {
  display: inline-block;
  margin-top: 20px;
  background-color: #ffa83f;
  color: #000000;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
}

.item__code {
  font-size: 14px;
  padding-top: 8px;
}

.item__specs {
  font-size: 14px;
  padding-top: 2px;
}

.item__specs__tires {
  font-size: 20px;
  padding-top: 2px;
}

.item__specs:first-child {
  padding-top: 8px;
}

.item__tip {
  font-size: 14px;
  padding-bottom: 2px;
}

.item__price > s {
  display: inline-block;
  font-size: 14px;
}

.item__price,
.item__quantity,
.item__sum {
  display: inline-block;
  color: #000000;
  font-size: 24px;
}

.item__button__wrapper {
  position: absolute;
  right: 18px;
  bottom: 18px;
  text-align: right;
}

.item__count {
  display: inline-block;
  padding-bottom: 4px;
  font-size: 12px;
  color: #000000;
}

.item__button {
  display: inline-block;
  background-color: #ffa83f;
  color: #000000;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  transition: 0.2s;
}

.item__button:hover {
  background-color: #ff910c;
}

.disabled__button {
  display: inline-block;
  background-color: #cfcfcf;
  color: #999999;
  border-radius: 4px;
  padding: 6px 12px;
}

.delete__button {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: inline-block;
  background-color: #cfcfcf;
  color: #000000;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  transition: 0.2s;
}

.delete__button:hover {
  background-color: #dedede;
}

.history-item-header {
  display: block;
  margin-bottom: 25px;
  color: #000000;
}

.history-item-footer {
  display: block;
  text-align: right;
  padding-right: 100px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dotted #666;
  color: #000000;
}

.history-item-row {
  display: block;
  margin: 10px 0;
}

.history-item-row-header {
  color: #aaa;
  font-size: 12px;
}

.history-item-col-sm {
  display: inline-block;
  width: 100px;
}

.history-item-col-lg {
  display: inline-block;
  width: 420px;
  vertical-align: top;
  padding-right: 40px;
}

.filter {
  position: relative;
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 16px 0 25px 0;
  background-color: #3d3d3d;
}

.filter__item {
  display: inline-block;
  text-align: left;
  margin-right: 20px;
  width: 120px;
}

.filter__label {
  font-size: 14px;
  color: #cecece;
}

.select__wrapper {
  padding: 0;
  margin-top: 10px;
  border-radius: 3px;
  overflow: hidden;
  background-color: #fff;
  background: #fff
	url("../img/arrowdown.png")
	no-repeat 90% 50%;
}

.select__wrapper:hover {
  background: #ddd
	url("../img/arrowdown.png")
	no-repeat 90% 50%;
}

.select__wrapper select {
  padding: 5px 8px;
  width: 130%;
  border: none;
  box-shadow: none;
  background-color: transparent;
  background-image: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.select__wrapper select:focus {
  outline: none;
}

.filter__item input {
  margin-top: 10px;
  border-radius: 3px;
  width: 96px;
  padding: 7px;

}

.filter__item input[type="submit"] {
  background-color: #ffa83f;
  border: 1px solid #ffa83f;
  cursor: pointer;
  transition: 0.2s;
}

.filter__item input[type="submit"]:hover {
  background-color: #ff8c00;
  border-color: #ff8c00;
  cursor: pointer;
}

.filter__item input[type="submit"]:active {
  color: #000000;
}

.mask {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modalbox, .phonebox {
  display: block;
  position: fixed;
  width: 400px;
  background-color: #efefef;
  padding: 20px;
  box-shadow: 5px 5px 20px 10px rgba(0, 0, 0, 0.2);
  z-index: 12;
}

.picturebox {
  display: block;
  position: fixed;
  text-align: center;
  background-color: #ffffff;
  padding: 20px;
  box-shadow: 5px 5px 20px 10px rgba(0, 0, 0, 0.2);
  z-index: 12;
}

.modalbox__itemname {
  display: block;
}

.modalbox__itemprice {
  font-size: 24px;
  margin-top: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid #b7b7b7;
}

.modalbox__itemid {
  font-size: 12px;
  margin-bottom: 8px;

}

.modalbox__form {
  display: block;
  text-align: center;
  margin-top: 16px;
}

.modalbox__form input,
.modalbox__form button  {
  font-size: inherit;
  text-align: center;
}

.modalbox__form input[type="number"] {
  width: 32px;
  padding: 8px;
}

.modalbox__buttons {
  display: block;
  text-align: center;
}

.modalbox__form button {
  width: 128px;
  padding: 14px 0;
}

.modalbox__warning {
  font-size: 12px;
  color: red;
}

#orderform {
  display: none;
}

button.finishorder {
  width: 192px;
}

input[name="phonenumber"] {
  margin-bottom: 24px;
}

button.cancel {
  background-color: #7d7d7d;
  margin-left: 8px;
}

button.cancel:hover {
  background-color: #999999;
}

#email__link {
  cursor: default;
  color: #ffa83f;
}

.registration__wrapper {
  margin: 20px 0;
}

.registration__field {
  display: block;
  font-size: 16px;
  width: 450px;
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 10px;
}

.registration__button {
  font-size: 16px;
  color: #000000;
}

.registration__warning {
  display: none;
  width: 450px;
  padding: 8px;
  border-radius: 4px;
}

.error__message {
  color: #ac0000;
}

.waiting__message {
  color: #727272;
}

.success__message {
  color: #000000;
}

ul {
  padding-bottom: 20px;
}

li {
  margin: 8px 0;
}

.widget-cart {
  cursor: pointer;
  overflow-y: scroll;
  height: auto;
  max-height: calc(100vh - 250px);
  font-family: 'Courier New';
  position: fixed;
  z-index: 12;
  top: 200px;
  left: 0;
  width: 200px;
  padding: 4px 8px;
  background-color: #fff;
  color: #666;
  box-shadow: 2px 2px 10px 3px rgba(0, 0, 0, 0.2);
}

.widget-cart-item {
  font-size: 10px;
  border-bottom: 1px dotted #999;
}

.widget-cart h4,
.widget-cart p {
  margin: 0;
  line-height: 2;
  font-size: 12px;
  font-weight: normal;
  text-transform: uppercase;
}

.widget-cart .hide {
  position: absolute;
  top: 4px;
  right: 8px;
  color: #000;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 11px;
  text-decoration: underline;
}

.widget-cart .hide:hover {
  color: #555;
}

.show-cart-button {
  cursor: pointer;
  position: fixed;
  bottom: 0;
  left: 20px;
  background-color: #fff;
  color: #000;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 11px;
  text-decoration: underline;
  padding: 5px 10px;
}
