
body {
  padding: 0px;
  margin: 0px;
  font-family: Verdana, Arial;
  font-size: 0px;
  color: rgb(42, 42, 42);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: rgb(243, 243, 243);
}

*, *::before, *::after {
  box-sizing: border-box;
  vertical-align: middle;
  outline: none !important;
}

.lg-toolbar .lg-icon {
	height: 60px !important;
	line-height: 40px !important;
}
#lg-counter {
  padding-top: 15px !important;
}
.lg-toolbar {
  padding-right: 6px !important;
}
.lg-backdrop {
  background-color: rgba(25, 25, 25, 0.9) !important;
}
.lg-image {
  border-radius: 3px;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.25);
}
.lg-outer *, .lg-outer ::before, .lg-outer ::after {
	vertical-align: top !important;;
}
.lg-img-wrap::before
{
	vertical-align: middle !important;
	height: 100% !important;
}
.lg-object.lg-image {
	vertical-align: middle !important;
}


header {
  padding: 30px 4% 30px 4%;
  position: relative;
  display: table;
  width: 100%;
}
section {
  width: calc(100% - 8%);
  margin: 0px auto;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  background-color: white;
  flex: 1;
  position: relative;
  z-index: 10;
  padding: 0px 30px 20px;
}
footer {
  background-color: rgba(49, 49, 49, 0.84);
  padding: 60px 4%;
  margin-top: 80px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}
