@import url('https://fonts.googleapis.com/css2?family=Neucha&display=swap');
#work_space audio{ max-width: 100%;}
.logo-editor{ padding-top: 0;}
.header-editor{ height: 45px;}
.textarea-wrp{ background: none;}
.__inter_content_form{display:none; position: absolute;z-index:999; bottom:10px;left:auto;right:auto;max-width: 600px;}
.__inter_content_form.active{display:inline-block;}

.__inter_content_form .b12{ width: 18px; margin-right: 5px;}
.b12 .arrow-l{width:18px;height:18px;display:inline-block; background: url(/templates/turbotext/photo_ai/img/nemethods/rback.svg) no-repeat center center;border:none;}
.b12 .arrow-r{width:18px;height:18px; display:inline-block;background: url(/templates/turbotext/photo_ai/img/nemethods/rup.svg) no-repeat center center;border:none;}
.section-tols{position: relative;left: 0;max-width: 100%;top: 0;padding: 0;}

.header-editor-textarea{ padding: 5px; min-height: 50px;}
.new_dopoptionsmini{ margin-bottom: 5px;}
.css_selectv2{background: rgba(15, 22, 29, 1); line-height: 25px;font-family: Montserrat;
font-size: 12px;border-radius:5px;
font-weight: 500;display:inline-block;
padding: 0 7px; margin-right: 5px;
text-align: left;height: 25px;
color: rgba(199, 215, 240, 1);
}
.css_selectv3{background-color: #0F161D; line-height: 25px;font-family: Montserrat !important;
font-size: 12px;border-radius:5px;border-color:#0F161D;
font-weight: 500;display:inline-block;
padding: 0 7px; margin-right: 5px;width:auto;
text-align: left;height: 25px;
color: rgba(199, 215, 240, 1);background-image: url(/templates/turbotext/photo_ai/img/select_pointer.svg) !important;
    background-position: calc(100% - 10px);
    background-size: 10px 10px;
    background-repeat: no-repeat; padding-right: 30px;font-family: Montserrat;
}
.css_selectv3 option {
    font-family: 'Arial', sans-serif;
}
button.css_selectv2{display:flex;}
button.css_selectv2:after{ display: inline-block; background: url(/templates/turbotext/photo_ai/img/pup.svg) no-repeat center center;border:none;content:"";width:25px;height:25px;}
.gencontentform{ width: 100%;background: #44596d;border-radius: 5px;padding:5px;}
.text-btn{ position: relative;display:inline-block;}
.css_otheropt{ cursor: pointer;background: url(/templates/turbotext/photo_ai/img/opt2.svg) no-repeat center center;width:23px;height:23px; background-size: 100% 100%; display: inline-block;}

.css_otheropt_v2{ cursor: pointer;background: url(/templates/turbotext/photo_ai/img/opt2.svg) no-repeat center center;width:36px;height:36px; background-size: 100% 100%; display: inline-block;}

.overflowhidden{ overflow:hidden;}
.versions>a{margin-top:10px;opacity: 0.6;font-family: Montserrat;font-size: 14px;font-weight: 500;line-height: 14px;letter-spacing: 0em;color:#fff;text-align: left;}
.versions a.active,.versions a:hover{opacity:1;}
.versions img{border-radius:5px;padding:3px;}
.versions span{padding-left:3px;}
.versions a.active img,.versions a:hover img{border: 3px solid rgba(255, 153, 0, 1);padding:0px;}





.gen_styles>a{margin-top:10px;opacity: 0.6;font-family: Montserrat;font-size: 14px;font-weight: 600;line-height: 25px;letter-spacing: 0em;color:#fff;text-align: left;}
.gen_styles a.active,.gen_styles a:hover{opacity:1;}
.gen_styles img{border-radius:5px;padding:3px;}
.gen_styles span{padding-left:3px;}
.gen_styles a.active img,.gen_styles a:hover img{border: 3px solid rgba(255, 153, 0, 1);padding:0px;}

.modal_blackstyle{background: linear-gradient(0deg, #16202A, #16202A),linear-gradient(0deg, #3E3D3D, #3E3D3D);}
.modal .modal_blackstyle .modal-header{margin-bottom:5px; background: none !important;padding-bottom: 0px !important;min-height: auto !important;}
.modal .modal_blackstyle .btn-close{ background:url(/templates/turbotext/photo_ai/img/close.svg) no-repeat center center;width: 15px;height:15px;}
.modal .modal_blackstyle  .btn-close{top:5px;}
.modal#_select_v_in_modal .modal-dialog{max-width:435px;}

.line_of_methods_wrap{text-align: center;background: #0F161D;padding:10px;padding-bottom: 0;}
.line_of_methods{margin-left: auto;margin-right: auto;  display: inline-block; }
.__m_url{vertical-align: top; display: inline-block;width:101px;}
.__methodsbox_imgwrap{display:flex;border: 2px solid #0F161D; margin-bottom: 5px;border-radius: 10px;overflow:hidden;opacity: 0.6;background: linear-gradient(180deg, #263647 0%, #16202A 100%);}
.__m_url.active .__methodsbox_imgwrap{opacity: 1;border: 2px solid rgba(255, 153, 0, 1);}

@media (min-width: 600px) {
  .__m_url:hover .__methodsbox_imgwrap{opacity: 1;border: 2px solid #c8c8c8;}
}

.editor-wrp {height: calc(100svh - 224px);}
.opened_top_row .editor-wrp {height: calc(100svh - 203px - 44px);}


._v2_tabs{ height: calc(100% - 35px); overflow:auto;position: relative;}
.__m_url .__methodsbox{width:100%;height:91px;display: inline-block; background-position: center center; background-repeat: no-repeat;}
.__m_url .__methodsbox.__m_create{ background-image: url('/templates/turbotext/photo_ai/img/nemethods/create.png');}
.__m_url .__methodsbox.__m_uvimg{ background-image: url('/templates/turbotext/photo_ai/img/nemethods/uvimg.png');}
.__m_url .__methodsbox.__m_add_object{ background-image: url('/templates/turbotext/photo_ai/img/nemethods/add_object.png');}
.__m_url .__methodsbox.__m_removebg{ background-image: url('/templates/turbotext/photo_ai/img/nemethods/removebg.png');}
.__m_url .__methodsbox.__m_ulface{ background-image: url('/templates/turbotext/photo_ai/img/nemethods/ulface.png');}
.__m_url .__methodsbox.__m_replace_object{ background-image: url('/templates/turbotext/photo_ai/img/nemethods/replace_object.png');}
.__m_url .__methodsbox.__m_replace_face{ background-image: url('/templates/turbotext/photo_ai/img/nemethods/replace_face.png');}
.__m_url .__m_name{width:100%;overflow:hidden;max-height:28px;font-family: Montserrat;font-size: 14px;font-weight: 600;line-height: 14px;letter-spacing: 0em;text-align: center;color: #FFFFFF;display: inline-block;}

@media (min-width: 1000px) {
.user_options_modal {height: calc(100dvh - 255px);overflow:hidden;}
#error_box_modal .modal-dialog{min-width:500px;}
}
.user_options_modal{display:none !important;}
.user_options_modal.__active{display:inline-block !important;}

.redboxinmain{ width: 280px; height: 280px;
}

.beauty_mode_left{left:calc((100% - 255px - 600px) / 2) !important;}


.redboxinmain>span{font-family: Neucha;
font-size: 18px;
font-weight: 400;
line-height: 18px;
letter-spacing: 0em;
text-align: center;}
.imico{font-family: Montserrat;
font-size: 16px;
font-weight: 500;white-space: nowrap;
line-height: 40px;
letter-spacing: 0em;
text-align: center;
color: #FFFFFF;
 background: url(/templates/turbotext/photo_ai/v2/img/v7img.svg) no-repeat 10px center,#B30041; padding-left: 40px;}
 .btn_st1:hover {
   background: url(/templates/turbotext/photo_ai/v2/img/v7img.svg) no-repeat 10px center,#F90;
   color: #fff;
 }
#main_image_previewer._mask_mode{ min-width: 240px !important; background: #000;}
.TurboZoom-viewport._mask_mode{ touch-action: none !important;}

.hidden{ display:none !important;}
.hidden_subs{ display:none !important;}
.doblefixed{display:block !important;}
.method_edit_mode .hidden_subs:not(.hidden_per){ display:block !important;}



.__inter_content_form{display:none;}
.__inter_content_form.active{ display: inline-block !important;}


#alt_bar_4 .textgen_title{ font-size:16px;color:#fff;}
#alt_bar_4 .header-editor-textarea{ height: 100% !important;}
#alt_bar_4 .textgen_btn{padding: 8px 20px; height: auto;}

#alt_bar_1,#alt_bar_auto{left: calc(50vw - 300px);right: calc(50vw - 300px);}
#alt_bar_49{left: calc(50vw - 290px);right: calc(50vw - 290px);}
#alt_bar_4{left: 140px;
  right: 15vw;
  top: 250px;
  width: 100%;
  max-width: 70vw;}
#alt_bar_3{left: calc(50vw - 90px);right: calc(50vw - 90px);}

#alt_bar_music{left:calc(50vw - 230px);right:auto;width:464px;max-width:90vw;bottom:170px; text-align: center;}
#alt_bar_music a{ background: #44596D;padding:5px 15px;border-radius: 9999px;border-width: 1px;color: #fff;margin:3px;white-space: nowrap;display:inline-block;border:1px solid #263647;}
#alt_bar_music a.active,#alt_bar_music a:hover{ border:1px solid #FF9900;}

#alt_bar_music a.music_ico_1{ background-image:url(/templates/turbotext/photo_ai/v2/img/musicico1.png); background-repeat: no-repeat; background-position: 10px center;padding-left:35px;}
#alt_bar_music a.music_ico_2{ background-size: 20px auto; background-repeat: no-repeat; background-position: 10px center;padding-left:35px;}
#alt_bar_music a.music_ico_3{ background-image:url(/templates/turbotext/photo_ai/v2/img/music_ico_3.png); background-repeat: no-repeat; background-position: 10px center;padding-left:35px;}

.v7_sourcehisdate{font-family: Montserrat;
font-weight: 500;
font-style: Medium;
font-size: 12px;
leading-trim: CAP_HEIGHT;
line-height: 20px;
letter-spacing: 0%;color: rgba(109, 132, 155, 1);

}
.v7_sourcehistext{font-family: Montserrat;
font-weight: 500;
font-style: Medium;
font-size: 14px;resize:none;width:100%;
leading-trim: CAP_HEIGHT;
line-height: 20px;
letter-spacing: 0%;color: rgba(0, 0, 0, 1);

}

._text_left_box,._text_right_box{ height: 100%;}
@media (max-width: 620px) {
  #alt_bar_1,#alt_bar_auto {left: 20px;right: 10px;max-width: calc(100% - 30px);}

}
@media (max-width: 620px) {
  #alt_bar_49 {left: 20px;right: 10px;}
  #alt_bar_4 {left: 30px;right: 10px;top: 320px;max-width: 81vw;}
  #alt_bar_music {left: 30px;right: 10px;top: 320px;max-width: 81vw;}
  ._text_left_box{}
  ._text_right_box{ height: 50%;}

  .__ai_textmode .editor-wrp {
    min-height: 100svh;
    height: auto;
  }
}

#_select_v_in_modal.modal .modal-dialog {
  max-width: 435px !important;
}
#_select_ver_in_modal.modal .modal-dialog {
  max-width: 448px !important;
}

.placeholder_generate_text2image{ background: url(/templates/turbotext/photo_ai/v2/img/placeholders/generate_text2image.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.placeholder_generate_image2image{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/generate_image2image.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.placeholder_upscale_image{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/upscale_image.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.placeholder_generate_inpainting1{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/generate_inpainting1.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.placeholder_generate_inpainting2{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/generate_inpainting2.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.placeholder_deepfake_photo2{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/deepfake_photo2.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}

.placeholder_generate_video{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/deepfake_photo2.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.placeholder_generate_lipsync{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/generate_lipsync.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}

.placeholder_deepfake_photo1{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/deepfake_photo1.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.placeholder_generate_pix2pix{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/generate_pix2pix.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.placeholder_remove_background{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/remove_background.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.placeholder_restore_face{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/restore_face.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}

.placeholder_mix_images1{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/mix_images1.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.placeholder_mix_images2{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/mix_images2.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}

.placeholder_change_background{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/change_backgroundx.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.placeholder_generate_text2music{background: url(/templates/turbotext/photo_ai/v2/img/placeholders/generate_text2music.svg) no-repeat center center;width:100%;display:inline-block; height:144px;background-size: contain;}
.line_of_methods_wrap .swiper-slide{ width: 101px;}

:root {
  --swiper-pagination-bottom: auto;
  --swiper-pagination-top: 34px;
  --swiper-navigation-color:#fff;
  --swiper-theme-color:#fff;
  --swiper-navigation-top-offset:35%;
  --swiper-navigation-sides-offset:0px;


}


.start_paint_mask{position: absolute;
  width: 100%;
  height: 100%;
  background: url(/templates/turbotext/photo_ai/v2/img/px.png);font-family: Neucha;
font-size: 18px;
font-weight: 400;
line-height: 16px;
letter-spacing: 0em;
text-align: center;padding:5%;padding-top:40px;text-align:center;
color: #FFFFFF;

  top: 0;}
.paint_mask_ico{ background: url(/templates/turbotext/photo_ai/v2/img/t1.png) no-repeat center center;width:100%;height:100px;display:inline-block;margin-top:10px;margin-bottom:10px;}

.deepface_closebtn{

  font-family: Montserrat;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0em;
  text-align: center;

  background: #16202B;color: #FFFFFF;display:inline-block;
padding: 5px 6px;
border-radius: 100px;
gap: 10px;right:5px;top:5px;position:absolute;


}
.deepface_closebtn:hover{color: #FFFFFF;}

.styled_textarea{background: #223244 !important;font-family: Montserrat !important;
font-size: 12px !important;
font-weight: 500 !important;
line-height: 17px !important;
letter-spacing: 0em !important;
text-align: left;color: #FFFFFF !important;}

.b12 .paint_ico{width:18px;height:18px;display:inline-block; background: url(/templates/turbotext/photo_ai/v2/img/paintoff.svg) no-repeat center center;border:none;}
.b12 .paint_ico.active{ background-image: url(/templates/turbotext/photo_ai/v2/img/painton.svg)}
.b12.b13 button{float: left; margin-bottom: 3px;}
.inpaint_textarea{ height: 62px; margin-bottom: 5px;}

.create_mask_ver .for_find_on_img{display:none;}
.create_mask_ver .for_replace_on_img{width: 567px;max-width: calc(100vw - 120px);}

.footer_fixedmenu{position: relative !important;left: auto;right:auto;bottom:auto;}
.footer_fixedmenu._active{display: inline-block !important;}

.redboxinmain{ border-style: solid;border-color: #6E8DBF;}

.loading_on
{
  border:3px solid #B30041;
  color:#FFF;
  text-shadow:0 0 10px #FFF;
}
.loading_on:before
{
  border-top:3px solid #FFF;
  border-right:3px solid #FFF;
}
.loading_on span:before
{
  background:#FFF;
  box-shadow:0 0 20px #FFF;
}

.line_of_methods_wrap .swiper{ max-width: 100%;}
.line_of_methods_wrap .swiper .swiper-wrapper{ max-width: 80%; padding-bottom: 5px;}
@media (min-width: 1058px) {
  .line_of_methods_wrap .swiper{ max-width: 98%;}
  .line_of_methods_wrap .swiper .swiper-wrapper{ max-width: 98%;}


}

@media (max-width: 600px) {
  .logo-editor {
    padding: 7px;
  }
}

@media (max-width: 600px) {
  .text-btn {display:inline-block;
    margin: 0;
  }

  .header-editor-textarea {
    height: 50px;
  } .examples {display:inline-block;
  }
}
.generate_forms{ max-width: 100%;}
#create_image_placeholder{ cursor: pointer;}



  .footer_fixedmenu_undercav{display: block !important;width: auto; margin: auto;margin-top: -10px;}

  .footer_fixedmenu_undercav{display: block !important;width: auto;margin-left: calc(50% - 80px);}
  .footer_fixedmenu_undercav>div{display:flex !important;}
  .footer_fixedmenu_undercav>div a{display:inline-block;}

  .footer_fixedmenu_undercav .save_img{background: #B30041;border-radius: 5px;font-family: 'Montserrat';font-style: normal; display: inline-block;font-weight: 500;font-size: 12px; height: 22px; line-height: 19px;display: inline-block;text-align: center; margin: 5px; color: #FFFFFF; margin-left: 0;padding-left: 5px;padding-right: 5px;}
  .footer_fixedmenu_undercav .remove_img{background: #16202A;border: 1px solid #44596D;margin: 5px;display: inline-block;border-radius: 5px;font-family: 'Montserrat';font-style: normal;display: inline-block;font-weight: 500;padding-left: 5px;padding-right: 5px;font-size: 12px;height: 22px; line-height: 19px;text-align: center;color: #FFFFFF;margin-left: 0;}
  .footer_fixedmenu_undercav .share_img{margin-left: 0;background-size: 100% auto;height: 22px;width: 22px;
  line-height: 22px;}

  @media (max-width: 600px) {
   .footer_fixedmenu_undercav{margin-top: -50px;
  margin-left: 10px !important;}
  }

  .top_optons_h2{ display: none;}

  .remove_v2{ background: url(/templates/turbotext/photo_ai/v2/img/del.svg) no-repeat center center;display:inline-block;height:28px;width:28px;}
  .__v2tabsa{background: linear-gradient(88deg, #AA0024 0%, #FF005D 40%, #900013 100%) padding-box, linear-gradient(90deg, #9B0039 0%, #FF005D 50%, rgba(238,0,87,0.3) 100%) border-box;height: 28px;line-height: 28px;padding: 0 10px;font-family: Montserrat;font-size: 12px;font-weight: 500;text-align: center;color:#fff;border-top-left-radius: 3px;border-top-right-radius: 3px;white-space: nowrap;}
  .__v2tabsa.active{background: #263647;}
  .__v2tabsa:hover{color:#fff;}
._v2_tabs{background: #263647;}
  .user_options_modal{padding:0; background: none;}
  .user_options_modal ._v2_tabs_boxes{ height: 100%;display:none;padding:10px;background: #263647;}
  .user_options_modal ._v2_tabs_boxes.active{display:block;}
  .user_options_modal .__v2tabsa{ margin-right: 7px;}

  #ai_generation_history_modal .modal-dialog{ min-width: calc(100vw - 80px);}
  .header_modal__v2.modal-header{ padding-top: 15px;border-radius: 0; background: url('/templates/turbotext/images/modalbgv2.jpg') no-repeat center center !important;padding-bottom: 0px !important; background-size: cover;}

  .btn-style2{border:1px solid #44596D;background: #16202A;color:#fff;font-family: Montserrat;font-size: 16px;font-weight: 500;line-height: 24px;border-radius:5px;padding:5px 30px;}
  .btn-style2:hover{ color:#fff;}

  .btn-style2.active{background: linear-gradient(90deg, #2AF598 0%, #009EFD 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;font-family: Montserrat;font-size: 20px;font-weight: 700;line-height: 20px;}

  ._v2_history{display: inline-block;overflow-x: hidden; overflow-y: auto;width: 100%;}
  ._v2_history > a{margin-left: 0;}

  ._v2_history{height: calc(100dvh - 210px);
  display: inline-block;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;}
  ._v2_history img{width:100%;height:auto;}
  ._v2_history>a{margin-bottom: 7px;
    display: inline-block;
    width: 146px;
    height: 146px;
    margin-right: 7px;float:left;
    margin-left: 0;}

  .nchat{left: calc(50% - 177px);bottom:10px;top:10px;position: fixed;}

  .nchat._second .nchat__inner {
    height: calc(100dvh - 375px);
    max-height: 100%;
  }
  .nchat__head{ max-width: 90%;}
  .nchat{ max-width: 600px;left: calc(50% - 300px);}
  @media (max-width: 600px) {
    .nchat{ max-width: 98%;left:1%;}
    .nchat._second .nchat__inner {
      height: calc(100dvh - 325px);
    }
    .nchat__head{ padding-left: 10px !important;max-width: 96%; padding-right: 10px !important;}
  }
  @media (max-width: 500px) {
    .nchat._second .nchat__inner {
      height: calc(100dvh - 315px);
    }
  }
  .nchat._second .nchat__text {
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.__canbeopened{ display: block !important;}
.fiex_bar_about_gfenerations{padding:10px 15px; margin:0 -15px; position:absolute;bottom:0;width:100%;height:15dvh; background:#f4f4f4;}
.fiex_bar_about_gfenerations img{max-height:80px;}
@media (max-width: 999px) {
  ._v2_history > a{
    margin-bottom: 1% !important;
    width: 19% !important;
    height: 120px !important;
    margin-right: 1% !important;
  }
}
@media (max-width: 800px) {
  ._v2_history > a{
    margin-bottom: 1% !important;
    width: 23% !important;
    height: 120px !important;
    margin-right: 1% !important;
  }
}
@media (max-width: 600px) {
  ._v2_history > a{
    margin-bottom: 1% !important;
    width: 30% !important;
    height: 120px !important;
    margin-right: 1% !important;
  }
}
@media (max-width: 380px) {
  ._v2_history > a{
    margin-bottom: 1% !important;
    width: 47% !important;
    height: 120px !important;
    margin-right: 1% !important;
  }
}
@media (max-width: 999px) {
  .__canbeopened{ display: none !important;}
  .user_options_modal.__active, .user_vk_modal.__active {
    padding: 5%;background: #263647;display:none;
  }
  .user_options_modal {
    padding: 5%;background: #263647;display:none;
  }
  .__v2tabsa.active {
  background: #314051;
}
  .user_options_modal ._v2_tabs_boxes{background: #314051;}


}


.shoprt_btn_toggleoptions{background: url(/templates/turbotext/photo_ai/img/opt2.svg) no-repeat center center,#44596D;
    background-size: auto;
  height: 40px;width: 46px;
  background-size: 36px 36px;border-top-left-radius: 20px;border-bottom-left-radius: 20px; padding: 10px;
  display: inline-block;position:absolute;right:0;top:20px;cursor: pointer;

}
._onlyhistory.shoprt_btn_toggleoptions{
  
  background:
        url('/templates/turbotext/photo_ai/img/dcloud.svg') no-repeat center center / auto auto,
        linear-gradient(88deg, #AA0024 0%, #FF005D 40%, #900013 100%) padding-box,
        linear-gradient(90deg, #9B0039 0%, #FF005D 50%, rgba(238,0,87,0.3) 100%) border-box;
  
  
  height: 40px;width: 46px;
  background-size: 36px 36px;border-top-left-radius: 20px;border-bottom-left-radius: 20px; padding: 10px;
  display: inline-block;position:absolute;right:0;top:65px;cursor: pointer;

}
.examples{ width: 100%;}

#save_generator_options_form .btn-close{display:none;}

.text-btn{ white-space: nowrap;}


._v2_ava{border-radius:100%;width:40px;height: 40px;margin-right: 5px;}
._v2_lognmae{width: 110px;overflow: clip;}
.photo_ai_logibtns{min-width: 260px;}

@media (max-width: 1124px) {
  .pro_button_tarif{ width: 206px;line-height: 18px;
    display: inline-block;}
  .pro_button_tarif .c1{width: 100%;}
}
.textarea-wrp_mobile{ display:none;}
@media (max-width: 500px) {
  .pro_button_tarif {padding-left: 29px;
    line-height: 14px !important;
    font-size: 11px;
    text-align: left;
  }
  .pro_button_tarif .c1{font-size: 13px;}
}
.support_btnbottom{border-radius: 100%;
  width: 50px;
  height: 50px;display: flex !important;
  align-items: center;
  text-align: center;padding:0; bottom:25px;left:25px;position:absolute;color: #fff;padding:8px;


background:
        linear-gradient(88deg, #AA0024 0%, #FF005D 40%, #900013 100%) padding-box,
        linear-gradient(90deg, #9B0039 0%, #FF005D 50%, rgba(238,0,87,0.3) 100%) border-box;

}
.support_btnbottom svg{width:100%;height:100%;}
@media (max-width: 1000px) {
  .support_btnbottom{display:none !important;}

  .textarea-wrp{display:none;}
  .textarea-wrp_mobile{display: block;
    background: #16202a;
    width: 100%; text-align: center;
    padding-left: 10px;
    overflow: hidden;
    padding-top: 5px;}
    div.widget-visible{display:none !important;}
  .textarea-wrp_mobile .pro_block{margin-bottom: 5px;justify-content: center !important;}

  .editor-wrp {height: calc(100svh - 147px - 55px - 47px - 21px);}
  .opened_top_row .editor-wrp {height: calc(100svh - 147px - 55px - 47px - 21px - 22px);}
} 
@media (max-width: 600px) {
  .logo-editor{ width: 178px;}
  .photo_ai_logibtns{ width: 173px;min-width: auto;}
  .header-editor{flex-direction: row; background: #263647;}
}
._v3alink{ color:#fff;}
._ttphotoav3 .dropdown-toggle::after{color:#fff;}
.pro_button2{ background: url(/templates/turbotext/photo_ai/img/pro1.svg) no-repeat left 5px;padding-left:25px;display:inline-block;}
.pro_button2 .plabel{float:left;font-family: 'Montserrat';font-style: normal;font-weight: 400;font-size: 12px;line-height: 15px;leading-trim: both;text-edge: cap;text-align: center;color: #939393; width: 100%;display:inline-block; text-align: left;}
.pro_button2 .ptarif{float:left;font-family: 'Montserrat';width: 100%;display:inline-block;text-align: left;font-style: normal;font-weight: 600;font-size: 16px;line-height: 20px;leading-trim: both;text-edge: cap;color: #FFFFFF;}
.pro_button_tarif .c1{ white-space:nowrap;}
.pro_button_tarif .t1{ white-space:nowrap;}

.__active+.shoprt_btn_toggleoptions{display:none !important;}
@media (min-width: 999px) {
  .__canbeopened+.shoprt_btn_toggleoptions{display:none !important;}
  .__canbeopened+.shoprt_btn_toggleoptions+.shoprt_btn_toggleoptions{display:none !important;}
}

._min600{ display: none;}
@media (min-width: 600px) {
  ._min600{ display: block;}
}

.examples_btntop{border: #75736C 1px dashed;height: 35px;background: #44596D;display: flex;padding: 0 11px;border-radius: 5px;font-family: Montserrat;font-size: 14px;font-weight: 500;color: #FFFFFF;text-align: left;align-items: center;}
.examples_btntop:hover{color: #FFFFFF;border: #fff 1px dashed;}

.toploginst{height: 45px; padding:0 5px;}
.toploginst:hover span{ color: #fff; }
.toploginst:hover{text-decoration: none;background: linear-gradient(88deg, #AA0024 0%, #FF005D 40%, #900013 100%) padding-box, linear-gradient(90deg, #9B0039 0%, #FF005D 50%, rgba(238,0,87,0.3) 100%) border-box;}

.redboxinmain video{ max-width: 100%;width: 100%; max-height: 100%;height: 100%; background-color: #0F161D;}


.loading_off
{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:150px;
  height:150px;
  background:transparent;
  border:3px solid #B30041;
  border-radius:50%;
  text-align:center;
  line-height:150px;
  font-family:sans-serif;
  font-size:14px;
  color:#FFF;
  letter-spacing:4px;
  text-transform:uppercase;
  text-shadow:0 0 10px #B30041;
  box-shadow:0 0 20px rgba(0,0,0,.5);
}

#examples_slider{ padding-bottom: 30px;}
#examples_slider .swiper-slide{ width: 200px;}
.demo-slider {
  aspect-ratio: 1/0.58;
  position: relative;
}
#examples_slider .swiper-pagination{ top: 93% !important;}
.examples-slider{aspect-ratio: 1/1;}

.demo-slider__img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
}

@media screen and (min-width: 1000px){
  #examples_slider .swiper-slide{ width: 350px;}
  .demo-slider__img {
    background-size: 350px;
  }
}




.demo-slider__label {
  position: absolute;
  bottom: 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  left: 15px;
  line-height: 1;
}
@media screen and (max-width: 767px) {
  .demo-slider__label {
    font-size: 14px;
    left: 5px;
    bottom: 5px;
  }
}
.demo-slider__label--right {
  left: auto;
  right: 30px;
}
@media screen and (max-width: 767px) {
  .demo-slider__label--right {
    right: 15px;
  }
}.slider-button {
  pointer-events: none;
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #fff;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
  padding: 0;
}
.slider-button:after {
  content: "";
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent #fff;
}
.slider-button:before {
  content: "";
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 5px 6px 5px 0;
  border-color: transparent #fff transparent transparent;
}
.slider-button span {
  position: absolute;
}.slider-button::before {
  content: "";
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 5px 6px 5px 0;
  border-color: transparent #fff transparent transparent;
}
.slider-button::after {
  content: "";
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent #fff;
}

.slider_photo {
  position: absolute;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  height: 80px;
  top:calc(50% - 40px);
  background: none;
  outline: none;
  margin: 0;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.slider_photo::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
}
.slider_photo::-moz-range-thumb {
  -moz-appearance: none;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
}

.loader_v1 {
  width: 15px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: l5 1s infinite linear alternate;
}
@keyframes l5 {
    0%  {box-shadow: 20px 0 #000, -20px 0 #0002;background: #000 }
    33% {box-shadow: 20px 0 #000, -20px 0 #0002;background: #0002}
    66% {box-shadow: 20px 0 #0002,-20px 0 #000; background: #0002}
    100%{box-shadow: 20px 0 #0002,-20px 0 #000; background: #000 }
}

.modal:not(.nospecstyle) .v2.modal-header{ padding-top: 15px;border-radius: 0; background: url('/templates/turbotext/images/modalbgv2.jpg') no-repeat center center,#0F161D !important;padding-bottom: 0px !important; background-size: cover !important;}

.btn-style1{background: #0F161D;color:#fff;font-family: Montserrat;font-size: 16px;font-weight: 500;line-height: 24px;border-radius:5px;padding:5px 30px;}
.btn-style1:hover{ color:#fff;}


#buy_tarif_v2_modal .v2.modal-header{min-height:214px;}


#buy_tarif_v2_modal .tarifs_titles_v2{ margin-top: -105px;color:#fff;}

#buy_tarif_v2_modal .tarif_price_v2{color:#000000;font-family: Montserrat;font-size: 24px;font-weight: 500;line-height: 24px;}
#buy_tarif_v2_modal .tarif__price_v2 select{background-color: none;border: none;width: auto;}
#buy_tarif_v2_modal .modal-title{ text-align: center;font-family: Montserrat;font-size: 32px;font-weight: 400;line-height: 24px;}
#buy_tarif_v2_modal.modal .modal-dialog {max-width: 1000px;}
#buy_tarif_v2_modal.modal .sbtbtn {background: #0F161D;color:#fff;font-family: Montserrat;font-size: 16px;font-weight: 500;line-height: 24px;border-radius:5px;padding:5px 30px;}
#buy_tarif_v2_modal .tarif_limits_v2{display: inline-block;font-family: Montserrat;font-size: 16px;font-weight: 400;line-height: 16px; margin-bottom: 7px;color: #717171; max-width: 220px; text-align:left;margin-left:auto;margin-right:auto;}
#buy_tarif_v2_modal .tarif_limits_v2.disabled{ background: url(/templates/turbotext/images/f2.png) no-repeat left 3px;padding-left:20px;}
#buy_tarif_v2_modal .tarif_limits_v2.active{color:#000000; background: url(/templates/turbotext/images/f1.png) no-repeat left 3px;padding-left:20px;}
#buy_tarif_v2_modal .v1_title_turbo1{text-transform: uppercase;background: linear-gradient(90deg, #444 0%, #B6FFDD 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;font-family: Montserrat;font-size: 28px;font-weight: 700;line-height: 35px;}
#buy_tarif_v2_modal .v2_title_turbo1{text-transform: uppercase;background: linear-gradient(90deg, #2AF598 0%, #009EFD 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;font-family: Montserrat;font-size: 28px;font-weight: 700;line-height: 35px;}
#buy_tarif_v2_modal .v3_title_turbo1{text-transform: uppercase;background: linear-gradient(90deg, #FA709A 0%, #FEE140 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;font-family: Montserrat;font-size: 28px;font-weight: 700;line-height: 35px;}
#buy_tarif_v2_modal .v4_title_turbo1{text-transform: uppercase;background: linear-gradient(90deg, #84FAB0 0%, #8FD3F4 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;font-family: Montserrat;font-size: 16px;font-weight: 700;line-height: 25px;}
#buy_tarif_v2_modal .v5_title_turbo1{text-transform: uppercase;font-size: 16px;font-weight: 700;line-height: 35px;color:#fff;line-height: 20px;}
#buy_tarif_v2_modal .v6_title_turbo1{text-transform: uppercase;background: linear-gradient(90deg, #444 0%, #B6FFDD 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;font-family: Montserrat;font-size: 28px;font-weight: 700;line-height: 35px;}

#buy_tarif_v2_modal .__tarifv2_w{ text-align: center;color:#fff;}
#buy_tarif_v2_modal .nowrap{ white-space: nowrap;}
#buy_tarif_v2_modal.modal.__base_active .modal-dialog {max-width: 1200px !important;}


#buy_tarif_v2_modal ._v2tarnmae{height: 120px; text-align: center;}
#buy_tarif_v2_modal .mtobmob{ margin-top: -105px !important;}

#buy_tarif_v2_modal .col-5md12{ width: 100%;}
@media (max-width: 1000px) {
  #buy_tarif_v2_modal .modal-title{ font-size: 20px;}
  #buy_tarif_v2_modal .f20{ font-size: 16px;}
}
#buy_tarif_v2_modal ._max1000{display: inline-block;}
#buy_tarif_v2_modal ._min1000{display: none;}
#buy_tarif_v2_modal .m-tarif__buttons{ text-align: center;}
#buy_tarif_v2_modal .tarif__price_v2{ margin-top: 20px; margin-bottom: 5px;}
#buy_tarif_v2_modal .m-tarif__buttons{ margin-bottom: 15px;}
#buy_tarif_v2_modal .m-tarif__label._max1000{ margin-top: 0; margin-bottom: 0;}
#buy_tarif_v2_modal .m-tarif__list{  text-align: left;max-width: 150px;margin-left: auto;margin-right: auto;}

@media (min-width: 999px) {
#buy_tarif_v2_modal.__base_active .__tarifv2_w{ width: 20%;}
#buy_tarif_v2_modal.__base_active .__tarifv2_w:first-child{ width: 19%;}
#buy_tarif_v2_modal.__base_active .__tarifv2_w:last-child{ width: 21%;}
}
@media (max-width: 1000px) {
  #buy_tarif_v2_modal ._min1000{display: inline-block;}
  #buy_tarif_v2_modal ._max1000{display: none;}
  #buy_tarif_v2_modal ._v2_c1{ margin-top: 20px; margin-bottom: 20px;}
  #buy_tarif_v2_modal .__base_active .__tarifv2_w{ width: 100%;max-width: 100%;}
  #buy_tarif_v2_modal .__tarifv2_w ._v2tarnmae{ width: 65%;text-align: left;}
  #buy_tarif_v2_modal .__tarifv2_w ._pricev2{width: 35%; text-align: right;}
  #buy_tarif_v2_modal .__v2_robg{ background: #000;border-radius: 5px;padding: 7px 0;}
  #buy_tarif_v2_modal.modal .sbtbtn{background: #DD0050;color: #fff;line-height: 41px; margin-right: auto; margin-left: 0;}
  #buy_tarif_v2_modal .tarif__price_v2{ margin-top: 5px; margin-bottom: 5px;}
  #buy_tarif_v2_modal .tarif_limits_v2{ text-align: left; margin-right: auto; margin-left: 0;}
  #buy_tarif_v2_modal ._v2tarnmae{height:auto;}
  #buy_tarif_v2_modal .mtobmob{ margin-top: 0px !important;}
  #buy_tarif_v2_modal .tarif_price_v2{color:#fff;font-family: Montserrat;font-size: 20px;font-weight: 500;line-height: 20px;}
  #buy_tarif_v2_modal ._pricev2{align-self: center;}
  #buy_tarif_v2_modal .m-tarif__buttons{ text-align: left; margin-bottom: 0;}
  #buy_tarif_v2_modal .col-5md12{ width: 50%;}

  #buy_tarif_v2_modal .m-tarif__list{ margin-bottom: 20px;flex-direction: column; text-align: left;}
  #buy_tarif_v2_modal .tarifs_titles_v2{ margin-top: 20px;}

  #buy_tarif_v2_modal .header_of_buyv2{flex-direction: column;}
  #buy_tarif_v2_modal .header_of_buyv2 .clsbtnv2{position: absolute;right: 10px;top: 10px;}
  #buy_tarif_v2_modal .header_of_buyv2 .modal-title{ margin-top: 20px;}
  #buy_tarif_v2_modal .v2.modal-header{min-height:133px;}
  #buy_tarif_v2_modal .header_of_buyv2{font-size: 20px;}
}

#buy_tarif_v2_modal .f20{ font-size: 20px;}
#buy_tarif_v2_modal .lh18{line-height: 18px;}

.plus18:hover{
  color: #fff;}
.plus18{background: #ce0000;
  color: #fff;
  border-radius: 100%;
  width: 25px;
  height: 25px;
  font-size: 12px;
  text-align: center;
  line-height: 25px;
  font-weight: bold;
  font-family: Atial;
  margin-left: 10px !important;}

._selected_thumb:not(._is_audio){border: 4px solid #16202A;filter: opacity(0.7);padding: 1px;}
._thumb_previewer{ background-repeat: no-repeat; background-size:cover; background-position: center center;relative;width:100%; height: 100%; background-color: #ccc;}

.ordernocss{ font-size: 13px; color: #fff;text-shadow: 0px 1px 1px #000;}

.ai_result_css_text:not(.showall){overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;}
.ai_result_css_text{height: 80px;
  overflow-y: auto;line-height: 120%;
  overflow-x: hidden;}

  .oneline{overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;}
  .twoline{overflow: hidden;
      -ms-text-overflow: ellipsis;
      -o-text-overflow: ellipsis;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;}
.__music_item .twoline{ font-size: 10px; padding: 10px;line-height: 11px;height: 55px;}

.type_of_photo a:not(._is_audio):hover{border: 4px solid #16202A;filter: opacity(0.7);padding: 1px;}

._v3_history{display: inline-block;overflow-x: hidden; overflow-y: auto;width: 100%;margin-bottom:50px;}
._v3_history>div>a{margin-left: 0;}

._v3_history{height: calc(100dvh - 240px);
display: inline-block;
overflow-x: hidden;
overflow-y: auto;
width: 100%;}
._v3_history img{width:100%;height:auto;}
._v3_history>div>a{margin-bottom: 7px;
  display: inline-block;position:relative;
  width: 146px;
  height: 146px;
  margin-right: 7px;float:left;
  margin-left: 0;}

._v3_history>div>a._is_audio{margin-bottom: 7px;
  display: inline-block;position:relative;
  width: 330px;
  height: auto;
  margin-right: 7px;float:left;
  margin-left: 0;}

._v3_history .crop_of_typebox{ display: none;}
._v3_history .crop_of_typebox.active{ display: block;}
@media (max-width: 999px) {
  ._v3_history>div>a:not(._is_audio){
    margin-bottom: 1% !important;
    width: 19% !important;
    height: 120px !important;
    margin-right: 1% !important;
  }
}
@media (max-width: 800px) {
  ._v3_history>div>a:not(._is_audio){
    margin-bottom: 1% !important;
    width: 23% !important;
    height: 120px !important;
    margin-right: 1% !important;
  }
}
@media (max-width: 600px) {
  ._v3_history>div>a:not(._is_audio){
    margin-bottom: 5px !important;
    width: calc(33% - 5px) !important;
    height: 120px !important;
    margin-right: 5px !important;
  }
}
@media (max-width: 380px) {
  ._v3_history>div>a:not(._is_audio){
    margin-bottom: 5px !important;
    width: calc(50% - 5px) !important;
    height: 120px !important;
    margin-right: 5px !important;
  }
}

.ai_gen_text_tpl{ display: inline-block;
  max-width: 298px;
  height: 200px;
  border: 1px solid #D9D9D9;
  padding: 10px;
  margin-right: 10px;
  margin-bottom: 10px;background: #f4f4f4;}

._vztitle{ height: 42px;
  line-height: 17px;overflow: hidden; text-overflow: ellipsis;}

  #ai_generation_history_modal h2.modal-title{font-weight:700px;font-size: 32px;}
  @media (max-width: 500px) {
    #ai_generation_history_modal h2.modal-title{font-size: 18px;}
  }
  .photoai_lsidebar{position: absolute;top:290px;left:5px;}
  .photoai_lsidebar2{position: absolute;top:242px;left:5px;}

  .opened_top_row .photoai_lsidebar{position: absolute;top:305px;left:5px;}
  .opened_top_row .photoai_lsidebar2{position: absolute;top:261px;left:5px;}

  

  .ls_instaico{display:inline-block; background: url(/templates/turbotext/images/btns/instaicov1.svg) no-repeat center center; width: 13px; height: 82px; margin-bottom: 10px;}
  .ls_soob{display:inline-block; background: url(/templates/turbotext/images/btns/soobv1.svg) no-repeat center center; width: 12px; height: 92px;margin-bottom: 10px;}
  .ls_soobtg{display:inline-block; background: url(/templates/turbotext/images/btns/soobtg.svg) no-repeat center center; width: 11px; height: 94px;margin-bottom: 10px;}
  .ls_channel{display:inline-block; background: url(/templates/turbotext/images/btns/channelv1.svg) no-repeat center center; width: 11px; height: 51px;margin-bottom: 10px;}

  .ls_vkico{display:inline-block; background: url(/templates/turbotext/photo_ai/v2/img/vknew.svg) no-repeat center center; width: 18px; height: 35px;margin-left:-3px;background-size: 100%}

   .ls_max{display:inline-block; background: url(/templates/turbotext/photo_ai/v2/img/maxnew.svg) no-repeat center center; width: 14px; height: 53px;margin-left:-1px;background-size: 100%}


  .ls_vzico{display:inline-block; background: url(/templates/turbotext/images/btns/vzico.svg) no-repeat center center; width: 117px; height: 35px; }
  @media (max-width: 1000px) {
    .photoai_lsidebar{position: absolute;top:326px;left:5px;}
    .photoai_lsidebar2{position: absolute;top:280px;left:5px;}

    .opened_top_row .photoai_lsidebar{position: absolute;top:327px;left:5px;}
    .opened_top_row .photoai_lsidebar2{position: absolute;top:310px;left:5px;}
  }

  @media (max-width: 580px) {
    .photoai_lsidebar{position: absolute;top:291px;left:5px;}
    .photoai_lsidebar2{position: absolute;top:273px;left:5px;}

    .opened_top_row .photoai_lsidebar{position: absolute;top:327px;left:5px;}
    .opened_top_row .photoai_lsidebar2{position: absolute;top:292px;left:5px;}

    #alt_bar_4 .textgen_title{margin-top:20px;}
  }

  @media (min-height: 800px) {
    .photoai_lsidebar{top:calc(50dvh - 30px);}

    .ls_vkico{display:inline-block; background: url(/templates/turbotext/images/btns/vkv2pc.svg) no-repeat center center; width: 18px; height: 93px;margin-bottom: 5px;background-size: 100% auto;}
    .ls_soobtg{display:inline-block; background: url(/templates/turbotext/images/btns/soobv3.svg) no-repeat center center; width: 14px; height: 87px;margin-bottom: 5px;background-size: 100% auto;}
    .ls_channel{display:inline-block; background: url(/templates/turbotext/images/btns/tgkanalv4.svg) no-repeat center center; width: 14px; height: 64px;background-size: 100% auto;}

    .ls_max{display:inline-block; background: url(/templates/turbotext/photo_ai/v2/img/maxnew.svg) no-repeat center center; width: 14px; height: 53px;margin-left:-1px;background-size: 100%}
  }
  @media (min-height: 1000px) {
    .photoai_lsidebar{left:15px;}
    .photoai_lsidebar2{left:15px;}
    .ls_vzico{ margin-bottom: -22px;}

    .photoai_lsidebar{top:calc(50% - 100px);}

    .ls_vkico{display:inline-block; background: url(/templates/turbotext/images/btns/vkv2pc.svg) no-repeat center center; width: 25px; height: 129px;margin-bottom: 5px;background-size: 100% auto;}
    .ls_soobtg{display:inline-block; background: url(/templates/turbotext/images/btns/soobv3.svg) no-repeat center center; width: 25px; height: 144px;margin-bottom: 5px;background-size: 100% auto;}
    .ls_channel{display:inline-block; background: url(/templates/turbotext/images/btns/tgkanalv4.svg) no-repeat center center; width: 25px; height: 97px;background-size: 100% auto;}

  }
  


  .loading_with_async{ cursor: text;background: #0F161D;position: relative;}
  .loading_with_async .loading_on{border: 3px solid #314051; font-size: 12px;text-align: center;max-width: 90%; max-height: 90%;line-height: 100%;}
  .loading_with_async .loading_on::before {border-top: 3px solid #263647;border-right: 3px solid #5b7591;}
  .loading_with_async .loading_on span::before {background: #0F161D;box-shadow: 0 0 20px #000;}

  .loading_off
  {
    border:3px solid #B30041;
    color:#FFF;
    text-shadow:0 0 10px #FFF;
  }
  .loading_off:before
  {
    border-top:3px solid #FFF;
    border-right:3px solid #FFF;
  }
  .loading_off span:before
  {
    background:#FFF;
    box-shadow:0 0 20px #FFF;
  }
  .loading_with_async_finished{ cursor: text;background: #0F161D;position: relative;}
  .loading_with_async_finished .loading_off{border: 3px solid #314051; font-size: 12px;text-align: center;max-width: 90%; max-height: 90%;line-height: 100%;}


  .share-content{background: #16202A;}
  .modal-backdrop.show {
    opacity: .1;
  }
  .modal#modal-share .modal-header{padding-bottom: 0 !important;
  min-height: 50px !important; background: none !important;}
  .modal#modal-share .btn-close{ right: 3px !important;}
  .modal#modal-share .modal-dialog{ max-width: 400px !important;margin-left: auto;
  margin-right: auto;}
  #aria-share{font-family: 'Montserrat';font-style: normal;font-weight: 600;font-size: 16px;line-height: 20px;leading-trim: both;text-edge: cap;text-align: center;color: #FFFFFF;width: 100%;}
  .sharebodymodal{border-bottom: 1px solid #304356; margin-top: 15px; padding-top: 15px;}
  .share_socialx hr{background: #304356;
  opacity: 1;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;margin-top: 0;}
  ._shar_blocks{ display: flex;width: 100%;margin-left: auto;
  margin-right: auto;
    flex-wrap: wrap;
    width: 300px;
    gap: 15px 1px;}
  .shar_{ text-align: center;width: 41px; height: 41px;background: url(/templates/turbotext/photo_ai/img/socials.svg) no-repeat top,left;flex: 1 1 auto;}
  .shar_._vk{ background-position: 0 0;}
  .shar_._ok{ background-position: -51px 0 ;}
  .shar_._fb{ background-position: -101px 0 ;}
  .shar_._tg{ background-position: -151px 0 ;}
  .shar_._wh{ background-position: -201px 0 ;}
  .shar_._vb{ background-position: -251px 0 ;}

  ._shar_btn1{background: #B30041;border-radius: 5px;font-family: 'Montserrat';font-style: normal;font-weight: 600;font-size: 14px;padding: 0 20px;margin-top: 20px; margin-bottom: 20px;line-height: 40px;leading-trim: both;text-edge: cap;text-align: center;display: inline-block;color: #FFFFFF;}
  ._shar_btn1:hover{color: #FFFFFF;}
  .likely svg{display: none;}
  .ya-share2__container{ text-align: center;}
  .share_socialx .h2{font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;display:inline-block;width:100%;
  leading-trim: both;
  text-edge: cap;
  text-align: center;
  color: #FFFFFF;}
  .share_url{background: #16202A;
  	border: 1px solid #6D849B;
  	border-radius: 5px;color: #FFFFFF; font-size: 14px;
  }

  @media (max-width: 600px) {
    .maxw100inmob{width:auto; max-width: 100px;text-overflow: ellipsis;}
    .maxw130inmob{width:auto; max-width: 130px;text-overflow: ellipsis;}
    .maxw150inmob{width:auto; max-width: 150px;text-overflow: ellipsis;}
    .maxw170inmob{width:auto; max-width: 170px;text-overflow: ellipsis;}
  }


  .method_groups_line{width: 100%;min-height:30px !important;line-height: 24px; background-color: #0F161D;}
  .method_groups_line ul{margin-bottom: 0;}
  .method_groups_line ul li{ margin-right: 30px;line-height:34px;height:30px !important;display:inline-block;}
  .method_groups_line ul li a{color:#2BB2FF;display:inline-block;font-family: Montserrat;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  }
  @media (min-width: 600px) {
  .method_groups_line ul li a:hover{color:#BDE7FF}
  }
  .method_groups_line ul li a.active{color:#F90}
  .__m_url .__methodsbox{ height: 91px;}



.text_result_mode{border: none;background: none;width: 600px !important;}
.redboxinmain.text_result_mode > span{ max-width: 100%;}
.redboxinmain.text_result_mode textarea{ background: #44596d;border-radius: 5px;font-size: 14px;color: #fff;}

#textgenresult72{font-family: Montserrat;
  font-weight: 400;
  font-style: Medium;
  font-size: 14px;line-height: 135%;resize:none;
}

@media (max-width: 600px) {
  .method_groups_line ul{padding:0;margin-left: 10px;}
  .method_groups_line ul li{ line-height:30px;margin-right: 8px;}
  .text_result_mode{width: calc(100dvw - 60px) !important;}
 
  
}


.vz_resulthtml p{ margin: 0;padding:0;float: left;
  width: 100%;}
  .vz_resulthtml hr{float: left;
    width: 100%;}

.linksso1 svg{ transform: rotate(270deg);}
.linksso1:hover{color: #7393C6;}
.linksso1{writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  color: #7393C6;
  transform: none;
  font-family: Montserrat;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: bold;
  width: 11px;
  line-height: 11px;}
  @media (min-height: 800px) {
    .linksso1{font-size: 11px;
  width: 12px;
  line-height: 12px;}
}


.linksso1_v7:hover{color: #7393C6;}
.linksso1_v7{writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  color: #7393C6;
  transform: none;
  font-family: Montserrat;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: bold;
  width: 11px;
  line-height: 11px;padding-top: 13px;
}
@media (min-height: 800px) {
  .linksso1_v7{font-size: 11px;width: 12px;line-height: 12px;}
}


.linksso1_v7.ls_vkico_v7{background: url(/templates/turbotext/photo_ai/v2/img/v7_vkicon.svg) no-repeat;background-size: auto;background-size: 100% auto;}

.linksso1_v7.ls_max_v7{background: url(/templates/turbotext/photo_ai/v2/img/v7_max_iconsvg.svg) no-repeat;background-size: auto;padding-top: 16px;background-size: 100% auto;}

.linksso1_v7.ls_soobtg_v7{background: url(/templates/turbotext/photo_ai/v2/img/v7_tgicon.svg) no-repeat;background-size: auto;background-size: 100% auto;}

.linksso1_v7.ls_channel_v7{background: url(/templates/turbotext/photo_ai/v2/img/v7_tgicon.svg) no-repeat;background-size: auto;background-size: 100% auto;}

.linksso1_v7.ls_blog_v7{background: url(/templates/turbotext/photo_ai/v2/img/v7_blogicon.svg) no-repeat;background-size: auto;padding-top: 16px;background-size: 100% auto;}

@media (max-height: 600px) {
  .linksso1_v7{font-size: 11px;width: 11px;line-height: 11px;}
}
img {
  image-rendering: -webkit-optimize-contrast;
}
html, body {
  -webkit-font-smoothing: antialiased;
}
@media (min-height: 1100px) {
  .linksso1_v7{font-size: 14px;width: 14px;line-height: 14px;padding-top: 16px;}

  .linksso1_v7.ls_max_v7{padding-top: 18px;}
  .linksso1_v7.ls_blog_v7{padding-top: 18px;}
}


  /*v3 modal tarif*/
  #buy_tarif_v2_modal.modal .modal-content{font-family: Montserrat;padding:7px;border-radius: 7px;}
.modal .modal-header.modalhead_v3{min-height: 63px;background:url(/templates/turbotext/images/buyv3/modalbg.png) no-repeat center center !important;height:63px;border-radius:5px;background-size: cover !important;}
.modalhead_v3 ._f1{font-weight: 700;font-size: 22px;line-height: 20px;text-align: center;}
.modalhead_v3 ._f2{font-weight: 500;font-size: 20px;line-height: 20px;text-align: center;}
.modalbody_v3{padding:5px;}
.modalbody_v3 ._f3{font-weight: 500;font-size: 20px;line-height: 24px;color:#000;}
.v3tarfiheader{text-align:center; background:url(/templates/turbotext/images/buyv3/bg1.png) no-repeat center center;width:100%;height:86px;background-size: cover;border-radius:20px;}
.v3tarif_column{width:100%;}
.v3tarif_column ._f4{font-weight: 700;font-size: 22px;line-height: 24px;letter-spacing: 0%;text-transform: uppercase;background: linear-gradient(90deg, #2AF598 0%, #009EFD 100%);background-clip: border-box;-webkit-background-clip: text;-webkit-text-fill-color: transparent;}
.v3tarif_column ._f5{font-weight: 500;font-size: 16px;line-height: 16px;}
._v3selectedtar{ background-color:none;border:none;width:auto;font-weight: 500;font-size: 15px;line-height: 24px;}
._v3selectedtar.form-select:focus{box-shadow: none;}
._v3tarifbtn1{background: linear-gradient(88deg, #AA0024 0%, #FF005D 40%, #900013 100%) padding-box, linear-gradient(90deg, #9B0039 0%, #FF005D 50%, rgba(238,0,87,0.3) 100%) border-box;font-weight: 700;color:#fff;line-height:22px;border-radius:100px;padding:7px 15px;font-size: 15px;display:inline-block;text-align:center;}
.v3tarif_price{font-weight: 500;font-size: 28px;line-height: 24px;color: #000;text-transform: uppercase;}
._v3_tarif_vkl{color: rgba(119, 119, 119, 1);font-weight: 500;font-size: 12px;line-height: 14px;letter-spacing: 0%;text-align: center;vertical-align: middle;}
._v3_tarif_vkl span{color: rgba(221, 0, 80, 1);font-weight: 700;font-size: 20px;line-height: 18px;text-align: center;}
._v3tarif_about{background: rgba(243, 246, 248, 1);border-radius:24px;padding:15px;font-weight: 500;margin-left:1px;margin-right:1px;font-size: 15px;text-align:left;line-height: 15px;letter-spacing: 0%;color: rgba(119, 119, 119, 1);}
._v3tarif_about span{color: rgba(0, 0, 0, 1);font-weight: 700;font-size: 20px;line-height: 20px;}
._v3tarif_about td{padding-bottom:7px;}
._v3tarif_about ._f7{font-size: 12px;}
.logowrap{background:url(/templates/turbotext/photo_ai/v2/img/ttrulogo.svg) no-repeat left center;width:97px;min-width:97px;height:34px;background-size: 100% auto;}

.v3check_tarif{display:none;}
.v3tarif_mobprice{display:none;}
.v3tarif_titletext{display:flex;flex-direction:column;text-align:center;}
.v3_close_btn{width:97px;text-align:right;}

.__colored_title{font-weight: 700;
  font-size: 22px;
  line-height: 24px;
  letter-spacing: 0%;
  text-transform: uppercase;
  background: linear-gradient(90deg, #2AF598 0%, #009EFD 100%);
    background-clip: border-box;
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;}

.v3_modal_head_pay{height:118px;}

#add_balance_modal_modal.modal .modal-dialog{max-width:600px;}
.body_content_st ._f10{font-family: Montserrat;
font-weight: 500;
font-size: 24px;
line-height: 24px;color:#000;
}
.body_content_st ._f11{font-family: Montserrat;
font-weight: 500;
font-size: 14px;
line-height: 24px;color: rgba(119, 119, 119, 1);

}
.body_content_st ._f12{font-family: Montserrat;
font-weight: 700;
font-size: 14px;
line-height: 16px;color:#000;
}
.v3_paybox{border: 2px solid rgba(226, 226, 226, 1);cursor:pointer;
  border-radius: 5px;
  max-width: 461px;
  padding: 0px 10px;
  min-height: 38px;}
  .v3_paybox:hover{border: 2px solid rgba(0, 163, 255, 1);}
  .v3_paybox.active{border: 2px solid rgba(0, 163, 255, 1);}


.v3_img_pay{width:100px;}
.v3_comment_pay{font-family: Montserrat;width: 65%;
font-weight: 500;max-height: 100%;
overflow: hidden;
font-size: 12px;
line-height: 14px;color: rgba(119, 119, 119, 1);
}
.v3_check_pay{}
.body_content_st ._f13{font-family: Montserrat;
font-weight: 500;
font-size: 12px;
line-height: 16px;
}

.body_content_st ._f14{font-family: Montserrat;
font-weight: 700;color: rgba(50, 103, 207, 1);

font-size: 12px;
line-height: 12px;
letter-spacing: 0%;
}

.v3_tarif_btn{background: rgba(179, 0, 65, 1);
  color: rgba(255, 255, 255, 1);
  width: 131px;
  line-height: 25px;
  text-align: center;
  border-radius: 5px;
  padding: 5px 10px 7px 10px;}
.v3_tarif_btn:hover{background: rgb(247, 26, 106);}

@media screen and (max-width: 931px) {
  .v3flexer1{ flex-direction:column;}
  .v3tarfiheader{cursor:pointer;background: linear-gradient(90deg, rgba(168, 237, 234, 0.2) 0%, rgba(254, 214, 227, 0.2) 100%);border: 2px solid rgba(38, 218, 229, 0.1);border-radius:50px;text-align:left;height:51px;}
    .v3tarif_column ._f4{font-size:15px;line-height:15px;}
    .v3tarif_column ._f5{font-size:10px;line-height:10px;}
  .v3check_tarif{display:block;height:100%;width:60px; background:url(/templates/turbotext/images/buyv3/check.svg) no-repeat center center;}
  .v3tarfiheader.active{border: 2px solid rgba(0, 215, 228, 1);}
  .v3tarfiheader.active .v3check_tarif{background:url(/templates/turbotext/images/buyv3/checked.svg) no-repeat center center;}

  .logowrap{width:41px;min-width:41px;}
  .v3_close_btn{width:41px;text-align:right;}
  .modalhead_v3 ._f1{font-size:14px;line-height:14px;}
  .modalhead_v3 ._f2{font-size:14px;line-height:14px;}
  .modalhead_v3 .icon{width:2em;height:2em;}

  .v3tarif_titletext{display:inline-block;text-align:left;margin-left:15px;line-height:14px;}
  .v3tarfiheader .pt-3{padding-top:4px !important;}

  .modalbody_v3 ._f3{font-size:14px;line-height:14px;}
  .v3tarif_mobprice{display: inline-block;
    background: rgba(228, 240, 249, 1);
    padding: 5px 10px;
    border-radius: 24px;
    line-height: 22px;
    margin: 8px;
  }
  .modalbody_v3 .v3tarif_price{display:none;}
}

.v3_tarif_link_allabout{font-family: Montserrat;
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  color: #000000;background:url(/templates/turbotext/images/buyv3/q.svg) no-repeat left center;padding-left:30px;line-height:30px;display:inline-block;
}
.v3_tarif_link_allabout:hover{color: #DD0050;}

.methodtype_all._geo_de .__methodsbox:before{content: "";
  background: url(/templates/turbotext/photo_ai/v2/img/dex.svg) no-repeat top left;
  position: absolute;backrgound-size:100% auto;
  top: 5px;
  left: 9px;
  width: 15px;
  height: 15px;
}

.methodtype_all._geo_ru .__methodsbox:before{content: "";
  background: url(/templates/turbotext/images/ru.png) no-repeat top left;
  position: absolute;
  top: 5px;
  left: 9px;
  width: 15px;
  height: 15px;
}

.methodtype_all._geo_no .__methodsbox:before{content: "";
  background: url(/templates/turbotext/photo_ai/v2/img/nor.jpg) no-repeat top left;
  position: absolute;
  top: 8px;
  left: 9px;
  width: 18px;
  height: 16px;background-size: 15px auto;
}

.methodtype_all._geo_en .__methodsbox:before{content: "";
  background: url(/templates/turbotext/photo_ai/img/usa.png) no-repeat top left;
  position: absolute;
  top: 5px;
  left: 9px;
  width: 18px;
  height: 16px;
}

.methodtype_all._geo_ch .__methodsbox:before{content: "";
  content: "";
  background: url(/templates/turbotext/photo_ai/v2/img/ch.png) no-repeat top left;
    background-size: auto;
  position: absolute;
  top: 0px;
  left: 3px;
  width: 33px;
  height: 41px;
  background-size: 23px auto;
}

.__textwrapper h1{ font-size: 32px;}
.__textwrapper h2{ font-size: 24px;}
.__textwrapper h3{ font-size: 19px;}
.__textwrapper h4{ font-size: 16px;}
.__textwrapper h5{ font-size: 13px;}
.__textwrapper h6{ font-size: 11px;}
.__textwrapper a:hover{color:inherit; text-decoration: underline;}

.only_for_vip{ position: absolute; top:6px;left:18px;background:url('/templates/turbotext/photo_ai/v2/img/vip.svg') no-repeat center center;width:51px;height:51px;}
._tph1{font-family: Montserrat;
font-weight: 500;
font-size: 12px;
line-height: 18px;display: inline-block;
text-align: center;
}
._tph2{font-family: Montserrat;
font-weight: 500;
font-size: 16px;
line-height: 18px;
text-align: center;background: linear-gradient(90deg, #F093FB 0%, #F5576C 100%);
-webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}


.marquee-wrapper {
  width: 100%;
background-color: #0F161D;
overflow: hidden;
white-space: nowrap;
padding: 0px 40px 3px 0;
color: #fff;
font-weight: 500;
font-size: 13px;
position: relative;
z-index: 1000;
display: flex;
align-items: center;
}

.marquee-inner {
  overflow: hidden;
  flex: 1;
}

.marquee {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 80s linear infinite;
}

.marquee-wrapper:hover .marquee {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0%); }
  to   { transform: translateX(-100%); }
}

.marquee-close {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
padding: 10px;
cursor: pointer;
opacity: 0.7;
}

.marquee-close:hover {
opacity: 1;
}

.marquee-close-icon {
position: relative;
display: block;
width: 16px;
height: 16px;
}

.marquee-close-icon::before,
.marquee-close-icon::after {
content: "";
position: absolute;
left: 0;
top: 7px;
width: 100%;
height: 2px;
background-color: #fff; /* 🎨 Меняй цвет здесь */
}

.marquee-close-icon::before {
transform: rotate(45deg);
}

.marquee-close-icon::after {
transform: rotate(-45deg);
}

@media (max-width: 768px) {
.marquee-close {
  right: 8px;
  padding: 8px;
}

.marquee-close-icon {
  width: 14px;
  height: 14px;
}
}

@media (max-width: 768px) {
.marquee-wrapper {
  font-size: 0.875rem;
}


}

.price_for_genline{width: 100%;
  font-size: 11px;
  text-align: center;
  float: left;
  line-height: 11px;}

  .text-btn{padding-top:0;padding-bottom:0;}

._xtoken{ font-size: 13px;}

.multiple_generation_box{position:absolute;right:-72px;width: 67px;top:-1px;}
        .multiple_generation_box .multiple_gen_img{cursor:pointer;width:67px;height:67px;margin: 0;
  padding: 0;
  float: left;margin-bottom:5px;}
  .multiple_generation_box .multiple_gen_img.active{border:1px solid #b30041;}



._upload_drop_v5{
    width: 100%;
    border-radius: 7px;
    color: #000;

    /* базовый фон */
    background: rgba(255, 255, 255, 0.35); /* полупрозрачное молочное стекло */
    backdrop-filter: blur(20px) saturate(0.8); /* iOS эффект */
    -webkit-backdrop-filter: blur(20px) saturate(0.8);

    border-radius: 14px;
    padding: 8px 0;

    border: 1px solid rgba(255, 255, 255, 0.3); /* светлая рамка */
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.4), /* внутренний свет */
        0 4px 20px rgba(0, 0, 0, 0.15);          /* мягкая падающая тень */
    overflow: hidden;

    /* «дышащий» эффект */
    background-size: 180% 180%;
    animation: dropv5Flow 10s ease-in-out infinite;
}


/* shine поверх меню */
._upload_drop_v5::before{
    content:"";
    position:absolute;
    top:-150%;
    left:-50%;
    width:200%;
    height:300%;

    background: linear-gradient( 120deg, rgba(255, 255, 255, 0) 0%, rgba(255,255,255,0.64) 70%, rgba(255, 255, 255, 0) 100% );

    pointer-events:none;
    opacity:0;
    transform: rotate(18deg);

    /* периодический блеск */
    animation: dropv5Shine 6s ease-in-out infinite;
}




/* анимация breathing-background */
@keyframes dropv5Flow{
    0%   {background-position:0% 0%;}
    50%  {background-position:100% 100%;}
    100% {background-position:0% 0%;}
}

/* shine анимация */
@keyframes dropv5Shine{
    0%   {opacity:0; transform: translateX(-160%) rotate(18deg);}
    12%  {opacity:0.25;}
    25%  {opacity:0.10; transform: translateX(0%) rotate(18deg);}
    38%  {opacity:0; transform: translateX(140%) rotate(18deg);}
    100% {opacity:0;}
}


._upload_drop_v5 a{
    color:#fff;
    padding: 7px 45px 7px 17px;  /* место для иконки */
    position: relative;
    display: block;font-family: Montserrat, system-ui;
  font-weight: 300;
  font-size: 13px;
}
._upload_drop_v5 li:not(._fromgen){border-bottom:1px solid #8f8f8f;}

._upload_drop_v5 li{
  margin-left:1px;margin-right:1px;
}

/* ОБЩИЙ СТИЛЬ для иконок */
._upload_drop_v5 a::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* КОНКРЕТНЫЕ ИКОНКИ */
._upload_drop_v5 ._from_media a::after{
    background-image: url('/templates/turbotext/photo_ai/v2/img/icon_media.svg');width: 22px;
  height: 18px;
  right: 10px;
}

._upload_drop_v5 ._from_capture a::after{
    background-image: url('/templates/turbotext/photo_ai/v2/img/icon_camera.svg');width: 24px;
  height: 25px;
  right: 9px;
}
._upload_drop_v5 ._from_capturex a::after{
    background-image: url('/templates/turbotext/photo_ai/v2/img/microv7fon2.svg');width: 24px;
  height: 25px;
  right: 9px;
}
._upload_drop_v5 ._from_pc a::after{
    background-image: url('/templates/turbotext/photo_ai/v2/img/v7_uploadpc.svg');
}

._upload_drop_v5 ._from_history a::after{
    background-image: url('/templates/turbotext/photo_ai/img/v7_archive.svg');
}

._upload_drop_v5 ._from_history._fromgen a::after{
    background-image: url('/templates/turbotext/photo_ai/img/v7palo.svg');
}




._upload_drop_v5 .dropdown-item:focus, ._upload_drop_v5 .dropdown-item:hover {
  color: #fff;background: linear-gradient(88deg, #AA0024 0%, #FF005D 40%, #900013 100%) padding-box, linear-gradient(90deg, #9B0039 0%, #FF005D 50%, rgba(238,0,87,0.3) 100%) border-box;border-radius:5px;

}

@media (max-width: 968px) {
._upload_drop_v5 ._from_pc{display:none;}
}
@media (min-width: 969px) {
  ._upload_drop_v5 ._from_media{display:none;}
  ._upload_drop_v5 ._from_capture{display:none;}
}
@media (pointer: coarse) {
  ._upload_drop_v5xxx ._from_pc {
    display: none !important;
  }
}
@media (pointer: fine) {
  ._upload_drop_v5xx ._from_media,
  ._upload_drop_v5xx ._from_capture {
    display: none !important;
  }
}

._upload_drop_v5 .ico{width:30px;}
.upload_ver5{
    max-width:100%;
    background:#16202A;font-size: 18px;
}

.upload_ver5 .small{font-size: .875em !important;}

.upload_ver5 .icon{
    width:70px;height:70px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.12);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#a9b8c9;
}

/* КРАСНАЯ ОСНОВНАЯ КНОПКА */
.upload_ver5 .btn-upload-primary{
    background:#c01746;
    border:1px solid #c01746;
    color:#fff;
    font-weight:500;
}
.upload_ver5 .btn-upload-primary:hover{
    background:#a2153c;
    border-color:#a2153c;
    color:#fff;
}

/* КНОПКА АРХИВА */
.upload_ver5 .btn-upload-secondary{
    background:transparent;
    border:1px solid rgba(255,255,255,0.18);
    color:#c7d0db;
    font-weight:500;
}
.upload_ver5 .btn-upload-secondary:hover{
    background:rgba(255,255,255,0.05);
    border-color:rgba(255,255,255,0.3);
    color:#eaf1f9;
}

.redboxinmain {
  border-radius: 7px;
}

.btn_stv7{
    position: relative;
    display: block;
    width: 100%;
    height: 40px;

    background:
        linear-gradient(88deg, #AA0024 0%, #FF005D 40%, #900013 100%) padding-box,
        linear-gradient(90deg, #9B0039 0%, #FF005D 50%, rgba(238,0,87,0.3) 100%) border-box;

    border-radius: 8px;
    border: 1px solid transparent;

    box-shadow:
        0px 2px 0px rgba(148, 0, 22, 1),
        0px 4px 4px rgba(153, 1, 25, 1) inset;

    font-family: Montserrat, system-ui;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    text-align: center;
    line-height: 40px;

    padding: 0 40px 0 50px; /* слева иконка, справа стрелка */

    cursor: pointer;
    overflow: hidden;
}

/* shine эффект */
.btn_stv7::after{
    content:"";
    position:absolute;
    top:-120%;
    left:80px; /* shine начинается после иконки */
    width:200%;
    height:300%;

    background: linear-gradient(
        115deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.22) 50%,
        rgba(255,255,255,0) 100%
    );

    transform: rotate(18deg);
    opacity:0;
    pointer-events:none;

    animation: shineFlow 4s ease-in-out infinite;
}

@keyframes shineFlow{
    0%   {opacity:0; transform:translateX(-160%) rotate(18deg);}
    8%   {opacity:0.35;}
    20%  {opacity:0.15; transform:translateX(10%) rotate(18deg);}
    32%  {opacity:0; transform:translateX(140%) rotate(18deg);}
    100% {opacity:0;}
}


.btn_stv7 .btn-arrow{
    position:absolute;
    right:15px;
    top:50%;
    width:0;
    height:0;

    border-left:5px solid transparent;
    border-right:5px solid transparent;
    border-top:6px solid #fff; /* стрелка вниз */

    transform:translateY(-50%) rotate(0deg);
    transform-origin:50% 40%;
    transition:transform .25s ease;
    pointer-events:none;
}

/* Bootstrap меняет aria-expanded — по нему и крутим */
.btn_stv7[aria-expanded="true"] .btn-arrow{
    transform:translateY(-50%) rotate(180deg);
}

/* ПРЕМИУМ HOVER — без шадов, только анимация градиента */
.btn_stv7:hover,
.btn_stv7:focus-visible {
    background:
        linear-gradient(88deg, #FF2F4A 0%, #FF0F50 40%, #B20024 100%) padding-box,
        linear-gradient(90deg, #FF4B67 0%, #B20024 55%, rgba(238,0,87,0.45) 100%) border-box;

    /* плавное движение градиента — эффект премиум */
    background-size: 170% 100%, 100% 100%;
    background-position: 100% 50%, 50% 50%;

    filter: brightness(1.06);
    transition:
        background 0.4s ease,
        background-size 0.4s ease,
        background-position 0.4s ease,
        filter 0.3s ease;
}




/* ИКОНКА СПЕРЕДИ */
.btn_stv7._v7img::before,
.btn_stv7._v7audio::before,
.btn_stv7._v7video::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 15px;              /* отступ от края */
    transform: translateY(-50%);
    width: 20px;             /* размер иконки */
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

/* КОНКРЕТНЫЕ ИКОНКИ */
.btn_stv7._v7img::before{
    background-image: url('/templates/turbotext/photo_ai/v2/img/imicov7.svg');
}
.btn_stv7._v7audio::before{
    background-image: url('/templates/turbotext/photo_ai/v2/img/audioicov7.svg');
}
.btn_stv7._v7video::before{
    background-image: url('/templates/turbotext/photo_ai/v2/img/videoicov7.svg');
}





/* Чтобы текст не проваливался вниз */
.btn_stv7.dropdown-toggle{
    line-height: 40px !important; /* при высоте кнопки 40px */
    display: flex;
    align-items: center;  /* выравниваем текст по вертикали */
}



/* КОГДА меню открыто → стрелка вращается */
.btn_stv7.show.dropdown-toggle::after{
    transform: translateY(-50%) rotate(180deg) !important;margin-top: 9px;
}

@media (max-width: 600px) {
  .redboxinmain > span{max-width:90% !important;}
}

.redboxinmain .btn-group.dropup{margin-top:10px;}



#work_space{}



@media (min-height: 1100px) {
  .__inter_content_form{max-width: 900px;bottom: 50px !important;}
  #alt_bar_1, #alt_bar_auto {
    left: calc(50vw - 450px) !important;
    right: calc(50vw - 450px) !important;
  }

  #alt_bar_3 {
    left: calc(50vw - 150px) !important;
    right: calc(50vw - 150px) !important;
  }

  #new_prompt_area{min-height: 150px !important;}

  ._autobar_v2 .plusv7{width: 48px !important;height: 48px !important;background-size: 22px 22px !important;}

  ._autobar_v2 .savepromtv7{width: 48px !important;height: 48px !important;background-size: 22px 22px !important;}

  ._autobar_v2 textarea{font-size: 22px !important;}

  #clonned_props_v7 ._v7item ._itemtitle {
    padding-left: 30px !important;
    padding-right: 30px !important;
    min-width: 45px !important;
    line-height: 46px !important;
    height: 46px !important;
    font-size: 20px !important;
  }

  ._autobar_v2 .v7barprice{}

  .text-btn {
  
    padding: 20px 40px !important;;
      padding-top: 15px !important;;
      padding-bottom: 15px !important;;
    height: 80px !important;font-size: 25px !important;
    
  }
}



/* (по желанию) чуть подсветить кнопку */

._autobar_v2 .generate_btn_v7 {overflow:hidden;z-index:2;}
/*animation2*/
.btn-pulse{
  animation: btnPulse 1.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes btnPulse{
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(110, 141, 191,.35); }
  55%  { transform: scale(1.04);box-shadow: 0 0 0 14px rgba(0,229,255,0); }
  100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(0,229,255,0); }
}

/* чтобы при наведении не бесило */
.btn-pulse:hover{ animation-play-state: paused;animation:none; }

.btn-shimmer-nudge::after

.btn-shimmer-nudge{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  animation: nudge 2.2s ease-in-out infinite;
}



/* “блик” */
.btn-shimmer-nudge::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width:40%;
  height:180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: rotate(20deg);
  animation: shimmer 1.6s ease-in-out infinite;
  pointer-events:none;
}

@keyframes shimmer{
  0%   { left:-60%; opacity:.0; }
  20%  { opacity:1; }
  55%  { left:120%; opacity:.0; }
  100% { left:120%; opacity:0; }
}

/* лёгкий “подтолкни” */
@keyframes nudge{
  0%, 70%, 100% { transform: translateX(0); }
  74% { transform: translateX(-2px); }
  78% { transform: translateX(2px); }
  82% { transform: translateX(-1px); }
  86% { transform: translateX(1px); }
}

/* при наведении — стоп */
.btn-shimmer-nudge:hover{ animation-play-state: paused; }
.btn-shimmer-nudge:hover::after{ animation-play-state: paused; }




.btn-ai-glow{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

/* неоновая линия */
.btn-ai-glow::after{
  content: "";
  position: absolute;
  top: -120%;
  left: -60%;
  width: 60%;
  height: 300%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0,255,255,.8),
    rgba(255,0,255,.9),
    rgba(255,255,0,.8),
    transparent
  );
  filter: blur(4px);
  transform: rotate(25deg);
  animation: aiSwipe 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aiSwipe{
  0%{
    left: -80%;
    opacity: 0;
  }
  15%{
    opacity: 1;
  }
  50%{
    left: 120%;
    opacity: 1;
  }
  100%{
    left: 120%;
    opacity: 0;
  }
}

/* лёгкий пульс самой кнопки */
.btn-ai-glow{
  animation: softPulse 2.4s ease-in-out infinite;
}

@keyframes softPulse{
  0%,100%{
    transform: scale(1);
  }
  50%{
    transform: scale(1.03);
  }
}

/* чтобы не раздражало при наведении */
.btn-ai-glow:hover{
  animation-play-state: paused;
}
.btn-ai-glow:hover::after{
  animation-play-state: paused;
}




/*-------*/
.__animate_group1 {
    animation: btnPulse 1.5s ease-in-out infinite;
}
.__animate_group1:hover{animation:none;}

@keyframes brightPulse {
    0%, 100% {
        background-color: #3A5274;
        box-shadow: 0 0 15px rgba(255, 0, 93, 0.4);
    }
    50% {
        background-color: #FF005D;
        box-shadow: 0 0 50px rgba(255, 0, 93, 0.9),
                    0 0 80px rgba(255, 0, 93, 0.6);
    }
}


.btn-ring-spin {
    animation: brightPulse 1.5s ease-in-out infinite;
}

@keyframes brightPulse {
    0%, 100% {
        background-color: #3A5274;
        box-shadow: 0 0 15px rgba(255, 0, 93, 0.4);
    }
    50% {
        background-color: #FF005D;
        box-shadow: 0 0 50px rgba(255, 0, 93, 0.9),
                    0 0 80px rgba(255, 0, 93, 0.6);
    }
}


.remove_btnv7{border-radius:100%;background: url(/templates/turbotext/photo_ai/v2/img/del.svg) no-repeat center center;background-color: var(--bg-box);
  display: inline-block;
  height: 28px;
  width: 28px;
  position: absolute;
  top: 5px;
  right: 5px;}

.redboxinmain .btn-group.dropdown {
  margin-top: 10px;
}

.__hiddenplaceholder .loading_on{line-height: 95px;font-size: 9px;width: 95px;
  height: 95px;}

.remove_btnv8{width: 28px;padding:0;
  height: 22px;border:none; background:url(/templates/turbotext/photo_ai/img/sourceremove.svg) no-repeat center center;} 


.share_img_btnv8{
  position: absolute;background:url(/templates/turbotext/photo_ai/v2/img/sharev7.svg) no-repeat center center;
  bottom: 5px;
  right: 36px;
  height: 28px;
  width: 28px;
  background-color: var(--bg-box);
  background-size: 18px;
  border-radius: 100%;
}
.save_img_btnv8:hover,.share_img_btnv8:hover,.remove_btnv7:hover{
  background-color: #AA0024;
}
  
.save_img_btnv8{
  border-radius: 100%;
  
  display: inline-block;
  position: absolute;
  bottom: 5px;
  right: 5px;
  
  width: 28px;padding:0;
  height: 28px;border:none; background:url(/templates/turbotext/photo_ai/v2/img/downv7.svg) no-repeat center center;background-size: 14px auto;background-color: var(--bg-box);}  

  

.select_promnt_btn{font-size: 14px;
  color: #000;
  background: #d0d0d0;
  border-radius: 5px;display:inline-block;
  padding: 2px 10px;
  margin-top: 7px;}
.select_promnt_btn:hover{color: #000;}

.__prompt_lines{padding:10px;border-radius:7px;}
.__prompt_lines:nth-child(even){background:#f8f8f8;}
.__prompt_lines:hover{background:#c5c5c5;}

.__prompt_lines:hover .select_promnt_btn {
  background: #fff;}



.dragtitle{display:none;}
.dragover .dragtitle{display:block !important;}
.dragover .__boxalert{display:none !important;}

/* ВАЖНО: элемент с dragover должен быть position:relative */
.redboxinmainx:not(._imgloaded){
  position: relative;
}

/* вращающийся "энергетический" слой */
.redboxinmainx:not(._imgloaded)::before{
  content:'';
  position:absolute;
  inset:-66%;
  background: conic-gradient(
    from 0deg,
    rgba(63,169,255,1),
    rgba(139,92,246,1),
    rgba(34,211,238,1),
    rgba(63,169,255,1)
  );
  animation: dragSpin 2.8s linear infinite;
  opacity: .85;
  z-index: 1;
  pointer-events: none;
}

/* "стекло" поверх + затемнение */
.redboxinmainx:not(._imgloaded)::after{
  content:'';
  position:absolute;
  inset:3px;
  background:
    radial-gradient(circle at center, rgba(120,180,255,0.16), rgba(10,10,20,0.88));
  border-radius: 7px;
  z-index: 2;
  pointer-events: none;
}

/* чтобы контент был поверх слоёв */
.redboxinmainx:not(._imgloaded) > *{
  position: relative;
  z-index: 3;
}

/* подсветка рамки */
.redboxinmainx:not(._imgloaded){
  box-shadow:
    0 0 0 2px rgba(120,180,255,.9),
    0 0 35px rgba(120,180,255,.45),
    inset 0 0 28px rgba(120,180,255,.20);
}

@keyframes dragSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}


.__aiattachments{display:flex;flex-wrap: wrap;
	gap: 0.5rem; /* gx-2 */}
.__aiattachments>*{flex: 0 0 auto;}
.__aiattachments ._attach{width:60px;height:60px;position:relative;margin-bottom:20px;border-radius:7px;overflow:hidden;}
.__aiattachments ._attach img{width:60px;height:60px;}

.ai_remove_attach{display:none; position:absolute;top:3px;right:3px;background:url(/templates/turbotext/photo_ai/gpt/img/remove.png) no-repeat center center;background-size:100% 100%;width:20px;height:20px;}














.hidden_per{ display:none !important;}







.ttaudio_v2_preview {margin:5px;width: 100%;
            padding: 10px;margin-top:30px;position:relative;
        }

        /* Блок одного трека */
        .ttaudio_v2_preview .audio_track_item {
           background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position:relative;height:102px;
            border-radius: 16px;
            margin-bottom: 5px;
            transition: background 0.3s ease, border-color 0.3s ease;
        }

        .ttaudio_v2_preview .audio_track_item:last-child {
            margin-bottom: 0;
        }

        .ttaudio_v2_preview .audio_track_item:hover {
            background: rgba(255, 255, 255, 0.09);
            border-color: rgba(255, 255, 255, 0.18);
        }

        /* Кастомный плеер */
        .ttaudio_v2_preview .custom_audio_player {
            background: rgba(0, 0, 0, 0.25);
            border-radius: 12px;
            padding: 16px;
        }

        .ttaudio_v2_preview .player_controls {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 12px;
        }

        /* Кнопка Play/Pause */
        .ttaudio_v2_preview .play_button {
            width: 48px;
            height: 48px;
            min-width: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
            border: none;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 18px;
            box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
        }

        .ttaudio_v2_preview .play_button:hover {
            
            box-shadow: 0 6px 16px rgba(0, 212, 255, 0.6);
        }

        .ttaudio_v2_preview .play_button:active {
           
        }

        /* Информация о треке */
        .ttaudio_v2_preview .track_info {
            flex: 1;
            min-width: 0;
        }

        .ttaudio_v2_preview .track_name {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 8px;
            font-weight: 500;
        }

        /* Прогресс бар */
        .ttaudio_v2_preview .progress_bar {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.12);
            border-radius: 3px;
            cursor: pointer;
            position: relative;
            margin-bottom: 8px;
        }

        .ttaudio_v2_preview .progress_fill {
            height: 100%;
            background: linear-gradient(90deg, #00d4ff 0%, #0099ff 100%);
            border-radius: 3px;
            transition: width 0.1s linear;
            position: relative;
        }

        .ttaudio_v2_preview .progress_fill::after {
            content: '';
            position: absolute;
            right: -6px;
            top: 50%;
            transform: translateY(-50%);
            width: 14px;
            height: 14px;
            background: #00d4ff;
            border-radius: 50%;
            box-shadow: 0 2px 6px rgba(0, 212, 255, 0.6);
        }

        .ttaudio_v2_preview .progress_bar:hover .progress_fill {
            box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
        }

        /* Время */
        .ttaudio_v2_preview .time_display {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            color: rgba(255, 255, 255, 0.65);
            font-weight: 500;
        }

        /* Контролы громкости */
        .ttaudio_v2_preview .volume_controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .ttaudio_v2_preview .volume_button {
            width: 36px;
            height: 36px;
            min-width: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            border: none;
            color: rgba(255, 255, 255, 0.85);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .ttaudio_v2_preview .volume_button:hover {
            background: rgba(255, 255, 255, 0.14);
            transform: scale(1.05);
        }

        .ttaudio_v2_preview .volume_slider {
            width: 90px;
            height: 5px;
            -webkit-appearance: none;
            background: rgba(255, 255, 255, 0.12);
            border-radius: 3px;
            outline: none;
            cursor: pointer;
        }

        .ttaudio_v2_preview .volume_slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #00d4ff;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0, 212, 255, 0.4);
            transition: all 0.2s ease;
        }

        .ttaudio_v2_preview .volume_slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 2px 8px rgba(0, 212, 255, 0.6);
        }

        .ttaudio_v2_preview .volume_slider::-moz-range-thumb {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #00d4ff;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 6px rgba(0, 212, 255, 0.4);
        }

    

        /* Скрытый нативный плеер */
        .ttaudio_v2_preview audio {
            display: none;
        }

        /* Адаптивность */
        @media (max-width: 200px) {
            .ttaudio_v2_preview {
                padding: 18px;
                border-radius: 16px;
            }

            .ttaudio_v2_preview .audio_track_item {
                padding: 16px;
                margin-bottom: 14px;
            }

            .ttaudio_v2_preview .custom_audio_player {
                padding: 12px;
                margin-bottom: 12px;
            }

            .ttaudio_v2_preview .player_controls {
                gap: 12px;
            }

            .ttaudio_v2_preview .play_button {
                width: 44px;
                height: 44px;
                min-width: 44px;
                font-size: 16px;
            }

            .ttaudio_v2_preview .volume_controls {
                gap: 8px;
            }

            .ttaudio_v2_preview .volume_button {
                width: 32px;
                height: 32px;
                min-width: 32px;
                font-size: 16px;
            }

            .ttaudio_v2_preview .volume_slider {
                width: 70px;
            }

        }/* SVG иконки Play/Pause */
.ttaudio_v2_preview .play_button svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.ttaudio_v2_preview .play_button.playing svg.play-icon {
    display: none;
}

.ttaudio_v2_preview .play_button.playing svg.pause-icon {
    display: block;
}

.ttaudio_v2_preview .play_button:not(.playing) svg.play-icon {
    display: block;
    margin-left: 2px; /* Визуальное выравнивание треугольника */
}

.ttaudio_v2_preview .play_button:not(.playing) svg.pause-icon {
    display: none;
}.ttaudio_v2_preview .play_button svg {
    width: 25px;  /* Было 20px */
    height: 25px; /* Было 20px */
    fill: white;
    pointer-events: none;
}





/* GRID режим */
#swipmethods.is-grid .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 13px;
}

/* Убираем swiper-логику */
#swipmethods.is-grid .swiper-slide {
  width: 101px !important;
}

.method_edit_mode_savebtn{display:none;}
.method_edit_mode .method_edit_mode_savebtn{display:block;position:fixed;bottom:20px;left: calc(50% - 105px);right:auto;  z-index: 99999;}
.method_edit_mode .turbochatgpt,
.method_edit_mode .__inter_content_form,
.method_edit_mode .editor-wrp,
.method_edit_mode .examples,
.method_edit_mode .__textpage,
.method_edit_mode .wrapper,
.method_edit_mode #add_to_my_neuron,
.method_edit_mode .photoai_lsidebar{display:none !important;}

.method_edit_mode .line_of_methods_wrap{height:calc(100dvh - 120px);}
.method_edit_mode .__m_url:not(.active) .__methodsbox_imgwrap{opacity: 0.4;}
.method_edit_mode .__m_url:not(.active) .__m_name{color: #888;}


.method_edit_mode .line_of_methods_wrap .swiper .swiper-wrapper {
  max-width: 100%;
}

.method_edit_mode .line_of_methods_wrap .swiper {
  max-height: calc(100dvh - 190px);
  overflow-y: auto;
}
@media (max-width: 600px) {
  .method_edit_mode #swipmethods.is-grid .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(101px, 1fr));
    gap: 1px;
  }

  .method_edit_mode .line_of_methods_wrap .swiper {
    max-height: calc(100dvh - 220px);
  }
}
@media (min-width: 1001px) {
  .method_edit_mode .line_of_methods_wrap{
    height: calc(100dvh - 75px);
  }
}


@media (max-width: 414px) {
  .view_before_414{
    display:none;
  }
}


:root {
    --bg-box: #2D4059;
    --bg-boxon: #314764;
    --main_image_previewer-boxheight: 280px;
    --main_image_previewer_mask-boxheight: 280px;
    --main_image_previewer_deepfake-boxheight: 280px;
    --main_image_previewer_target-boxheight: 280px;
}

  .redboxinmain{width: 280px;height: 280px;}
  

  ._autobar_v2{min-height:90px;width: 100%;}

  ._autobar_v2 ._bg{padding:10px;border-radius:10px;background: rgba(34, 50, 68, 1);height:100%;width:100%;min-height: 93px;}
  
  ._autobar_v2 ._bg:has(#v7promptbox[style*="display: none"]) {
    min-height: 60px;
}
  
  ._autobar_v2 textarea{font-family: Montserrat;
font-weight: 400;
font-style: Medium;
font-size: 14px;min-height:50px;max-height:40vw;
color:#fff;
line-height: 135%;height:50px;padding-top: 2px;
letter-spacing: 0%;border:none;background:none;width:100%;resize:none;overflow-y:auto;margin-left: 5px;
  margin-right: 5px;
}
._autobar_v2 textarea::-webkit-input-placeholder {
  color: #eee;
}
._autobar_v2 textarea::-moz-placeholder {
  color: #eee;
}
._autobar_v2 textarea:-ms-input-placeholder {
  color: #eee;
}
._autobar_v2 textarea::-ms-input-placeholder {
  color: #eee;
}
._autobar_v2 textarea::placeholder {
  color: #eee;
}
._autobar_v2 textarea:focus::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0);
}
._autobar_v2 textarea:focus::-moz-placeholder {
  color: rgba(0, 0, 0, 0);
}
._autobar_v2 textarea:focus:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0);
}
._autobar_v2 textarea:focus::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0);
}
._autobar_v2 textarea:focus::placeholder {
  color: rgba(0, 0, 0, 0);
}
._autobar_v2 ._v7bardropdown ul{background: rgba(34, 50, 68, 1);border-radius: 6px;}
._autobar_v2 ._v7bardropdown ul a{width:100%;white-space:nowrap;padding-right:10px;height:28px;line-height:25px;margin-bottom:4px;display:inline-block;font-size:14px;color:#fff;}
._autobar_v2 .generate_btn_v7{width:48px;height:48px; background:url('/templates/turbotext/photo_ai/v2/img/v7_btnsmbthover.svg') no-repeat center center,#3A5274;border:none;position:absolute;bottom:5px;right:5px;border-radius:100%;}
._autobar_v2 .generate_btn_v7:hover{background:
        url('/templates/turbotext/photo_ai/v2/img/v7_btnsmbthover.svg') no-repeat center center,
        linear-gradient(88deg, #AA0024 0%, #FF005D 40%, #900013 100%) padding-box,
        linear-gradient(90deg, #9B0039 0%, #FF005D 50%, rgba(238,0,87,0.3) 100%) border-box;
    border: 1px solid transparent; /* важно для border-box градиента */}


#topbarallbtn{display:none;}

._autobar_v2 .v7barprice{width: 62px;
  height: 30px;
  position: absolute;
  top: 15px;
  right: 5px;
  color: #fff;
  font-size: 16px;
  line-height: 25px;
  text-align: right;}


  ._autobar_v2 .savepromtv7{width: 35px;
  height: 35px;
  background: url('/templates/turbotext/photo_ai/v2/img/savev7promt3.svg') no-repeat center center / contain;
    background-color: var(--bg-box);
    background-size: contain;
  border: none;
  vertical-align: top;
  margin: 0;
  padding: 0px;
  background-size: 22px 22px;
  
  

  border-radius: 100%;}
._autobar_v2 .savepromtv7:hover{background:
        url('/templates/turbotext/photo_ai/v2/img/savev7promt3on.svg') no-repeat center center / 22px 22px,
        linear-gradient(88deg, #AA0024 0%, #FF005D 40%, #900013 100%) padding-box,
        linear-gradient(90deg, #9B0039 0%, #FF005D 50%, rgba(238,0,87,0.3) 100%) border-box;
    border: 1px solid transparent;}




._autobar_v2 .plusv7{width: 28px;
  height: 28px;
  background: url('/templates/turbotext/photo_ai/img/v7_plus.svg') no-repeat center center / contain;
    background-color: var(--bg-box);
    background-size: contain;
  border: none;
  vertical-align: top;
  margin: 0;
  padding: 0px;
  background-size: 12px 12px;
  
  

  border-radius: 100%;}
._autobar_v2 .plusv7:hover{background:
        url('/templates/turbotext/photo_ai/img/v7_plus.svg') no-repeat center center / 12px 12px,
        linear-gradient(88deg, #AA0024 0%, #FF005D 40%, #900013 100%) padding-box,
        linear-gradient(90deg, #9B0039 0%, #FF005D 50%, rgba(238,0,87,0.3) 100%) border-box;
    border: 1px solid transparent;}
._autobar_v2 ._v7bardropdown ul li:hover a{ background-color:#3A5274;}
._autobar_v2 ._v7bardropdown ul .v7hist a{background:url('/templates/turbotext/photo_ai/img/v7_archive.svg') no-repeat 12px center;padding-left:40px; background-size:16px 16px;}
._autobar_v2 ._v7bardropdown ul .v7save a{background:url('/templates/turbotext/photo_ai/img/v7_pluss.svg') no-repeat 10px center;padding-left:40px;background-size:20px 20px;}
._autobar_v2 ._v7bardropdown ul .v7upgr a{background:url('/templates/turbotext/photo_ai/img/v7palo.svg') no-repeat 10px center;padding-left:40px;background-size:20px 20px;}

#clonned_props_v7{width:calc(100% - 45px);min-height:40px;}
#clonned_props_v7 ._v7item{font-family: Montserrat;cursor:pointer;margin-top: 5px;
font-weight: 500;
font-style: Medium;
font-size: 14px;
line-height: 100%;
letter-spacing: 1px;
background:var(--bg-box);display:inline-block;border-radius:10px;color:#fff;text-align:center;margin-right:5px;}
#clonned_props_v7 ._v7item:hover{background-color:var(--bg-boxon);}
#clonned_props_v7 ._v7item ._itemtitle{padding-left:20px;padding-right:20px;min-width: 35px;line-height:36px;height:36px;}

#clonned_props_v7 ._v7item .dropdown-menu{padding: 8px;max-height:48dvh;overflow-y:auto;min-width:auto;background: rgba(34, 50, 68, 1);border-radius: 10px;}

/* Стильные компактные кнопки под темную тему интерфейса */

.blinkstyle {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;font-family: Montserrat;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    color: #60a5fa;
    text-decoration: none;
    border: none;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    letter-spacing: 0.3px;
}

/* Тонкая светящаяся обводка */
.blinkstyle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(59, 130, 246, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.blinkstyle:hover::before {
    opacity: 1;
}

/* Эффект свечения при наведении */
.blinkstyle:hover {
    background: rgba(30, 41, 59, 0.6);
    color: #93c5fd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.blinkstyle:active {
    transform: translateY(0);
    background: rgba(30, 41, 59, 0.7);
}

/* Бегущий блик */
.blinkstyle::after,
.savepromtv7x::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(96, 165, 250, 0.15),
        transparent
    );
    transition: left 0.5s ease;
}

.blinkstyle:hover::after {
    left: 100%;
}

/* Текст и иконки поверх эффектов */
.blinkstyle > * ,
.savepromtv7 > * {
    position: relative;
    z-index: 2;
}

/* Скрытый элемент внутри */
.blinkstyle .d-none {
    display: none;
}

/* Стиль для иконки токена если показывается */
.blinkstyle ._xtoken {
    margin-left: 4px;
    opacity: 0.9;
}

/* Вариант 2: Еще более минималистичный стиль */
.blinkstyle.minimal {
    background: transparent;
    color: #60a5fa;
    padding: 6px 12px;
    font-size: 13px;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.blinkstyle.minimal:hover {
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(96, 165, 250, 0.05);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

/* Плавное появление кнопок */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-1 {
    animation: slideInFromTop 0.4s ease forwards;
}

.link-2 {
    animation: slideInFromTop 0.4s ease 0.1s forwards;
    opacity: 0;
}

/* Пульсация при первом появлении */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.3);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(96, 165, 250, 0);
    }
}

.blinkstyle {
 
    animation: slideInFromTop 0.4s ease forwards, pulse 2s ease 0.5s;
}

.link-2 {
    animation-delay: 0.1s, 0.7s;
}
  ._v7extrabtn{display:none !important;}
  ._autobar_v2 ._v7bardropdown{display:none !important;}


@media (max-width: 620px) {
._autobar_v2 .plusv7{width: 35px;
  height: 35px;}
  ._autobar_v2 .savepromtv7 {
  width: 35px;
  height: 35px;}
  #clonned_props_v7 ._v7item ._itemtitle{padding-left:7px;padding-right:7px;}
}


#clonned_props_v7 ._v7item .dropdown-menu a:not(.question){background:url("/templates/turbotext/photo_ai/img/v8ckeckfree.svg") no-repeat calc(100% - 7px) center ,rgba(45, 64, 89, 1);
  border-radius: 7px;
  margin-top: 5px;
  padding-left: 7px;
  padding-right: 20px;
  width: 100%;
  white-space: nowrap;
  display: inline-block;
  color: #fff;
  font-family: Montserrat;
  font-weight: 500;
  font-size: 13px;
  line-height: 21px;


}
#clonned_props_v7 ._v7item .dropdown-menu .active a:not(.question){background-image:url("/templates/turbotext/photo_ai/img/v8ckeck.svg");}
#clonned_props_v7 ._v7item .dropdown-menu li:hover a:not(.question){ background-color:#3A5274;}

.v7var_droptitle{color: #fff;
  font-size: 14px;
  margin: 7px 0;
  white-space: nowrap;
  display: inline-block;}
.v7var_droptitle a.question{display: inline-block;
  width: 15px;
  height: 15px;
  line-height: 14px;}

.type_of_prompt>div{margin-bottom:10px;}
.type_of_prompt a{padding:5px;}
.type_of_prompt a:hover{background-color: #f5f0f0;
  border-radius: 5px;}



/*@media (max-width: 500px) {
#allmethodbtn_my{ background:url('/templates/turbotext/photo_ai/v2/img/star.png') no-repeat center center / contain;display: inline-block;
    width: 21px;
    height: 29px;}
  #allmethodbtn_my ._favtitle{display:none;}
}*/

@media (max-width: 600px) {
  

  #work_space.d-flex{flex-direction: column !important;}
  .__hiddenplaceholder span[class^="placeholder_"] {
      display: none;
  }
 #main_image_previewer.__hiddenplaceholder:not(:has(canvas,video,audio)){
    max-height: var(--main_image_previewer-boxheight) !important;
  }
  #main_image_previewer_mask.__hiddenplaceholder:not(:has(canvas,video,audio)){
    max-height: var(--main_image_previewer_mask-boxheight) !important;
  }
  #main_image_previewer_deepfake.__hiddenplaceholder:not(:has(canvas,video,audio)){
    max-height: var(--main_image_previewer_deepfake-boxheight) !important;
  }


}


.yellow_title_on .__m_name{color: #F90;}
.yellow_title_on .__methodsbox_imgwrap {
 
  border: 2px solid rgba(255, 153, 0, 1);
}

.method_groups_line ul li a.activeAll {
  color: #2BB2FF;
}


.preview_img_v7_multi{
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Создает квадрат (соотношение 1:1) */
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.preview_img_v7_multi img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Обрезает изображение по центру сохраняя пропорции */
  object-position: center;
}
.preview_img_v7_multi canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}





/* Десктоп */
.__active_multitiworkspace {
  width: 600px !important;
  height: 310px !important;max-width: 100% !important;
}



.__active_multitiworkspace:has(._attach:only-child) {width: 270px !important;height: 270px !important;}
.__active_multitiworkspace:has(._attach:nth-child(2):last-child) {width: 330px !important;height: 270px !important;}
.__active_multitiworkspace:has(._attach:nth-child(3):last-child){width: 437px !important;height: 249px !important;}
.__active_multitiworkspace:has(._attach:nth-child(3):last-child)>span{max-width: 96% !important;}
.__active_multitiworkspace:has(._attach:nth-child(4):last-child){width: 497px !important;height: 242px  !important;}
.__active_multitiworkspace:has(._attach:nth-child(4):last-child)>span{max-width: 96% !important;}

.__active_multitiworkspace:has(._attach:nth-child(5):last-child){width: 530px !important;height: 230px  !important;}
.__active_multitiworkspace:has(._attach:nth-child(5):last-child)>span{max-width: 96% !important;}

.__active_multitiworkspace:has(._attach:nth-child(6):last-child){width: 340px  !important;height: 320px  !important;}
.__active_multitiworkspace:has(._attach:nth-child(6):last-child)>span{max-width: 96% !important;}

.__active_multitiworkspace:has(._attach:nth-child(7):last-child){width: 429px !important;height: 318px  !important;}
.__active_multitiworkspace:has(._attach:nth-child(7):last-child)>span{max-width: 96% !important;}
.__active_multitiworkspace:has(._attach:nth-child(8):last-child){width: 429px !important;height: 318px  !important;}
.__active_multitiworkspace:has(._attach:nth-child(8):last-child)>span{max-width: 96% !important;}
 
.__active_multitiworkspace:has(._attach:nth-child(9):last-child){width: 497px  !important;height: 318px  !important;}
.__active_multitiworkspace:has(._attach:nth-child(9):last-child)>span{max-width: 96% !important;}
 .__active_multitiworkspace:has(._attach:nth-child(10):last-child){width: 497px  !important;height: 318px  !important;}
.__active_multitiworkspace:has(._attach:nth-child(10):last-child)>span{max-width: 96% !important;}
 
.__ismultiple_attach_files{max-height: 195px;
  overflow: auto !important;}
/* Базовые стили для контейнера */
.__ismultiple_attach_files.__active_multiple_set {
  display: grid;
  gap: 8px;
  padding: 10px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  align-content: start;
  overflow: visible;
}

/* Элементы сетки - ВСЕГДА КВАДРАТЫ */
.__ismultiple_attach_files.__active_multiple_set ._attach {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.__ismultiple_attach_files.__active_multiple_set canvas,
.__ismultiple_attach_files.__active_multiple_set img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* Лоадер */
.__ismultiple_attach_files.__active_multiple_set .loading_on {
  width:90%;height:90%;
  aspect-ratio: 1 / 1;
}

/* ============================================ */
/* ДЕСКТОП (769px и выше) */
/* ============================================ */
@media (min-width: 180px) {
  .__active_multitiworkspace {
    width: 600px !important;
    height: 330px !important;
  }
  
  /* 9 фото - 5 колонок, 2 ряда */
  .__ismultiple_attach_files.__active_multiple_set:has(._attach:nth-child(9):last-child) {
    grid-template-columns: repeat(5, 84px);
    grid-template-rows: repeat(2, 84px);
    gap: 8px;
  }

  /* 10 фото - 5 колонок, 2 ряда */
  .__ismultiple_attach_files.__active_multiple_set:has(._attach:nth-child(10)) {
    grid-template-columns: repeat(5, 84px);
    grid-template-rows: repeat(2, 84px);
    gap: 8px;
  }

  /* 7 фото - 4 колонки, 2 ряда */
.__ismultiple_attach_files.__active_multiple_set:has(._attach:nth-child(7):last-child) {
  grid-template-columns: repeat(4, 84px);
  grid-template-rows: repeat(2, 84px);
  gap: 8px;
}

/* 8 фото - 4 колонки, 2 ряда */
.__ismultiple_attach_files.__active_multiple_set:has(._attach:nth-child(8):last-child) {
  grid-template-columns: repeat(4, 84px);
  grid-template-rows: repeat(2, 84px);
  gap: 8px;
}

/* 5 фото - 5 колонок, 1 ряд */
.__ismultiple_attach_files.__active_multiple_set:has(._attach:nth-child(5):last-child) {
  grid-template-columns: repeat(5, 84px);
  grid-template-rows: 84px;
  gap: 8px;
}

/* 6 фото - 3 колонки, 2 ряда */
.__ismultiple_attach_files.__active_multiple_set:has(._attach:nth-child(6):last-child) {
  grid-template-columns: repeat(3, 84px);
  grid-template-rows: repeat(2, 84px);
  gap: 8px;
}

/* 1 фото - максимум доступного пространства */
.__ismultiple_attach_files.__active_multiple_set:has(._attach:only-child) {
  grid-template-columns: 1fr;
  grid-template-rows: 120px;
}

.__ismultiple_attach_files.__active_multiple_set:has(._attach:only-child) ._attach {
  max-width: 120px;
  max-height: 120px;justify-self: center;
}

/* 2 фото - 2 колонки, 1 ряд */
.__ismultiple_attach_files.__active_multiple_set:has(._attach:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 120px);
  grid-template-rows: 120px;
  gap: 8px;
}

/* 3 фото - 3 колонки, 1 ряд */
.__ismultiple_attach_files.__active_multiple_set:has(._attach:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 120px);
  grid-template-rows: 120px;
  gap: 8px;
}

/* 4 фото - 4 колонки, 1 ряд */
.__ismultiple_attach_files.__active_multiple_set:has(._attach:nth-child(4):last-child) {
  grid-template-columns: repeat(4, 107px);
  grid-template-rows: 107px;
  gap: 8px;
}
}





.ai-waiting-block {
      background: #fff;
      border-radius: 12px;
      padding: 28px 32px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 18px;
      min-width: 320px;
    }

    .ai-waiting-orbs {
      position: relative;
      width: 64px;
      height: 64px;
    }
    .ai-waiting-orbs span {
      position: absolute;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      animation: orb-orbit 2s linear infinite;
    }
    .ai-waiting-orbs span:nth-child(1) {
      background: #6366f1;
      top: 0; left: 50%;
      transform-origin: 0 32px;
      animation-delay: 0s;
    }
    .ai-waiting-orbs span:nth-child(2) {
      background: #a855f7;
      top: 0; left: 50%;
      transform-origin: 0 32px;
      animation-delay: -0.66s;
    }
    .ai-waiting-orbs span:nth-child(3) {
      background: #ec4899;
      top: 0; left: 50%;
      transform-origin: 0 32px;
      animation-delay: -1.33s;
    }
    @keyframes orb-orbit {
      from { transform: rotate(0deg) translateX(25px) rotate(0deg); }
      to   { transform: rotate(360deg) translateX(25px) rotate(-360deg); }
    }

    .ai-waiting-center-dot {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 12px; height: 12px;
      background: linear-gradient(135deg, #6366f1, #ec4899);
      border-radius: 50%;
      animation: dot-pulse 1.5s ease-in-out infinite;
    }
    @keyframes dot-pulse {
      0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
      50%       { transform: translate(-50%, -50%) scale(1.5); opacity: 0.6; }
    }

    .ai-waiting-text {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-size: 15px;
      color: #374151;
      font-weight: 500;
      letter-spacing: 0.01em;
    }

    .ai-waiting-text .ai-dots span {
      display: inline-block;
      animation: dot-blink 1.4s ease-in-out infinite;
      color: #6366f1;
      font-weight: 700;
    }
    .ai-dots span:nth-child(1) { animation-delay: 0s; }
    .ai-dots span:nth-child(2) { animation-delay: 0.2s; }
    .ai-dots span:nth-child(3) { animation-delay: 0.4s; }
    @keyframes dot-blink {
      0%, 80%, 100% { opacity: 0.2; transform: translateY(0); }
      40%            { opacity: 1;   transform: translateY(-3px); }
    }

    .ai-waiting-bar {
      width: 100%;
      height: 3px;
      background: #f0f0f5;
      border-radius: 99px;
      overflow: hidden;
    }
    .ai-waiting-bar-fill {
      height: 100%;
      width: 40%;
      background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
      border-radius: 99px;
      animation: bar-slide 1.8s ease-in-out infinite;
    }
    @keyframes bar-slide {
      0%   { transform: translateX(-150%); }
      100% { transform: translateX(350%); }
    }



    
/* Современный лоадер для модалки */
.bmodal_loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 52px 32px;
    gap: 20px;
}

.bmodal_loader__dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bmodal_loader__dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B7FFF, #9B4FE8);
    animation: bml_bounce 1.2s ease-in-out infinite;
}
.bmodal_loader__dots span:nth-child(1) { animation-delay: 0s; }
.bmodal_loader__dots span:nth-child(2) { animation-delay: 0.18s; }
.bmodal_loader__dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes bml_bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
    40%            { transform: scale(1.2); opacity: 1; }
}

.bmodal_loader__bar {
    width: 120px;
    height: 3px;
    background: rgba(0,0,0,0.06);
    border-radius: 99px;
    overflow: hidden;
}

.bmodal_loader__bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 40%;
    border-radius: 99px;
    background: linear-gradient(90deg, #6B7FFF, #C040D0);
    animation: bml_slide 1.2s ease-in-out infinite;
}

@keyframes bml_slide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}



.modal_blackv1{
  padding-top: 15px;
  border-radius: 0;
  background: url('/templates/turbotext/images/modalbgv2.jpg') no-repeat center center !important;
  padding-bottom: 0px !important;
  background-size: cover;
}
.modal_blackv1 .modal-logo img{height: 40px;}