@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body.no-scroll {
  overflow: hidden;
}
.grid {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #fff;
}

.text-right {
  text-align: right;
}

header {
  display: flex;
  flex-direction: row;
  background-color: #eeeeee;
  position: relative;
  z-index: 11;
  padding: 0 10rem;
}

footer,
nav#main-menu {
  display: flex;
  padding: 0 10rem;
}

nav#main-menu.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

nav#main-menu ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

@media all and (max-width: 1359px) {
  /* .uploaded-photos.user-photos .photo {
    width: calc(25% - 1rem);
    margin: 0.5rem;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0;
  }

  .uploaded-photos.user-photos .photo a,
  .uploaded-photos.user-photos .photo a img {
    height: 16vw;
  } */
}

@media all and (max-width: 1200px) {
  /* article,
  header,
  footer,
  nav,
  .breadcrumbs {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .more-images .extra-image img,
  .more-images .extra-image {
    height: 8vw !important;
  }

  .products .product .photo {
    height: calc(23vw - 2rem) !important;
  }

  .products .product img {
    height: calc(23vw - 2rem) !important;
  }

  .uploaded-photos.user-photos .photo a,
  .uploaded-photos.user-photos .photo a img {
    height: 20vw;
  } */
}

/* Demo Specific Styles */

body {
  margin: 0;
  max-width: 100%;
  min-height: 100vh;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #eee;
}

body * {
  box-sizing: border-box;
}

article {
  width: 100%;
  padding: 0 10rem;
  margin-bottom: 5rem;
  margin-top: 2rem;
}

article.flex {
  display: flex;
}

article.flex.flex-column {
  flex-direction: column;
}

.in-footer {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.in-footer .menu {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.in-footer .menu a {
  margin: 0.2rem 0;
  color: #aaa;
}

.in-footer .menu a.active {
  color: #eee;
}

.in-footer .module {
  flex: 1;
  padding: 0.2rem 1rem;
  display: flex;
  flex-direction: column;
  line-height: 1.2rem;
}

.in-footer .module div.phone {
  display: flex;
  color: #999;
  margin-bottom: 1rem;
  align-items: center;
}

.in-footer .module div.phone i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
  width: 2.5rem;
  min-width: 2.5rem;
  text-align: center;
}

.in-footer .module div.phone span p {
  margin: 0 0 0.3rem;
}

.in-footer .module div.phone span {
  padding-left: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  width: 100%;
  margin: 3rem 0 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  color: #999;
}

.copyright .developer {
  margin-left: auto;
}

aside {
  display: flex;
  align-items: center;
  justify-content: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Oswald', sans-serif;
}

.button,
a.button,
a.button:visited {
  display: inline-block;
  margin: 0px;
  padding: 1rem 2rem;
  border: 0px;
  outline: 0px;
  line-height: 50px;
  vertical-align: middle;
  text-align: center;
  border-radius: 0px;
  background-color: #237a18;
  color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
  transition: 0.15s linear all;
  position: relative;
  z-index: 0;
}

.button.change-format {
  display: flex;
  align-items: center;
}

.button.change-format i {
  margin-right: 0.5rem;
}

.button.disabled,
.button:disabled {
  background-color: #999 !important;
  color: #ccc !important;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15) !important;
}

.button.small {
  line-height: 40px;
  font-size: 0.9rem;
  padding: 0px 1rem !important;
}

.button.big {
  line-height: 60px;
  font-size: 1.2rem;
  padding: 0px 1rem !important;
}

.button.small.icon {
  line-height: 40px;
  font-size: 0.9rem;
  padding: 0px 1rem 0px calc(40px + 1rem) !important;
}

.button.big.icon {
  padding: 0px 1rem 0px calc(60px + 1rem) !important;
}

.button.small.icon i {
  line-height: 40px;
  height: 40px;
  width: 40px;
}

.button.big.icon i {
  line-height: 60px;
  height: 60px;
  width: 60px;
}
.button.orange {
  background-color: orange !important;
}
.button.orange:hover {
  background-color: rgb(255, 175, 27) !important;
}
.button.white,
.button.white:hover {
  background-color: #fff !important;
  color: #333 !important;
}

.product-upload-button.button {
  background-color: #222;
}

.product-upload-button.button:hover {
  background-color: #000;
}

.button.green {
  background-color: darkgreen;
}

.button.red {
  background-color: #e03329;
}

.button.green:hover {
  background-color: green !important;
}

.button.red:hover {
  background-color: red;
}

.button:hover {
  box-shadow: 0px 5px 13px rgba(0, 0, 0, 0.25);
  background-color: #0b8f06;
  color: #fff;
}

.button:active {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.25);
}

.button.icon {
  padding: 0px 1rem 0px calc(50px + 1rem);
}

.button.icon.icon-right {
  padding: 0px calc(50px + 1rem) 0px 1rem;
}

.button.icon.icon-right i {
  border-right: 0px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset -1px 0px 0px rgba(0, 0, 0, 0.15);
  left: auto;
  right: 0;
}

.button.icon i {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset -1px 0px 0px rgba(0, 0, 0, 0.15);
  margin-right: 15px;
}

.button.icon .count-down {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset -1px 0px 0px rgba(0, 0, 0, 0.15);
  margin-right: 15px;
}

.button.icon i.fa-spinner {
  border-right: 1px solid rgba(255, 255, 255, 0);
  box-shadow: inset -1px 0px 0px rgba(0, 0, 0, 0);
}

.button.icon .spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset -1px 0px 0px rgba(0, 0, 0, 0.15);
  margin-right: 15px;
  position: absolute;
  top: 0;
  left: 0;
}

.button.big.icon .spinner {
  width: 60px;
  height: 60px;
}

.button.icon .spinner::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border-top: 2px solid #ffffff;
  border-left: 2px solid transparent;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid transparent;
  animation: spin 0.4s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.button.icon.icon-right i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 1px 0px 0px rgba(0, 0, 0, 0.15);
  margin-left: 15px;
  margin-right: 0px;
}

.button.icon.icon-right .spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 1px 0px 0px rgba(0, 0, 0, 0.15);
  margin-left: 15px;
  margin-right: 0px;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}

.hidden {
  display: none;
}

.required {
  position: absolute;
  bottom: 3px;
  right: 3px;
  font-size: 10px;
  color: red;
}

.form-row .available {
  position: absolute;
  top: 3px;
  right: 3px;
  font-size: 10px;
  color: green;
}

div.invalid.length,
div.invalid.taken,
div.invalid.pass {
  position: absolute;
  top: 3px;
  right: 3px;
  font-size: 10px;
  color: red;
}

a,
a:visited {
  text-decoration: none;
  color: #e03329;
  transition: 0.15s linear all;
}

a:hover {
  color: #e03329;
}

.logo img {
  max-width: 100%;
  max-height: 90px;
  margin: 5px 15px 5px 0px;
}

.user-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.user-block .header-button {
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  vertical-align: middle;
  background-color: #f4f4f4;
  border-radius: 50%;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  margin-left: 7px;
  cursor: pointer;
  transition: 0.15s linear all;
  font-size: 18px;
  color: #888888;
  position: relative;
  z-index: 0;
}

.user-block .header-button:hover {
  box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.15);
  color: #222222;
}

.user-block .header-button.active {
  color: #fff;
  background-color: #e03329;
}

.user-block .header-button .count {
  position: absolute;
  z-index: 1;
  width: 24px;
  height: 24px;
  background-color: #e03329;
  color: #fff;
  text-align: center;
  line-height: 24px;
  vertical-align: middle;
  border-radius: 50%;
  top: 0;
  right: 0;
  font-size: 0.8rem;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
}

.user-block .tooltip {
  line-height: normal;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 120px;
  font-size: 12px;
  padding: 5px 7px;
  background-color: #222222;
  color: #eeeeee;
  border-radius: 4px;
  margin-top: 10px;
  display: none;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
}

.user-block .tooltip::after {
  content: ' ';
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #222222 transparent;
}

/*POPUPS*/

.overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 999999;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  background-image: url(/images/noise.png);
  background-repeat: repeat;
}

.alert-overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 9999999;
  background-color: rgba(0, 0, 0, 0.25);
  display: none;
  background-image: url(/images/noise.png);
  background-repeat: repeat;
}

.alert-content {
  position: absolute;
  width: 35%;
  min-width: 400px;
  margin: 0px auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  background-color: white;
  border-radius: 2px;
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.15);
  display: none;
}

.alert-content .buttons {
  display: flex;
  margin-right: 1rem 0;
}

.mobile .alert-content .buttons .button {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.mobile .alert-content .buttons .button.cancel {
  margin-top: 1rem;
  margin-left: 0;
}

.mobile .alert-content .buttons {
  flex-direction: column;
}

.alert-content .button.cancel {
  margin-left: auto;
  background-color: #eee;
  color: #333;
}

.overlay .step {
  position: relative;
  z-index: 1;
  padding-bottom: 100px;
}
.overlay .step h3 {
  padding: 1rem 5rem;
}
.overlay .step .form-row {
  margin: 2rem 5rem;
  width: auto;
  display: flex;
  flex-direction: column;
}
.overlay .step .form-row input {
  position: relative;
}

.form-row.address-row {
  margin-bottom: 4rem !important;
}

.form-row.address-row .danger {
  /* margin-top: 60px; */
  width: 100%;
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
}
.alert-content .button {
  line-height: normal;
}

.overlay .fade-in {
  display: none;
  /* margin-top: -100px; */
  flex-direction: column;
}

.overlay .fade-in h2 {
  padding: 1rem 5rem;
  margin: 0;
  background-color: #e4e4e4;
  font-weight: normal;
  border-bottom: 1px solid #dddddd;
  color: #666666;
  font-size: 2rem;
  position: relative;
  display: flex;
  align-items: center;
}

.overlay .form-row.footer-row {
  margin: 0 -15px 0px -15px;
  padding: 0 30px 15px 30px;
  background-color: #f4f4f4;
  border-top: 1px solid #e4e4e4;
  width: auto;
  height: auto;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.overlay .fade-in h3 {
  font-weight: bold;
  color: #666666;
  font-size: 20px;
  font-weight: normal;
  font-family: 'Roboto', sans-serif;
}

.overlay h2 i {
  font-size: 2rem;
}
.overlay h2 > i {
  margin-right: 1rem;
}
.overlay h2 > span {
  display: flex;
  align-items: flex-start;
}

.search-block {
  position: relative;
  width: 60%;
  min-width: 700px;
  height: 60px;
  margin: 0px auto;
  top: 50%;
  transform: translateY(-50%);
}
.overlay .search-block .close {
  position: fixed;
  top: 1rem;
  right: 1rem;
}
.search-block .close i {
  display: block;
  color: #fff;
}

.search-block form {
  position: relative;
  z-index: 0;
  height: 60px;
}

.search-block .search-results {
  position: absolute;
  top: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.search-block .search-results.shadow {
  box-shadow: 0px 25px 50px rgba(0, 0, 0, 0.5);
}

.search-block .search-results a {
  padding: 0.5rem 1rem;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  font-weight: 300;
}

.search-block .search-results a:last-child {
  border-bottom: 0px solid #ddd;
}

.search-block input {
  display: block;
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  height: 60px;
  z-index: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0px;
  outline: 0px;
  font-size: 24px;
  text-indent: 1em;
  background-color: rgba(0, 0, 0, 0);
  border-bottom: 1px solid white;
  color: #ffffff;
  font-weight: 300;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
}

.search-block input::placeholder {
  color: #ffffff;
}

.search-block button {
  position: absolute;
  top: 0px;
  right: 0px;
  height: 60px;
  width: 60px;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0px;
  outline: 0px;
  font-size: 24px;
  background-color: rgba(0, 0, 0, 0);
  cursor: pointer;
  color: white;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
  display: none;
}

.overlay .close {
  cursor: pointer;
  color: #333;
  font-size: 36px;
  z-index: 9999999;
  transition: 0.15s linear all;
  margin-left: auto;
  font-size: 2rem;
}

.close:hover {
  color: darkred;
}

.sign-in-block {
  position: relative;
  width: 35%;
  min-width: 600px;
  margin: 0px auto;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
}

.overlay .address-block {
  position: relative;
  width: 50%;
  min-width: 100vw;
  width: 100vw;
  margin: 0px auto;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  background-color: white;
  border-radius: 2px;
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.15);
  max-height: 100vh;
  height: 100vh;
  flex-direction: column;
}
.overlay .address-block form {
  padding: 0 5rem;
  flex: 1;
}

.overlay .declaration-block {
  position: relative;
  width: 50%;
  min-width: 100vw;
  width: 100vw;
  margin: 0px auto;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  background-color: white;
  border-radius: 2px;
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.15);
  max-height: 100vh;
  height: 100vh;
  flex-direction: column;
}

.overlay .address-block .scroll,
.overlay .declaration-block .scroll {
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  flex: 1;
  max-height: calc(70vh - 1rem);
  padding: 0.5rem;
}
.declaration-block .scroll {
  margin: 1rem 5rem;
  padding-bottom: 3rem !important;
}
.declaration-block .buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 !important;
  padding: 2rem 5rem !important;
}
.overlay .form-row.input-row.buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 !important;
  padding: 2rem 5rem !important;
  background-color: #fff;
  z-index: 1000;
}

