.online-page {
  background: #fff;
  font-family: 'Open Sans', sans-serif;
  color: #0B2447;
  font-weight: 400;
}
.online-section {
  margin: 120px 0;
}
.online-top {
  margin: 75px 0 120px;
  padding-top: 50px;
}
.online-container {
  width: 100%;
  max-width: 1140px;
  padding: 0 15px;
  margin: 0 auto;
}
.online-h1 {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  line-height: normal;
  margin: 0 0 20px;
}
.online-text {
  text-align: center;
  font-size: 18px;
  line-height: 27px;
  margin: 0;
}
.online-top-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 40px 0 30px;
}
.online-video {
  width: 422px;
  margin-right: 95px;
  border-radius: 20px;
  position: relative;
}
.online-video video {
  width: 100%;
  position: relative;
  z-index: 2;
  border-radius: 20px;
}
.online-video::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: -6px;
  left: -9px;
  background: linear-gradient(90deg, #FF9A9E 0%, #FAD0C4 99%, #FAD0C4 100%);
  border-radius: 20px;
  z-index: 1;
}
.online-video::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translate(0%, -50%);
  width: 67px;
  height: 39px;
  background: url(../../img/online-editor/video-arrow.webp) no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
.online-upload {
  flex: 1;
}
.upload-block {
  width: 100%;
  border-radius: 20px;
  background: #FFF;
  box-shadow: 0px 0px 48px 0px rgba(11, 36, 71, 0.15);
  padding: 27px 25px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.upload-file {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: 1.2px dashed rgba(150, 161, 176, 0.50);
  padding: 27px 15px;
  width: 100%;
  max-width: 265px;
  min-height: 116px;
  margin-bottom: 20px;
  transition: ease .3s;
}
#messages {
  display: none;
}
.highlightDropArea {
  border: 1.2px dashed #FF9A9E;
}
.highlightDropArea #messages,
.highlightDropAreaImg #messages{
  display: block;
}
.highlightDropArea .upload-file-img,
.highlightDropAreaImg .upload-file-img {
  display: none;
}
.upload-btn {
  display: flex;
  padding: 12px 28px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: #0F70E6;
  color: #FFF;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  cursor: pointer;
  border: none;
  transition: ease .3s;
  margin: 0 auto;
}
.upload-btn:hover {
  background: #3661c2;
}
.upload-btn img {
  margin-right: 8px;
}
.upload-format {
  margin-top: 7.5px;
  font-size: 13px;
  line-height: 19.5px;
  text-transform: uppercase;
  opacity: 0.7;
}
.upload-images {
  margin-top: 26px;
}
.upload-images-text {
  font-size: 16px;
  line-height: 24px;
}
.upload-images-block {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}
.upload-img {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 4px;
  transition: ease .3s;
  cursor: pointer;
  width: 64px;
  height: 45px;
  z-index: 3;
}
.upload-img::after {
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 5px;
  transition: ease .3s;
  background: transparent;
  z-index: 2;
}
.upload-img:hover::after {
  background: rgba(0, 0, 0, 0.20);
}
.upload-img img {
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}
.upload-block-big {
  margin: 40px auto 30px;
  padding: 84px 25px 40px;
  max-width: 730px;
  width: 100%;
}
.upload-block-big .upload-format {
  font-size: 14px;
  margin-top: 8.5px;
}
.upload-block-big .upload-images {
  margin-top: 65px;
}
.upload-block-big .upload-images-block {
  margin-top: 8px;
}
.upload-block-big .upload-img {
  width: 90px;
  height: 62px;
  margin: 5px;
}

