/********************************************************
*	Stylesheet:		Website beheer (responsive.css)		*
*	Description:	Responsive styles for Website beheer*
*	Media:			Screen - Responsive					*
*	Version:		2.0									*
*	Author:			Hiljo Lodewijk						*
*	Author URI:		https://www.hiljo.nl/				*
*														*
*	Breakpoints:										*
*	lg:	 > 1200px  (desktop, basisstijlen in screen.css)*
*	md:	 981-1199px (landscape tablet)					*
*	sm:	 768-980px	(portrait tablet)					*
*	xs:	 480-767px	(landscape smartphone)				*
*	xxs: < 480px   (portrait smartphone)			   *
********************************************************/

/************************************************************************************
 *	Responsive styles for Landscape mode tablets (981px – 1199px)
 ************************************************************************************/
@media only screen and (min-width: 981px) and (max-width: 1199px) {
	.container {
		max-width: 100%;
		padding: 0 20px;
	}
}

/************************************************************************************
 *	Responsive styles for Portrait mode tablets (768px – 980px)
 ************************************************************************************/
@media only screen and (min-width: 768px) and (max-width: 980px) {
	.container,
	#content > .container {
		width: auto;
		margin: 0;
		padding: 0 15px;
	}

	#footer {
		margin: 0 auto;
	}
}

/************************************************************************************
 *	Responsive styles for landscape mode smartphones (smaller then 768px)
 ************************************************************************************/
@media only screen and (max-width: 767px) {
	body {
		font-size: 70%;
		line-height: 1.4;
	}

	.container,
	#content > .container {
		width: auto;
		height: auto;
		padding: 0 10px;
	}

	/************************************************
	*	Menu - hamburger							*
	************************************************/

	#menu {
		height: auto;
	}

	#menu label.responsive-menu {
		display: flex;
		align-items: center;
		gap: 8px;
		float: none;
		width: auto;
		color: #fff;
		cursor: pointer;
		padding: 12px;
		user-select: none;
	}

	#menu .responsive-icon {
		display: inline-block;
	}

	#menu .responsive-icon > .line {
		width: 35px;
		height: 5px;
		background-color: #fff;
		margin: 6px 0;
		transition: transform 0.4s, opacity 0.4s;
	}

	#menu label.responsive-menu.active .top {
		transform: rotate(-45deg) translate(-9px, 6px);
	}

	#menu label.responsive-menu.active .middle {
		opacity: 0;
	}

	#menu label.responsive-menu.active .bottom {
		transform: rotate(45deg) translate(-8px, -8px);
	}

	#menu ul {
		display: none;
		background: var(--color-blue, #3291f0);
		float: none;
		overflow: hidden;
		clear: both;
		flex-direction: column;
	}

	#menu .show-menu:checked ~ ul {
		display: flex;
	}

	#menu li {
		width: 100%;
		margin: 0;
	}

	#menu ul li ul {
		display: none;
		position: relative;
		margin: 0;
		border: 0;
		visibility: visible;
	}

	#menu ul li label {
		padding: 12px;
	}

	#menu ul li input ~ a {
		display: none;
	}

	/************************************************
	*	Content										*
	************************************************/

	#content h1 {
		font-size: 1.6em;
	}

	#content a {
		display: inline-block;
		margin: 0 10px;
	}
}

/************************************************************************************
 *	Responsive styles for portrait mode smartphones (width < 480px)
 ************************************************************************************/
@media only screen and (max-width: 479px) {

	/************************************************
	*	Header										*
	************************************************/

	#header {
		height: auto;
	}

	#headerright {
		float: none;
		padding: 10px 15px;
	}

	/************************************************
	*	Loginbox									*
	************************************************/

	#loginbox {
		width: auto;
		margin: 0 auto;
		border: 0;
		background-color: transparent;
		box-shadow: none;
		padding: 10px;
	}

	/************************************************
	*	Footer										*
	************************************************/

	#footer {
		font-size: 0.8em;
		text-align: center;
		padding: 10px;
	}

	#footer .alignleft,
	#footer .alignright {
		float: none;
		display: block;
	}
}