.logo {
  width: auto;
  margin: 0px auto;
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translate(-50%, 0px);
}
.logo::before {
  content: '';
  width: 220px;
  height: 220px;
  display: block;
  margin: 0px auto;
  background-image: url(../img/logo.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.logo::after {
  content: 'Магазин стекла и запчастей';
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  margin: 0px auto;
  padding: 10px 0px 0px 0px;
  color: rgb(83, 83, 83);
}
h1 {
  font-size: 30px;
  text-align: center;
  margin: 0px;
  padding: 40px 0px 40px 0px;
}
h2 {
  font-size: 18px;
  text-align: center;
  margin: 0px;
  padding: 30px 0px 30px 0px;
  color: rgb(83, 83, 83);
  position: relative;
  font-weight: normal;
}
h1 + h2 {
  padding-top: 0px;
  top: -35px;
  padding-bottom: 20px;
}


hr {
  margin: 30px 0px;
  padding: 0px;
  border: none;
  border-bottom: 2px dashed rgba(0, 0, 0, 0.1);
}
form {
  text-align: center;
  padding: 0px 0px 30px 0px;
}
input:not([type="file"]), textarea {
  display: block;
  width: 260px;
  margin: 0px auto 15px;
  padding: 8px 15px 10px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.04) inset;
  background-color: white;
  transition: all 0.3s ease;
}
.check_error {
  border-color: rgba(255, 0, 0, 0.3);
  background-color: rgb(255, 234, 234);
}
input:hover, textarea:hover {
  border-color: rgba(0, 153, 255, 0.72);
  background-color: rgb(232, 243, 255);
}
button {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  background-color: rgb(91, 194, 91);
  color: rgb(255, 255, 255);
  font-size: 12px;
  text-transform: uppercase;
  font-family: Verdana, Arial;
  padding: 12px 18px 12px;
  line-height: 12px;
  white-space: nowrap;
  cursor: pointer;
  text-shadow: 0px -1px 1px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
button:hover {
  background-color: rgb(53, 162, 53);
}

body::after {
  content: '';
  display: block;
  width: 100%;
  height: 100vh;
  position: fixed;
  background-image: linear-gradient(to bottom, rgb(243, 243, 243), transparent), url(../img/bg.jpg);
  background-size: cover;
  background-position: center;
  top: 270px;
  left: 0px;
  z-index: -1;
  filter: blur(10px);
}


footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 0px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
  margin: 0px auto 30px;
}

h1 + hr, h2 + hr {
  margin-top: 0px;
}

.description {
  padding: 0px 0px 30px 0px;
  font-size: 14px;
  text-align: center;
  color: rgb(85, 85, 85);
}

messages {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: block;
  z-index: 100;
}
message {
  font-size: 12px;
  background-color: rgba(0, 0, 0, 0.78);
  padding: 20px 30px;
  max-width: 260px;
  display: block;
  border-radius: 3px;
  color: white;
  margin-top: 10px;
}



.header_left {
  font-size: 12px;
  display: table-cell;
  text-align: left;
  text-transform: uppercase;
}
.header_right {
  font-size: 12px;
  display: table-cell;
  text-align: right;
  text-transform: uppercase;
}
.header_icon {
  display: inline-block;
  width: 45px;
  height: 45px;
  background-size: auto 80%;
  background-position: center;
  background-repeat: no-repeat;
}

a, a:link, a:visited {
  text-decoration: none;
  color: rgb(0, 135, 255);
}

.header_left .header_icon {
  margin-right: 5px;
}
.header_right .header_icon {
  margin-left: 5px;
}
.icon_catalog {
  background-image: url(../img/catalog.png);
}
.icon_user {
  background-image: url(../img/user.png);
}

input[disabled] {
  box-shadow: none;
  background-color: rgb(238, 238, 238) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: grey;
}




.brands {
}
.brand_item {
  display: inline-block;
  position: relative;
  height: 70px;
  min-width: 260px;
  width: 25%;
  border: 1px solid rgba(0, 0, 0, 0.0);
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 3px;
  overflow: hidden;
}
.brand_item_pic {
  position: absolute;
  width: 80px;
  height: 50px;
  left: 10px;
  top: 50%;
  transform: translate(0%, -50%);
  background-color: white;
  border-radius: 3px;
}
.brand_item_pic img {
  max-width: 60px;
  max-height: 30px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.brand_item_title {
  font-size: 14px;
  position: absolute;
  left: 100px;
  top: 50%;
  transform: translate(0%, -50%);
}
.brand_item:hover {
  background-color: rgba(0, 153, 255, 0.25);
  border-color: rgba(0, 0, 0, 0.15);
}


h3 {
  padding: 0px 0px 20px 0px;
  margin: 0px;
  font-size: 20px;
  text-align: center;
  color: rgb(42, 42, 42);
  text-transform: uppercase;
  font-weight: normal;
}


.brand_logo {
  display: block;
  height: 80px;
  width: 160px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0px auto 30px;
}
.model_container {
  padding: 0px 0px 50px 0px;
  display: table;
  width: 100%;
}
.model_left {
  display: table-cell;
  width: 1px;
  vertical-align: top;
  display: none;
}
.model_right {
  display: table-cell;
  text-align: left;
  vertical-align: top;
}
.model_items {
  padding: 0px 0px 0px 0px;
}
.model_right h3 {
  text-align: left;
  padding-bottom: 0px;
  text-transform: none;
  display: none;
}
.model_pic {
  width: 200px;
  height: 160px;
  margin: 0px 20px 0px 0px;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  background-color: rgb(58, 58, 58);
}


.model_item {
  display: table;
  width: 100%;
  border-top: 1px dashed rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  padding-top: 20px;
}
.model_item_left {
  display: table-cell;
  width: 1px;
  vertical-align: top;
}
.model_item_right {
  display: table-cell;
  text-align: left;
  vertical-align: top;
}
.model_item_pic {
  width: 240px;
  height: 180px;
  margin: 0px 20px 20px 0px;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  background-color: rgb(240, 241, 242);
  position: relative;
}
.model_item_cost {
  padding: 0px 0px 13px 0px;
  display: table;
  width: 100%;
}
.model_item_cost_title {
  font-size: 12px;
  text-align: left;
  color: grey;
  display: table-cell;
  width: 1px;
  padding: 0px 12px 0px 0px;
  white-space: nowrap;
}
.model_item_cost_value {
  font-size: 20px;
  color: black;
  /*! text-align: right; */
  white-space: nowrap;
  line-height: 1.3;
  display: table-cell;
  text-align: right;
}
h4 {
  padding: 0px 0px 20px 0px;
  margin: 0px;
  font-size: 16px;
  font-weight: normal;
  color: rgb(0, 135, 255);
  /*! text-transform: capitalize; */
}
.costs_line:nth-child(2n) {
  background-color: white;
}


.selector {
  text-align: center;
  padding: 10px 0px 20px 0px;
}
select {
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 3px;
	padding: 9px 15px 10px;
	font-size: 13px;
	max-width: 300px;
	min-width: 200px;
	transition: all 0.3s ease;
	width: 260px;
	display: block;
	margin: 0px auto 15px;
}
option {
  padding: 9px 15px;
  background-color: white;
}
select:hover {
  background-color: rgba(0, 153, 255, 0.25);
}
.selector select {
  display: inline-block;
	margin: 0px 10px 0px 0px;
}


.big_button {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  background-color: white;
  display: inline-block;
  padding: 30px 40px;
  min-height: 200px;
  margin: 0px 20px 40px;
  min-width: 220px;
}
.big_button_pic {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0px auto 30px;
  border-radius: 100%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-size: 50% auto;
  background-position: center;
  background-repeat: no-repeat;
}
.big_button_title {
  font-size: 16px;
  text-align: center;
}

a ~ a button {
  margin-left: 10px;
}


.model_button {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  position: relative;
  display: inline-block;
  width: calc(25% - 20px);
  min-width: 240px;
  margin: 0px 0px 30px 20px;
  overflow: hidden;
  vertical-align: top;
  background-repeat: no-repeat;
  background-size: 0px;
  align-items: stretch;
  background-color: rgb(252, 252, 252);
}
.model_button_pic {
  width: calc(100% - 6px);
  height: 0px;
  padding-bottom: 60%;
  display: block;
  position: relative;
  z-index: 1;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  margin: 3px 3px 0px 3px;
  background-color:  rgb(240, 240, 240);
}
.model_button_title {
  font-size: 12px;
  text-align: center;
  margin: 20px 30px;
}
.models {
  padding: 20px 0px 0px 0px;
  position: relative;
  width: calc(100% + 20px);
  left: -20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
}


.list_line {
  display: table-row;
  width: 100%;
}
.list_line_cell {
  display: table-cell;
  font-size: 14px;
  padding: 13px 20px 13px;
}
.list_table {
  display: table;
  width: 100%;
}
.list_line:nth-child(2n+1) {
  background-color: rgb(247, 247, 247);
}


table, tr, td {
  padding: 0px;
  margin: 0px;
}
.params {
  width: auto;
  margin: 0px auto;
  /*! padding-bottom: 30px; */
}
.params td {
  font-size: 13px;
  padding: 0px 0px 15px 0px;
  text-align: left;
}
.params td:first-of-type {
  text-align: right;
  padding-right: 20px;
  width: 200px;
  color: rgb(151, 151, 151);
}
.params input, .params textarea {
  margin: 0px;
  display: inline-block;
}


.params img {
  /*! width: 50px; */
  height: 50px;
  margin: 0px 10px 0px 0px;
}
textarea {
  height: 100px;
}


.params select {
  margin-left: 0px;
}


.list_table img {
  height: 40px;
}
.model_item_cost_text {
  font-size: 14px;
  color: rgb(0, 0, 0);
  text-align: left;
  display: table-cell;
}


.miltilist {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 3px;
  width: 400px;
}
.miltilist select {
  width: 100%;
  max-width: none;
}


.costs_table {
  display: table;
  width: 100%;
  margin: 0px 0px 20px 0px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  overflow: hidden;
}
.costs_line {
  display: table-row;
  background-color: rgb(249, 249, 249);
}
.costs_cell {
  display: table-cell;
  padding: 13px 20px;
  font-size: 13px;
}


.full_name {
  font-size: 12px;
  color: rgb(199, 199, 199);
  padding: 0px 0px 10px 0px;
}


.cost_title {
  font-size: 14px;
  color: rgb(128, 128, 128);
}
.cost_value {
  font-size: 20px;
  color: rgb(0, 0, 0);
  text-align: right;
  white-space: nowrap;
  line-height: 1.3;
}
.costs_line:first-of-type {
  background-color: rgb(226, 226, 226);
}
.costs_line:first-of-type .costs_cell:not(:first-of-type) {
  text-align: right;
}


.full_name_actions {
  padding: 0px 0px 20px 0px;
  text-align: right;
}
.full_name_actions button {
  /*! background-color: rgb(0, 126, 255); */
  font-size: 10px;
  padding: 8px 13px 9px;
}




.model_item_pic::before {
	content: '';
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	border: 1px solid rgba(0, 0, 0, 0.15);
	z-index: 10;
	border-radius: 3px;
}

.costs_line:first-of-type .costs_cell {
  background-color: rgb(237, 237, 237);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}
.costs_line:not(:last-of-type) .costs_cell {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
button + a button {
	margin-left: 10px;
}