.online-subtext {
  color: #96A1B0;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}
.online-subtext a {
  color: #96A1B0;
  text-decoration-line: underline;
}
.online-subtext a:hover {
  text-decoration-line: none;
}

.online-benefits {
  margin-top: 60px;
}
.online-h2 {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 20px;
}
.online-benefits-block {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.online-benefits-item {
  width: 277px;
  margin: 0 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.online-benefits-img {
  width: 76px;
  height: 76px;
  background: #FFF;
  box-shadow: 0px 0px 22px rgba(11, 36, 71, 0.15);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.online-h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  margin: 0 0 12px;
}

.online-benefits__bg .online-benefits-block {
  margin-bottom: 20px;
}
.online-benefits__bg .online-benefits-item {
  width: 380px;
  min-height: 272px;
  background: url(../../img/online-editor/online-benefits1.webp) center/cover no-repeat;
  justify-content: flex-start;
  padding: 20px 20px 0;
  margin: 0 0 20px;
}
.online-benefits__bg .online-benefits-item:nth-child(2) {
  background: url(../../img/online-editor/online-benefits2.webp) center/cover no-repeat;
}
.online-benefits__bg .online-benefits-item:nth-child(3) {
  width: 350px;
  background: url(../../img/online-editor/online-benefits3.webp) center/cover no-repeat;
}
.online-benefits__bg .online-benefits-img {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}
.online-h3 {
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  line-height: 33px;
  margin: 0 0 10px;
}

.retush-online {
  max-width: 920px;
  margin: 36px auto 0;
  display: block;
}
.retush-online .tabs {
  margin: 0 0 45px;
  border-radius: 56px;
  background: #FFF;
  box-shadow: 0px 0px 48px 0px rgba(11, 36, 71, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 114px;
}
.retush-online .tab {
  line-height: 24px;
  color: #0B2447;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  text-transform: none;
  margin: 10px 15px;
  background: none;
  box-shadow: none;
  width: initial;
  height: initial;
  opacity: 1;
  transition: ease .3s;
}
.retush-online .tab:hover {
  color: #FF9A9E;
}
.retush-online .tab.active {
  opacity: 0.6;
}
.retush-online .img-content {
  max-width: 100%;
  height: 0;
  border-radius: 20px;
  padding: 0 0 60%;
  overflow: hidden;
}
.retush-online .img-shadow {
  padding: 0;
}
.retush-online .img-frame {
  padding: 0;
}
.retush-online .img-box {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.retush-online .twentytwenty-handle {
  width: 40px;
  height: 40px;
  border: none;
  background: url(../../img/online-editor/handle.webp) 0 0 no-repeat;
  border-radius: 50%;
  margin-left: -23px;
}
.retush-online .twentytwenty-handle:hover {
  background: url(../../img/online-editor/handle-active.webp) 0 -1px no-repeat;
}
.retush-online .twentytwenty-horizontal .twentytwenty-handle:before {
  margin-bottom: 23px;
}
.retush-online .twentytwenty-horizontal .twentytwenty-handle:after {
  margin-top: 23px;
}

.removal-bg {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 35px -15px 0;
}
.removal-bg-item {
  display: flex;
  flex-direction: column;
  width: 350px;
  margin: 15px;
  padding: 26px;
  border-radius: 20px;
  background: rgba(11, 36, 71, 0.05);
}
.removal-bg-img {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  position: relative;
  margin-bottom: 15px;
}

.automatic-section {
  background: linear-gradient(90deg, rgba(255, 154, 158, 0.60) 0%, rgba(250, 208, 196, 0.60) 99%, rgba(250, 208, 196, 0.60) 100%);
}
.automatic-block {
  display: flex;
  align-items: center;
  padding-top: 35px;
}
.automatic-img {
  width: 477px;
  margin-right: 35px;
  line-height: 0;
  align-self: flex-end;
}
.automatic-info {
  flex: 1;
}
.automatic-info .online-h2 {
  text-align: left;
}
.online-ul {
  padding-left: 20px;
  margin-bottom: 40px;
}
.online-ul li {
  font-size: 18px;
  line-height: 27px;
  margin-bottom: 13px;
  list-style-type: disc;
}
.automatic-info .upload-btn {
  margin: 0;
}

.replace-bg.retush-online {
  max-width: 100%;
}
.replace-bg.retush-online .tabs {
  max-width: 920px;
  margin: 0 auto 45px;
  padding: 5px 100px;
}
.replace-bg.retush-online .img-content {
  padding: 0 0 30%;
}
.retush-online-box {
  display: flex;
  margin: 0 -15px;
}
.retush-online-img {
  width: 25%;
  margin: 0 15px;
  position: relative;
  padding-bottom: 28.51%;
  border-radius: 15px;
  overflow: hidden;
  line-height: 0;
  height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.retush-online-img img {
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.retush-online-text {
  font-size: 18px;
  line-height: 27px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.70);
  padding: 0px 15px;
  margin: 0 auto;
  bottom: 10px;
  left: auto;
  right: auto;
  z-index: 2;
  position: absolute;
}

.online-review {
  margin: 50px -15px 0;
}
.online-review-item {
  border-radius: 20px;
  background: rgba(11, 36, 71, 0.05);
  padding: 30px;
  margin: 0 15px;
}
.online-review-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 23px;
}
.online-review-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  position: relative;
  margin-right: 14px;
}
.online-review-avatar img {
  position: absolute;
  top: 0;
  height: 100%;
  left: 0;
  width: 100%;
  object-fit: cover;
}
.online-review-info {
  margin-right: 15px;
}
.online-review-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}
.online-review-date {
  font-size: 16px;
  line-height: 24px;
}
.online-review-stars {
  display: flex;
  padding-top: 5px;
  margin-left: auto;
  margin-bottom: auto;
}
.online-review-stars img {
  margin: 0 3px;
}
.online-review .online-text {
  text-align: left;
}
.online-review__back,
.online-review__next {
  cursor: pointer;
  padding: 0;
  display: inline-block;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  background-color: transparent;
  box-shadow: 0px 0px 48px rgba(11, 36, 71, 0.15);
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  transition: ease .3s;
}
.online-review__back {
  left: -40px;
}
.online-review__next {
  right: -40px;
  transform: translateY(-50%) rotate(180deg);
}
.online-review__back::after,
.online-review__next::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  background: url(../../img/online-editor/arrow-slide-hover.webp) no-repeat;
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: ease .3s;
}
.online-review__back:hover::after,
.online-review__next:hover::after {
  opacity: 1;
}
@media (max-width: 1250px) {
  .online-review {
    padding: 0 30px;
  }
  .online-review__back {
    left: 5px;
  }
  .online-review__next {
    right: 5px;
  }
}

.online-spoilers {
  margin-top: 50px;
}
.online-spoilers .spoiler {
  margin-bottom: 15px;
}
.online-spoilers .spoiler__question {
  border-radius: 15px;
  background: #F2F4F6;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  font-size: 20px;
  position: relative;
  z-index: 2;
}
.online-spoilers .spoiler__question:hover,
.online-spoilers .spoiler__question.close {
  color: #FF9A9E;
}
.online-spoilers .spoiler__answer {
  padding: 40px 100px 40px 30px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  background: #F9FAFB;
  margin-top: -10px;
}
.online-spoilers .spoiler__answer p {
  font-size: 18px;
  line-height: 27px;
}
.online-spoilers .spoiler__toggle {
  position: absolute;
  left: inherit;
  right: 55px;
  top: 26px;
}
.online-spoilers .spoiler__toggle:before, 
.online-spoilers .spoiler__toggle:after {
  height: 12px;
  top: -1px;
}
.online-spoilers .spoiler__toggle:before {
  top: -1px;
  left: 0px;
}
.online-spoilers .spoiler__question:hover .spoiler__toggle:before,
.online-spoilers .spoiler__question:hover .spoiler__toggle:after {
  background: #FF9A9E;
}
.online-spoilers .spoiler__question.close .spoiler__toggle {
  transform: rotate(0deg);
}
.online-spoilers .spoiler__question.close .spoiler__toggle:after {
  left: 0px;
  background: #FF9A9E;
}
.online-spoilers .spoiler__question.close .spoiler__toggle:before {
  left: 7px;
  background: #FF9A9E;
}
@media (max-width: 991px) {
  .online-top {
    margin: 75px 0 80px;
  }
  .online-section {
    margin: 80px 0;
  }
  .online-h1 {
    font-size: 44px;
    line-height: 56px;
  }
  .online-top-block {
    flex-direction: column;
  }
  .online-video {
    margin: 0 auto 90px;
  }
  .online-video::before {
    right: 50%;
    top: initial;
    bottom: -82px;
    transform: translate(50%, -50%) rotate(90deg);
  }
  .online-upload {
    width: 100%;
  }
  .online-benefits-block {
    margin-top: 30px;
  }
  .online-benefits-item {
    margin: 20px 35px;
  }
  .retush-online .tabs {
    padding: 5px 25px;
    justify-content: space-around;
  }
  .online-h2 {
    font-size: 36px;
    line-height: 44px;
  }
  .automatic-img {
    width: 300px;
  }
  .automatic-info {
    padding-bottom: 25px;
  }
  .replace-bg.retush-online .tabs {
    padding: 5px 25px;
  }
  .retush-online-text {
    font-size: 16px;
    line-height: 20px;
    padding: 3px 10px;
  }
  .upload-block-big {
    padding: 40px 25px 40px;
  }
  .upload-block-big .upload-images {
    margin-top: 40px;
  }
  .online-review {
    padding: 0 40px;
  }
  .online-spoilers {
    margin-top: 35px;
  }
  .online-spoilers .spoiler__question {
    font-size: 18px;
    line-height: 24px;
    padding: 14px 35px 14px 25px;
  }
  .online-spoilers .spoiler__toggle {
    right: 30px;
  }
  .online-spoilers .spoiler__answer {
    padding: 20px 35px 25px 20px;
  }
}
@media (max-width: 767px) {
  .online-h1 {
    font-size: 38px;
    line-height: 48px;
  }
  .online-h2 {
    font-size: 34px;
    line-height: 42px;
  }
  .online-section {
    margin: 60px 0;
  }
  .online-top {
    margin: 75px 0 60px;
  }
  .automatic-block {
    flex-direction: column-reverse;
  }
  .automatic-img {
    width: 290px;
    margin: 0 auto;
  }
  .retush-online-box {
    margin: 0 -7px;
  }
  .retush-online-text {
    font-size: 14px;
    line-height: 16px;
  }
  .retush-online-img {
    margin: 0 7px;
  }
  .retush-online .tab {
    font-size: 18px;
    line-height: 22px;
    margin: 6px 12px;
  }
  .online-review-stars {
    margin-left: inherit;
  }
}
@media (max-width: 575px) {
  .online-top {
    padding-top: 35px;
  }
  .online-h1 {
    font-size: 34px;
    line-height: 40px;
  }
  .online-video {
    width: 290px;
  }
  .upload-block {
    padding: 25px 5px 25px;
  }
  .online-h2 {
    font-size: 30px;
    line-height: 40px;
  }
  .online-benefits-block {
    margin-top: 20px;
  }
  .online-benefits-item {
    margin: 15px 20px;
  }
  .online-benefits-img {
    margin-bottom: 10px;
  }
  .online-h4 {
    margin-bottom: 5px;
  }
  .retush-online .tabs {
    margin: 0 0 30px;
  }
  .online-benefits__bg .online-benefits-item,
  .online-benefits__bg .online-benefits-item:nth-child(1),
  .online-benefits__bg .online-benefits-item:nth-child(2),
  .online-benefits__bg .online-benefits-item:nth-child(3) {
    background: #f2f3f5;
    width: 290px;
    border-radius: 15px;
  }
  .replace-bg.retush-online .tabs {
    margin: 0 auto 30px;
  }
  .replace-bg.retush-online .img-content {
    padding: 0px 0 135%;
  }
  .retush-online-box {
    flex-wrap: wrap;
  }
  .retush-online-img {
    margin: 7px 7px;
    width: 45%;
    padding-bottom: 58.51%;
  }
  .removal-bg-item {
    width: 290px;
    padding: 15px;
  }
  .upload-block-big .upload-img {
    width: 64px;
    height: 44px;
    margin: 4px;
  }
  .online-ul li {
    margin-bottom: 5px;
  }
  .online-spoilers .spoiler__question {
    padding: 14px 40px 14px 15px;
  }
  .online-spoilers .spoiler__answer {
    padding: 15px;
  }
  .online-spoilers .spoiler__answer p {
    font-size: 16px;
    line-height: 25px;
  }
  .online-review {
    padding: 0;
  }
  .online-review-item {
    padding: 15px;
  }
  .online-review__back, .online-review__next {
    top: -30px;
  }
  .online-review__back {
    left: 20px;
  }
  .online-review__next {
    right: 20px;
  }
}
/* service */
.service-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 25px -15px;
}
.service-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: calc(50% - 30px);
  margin: 20px 15px;
}
.service-block .online-h3 {
  text-align: left;
}
.service-block .online-text {
  text-align: left;
  margin: 20px 0 15px;
}
.service-block .upload-btn {
  margin: 18px auto 0 0;
}