.sign-in-block.register-block {
  width: 100%;
  /* min-width: 600px; */
  height: 100vh;
}
.sign-in-block.login-block {
  width: 100%;
  /* min-width: 600px; */
  height: 100vh;
}
.sign-in-block.login-block form {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 500px;
  margin: auto;
}
.overlay .login-block .form-row.footer-row {
  margin: 2rem auto;
  padding: 0;
  background-color: transparent;
  border-top: 1px solid #e4e4e4;
  width: 100%;
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
}

.sign-in-block.register-block form {
  overflow-y: scroll;
  /* width: calc(100% + 4rem); */
  padding: 0 2rem;
  /* margin: 0 -2rem; */
}

.form-row {
  position: relative;
  width: 100%;
  margin: 30px 0px 20px;
  min-height: 60px;
}
.form-row.login-options {
  display: flex;
  justify-content: space-between;
}
.form-row.login-options .new-user {
  cursor: pointer;
  color: #e03329;
}

.form-row .info {
  position: absolute;
  top: 60px;
  font-size: 0.8rem;
  padding-top: 0.3rem;
}

.form-row .button {
  margin-top: 1rem;
}
.form-row .button.right {
  margin-top: 1rem;
  margin-left: auto;
}

.form-row label {
  position: absolute;
  line-height: 20px;
  font-size: 16px;
  color: #999999;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  cursor: text;
}

.form-row label.up {
  top: -10px !important;
  left: 0 !important;
  font-size: 14px !important;
}

.form-row.icon-left label {
  left: 60px;
}

.form-row.input-row::after {
  content: '';
  display: block;
  position: absolute;
  height: 1px;
  bottom: -1px;
  background-color: #e03329;
  z-index: 10;
  width: 0%;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.15s ease-in-out all;
}

.form-row.input-row.in-focus::after {
  width: 100%;
}

.form-row input[type='text'],
.form-row input[type='password'] {
  display: block;
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  height: 60px;
  z-index: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0px;
  outline: 0px;
  font-size: 18px;
  text-indent: 1rem;
  background-color: rgba(0, 0, 0, 0.05);
  color: #666666;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.25);
  color: #e03329;
  z-index: 0;
}

.form-row input[type='text'].prefix {
  background-color: transparent;
  border: 0;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0);
  /* z-index: -1; */
  position: absolute;
  top: 0;
}

.form-row input[type='text'].phone {
  text-indent: 4.8rem;
}

.form-row textarea {
  display: block;
  height: 150px;
  z-index: 0;
  width: 100%;
  margin: 0;
  padding: 1rem;
  border: 0px;
  outline: 0px;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, 0.05);
  color: #666666;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.25);
  color: #e03329;
  z-index: 0;
  max-width: 100%;
  min-width: 100%;
}

.form-row textarea::placeholder {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #999;
  letter-spacing: 0;
}

.form-row input.invalid {
  box-shadow: 0 0 1px 1px red !important;
  color: red !important;
}

.form-row.icon-left input[type='text'],
.form-row.icon-left input[type='password'] {
  text-indent: 60px;
}

.form-row.icon-left i {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 60px;
  width: 60px;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0px;
  outline: 0px;
  font-size: 24px;
  background-color: transparent;
  cursor: pointer;
  color: #666666;
  text-align: center;
  line-height: 60px;
  vertical-align: middle;
}

.form-row button:hover {
  box-shadow: 0px 5px 13px rgba(0, 0, 0, 0.25);
  background-color: #e03329;
}

.form-row button:active {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.25);
}

.switch-box {
  display: inline-block;
  background: linear-gradient(#aaaaaa, #f4f4f4);
  height: 40px;
  line-height: 30px;
  vertical-align: middle;
  padding: 5px 15px 5px 15px;
  border-radius: 20px;
  position: relative;
  z-index: 0;
  font-size: 14px;
  color: #dddddd;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  margin: 10px 10px 10px 0px;
  width: 80px;
}

.switch-box .switch-on {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.switch-box .switch-off {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.switch-box .switch-background {
  display: inline-block;
  position: absolute;
  background: #aaaaaa;
  height: 26px;
  line-height: 26px !important;
  vertical-align: middle;
  padding: 0px 7px;
  border-radius: 13px;
  left: 7px;
  top: 7px;
  right: 7px;
  z-index: 0;
  box-sizing: border-box;
  border: 1px solid #999999;
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.switch-box .switch-ball {
  display: inline-block;
  position: absolute;
  background: #dddddd;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  left: 5px;
  top: 5px;
  z-index: 100;
  box-sizing: border-box;
  box-shadow: inset 0px -2px 1px rgba(0, 0, 0, 0.3), inset 0px 2px 1px #eeeeee,
    inset 2px 0px 1px #eeeeee, inset -2px 0px 1px #eeeeee,
    0px 2px 5px rgba(0, 0, 0, 0.3);
}

.switch-box input {
  display: none;
}

.form-row.text-middle a {
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 0px;
  left: 90px;
  transform: translateY(-50%);
}

/*POPUPS*/

nav#main-menu ul li {
  flex-grow: 1;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

nav#main-menu ul li.menu-cart {
  width: 50px;
  min-width: 50px;
  max-width: 50px;
  vertical-align: middle;
  text-align: center;
  position: relative;
  z-index: 0;
  color: #fff;
  display: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav#main-menu ul li.menu-cart .cart-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
}

nav#main-menu ul li.menu-cart .cart-toggle.active {
  background-color: #e03329;
}

nav#main-menu ul li.menu-cart i {
  font-size: 1.3rem;
  text-align: center;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-items: center;
}

nav#main-menu ul li.menu-cart .count {
  position: absolute;
  z-index: 1;
  width: 24px;
  height: 24px;
  background-color: #e03329;
  color: #fff;
  text-align: center;
  line-height: 24px;
  vertical-align: middle;
  border-radius: 50%;
  top: 0;
  right: 0;
  font-size: 0.8rem;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
}

nav#main-menu ul li.active > a {
  background-color: #e03329;
}

nav#main-menu ul li.active li.active > a {
  color: #e03329;
  background-color: #fff;
}

nav#main-menu ul ul li {
  text-align: left;
  white-space: nowrap;
  display: block;
  width: 100%;
  float: left;
}

#main-menu {
  background-color: #444444;
  position: relative;
  z-index: 10;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.25);
}

#main-menu a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #eeeeee;
  /* line-height: 50px; */
  vertical-align: middle;
  font-size: 1.2em;
  padding: 15px;
  font-weight: 300;
  height: 100%;
}

#main-menu a.has-arrow {
  position: relative;
  padding: 0px 65px 0px 15px;
}

#main-menu a .arrow-down {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50px;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0;
}

#main-menu a .arrow-down div {
  display: inline-block;
  /* width: 50px; */
  height: 50px;
  position: relative;
}

#main-menu a .arrow-down div::after {
  content: '';
  width: 10px;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  top: 25px;
  left: 18px;
  transform: rotate(45deg);
  transform-origin: top;
}

#main-menu a .arrow-down div::before {
  content: '';
  width: 10px;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  top: 25px;
  right: 17px;
  transform: rotate(-45deg);
  transform-origin: top;
}

#main-menu li li.active > a > .arrow-down > div::after,
#main-menu li li.active > a > .arrow-down > div::before {
  background-color: #e03329 !important;
}

#main-menu ul li a {
  color: #eeeeee;
  /* line-height: 50px; */
  font-size: 1.2em;
}

#main-menu ul li:hover > a {
  background-color: #222222;
}

#main-menu ul li ul li:hover > a {
  background-color: #dddddd;
}

#main-menu ul > li {
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

#main-menu ul > li:first-child {
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

#main-menu ul ul li {
  position: relative;
  border: 0px solid rgba(255, 255, 255, 0.1);
}

#main-menu ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0px;
  min-width: 100%;
  width: auto;
  background-color: #ffffff;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.25);
}

#main-menu ul li:hover > ul {
  display: block;
}

#main-menu ul ul ul {
  position: absolute;
  left: 100%;
  top: 0px;
  display: none;
  background-color: #ffffff;
  white-space: nowrap;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25),
    inset 2px 0px 3px rgba(0, 0, 0, 0.15);
  border-radius: 0px;
}

#main-menu ul ul a {
  display: block;
  color: #666666;
  line-height: 40px;
  padding: 0px 10px;
  font-size: 1rem;
}

#main-menu ul ul ul li a {
  line-height: 32px;
  font-size: 0.9rem;
}

#main-menu ul ul ul ul li a {
  line-height: 26px;
  font-size: 0.8rem;
}

