@media(max-width:1399px){
	.ym_split_text,
	.order-lg-1 .ym_split_text,
	.order-lg-2 .ym_split_text{
	    padding:3rem 4rem;
	}
	.ym_split_text_character{
	    width:120px;
	    height:120px;
	    position: absolute;
	    top:1rem;
	    text-align: center;
	}
	.order-lg-1 .ym_split_text .ym_split_text_character{
	    left:-60px;
	}
	.order-lg-2 .ym_split_text .ym_split_text_character{
	    right:-60px;
	}
}

@media(max-width:1199px){
	.ym_header_logo{
		height:60px;
	}
	.ym_header_logo img{
	 	padding:0.5rem 0;
	}
	.ym_header_nav{
		position:fixed;
		width:100%;
		left:0;
		right:0;
		background:white;
		text-align:center;
	}
	.ym_hero{
		height:500px;
	}
	.ym_hero_text span{
		font-size:44px;
	}
	.ym_split_text,
	.order-lg-1 .ym_split_text,
	.order-lg-2 .ym_split_text{
	    padding:3rem 2rem;
	}
	.ym_arrow_block svg{
		width:20%;
	}
	.ym_arrow_block h5{
		font-size:20px;
		left:22%;
	}
	.ym_color_link a{
		padding:1rem;
		font-size:20px;
	}
	.ym_split_text_character{
		display:none;
	}
	.ym_testimonial_slide_content{
		padding:4rem 5rem;
	}
	.ym_testimonial_slider .slick-prev{
		left:33%;
	}
	.ym_testimonial_slider .slick-next{
		right:1rem;
	}
	.ym_testimonial_slider::after{
		width:200px;
		height:150px;
	}
	.ym_arrow_bullet h3{
		font-size:24px;
	}
	.ym_content_overlay .ym_text_content{
		padding:2rem 0;
	}

}

@media(max-width:991px){
	main{
		margin-top:70px;
	}
	.ym_header, .ym_header_logo{
		height:70px;
	}
	.ym_header_mobile{
		display:block;
		text-align:right;
		font-size:24px;
		color:black;
		padding:1.1rem 1rem;
	}
	.ym_header_right{
		display:none;
		text-align: left;
		position: fixed;
		width:100%;
		left:0;
		right:0;
		box-shadow:0 5px 5px rgba(0,0,0,0.1);
		z-index:1000;
		max-height: 78vh;
  		overflow: scroll;
	}
	.ym_header_right::before{
		content:'';
		width:100%;
		height:10px;
		background:white;
		position: absolute;
		top:-5px;
		left:0;
	}
	.ym_header_buttons{
		padding:1rem 2rem;
		display:flex;
	}
	.ym_header_buttons .ym_button{
		flex:1;
		text-align:center;
		margin:0 0.25rem;
	}
	.ym_header_nav{
		position: relative;
		text-align:left;
	}
	.ym_header_nav li{
		display:block;
		border-top:1px solid #f4f4f4;
	}
	.ym_header_nav li a{
		padding:1rem 2rem;
	}
	.ym_header_nav .sub-menu,
	.ym_header_nav .sub-menu .sub-menu,
	.ym_header_nav li:hover .sub-menu,
	.ym_header_nav .sub-menu li:hover .sub-menu{
		display:none;
	}
	.ym_header_nav .sub-menu .sub-menu{
		display:none !important;
	}
	.ym_header_nav li.menu-item-has-children a::after,
	.ym_header_nav .sub-menu li.menu-item-has-children a::after{
		content:none;
	}
	.ym_header_menu_toggle{
		content:'';
	    width:85px;
	    height:56px;
	    background-image:url(../img/arrows.svg);
	    background-position: center center;
	    background-repeat: no-repeat;
	    background-size:12px;
	    display:inline-block;
	    position: absolute;
	    right:0;
	    top:0;
	    cursor:pointer;
	    z-index:1000;
	}
	.ym_header_menu_toggle.active{
		transform:rotate(180deg);
	}
	.ym_header_nav li.opened .sub-menu{
		display:block;
		position: relative;
		background:transparent;
		border: none;
    	width: 100%;
    	font-size: 14px;
    	box-shadow:none;
    	font-weight:500;
	}
	.ym_header_nav li.opened .sub-menu li a{
		padding:1rem 2rem;
	}
	.ym_header_nav .sub-menu li.opened .sub-menu{
		display:block !important;
		width:100%;
		left:0;
		position: relative;
		box-shadow:none;
		font-weight:400;
	}
	.ym_header_nav li:hover a:not(.sub-menu a),
	.ym_header_nav li a:not(.sub-menu a):hover,
	.ym_header_nav li:hover > a:not(.sub-menu a){
	    font-weight:400;
	}
	.ym_hero{
		height:400px;
	}
	.ym_hero_text{
		width:calc(100% - 100px);
	}
	.ym_hero_text p{
		font-size:18px;
	}
	.ym_hero_text span{
		font-size:32px;
	}
	.ym_hero_arrows{
		width:75px;
		height:75px;
	}
	.ym_arrow_block{
		padding-bottom:20%;
	}
	.ym_arrow_blocks{
		margin:0;
		padding:0;
	}
	.ym_arrow_blocks .ym_col{
		margin:1.5rem 0 0;
	}
	.ym_arrow_block svg{
		width:10%;
	}
	.ym_arrow_block h5{
		left:12%;
	}
	.ym_content_slant::before{
		content:none;
	}
	.ym_testimonial_slide_content{
		padding:2rem 5rem;
	}
	.ym_testimonial_slide_content h2{
		margin:0 0 1rem;
		font-size:30px;
	}
	.ym_testimonial_slider::after{
		content:none;
	}
	.ym_footer_contacts{
		gap:2rem;
	}
	.ym_footer_nav li:not(:last-child)::after{
		margin:0 0.6rem;
	}
	.ym_title_bar h1,
	.ym_title_bar span{
		font-size:44px;
	}
	.ym_arrow_blocks_title_shape,
	.ym_arrow_blocks_title::before{
		clip-path: polygon(0 0, 100% 42%, 100% 100%, 0% 100%);
	}

	h2, .h2{
		font-size:32px;
	}
	h3, .h3{
		font-size:24px;
	}
}