.service {
  padding-right: 56px;
  position: relative;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}
.service-content {
  position: relative;
  padding-bottom: 74%;
  line-height: 0;
  height: 0;
}
.service-box {
  border-radius: 15px;
  width: 100%;
  position: absolute;
  display: flex;
  justify-self: center;
  align-items: center;
  padding-bottom: 74%;
  line-height: 0;
  height: 0;
  overflow: hidden;
  border: none;
  opacity: 0;
  transition: ease .3s;
}
.service-box img {
  position: absolute;
  height: 100%;
  width: 100%;
  max-width: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  border-radius: 15px;
  line-height: 0;
  overflow: hidden;
  border: none;
}
.service-box.active {
  opacity: 1;
}
.service-tabs {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 11px 9px;
  transform: translate(0, -50%);
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0px 0px 30px 0px rgba(11, 36, 71, 0.08);
}
.service-tab {
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  overflow: hidden;
  transition: ease .3s;
  width: 83px;
  height: 54px;
  margin-bottom: 9px;
}
.service-tab:last-child {
  margin-bottom: 0;
}
.service-tab img {
  position: absolute;
  height: 100%;
  width: 100%;
  max-width: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  border-radius: 6px;
  line-height: 0;
  overflow: hidden;
  background: #fff;
}
.service-tab.active img {
  padding: 2px;
  background-image: linear-gradient(90deg, #FF9A44 0%, #FC6076 74%);
}

.service-images {
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-img {
  display: flex;
  flex-direction: column;
}
.service-img-long {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 13px;
  position: relative;
}
.retush-online-text {
  bottom: 7px;
}
.service-img-small {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.service-img-small:first-child {
  margin-bottom: 16px;
}
.service-img img {
  border-radius: 15px;
}
#file-upload-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 767px) {
  .service-item {
    width: 100%;
    order: 2;
  }
  .service-item__img {
    order: 1;
  }
}
@media (max-width: 575px) {
  .service {
    padding-right: 0;
  }
  .service-tabs {
    padding: 7px;
    transform: none;
    top: initial;
    flex-direction: row;
    position: relative;
  }
  .service-tab {
    width: 65px;
    height: 45px;
    margin: 0 7px 0 0;
  }
  .service-tab:last-child {
    margin: 0;
  }
}