#main-menu ul ul a.has-arrow {
  padding: 0px 50px 0px 10px;
}

#main-menu ul ul a.has-arrow .arrow-right {
  display: inline-block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0px;
  right: 0px;
}

#main-menu ul ul a.has-arrow .arrow-right div {
  display: inline-block;
  width: 40px;
  height: 40px;
  position: relative;
}

#main-menu ul ul a.has-arrow .arrow-right div::after {
  content: '';
  width: 8px;
  height: 2px;
  background-color: #666666;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  left: 50%;
  transform-origin: right;
}

#main-menu ul ul a.has-arrow .arrow-right div::before {
  content: '';
  width: 8px;
  height: 2px;
  background-color: #666666;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  left: 50%;
  transform-origin: right;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  padding: 1rem 10rem;
}

.breadcrumbs a {
  display: inline-block;
  line-height: 40px;
  vertical-align: middle;
}

.breadcrumbs .arrow-right {
  display: inline-block;
  width: 20px;
  height: 40px;
}

.breadcrumbs .arrow-right div {
  display: inline-block;
  width: 20px;
  height: 40px;
  position: relative;
}

.breadcrumbs .arrow-right div::after {
  content: '';
  width: 8px;
  height: 2px;
  background-color: #666666;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  left: 50%;
  transform-origin: right;
}

.breadcrumbs .arrow-right div::before {
  content: '';
  width: 8px;
  height: 2px;
  background-color: #666666;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  left: 50%;
  transform-origin: right;
}

#slider {
  grid-column: 1 / 4;
  width: 100%;
  padding-bottom: 35%;
  background-color: gray;
  position: relative;
  z-index: 0;
}

#slider .loading-block {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#slider .loading-block img.loading {
  margin: 0 auto;
  width: 48px;
  height: 48px;
}

#slider .slide {
  grid-column: 1 / 4;
  width: 100%;
  height: 100%;
  background-color: gray;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-position: center center;
  background-size: cover;
  display: block;
  z-index: 0;
  overflow: hidden;
}

#slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

#slider .slide:first-child,
#slider .slide.active {
  display: block;
  z-index: 10;
}

#slider .slide .caption {
  position: absolute;
  bottom: 80px;
  left: 10%;
  width: 80%;
  max-width: 80%;
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
}

#slider .slide:first-child .caption {
  display: block;
}

#slider .slide .caption h2 {
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 2.5em;
  display: inline-block;
  padding: 10px 25px;
  margin-top: 0px;
  margin-bottom: 0.5rem;
  width: auto;
  margin-right: auto;
  font-weight: normal;
  text-transform: uppercase;
}

#slider .slide .caption div {
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 1rem;
  display: inline-block;
  padding: 10px 15px;
  line-height: 1.6rem;
  width: auto;
  margin-right: auto;
  opacity: 1;
  font-weight: 300;
  letter-spacing: 1px;
}

#slider nav {
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  padding: 13px 10px 2px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 30px 30px 0px 0px;
  box-shadow: 0px -2px 4px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

#slider nav div {
  display: inline-block;
  margin: 0px 5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
  transition: 0.15s linear all;
}

#slider nav div:hover {
  border: 13px solid #ffffff;
}

#slider nav div.active:hover {
  border: 3px solid #ffffff;
}

#slider nav div.active {
  background-color: #e03329;
}

footer {
  background-color: #444;
  margin-top: auto;
  padding: 5rem 10rem 0;
}

.cat-showcase {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 2rem 0 1rem;
  flex-wrap: wrap;
  margin: 0 -1rem;
  width: calc(100% + 2rem);
}

.cat-showcase a {
  width: calc(20% - 2rem);
  margin: 1rem;
  text-align: center;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
}

.cat-showcase a img {
  width: 100%;
  object-fit: cover;
}

.cat-showcase a h2 {
  margin: 0;
  color: #e03329;
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: auto;
  padding: 0.5rem;
}

.format-price-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.format-price-block h5 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: normal;
  color: #333;
}

.format-price-block h4 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: normal;
  color: #333;
}

.format-price-block h4.red {
  margin: 0;
  font-size: 2.8rem;
  /* font-weight: bold; */
  color: #e03329;
}

.format-price-block h4.red span {
  margin: 0;
  font-size: 2rem;
  font-weight: normal;
  color: #e03329;
}

.user-block-content {
  display: none;
}

ul.pagination {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

ul.pagination li {
  margin: 0;
  padding: 0;
}

ul.pagination li a {
  display: inline-block;
  padding: 0.5rem 0.7rem;
  margin: 0.3rem;
}

ul.pagination li span {
  display: inline-block;
  padding: 0.5rem 0.7rem;
  margin: 0.3rem;
}

.paging-options {
  display: flex;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
  margin-top: -1rem;
}

.paging-options .pull-right {
  margin-left: auto;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.paging-options .pull-right select {
  border: 1px solid #ccc;
  outline: 0;
  height: 30px;
  margin-right: 0.5rem;
}

.products {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 2rem -1rem;
}

.products .product {
  width: calc(25% - 2rem);
  display: flex;
  flex-direction: column;
  margin: 1rem;
  background-color: #fff;
  border: 1px solid #e4e4e4;
  position: relative;
  z-index: 0;
  padding-bottom: 50px;
}

.products .product:hover {
  border-color: #ccc;
}

.products .product .photo {
  height: calc(15vw - 2rem);
  width: 100%;
  position: relative;
  z-index: 0;
}

.products .product img {
  height: calc(15vw - 2rem);
  width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 0;
}

.products .product .promo {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.products .product .promo img {
  width: 70%;
  min-width: 70%;
  height: auto;
  object-fit: contain;
}

.products .product .photo .labels {
  position: absolute;
  z-index: 2;
  top: 0;
  left: -0.5rem;
  display: flex;
  flex-direction: column;
}
.photo .photo-quantity {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background-color: tomato;
  padding: 0.2rem 0.5rem 0.2rem 0.7rem;
  z-index: 2;
  font-size: 0.9rem;
  color: #fff;
}
.products .product .photo .discount {
  position: relative;
  z-index: 2;
  background-color: #12521d;
  color: #fff;
  padding: 0.2rem 0.5rem 0.2rem 0.7rem;
  display: inline-block;
  margin-top: 0.5rem;
}
.products .product .photo .discount.new {
  background-color: #4683b4;
}

.products .product .photo .discount::after {
  content: ' ';
  position: absolute;
  top: calc(100% - 0.4rem);
  left: 0;
  margin-left: 0.15rem;
  border-width: 0.35rem;
  border-style: solid;
  border-color: transparent transparent #082e0f transparent;
  transform: rotate(45deg);
}

.products .product h3 {
  padding: 0.5rem;
  margin: 0;
  font-weight: 300;
  text-align: center;
  color: #222;
  font-size: 1.5rem;
}

.products .product .price-block {
  padding: 0.5rem;
  margin: 0;
  font-weight: 400;
  text-align: center;
  color: #222;
  font-size: 1rem;
  margin-top: auto;
}

.products .product .price-block .price span {
  font-weight: bold;
  font-size: 1.2rem;
}

.products .product .price-block .old-price {
  margin-right: 0.5rem;
  color: #999;
  text-decoration: line-through;
}

.products .product .add-to-cart.button {
  background-color: #444;
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  padding: 0 1rem;
  line-height: 50px;
}

.products .product:hover .add-to-cart {
  background-color: #222;
}

.products .product-display a.finish-order.button {
  margin-left: auto;
}

.product-display {
  display: flex;
  width: 100%;
}

.product-display .photo {
  width: 40%;
}

.product-display .data {
  width: calc(60% - 2rem);
  margin-left: 2rem;
  padding: 1rem;
  background-color: #eee;
  display: flex;
  flex-direction: column;
}

.product-display .photo a img {
  width: 100%;
  /* box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15); */
  border: 1px solid #e4e4e4;
}

.product-display h2 {
  font-size: calc(100vw / 30);
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #333;
  font-weight: 100;
}

.product-display .price-block {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.product-display .old-price {
  font-size: 2rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.product-display .price {
  font-size: 2rem;
  color: #222;
  font-weight: bold;
  margin-left: 0.5rem;
}

.product-display .photo-format {
  margin-top: 0.5rem;
}

.product-display .add-to-cart-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}

.product-display .quantity {
  display: flex;
  position: relative;
  z-index: 0;
  width: 50%;
}

.product-display .tooltip {
  line-height: normal;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  font-size: 12px;
  padding: 0.5rem;
  background-color: #222222;
  color: #eeeeee;
  border-radius: 4px;
  margin-top: 10px;
  display: block;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
}

.product-display .tooltip::after {
  content: ' ';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #222222 transparent;
  transform: rotate(180deg);
}

.product-display .quantity .q-up,
.product-display .quantity .q-down {
  width: 30%;
  min-width: 60px;
  text-align: center;
  line-height: 60px;
  border: 1px solid #ccc;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  transition: 0.15s linear color;
  background-color: #f7f7f7;
}

.product-display .quantity .q-down {
  color: #e03329;
  border-right: 0;
}

.product-display .quantity .q-up {
  color: #237a18;
}

.product-display .quantity .q-down:hover {
  color: #fff;
  background-color: #e03329;
}

.product-display .quantity .q-up:hover {
  color: #fff;
  background-color: #237a18;
}

.product-display .quantity input {
  line-height: 60px;
  text-align: center;
  outline: 0 !important;
  border-left: 0;
  border-bottom: 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  font-size: 2rem;
  flex: 1;
  box-shadow: inset 0px 2px 3px rgba(0, 0, 0, 0.15);
}

.availability-warning {
  width: 100%;
  min-width: 100%;
  padding: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.availability-warning.warning {
  background-color: #f0cf9f;
  color: #522f12;
}

.availability-warning.danger {
  background-color: #f09f9f;
  color: #521212;
}

.availability-warning.success {
  background-color: #9ff0b1;
  color: #12521d;
}

.product-upload-block {
  margin-top: 2rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 0;
  padding-bottom: 2rem;
  transition: 0.15s linear all;
}

.product-text-block {
  margin-top: 2rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 0;
  padding-bottom: 2rem;
  transition: 0.15s linear all;
}

.product-upload-block.false {
  border-color: #e03329;
}

.product-text-block.false {
  border-color: #e03329;
}

.product-upload-block.false h4 {
  color: #e03329;
  border-color: #e03329;
}

.product-text-block.false h4 {
  color: #e03329;
  border-color: #e03329;
}

.product-upload-block h4 {
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  font-weight: normal;
  transition: 0.15s linear all;
}

.product-text-block h4 {
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  font-weight: normal;
  transition: 0.15s linear all;
}

.product-text-block div {
  margin: 1rem 0;
}

.product-text-block input {
  height: 40px;
  border: 0;
  outline: 0;
  text-indent: 1rem;
  width: 100%;
}

.product-upload-block .uploaded-photos {
  display: flex;
  flex-wrap: wrap;
  margin: 0.5rem -0.5rem 0 -0.5rem;
}

.product-upload-block .uploaded-photos a.uploaded-photo {
  width: calc(50% - 1rem);
  margin: 0.5rem;
  height: 17vw;
  background-color: #fff;
  position: relative;
  z-index: 0;
}

.product-upload-block .uploaded-photos a.uploaded-photo img {
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  object-fit: contain;
  position: relative;
  z-index: 0;
  margin: 0.5rem;
}

.product-upload-block .uploaded-photos a.uploaded-photo .button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
}

.product-upload-block #progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.8rem;
  line-height: 0.8rem;
  vertical-align: middle;
  background-color: #237a18;
  font-size: 0.6rem;
  display: none;
  transition: 0.1s linear all;
}

.product-upload-block #progress .percentage {
  padding-top: 0.05rem;
  padding-right: 0.5rem;
  color: #fff;
  text-align: right;
}

.product-display .add-to-cart {
  /* margin-top: 1.5rem; */
  text-transform: uppercase;
  line-height: 60px;
  font-size: 1.5rem;
  padding-left: calc(60px + 1rem);
  width: 50%;
  background-color: #333;
}
.product-display .add-to-cart.orange {
  background-color: orange;
}

.product-display .add-to-cart.icon.button i {
  width: 60px;
  height: 60px;
  line-height: 60px;
}
.product-actions {
  display: flex;
  align-items: center;
  padding-top: 0.5rem;
}
.add-new-product {
  margin-top: 1rem;
}
.add-new-product i {
  margin-right: 0.5rem;
}

.more-images {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% + 1rem);
  margin: 0 -0.5rem;
}

.more-images .extra-image {
  width: calc(25% - 1rem);
  height: 6.5vw;
  margin: 0.5rem;
  background-color: #fff;
  transition: 0.15s linear all;
  cursor: pointer;
  border: 1px solid #e4e4e4;
  overflow: hidden;
}

.more-images .extra-image:hover {
}

.more-images .extra-image img {
  width: 100%;
  height: 6.5vw;
  object-fit: contain;
}

.more-images .extra-image.active {
  border-color: #e03329;
}

.photo-overlay {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 99999;
}

.photo-overlay img {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 75vw;
  max-height: 75vh;
  z-index: 9999;
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.5);
}

