
.ta-editor {
  height: auto!important;
}
iframe {
  border: none;
}
ul.paymentMethods {
  color: white;
  font-weight: bold;
  margin-top: -10px;
  margin-left: -20px;
  padding-left: 0;
  list-style: none;
}
ul.paymentMethods li:before {
  content: '— ';
}
.fonts-menu {
  height: auto;
  max-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
}
.fonts-menu li {
  height: 30px;
  line-height: 30px;
}
.fonts-menu .btn {
  height: 40px!important;
  line-height: 40px!important;
  padding: 0!important;
}
.fonts-menu .btn:hover {
  background: #cccccc;
}
.top-alert {
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 100000;
  left: 0;
  padding: 20px;
  display: inline-block;
  text-align: center;
}
.top-alert .alert {
  width: auto !important;
  height: 100%;
  display: inline-block;
  position: relative;
  margin: 0;
}
.top-alert .alert .close {
  position: absolute;
  top: 11px;
  right: 10px;
  color: inherit;
}
.previewColor {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  border: 1px solid gray;
}
.builderIcon {
  background: #c5b397;
  border: 1px solid #c5b397;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: 22px;
}
.builderIcon.active,
.builderIcon:hover {
  background: #f3f3f3;
  border-color: #cccccc;
}
.cartTable .inactive {
  opacity: .2!important;
}
.builderTypes {
  list-style: none;
  display: block;
  margin: 0;
  padding: 26px 0;
}
.builderTypes span {
  display: block;
  height: 60px;
  line-height: 60px;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Segoe UI', Roboto;
  font-size: 18px;
  background: #f3f3f3;
  color: #757575;
  border-radius: 5px;
}
.builderTypes span.active {
  background: #c5b397;
  color: white;
}
.builderGray {
  background: url(../imgs/builder-bg.png) #353535;
  color: #f3f3f3;
  font-family: 'Segoe UI', Roboto;
}
.builderGray p {
  margin: 15px 0 10px;
}
.size-x-small {
  font-size: .6em;
  line-height: 1.2em!important;
}
.size-small {
  font-size: .8em;
  line-height: 1.2em;
}
.size-medium {
  font-size: 1.0em;
  line-height: 1.2em;
}
.size-large {
  font-size: 1.2em;
  line-height: 1.2em;
}
.size-x-large {
  font-size: 1.4em;
  line-height: 1.2em;
}
.size-x-small-line {
  line-height: 0.2em !important;
}
.size-small-line {
  line-height: .8em;
}
.size-large-line {
  line-height: .4em;
}
.size-x-large-line {
  line-height: 0.6em;
}
.sizeSelector {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  color: #757575;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 0 25px;
  margin-right: 8px;
  cursor: pointer;
}
.sizeSelector.active {
  color: white;
  background: #c5b397;
}
.builderToolbarSpaced .builderToggle {
  margin-right: 4px;
}
.builderToggle {
  display: inline-block;
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 22px;
  background: #f3f3f3;
  border: 1px solid #cccccc;
  position: relative;
  cursor: pointer;
}
.builderToggle.active {
  background: #c5b397;
  border-color: #c5b397;
}
.builderToggleGlyph {
  position: absolute;
  top: 50%;
  left: 0;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 0;
  text-align: center;
}
.builderIconBold:after {
  background-image: url(../imgs/sprite.png);
  background-position: 0px -93px;
  width: 15px;
  height: 14px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -7px;
  margin-left: -7.5px;
}
.builderIconBold.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: -15px -93px;
  width: 15px;
  height: 14px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -7px;
  margin-left: -7.5px;
}
.builderIconItalic:after {
  background-image: url(../imgs/sprite.png);
  background-position: -97px -22px;
  width: 10px;
  height: 14px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -7px;
  margin-left: -5px;
}
.builderIconItalic.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: -97px -36px;
  width: 10px;
  height: 14px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -7px;
  margin-left: -5px;
}
.builderIconTextAlignLeft:after {
  background-image: url(../imgs/sprite.png);
  background-position: -68px -47px;
  width: 17px;
  height: 18px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -9px;
  margin-left: -8.5px;
}
.builderIconTextAlignLeft.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: 0px -65px;
  width: 17px;
  height: 18px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -9px;
  margin-left: -8.5px;
}
.builderIconTextAlignCenter:after {
  background-image: url(../imgs/sprite.png);
  background-position: -17px -47px;
  width: 17px;
  height: 18px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -9px;
  margin-left: -8.5px;
}
.builderIconTextAlignCenter.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: -17px -65px;
  width: 17px;
  height: 18px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -9px;
  margin-left: -8.5px;
}
.builderIconTextAlignRight:after {
  background-image: url(../imgs/sprite.png);
  background-position: -34px -47px;
  width: 17px;
  height: 18px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -9px;
  margin-left: -8.5px;
}
.builderIconTextAlignRight.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: 0px -47px;
  width: 17px;
  height: 18px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -9px;
  margin-left: -8.5px;
}
.builderIconTextValignTop:after {
  background-image: url(../imgs/sprite.png);
  background-position: -67px -23px;
  width: 19px;
  height: 23px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -11.5px;
  margin-left: -9.5px;
}
.builderIconTextValignTop.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: 0px -24px;
  width: 19px;
  height: 23px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -11.5px;
  margin-left: -9.5px;
}
.builderIconTextValignCenter:after {
  background-image: url(../imgs/sprite.png);
  background-position: -19px -24px;
  width: 19px;
  height: 23px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -11.5px;
  margin-left: -9.5px;
}
.builderIconTextValignCenter.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: -48px 0px;
  width: 19px;
  height: 23px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -11.5px;
  margin-left: -9.5px;
}
.builderIconTextValignBottom:after {
  background-image: url(../imgs/sprite.png);
  background-position: -48px -23px;
  width: 19px;
  height: 23px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -11.5px;
  margin-left: -9.5px;
}
.builderIconTextValignBottom.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: -67px 0px;
  width: 19px;
  height: 23px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -11.5px;
  margin-left: -9.5px;
}
.builderIconImageLeft:after {
  background-image: url(../imgs/sprite.png);
  background-position: 0px -83px;
  width: 24px;
  height: 10px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -5px;
  margin-left: -12px;
}
.builderIconImageLeft.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: -58px -65px;
  width: 24px;
  height: 10px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -5px;
  margin-left: -12px;
}
.builderIconImageRight:after {
  background-image: url(../imgs/sprite.png);
  background-position: -34px -65px;
  width: 24px;
  height: 10px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -5px;
  margin-left: -12px;
}
.builderIconImageRight.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: -24px -83px;
  width: 24px;
  height: 10px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -5px;
  margin-left: -12px;
}
.builderIconImageTop:after {
  background-image: url(../imgs/sprite.png);
  background-position: -97px 0px;
  width: 11px;
  height: 22px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -11px;
  margin-left: -5.5px;
}
.builderIconImageTop.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: -86px 0px;
  width: 11px;
  height: 22px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -11px;
  margin-left: -5.5px;
}
.builderIconImageBottom:after {
  background-image: url(../imgs/sprite.png);
  background-position: -86px -44px;
  width: 11px;
  height: 22px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -11px;
  margin-left: -5.5px;
}
.builderIconImageBottom.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: -86px -22px;
  width: 11px;
  height: 22px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -11px;
  margin-left: -5.5px;
}
#labelImage {
  text-align: center;
}
#labelImage img {
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
  display: block;
  margin: 0 auto;
  max-width: 500px;
  max-height: 500px;
}

