.modal-content {
  position: relative;
  background-clip: padding-box;
  outline: 0;
  background: #fff;
  padding: 60px 40px;
}
.modal .modal-content {
  margin: 0;
}
.modal-content__title {
  color: #2C1F11;
  font-weight: bold;
  text-align: center;
  font-size: 32px;
  line-height: 40px;
  font-family: 'Montserrat', sans-serif;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-open .modal {
  background: rgba(21, 15, 8, 0.96);
}
.modal.fade {
  opacity: 1;
}
.modal.show .modal-dialog {
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-dialog {
  position: relative;
  margin: 65px auto;
  width: 50%;
  max-width: 600px;
}
.modal-content a.close, .modal-content a:link.close, .modal-content a:hover.close, .modal-content a:visited.close, .modal-content a:active.close, .modal-content a:focus.close, .modal-content button.close {
  cursor: pointer;
  position: absolute;
  top: 0px;
  right: 0px;
  width: 20px;
  height: 20px;
  background: url(../images/close-black-icon.svg) top center no-repeat;
  background-size: contain;
  opacity: 1;
}
button.close {
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
  -webkit-appearance: none;
  z-index: 1;
}
@media (max-width: 850px){
  .modal-dialog {
    width: 95%;
    padding: 45px 30px;
    margin-top: 50px;
  }
}
@media (max-width: 640px){
  .modal-dialog {
    width: 100%;
    padding: 0 15px;
    margin-top: 28px;
  }
}
@media (max-width: 991px){
  .modal-content__title {
    font-size: 28px;
    line-height: 32px;
  }
}
@media (max-width: 767px){
  .modal-content__title {
    font-size: 24px;
    line-height: 28px;
  }
}
.modal-registrationSale__title {
 font-weight: 600;
 font-size: 28px;
 line-height: 36px;
 font-family: 'Montserrat', sans-serif;
}
#registrationSale .modal-dialog {
 max-width: 900px;
 width: 100%;
 margin-top: 100px;
 text-align: left;
 font-family: 'Open Sans', sans-serif;
}
@media (max-width: 1400px) {
 #registrationSale .modal-dialog {
   width: 94%;
 }
}
@media (max-width: 850px) {
 #registrationSale .modal-dialog {
   padding: 0;
   margin-top: 60px;
 }
}
#registrationSale .modal-content {
 width: 100%;
 padding: 0;
 border: none;
 max-height: none;
}
.modal-registrationSale {
 display: flex;
 flex-wrap: wrap;
}
.modal-registrationSale__img {
 width: 48.5%;
 min-height: 600px;
 background-color: #7a0e20;
 background-image: url('../images/registration-sale-fon.svg');
 background-repeat: no-repeat;
 background-position: center center;
 position: relative;
}
@media (max-width: 767px) {
 .modal-registrationSale__img {
   background-image: url('../images/registration-sale-fon-mobile.svg');
   background-size: cover;
 }
}
.modal-registrationSale__img img {
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 margin: auto;
 max-width: 180px;
}
@media (max-width: 767px) {
 .modal-registrationSale__img img {
   max-height: 85%;
 }
}
@media (max-width: 991px) {
 .modal-registrationSale__img {
   width: 42%;
 }
}
@media (max-width: 767px) {
 .modal-registrationSale__img {
   width: 100%;
   min-height: 200px;
   padding: 30px;
 }
}
.modal-registrationSale__content {
 width: 51.5%;
 float: left;
 padding: 50px;
 position: relative;
 display: flex;
 flex-wrap: wrap;
 flex-direction: column;
}
@media (max-width: 1300px) {
 .modal-registrationSale__content {
   padding: 45px;
 }
}
@media (max-width: 991px) {
 .modal-registrationSale__content {
   width: 58%;
   padding: 35px;
 }
}
@media (max-width: 767px) {
 .modal-registrationSale__content {
   width: 100%;
   padding: 30px;
   position: static;
 }
}
.modal-registrationSale__content-head {
 position: relative;
}
@media (max-width: 767px) {
 .modal-registrationSale__content-head {
   position: static;
 }
}
.modal-registrationSale__content-head a.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:link.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:hover.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:visited.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:active.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:focus.modal-registrationSale__content-logo, .modal-registrationSale__content-head button.modal-registrationSale__content-logo {
 display: inline-block;
 width: 219px;
 height: 40px;
 text-indent: 9999px;
 overflow: hidden;
 background: url('../images/logo.svg') top left no-repeat;
 background-size: contain;
 position: relative;
 margin-top: -9px;
}
@media (max-width: 991px) {
 .modal-registrationSale__content-head a.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:link.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:hover.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:visited.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:active.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:focus.modal-registrationSale__content-logo, .modal-registrationSale__content-head button.modal-registrationSale__content-logo {
   margin-top: 0;
 }
}
@media (max-width: 850px) {
 .modal-registrationSale__content-head a.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:link.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:hover.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:visited.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:active.modal-registrationSale__content-logo, .modal-registrationSale__content-head a:focus.modal-registrationSale__content-logo, .modal-registrationSale__content-head button.modal-registrationSale__content-logo {
   width: 165px;
   height: 29px;
   margin: 0;
 }
}
.modal-registrationSale__content-head button.close {
 top: 0;
 right: 0;
}
@media (max-width: 767px) {
 .modal-registrationSale__content-head button.close {
   top: 20px;
   right: 20px;
   width: 26px;
   height: 26px;
   background: url('../images/close-icon.svg') top center no-repeat;
 }
}
.modal-registrationSale__content .modal-auth__form-access {
 margin-top: 0;
}
.modal-registrationSale__content-main {
 margin: auto 0;
 padding: 20px 0;
}
.modal-registrationSale__title {
 font-weight: 400;
 color: #2c1f11;
 padding-right: 60px;
}
@media (max-width: 991px) {
 .modal-registrationSale__title {
   padding-right: 0;
 }
}
.modal-registrationSale__title span {
 font-weight: bold;
}
.modal-registrationSale__btn-wrap {
 margin-top: 40px;
}
@media (max-width: 767px) {
 .modal-registrationSale__btn-wrap {
   margin-top: 20px;
 }
}
#thanksCartMessage .modal-content {
  overflow: visible;
}
.modal-thanksCart__title {
  font-weight: 600;
  color: #161616;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}
.modal-thanksCart__btn-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.modal-thanksCart__btn-col {
  width: 50%;
  float: left;
  padding: 0 10px;
  margin-top: 40px;
}
a.modal-thanksCart__btn-checkout, a:link.modal-thanksCart__btn-checkout, a:hover.modal-thanksCart__btn-checkout, a:visited.modal-thanksCart__btn-checkout, a:active.modal-thanksCart__btn-checkout, a:focus.modal-thanksCart__btn-checkout, button.modal-thanksCart__btn-checkout {
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  background: #FD5571;
  color: #fff;
}
a.modal-thanksCart__btn-checkout span, a:link.modal-thanksCart__btn-checkout span, a:hover.modal-thanksCart__btn-checkout span, a:visited.modal-thanksCart__btn-checkout span, a:active.modal-thanksCart__btn-checkout span, a:focus.modal-thanksCart__btn-checkout span, button.modal-thanksCart__btn-checkout span {
  padding-left: 38px;
  min-height: 24px;
  display: inline-block;
  background: url(../../images/cart-white-icon.svg) center left no-repeat;
}
a.modal-thanksCart__btn-checkout:hover{
  background: #FF4060;
}
a.modal-thanksCart__btn-toCatalog, a:link.modal-thanksCart__btn-toCatalog, a:hover.modal-thanksCart__btn-toCatalog, a:visited.modal-thanksCart__btn-toCatalog, a:active.modal-thanksCart__btn-toCatalog, a:focus.modal-thanksCart__btn-toCatalog, button.modal-thanksCart__btn-toCatalog {
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  color: #161616;
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  border: 1px solid #FD5571;
}
a.modal-thanksCart__btn-toCatalog:hover{
  background: #FF4060;
  color: #fff;
}
.modal-thanksCart__bot-line {
  position: absolute;
  bottom: -1px;
  left: -1px;
  height: 5px;
  width: calc(100% + 2px);
  background: #2C1F11;
  overflow: hidden;
}
.modal-thanksCart__bot-line-drag {
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 0;
  background: #FD5571;
  transition: width 0.2s linear 0s;
}
@media (max-width: 640px){
  .modal-thanksCart__btn-col {
    width: 100%;
    margin-top: 20px;
  }
}
#authModal {
  background: #fff;
  z-index: 100000000;
  overflow-y: hidden;
}
#authModal .modal-dialog {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
#authModal .modal-content{
  padding: 0;
}
.authModal-wrap {
  background: linear-gradient(to right, #fff 50%, #f7f7f8 50%);
  min-height: 100vh;
}
.authModal-flex{
  display: flex;
  justify-content: space-between;
}
#authModal input:not([type="checkbox"]):not([type="radio"]) {
  height: 50px;
  outline: none;
  vertical-align: middle;
  box-sizing: border-box;
  display: block;
  box-shadow: none;
  width: 100%;
  background: transparent;
  -webkit-appearance: none;
  resize: none;
  padding: 0 15px;
  border-radius: 0;
  font-family: "Open Sans", sans-serif;
  margin: 0;
}
.registration-btn a.login-btn {
  width: 100%;
  height: 53px;
  font-size: 14px;
  border-radius: 4px;
  margin-top: 40px;
  background: #2c1f11;
  color: #fff;
}
.registration-btn a.login-btn:hover{
  opacity: 0.7;
  transition: all 0.3s linear;
}
@media (max-width: 1170px){
  .registration__right, .registration__left {
    width: 100%;
    padding: 5vw;
  }
  .authModal-flex {
    flex-direction: column;
    width: 100%;
  }
  .authModal-wrap{
    background: #fff;
  }
}
@media (max-width: 850px){
  #authModal .modal-dialog{
    padding: 0;
  }
}
@media (max-height: 768px){
  body.modal-open {
    overflow: hidden;
  }
  #authModal{
    overflow-y: scroll;
  }
}
.simple-form__col {
    margin-top: 30px;
}
.simple-form__col label {
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    display: block;
    margin-bottom: 10px;
    color: #7B7B7B;
}
.modal input:not([type="checkbox"]):not([type="radio"]), .modal textarea {
    height: 50px;
    outline: none;
    vertical-align: middle;
    box-sizing: border-box;
    display: block;
    box-shadow: none;
    width: 100%;
    border: none;
    background: transparent;
    -webkit-appearance: none;
    resize: none;
    padding: 0 15px;
    border-radius: 0;
    font-family: 'Open Sans', sans-serif;
}
.simple-form__col input:not([type="checkbox"]):not([type="radio"]) {
    border: 1px solid #E6E5E2;
}
a.simple-form__btn{
  background: #FD5571;
    color: #fff;
    font-size: 14px;
    line-height: 16px;
    padding: 16px 25px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
}