.loader {
  width: 50px;
  height: 50px;
  /* background-color: #f4f4f4; */
  border-radius: 50%;
  display: inline-block;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
}

.photo-overlay .loader {
  background-color: rgba(255, 255, 255, 0.8);
}

.photo-overlay .loader span {
  width: 50px;
  height: 50px;
}

#upload .loader {
  width: 40px;
  height: 40px;
  /* background-color: #f4f4f4; */
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translate(0%, 0%);
  z-index: 99999;
  float: left;
}

.upload-button-block #upload .loader {
  width: 60px;
  height: 60px;
}

.upload-button-block .file-extentions {
  width: 100%;
  margin-top: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.upload-button-block .file-extentions span {
  /* padding: 0.2rem 0.3rem; */
  /* background-color: #e5f9ff; */
  margin-left: 0.3rem;
  border-radius: 4px;
  /* border: 1px solid lightblue; */
  color: #333;
  /* font-size: 0.8rem; */
  font-weight: bold;
}

#upload .loader span {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  margin: 8px;
}

.upload-button-block #upload .loader span {
  display: block;
  width: 34px;
  height: 34px;
  position: relative;
  margin: 13px;
}

#upload .loader span::before {
  border: 3px solid #fff;
  border-bottom-color: transparent;
  border-left-color: transparent;
}

#upload .loader span::after {
  border: 3px solid #fff;
  border-bottom-color: transparent;
  border-left-color: transparent;
}

.add-to-cart .loader {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translate(0%, 0%);
  z-index: 99999;
}

.add-to-cart .loader span {
  display: block;
  width: 54px;
  height: 54px;
  position: relative;
  margin: 8px;
}

.add-to-cart .loader span::before {
  border: 3px solid #fff;
  border-bottom-color: transparent;
  border-left-color: transparent;
}

.add-to-cart .loader span::after {
  border: 3px solid #fff;
  border-bottom-color: transparent;
  border-left-color: transparent;
}

.loader span {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
}

.loader span::before {
  content: '';
  width: 24px;
  height: 24px;
  border: 3px solid #e03329;
  border-radius: 50%;
  border-bottom-color: transparent;
  border-left-color: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: right 0.8s linear infinite;
  transform-origin: top left;
}

.loader span::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 3px solid #e03329;
  border-radius: 50%;
  border-bottom-color: transparent;
  border-left-color: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: left 1s linear infinite;
  transform-origin: top left;
}

@keyframes right {
  0% {
    transform: rotate(0deg) translate(-50%, -50%);
  }

  100% {
    transform: rotate(360deg) translate(-50%, -50%);
  }
}

@keyframes left {
  0% {
    transform: rotate(0deg) translate(-50%, -50%);
  }

  100% {
    transform: rotate(-360deg) translate(-50%, -50%);
  }
}

.photo-overlay .close-photo {
  position: fixed;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 99999;
}

.photo-overlay .go-right {
  position: fixed;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 99999;
}

.photo-overlay .go-left {
  position: fixed;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 99999;
}

.photo-overlay .photo-total {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 1);
  font-size: 0.9rem;
  z-index: 99999;
  display: none;
}

.product-display .description {
  line-height: 1.5rem;
  color: #444;
  font-size: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #ccc;
}

.product-categories {
  padding: 1rem 0;
  border-top: 1px solid #ccc;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.product-categories * {
  margin: 0 0.5rem 0.5rem 0;
}

.mini-cart {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.15);
  width: 100vw;
  min-width: 100vw;
  max-height: 100vh;
  height: 100vh;
}

.mini-cart h4 {
  font-size: 1.2rem;
  font-weight: normal;
}

.overlay .fade-in.mini-cart h2 {
  margin-bottom: 1rem;
}

.overlay .address-block h2 {
  margin-bottom: 1rem;
}

.mini-cart .flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  overflow-y: scroll;
  height: 100%;
  padding: 0 5rem;
}
.mini-cart-total {
  padding: 0 5rem;
}

