@media (max-width: 1280px){
#main-header{
    padding-top: 10px !important;   
}

.et_header_style_centered #logo {
    max-height: 130px !important;
}

.header-add{
    width: 100%;
    text-align: center;
}

.et_header_style_centered header#main-header .logo_container{
    max-height: unset !important;
}
#menu-item-5832, #menu-item-5858, #menu-item-318, #menu-item-9887{
    text-align: center !important;
}

#menu-item-5858, #menu-item-9887, #menu-item-318
{
    margin-top: 5px;
}

}

@media (max-width: 1023px){
.header-add{
    display: none !important;
}

#cf #cb{
    display: block;
    text-align: center;
}

input[type="button"]{
    float: none;
}
}

@media (max-width: 980px) {
.cpl div{
	width: 100% !important;
}
	
.et_pb_row_0{
	width: 100% !important;
	padding: 20px 20px !important;
}
	
.et_pb_text_inner h1{
	/*margin-top: 30px;*/
}
	
.et_mobile_menu{
	top: 100px !important;
}
	
#main-header{
	padding-bottom: 0px !important;
	position: unset !important;
}
	
.hide_on_mobile{
	display: none;
}

#et-info-phone{
	display: inline-block;
}

#menu-item-311 ul, #menu-item-310 ul, #menu-item-2530 ul, .sub-menu li{
	width: 100% !important;
}

#menu-item-311 ul{
    height: auto !important;
    overflow-y: hidden !important;
}

#menu-item-311 .sub-menu li a img{
    display: none !important;
}

#jrsl .quicklinks{
	list-style-type: none;
}

#jrsl .quicklinks li{
	display: inline-block;
}	

#jrsl .quicklinks li:after{
	content: " / ";
}

#jrsl .quicklinks li:last-child:after{
	content: "";
}

.footer-widget, .footer-widget .et_pb_widget{
	float: none !important;
}	

#left-area, #sidebar, #content-area #sidebar{
	width: 100% !important;
	padding: 0px 0px !important;
}

.footer-widget:nth-child(n){
	width: 100% !important;
}

.testi_profile{
 padding-bottom: 20px;    
}

.sticky{
	position: unset !important;
	width: unset !important;
}

.blog img{
 float: none;
 max-width: 100% !important;
 margin: 30px 20px 0px 0px;
}

#categories-2, #recent-posts-2{
 display: none !important;
}

#et-info{
 float: none !important;
 text-align: center;
}

/*mobile menu*/
.et_mobile_menu .menu-item-has-children{
 position: relative;
}

.et_mobile_menu .menu-item-has-children span{
 position: absolute;
 right: 10px;
 top: 4px;
 z-index: 1;
 padding: 4px 0px;
 background: #f0f0f0;
 color: #2ea3f2;
 font-size: 16px;
 width: 30px;
 text-align: center;
 user-select: none;
 cursor: pointer;
}

.et_mobile_menu li ul{
 display: none !important;    
}

.et_mobile_menu .menu-item-has-children > a, .et_mobile_menu li a{
 background: rgba(0,0,0,0);
 font-weight: 500;
}

.et_mobile_menu li a:hover{
 font-weight: bold;
}

.et_mobile_menu{
 position: absolute;
 height: auto !important;
}

#sidebar .yt .play{
 width: 100px !important;    
}

#sidebar .yt span{
 top: 40% !important;
 left: 40% !important;
}

#sidebar .et_pb_widget{
 width: 100% !important;
 float: none !important;
}

#qi #cb{
 transform: scale(1.0);    
}

#menu-item-310 ul li a, #menu-item-2530 ul li a{
 padding: 10px 5% !important;
}

#home_intro_vid{
 width: 100%;     
}
#menu-item-5858 a{
 margin-bottom: 5px;    
}
}

@media (max-width: 980px) {
#comment-wrap{
 padding-top: 0px !important;    
}
.cta-btn{
 display: block;
 line-height: 22px;
 margin: 0px auto 5px auto;
 text-align: center !important;
}
}

@media (max-width: 767px) {
 h1, h2, #blog_slider p.title{
  font-size: 30px !important;
 }
.alignleft, .alignright{
	float: none !important;
	margin-right: 0px !important;
	margin-left: 0px !important;
	width: 100%;
	padding-bottom: 0px !important;
} 
}

@media (max-width: 560px) {
 h1, h2, #blog_slider p.title{
  font-size: 25px !important;
 }     
 .play{
  width: 75px;
 }
 .yt{
  font-size: 16px;
  background-color: transparent !important;
 }
 .yt iframe{
  height: 300px !important;
  min-height: auto !important;
 }
 .slides .txtwrpr span a{
  display: block;
  width: 100%;
  text-align: center;
 }
}

@media (max-width: 430px) {
 h1, h2, #blog_slider p.title{
  font-size: 25px !important;
 }
 .play{
  width: 65px;
 } 
 .yt iframe{
  height: 200px !important;
 }
 #nys{
  display: block;
  width: 100% !important;
  right: 0px !important;
 }
}