@media (max-width: 768px) {
  #labelImage img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
  }

  #previewPopup .modal-dialog {
    margin: 10px;
    max-width: calc(100% - 20px);
  }

  #previewPopup .modal-body {
    padding: 15px 10px;
  }
}

@media (max-width: 576px) {
  #labelImage img {
    max-width: 100%;
    max-height: 60vh;
  }

  #previewPopup .modal-dialog {
    margin: 5px;
    max-width: calc(100% - 10px);
  }

  #previewPopup .modal-body {
    padding: 10px 5px;
  }

  #previewPopup .modal-body p {
    font-size: 13px;
    margin-bottom: 10px;
  }
}
.nomarginp p {
  margin: 0;
}
#labelPreview {
  display: block;
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.6);
  background: white;
  margin: 50px 0 50px 50px;
  position: relative;
}
#labelPreview .sizes .vertical {
  position: absolute;
  left: 0;
  top: -30px;
  width: 100%;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 11px;
  color: #686868;
}
#labelPreview .sizes .vertical span {
  background: url(../imgs/builder-bg.png) #353535;
  position: relative;
  z-index: 56;
  padding: 0 10px;
}
#labelPreview .sizes .vertical em {
  position: absolute;
  z-index: 55;
  left: 0;
  top: 15px;
  border-top: 1px solid #686868;
  width: 100%;
  height: 1px;
}
#labelPreview .sizes .vertical:before {
  position: absolute;
  left: 0;
  top: 50%;
  content: '';
  z-index: 56;
  background-image: url(../imgs/sprite.png);
  background-position: -97px -60px;
  width: 5px;
  height: 9px;
  margin-top: -4.5px;
}
#labelPreview .sizes .vertical:after {
  position: absolute;
  right: 0;
  top: 50%;
  content: '';
  z-index: 56;
  background-image: url(../imgs/sprite.png);
  background-position: -102px -60px;
  width: 5px;
  height: 9px;
  margin-top: -4.5px;
}
#labelPreview .sizes .horizontal {
  position: absolute;
  left: -30px;
  top: 0;
  width: 30px;
  height: 100%;
  text-align: center;
  font-size: 11px;
  color: #686868;
}
#labelPreview .sizes .horizontal span {
  background: url(../imgs/builder-bg.png) #353535;
  position: absolute;
  z-index: 56;
  padding: 0 10px;
  line-height: 30px;
  top: 50%;
  margin-top: -15px;
  margin-left: -25px;
  transform: rotate(-90deg);
  white-space: nowrap;
}
#labelPreview .sizes .horizontal em {
  position: absolute;
  z-index: 55;
  top: 0;
  left: 15px;
  border-left: 1px solid #686868;
  height: 100%;
  width: 1px;
}
#labelPreview .sizes .horizontal:before {
  position: absolute;
  top: 0;
  left: 50%;
  content: '';
  z-index: 56;
  background-image: url(../imgs/sprite.png);
  background-position: -97px -50px;
  width: 9px;
  height: 5px;
  margin-left: -4.5px;
}
#labelPreview .sizes .horizontal:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: '';
  z-index: 56;
  background-image: url(../imgs/sprite.png);
  background-position: -97px -55px;
  width: 9px;
  height: 5px;
  margin-left: -4.5px;
}
#labelPreview .workArea {
  position: absolute;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: flex-start;
}
#labelPreview .sizeText {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  line-height: 80px;
  text-align: center;
  font-family: Arial;
  font-size: 1.2em;
  padding: 0;
  white-space: nowrap;
}
#labelPreview .text {
  position: absolute;
  line-height: 1.2em;
  padding: 0;
  white-space: nowrap;
  max-width: 100%;
}
#labelPreview .text p {
  margin: 0;
  padding: 0;
}
#labelPreview .image {
  position: absolute;
  white-space: nowrap;
  line-height: .5em;
}
.colorSelector {
  display: block;
  margin: 0;
  padding: 0;
}
.colorSelector li {
  display: inline-block;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 23px;
  border: 2px solid transparent;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  margin-right: 10px;
}
.colorSelector li.active {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  border-color: white;
}
.colorSelector li.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: -24px 0px;
  width: 24px;
  height: 24px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -12px;
  margin-left: -12px;
}
.colorSelector li.active.dark:after {
  background-image: url(../imgs/sprite.png);
  background-position: 0px 0px;
  width: 24px;
  height: 24px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -12px;
  margin-left: -12px;
}
.sizeNameSelector {
  display: block;
  margin: 0;
  padding: 0;
}
.sizeNameSelector li {
  display: inline-block;
  background: white;
  color: black;
  text-align: center;
  width: 46px;
  height: 46px;
  line-height: 44px;
  font-size: .85em;
  padding: 0;
  border-radius: 23px;
  border: 2px solid transparent;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  margin-right: 10px;
}
.sizeNameSelector li.active {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  border-color: black;
  background: #aaaaaa;
}
#builder {
  color: #414141;
}
#builder h3 {
  font-size: 32px;
  text-transform: none;
  font-weight: normal;
  margin: 20px 0;
}
#builder p {
  margin: 10px 0;
}
#builder textarea,
#builder .ta-text {
  background: #f3f3f3;
  border: 1px solid #cccccc;
  border-radius: 8px;
  padding: 12px 0 12px 10px;
  font-size: 20px;
  color: #414141;
  line-height: 1.1em;
  width: 100%;
}
#builder .ta-text p {
  margin: 0;
}
#builder .block-checkbox {
  line-height: 38px;
  display: block;
}
#builder .dropdown-toggle {
  background: #f3f3f3;
  border: 1px solid #cccccc;
  border-radius: 8px;
  height: 38px!important;
  line-height: 38px!important;
  padding: 0 10px;
  text-align: left;
}
#builder .dropdown-toggle.full {
  width: 100%;
  text-align: left;
}
#builder .dropdown-text-size .btn {
  height: 10px!important;
  line-height: 10px;
}
#builder .checkbox {
  display: inline-block;
  margin: 0 10px 0 0;
  padding: 0;
  width: 38px;
  height: 38px;
  float: left;
  border: 1px solid #cccccc;
  border-radius: 5px;
  position: relative;
}
#builder .checkbox.active:after {
  background-image: url(../imgs/sprite.png);
  background-position: -24px 0px;
  width: 24px;
  height: 24px;
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  margin-top: -12px;
  margin-left: -12px;
}
#builder small {
  color: #afafaf;
  font-size: 14px;
  display: block;
}
#builder .slider-track {
  background: #ececec;
  box-shadow: none;
}
#builder .slider-selection {
  background: #c5b397;
  box-shadow: none;
}
#builder .slider-handle {
  background: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
