/*
   Theme Name:   astra child 
   Template:     astra
   Version:      1.0.0
*/


.hfe-nav-menu__layout-horizontal .hfe-nav-menu {
  flex-wrap: nowrap;
}
.no-wrap-texts {
  white-space: nowrap;
	text-decoration: none;
}
.wp-block-navigation-item__label:hover {
	color:#085675;
	transition: 0.3s;
}
.wp-block-navigation-item, .wp-block-navigation__submenu-container  {
	border-radius: 12px;
}
/* header {
	max-width: 1120px;
} */
.ast-header-navigation-arrow {
	position: absolute;
	right: 0;
}
.wp-block-separator {
	border-top: 1px solid;
	width: 100%;
}
.wp-block-image {
	pointer-events: none;
}
.wp-block-group-is-layout-flow {
	background-size: contain !important;
    background-position: 0% 100%;
    background-repeat: no-repeat;
}
.flex {
	display: flex !important;
}
.flexsb {
	display:flex;
	justify-content:space-between;
}
.flexAligeCenter {
	display:flex;
	align-items:baseline;
}
.block {
	display: block !important;
}
.nowrap {
	white-space: nowrap;
}

.call-btn {
	transition: 0.3s;
}
.call-btn a {
	display: flex;
	align-items: center;
	padding: 5px 20px 5px 20px !important;
  border-radius: 31px !important;
  text-decoration: none !important;
	transition: 0.3s;
}

