/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.9.1755356177
Updated: 2025-08-16 17:56:17

*/


.cf7-horizontal {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap; /* по умолчанию в одну линию */
}

.cf7-horizontal input,
.cf7-horizontal textarea {
  flex: 1;
  min-width: 150px;
  max-width: 250px !important;
}




.image-radio .wpcf7-list-item {
    width: 14.5%;
    margin-bottom: 8px;
    margin-bottom: 10px;
    margin-top: 8px;
    margin-top: 10px;
    margin-right: 8px;
    margin-right: 10px;
    margin-left: 8px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: top;
    height: 200px;
}
.image-radio .wpcf7-list-item:nth-child(1) label {
    background-position: center;
    background-image: url('/wp-content/uploads/step1-novostroyka.jpg');
    background-size: cover;
}
.image-radio .wpcf7-list-item:nth-child(2) label {
    background-position: center;
    background-image: url('/wp-content/uploads/step1-vtorichka.jpg');
    background-size: cover;
}
.image-radio .wpcf7-list-item:nth-child(3) label {
    background-position: center;
    background-image: url('/wp-content/uploads/step1-dom.jpg');
    background-size: cover;
}
.image-radio .wpcf7-list-item:nth-child(4) label {
    background-position: center;
    background-image: url('/wp-content/uploads/step1-ofis.jpg');
    background-size: cover;
}
.image-radio .wpcf7-list-item:nth-child(5) label {
    background-position: center;
    background-image: url('/wp-content/uploads/step1-komnata.jpg');
    background-size: cover;
}
.image-radio .wpcf7-list-item:nth-child(6) label {
    background-position: center;
    background-image: url('/wp-content/uploads/step1-kapitalny.jpg');
    background-size: cover;
}
.box-choices .wpcf7-list-item {
    display: block;
    margin: 8px 0;
}
.box-choices .wpcf7-list-item label {
    display: block;
    cursor: pointer;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    -webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    -o-box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 10px 12px;
}
.box-choices .wpcf7-list-item input[type="radio"] {
    margin-right: 8px;
}
#cf7-progress {
    margin-bottom: 20px;
    background-color: #eee;
    overflow: hidden;
    height: 6px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}
#cf7-progress-bar {
    width: 0;
    background-color: #4EAEF6;
    height: 100%;
    -moz-transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
}
.fieldset-cf7mls.cf7mls_current_fs {
    position: relative;
    visibility: visible;
    opacity: 1;
}
.image-radio input[type="radio"] {
    display: none;
}
.image-radio label::after {
    display: none !important;
}
.image-radio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}
.image-radio label {
    flex-direction: column;
    display: flex;
    overflow: hidden;
    cursor: pointer;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    -o-box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    -moz-transition: transform 0.25s, box-shadow 0.25s;
    -webkit-transition: transform 0.25s, box-shadow 0.25s;
    -o-transition: transform 0.25s, box-shadow 0.25s;
    transition: transform 0.25s, box-shadow 0.25s;
    align-items: center;
}
.image-radio label:hover {
    -moz-box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    -o-box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    -moz-transform: translateY(-4px);
    -webkit-transform: translateY(-4px);
    -o-transform: translateY(-4px);
    transform: translateY(-4px);
}
.image-radio .wpcf7-list-item-label {
    width: 100%;
    display: block;
    position: relative;
    height: 200px;
    background-position: center;
    background-size: cover;
}
.image-radio .option-text {
    width: 100%;
    display: block;
    font-weight: 500;
    background-color: #fff;
    color: #333;
    text-align: center;
    padding: 10px;
}
.image-radio .wpcf7-list-item-label::after {
    width: 26px;
    right: 10px;
    display: flex;
    justify-content: center;
    background-color: rgba(255,255,255,0.85);
    color: #4EAEF6;
    position: absolute;
    bottom: 10px;
    border: 2px solid #4EAEF6;
    height: 26px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    content: "✓";
    -moz-transition: all 0.25s ease;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    -moz-transform: scale(0.6);
    -webkit-transform: scale(0.6);
    -o-transform: scale(0.6);
    transform: scale(0.6);
    opacity: 0;
    align-items: center;
}
.image-radio input:checked + .wpcf7-list-item-label {
    border-top-left-radius: 4px;
  border-top-right-radius: 4px;
    -moz-box-shadow: inset 0 0 0 3px #4EAEF6;
    -webkit-box-shadow: inset 0 0 0 3px #4EAEF6;
    -o-box-shadow: inset 0 0 0 3px #4EAEF6;
    box-shadow: inset 0 0 0 3px #4EAEF6;
}
.image-radio input:checked + .wpcf7-list-item-label::after {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
@media (max-width: 640px) {
.image-radio .wpcf7-list-item {
    width: 48%;
}
.image-radio .wpcf7-list-item label {
    height: 120px;
}
}


/* На мобильных (например, меньше 768px) разрешаем перенос */
@media (max-width: 768px) {

	
	.cf7-horizontal {
  display: block;
 width:100%!important;
}

.cf7-horizontal input,
.cf7-horizontal textarea {
  flex: 1;
  min-width: 100%!important;
  max-width: 100%!important;
}
	
	
	
	fieldset {padding:0;}
}



/* Стили для красивого Thank You сообщения внутри попапа */
.cf7-thanks-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  text-align: center;
  min-width: 260px;
  box-sizing: border-box;
  color: #232021; /* тёмный текст */
  font-family: inherit;
}

.cf7-thanks-icon {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #F6B110;
  box-shadow: 0 8px 30px rgba(16,185,129,0.12);
}

.cf7-thanks-icon svg { width: 44px; height: 44px; fill: #fff; }

.cf7-thanks-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.cf7-thanks-text {
  font-size: 16px;
  color: #232021;
  margin: 0;
  max-width: 380px;
	  font-weight:600;
}

/* Кнопка закрытия/действия */
.cf7-thanks-actions {
  display:flex;
  gap:8px;
  margin-top: 4px;
}
.cf7-thanks-btn {
  border: 0;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  background: #232021;
  color: #fff;
  box-shadow: 0 6px 18px rgba(17,24,39,0.08);
}
.cf7-thanks-light {
  background: transparent;
  color: #374151;
  border: 1px solid rgba(55,65,81,0.08);
}

/* Плавный вход (подойдёт для замены содержимого в попапе) */
@keyframes cf7FadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cf7-thanks-wrap { animation: cf7FadeUp 360ms cubic-bezier(.2,.9,.2,1) both; }

/* Учитываем мобильные размеры попапа */
@media (max-width: 480px){
  .cf7-thanks-wrap { padding: 20px; }
  .cf7-thanks-title { font-size: 18px; }
}


