/*МЕДИАЗАПРОСЫ*/

@media only screen and (max-width: 989px) {
		
	/* *** КОНТЕЙНЕР *** */
	#top .container {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 10px !important;
		box-sizing: border-box;
	}
	
	#top #header_meta {
		display: none;
	}
	
	#top #header_main {
		background-color: var(--white) !important;
		height: 77px;
		padding-top: 15px;
		padding-bottom: 7px;
		box-sizing: border-box;
		box-shadow: 0 8px 24px -5px rgba(56, 53, 53, 0.05);
	}
	
	#top #header_main .logo {
		display: flex !important;
		justify-content: flex-start;
		align-items: center;
		height: 55px !important;
	}
	
	#top #header_main .logo svg{
		width: 55px;
	}
	
	#top #header_main ul.menu li#menu-item-search a:before {
		background: url('/wp-content/uploads/2024/11/search-dark.svg') center no-repeat !important;
	}
	#top #header_main nav, #top #header_main .avia-menu, #top #header_main ul.menu {
		width: auto !important;
	}
	
	#top #avia-menu .av-burger-menu-main a {
		height: 55px !important;
		line-height: 55px !important;
	}
	
	#top #menu-item-search {
		right: 48px !important;
		top: -2px !important;
	}
	
	.responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a, .responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container {
        height: 55px;
        line-height: 55px;
    }
	
	#top #av-burger-menu-ul li a .avia-menu-text {
		color: #333;
		font-size: 16px;
		text-transform: uppercase;
	}
	
	#top #av-burger-menu-ul li a {
		padding-top: 5px !important;
		padding-bottom: 5px !important;
		border-width: 0;
	}
	
	#top #av-burger-menu-ul {
		vertical-align: top !important;
	}
	#top .av-burger-menu-main span.is-active .av-hamburger-inner,
	#top .av-burger-menu-main span.is-active .av-hamburger-inner::before, 
	#top .av-burger-menu-main span.is-active .av-hamburger-inner::after {
    	background-color: #969696 !important;
	}
	
	#top .av-burger-menu-main span .av-hamburger-inner,
	#top .av-burger-menu-main span .av-hamburger-inner::before, 
	#top .av-burger-menu-main span .av-hamburger-inner::after {
    	width: 18px;
		display: block;
	}
	
	#top .av-hamburger-box {
		width: 18px;
	}
	
	#top .av-burger-menu-main span .av-hamburger-inner::before {top: -7px;} 
	#top .av-burger-menu-main span .av-hamburger-inner::after  {bottom: -7px;}
	#top .av-burger-menu-main span.is-active .av-hamburger-inner::after {bottom: 0;}
	/*topbanner*/
	
	#top .topbanner__section {
		margin-bottom: 130px;
		margin-top: 30px;
	}
	
	#top .topbanner__section .container {
		padding: 0 0 !important;
	}
	
	#top .topbanner__section .flex_column {
		background: url('/wp-content/uploads/2024/11/topbanner-mob.png') bottom center no-repeat #edeed6;
		background-size: auto !important;
		padding: 20px 10px 0;
		min-height: auto;
		vertical-align: top;
	}
	
	.alt-bg2 {
		background: url('/wp-content/uploads/2024/11/topbanner-mob2.png') bottom center no-repeat #d3dab4 !important;
		transition: 300ms;
	}
	
	#top .topbanner__section .flex_column:hover {
		background-color: #d3dab4;
	}
	#top .topbanner__section .flex_column .av-special-heading {
		width: 90% !important;
	}
	
	#top .topbanner__section .flex_column .av-special-heading-tag {
		padding-bottom: 15px !important;
	}
	#top .topbanner__section .flex_column .av-special-heading .av-subheading p {
		width: 90% !important;
	}
	
	#top .topbanner__section .flex_column .avia-buttonrow-wrap {
		position: absolute;
		bottom: -148px;
		left: 10px;
		width: 95%;
	}
	
	.topbanner__section .flex_column .avia-buttonrow-wrap .avia-button {
		width: 100%;
		margin-bottom: 0 !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		margin-top: 15px !important;
	}
	
	/*masonry section*/
	
	#top .masonry__section {
		display: none;
	}
	
	/*title section*/
	
	#top .title__section {
		margin-top: 60px;
		padding-bottom: 60px;
		margin-bottom: 0;
	}
	#top .title__section h1 {
		letter-spacing: -0.15px;
	}
	
	.responsive #top #wrap_all .title__section div.flex_column_table {
		margin-top: 20px; !important;
	}
	.responsive #top #wrap_all .title__section div.flex_column {
		margin-bottom: 0; !important;
	}
	.responsive #top #wrap_all .title__section div.flex_column_table div.flex_column {
		margin-bottom: 10px; !important;
	}
	/*about section*/
	
	#top .about__section {
		margin-top: 0;
		padding-top: 40px;
		background: #fffaed;
	}
	.responsive #top #wrap_all .about__section div.flex_column_table {
		margin-top: 0; !important;
	}
	.responsive #top #wrap_all .about__section div.flex_column {
		margin-bottom: 0; !important;
	}
	#top .about__section .av-special-heading {
		padding-bottom: 20px !important;
	}