#iconsList {
  display: block;
}
#iconsList li {
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border: 1px solid silver;
  margin: 5px;
  text-align: center;
  cursor: pointer;
}
#iconsList li:hover {
  background: #f3f3f3;
}
#iconsList li.selected {
  background: #1bb426;
}
#iconsList li svg {
  margin-top: 10px;
  font-size: 3em;
}
.icon.add-air {

}
.icon.add-air.icon-type-specs {
  margin: 0 -0.08em;
}
.color-preview {
  width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-block;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  vertical-align: middle;
  margin: 0 3px;
}
.modal-title.new {
  color: #c5b397;
  font-size: 1.4em;
  text-transform: uppercase;
  margin: 0;
  display: inline;
}
.paymentMethod label {
  font-weight: normal;
}

.table-manager-orders {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

.table-manager-orders thead th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  padding: 12px 8px;
  font-weight: 600;
  color: #495057;
}

.table-manager-orders tbody tr {
  border-bottom: 1px solid #dee2e6;
}

.table-manager-orders tbody tr:hover {
  background-color: #f8f9fa;
}

.table-manager-orders td {
  padding: 12px 8px;
  vertical-align: middle;
}

.table-manager-orders .btn-sm {
  min-width: 160px;
}

.table-manager-list {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  background: #fff;
}