.custom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171527 !important;
  text-decoration: none;
  transition: all .2s ease important;
  border: none !important;
	opacity: 1;
}
.custom-button > a {
	  background: linear-gradient(180deg, #FFD588 0%, #F8B233 100%);
}
.custom-button:hover {
	opacity: 0.7;
}


.is-vertically-aligned-center {
	width: 100%;
}
.wp-block-table {
	border-bottom: 0px solid !important;
}



ol.custom-circle-counter {
  counter-reset: circle-counter;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

ol.custom-circle-counter > li {
  counter-increment: circle-counter;
  position: relative;
  padding-left: 50px;
  margin-bottom: 10px;
}

ol.custom-circle-counter > li::before {
  content: counter(circle-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}



.img-gerb img {
	height: 120px !important;
	object-fit: contain;
}
.img-gerb figure {
	display:flex;
	align-items: center;
}
.widths {
	width: 100% !important;
	max-width: 100% !important;
}


/* 
 * Для пунктирных
 * */
.limarker li {
	text-decoration: none;
	list-style:none;
	position:relative;
}
.limarker li::before {
	content: '';
  display: block;
  position: absolute;
  left: -16px;
  top: calc(50% - 1px);
  color: #fff;
  width: 10px;
  height: 1px;
  background: #fff;
}


.circle-numbers {
  counter-reset: item;
  list-style: none; 
	gap: 30px;
  display: flex;
  flex-direction: column;
}

.circle-numbers li {
  counter-increment: item;
  position: relative;
}

.circle-numbers li::before {
  content: counter(item);
  position: absolute;
  left: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #0e1f44;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: Arial, sans-serif;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
@media (max-width: 767px){
.circle-numbers li::before {
	transform: translateY(0%);
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  left: -5px;
}
	.circle-numbers {
		padding-left: 30px !important;
	}
}
.circle-border {
	border-bottom-right-radius: 40px;
	border-top-left-radius: 40px;
	border: 2px dashed #b5d7f8 !important;
}

.maxheaderwidth {
	max-width: 1120px !important;
}
.maxwidthnone img {
	max-width: none;
}
.blacktext > .sub-menu a  {
	color:black !important;
}
.flexspacebetwen > div {
	justify-content: space-between !important;
}

html, body {
  overflow-x: hidden;
}


/* Кнопка хедер */
.btn-yellow-gradient {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 170px;
  height: 50px;
	white-space:nowrap;
  background: linear-gradient(135deg, #FFD54F, #FFC107);
  color: #2d2b2b;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(255, 193, 7, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none; /* для ссылок */
  user-select: none;
}

.btn-yellow-gradient:hover {
  background: linear-gradient(135deg, #FFC107, #FFB300);
  box-shadow: 0 6px 12px rgba(255, 176, 0, 0.6);
}

.btn-yellow-gradient:active {
  background: linear-gradient(135deg, #FFB300, #FFA000);
  box-shadow: 0 2px 4px rgba(255, 160, 0, 0.8);
  transform: translateY(1px);
}


/* Переворачиваю
 */
.imgReverce {
  display:flex;
  flex-direction: 					column;
  white-space: no-wrap;
}


	
.ast-arrow-svg {
	margin: 0px !important;
}

.main-header-menu .sub-menu li a:hover {
    color: #045cb4 !important;
}

/* .sub-menu {
	box-shadow: 1px 5px 5px 5px rgba(0, 0, 0, 0.5) !important;
} */
/* @media (max-width: 768px) {
	
  .sub-menu {
		line-height: 1.5 !important;
     padding-inline: 20px !important;
		white-space: nowrap !important;
	box-shadow: none !important;

  }

} */
/* 
@media (max-width: 400px) {
  .sub-menu {
		line-height: 1.9 !important;
     padding-inline: 30px !important;
		white-space: wrap !important;
  }
} */





.btn-gradient{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border-radius: .6rem;
  background: linear-gradient(135deg, rgb(252, 185, 0) 0%, rgb(255, 105, 0) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(255,105,0,.18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-gradient:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255,105,0,.22);
}

.btn-gradient:active{
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(255,105,0,.18);
  opacity: .98;
}

.btn-gradient:focus-visible{
  outline: 3px solid rgba(255,255,255,.18);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(255,165,0,.12), 0 12px 28px rgba(255,105,0,.18);
}


.ast-builder-layout-element {
	justify-content:center !important;
}
.svg_icon_settings {
	list-style:none;
	display:flex;
	gap:20px;
	padding: 0px !important;
}
.svg_icon_settings svg {
	width: 40px;
}
@media (min-width:750px) {
  .svg_icon_settings > svg {
    width: 70px;
  }
}
.svg_icon_settings {
	display: flex;
  flex-wrap: wrap;
	margin: 0px !important;
}



/* Хедер  */
.site-header {
	width: 100%;
    height: 90px;
}
#ast-desktop-header {
	position:fixed !important;
	width:100% !important;
	top: 0px;
}
#ast-mobile-header {
	position:fixed !important;
	width:100vw !important;
	top: 0px;
}

@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed !important;
  }
}
@media (max-width: 544px) {
	.site-header {
    height: 70px;
}
}







/* В мобильном хедер подменю */

.ast-menu-toggle {
	top: calc( 50px - 2.3em ) !important;
background-color: #7a9bce !important;
 }
@media (max-width:736px) {
	.ast-menu-toggle {
	top: 0 !important;
  padding: 0px !important;
  right: 0 !important;
}
	#ast-hf-mobile-menu {
		padding-inline: 30px !important;
	}
}
@media (min-width:737px) {
	.ast-menu-toggle {
		top: 0 !important;
  		width: 102px !important;
	}
}
}
.ast-icon { 
	display: flex;
  	justify-content: center;
}
.ast-menu-toggle {
	height: 52px;
  	width: 52px;
}

/* .menu-item > .sub-menu > .ast-icon {
display: none !important;
} */
.sub-menu .menu-link {
	white-space: wrap !important;
	line-height: 1.5 !important;
}
.menu-item:not(.menu-item-has-children) > .menu-link {
	white-space: nowrap;
}
.ast-submenu-expanded > ul > li > a> span {
	display: none !important;
}
.ast-header-break-point .main-navigation .sub-menu .menu-item .menu-link {
	padding-left: 60px !important;
	padding-block: 4px;
	border:none !important;
}

.ast-mobile-popup-header {
	z-index:10;
}




.footer_text {
	text-decoration: underline;
text-decoration-color: #999DAA;
  text-underline-offset: 3px;
}
.footer-grid {
	
}
.footer-grid-uslugi {
	
}
@media (min-width:750px) {
  .footer-grid > div {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
	.footer-grid-uslugi {
		display:none;
	}
}



.wp-block-kadence-header {
	margin-left: calc( -50vw + 50%) !important;
  margin-right: calc( -50vw + 50%) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}
.kadence-header-row-inner {
  max-width:1160px !important;
}