
/**
 * IMPORTS
 */
@import url('https://fonts.googleapis.com/css?family=Nunito+Sans');

/**
 * NORMALIZE
 */
html, body { margin: 0; padding: 0; }
html {
	height: 100%;
}
* {
	box-sizing: border-box;
}

/**
 * BODY, HTML
 */
html {
	background-color: #f7d7d7;
}

/**
 * GRID
 */
.container {
	position: relative;
	display: block;
	max-width: 1280px;
	margin: auto;
}
.row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 80px;
}
.row .row {
	margin-bottom: 20px;
}
.col {
	flex-basis: 0;
	flex-grow: 1;
	flex-shrink: 1;
	padding: 0 20px;
	max-width: 100%;
}
.right {
	float: right;
}
.left {
	float: left;
}
.in-text.right {
	margin: 0 0 20px 20px;
}
.in-text.left {
	margin: 20px 20px 0 0;
}

/**
 * TYPOGRAPHY
 */
body {
	font-family: 'Nunito', sans-serif;
	color: #00007c;
	line-height: 1.6em;
	font-size: 16px;
}
h1, h2, h3, h4 {
	font-family: Nunito,sans-serif;
  	font-variant: small-caps;
	font-weight: normal;
	color: #69080c;
	line-height: 1.6em;
	margin-top: 0;
	letter-spacing: -0.5px;
}
h1 {font-size: 45px;}
h2 {font-size: 30px;}
h3 {font-size: 22px; margin-bottom: 10px;}
a {
  	color: #b3252b;
  	text-decoration: none;
  	transition: color 0.3s ease;
}
a:hover {
	color:#e6ed1a;
	background-color:#a35255;
	text-decoration: none;
} 

p {
	color: #69080c;
	text-align: justify;
	margin-top: 0;
}
.highlight {
	display: flex;
	padding: 40px;
	border: 2px solid #254117;
	background: rgba(255,255,255,0.4);
}
.highlight::before {
	content: 'priority_high';
	font-family: 'Material Icons';
	font-size: 80px;
	color: #aecff9;
	margin-right: 20px;
	font-feature-settings: "liga" 1;
}
.material-icons {
	font-size: 18px;
}
#content-wrapper ul {
	list-style-type: none;
	padding-left: 12px;
}
#content-wrapper ul li {
	display: flex;
	margin-bottom: 5px;
}
#content-wrapper ul li::before {
	content: 'keyboard_arrow_right';
	font-family: 'Material Icons';
	font-size: 24px;
	font-feature-settings: "liga" 1;
}
.table-wrapper {
	width: 100%;
	overflow-x: auto;
}
table {
	border: ;
	width: 100%;
	background: ;
	border-collapse: collapse;
	margin-bottom: 20px;
}
thead {
	border-bottom: ;
}
table.striped tbody tr:nth-child(even) {
	background: rgba(0,0,0,0.03);
}
tbody {
	border-bottom: 1px solid #f05b5b;
}
tbody:last-child {
	border-bottom: 0;
}
th, td {
	text-align: left;
	padding: 5px;
	vertical-align: top;
	min-width: 110px;
	color: #69080c;
}
tr {
	transition: background 0.5s ease;
}
table.hover tbody tr:hover {
	background: rgba(174, 207, 249, 0.2);
}

/**
 * HEADER
 */
#header {
	position: fixed;
	top:0;
	width: 100%;
	padding: 20px 0;
	background-color: #f07e59;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	z-index: 10;
	border-bottom: ;
}
#header .row {margin: 0;}
#stephan img {
	float: left;
	margin-right: 40px;
}
#stephan h1 {
	font-size: 40px;
	display: inline-block;
	color: #254117;
}
#navigation {
	position: absolute;
	bottom: -8px;
	right: 20px;
	
	font-family: Nunito,sans-serif;
  	font-variant: small-caps;
	font-size: 24px;
}
#navigation ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
#navigation li {
	display: inline-block;
	padding-left: 20px;
}
#navigation .sub {
	display: block;
	position: absolute;
	width: 320px;
    	padding: 20px;
	margin-left: -20px;
	margin-top: 12px;
	background: rgb(235, 235, 235);
	box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
	opacity: 0;
	transition: all 0.5s ease;
	visibility: hidden;
	z-index: -5;
	border: ;
}
#navigation li:hover .sub {
	opacity: 1;
	visibility: visible;
}
#navigation .sub li {
	display: block;
	padding-left: 0;
	line-height: 1.6em;
}

/**
 * SIDENAV
 */