/* 	#top .about__section .av-special-heading-tag {
		padding-bottom: 15px !important;
	} */
	#top .about__section .av_textblock_section {
		margin-top: 10px !important;
	}
	
	#top .about__section .flex__right .av_textblock_section ul li {
		margin-top: 10px !important;
	}
	
	#top .about__section .flex__right .av_textblock_section ul li:first-child .top__li,
	#top .about__section .flex__right .av_textblock_section ul li:nth-child(4) .top__li,
	#top .about__section .flex__right .av_textblock_section ul li:nth-child(6) .top__li {
		text-align: left;
	}
	
	
	#top .about__section .flex__right .av_textblock_section ul li:before,
	#top .about__section .flex__right .av_textblock_section ul li:after {
		display: none !important;
	}
	
	#top .about__section .flex__right .av_textblock_section ul li .top__li {
		width: 100% !important;
		height: auto !important;
		border-radius: 30px !important;
	}
	#top .about__section .flex__right .av_textblock_section ul li .sub__li {
		padding: 10px 0 0 0 !important;
		width: 100% !important;
	}
	#top .about__section .flex__right .avia-image-container{
		margin-top: 30px !important;
		margin-right: 0 !important;
	}
	
	/*gallery section*/
	
	#top .gallery__section {
		margin-top: 65px !important;
	}
	#top .gallery__section .flex_column .av_textblock_section .avia_textblock h3 span.t_green {
    	margin-left: 0 !important;
	}
	
	#top .gallery__section .flex_column {
		margin-bottom: 0 !important;
	}
	
	#top .gallery__section .flex_column_table {
		margin-top: 15px !important;
	}
	
	#top .gallery__section .flex__col__button {
		display: none;
	}
	#top .gallery__tabs__section .av-tab-section-tab-title-container {
    	padding-top: 20px !important;
		padding-left: 10px;
		padding-right: 10px;
    	gap: 10px;
    	flex-direction: column;
		align-items: center;
		min-width: 1px !important;
		width: 100% !important;
		
	}
	
	#top .gallery__tabs__section .avia-slideshow-arrows a:before {
		display: none;
	}
	
	#top .av-section-tab-title {
		width: 100% !important;
	}
	
	#top .gallery__tabs__section .av-inner-tab-title {
		width: 100%;
	}
	
	#top .gallery__tabs__section .av-layout-tab .flex_column_table {
		margin-bottom: 0 !important;
	}
	
	#top .gallery__tabs__section .av-layout-tab .flex_column {
		min-height: auto !important;
		margin-bottom: 0 !important;
	}
	
	#top .gallery__tabs__section .av-layout-tab .flex_column ul {
		margin-bottom: 10px !important;
	}
	
	
	#top .gallery__tabs__section .av-layout-tab .more__photos__button a {
		margin-top: 30px !important;
		box-sizing: border-box;
	}
	
	#top .gallery__tabs__section .av-layout-tab .more__photos__button a .avia_iconbox_title {
		color: #333 !important;
	}
	
	#top .gallery__tabs__section .av-layout-tab .more__photos__button a .avia_iconbox_title:before {
		display: inline-block;
		content: '';
		border-radius: 100%;
		background-color: var(--green);
		width: 15px;
		height: 15px;
		margin-right: 20px;
		position: relative;
		top: 2px;
		font-weight: 500;
		transition: 300ms;
	}
	#top .gallery__tabs__section .av-layout-tab .more__photos__button a .avia_iconbox_title:after {display: none !important;}
	
	#top .gallery__tabs__section .av-layout-tab .more__photos__button a:hover {
		background-color: var(--green);
		transition: 300ms;
	}

	#top .gallery__tabs__section .av-layout-tab .more__photos__button a:hover .avia_iconbox_title:before {
		background-color: var(--white);
		transition: 300ms;
	}

	#top .gallery__tabs__section .av-layout-tab .more__photos__button a:hover .avia_iconbox_title {
		color: var(--white) !important;
		transition: 300ms;
	}
	#top .av-layout-tab .flex_column .avia-image-container {
		margin-bottom: 20px !important;
	}
	#top .gallery__tabs__section .av-tab-section-inner-container .flex_column .avia-button .avia_iconbox_title {
    	text-transform: none !important;
	}
	/* УСЛУГИ */
	
	#top .service__section {
		margin-top: 80px !important;
	}
	
	#top .service__section .av-special-heading {
		padding-bottom: 0;
	}
	
	#top .service__section .flex_column_table:last-child {
        margin-top: 20px !important;
    }
	
	#top .service__section .service__card {
		padding: 20px 10px;
		display: flex;
        flex-direction: column;
		margin-bottom: 10px !important;
		width: 100% !important
	}
	
	#top .service__section .service__card .avia-image-container {
		order: -1;
		position: static;
        align-self: self-start;
		margin: 0 0 20px;
	}
	
	#top .service__card h5 {
		width: 100% !important;
		margin-bottom: 15px !important;
	}
	#top .service__card .av_textblock_section .avia_textblock {
    	column-count: 1 !important;
	}
	
	/* УСЛУГИ */
	
	#top .fdb__section {
		margin-top: 70px !important;
	}
	
	#top .fdb__section .av-special-heading {
		padding-bottom: 0 !important;
	}
	
	#top .fdb__section .slide-entry  img {
		width: 100%;
		margin: 0 0 !important;
		padding: 0 0 !important;
	}
	
	#top .fdb__section .fdb__slider .avia-slideshow-arrows a.prev-slide {left: 0 !important;}
	#top .fdb__section .fdb__slider .avia-slideshow-arrows a.next-slide {right: 0 !important;}
	
	#top .fdb__section .fdb__slider {
		margin-top: 20px !important;
	}
	#top .fdb__section .fdb__button {
   	 margin-top: 20px !important;
		margin-bottom: 40px !important;
	}
	#top .fdb__section .more__photos__button {
		margin-top: 40px !important;
		margin-bottom: 40px !important;
	}
	
	#top .fdb__section .more__photos__button a {
		width: 100%;
	}
	
	#top .fdb__section .flex_column_table {
		margin-top: 40px !important;
		margin-bottom: 0 !important;
	}
	
	#top .fdb__section .fdb__slider .slide-entry-wrap {
		justify-content: center !important;
	}
	
	/** NEWS SECTION **/
	
	#top .news__section {
		margin-top: 80px !important;
	}
	
	#top .news__section .av-special-heading {
		padding-bottom: 0 !important;
	}
	
	#top .news__section .flex_column_table {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
	
	#top .news__section .flex__news {
		padding: 20px 10px;
		display: flex !important;
		flex-direction: column;
		gap: 42px;
	}
	
	#top .news__section .flex__news1 {
		margin-top: 20px !important;
	}
	
	#top .news__section .flex__news2 {
		display: none !important;
	}
	
	#top .news__section .more__photos__button a {
		width: 100% !important;
		margin-top: 20px !important;
	}
	
	#top .news__section .flex__news .av_textblock_section {
		width: 100% !important;
	}
	
	#top .news__section .flex__news .avia-image-container {
		width: 100% !important;
		order: 1;
	}
	#top .news__section .flex__news .av_textblock_section .avia_textblock {
    	gap: 51px;
	}
	#top .news__section .flex__news .avia_codeblock_section {
		bottom: 57% !important;
	}
	
	/** FUN SECTION **/
	
	#top .fun__section {
		margin-top: 80px !important;
	}
	
	#top .fun__section .av-special-heading {
		padding-bottom: 0 !important;
	}
	
	#top div.fun__section div.flex__fun h5.center__h5 {
		width: 100% !important;
	}
	
	#top .fun__section .av_textblock_section .flex__fun {
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		margin-top: 30px;
		gap: 10px;
	}
	#top .fun__section .flex__fun .separator {
		margin-right: 0 !important;
	}
	#top .fun__section .flex__fun h5 {
 	   width: 51% !important;
		text-align: center;
		font-size: 27px !important;
	}
	
	/** FUN SECTION **/
	
	#top .cf__section {
		margin-top: 80px !important;
		background: #f8f1df !important;
		border-top-left-radius: 20px;
		border-top-right-radius: 20px;
	}
	
	#top .cf__section .flex_column {
		background: #f8f1df !important;
		padding: 20px 0 40px !important;
	}
	
	#top .cf__section .avia-image-container {
		margin-bottom: 40px !important;
	}
	
	#top form {
		width: 100% !important;
		margin-bottom: 0 !important;
	}
	
	#top form input[type='submit']:not(#searchsubmit) {
		width: 100% !important;
	}
	#top .cfmob__section .container {
		padding: 0 0 !important;
	}
	#top .cfmob__section .avia-image-container img {
		border-bottom-left-radius: 20px;
		border-bottom-right-radius: 20px;
	}
	
	/*MAPS*/
	
	#top #av-layout-grid-1 .flex_cell {
		padding-top: 40px !important;
	}
	
	/*FOOTER*/
	
	#top .footer__section .flex_column_table {
		display: flex !important;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		margin-top: 20px !important;
		margin-bottom: 40px !important;
		gap: 40px;
	}
	
	#top .footer__section .flex_column {
		margin-bottom: 0 !important;
	}
	
	#top .footer__section .flex__f1 {order: 1;}
	#top .footer__section .flex__f2 {order: 3;}
	#top .footer__section .flex__f3 {order: 4;}
	#top .footer__section .flex__f4 {order: 5;}
	#top .footer__section .flex__f5 {order: 2;}
	#top .footer__section .flex_column_table .av-flex-placeholder {
		display: none;
	}
	
	#top .footer__section .flex__f3 {
		margin-top: -20px !important;
	}
	
	#top .footer__section .flex__f5 .avia_textblock p {
		margin-bottom: 15px;
	}
	#top .footer__section .flex__f5 .avia_textblock {
		text-align: left !important;
	}
	
	#top .footer__section .flex__f5 .avia-button-wrap,
	#top .footer__section .flex__f5 .avia-button-wrap a {
    	width: 100% !important;
		max-width: 100%;
	}
	
	#top .footer__section .flex__f5 .avia-button-wrap {
		margin: 20px 0 40px 0 !important;
		display: flex;
	}
	
	#top .footer__section .flex__f5 div.avia_textblock a {
		font-size: 27px !important ;
	}

	#top .footer__section .flex__f5 div.avia-button-wrap a {
		font-size: 27px !important;
	}
	
	#top .footer__section .flex__f5 .avia_textblock .f_soc {
    	justify-content: flex-start !important;
	}
	#top .footer__section .flex__f5 .avia_textblock .f_soc img {
    	width: 50px;
		height: 50px;
	}
	
	#top .footer__section .flex__f2 ul li {
		padding: 0 0 !important;
	}
	
	#top .footer__section .flex__f3 ul li {
		padding: 0 0 !important;
		margin-bottom: 10px !important;
	}
	#top .footer__section .flex__f3 ul li:last-child {
		margin-bottom: 0 !important;
	}
	#top .footer__section .flex__f4 img {
		margin-top: 10px !important; 
	}
	
	#top .footer__section .flex__f1 .avia_textblock .f__block:first-child .f__text {
		width: 50%;
	}
	
	#top .footer__section .flex__f1 .avia-image-container {
		margin-bottom: 40px !important;
	}
	
	/*copyright*/ 
	#top .copyright__section .flex__copy .copy__cont {
		flex-direction:column;
		justify-content: flex-start !important;
		align-items: flex-start !important;
	}
	
	#top .copyright__section .flex__copy .copy__cont .copy__left p:last-child {
		position: absolute;
		bottom: 0;
	}
	
	#top .copyright__section .flex__copy .copy__cont div.copy__left {
	    height: auto !important;
		gap: 10px !important;
	}
	
	#top .copyright__section .flex__copy .copy__cont div.copy__left p br {
	    height: 10px !important;
	}
	
	#top .copyright__section .flex__copy .copy__cont div.copy__left .copyright__text {
		width: 100%;
		display: block;
		margin-top: 10px;
	}
	
	#top .copyright__section .flex__copy .copy__cont .copy__right {
    	margin: 20px 0 53px;
		display: flex;
        flex-direction: column;
	}

/*BLOG*/
	
	#top .news__section .container {
		padding: 0 0 !important;
	}

	
	#top .news__section .avia-content-slider .slide-entry {
		width: 100%;
		flex-direction: column-reverse;
		padding: 20px 10px !important;
	}
	
	#top .news__section .avia-content-slider .slide-image, 
	#top .news__section .avia-content-slider .slide-image img {
    	border-radius: 20px;
	}
	
	#top .news__section .avia-content-slider .slide-entry .slide-content {
    	width: 100% !important;
	}
	#top .news__section .avia-content-slider .slide-entry-wrap {
		justify-content: center !important;
	}
	
	
	#top .news__section .avia-content-slider .slide-entry .round__button {
		bottom: 68% !important;
	}
}