.modal-trade_in__img{
    width: 48.5%;
    min-height: 600px;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}
.modal-trade_in__btn{
    background: #F25572;
    outline: none;
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    font-family: "Open Sans", sans-serif;
    text-align: center;
    padding: 12px 30px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    color: white;
}
.modal-trade_in__success a{
    color: #F25572 !important;
}
.modal-trade_in__btn-wrap{
    margin-top: 40px;
}
.modal-trade_in__btn-wrap a:hover{
    color: white;
}
#trade_in .modal-dialog{
    max-width: 900px;
    width: 100%;
    margin-top: 100px;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
}
#trade_in .modal-content {
    width: 100%;
    padding: 0;
    border: none;
    max-height: none;
}
.modal-registrationSale__title.trade_in{
    font-size: 26px;
    line-height: 36px;
}
#trade_in .modal-content button.close {
    background:unset;
    background-color: black;
    -webkit-mask-image: url(../images/close-black-icon.svg);
    mask-image: url(../images/close-black-icon.svg);
    mask-size: 100%;
}

@media (max-width: 991px) {
    .modal-trade_in__img {
        width: 42%;
    }
}

@media (max-width: 767px) {
    #trade_in .modal-content button.close{
        background-color: white;
    }
    .modal-trade_in__img {
        width: 100%;
        min-height: 300px;
        padding: 30px;
        background-size:cover;
    }
    #trade_in .modal-dialog{
        margin-top: 65px;
        height: -webkit-fill-available;
        display: flex;
        align-items: center;
    }
    .modal-registrationSale__title.trade_in{
        font-size: 23px;
        line-height: 35px;
    }
}