/*jay edit media query on home page*/
@media only screen and (max-width: 760px) {
	/*.mega-sub-menu .mega-menu-row{
		height: 170px !important;
		overflow: auto !important;
	}*/
	.mega-menu-item-type-custom > ul.mega-sub-menu{
		height: 170px !important;
		overflow: auto !important;
	}
}
@media screen and (min-width: 1600px){
	header#masthead{
		max-width:5000px !important;
	}
	#primary {
		max-width:unset !important;
	}
	.entry .entry-content, .entry .entry-summary {
		max-width: 5000px !important;
		width:80% !important;
	}
	.container {
    max-width: 5000px!important;
    width: 80%!important;
	}
	.container .row footer-row{
		float:unset !important;
	}
}
@media only screen and (max-width: 360px) and (min-width: 321px){
	.navbar-expand-sm .navbar-nav .nav-link {
    padding-right: 5px !important;
    padding-left: 0px !important;
    margin-top: 50px !important;
	}
	#botonbuscar {
    margin-top: 50px !important;
	}
	li.nav-item.dropdown {
		font-size: 15px !important;
	}
}
@media only screen and (max-width: 390px) and (min-width: 361px){
	.navbar-expand-sm .navbar-nav .nav-link {
    padding-right: 7px !important;
    padding-left: 0px !important;
    margin-top: 0px !important;
	}
	li.nav-item.dropdown {
		font-size: 15px !important;
	}
	#botonbuscar {
    margin-top: 0px !important;
	}
}
@media only screen and (max-width: 479px) and (min-width: 360px){
	#rev_slider_6_1{
		height:140px !important;
		margin-top: 65px !important;
	}
}
@media only screen and (max-width: 359px){
	#rev_slider_6_1{
		height:120px !important;
		margin-top: 65px !important;
	}
}
@media only screen and (max-width: 800px) and (min-width: 480px){
	#rev_slider_6_1_forcefullwidth{
	margin-top: 65px !important;
	}
}
@media only screen and (max-width: 1024px) and (min-width: 480px){
	#rev_slider_6_1_wrapper{
	height: 272px !important;
	}
	#rev_slider_6_1{
	height: 272px !important;
	}
}

