//popup-sale begin .popup-wrapper { display: flex; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999999; //background: #77777777; background: rgba(0,0,0,0.5); background: -webkit-linear-gradient(to top, #89fffd, #ef32d9); background: linear-gradient(to bottom, #f9f9f991, #171128de); background-image: linear-gradient(rgba(249, 249, 249, 0.57), rgba(23, 17, 40, 0.87)); background-position-x: initial; background-position-y: initial; background-size: initial; background-repeat-x: initial; background-repeat-y: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; -webkit-transition: opacity 200ms ease-in; -moz-transition: opacity 200ms ease-in; transition: opacity 200ms ease-in; opacity: 1; pointer-events: auto; &.popup-sale-hide { opacity: 0; pointer-events: none; } .popup-sale.popup-sale-black-friday { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; width: 900px; height: 600px; border-radius: 20px; position: relative; overflow: hidden; background-image: url(../../images/ai/popup_sale/bg-black-friday.png); background-repeat: no-repeat; background-size: contain; .closer { cursor: pointer; background: url(../../images/ai/popup_sale/closer-white.svg) no-repeat; height: 30px; width: 30px; } .closer-wrap { align-self: flex-end; margin: 20px 20px 0px 0px; z-index: 6; @media screen and (max-width: 900px) { margin: 10px 15px 0px 0px; } @media screen and (max-width: 639px) { margin: 15px 20px 0px 0px; } } .popup-content { z-index: 5; padding: 0px; form { padding: 28px; } } .popup-sale-row { display: flex; align-items: flex-end; justify-content: space-between; vertical-align: baseline; flex-wrap: wrap; .left_buttons { flex-basis: 50%; display: flex; justify-content: space-between; } } .button { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 15px 30px; gap: 10px; width: 164px; height: 45px; background: #841689; border-radius: 100px; } .button.button-primary { font-style: normal; font-weight: 500; font-size: 17px; line-height: 21px; color: #FFFFFF; } .tel { box-sizing: border-box; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 12px 20px; gap: 10px; width: 229px; height: 45px; border: 1px solid #841689; border-radius: 100px; label { margin-bottom: 0; } } input[type="tel"], input[type="text"] { max-width: 100%; width: 169px; height: 21px; border: none; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(30px); font-style: normal; font-weight: 500; font-size: 17px; line-height: 21px; color: #000000; flex: none; order: 0; flex-grow: 0; } input[type="tel"]:focus, input[type="text"]:focus { border: none; outline: none; } .for-checkbox { display: flex; align-items: baseline; width: 235px; height: 34px; font-size: 14px; line-height: 16.8px; font-weight: 400; color: #000000; align-self: center; a, a:active, a:hover { color: #000000; } } .politics-checkbox { position: absolute; z-index: -1; opacity: 0; } .politics-checkbox+label { display: inline-flex; align-items: center; user-select: none; } .politics-checkbox+label::before { content: ''; display: inline-block; width: 26px; height: 26px; flex-shrink: 0; flex-grow: 0; border: 1px solid #841689; border-radius: 0.25em; margin-right: 0.5em; background-repeat: no-repeat; background-position: center center; background-size: 50% 50%; color: white; } .politics-checkbox:checked+label::before { border-color: #841689; background-color: #841689; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e"); } .politics-checkbox:not(:disabled):not(:checked)+label:hover::before { border-color: #e9ecef; } .politics-checkbox:not(:disabled):active+label::before { background-color: #e9ecef; border-color: #e9ecef; } .politics-checkbox:focus+label::before { box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.4); } .politics-checkbox:focus:not(:checked)+label::before { border-color: #80bdff; } .politics-checkbox:disabled+label::before { background-color: #e9ecef; } } } @media screen and (max-width: 900px) { .popup-wrapper { .popup-sale.popup-sale-black-friday { width: 600px; height: 400px; .popup-content { padding: 0; display: flex; flex-direction: column; justify-content: center; form { padding: 13px; .popup-sale-row { .left_buttons { display: contents; } .tel { padding: 10px 20px; width: 200px; } .button.button-primary { font-size: 14px; } .button { padding: 0; width: 120px; } .for-checkbox { font-size: 14px; } } } } } } } @media screen and (max-width: 639px) { .popup-wrapper { display: flex; align-items: flex-start; flex-direction: row; justify-content: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; //background: linear-gradient(to top, #231f20ba, #f5f5f5e3); //background-image: linear-gradient(to top, rgba(35, 31, 32, 0.73), rgba(245, 245, 245, 0.89)); //background-position-x: initial; //background-position-y: initial; //background-size: initial; //background-repeat-x: initial; //background-repeat-y: initial; //background-attachment: initial; //background-origin: initial; //background-clip: initial; //background-color: initial; .popup-sale.popup-sale-black-friday { margin-top: 20px; height: 600px; width: 400px; border-radius: 0px; background-image: url(../../images/ai/popup_sale/bg-black-friday-mobile.png); background-repeat: no-repeat; background-position: center; background-size: contain; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; position: relative; overflow: hidden; .popup-content { height: 149px; form { margin: 0; .popup-sale-row { display: flex; align-items: flex-start; flex-direction: row; justify-content: space-between; flex-wrap: wrap; margin: 0; .tel { margin: 5px; } .button.button-primary { font-size: 16px; margin: 5px; } .button { width: 138px; } .for-checkbox { align-self: flex-start; margin: 14px 10px 0px 10px; width: auto; label { margin: 0; } } } .js-messages { text-align: center; } } } } } } @media screen and (max-width: 400px) { .popup-wrapper { .popup-sale.popup-sale-black-friday { height: 580px; } } } @media screen and (max-width: 385px) { .popup-wrapper { .popup-sale.popup-sale-black-friday { .popup-content { form { .popup-sale-row { .button.button-primary { font-size: 13px; } .button { width: 100px; } } } } } } } @media screen and (max-width: 380px) { .popup-wrapper { .popup-sale.popup-sale-black-friday { height: 545px; } } } //popup-sale end