@media(max-width:1599px){
	.ym_header .container{
		max-width:100%;
	}
}

@media(max-width:1399px){
	.ym_header_nav{
		font-size:16px;
	}
	.ym_header_nav li a{
		padding:2.4rem 0.5rem;
	}
	.ym_header_nav li.menu-item-has-children a::after{
		margin-left:0.25rem;
	}
}

@media(max-width:1199px){
	.ym_header,
	.ym_header_logo{
		height:70px;
	}
	.ym_header_logo img{
		padding:0.5rem 0;
	}
	.ym_header_nav{
		background:white;
		box-shadow:0 5px 5px rgba(0,0,0,0.25);
		width:100%;
		position: fixed;
		left:0;
		right:0;
	}
	.ym_header_nav li a{
		padding:1rem;
	}
	.ym_header_nav .sub-menu{
		width:230px;
	}
	.ym_header_nav .sub-menu li{
		font-size:14px;
	}
	.ym_stat_block{
		padding:3rem 2rem;
	}
	.ym_stat_block p{
		padding:0;
	}
	.ym_footer_nav li:not(:last-child)::after{
		margin:0 0.5rem;
	}
}

@media(max-width:991px){
	.ym_header_right{
		display:flex;
		justify-content: right;
		gap:1.5rem;
		height:100%;
		align-items: center;
	}
	.ym_header_mobile{
		color:black;
		display: flex;
	    height: 100%;
	    align-items: center;
	    font-family: var(--font-heading);
	    font-size:16px;
	    font-weight:700;
	    text-transform: uppercase;
	    line-height: 24px;
	    padding-top:0.5rem;
	}
	.ym_header_mobile i{
		font-size:24px;
		margin-right:0.5rem;
		margin-top:-5px;
	}
	.ym_header_button{
		width:auto;
	}
	.ym_header_nav{
		display:none;
		text-align:left;
	}
	.ym_header_nav li{
		display:block;
		border-top:1px solid rgba(0,0,0,0.1);
		position: relative;
	}
	.ym_header_nav li a{
		padding:1.5rem 2rem;
	}
	.ym_header_nav li.menu-item-has-children a::after{
		content:none;
	}
	.ym_menu_toggle{
		position: absolute;
		right:0;
		top:0;
		padding:1.5rem 2rem;
		color:var(--color-red);
		font-size:16px;
	}
	.ym_header_nav li.menu-item-has-children:hover .sub-menu{
	    display:none;
	}
	.ym_header_nav li.menu-item-has-children.opened .sub-menu{
		display:block;
	}
	.ym_header_nav .sub-menu{
		position: relative;
		width:100%;
		background:transparent;
		box-shadow: none;
	}
	.ym_header_nav .sub-menu li a{
		padding:1rem 2rem;
	}
	.ym_hero_logo{
		width:250px;
	}
	.ym_flex_button{
		display:block;
		margin:1rem 0 0;
	}
	.ym_block a{
		padding:1.5rem;
	}
	.ym_block_icon{
		margin:0 auto 1rem;
	}
	.ym_text_content{
		padding:0;
	}
	.ym_col_offset .ym_text_content{
		padding:0 0 0 1rem;
	}
	.ym_stat_block{
		padding:2.5rem 1rem;
	}
	.ym_testimonial_content{
		padding:2rem;
	}
	.ym_testimonial_quote{
		font-size:18px;
	}
	.ym_footer_logo {
	    width: 200px;
	    margin: 0 auto;
	}
	.ym_footer_nav {
		padding: 2rem 0;
		text-align: center;
	}
	.ym_icon_content_blocks .ym_col:nth-of-type(n+1):not(:last-child) .ym_icon_content_block{
		border:none;
	}

	h1, .h1{
		font-size:48px;
	}
	h3, .h3{
		font-size:32px;
	}

}

@media(max-width:767px){
	.ym_blocks{
		margin:-2rem 0 0;
	}
	.ym_blocks .ym_col{
		margin:2rem 0 0;
	}
	.ym_content_image,
	.ym_content_image_left,
	.ym_content_image_right,
	.ym_content_video,
	.ym_content_video_left,
	.ym_content_video_right{
		width:100%;
		position:relative;
		border-radius:20px;
		margin:0 0 2rem;
		padding-bottom:65%;
	}
	.ym_col_offset .ym_text_content{
		padding:0;
	}
	.ym_stat_blocks .ym_col:nth-of-type(3n+1) .ym_stat_block::after,
	.ym_stat_blocks .ym_col:nth-of-type(3n+2) .ym_stat_block::after,
	.ym_stat_blocks .ym_col:nth-of-type(3n+3) .ym_stat_block::after{
		content:none;
	}
	.ym_stat_blocks .ym_col:nth-of-type(3n+1) .ym_stat_block{
		border:5px solid var(--color-green);
		border-radius:20px;
	}
	.ym_stat_blocks .ym_col:nth-of-type(3n+2) .ym_stat_block{
		border:5px solid var(--color-blue);
		border-radius:20px;
	}
	.ym_stat_blocks .ym_col:nth-of-type(3n+3) .ym_stat_block{
		border:5px solid var(--color-teal);
		border-radius:20px;
	}
	.ym_testimonial_content {
        padding: 2rem 2rem 2rem 4rem;
    }
    .ym_post_filters{
    	flex-wrap:wrap;
    }
    .ym_post_filters .ym_select,
    .ym_post_filters .ym_search{
    	flex:0 0 68%;
    	margin:0 0 0.5rem;
    }
    .ym_post_filters label:not(.ym_search label){
    	flex:0 0 32%;
    }
    .ym_cta_bar .ym_title_bar_overlay{
    	padding:5rem 10%;
    }
}

@media(max-width:575px){
	.ym_alert_bar{
		padding:0.5rem 2rem 0.5rem 0.5rem;
		text-align:left;
	}
	.ym_alert_bar p a{
		margin-left:0;
	}
	.ym_alert_bar_toggle{
		text-align:center;
	}
	.ym_header_logo img{
		padding:0.75rem 0;
	}
	.ym_button::before{
		width:33px;
		height:33px;
		margin-right:0.5rem;
		line-height: 30px;
		font-size:16px;
	}
	.ym_hero{
		height:400px;
	}
	.ym_footer_contact{
		text-align:center;
	}
	.ym_footer_newsletter #field_1_1,
	.ym_footer_newsletter #field_submit{
		grid-column: span 12;
		display: block !important;
    	text-align: right;
	}
	.ym_cta_bar .ym_title_bar_overlay{
    	padding:5rem 1rem;
    }

	h1, .h1 {
        font-size: 38px;
    }
    h2, .h2 {
        font-size: 32px;
    }
    h3, .h3 {
        font-size: 26px;
    }
}