@media only screen and (max-width: 1024px) and (min-width: 761px){
    #mega-menu-wrap-Menu_home #mega-menu-Menu_home > li.mega-menu-item {
    margin: 0 5px 5px 0 !important;
    }
	#mega-menu-wrap-Menu_home #mega-menu-Menu_home > li.mega-menu-item > a.mega-menu-link {
    font-size: 14px !important;
	}
	#mega-menu-wrap-Menu_home #mega-menu-Menu_home {
    text-align: left !important;
	position: relative !important;
	top: -15px !important;	
	}
	#mega-menu-Menu_home {
    margin-top: 0px !important;
	}
}
@media only screen and (max-width: 760px) and (min-width: 681px){
	.mega-menu-toggle {
    right: 30px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 30px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 100% !important;
	}
}
@media only screen and (max-width: 680px) and (min-width: 641px){
	.mega-menu-toggle {
    right: 30px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 30px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 100% !important;
	}
}
@media only screen and (max-width: 640px) and (min-width: 621px){
	.mega-menu-toggle {
    right: 30px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 30px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 100% !important;
	}
}
@media only screen and (max-width: 620px) and (min-width: 601px){
	.mega-menu-toggle {
    right: 30px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 30px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 100% !important;
	}
}
@media only screen and (max-width: 600px) and (min-width: 561px){
	.mega-menu-toggle {
    right: 30px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 30px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 100% !important;
	}
}
@media only screen and (max-width: 560px) and (min-width: 541px){
	.mega-menu-toggle {
    right: 30px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 30px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 100% !important;
	}
}
@media only screen and (max-width: 540px) and (min-width: 521px){
	.mega-menu-toggle {
    right: 30px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 30px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 95% !important;
	}
}
@media only screen and (max-width: 520px) and (min-width: 481px){
	.mega-menu-toggle {
    right: 30px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 30px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 95% !important;
	}
}
@media only screen and (max-width: 480px) and (min-width: 421px){
	.mega-menu-toggle {
    right: 30px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 30px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 93% !important;
	}
}
@media only screen and (max-width: 420px) and (min-width: 401px){
	.mega-menu-toggle {
    right: 30px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 30px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 93% !important;
	}
}
@media only screen and (max-width: 400px) and (min-width: 381px){
	.mega-menu-toggle {
    right: 25px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 20px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 93% !important;
	}
}
@media only screen and (max-width: 380px) and (min-width: 360px){
	.mega-menu-toggle {
    right: 20px;
    top: 81px;
    z-index: 2 !important;
	}
	.mega-menu-toggle.mega-menu-open {
    top: 81px !important;
    right: 20px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 92% !important;
	top: 150px !important;
	}
}
@media only screen and (max-width: 359px) and (min-width: 340px){
	#mega-menu-wrap-Menu_home .mega-menu-toggle { 
	position: fixed;
	top: 80px;
	right: 25px;
	z-index: 2;
	}
	.mega-menu-toggle.mega-menu-open {
    position: fixed !important;
    top: 80px !important;
    right: 25px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 92% !important;
	}
}
@media only screen and (max-width: 339px) and (min-width: 321px){
	#mega-menu-wrap-Menu_home .mega-menu-toggle { 
	position: fixed;
	top: 80px;
	right: 25px;
	z-index: 2;
	}
	.mega-menu-toggle.mega-menu-open {
    position: fixed !important;
    top: 80px !important;
    right: 25px !important;
    z-index: 9999999 !important;
	}
	#mega-menu-Menu_home {
    position: fixed !important;
    z-index: 99999999;
    width: 92% !important;
	}
}
@media only screen and (max-width: 359px) and (min-width: 321px){
	#custom_html-25 .navbar-brand {
    margin-right: -20px !important;
	}
	img.logos.logo_second {
    width: 80px !important;
	}
	img.logos.logo_third {
    width: 60px !important;
	}
	img.logos.logo_fourth {
    width: 30px !important;
	}
}
@media screen and (max-width: 360px) {
	.home_top .widget_xyz_insert_php_widget .navbar-collapse.justify-content-end {
		margin-top:-50px !important;
	}
}
@media screen and (max-width: 480px) {
	.slotholder .tp-bgimg.defaultimg {
    /*background-size: contain !important;*/
	}
	#rev_slider_6_1 .tp-bullets.hesperiden {
    top: 75% !important;
	}
}
@media screen and (max-width: 320px) {
	img.logos.logo_second {
    width: 4rem !important;
	}
	img.logos.logo_first {
    width: 82% !important;
    margin-top: -5px !important;
	}
	img.logos.logo_third {
    width: 2.5rem !important;
	}
	img.logos.logo_fourth {
    width: 1.5rem !important;
	}
	.logo_footer{
		margin-top: 4% !important;
	}
	.sticky-container{
		    width: 287px !important;
    }
    .sticky {
        padding-left: 111px !important;
     }
	.footer-row {
        margin-bottom: 91px !important;
    }
	.slider_prev{
		display: none !important;
	}
	#demo .owl-next{
		display: none !important;
	}
	#division {
		margin-top: 9% !important;
	}
	#glit h3{
		font-size: 22px;
	}
	h2.widget-title{
		font-size: 22px;
	}
	.last_footer{
		padding-bottom:20px;
	}
	.home-post{  height: 440px  !important; }
	#header{top:0px;}
	.content-path {padding: 0px !important;}
	.header_second_logo {margin-top: 14px;}
	#custom_html-25 .navbar-brand {margin-right: -30px !important;}
 	#mega-menu-wrap-Menu_home .mega-menu-toggle { 
	position: fixed;
	top: 79px;
	right: 20px;
	z-index: 2;
	}
	.mega-menu-toggle.mega-menu-open {
	position: fixed !important;
	z-index: 999999999 !important;
	right: 22px !important;
	top: 79px !important;
	}
	ul#mega-menu-Menu_home {
	position: fixed !important;
	z-index: 999999;
	width: 92% !important;
	}
	.navbar-expand-sm .navbar-nav .nav-link {
    padding-right: 7px !important;
    padding-left: 0px !important;
    margin-top: 50px !important;
	}
	#botonbuscar {
    margin-top: 50px !important;
	}
	li.nav-item.dropdown {
		font-size: 13px !important;
	}
	
}
@media only screen and (max-width: 667px) and (min-width: 360px){
	#custom_html-25 .navbar-brand {
    margin-right: -10px !important;
	}
	.header_second_logo{
		margin-top: 60px !important;
	}
	.home_top img.logos.logo_first {height:auto;}
	img.logos.logo_second {
    width: 4rem !important;
	}
	img.logos.logo_first {
    width: 140px !important;
    margin-top: -5px !important;
	height: auto !important;
	}
	img.logos.logo_third {
    width: 4rem !important;
	}
	img.logos.logo_fourth {
    width: 2rem !important;
	}
	.sticky-container{
		    width: 287px !important;
    }
	.sticky {
        padding-left: 111px !important;
    }
	.slider_prev{
		display: none !important;
	}
	#demo .owl-next{
		display: none !important;
	}
	.logo_footer{
		margin-top: 4% !important;
	}
	.footer-row {
        margin-bottom: 91px !important;
    }
	#glit h3{
		font-size: 22px;
	}
	h2.widget-title{
		font-size: 22px;
	}
	#division {
		margin-top: 9% !important;
	}
	.last_footer{
		padding-bottom:20px;
	}
	.content-path {
		padding: 9px 15px 0px 0px;
	}
	#header{top:0px;}
	.home-post{  height: 440px !important; }
	.content-path {padding: 0px !important;}
}
@media only screen and (max-width: 800px) and (min-width: 668px){
	.home-post .thumb
	{
		height: 118px;
		width: 118px;
	}
	.content-path {
		padding: 0px 34px 0px 11px;
	}
	.home-post { height: 440px !important; }
}
@media only screen and (max-width: 1024px) and (min-width: 900px){
	#mega-menu-wrap-Menu_home #mega-menu-Menu_home > li.mega-menu-item > a.mega-menu-link {
		padding: 0px 5px 0px 5px;
	}
	.home-post {height: 300px !important;}
}
@media only screen and (max-width: 800px) and (min-width: 300px){
	.global{
		margin-top: 85px !important;
	}
	.sticky-container{
		overflow:hidden;
	}
	#page .entry-content{
		margin: 0px 0px !important;
		max-width: 100% !important;    
	}
	#mega-menu-wrap-Menu_home .mega-menu-toggle .mega-toggle-blocks-center .mega-toggle-block {outline: none;}
	.home_top .widget_xyz_insert_php_widget .navbar-collapse.justify-content-end {
		display: block !important;
	}
	#header_app .home_top ul li.dropdown.topheader_menu1 .topheader_submenu1 {
		right: -140px !important;
        width: 300px !important;
	}
	#header_app .home_top ul li.dropdown.topheader_menu2 .topheader_submenu2 {
		right: -140px !important;
        width: 300px !important;
	}
	.slotholder .tp-bgimg.defaultimg {
		background-position: center center !important;
	}
	.topheader_menu1 #op2 {
		outline:none;
	}
	.topheader_menu2 #op3 {
		outline:none;
	}
}
@media only screen and (max-width: 700px) and (min-width: 500px){
	nav#site-nav-inner{
		top: -60px !important;
	}
	nav#site-nav{
		top: -60px !important;
	}
	.second_content p {
   	    height: 83px !important;
	}
}