#sidenav-toggle {
	position: absolute;
	left: 0;
	top: -5px;
	height: 50px;
	width: 75px;
	padding: 14px 20px 10px 20px;
	outline: none;
	display: none;
}
#sidenav-toggle .hamburger-box {
	width: 30px;
}
#sidenav-toggle .hamburger-inner,
#sidenav-toggle .hamburger-inner::before,
#sidenav-toggle .hamburger-inner::after {
	width: 30px;
	background-color: #254117;
	height: 3px;
}
#sidenav-overlay {
	position: fixed;
	top: 51px;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.7);
	z-index: 1000;
	display: none;
}
#sidenav {
	position: fixed;
	top: 51px;
	left: -400px;
	bottom: 0;
	width: 400px;
	max-width: 90%;
	border-right: 1px solid #254117;
	background: #fafafa;
	z-index: 1100;
	overflow-y: auto;
}
#sidenav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#sidenav li {
	margin: 0;
	padding: 0;
}
#sidenav a {
	display: block;
	padding: 10px 15px;
	border-bottom: 1px solid #254117;
}
#sidenav li > ul a {
	padding-left: 40px;
}

/**
 * CONTENT
 */
#content-wrapper {
	padding: 200px 0 20px 0;
}
#content-wrapper .box {
	padding: 40px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: rgba(255,255,255,0.4);
	box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
img.in-text {
	
}
#home {
	background-image: url('../../pages/dehai/img/'); 
}
}
#dehai {
	background-image: url('../../pages/dehai/img/'); 
}
/**
 * FOOTER
 */
#footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	padding: 0;
	background-color: #f07e59;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	z-index: 10;
	border-top: ;
}
#footer .row {margin: 0;}
#footer .col {
	display: flex;
	justify-content: space-between;
}
#socialicons {
	display: flex;
	align-items: center;
}
#socialicons img {
	height: 30px;
	display: block;
}
#footer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#footer li {
	list-style: none;
	display: inline-block;
	margin-left: 20px;
}
#footer a {
	font-family: Nunito,sans-serif;
  	font-variant: small-caps;
	font-size: 20px;
	line-height: 45px;
}

/**
 * postcards
 */
#postcards {
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap;
}

#postcards .image {
	position: relative;
	flex: 1 1 0;
	margin: 5px;
}
#postcards .image a {
	display: block;
	position: relative;
	overflow: hidden;
	border: 1px solid #254117;
	box-shadow: 0;
	transition: box-shadow 0.6s ease;
}
#postcards .image a:hover {
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
#postcards .image a::after {
	content: ' ';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.3);
	opacity: 0;
	transition: opacity 0.6s ease;
}
#postcards .image a:hover::after {
	opacity: 1;
}

#postcards img {
	display: block;
	margin: 0;
	transition: transform 0.6s ease;
}
#postcards a:hover img {
	transform: scale(1.1);
}

/**
 * Mobile
 */
@media screen and (max-width: 900px){
	#header {
		padding: 5px 0;
	}
	#navigation {
		display: none;
	}
	#stephan {
		float: right;
	}
	#stephan a {
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}
	#stephan h1 {
		display: inline-block;
		font-size: 22px;
		margin: 0;
		line-height: 40px;
	}
	#stephan img {
		display: inline-block;
		height: 25px;
		float: none;
		margin-right: 10px;
	}
	#sidenav-toggle {
		display: block;
	}
	h1 {font-size: 35px;}
	h2 {font-size: 20px;}
	h3 {font-size: 16px; margin-bottom: 10px;}
	body {
		font-size: 13px;
	}
	.row {
		margin-bottom: 20px;
		display: block;
	}
	.col {
		width: 100%;
	}
	.col .col {
		padding: 0;
	}
	blockquote,
	.highlight {
		margin: 20px 0;
		display: block;
		text-align: center;
		padding: 20px;
	}
	.highlight {
		padding-top: 40px;
	}
	blockquote::before,
	.highlight::before {
		margin: auto;
		margin-bottom: 20px;
		text-align: center;
		display: block;
	}
	.highlight::before {
		margin-bottom: 40px;
	}
	#content-wrapper {
		padding-top: 80px;
		padding-bottom: 40px;
	}
	#content-wrapper .box {
		padding: 20px;
	}
	#content-wrapper ul {
		padding-left: 10px;
	}
	#content-wrapper img.in-text {
		float:none;
		max-width: 100%;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	#postcards {
		justify-content: center;
	}
	#footer li {
		margin-left: 10px;
	}
	#footer a {
		font-size: 14px;
	}
	iframe {
    position: relative;
	max-width: 100%;
}