.table-manager-list thead th {
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #dee2e6;
  padding: 14px 10px;
  font-weight: 600;
  color: #495057;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.table-manager-list tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
}

.table-manager-list tbody tr:hover {
  background-color: #f8f9fa;
}

.table-manager-list tbody tr:last-child {
  border-bottom: none;
}

.table-manager-list td {
  padding: 12px 10px;
  vertical-align: middle;
  color: #333;
  font-size: 14px;
}

.delivery-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.delivery-yandex {
  background-color: #ffeb3b;
  color: #333;
}

.delivery-post {
  background-color: #4a90e2;
  color: #fff;
}

.table-manager-list .btn-sm {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.table-manager-list .btn-primary {
  background-color: #c5b397;
  border-color: #c5b397;
}

.table-manager-list .btn-primary:hover {
  background-color: #b5a387;
  border-color: #b5a387;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.table-manager-orders-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  position: relative;
  display: block;
  clear: both;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 20px;
}

.table-manager-list-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  position: relative;
  display: block;
  clear: both;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .table-manager-orders-wrapper,
  .table-manager-list-wrapper {
    border: 1px solid #ddd;
  }

  .table-manager-orders {
    width: 800px !important;
    min-width: 800px;
    table-layout: auto;
    margin-bottom: 0;
  }

  .table-manager-list {
    width: 1000px !important;
    min-width: 1000px;
    margin-bottom: 0;
  }

  .table-manager-orders thead th,
  .table-manager-list thead th {
    padding: 10px 6px;
    font-size: 12px;
    white-space: nowrap;
  }

  .table-manager-orders td,
  .table-manager-list td {
    padding: 10px 6px;
    font-size: 13px;
  }

  .table-manager-orders .btn-sm,
  .table-manager-list .btn-sm {
    min-width: 90px;
    padding: 5px 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  .table-manager-orders .color-preview {
    width: 16px;
    height: 16px;
  }

  .delivery-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
}

@media (max-width: 576px) {
  .table-manager-orders {
    width: 750px !important;
    min-width: 750px;
  }

  .table-manager-list {
    width: 950px !important;
    min-width: 950px;
  }

  .table-manager-orders thead th,
  .table-manager-list thead th {
    padding: 8px 4px;
    font-size: 11px;
  }

  .table-manager-orders td,
  .table-manager-list td {
    padding: 8px 4px;
    font-size: 12px;
  }

  .table-manager-orders .btn-sm,
  .table-manager-list .btn-sm {
    min-width: 80px;
    padding: 4px 10px;
    font-size: 10px;
  }

  .table-manager-orders .color-preview {
    width: 14px;
    height: 14px;
  }

  .delivery-badge {
    font-size: 9px;
    padding: 2px 6px;
  }
}

.m-primary-menu {
  margin: 20px 0;
}

.m-primary-menu-item {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.m-primary-menu-item > a {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  text-align: center;
}

.m-primary-menu-item > a:hover {
  color: #c5b397;
  text-decoration: none;
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .jumbotron {
    padding: 15px;
  }

  .section .container {
    overflow-x: visible;
  }
}

[class*="col-"]{
	position: relative;
    min-height: 1px;
}

.d-none{
	display: none !important;
}

.d-flex{
	display: flex !important;
}

.flex-column{
	flex-direction: column !important;
}

.align-items-center{
	align-items: center !important;
}

.justify-content-end{
	justify-content: flex-end !important;
}

.justify-content-start{
	justify-content: flex-start !important;
}

@media (min-width: 768px) {
	.d-md-none{
		display: none !important;
	}

	.d-md-block{
		display: block !important;
	}

	.justify-content-sm-end{
		justify-content: flex-end !important;
	}
}

.site-header-brand{
    transition: .3s ease-in-out;
}

.site-header-show-result{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    opacity: 0;
    transition: .3s ease-in-out;
}

.show-constructor-result{
	display: none;
	position: fixed;
	top: 56px;
	left: 0;
	width: 100%;
	height: calc(100vh - 56px);
	background: url(../imgs/builder-bg.png) #353535;
}

.show-constructor-result .builder-label{
	margin: 50px auto !important;
	left: 10px;
}

.site-header-cart{
	position: absolute;
	right: 50px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
    align-items: center;
    font-size: 15px;
    color: #fff;
}

.site-header-cart > .glyphicon{
	margin-right: 5px;
}

.icon-menu-item{
	padding: 0 15px;
	margin-right: -15px;
	margin-left: 0;
}

.show-constructor-result .builder-label .sizes .horizontal span,
.show-constructor-result .builder-label .sizes .vertical span{
	color: #fff;
}

.show-constructor-result .builder-label-horizontal{
	width: calc(100% - 40px) !important;
	max-width: 350px;
}

.site-header-constructor .site-header-brand{
	opacity: 0;
}

.site-header-constructor .site-header-show-result{
	opacity: 1;
	font-size: 11px;
}

@media (max-width: 767px) {
	.site-header-constructor {
		background-color: #1e1f25 !important;
	}
}

.btn-info,
.btn-info:active{
	font-weight: normal;
	padding: 10px;
    text-transform: inherit;
    background: #c5b397 !important;
    color: #fff !important;
    border: none !important;
}

.builder-label-horizontal .icon.add-air{
	margin: 0;
}

.builderGray{
	padding-bottom: 20px;
}

.modal-title{
	float: left;
}

.builderToggle{
	margin: 0 2px;
}

.feature-item .feature-box{
	padding: 0;
	display: flex;
	align-items: center;

}

.feature-item .feature-icon{
	position: static;
	margin-right: 10px;
}

#builder{
	margin-top: 50px;
}

#iconsList{
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	justify-content: center;
}

