/*
Theme Name: Aequity
Theme URI: https://themeforest.net/user/helloexpert
Author: helloexpert
Author URI: https://themeforest.net/user/helloexpert/portfolio
Description: Aequity - Law Firm, Lawyer & Attorney WordPress Theme
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aequity
Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-menu, featured-images, post-formats, theme-options, translation-ready
*/

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
  max-width: 100%;
}

/* By Authot Post */

.bypostauthor {
  display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
  margin-bottom: 1.5em;
  margin-right: -15px;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
  padding-right: 15px;
}
.gallery-item {
  padding-bottom: 15px;
}
.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

.screen-reader-text {
  background: transparent;
  display: none;
}

#site-navigation .align-items-center {
	justify-content: space-between!important;
}

#site-navigation .col-lg-2 {
	width: max-content!important;
}

#site-navigation .col-lg-8 {
	width: max-content!important;
}

.mini-cart {
	display:none!important;
}

.theme-btn, .theme-btn-s2, .theme-btn-s4, .theme-btn-s5, .theme-btn-s3 {
    text-transform: initial!important;
}

.tmx-site-header #navbar>ul>li>a {
text-transform: initial!important;
    }

h1,h2,h3{
text-transform: initial!important;
    }

.full-width, .slide, .slick-track, .container{
	width:100%!important;
	max-width:100%!important;
}

.col-md-12 {
	padding:0!important;
}

.slide {
	padding:0 10%;
}

.aquity-about, .cta-section {
//	padding:1rem 10%;
}



.elementor-element-50d7df4, .elementor-element-0bfb762, .elementor-element-536133a, .elementor-element-4af5ee5, .elementor-element-15d9ba3, .elementor-element-9053fad, .elementor-element-fc0b96d, .elementor-element-8355b79, .elementor-element-7c3744f, .elementor-element-74d17b9, .elementor-element-981dbba, .elementor-element-e242ccd, .elementor-element-6e058ae, elementor-element-af764a8   {
	padding:1rem 10%!important;
}

.elementor-element-46a2256 {
	//padding:0%!important;
}

.about-section-s3 .video-area .successfull-case p {
    font-size: 0.9rem!important;
}

.about-section-s3 .video-area .successfull-case span {
    font-size: 1.5rem;
}

.about-section-s3 .video-area .successfull-case {

}

.hero-style-1 .slide-caption, .hero-style-2 .slide-caption, .hero-style-3 .slide-caption {
        padding-top: 0px;
    }

.page-wrap.padding-default {
    padding: 0;
}

.contact-area {
  display: flex;
flex-direction: column;

}

.contact-area ul {
  order: 1;                /* иконка первой */
}

.contact-area p {
  order: 2;                /* заголовок второй */

}

media (min-width: 768px) {
    .elementor-2 .elementor-element.elementor-element-24cbd30 {
        --width: 49%;
    }
}

.contact-area h3 + p {
	font-size:0.7rem;
	opacity:0.6;
	width:80%;
}

/* Grid для формы */
.cf7-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
	margin-bottom:2rem;
}

/* Поле на всю ширину (textarea) */
.cf7-grid .cf7-full {
  grid-column: 1 / -1;
}

/* Единый стиль полей */
.cf7-grid label {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 6px;
  color: #273148; /* подберите под дизайн */
}

.cf7-grid input[type="text"],
.cf7-grid input[type="email"],
.cf7-grid input[type="tel"],
.cf7-grid textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 2px 14px;
  font-size: 16px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  background: #fff;
}

.cf7-grid textarea {
  min-height: 160px;
  resize: vertical;
}

/* Кнопка */
.cf7-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center; /* или flex-start / flex-end */
}

.cf7-actions input[type="submit"] {
  padding: 12px 28px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Респонсив: на планшет 2 колонки, на мобильных 1 */
@media (max-width: 1024px) {
  .cf7-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cf7-grid { grid-template-columns: 1fr; }
}

/* На всякий случай: растянуть внутренние врапы CF7 */
.cf7-grid .wpcf7-form-control-wrap {
  display: block;
}

.contact-pg-section form div{
    padding: 0 15px 3px!important;
    overflow: hidden;
}

/* Подгружаем PT Serif из Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:wght@400;700&display=swap');


* {
	font-family: 'PT Serif', serif;
}

body {
	font-family: 'PT Serif', serif!important;
}
/* H1 — PT Serif */
h1, h2, h3 {
  font-family: 'PT Serif', serif;
	line-height: 1.1!important;
}

/* Кнопки — Georgia (с системными запасными шрифтами) */
button {
  font-family: 'PT Serif', serif;
}

input[type="submit"], .theme-btn, .theme-btn-s2, .about-text span{
  font-family: 'PT Serif', serif;
}

.elementor-element-2f4907f {
	width:90%!important;
}

#menu-%d0%b3%d0%bb%d0%b0%d0%b2%d0%bd%d0%be%d0%b5-2 {
	column-count: 2;
}