/* --- 1280px --------------------------------------------- */
@media only screen and (max-width: 1279px) and (min-height: 340px) {

}

/* -- iPad --------------------------------------------- */
@media only screen and (max-width: 1025px) and (min-height: 340px) {

}

/* --- 980px --------------------------------------------- */
@media only screen and (max-width: 979px) {
	#footer.inner { gap: 50px; }
	#footer.inner > div { width: auto; }
	
}

/* --- widescreen laptop? --------------------------------------------- */
@media only screen and (max-height: 660px) and (orientation: landscape) {
	
}

/* --- 768px --------------------------------------------- */
@media only screen and (max-width: 767px) {
	#mainmenu { display: none; }
	#mobilemenu, #mobilemenu_container { display: none; }
	
	h1, .h1, h2, .h2 { font-size: 30px; }
	h3, .h3 { font-size: 20px; }
	
	.section.news #newsbox .item { width: 50%; }
	.section.team .item { width: 50%; }
	.grid3 { width: 50%; }
	
	.badge {
		width: 260px;
		height: 260px;
		padding: 10px;
		right: 10px;
		top: -20px;
	}
}



/* --- 580px --------------------------------------------- */
@media only screen and (max-width: 584px) {	
	#footer {
		padding: 30px;
	}
	#footer.inner {
	  flex-wrap: wrap;
		justify-content: flex-start;
	}
	
	#wrapper {
		padding-top: 200px;
	}	
	
  .badge {
	  position: absolute;
		bottom: 10%;
		top: auto;
		right: 0px;
		border-radius: 0px;
		padding: 15px;
		height: auto;
		width: 100%;
	}
	
	.section.news #newsbox .item { width: 100%; }
	.section.team .item { width: 50%; }
	.grid2 { width: 100%; margin-bottom: 40px; }
	.grid3 { width: 100%; margin-bottom: 40px; }
	
	#grandel_badge {
		position: relative;
		top: auto;
		right: auto;
		height: auto !important;
		width: 100% !important;
		margin-bottom: -50px;
	}
	
	#keyvisualtxt {
		bottom: auto;
		top: 5%;
	}
	#keyvisualtxt h1 { fontsize: 22px; }
	
	#keyvisual .badge {
		position: relative;
		top: auto;
		right: auto;
		height: auto !important;
		width: 100% !important;
		margin-bottom: -50px;
	}
}

/* --- 480px --------------------------------------------- */
@media only screen and (max-width: 479px) and (orientation: portrait) {
	h1, .h1, h2, .h2 { font-size: 25px; }
	h3, .h3 { font-size: 16px; }
	
	#wrapper { padding-top: 150px; }	
}


/* --- 380px --------------------------------------------- */
@media only screen and (max-width: 380px) and (orientation: portrait) {
	h1, .h1, h2, .h2 { font-size: 20px; }
}

/* mobile LANDSCAPE ---------------------------------------------*/
@media only screen and (max-height: 320px) and (orientation: landscape) {

}
