/* Header & footer */
header, footer {
	background-color: #404040;
	padding: 2px;
	color: white;
}
header h1 {
	color: white;
}
header a, header a:hover,
footer a, footer a:hover {
	color: white;
	font-weight: bold;
}
.header-icon {
	float:right;
}

/* Titles */
h1, h2, h3, h4 {
	color: #404040;
	line-height: 36px;
	margin: 0px;
	padding: 0px;
}
h1 {
	margin-bottom: 18px;
	font-size: 36px;
}
h2 {
	font-size: 24px;
}
h3 {
	font-size: 20px;
}
h4 {
	font-size: 16px;
}

/* Main page */
body {
	font-family: "Cantarell", Cantarell,
	             "Helvetica Neue", Helvetica,
	             "Hiragino Sans GB", Arial, sans-serif;
	font-size: 16px;
	line-height: 20px;
	color: #737373;
	margin: 0px;
}
main {
	margin: 10px;
}
hr {
	margin: 0 0 19px;
	border: 0;
	border-bottom: 1px solid #ccc;
}
p {
	margin: 0px;
	padding: 0px;
	margin-bottom: 9px;
}
kbd {
	display: inline-block;
	padding: 3px 5px;
	font-size: 11px;
	line-height: 10px;
	color: #555;
	vertical-align: middle;
	background-color: #fcfcfc;
	border: solid 1px #ccc;
	border-bottom-color: #bbb;
	border-radius: 3px;
	box-shadow: inset 0 -1px 0 #bbb;
}
.limited-image {
	width: 90%;
	max-width: 350px;
}

/* Style classes to get collapsable columns */
.responsive-row {
	display: flex;
}
.col50, .col33, .col66 {
	padding: 5px;
}
.col50 {
	width: 50%;
}
.col33 {
	width: 33.3%;
}
.col66 {
	width: 66.6%;
}

/* Style classes to get tabs */
input, .tab {
	display: none;
}

#tab1:checked ~ .tab.content1,
#tab2:checked ~ .tab.content2,
#tab3:checked ~ .tab.content3 {
	display: block;
}

input + label {
	display: inline-block;
	border: 1px solid #999;
	background: #EEE;
	padding: 4px 10px;
	border-radius: 4px 4px 0 0;
	position: relative;
	top: 1px;
	/* text-align: center; */
}
input:checked + label {
	background: #FFF;
	border-bottom: 1px solid transparent;
}
input ~ .tab {
	border-top: 1px solid #999;
	padding: 12px;
}

/******************************************************************************/

@media (max-width: 576px) {
	/* Header & footer */
	header a, footer a {
		font-size: 20px;
		line-height: 32px;
	}
	.header-icon {
		display: none;
	}

	/* Collapsable columns */
	.responsive-row {
		display: flex;
		flex-direction: column;
	}
	.col50, .col66, .col33 {
		width: 100%;
	}

	/* Tabs */
	label h4 {
		font-size: 12px;
		line-height: 20px;
	}
	input + label {
		padding: 4px 4px;
	}
}

@media screen and (min-width: 914px) {
	main, .header-box {
		width: 854px;
		margin: 10px auto;
	}
}