.in-cart-product {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.in-cart-product .photo {
  width: 80px;
  height: 80px;
  padding: 0;
}

.in-cart-product .photo img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.in-cart-product .photo i {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: #ccc;
}

.in-cart-product > div {
  padding: 0.5rem;
}

.in-cart-product > div.quantity {
  min-width: 50px;
  text-align: center;
}

.in-cart-product > div.remove-from-mini-cart,
.in-cart-product > a.edit-photos-in-cart {
  width: 50px;
  min-width: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.in-cart-product > a.edit-product-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.2rem;
}

.done .in-cart-product > div.remove-from-mini-cart,
.done .in-cart-product > a.edit-photos-in-cart {
  display: none;
}

.in-cart-product > div.name {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.in-cart-product > div.name .warning {
  font-size: 0.9rem;
  color: orange;
}
.in-cart-product > div.name .warning a {
  font-weight: bold;
  color: #237a18;
}

.in-cart-product > div.name img.bfly {
  height: 1rem;
  margin-left: 0.5rem;
}

.in-cart-product > div.name p {
  margin: 0;
  line-height: 1.5rem;
}

.in-cart-product > div.name table {
  font-size: 0.9rem;
  max-width: 400px;
}

.in-cart-product > div.name table td {
  padding: 0 0.3rem;
}

.in-cart-product > div.name table td .warning {
  color: #e03329;
}

.in-cart-product > div.name small {
  color: #e03329;
}

.in-cart-product > div.remove-from-mini-cart i {
  cursor: pointer;
  color: #e03329;
}

.mini-cart-total,
.cart-row {
  display: flex;
  text-align: right;
  font-size: 1.2rem;
  width: 100%;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.cart-row.delivery-type.invalid,
.cart-row.declaration-row.invalid .text {
  color: red;
}

.cart-row.delivery-type.invalid select {
  border-color: red;
}

.cart-row.order-type {
  align-items: flex-start;
}

.mini-cart-total > div,
.cart-row > div {
  padding: 1rem 0.5rem;
}

.mini-cart-total .text {
  flex: 1;
  align-self: stretch;
}

.mini-cart-total .sum {
  margin-left: auto;
  font-size: 1.5rem;
  /* margin-right: 50px; */
  width: 250px;
}

.cart-row .text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.cart-row .text p {
  margin: 0;
  font-size: 0.9rem;
}

.cart-row .text select {
  margin-left: auto;
  height: 30px;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  outline: 0;
  font-size: 1rem;
}

.cart-row .sum {
  margin-left: auto;
  margin-right: 50px;
  width: 200px;
  align-self: center;
}

.cart-row.order-type .sum,
.cart-row.declaration-row .sum,
.cart-row.invoice-block .sum {
  margin-left: auto;
  margin-right: 0px;
  width: 250px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-right: 0.5rem !important;
}

.cart-row.delivery-type .sum,
.cart-row.grand-total .sum,
.cart-row.express-addon .sum,
.cart-row.mini-cart-total .sum {
  margin-right: 0px;
  width: 250px;
}

.cart-row .toggle-box {
  height: 40px;
  width: 100%;
  position: relative;
  z-index: 0;
  font-size: 0.9rem;
  line-height: 40px;
  background-color: #ddd;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.15);
  color: #999;
}

.cart-row .toggle-box > div {
  width: 50%;
  text-align: center;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: 0.15s linear color;
}

.cart-row .toggle-box > div.left {
  color: #fff;
}

.cart-row .toggle-box.active > div.left {
  color: #999;
}

.cart-row .toggle-box.active > div.right {
  color: #fff;
}

.cart-row .toggle-box::after {
  content: '';
  width: 50%;
  background-color: #e03329;
  height: 40px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  box-shadow: inset 0px 2px 3px rgba(255, 255, 255, 0.2),
    inset 0px -2px 3px rgba(0, 0, 0, 0.15);
  transition: 0.15s ease-in-out left;
}

.cart-row .toggle-box.active::after {
  left: 50%;
}

.cart-row .sum .switch-box {
  margin: 0;
}

.mini-cart-complete {
  width: 100%;
  padding: 2rem 5rem;
  text-align: right;
}
.mini-cart-complete .warning {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: orange;
}

.selection {
  position: relative;
  z-index: 0;
  padding: 1rem 1rem 0;
  background-color: #fff;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
}

.selection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  opacity: 0;
}

.selection .selection-row {
  display: flex;
  margin-bottom: 1rem;
}

.selection .selection-row .label {
  /* margin-bottom: 0.5rem; */
  padding: 0.3rem 1rem;
  background-color: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 0 !important;
}

.selection .selection-row input {
  line-height: 48px;
  outline: 0;
  padding: 0;
  text-indent: 1rem;
  font-size: 1.2rem;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.25);
  text-align: center;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  opacity: 1;
}

.selection .quantity {
  width: 20%;
  min-width: 150px;
  margin-right: 1rem;
  display: flex;
  flex-direction: column;
}

.selection .formats-block {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.selection .formats {
  display: flex;
  width: 100%;
}

.selection .formats .format {
  flex: 1;
  text-align: center;
  background-color: #fff;
  line-height: 50px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-right: 0;
}

.selection .formats .format:last-child {
  border-right: 1px solid rgba(0, 0, 0, 0.25);
}

.selection .formats .format.active {
  color: #fff;
  background-color: #e03329;
}

.selection .formats .format.disabled {
  color: #999;
  background-color: #ddd;
}

.papper-block {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.correction-block {
  flex: 0;
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
}

.pappers {
  display: flex;
}

.pappers .papper {
  flex: 1;
  text-align: center;
  background-color: #fff;
  line-height: 1;
  padding: 1rem;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-right: 0;
  position: relative;
  z-index: 1;
}

.pappers .papper:last-child {
  border-right: 1px solid rgba(0, 0, 0, 0.25);
}

.pappers .papper.active {
  color: #fff;
  background-color: #e03329;
  position: relative;
}

.pappers .papper.active::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-left: 1px solid lightblue;
  border-top: 1px solid lightblue;
  background-color: #e5f9ff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  top: calc(100% + 6px);
}

.corrections {
  display: flex;
}

.corrections .correction {
  padding: 0 1rem;
  background-color: #fff;
  line-height: 50px;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-right: 0;
}

.corrections .correction:last-child {
  border-right: 1px solid rgba(0, 0, 0, 0.25);
}

.corrections .correction.active {
  color: #fff;
  background-color: #e03329;
}

.upload-button-block {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
  flex-direction: column;
}

.upload-button-block .button {
  height: 60px;
  line-height: 60px;
  padding: 0 1rem 0 calc(60px + 1rem);
  font-size: 1.3rem;
}

.upload-button-block .button i {
  height: 60px;
  width: 60px;
  line-height: inherit;
}

.user-photos {
}

.uploaded-user-photos,
.old-photos {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem 5rem;
}

.user-photos .photo {
  width: calc(20% - 1rem);
  margin: 0.5rem;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 0;
  background-color: #fff;
}

.user-photos .photo.warning {
  background-color: rgba(255, 0, 0, 0.1);
}

.user-photos .photo.warning .top input {
  background-color: transparent;
}

.user-photos .photo.warning,
.user-photos .photo.warning .top * {
  border-color: orangered !important;
}

.user-photos .photo a {
  height: 14vw;
  width: 100%;
  position: relative;
  z-index: 0;
  transition: 0ms;
  transition: 0.15s ease-in-out transform;
}
.old-photo {
  width: calc(20% - 1rem);
  height: 14vw;
  position: relative;
  z-index: 0;
  background-color: #fff;
  margin: 0.5rem;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.old-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}
.old-photo h3 {
  padding: 1rem;
  text-align: center;
  font-weight: normal;
  font-size: 1rem;
}
.old-photo h3 span {
  font-weight: bold;
  color: #333;
}
.old-photo .bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 0.5rem 0.5rem;
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
  color: #333;
  font-size: 0.9rem;
  text-align: center;
}
.old-photo .warning-text {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.user-photos .photo a .frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  outline: 1px solid darkgreen;
  z-index: 10;
  width: calc(100% - 1rem);
  height: calc(((100% - 1rem) / 3) * 2);
  opacity: 0;
}

.user-photos .photo a .top,
.user-photos .photo a .bottom,
.user-photos .photo a .left,
.user-photos .photo a .right {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 9;
  backdrop-filter: blur(1px);
  opacity: 0;
}

.user-photos .photo.hor a .top {
  top: 0;
  left: 0.5rem;
  right: 0.5rem;
  height: calc((100% - (((100% - 1rem) / 3) * 2)) / 2);
}

.user-photos .photo.hor a .bottom {
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  height: calc((100% - (((100% - 1rem) / 3) * 2)) / 2);
}

.user-photos .photo.ver a .left {
  top: 0;
  left: 0;
  bottom: 0;
  width: calc((100% - (((100% - 1rem) / 3) * 2)) / 2);
}

.user-photos .photo.ver a .right {
  top: 0;
  right: 0;
  bottom: 0;
  width: calc((100% - (((100% - 1rem) / 3) * 2)) / 2);
}

.user-photos .photo a .frame.ver {
  height: calc(100% - 1rem);
  width: calc(((100% - 1rem) / 3) * 2);
}

.user-photos .photo a .rotate-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.user-photos .photo img {
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  object-fit: contain;
  position: relative;
  z-index: 0;
  margin: 0.5rem;
}

.user-photos .photo a i {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  text-align: center;
  line-height: 40px;
  vertical-align: middle;
  border-radius: 50%;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
  font-size: 1.2rem;
  z-index: 100;
  color: #333;
  display: none;
}

.user-photos .photo a i.fa-redo {
  right: 0.5rem;
  left: auto;
}

.user-photos .photo a i.fa-undo {
  left: 0.5rem;
  right: auto;
}

.user-photos .photo .top {
  display: flex;
  position: relative;
  z-index: 10;
  background-color: #fff;
}

.user-photos .photo .top .quantity {
  width: 60px;
  border-bottom: 1px solid #ccc;
}

.user-photos .photo .top .quantity input {
  width: 100%;
  text-align: center;
  height: 40px;
  line-height: 40px;
  border: 0;
  outline: 0;
  border-right: 1px solid #ccc;
  font-size: 1rem;
}

.user-photos .photo .top .format {
  flex: 1;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  border-bottom: 1px solid #ccc;
}

.user-photos .photo .top .format i {
  margin-left: 0.5rem;
}

.user-photos .photo .photo-formats {
  position: absolute;
  z-index: 100;
  top: 40px;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  line-height: normal;
}

.user-photos .photo .delete-photo-container {
  position: absolute;
  z-index: 100;
  top: 40px;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  line-height: normal;
}

.user-photos .photo .photo-formats-block {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.user-photos .photo .delete-photo-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.user-photos .photo .delete-photo-block .delete-photo {
  background-color: #e03329;
  color: #fff;
  padding: 0.5rem 1rem;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.user-photos .photo .delete-photo-block .cancel {
  background-color: #fff;
  color: #333;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.user-photos .photo .delete-photo-block .delete-photo i {
  margin-right: 0.5rem;
}

.user-photos .photo .photo-format {
  padding: 0 0.7rem;
  font-size: 0.9rem;
  background-color: #fff;
  margin: 0.3rem;
  cursor: pointer;
  height: 30px;
  line-height: 30px;
  align-self: center;
}

.user-photos .photo .photo-format.active {
  background-color: #0b8f06;
  color: #fff;
}

.photos-data {
  width: 100%;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
  background-color: #eee;
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.15);
}

.photos-data table {
  width: 100%;
  background-color: #fff;
  margin-bottom: 1rem;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  border: 0;
  border-collapse: collapse;
  border-radius: 3px;
  overflow: hidden;
}

.photos-data table tr.header {
  background-color: rgba(0, 0, 0, 0.45);
}

.photos-data table th {
  padding: 0.5rem;
  text-align: left;
  color: #fff;
  font-weight: normal;
  box-shadow: 1px 0px 0px #999;
}

.photos-data table th:last-child {
  box-shadow: 0px 0px 0px #eee;
}

.photos-data table th.text-right {
  text-align: right;
}

.photos-data table td {
  padding: 0.5rem;
  box-shadow: 1px 0px 0px #ddd;
}

.mobile .photos-data table td,
.mobile .photos-data table th {
  padding: 0.2rem;
  font-size: 0.8rem;
}

.photos-data table td .flex {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.mobile .photos-data table td .flex {
  flex-direction: column;
}

.mobile .photos-data table td .warning {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  border: 0;
  padding: 0;
}

.photos-data table td .warning {
  font-size: 0.9rem;
  color: #e03329;
  padding: 0.2rem 0.3rem;
  border: 1px solid #e03329;
  display: inline-block;
  margin-left: 0.5rem;
}

.photos-data table td:last-child {
  box-shadow: 0px 0px 0px #ddd;
}

.photos-data table td.small-text {
  font-size: 0.9rem;
  color: #e03329;
}

.photos-data table tr.border {
  box-shadow: 0px 1px 0px #ddd;
}

.photos-data table tr.total-row {
  box-shadow: 0px 1px 0px #ddd;
  font-size: 1.2rem;
}

.photos-data table tr.total-row td {
  padding: 1rem 0.5rem;
}

.mobile .photos-data .delete-all-photos {
  margin-top: 1rem;
}

.photos-data .pull-right {
  order: 2;
  margin-left: auto;
}

.photos-data .delete-all-photos {
  /* margin-left: auto; */
  order: 1;
}

.delete-all-overlay,
.upload-progress-overlay {
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}

.delete-all-content {
  width: 600px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  display: none;
}

.mobile .delete-all-content {
  width: 100%;
}

.mobile .delete-all-content .buttons {
  flex-direction: column;
}

.mobile .delete-all-content .buttons .button {
  width: 100%;
  text-align: center;
}

.mobile .delete-all-content .buttons .button.cancel {
  margin-top: 1rem;
}

.upload-progress-content {
  min-width: 600px;
  width: 80vw;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: none;
}

.mobile .upload-progress-content {
  width: 100%;
  min-width: 100%;
}

.delete-all-content h3 {
  padding: 2rem 1rem;
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 1.8rem;
  font-weight: normal;
}

.upload-progress-content h3 {
  padding: 1rem;
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 1.8rem;
  font-weight: normal;
  background-color: #000;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-progress-content h3 .loader {
  transform: translate(0, 0);
  margin-right: 1rem;
  left: auto;
  top: auto;
  width: 50px;
  height: 50px;
  max-width: 50px;
  max-height: 50px;
  min-width: 50px;
  min-height: 50px;
}

.upload-progress-content h3 .loader span {
  width: 44px;
  height: 44px;
}

.upload-progress-content h3 i {
  margin-right: 1rem;
}

.upload-progress-content h5 {
  padding: 0.5rem 1rem;
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  font-weight: normal;
  color: #e03329;
  margin-bottom: 1rem;
}

.upload-progress-content .files-count {
  display: flex;
  margin: 0 1rem 2rem;
  align-items: center;
  justify-content: center;
}

.upload-progress-content .files-count .uploaded {
  position: relative;
}

.upload-progress-content .files-count .uploaded #progress-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* .upload-progress-content .files-count .uploaded #progress-body .progress-bar {
  transition: 0.05s linear width;
} */

.upload-progress-content
  .files-count
  .uploaded
  #progress-body
  .small-percentage {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateX(-50%);
  margin-top: 5px;
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
}

.upload-progress-content
  .files-count
  .uploaded
  #progress-body
  .small-percentage::before {
  position: absolute;
  bottom: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 7.5px 10px 7.5px;
  border-color: transparent transparent #333333 transparent;
}

.mobile .upload-progress-content .files-count {
  flex-direction: column;
}

.upload-progress-content .files-count > div {
  display: flex;
  flex-direction: column;
  margin: 0 1rem;
  width: 120px;
}

.upload-progress-content .files-count > div .text {
  padding: 0.3rem;
  font-size: 1rem;
  text-align: center;
}

.upload-progress-content .files-count > div .number {
  text-align: center;
  padding: 1rem 0;
  font-size: 2.5rem;
}

.upload-progress-content .progress-body {
  background-color: #ddd;
  width: 100%;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.15);
  height: 30px;
}

@keyframes progress-bar-stripes {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 40px 0;
  }
}

