/* CSS Document */

#tinymce {
	padding: 0 10px!important;
}

* {
	box-sizing: border-box;
}

/* TYPO */

h1, h2, h3, h4, h5, h6 {
	color: #2A6972;
}
p {
	color: #555555;
}

/* GENERAL */

body {
	margin: 0;
	/*font-family: Gotham, Helvetica Neue, Helvetica, Arial," sans-serif";*/
	/*font-size: 18px;*/
}
.pageWide {
	max-width: 1100px;
	margin: auto;
	padding: 0 16px;
}
.imgs {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.h_menu_bg {
	position: sticky;
	top: 0;
	background: #2A6972;
	border-bottom: 1px solid darkgrey;
	z-index: 1;
}
li {
	margin-bottom: 6px;
}
ul.h_menu {
	font-size: 20px;
	padding: 10px 0;
	margin: 0;
	list-style: none;
	white-space: nowrap;
	/*overflow-x: scroll*/
}
ul.h_menu li {
	display: inline-block;
	/*font-family: Courgette*/
}
ul.h_menu li a {
	text-decoration: none;
	color: #FFFFFF;
	padding: 10px 60px;
}
ul.h_menu li a:hover, ul.h_menu li a.active {
	/*background: #F8F6F7;
	color: #000;*/
	border-bottom: 10px solid #6aA9B2;
	border-radius: 10px;
}
ul.h_menu li ul {
	padding: 10px 0;
	padding-left: 20px;
	margin: 0;
	position: absolute;
	top: 45px;
	background: #6aA9B2;
	border: 1px solid lightgrey;
	display: none;
}
ul.h_menu li ul li {
	display: block;
	padding: 5px 0;
	border-left: 2px solid #FFF;
}
ul.h_menu li:hover ul {
	display: block;
	z-index: 10;
}

img.portre {
	float: right; 
	max-height: 300px; 
	margin-left: 16px
}
img.emoji {
	float: none!important;
	height: 20px;
	width: auto;
}

/* ARTICLE LIST */
div.article_list_item {
/*	position: relative;
	max-height: 180px;
	padding: 0 5px;
	margin-bottom: 16px;
	border: 1px solid lightgrey;
	border-radius: 10px;
	box-shadow: 2px 2px 1px #CCC;
	background: #F5F5F5;
	overflow: hidden;
	cursor: pointer;*/
	position: relative;
	max-height: 180px;
	padding: 0 15px;
	margin: 0!important;
	border: 1px solid #c9b68a;
	/*border-radius: 10px;
	box-shadow: 2px 2px 1px #CCC;
	background: #F5F5F5;*/
	overflow: hidden;
	cursor: pointer;
}
div.card {
	width: 48%;
	margin-right: 10px; 
	margin-bottom: 10px; 
	float: left;
	height: 180px;
}
div.article_list_item img {
	float: right;
	max-width: 150px;
	margin-left: 5px;
}
div.article_list_item h2, div.article_list_item h3 {
	margin: 8px 0;
}
div.article_list_item h2 {
	font-size: 1.1em;
}
div.article_list_item h2:nth-child(3) {
	font-size: 1em;
	font-weight: normal;
}
div.article_list_item p {
	margin: 5px 0;
}
div.article_list_item i {
	display: none;
}
div.fader_top {
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 100%);
	background: linear-gradient(to bottom,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d000000', endColorstr='#00000000',GradientType=0 );
	position: absolute;
	top: 0;
	left: 0;
	height: 50px;
	width: 100%;
	/*padding-left: 166px;*/
}
div.fader_bottom {
	background: -moz-linear-gradient(top,  rgba(245,245,245,0) 0%, rgba(245,245,245,1) 70%);
	background: -webkit-linear-gradient(top,  rgba(245,245,245,0) 0%,rgba(245,245,245,1) 70%);
	background: linear-gradient(to bottom,  rgba(245,245,245,0) 0%,rgba(245,245,245,1) 70%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f5f5f5', endColorstr='#f5f5f5',GradientType=0);
	position: absolute;
	bottom: 0;
	left: 0;
	height: 70px;
	width: 100%;
}
div.fader_bottom div.date {
	position: absolute;
	bottom: 6px;
	left: 6px;
	/*background: #770077;*/
	color: #6B48AD;
	padding: 3px 10px;
}
div.fader_bottom div.link {
	position: absolute;
	bottom: 6px;
	right: 6px;
	/*background: #770077;*/
	color: #A9966A;
	padding: 3px 10px;
	/*border-radius: 4px;*/
	cursor: pointer;
}
div.clear {
	clear: both;
}

/* ARTICLES */
img.article_image {
	float: right;
	margin-left: 16px;
	max-width: 300px;
}
div.article::after {
	content: " ";
	display: block;
	clear: both;
}

/* RELATED LINKS */
div.related_links {
	border: 1px solid #AAA;
	border-radius: 16px;
	box-shadow: 2px 2px 1px #CCC;
	width: 75%;
	margin: auto;
	margin-top: 120px;
	padding: 16px;
}
div.related_links h3 {
	margin-top: 0;
}
div.related_links a {
	display: block;
	padding: 5px;
	margin-left: 40px;
	text-decoration: none;
}

/* CONTACT FORM */
div.contact_form {
	background:  #DAE9F2;
	border: 1px solid #AAA;
	border-radius: 16px;
	box-shadow: 2px 2px 1px #CCC;
	width: 75%;
	max-width: 640px!important;
	margin: 120px auto;
	padding: 16px 32px;
}
div.contact_form h2 {
	margin-top: 0;
}
div.contact_form label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
div.contact_form label input {
	width: 80%;
}
div.contact_form label textarea {
	width: 80%;
	height: 200px;
	/*margin-top: 10px;*/
}
div.contact_form label input, div.contact_form label textarea {
	padding: 10px;
	border: 1px solid #AAA;
	border-radius: 5px;
}
div.contact_form label input:focus, div.contact_form label textarea:focus {
	outline: 1px solid #2A6972;
} 
div.contact_form input[type=submit], div.contact_form input[type=button] {
	background: #2A6972;
	color: white;
	padding: 10px 20px;
	margin: 5px;
	border: none;
}

/* GALLERY */
div.img_cards {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
}
div.img_card, div.category_card {
	font-size: 16px;
	text-align: center;
	flex-basis: 30%;
	flex-shrink: 0;
	flex-grow: 0;
	margin: 10px;
	padding: 5px;
	background: white;
	border: 1px solid grey;
	box-shadow: 2px 2px 3px grey;
	cursor: pointer;
}
div.img_card img {
	display: block;
	max-width: 100%;
	height: 231px;
	margin: auto;
}
div.img_card img.video_cover {
	display: block;
	max-width: 100%;
	height: auto;
	margin: auto;
}
div.category_card img {
	display: block;
	max-width: 100%;
	margin: auto;
	max-height: 231px;
	
}

/* MODAL */
div.modal {
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0,0,0,0.3);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}
div.modal_content {
	max-width: 450px;
	max-height: 80%;
	background: #FFF;
}
div.modal_content img {
	border: 10px solid white;
	box-shadow: 2px 2px 5px;
	/*width: 100%;*/
	max-width: 1024px;
	max-height: 100%;
}
div.modal_content_header, div.modal_content_footer, div.modal_content_body div {
	background: #2A6972;
	color: white;
	font-weight: bold;
	padding: 8px 16px;
}
div.modal_content_header div {
	float: right;
	padding: 0 10px;
	cursor: pointer;
}
div.modal_content_body {
	padding: 8px 16px;
	font-weight: bold;
}
div.modal_content_body div {
	width: 150px;
	text-align: center;
	margin: auto;
	cursor: pointer;
}
div.modal_content_footer {
	text-align: right;
}
div.rand_imgs {
	background: #DAE9F2;
	border: 1px solid #CCC; 
	border-radius: 16px; 
	padding:16px; 
	margin-bottom: 120px;
}
/* IMG VIEWER */
/* HIDDEN ELEMENTS */
.mhide {
	display: initial;
}
.dhide {
	display: none;
}
.video_container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	margin-bottom: 30px;
}