@media (min-width: 1200px) {
  #contact-popup .modal-lg {
    max-width: 1200px;
  }
}

#contact-popup .nav-tabs {
  display: none;
}

#contact-popup .nav-tabs-show {
  display: flex;
}

#contact-popup .nav-item {
  flex-basis: 50%;
  text-align: center;
  text-transform: uppercase;
}

#contact-popup .nav-item:nth-child(1) .nav-link {
  color: #e01601;
}

#contact-popup .nav-item:nth-child(2) .nav-link {
  color: #ffffff;
  background-color: #303030;
  border-color: #303030;
  border-radius: 0;
}

#contact-popup .nav-link {
  line-height: 22px;
  border-radius: 0;
}

#contact-popup .modal-body {
  padding: 0;
}

#contact-popup .modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  text-shadow: none;
}

@media (min-width: 992px) {
  #contact-popup .popup-left .modal-close-btn {
    display: none;
  }
}

#contact-popup .popup-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 30px;
  background: #c1022c url("../../../../files/images/loga/logo-white.png") no-repeat center 40px;
  background-size: 160px;
}

@media (max-width: 1199px) {
  #contact-popup .popup-left {
    padding-top: 150px;
  }
}

@media (max-width: 767px) {
  #contact-popup .popup-left {
    padding-top: 100px;
    background-position-y: 10px;
  }
}

@media (max-width: 575px) {
  #contact-popup .popup-left {
    min-height: 600px;
  }
}

#contact-popup .popup-left h3 {
  margin-bottom: 5px;
  color: #ffffff;
}

#contact-popup .popup-right {
  position: relative;
  padding: 50px 100px;
}

@media (max-width: 575px) {
  #contact-popup .popup-right {
    padding: 10px 30px;
  }
}

#contact-popup .popup-right h2 {
  position: relative;
  margin-bottom: 50px;
  text-align: center;
  color: #e01601;
}

#contact-popup .popup-right h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 90px;
  height: 4px;
  background: currentColor;
  transform: translate(-50%);
}

@media (max-width: 575px) {
  #contact-popup .popup-right h2::after {
    display: none;
  }
}

@media (max-width: 575px) {
  #contact-popup .popup-right h2 {
    margin-bottom: 0;
    text-align: left;
  }
}

@media (max-width: 575px) {
  #contact-popup .popup-right .contact-title {
    font-size: 32px;
  }
}

#contact-popup .contact-item {
  width: 220px;
  margin-bottom: 50px;
  color: #ffffff;
}

#contact-popup .contact-item:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  #contact-popup .popup-left .contact-item {
    margin-bottom: 15px;
  }
}

#contact-popup .contact-item-descr {
  padding: 0;
  margin: 0;
}

#contact-popup .contact-item-descr::after {
  display: none;
}

#contact-popup .contact-item-descr-small {
  max-width: 150px;
}

#contact-popup .contact-item-descr a {
  padding: 0;
  color: #ffffff;
  text-decoration: underline;
}

#contact-popup .contact-item-descr a:hover, #contact-popup .contact-item-descr a:focus {
  text-decoration: none;
}

#contact-popup .contact-item-descr a::before {
  display: none;
}

#contact-popup .popup-right button[type="submit"] {
  font-weight: 300;
  color: #ffffff;
  background-color: #e01601;
  text-transform: lowercase;
}

#contact-popup .popup-right button[type="submit"]:hover, #contact-popup .popup-right button[type="submit"]:focus {
  box-shadow: inset 0 0 10px 4px #ad1101;
}

#order-engine-contact-form .form-group {
  margin: 0;
}

#order-engine-contact-form .panel-body .form-wrapper {
  margin-bottom: 20px;
}

@media (max-width: 575px) {
  #order-engine-contact-form .panel-body .form-wrapper {
    margin-bottom: 10px;
  }
}

@media (max-width: 575px) {
  #order-engine-contact-form .panel-body .control-label {
    margin-bottom: 0;
  }
}

@media (max-width: 575px) {
  #order-engine-contact-form .panel-body textarea.form-control {
    height: 100px;
  }
}

#order-engine-contact-form .captcha {
  margin-bottom: 16px;
}

@media (max-width: 575px) {
  #order-engine-contact-form .captcha {
    margin: 0 0 0 -15px;
    transform: scale(0.8);
  }
}

#order-engine-contact-form button {
  font-weight: 300;
  color: #ffffff;
  background-color: #e01601;
  text-transform: lowercase;
}

#order-engine-contact-form button:hover, #order-engine-contact-form button:focus {
  box-shadow: inset 0 0 10px 4px #ad1101;
}

/* popup upload input */

#order-engine-contact-form .is-hide {
  display: none;
}

#edit-upload-file-wrapper .panel-title {
  font-size: 16px;
  line-height: 30px;
}

#edit-upload-file-wrapper .form-managed-file  {
  align-items: center;
}

#edit-upload-file-wrapper input[type="file"] {
  padding: 0;

  border: none;
}

#edit-upload-file-wrapper .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  height: 44px;
}

@media (max-width: 1199px) {
  #edit-upload-file-wrapper input[type="file"] {
    width: 100%;
  }
}

/* cabinet configurator */

#cabinet-configurator #edit-upload-file-wrapper {
  display: none !important;
}