.upload-progress-content .progress-bar-total {
  width: 30px;
  min-width: 30px;
  margin: 5px;
  height: 20px;
  background-color: #0b8f06;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25),
    inset 0px 5px 10px rgba(255, 255, 255, 0.25),
    inset 0px -5px 10px rgba(0, 0, 0, 0.25);
  float: left;
  text-align: right;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 10px;
  border-radius: 20px;
  background-image: -webkit-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-image: -o-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-image: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-size: 40px 40px;
  -webkit-animation: progress-bar-stripes 2s linear infinite;
  -o-animation: progress-bar-stripes 2s linear infinite;
  animation: progress-bar-stripes 2s linear infinite;
}

.delete-all-content .buttons {
  display: flex;
  padding: 1rem;
  background-color: #ddd;
  border-top: 1px solid #ccc;
}

.delete-all-content .buttons .cancel {
  margin-left: auto;
  background-color: #fff;
  color: #333;
  line-height: normal;
}

.selection .papper-descriptions .papper-description {
  display: none;
  border: 1px solid lightblue;
  padding: 0.5rem;
  margin-top: 10px;
  background-color: #e5f9ff;
  font-size: 0.9rem;
  color: #333;
}

.selection .papper-descriptions .papper-description.active {
  display: block;
}

#progress-body {
  margin: 0.5rem 10px;
}

#progress {
  background-color: #e03329;
  height: 6px;
  border-radius: 6px;
  /* transition: 0.15s linear all; */
}

.user-photos .photo .loader {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  width: 44px;
  height: 44px;
}
.user-photos .photo .loader span {
  margin: 0 !important;
}
.user-photos .photo .loader span {
  width: 44px;
  height: 44px;
}

.login-register .register {
  margin-left: 2rem;
}

.page-content {
  line-height: 1.5rem;
  margin-bottom: 5rem;
}

.to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  font-size: 1.5rem;
  background-color: rgba(70, 130, 180, 0.8);
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
  color: #fff;
  cursor: pointer;
  display: none;
}

#map {
  width: 100%;
  height: 25vw;
  min-height: 300px;
  margin-top: auto;
}

.contact-details {
  display: flex;
  flex-direction: column;
  margin: 3rem 0 3rem;
  padding-right: 2rem;
}

.contact-details > div {
  display: flex;
  flex-direction: row;
  line-height: 1.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #ccc;
}

.contact-details > div i {
  width: 1rem;
  min-width: 30px;
  height: 30px;
  text-align: left;
  line-height: 30px;
  vertical-align: middle;
  font-size: 1rem;
}

.contact-details > div p {
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  margin: 1rem 0 3rem;
  min-height: 300px;
  flex: 1;
  min-width: 50%;
  padding: 0 1.5rem 1rem;
  background-color: #eee;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  /* background: repeating-linear-gradient(-45deg, #ddd, #ddd 10px, #eee 10px, #eee 20px); */
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form form .form-row {
  margin-bottom: 0;
}

.contact-form form .form-row label {
  z-index: 1;
}

.contact-form form .form-row input,
.contact-form form .form-row textarea {
  background-color: #fff;
  z-index: 0;
}

.contact-form .button i {
  display: none;
}

.user-profile {
  display: flex;
}

.user-profile .personal-data {
  width: 45%;
  padding: 0 1rem;
}

.user-profile .user-addresses {
  width: 55%;
  padding: 0 1rem;
}

.user-profile p {
  margin: 0;
  line-height: 1.5rem;
}

.user-profile .address p.mb {
  margin-bottom: 0.5rem;
}

.user-profile > div.addresses {
  display: flex;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.user-profile > div h2 {
  width: 100%;
  font-weight: normal;
  border-bottom: 1px solid #333;
  margin: 0 0 1rem 0;
  padding-bottom: 1rem;
}

.user-orders {
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
  margin-top: 2rem;
}

.user-orders h2 {
  width: 100%;
  font-weight: normal;
  border-bottom: 1px solid #333;
  margin: 0 0 1rem 0;
  padding-bottom: 1rem;
}

.user-orders a.order {
  display: flex;
  margin: 0.5rem 0;
  border: 1px solid #999;
}

.user-orders a.order.orange,
.user-orders a.order.orange * {
  border-color: #e03329;
  color: #e03329;
}

.user-orders a.order.orange .state {
  color: #e03329;
}

.user-orders a.order > div {
  padding: 1rem;
  flex: 1;
  text-align: right;
  border-right: 1px solid #999;
}

.user-orders a.order > div.number,
.user-orders a.order > div.date {
  text-align: left;
}

.user-orders a.order > div.view {
  border-right: 0;
}

.user-orders a.button {
  margin-right: auto;
  margin-top: 1rem;
}

.user-profile > div .address {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #999;
  margin: 0.5rem;
  display: flex;
  flex-direction: column;
}

.user-profile > div .address.active {
  width: 100% !important;
}

.user-profile > div .address.active,
.user-profile > div .address.active h3 {
  border-color: green;
}

.user-profile > div .address h3 {
  margin: 0 0 0.5rem 0;
  padding: 0 0 0.5rem 0;
  font-weight: normal;
  border-bottom: 1px solid #999;
  display: flex;
  align-items: center;
}

.user-profile > div .address h3 a {
  margin-left: auto;
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem;
}

.default-block {
  display: flex;
  margin-top: auto;
  padding-top: 0.5rem;
  align-items: center;
  border-top: 1px solid #999;
}

.default-block .box {
  margin: 0 0 0 auto;
}

.default-block .switch-box {
  margin: 0;
}

.address-options,
.invoice-actions {
  display: flex;
  font-size: 0.8rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.invoice-details {
  margin-top: 0.5rem;
}

.address-options > div,
.invoice-actions > div {
  margin-left: 1rem;
  color: #e03329;
  cursor: pointer;
  text-decoration: underline;
}

.address-options > div i,
.invoice-actions > div i {
  margin-right: 0.3rem;
}

.express-addon {
  display: none;
}

.express-addon table {
  margin-left: auto;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.order-type-info {
  display: none;
}

.order-type-info.active {
  display: block;
}

.grand-total {
  font-size: 1.5rem;
}

.loading-icon {
  color: #eee;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
}

.overlay .address,
.overlay .invoice {
  padding: 1rem;
  margin: 1rem 2rem 0;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: 0.15s linear all;
}

.overlay .address:hover,
.overlay .invoice:hover {
  background-color: #eee;
  border-color: #bbb;
}

.overlay .address.active,
.overlay .invoice.active {
  border-color: green;
}

.overlay .address p,
.overlay .invoice p {
  margin: 0;
  line-height: 1.5rem;
}

.declaration-overlay i.fa-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.8rem;
  z-index: 999999;
}

.fa-spinner {
  -webkit-animation: fa-spin 0.8s infinite linear !important;
  animation: fa-spin 0.8s infinite linear !important;
}

@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.declaration-block .buttons {
  padding: 1rem;
  margin: 1rem -2rem -1rem;
  background-color: #ccc;
  border-top: 1px solid #aaa;
}

.finish-block {
  position: absolute;
  z-index: 999999;
  width: 600px;
  background-color: #fff;
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.5);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.finish-block h2 {
  margin: 0 0 1rem;
  padding: 1rem 2rem;
  background-color: #e4e4e4;
  font-weight: normal;
  border-bottom: 1px solid #dddddd;
  color: #666666;
  font-size: 2rem;
  position: relative;
}

.finish-block > div.text {
  padding: 1rem 2rem;
}

.finish-block > div.finish-progress {
  background-color: #ddd;
  width: 100%;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.15);
  height: 30px;
  margin-top: 1rem;
}

@keyframes progress-bar-stripes {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 40px 0;
  }
}

.finish-progress-bar {
  width: 30px;
  min-width: 30px;
  margin: 5px;
  height: 20px;
  background-color: #0b8f06;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25),
    inset 0px 5px 10px rgba(255, 255, 255, 0.25),
    inset 0px -5px 10px rgba(0, 0, 0, 0.25);
  float: left;
  text-align: right;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 10px;
  border-radius: 20px;
  background-image: -webkit-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-image: -o-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-image: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-size: 40px 40px;
  -webkit-animation: progress-bar-stripes 2s linear infinite;
  -o-animation: progress-bar-stripes 2s linear infinite;
  animation: progress-bar-stripes 2s linear infinite;
}

.order-data {
  display: flex;
  border-bottom: 1px solid #ddd;
  font-size: 1.3rem;
  background-color: #eee;
}

.order-data > div {
  flex: 1;
  padding: 1rem 0.5rem;
}

.order-data > div.state {
  text-align: right;
  border-right: 0;
  padding-right: calc(50px + 0.5rem);
}

.more-products-block {
  margin-top: 5rem;
  width: 100%;
}

.more-products {
  display: flex;
}

.more-products-block > h2 {
  font-size: calc(100vw / 40);
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #333;
  font-weight: 100;
}

.new-block {
  margin-bottom: 1rem;
}

.new-block > h2 {
  font-size: calc(100vw / 40);
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #333;
  font-weight: 100;
}

.new-items {
  display: flex;
  margin: 0 -1rem;
}

.new-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  margin: 1rem;
  border: 1px solid #ddd;
  transition: 0.15s linear all;
  overflow: hidden;
}

.new-item:hover {
  border-color: #0b8f06;
}

.new-item .description {
  margin-bottom: 1rem;
  color: #666;
}

.new-item .button {
  margin-top: auto;
  background-color: #e03329;
}

.new-item > h3 {
  /* font-size: calc(100vw/50); */
  font-size: 2rem;
  margin: -1rem -1rem 1rem -1rem;
  padding: 0.5rem 1rem 0.5rem 4rem;
  font-weight: 100;
  color: #000;
  font-weight: normal;
  border-bottom: 1px solid #ddd;
  transition: 0.15s linear all;
  position: relative;
  z-index: 0;
}

.new-item > h3 span {
  position: absolute;
  transform: rotate(-45deg);
  font-size: 1rem;
  padding: 0.5rem 3rem;
  background-color: #0b8f06;
  color: #fff;
  left: -2.5rem;
  top: 0.3rem;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
  transition: 0.15s linear all;
}

.new-item:hover > h3 {
  border-color: #0b8f06;
  color: #0b8f06;
}

.new-item:hover > h3 span {
  /* background-color: #e03329; */
}