.color-selector-item-silicon{
	position: relative;
}

.color-selector-item-silicon:before{
	content: 'Силикон';
	position: absolute;
	top: -45px;
	left: 0;
}

.color-selector-bg li{
	margin-bottom: 40px;
}

.color-selector-wrap-text{
	margin-top: -30px;
}

#paymentPopup{
	overflow-y: auto;
	z-index: 10620 !important;
}

@media (max-width: 420px) {
	.builder-label-horizontal{
		width: calc(100% - 10px) !important;
	}

	.builder-label-horizontal .workArea{

		left: 0 !important;
		right: 0 !important;
		margin: 0 auto;
	}

	.modal-cart .modal-footer {
		padding: 10px 5px !important;
		display: flex;
		flex-direction: column;
	}

	.modal-cart .modal-footer .btn{
	    width: 100%;
	    margin: 5px 0;
	    font-size: 14px;
	    padding: 10px;
	}

	.modal-cart .modal-header {
		padding: 10px;
	}

	.modal-cart .modal-title {
		font-size: 1.1em !important;
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td {
		padding: 8px;
		font-size: 14px;
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:before {
		font-size: 13px;
	}

	.previewColor {
		width: 18px;
		height: 18px;
	}

	.cartTable .input-group-addon {
		padding: 0 8px;
		font-size: 14px;
	}

	.cartTable .form-control {
		font-size: 14px;
		padding: 5px;
	}
}

@media (max-width: 576px) {
	.builder-label-horizontal{
		margin-left: 10px !important;
	}

	.form-contact .btn{
		display: block;
		margin: 0 auto;
	}

	.cartTable tr.delivery td:nth-of-type(3),
	.cartTable tr.totalAmount td:nth-of-type(2) {
		min-height: 70px;
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(5):before,
	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(4):before {
		position: static;
		display: block;
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(4){
		text-align: left;
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(5){
	    align-items: center;
	}

	.color-selector-item-silicon:before{
		top: -35px;
	}

	.form-cart .form-control {
		font-size: 16px !important;
		padding: 8px 10px;
	}

	.form-cart label {
		font-size: 14px;
		margin-bottom: 3px;
	}

	.modal-cart .alert {
		font-size: 13px;
		padding: 10px;
		margin: 10px 0;
	}

	.cartTable tr.delivery label {
		font-size: 13px;
		margin: 5px 0;
		display: block;
	}

	.cartTable tr.delivery input[type="radio"] {
		margin-right: 5px;
	}
}

@media (min-width: 768px) {
	.feature-item .feature-icon{
		margin-right: 30px;
	}
}

@media (max-width: 992px) {

	.builderToggle{
		width: 40px;
		height: 40px;
		line-height: 40px;
	}

	.text-box-container{
		display: flex;
		align-items: flex-start;
	}

	.text-box-container .builderToggle{
		margin: 4px;
	}

	.text-box-container .builderToggle .dropdown-menu{
		max-width: 200px;
	}

	.text-box-container .form-control > div:last-child{
		height: 100%;
	}

	.feature-list{
		display: flex;
		align-items: center;
		flex-direction: column;
	}

	.builder-type{
		margin-bottom: 10px;
	}

	.form-cart{
		font-size: 16px;
	}

	.cartTable,
	.cartTable tr,
	.cartTable td,
	.cartTable tbody {
		display: block;
		font-size: 15px;
	}

	.cartTable thead{
		display: none;
	}

	.cartTable td{
		position: relative;
	}

	.cartTable tr:not(.delivery):not(.totalAmount){
		margin: 20px 0;
	    border: 1px solid #ddd;
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td{
		text-align: left;
		display: flex;
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:before {
	    color: #8c8c8c;
	    font-weight: bold;
        width: 40%;
	    text-align: left;
	    flex-shrink: 0;
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(1):before {
		content: 'Фон';
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(2):before {
		content: 'Цвет';
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(3):before {
		content: 'Текст';
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(4):before {
		content: 'Тип';
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(5) .input-group{
		width: 60%;
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(5) {
	    display: flex;
	    justify-content: flex-end;
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(5):before {
		content: 'Количество';
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(6):before {
		content: 'Цена';
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(7){
		color: #ff3939;
	}

	.cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(7):before {
		content: 'Удалить';
	}

	.cartTable tr.delivery,
	.cartTable tr.totalAmount{
	    background: #f7f7f7;
	    box-shadow: 0 2px 4px rgba(0,0,0,.2);
	    border-radius: 4px;
	}

	.cartTable tr.delivery{
	    margin-bottom: 10px;
	}

	.cartTable tr.delivery td:nth-of-type(1){
		color: #333;
		border: none;
		padding: 12px 8px;
	}

	.cartTable tr.delivery td:nth-of-type(1) strong{
		display: block;
		margin-bottom: 8px;
		color: #8c8c8c;
		font-size: 14px;
	}

	.cartTable tr.delivery td:nth-of-type(1) label{
		display: block;
		color: #333;
		font-weight: normal;
		margin: 5px 0;
		margin-left: 0 !important;
	}

	.cartTable tr.delivery td:nth-of-type(2){
		text-align: left;
		border: none;
		padding: 12px 8px;
	}

	.cartTable tr.delivery td:nth-of-type(2) strong{
		display: block;
		margin-bottom: 8px;
		color: #8c8c8c;
		font-size: 14px;
	}

	.cartTable tr.delivery td:nth-of-type(2) label{
		display: block;
		color: #333;
		font-weight: normal;
		margin: 5px 0;
		margin-left: 0 !important;
	}

	.cartTable tr.delivery td:nth-of-type(3),
	.cartTable tr.totalAmount td:nth-of-type(2){
		display: flex;
	    align-items: center;
		padding-left: 8px;
		text-align: left;
	}

	.cartTable tr.delivery td:nth-of-type(3):before,
	.cartTable tr.totalAmount td:nth-of-type(2):before{
		content: 'Стоимость доставки';
	    color: #8c8c8c;
	    font-weight: bold;
        width: 40%;
	    text-align: left;
	    flex-shrink: 0;
	}

	.cartTable tr.totalAmount td:nth-of-type(2){
		border: none;
	}

	.cartTable tr.totalAmount td:nth-of-type(1),
	.cartTable tr.totalAmount td:nth-of-type(3),
	.cartTable tr.delivery td:nth-of-type(4){
		display: none;
	}

	.cartTable tr.totalAmount td:nth-of-type(2):before{
		content: 'Итоговая стоимость';
	}
}

@media (min-width: 992px) {
	.site-header-cart,
	.site-header-show-result{
		display: none;
	}

	.d-lg-none{
		display: none !important;
	}

}

@media (max-width: 768px) {

	.iframe-robokassa{
		max-width: 400px;
		width: 100% !important;
	}

	.col-12 {
	    width: 100%;
	    float: left;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.col-11 {
	    width: 91.66666667%;
	    float: left;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.col-10 {
	    width: 83.33333333%;
	    float: left;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.col-9 {
	    width: 75%;
	    float: left;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.col-8 {
	    width: 66.66666667%;
	    float: left;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.col-7 {
	    width: 58.33333333%;
	    float: left;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.col-6 {
	    width: 50%;
	    float: left;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.col-5 {
	    width: 41.66666667%;
	    float: left;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.col-4 {
	    width: 33.33333333%;
	    float: left;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.col-3 {
	    width: 25%;
	    float: left;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.col-2 {
		float: left;
	    width: 16.66666667%;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.col-1 {
		float: left;
	    width: 8.33333333%;
	    padding-right: 15px;
	    padding-left: 15px;
	}

	.form-cart{
		font-size: 15px;
	}

	.form-cart .form-group{
		margin-bottom: 5px;
	}

	.form-cart .form-group label{
		margin-bottom: 0;
	}

	.site-footer{
		padding: 45px 0;
	}

	.site-footer .copyright{
		margin-top: 0;
	}

	.site-footer .social{
		margin-top: 0;
	}

	.contact-info-item{
		margin-top: 20px;
	}

	ul.paymentMethods{
		margin-left: 0;
	}

	.double-device-front{
		width: 190px;
	}

	.modal-icons{
		overflow: hidden !important;
	}

	.modal-icons .modal-body{
		height: calc(100% - 50px);
		overflow: auto;
	}

	.modal-icons .modal-content{
	    height: calc(100% - 20px);
	    overflow: hidden;
	}

	.modal-icons .modal-dialog{
		height: 100%;
	}

	#feature, #app-brief-1, #app-brief-2, #download, #contact{
		padding: 45px 0;
	}

	#builder{
		margin-top: 30px;
	}

	.feature-item .feature-box{
		margin-top: 20px;
	}

	.feature-item .feature-icon{
		width: 54px;
		height: 54px;
	}

	.feature-item .feature-icon > i{
		width: 44px;
		height: 44px;
		line-height: 44px;
		font-size: 26px;
	}

	.feature-item .feature-title{
		font-size: 18px;
	}
}

#yandex-delivery-widget {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  margin: 15px 0 !important;
  clear: both !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
}

#yandex-delivery-widget iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 300px !important;
  height: 300px !important;
  border: none !important;
  border-radius: 8px !important;
}

@media (min-width: 993px) {
  #yandex-delivery-widget {
    margin: 20px 0 !important;
  }

  #yandex-delivery-widget iframe {
    min-height: 400px !important;
    height: 400px !important;
    max-height: 450px !important;
  }
}

@media (max-width: 768px) {
  .modal-cart .modal-dialog {
    margin: 10px !important;
    max-width: calc(100% - 20px) !important;
    width: calc(100% - 20px) !important;
  }

  .modal-cart .modal-body {
    padding: 15px 10px !important;
    overflow-x: hidden !important;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    position: relative;
  }

  .modal-cart .modal-content {
    border-radius: 8px;
  }

  .modal-cart .modal-header {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
  }

  .modal-cart .modal-footer {
    padding: 12px 15px;
    border-top: 1px solid #ddd;
    flex-wrap: wrap;
  }

  .form-cart .form-group {
    padding-left: 5px !important;
    padding-right: 5px !important;
    margin-bottom: 10px;
  }

  #yandex-delivery-widget {
    margin: 15px 0 !important;
    padding: 0 !important;
  }

  #yandex-delivery-widget iframe {
    min-height: 240px !important;
    height: 240px !important;
    max-height: 260px !important;
  }

  .cartTable tr.delivery td,
  .cartTable tr.totalAmount td {
    line-height: 1.4;
    padding: 10px 8px;
  }

  .cartTable tr.delivery label {
    font-size: 13px;
    line-height: 1.4;
  }

  .cartTable tr.delivery td:nth-of-type(2) {
    font-size: 13px;
  }
}

@media (max-width: 576px) {

  #yandex-delivery-widget {
    margin: 10px 0 !important;
  }

  #yandex-delivery-widget iframe {
    min-height: 220px !important;
    height: 220px !important;
    max-height: 240px !important;
  }

  .modal-cart .modal-body {
    padding: 10px !important;
  }

  .modal-cart .modal-dialog {
    margin: 5px !important;
    max-width: calc(100% - 10px) !important;
    width: calc(100% - 10px) !important;
  }

  .modal-cart h4 {
    font-size: 15px;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .cartTable .input-group {
    max-width: 120px;
  }

  .cartTable tr:not(.delivery):not(.totalAmount) td:nth-of-type(5) .input-group {
    width: 100% !important;
    max-width: 140px;
  }

  .cartTable tr.delivery td:nth-of-type(1),
  .cartTable tr.delivery td:nth-of-type(2) {
    font-size: 12px;
  }

  .cartTable tr.delivery label {
    font-size: 12px;
    line-height: 1.4;
    margin: 3px 0;
  }
}

.modal-cart.modal.fade.in {
  z-index: 10500 !important;
}

.modal-cart ~ .modal-backdrop,
.modal-backdrop.in {
  z-index: 10400 !important;
}

body.cart-modal-open iframe:not(#cartPopup iframe):not(#cartPopup * iframe),
body.cart-modal-open [class*="filter"]:not(#cartPopup [class*="filter"]):not(#cartPopup * [class*="filter"]),
body.cart-modal-open [class*="sidebar"]:not(#cartPopup [class*="sidebar"]):not(#cartPopup * [class*="sidebar"]),
body.cart-modal-open [id*="filter"]:not(#cartPopup [id*="filter"]):not(#cartPopup * [id*="filter"]),
body.cart-modal-open [id*="sidebar"]:not(#cartPopup [id*="sidebar"]):not(#cartPopup * [id*="sidebar"]),
body.cart-modal-open [class*="Фильтр"]:not(#cartPopup *),
body.cart-modal-open [class*="фильтр"]:not(#cartPopup *),
body.cart-modal-open [class*="widget__filters"]:not(#cartPopup *),
body.cart-modal-open [class*="widget__"]:not(#cartPopup *):not([class*="delivery"]) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.modal-open .widget__filters-wrapper,
body.modal-open [class*="widget__filters"],
body.modal-open div[class*="filter"]:not(#cartPopup div[class*="filter"]),
.modal-open .widget__filters-wrapper,
.modal-open [class*="widget__filters"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  z-index: -1 !important;
}

#cartPopup.modal {
  z-index: 10500 !important;
}

#cartPopup .modal-dialog {
  z-index: 10501 !important;
  position: relative;
}

.modal-cart .modal-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 10;
  border-top: 1px solid #ddd;
}

[class*="ymaps"][class*="balloon"],
[class*="ymaps"][class*="popup"],
[class*="widget__balloon"] {
  z-index: 10600 !important;
}

#yandex-delivery-widget iframe {
  display: block !important;
}

#yandex-delivery-widget {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  #yandex-delivery-widget {
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  }
}

#iconsPopup.modal { z-index: 10620 !important; }
.modal-backdrop {
    z-index: 10610 !important;
    background-color: transparent !important;
}

body:not(.modal-open) .modal-backdrop { display: none !important; }