@media(max-width:767px){
	.ym_hero{
		height:300px;
	}
	.ym_hero_text{
		width:100%;
		margin:0;
	}
	.ym_hero_text p{
		font-size:18px;
	}
	.ym_hero_text span{
		font-size:32px;
	}
	.ym_hero_arrows{
		display:none;
	}
	.ym_arrow_blocks_title{
		margin:0;
	}
	.ym_arrow_blocks_title::before{
		content:none;
	}
	.ym_arrow_blocks_title_shape{
		clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
	}
	.ym_arrow_blocks_title_character{
		width:120px;
		height:120px;
		top:auto;
		bottom:0;
	}
	.ym_testimonial_slide_image{
		padding-bottom: 60%;
	}
	.ym_testimonial_slider .slick-prev{
		left:1rem;
	}
	.ym_testimonial_slide_content{
		padding:3rem 2rem 2rem;
	}
	.ym_testimonial_slider .slick-arrow{
		margin-top:28px;
	}
	.ym_footer_contact{
		display:block;
	}
	.ym_footer_contact span:first-of-type{
		margin:0 0 0.5rem;
	}
	.ym_footer_nav li:not(:last-child)::after {
		margin: 0.25rem 0.6rem;
	}
	.ym_title_bar{
		height:150px;
	}
	.ym_title_bar::after{
		height:60%;
	}
	.ym_arrow_blocks_title_shape,
	.ym_arrow_blocks_title::before{
		clip-path: polygon(0 0, 100% 25%, 100% 100%, 0% 100%);
	}
	.ym_arrow_blocks_title_shape{
		padding:3rem 0 1.5rem;
	}
	.ym_arrow_blocks_title_character{
		display:none;
	}
	.ym_link_blocks{
		margin-top:0;
	}
	.ym_content_buttons_inline{
		position: relative;
		top:auto;
		right:auto;
	}
}

@media(max-width:575px){
	.ym_header_buttons{
		padding:0.5rem;
	}
	.ym_header_buttons .ym_button{
		padding-right:0.5rem;
		padding-left:0.5rem;
	}
	.ym_header_nav li a,
	.ym_header_nav li.opened .sub-menu li a{
		padding:1rem;
	}
	.ym_header_menu_toggle{
		width:56px;
	}
	.ym_hero_text p{
		font-size:15px;
	}
	.ym_split_text,
	.order-lg-1 .ym_split_text,
	.order-lg-2 .ym_split_text{
	    padding:2rem 1rem;
	}
	.ym_arrow_blocks .ym_col{
		margin:1rem 0 0;
	}
	.ym_arrow_block{
		padding-bottom:25%;
	}
	.ym_color_links{
		flex-wrap:wrap;
		gap:1rem;
	}
	.ym_color_link{
		flex:0 0 100%;
	}
	.row .right{
		text-align:left;
	}
	.ym_content_buttons .ym_button{
		margin:0.5rem 0.5rem 0 0 !important;
	}
	.ym_testimonial_slider .slick-arrow{
		top:30%;
	}
	.ym_footer_logo{
		width:180px;
	}
	.ym_footer_contacts{
		display:block;
		text-align:center;
	}
	.ym_footer_buttons .ym_button{
		margin:0 0.5rem 0.5rem 0;
	}
	.ym_footer_newsletter .gform_wrapper.gravity-theme .left_label .gfield_label,
	.ym_footer_newsletter .gform_wrapper.gravity-theme .left_label div.gfield > div:not(.ui-resizable-handle):not(.gfield-admin-icons){
		width:100%;
	}
	.ym_footer_newsletter .gform_wrapper.gravity-theme .left_label .gfield_label{
		margin:0 0 0.5rem;
	}
	.ym_footer_newsletter #field_1_1{
		padding-right:0.5rem;
	}
	.ym_footer_nav{
		text-align:center;
		margin:2rem 0 1rem;
	}
	.ym_footer_nav li:not(:last-child)::after {
    	display:none;
	}
	.ym_footer_nav li{
		display:block;
		border-top:1px solid var(--color-orange);
	}
	.ym_footer_nav li a{
		display:block;
		padding:0.75rem 0;
	}
	.ym_footer_legal p a:not(:last-of-type){
		margin:0 0.5rem;
	}

	h1, .h1,
	.ym_title_bar h1,
	.ym_title_bar span{
		font-size:32px;
	}
	h2, .h2{
		font-size:28px;
	}
	h3, .h3{
		font-size:24px;
	}
	h4, .h4{
		font-size:22px;
	}
	h5, .h5{
		font-size:20px;
	}
	h6, .h6{
		font-size:18px;
	}
}