.new-item:hover .button {
  background-color: #0b8f06;
}

.top-products-block > h2 {
  font-size: 2.5rem;
  margin: 0 1rem 1rem 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #333;
  font-weight: 100;
  display: flex;
  align-items: center;
}

.top-products-block > h2 a {
  margin-left: auto;
  font-size: 1rem;
}

.top-products-block.new-products {
  margin-top: 4rem;
}

.top-products {
  display: flex;
  flex-wrap: wrap;
}

p.register-info {
  margin: 2rem 0 0;
  padding: 0.5rem;
  border: 1px solid #e03329;
  color: #e03329;
  margin-bottom: 2rem;
}

.order-border .login-register {
  margin: 0 1rem 1rem;
}

.similar-products {
  display: flex;
  flex-wrap: wrap;
}

.similar-products h5 {
  width: 100%;
  font-weight: normal;
  font-size: 1.1rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #333;
}

.similar-product {
  width: 80px;
  height: 80px;
  margin: 0.3rem;
  position: relative;
  z-index: 0;
  border: 2px solid transparent;
}

.similar-product.active {
  border-color: #0b8f06;
}

.similar-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.similar-product .size {
  position: absolute;
  left: 0.3rem;
  bottom: 0.3rem;
  z-index: 1;
  padding: 0.2rem 0.4rem;
  background-color: #12521d;
  color: #fff;
  font-size: 0.8rem;
}

.order-border {
  border: 1px solid #ccc;
}

.order-border .cart-row .text,
.order-border .mini-cart-total .text {
  border-right: 1px solid #ccc;
}

.view-order .grand-total {
  border-bottom: 0;
}

.combined-info {
  font-size: 0.8rem;
  color: #0b8f06;
}

.in-promo {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.in-promo img {
  height: 30px;
  margin-right: 0.5rem;
}

.promo-block .promo img {
  height: 1rem;
}

.promo-true {
  font-size: 1rem;
  color: #0b8f06;
}

.promo-success {
  font-size: 0.9rem;
  color: #0b8f06;
  margin-top: 0.5rem;
}
.promo-success .red {
  color: orange;
}

.express-promo {
  color: #0b8f06;
}

table.format-prices {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  text-align: left;
}

table.format-prices,
table.format-prices * {
  border: 1px inset #ccc;
  border-collapse: collapse;
  border-spacing: 0;
}

table.format-prices th,
table.format-prices td {
  padding: 0.5rem;
}

table.format-prices th.table-heading {
  font-size: 1.2rem;
  background-color: #ddd;
}

tr.text-right td {
  text-align: right;
}

tr.text-right td:first-child,
tr.text-right th:first-child {
  text-align: left;
}

h2.prices-heading {
  font-weight: normal;
  margin-top: 1rem;
}

.format_2030_info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.format_2030_info div {
  margin-left: 0.5rem;
  color: #e03329;
  font-weight: bold;
  cursor: pointer;
}
.toggle-menu {
  display: none;
}

@media only screen and (max-width: 900px) {
  body {
    padding-bottom: 60px;
    padding-top: 60px;
  }

  article,
  header,
  footer,
  nav,
  .breadcrumbs {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  header .logo {
    margin: 0 auto;
  }

  .logo img {
    height: 50px;
    margin: 5px 0;
  }

  .top-products,
  .cat-showcase,
  .new-items {
    flex-direction: column;
  }

  .cat-showcase a,
  .products .product {
    width: calc(100% - 2rem);
  }

  .products .product img,
  .products .product .photo {
    height: 80vw !important;
  }

  .in-footer .menu {
    margin-bottom: 3rem;
  }

  .in-footer .module {
    padding: 0;
  }

  .copyright {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .copyright .developer {
    margin: 1rem auto 0;
  }

  .user-block {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;
    z-index: 100;
  }

  header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
    width: 100%;
  }

  .user-block .header-button {
    height: 50px;
    line-height: 50px;
    flex: 1;
    justify-content: center;
    align-items: center;
    margin: 0;
    border-radius: 0;
    border-right: 1px solid #ddd;
  }

  .user-block .header-button:last-child {
    border-right: 0px solid #ddd;
  }

  nav#main-menu {
    position: fixed;
    top: 0;
    height: 100vh;
    z-index: 99980;
    flex-direction: column;
    /* justify-content: center; */
    width: 100%;
    left: -110%;
    /* display: none; */
    padding: 60px 0 !important;
    transition: 0.4s ease-out left;
  }

  nav#main-menu.on {
    left: 0;
  }

  nav#main-menu ul li.menu-cart {
    display: none;
  }

  nav#main-menu ul {
    display: block;
    overflow-y: scroll;
  }

  nav#main-menu ul a {
    text-align: left;
    justify-content: flex-start;
    color: #eee;
    line-height: 50px;
    font-size: 1.2rem !important;
    flex: 1;
    padding: 0 2rem;
  }

  nav#main-menu ul ul li a {
    line-height: 50px !important;
  }

  #main-menu ul li ul li:hover > a {
    background-color: rgba(0, 0, 0, 0.5);
  }

  #main-menu a .arrow-down div {
    transform: rotate(-90deg);
  }

  #main-menu ul ul a.has-arrow .arrow-right {
    transform: rotate(90deg);
    width: 50px;
    height: 50px;
  }

  #main-menu ul ul a.has-arrow .arrow-right div {
    width: 50px;
    height: 50px;
  }

  #main-menu ul ul a.has-arrow .arrow-right div::before,
  #main-menu ul ul a.has-arrow .arrow-right div::after {
    background-color: #fff;
  }

  #main-menu a.has-arrow,
  #main-menu ul ul a.has-arrow {
    padding: 0 65px 0 2rem;
  }

  .toggle-menu {
    width: 50px;
    height: 50px;
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 99999;
    cursor: pointer;
    display: block;
  }

  .toggle-menu .rel {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .toggle-menu.close.on .rel {
    transform: rotate(180deg);
  }

  .toggle-menu .bar {
    width: 80%;
    height: 4px;
    border-radius: 4px;
    background-color: #e03329;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
  }

  .toggle-menu .bar:nth-child(1) {
    top: 30%;
    transform-origin: 50% 50%;
  }

  .toggle-menu.close .bar:nth-child(1) {
    animation: tl 0.4s ease-out forwards;
  }

  .toggle-menu.out .bar:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: ol 0.4s ease-out forwards;
  }

  @keyframes tl {
    0% {
      top: 30%;
    }

    50% {
      top: 50%;
      transform: translate(-50%, -50%);
    }

    100% {
      top: 50%;
      transform: translate(-50%, -50%) rotate(45deg);
    }
  }

  @keyframes ol {
    0% {
      top: 50%;
      transform: translate(-50%, -50%) rotate(45deg);
    }

    50% {
      top: 50%;
      transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
      top: 30%;
      transform: translate(-50%, -50%) rotate(0deg);
    }
  }

  .toggle-menu .bar:nth-child(2) {
    transition: 0.005s ease-out opacity;
    transition-delay: 0.2s;
  }

  .toggle-menu .bar:nth-child(3) {
    top: 70%;
    transform-origin: 50% 50%;
  }

  .toggle-menu.close .bar:nth-child(3) {
    top: 70%;
    animation: tb 0.4s ease-out forwards;
  }

  .toggle-menu.out .bar:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation: ob 0.4s ease-out forwards;
  }

  @keyframes tb {
    0% {
      top: 70%;
    }

    50% {
      top: 50%;
      transform: translate(-50%, -50%);
    }

    100% {
      top: 50%;
      transform: translate(-50%, -50%) rotate(-45deg);
    }
  }

  @keyframes ob {
    0% {
      top: 50%;
      transform: translate(-50%, -50%) rotate(-45deg);
    }

    50% {
      top: 50%;
      transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
      top: 70%;
      transform: translate(-50%, -50%) rotate(0deg);
    }
  }

  .toggle-menu.close .bar:nth-child(2) {
    opacity: 0;
  }

  nav#main-menu ul li {
    border-left: 0 !important;
    border-right: 0 !important;
    border-right: 0;
    flex-grow: unset;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.05);
  }

  nav#main-menu ul li:last-of-type {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.15),
      inset 0px 1px 0px rgba(255, 255, 255, 0.05);
  }

  #main-menu ul ul,
  #main-menu ul ul ul {
    display: block !important;
    justify-content: center;
    position: fixed;
    top: 0;
    left: -110%;
    height: 100vh;
    width: 100vw;
    min-height: 100vh;
    z-index: 99970;
    background-color: #444;
    transition: 0.4s ease-out left;
    box-shadow: 5px 10px rgba(0, 0, 0, 0.15);
    overflow-y: scroll;
    padding: 50px 0 0;
  }

  #main-menu ul ul ul {
    z-index: 99980;
  }

  #main-menu ul ul ul ul {
    z-index: 99990;
  }

  #main-menu ul ul.on {
    left: 0;
  }

  #main-menu .back-arrow {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 50px;
    height: 50px;
    position: fixed;
    top: 0;
    right: 0;
    /* z-index: 999999; */
    cursor: pointer;
  }

  #main-menu ul.on > .back-arrow {
    display: flex;
  }

  #main-menu .back-arrow div {
    display: inline-block;
    width: 50px;
    height: 50px;
    position: relative;
  }

  #main-menu .back-arrow div::after {
    content: '';
    width: 40%;
    height: 4px;
    border-radius: 4px;
    background-color: #e03329;
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    transform-origin: bottom left;
  }

  #main-menu .back-arrow div::before {
    content: '';
    width: 40%;
    height: 4px;
    border-radius: 4px;
    background-color: #e03329;
    position: absolute;
    top: calc(50% + 2px);
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    transform-origin: top left;
  }

  nav#main-menu ul li {
    /* flex-grow: 1; */
    margin: 0;
    padding: 0;
    display: flex;
  }

  .products {
    margin: 0;
  }

  .product-display {
    flex-direction: column;
  }

  .product-display .photo {
    width: 100%;
  }

  .product-display .data {
    width: 100%;
    margin: 0;
  }

  .product-display h2 {
    font-size: 2rem;
  }

  .product-display .add-to-cart-block {
    flex-direction: column;
  }

  .product-display .quantity {
    width: 100%;
  }

  .product-display .add-to-cart {
    width: 100%;
  }

  .more-products {
    flex-direction: column;
  }

  .more-images .extra-image,
  .more-images .extra-image img {
    height: 18vw;
  }

  .more-products-block > h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .product-display .old-price,
  .product-display .price {
    font-size: 1.5rem;
  }

  .in-footer {
    flex-direction: column;
  }

  .in-footer .menu a {
    text-align: center;
  }

  .paging-options .pull-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .paging-options .pull-right label {
    margin-bottom: 0.5rem;
    text-align: right;
  }

  article.flex {
    flex-direction: column;
  }

  .form-row .button,
  .photos-data .button {
    line-height: 50px;
    padding: 0px 1rem 0px calc(50px + 1rem);
    width: 100%;
  }

  .contact-form {
    margin: 0;
  }

  .contact-details {
    margin-top: 0;
    padding: 0;
  }

  .button.small.icon {
    width: 100%;
    text-align: center;
  }

  .product-upload-block .uploaded-photos a.uploaded-photo {
    width: calc(100% - 1rem);
    height: auto;
  }

  .format_2030_info {
    display: block;
    margin-bottom: 0.5rem;
  }

  .format_2030_info * {
    display: inline;
  }

  .selection {
    border: 0;
    padding: 0;
  }

  .selection .selection-row {
    flex-direction: column;
    margin: 0;
  }

  .selection .selection-row > div {
    margin: 0 0 0.5rem 0;
    width: 100%;
  }

  .selection .selection-row input {
    text-indent: 0;
    font-size: 1.5rem;
  }

  .corrections .correction {
    flex: 1;
    text-align: center;
  }

  .pappers {
    flex-direction: column;
    border-right: 1px solid rgba(0, 0, 0, 0.25);
    border-left: 1px solid rgba(0, 0, 0, 0.25);
  }

  .pappers .papper {
    border: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25) !important;
  }

  .user-photos .photo {
    width: 100%;
  }

  .user-photos .photo a {
    height: calc(100vw - 4rem);
  }

  .photos-data .delete-all-photos {
    margin-bottom: 1rem;
  }

  .user-profile {
    flex-direction: column;
  }

  .user-profile .personal-data {
    padding: 0;
    width: 100%;
    margin-bottom: 1rem;
  }

  .user-profile > div.addresses {
    padding: 0;
  }

  .user-profile > div.addresses {
    flex-direction: column;
  }

  .user-profile > div .address {
    margin: 0.5rem 0;
    width: 100%;
  }

  .user-orders {
    padding: 0;
  }

  .user-orders a.order > div {
    padding: 0.5rem;
    line-height: normal;
    text-align: left !important;
  }

  .user-orders a.order > div.view {
    display: none;
  }

  .user-orders a.order > div.state {
    border-right: 0;
    text-align: left;
  }

  .form-row {
    margin: 1rem 0 3rem;
  }

  .page-content {
    margin-bottom: 0;
  }

  .new-item .button {
    line-height: normal;
    padding: 1rem 2rem;
  }

  .in-cart-product .photo {
    display: none;
  }

  .in-cart-product {
    align-items: flex-start;
  }

  .in-cart-product > div {
    padding: 0.5rem 0.2rem;
  }

  .in-cart-product > div.name table {
    font-size: 0.7rem;
  }

  .in-cart-product > div.name table td {
    padding: 0.1rem;
  }

  .in-cart-product > div.remove-from-mini-cart,
  .in-cart-product > a.edit-photos-in-cart {
    width: auto;
    min-width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.2rem;
  }

  .done .in-cart-product > div.remove-from-mini-cart,
  .done .in-cart-product > a.edit-photos-in-cart {
    display: none;
  }

  .mini-cart-complete .button {
    width: 100%;
    text-align: center;
  }

  .cart-row.order-type,
  .cart-row.delivery-type,
  .cart-row.addresses,
  .express-addon,
  .cart-row.declaration-row {
    flex-direction: column;
  }

  .cart-row.order-type .sum,
  .cart-row.delivery-type .sum,
  .cart-row.addresses .sum,
  .express-addon .sum,
  .cart-row.declaration-row .sum,
  .cart-row.invoice-block .sum {
    width: 100%;
    margin-right: 0;
  }

  .login-register {
    display: flex;
    flex-direction: column;
  }

  .login-register .button {
    width: 100%;
    margin: 0 0 1rem 0;
  }

  .sign-in-block.register-block,
  .overlay .fade-in {
    width: 100vw;
    min-width: 100vw;
    max-height: 100vh;
    height: 100vh;
    padding: 1rem;
  }

  .overlay .fade-in h2 {
    margin: -1rem -1rem 1rem;
    padding: 1rem;
    line-height: normal;
    display: flex;
  }
  .overlay .fade-in h2 .close {
    margin-left: auto;
    display: flex;
  }
  .overlay .fade-in h2 .close i {
    display: block;
  }

  table.format-prices th,
  table.format-prices td {
    font-size: 0.9rem;
  }

  .overlay .fade-in form {
    width: 100%;
    padding: 0;
  }
  .overlay .step .form-row {
    margin: 2rem 0;
  }

  .overlay .form-row.footer-row {
    margin: 0;
    padding: 0 1rem 1rem 1rem;
    background-color: #f4f4f4;
    border-top: 1px solid #e4e4e4;
    width: auto;
    height: auto;
  }

  .declaration-block .scroll,
  .address-block .scroll {
    margin: 0rem !important;
  }
  .overlay .address,
  .overlay .invoice {
    margin: 1rem 0 0 !important;
  }
  .declaration-block .buttons {
    padding: 1rem !important;
  }
  .overlay .form-row .button {
    padding: 0 1rem;
  }
  .overlay .form-row .button i {
    display: none;
  }

  .overlay h2 > i {
    display: none;
  }
  .product-actions {
    flex-wrap: wrap;
  }
  .product-actions .button {
    width: 100%;
    margin-top: 1rem;
  }
  .mini-cart-complete {
    padding: 1rem 0 0;
  }
  .mini-cart-total,
  .mini-cart .flex-column {
    padding: 0;
  }
  .old-photo {
    width: 100%;
    height: calc(100vw - 4rem);
  }
  .overlay .form-row.input-row.buttons {
    padding: 1rem !important;
  }
  .grand-total {
    flex-direction: column;
  }
  .grand-total .text {
    border-right: 0;
  }
}

.photo-data {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: #eee;
  padding: 0 0 10px 0;
  filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.7));
}

.photo-data .rel {
  position: relative;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 4px;
}

.photo-data .arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: rgba(0, 0, 0, 0.6) transparent transparent transparent;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.photo-data p {
  white-space: nowrap;
  margin: 0;
  line-height: 1.2rem;
  font-size: 0.9rem;
  font-weight: 300;
}

.photo-data p span {
  font-weight: bold;
  color: #fff;
}

.warning-text {
  background-color: darkred;
  padding: 0.5rem;
  color: #eee;
  z-index: 1;
  white-space: nowrap;
  font-size: 0.8rem;
  margin-top: auto;
  text-align: center;
}

.ratio-warning {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #333;
  color: #333;
  z-index: 1;
  font-size: 0.8rem;
}

.ratio-warning a {
  font-weight: bold;
  color: red;
}

.exapmles {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  background-color: #eee;
  flex-wrap: wrap;
  align-items: center;
}

.exapmles > div {
  /* outline: 1px solid #ccc; */
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
  position: relative;
  z-index: 0;
}

.exapmles div.horizontal,
.exapmles div.horizontal > div > div {
  width: 40vw;
  height: calc(((40vw) / 3) * 2);
}

.exapmles div > div > div span {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
  z-index: 2;
  color: #fff;
}

.exapmles div.vertical,
.exapmles div.vertical > div > div {
  width: 20vw;
  height: calc(((20vw) / 2) * 3);
}

.exapmles > div img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.exapmles.framed > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exapmles .frame-box {
  background-color: #fff;
}

.framed-actions {
  display: flex;
  margin: 2rem 0;
}

.framed-box {
  display: flex;
  position: relative;
  margin: 0 auto 0;
  cursor: pointer;
}

.framed-box > div {
  padding: 1rem;
  background-color: #eee;
  transition: 0.15s linear all;
}

.framed-box > div.framed-off {
  background-color: darkgreen;
  color: #fff;
}

.framed-box.on > div.framed-off {
  background-color: #eee;
  color: #333;
}

.framed-box.on > div.framed-on {
  background-color: darkgreen;
  color: #fff;
}

h4.no-items {
  padding: 0 2rem;
  font-weight: normal;
  font-size: 1.5rem;
}

.wrongData {
  color: red;
  font-weight: bold;
}
.wrongData.success {
  color: green;
  font-size: 1.5rem;
}
.danger {
  color: red;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid red;
  margin: 0.2rem 0 0.5rem auto;
}

.product-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-action-buttons .middle {
  margin: 0 1rem;
}
.mobile .declaration-block .buttons {
  margin: 1rem -1rem -1rem;
}
.mobile .declaration-block .buttons .button {
  padding: 1rem;
  width: 100%;
  text-align: center;
  line-height: normal;
}
.mobile .declaration-block .buttons .button i {
  display: none;
}
.mobile .sending {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 999999;
}
.sending .spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
  margin-right: 15px;
  position: relative;
}

.sending .spinner::before {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-top: 2px solid #237a18;
  border-left: 2px solid transparent;
  border-right: 2px solid #237a18;
  border-bottom: 2px solid transparent;
  animation: spin 0.3s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.sending h2 {
  text-transform: uppercase;
  color: #237a18;
}
.sending h3 {
  text-transform: uppercase;
  color: #666;
  text-align: center;
  font-weight: normal;
}
.rotation {
  position: absolute;
  top: calc(50% + 20px);
  left: 0;
  right: 0;
  transform: translateY(-50%);
  padding: 0 1rem;
  display: flex;
  pointer-events: none;
}
.rotation i {
  padding: 0.3rem;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  pointer-events: all;
}
.rotation i.right {
  margin-left: auto;
}

.flex-data {
  display: flex;
  border-bottom: 1px solid #ccc;
  padding: 1rem;
}
.flex-data.column {
  flex-direction: column;
}
.flex-data.column .photos-header {
  display: flex;
}
.flex-data.column .photos-header > div {
  margin-right: 0.5rem;
}
.flex-data.column table {
  border-collapse: collapse;
}
.flex-data > div {
  padding: 0.3rem 1rem !important;
}
.flex-data table {
  margin-top: 0.5rem;
  /* border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd; */
  box-shadow: inset 0px 0px 0px 1px #ddd;
}
.flex-data table tr {
  box-shadow: 0px 1px 0px #ddd;
}
.flex-data table tr:last-child {
  box-shadow: 0px 0px 0px #ddd;
}
.flex-data table td {
  padding: 0.3rem;
  border-right: 1px solid #ddd;
}
.flex-data table td:last-child {
  border-right: 0px solid #ddd;
}
.flex-data .price,
.flex-data .sum {
  margin-left: auto;
}

.order-confirmation-info {
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid orangered;
  margin-bottom: 1.5rem;
  color: orangered;
}
.order-confirmation-info p {
  margin: 0;
  font-size: 1.2rem;
}
.order-confirmation-info p.orange {
  color: orange;
}
.order-confirmation-info a {
  color: steelblue;
  font-weight: bold;
  text-decoration: underline;
}
.order-confirmation-info .text {
  color: #333333;
  font-weight: bold;
}

.important-info {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 2px dashed red;
  border-radius: 7px;
  color: red;
  font-size: 1.1rem;
  line-height: 1.5rem;
  text-align: center;
}
.promo-text {
  text-align: center;
}
