/* CSS Document */

* {
	box-sizing: border-box;
}

/* TYPO */

h1, h2, h3, h4, h5, h6 {
	/*color: #883388;*/
}
p {
	color: #555555;
}

/* GENERAL */

body {
	margin: 0;
	font-family: Gotham, Helvetica Neue, Helvetica, Arial," sans-serif";
	/*font-size: 18px;*/
}
.pageWide {
	max-width: 100%;
	margin: auto;
	padding: 0 10px;
}
.imgs {
	display: block;
	max-width: 100%;
}
.imgs img:nth-child(1) {
	width: 40%;
	float: left;
	margin-top: 32px!important;
}
.imgs div:nth-child(2) {
	float: left; 
	width: 60%;
	font-size: 10vw!important;
	padding-top: 16px!important;
	margin-bottom: 16px!important;
	text-align: left!important;
}
.imgs div:nth-child(3) {
	display: block;
	font-size: 18px!important;
	margin-bottom: 16px;
	text-align: center;
	color: #999;
	clear: both;
}
.imgs div:nth-child(3) br:nth-child(1) {
	display: none;
}
.h_menu_bg {
	position: sticky;
	top: 0;
	/*background: #F7DCE5;*/
	border-bottom: 1px solid darkgrey;
}
ul.h_menu {
	/*font-family: 'Courgette';*/
	font-size: 20px;
	padding: 10px 0;
	margin: 0;
	list-style: none;
	overflow-x: scroll;
}
ul.h_menu li {
	display: inline;
	white-space: nowrap;
}
ul.h_menu li a {
	text-decoration: none;
	color: #FFF;
	padding: 10px 20px;
}
ul.h_menu li a:hover, ul.h_menu li a.active {
	background: #F8F6F7;
	color: #000;

}
ul.h_menu li ul {
	padding: 10px 0;
	padding-left: 20px;
	margin: 0;
	position: absolute;
	top: 45px;
	left: 0;
	width: 100%;
	/*background: #EFEFEF;*/
	border: 1px solid lightgrey;
	display: none;
}
ul.h_menu li ul li {
	display: block;
	padding: 5px 0;
	border-left: 2px solid white;
}
ul.h_menu li:hover ul {
	display: block;
	z-index: 10;
}

img.portre {
	float: none; 
	max-height: none;
	max-width: 100%;
	margin: auto;
}

/* ARTICLE LIST */
div.article_list_item {
	position: relative;
	max-height: 180px;
	/*margin-bottom: 16px;
	border: 1px solid lightgrey;
	border-radius: 10px;
	box-shadow: 2px 2px 1px #CCC;
	background: #F5F5F5;*/
	overflow: hidden;
	cursor: pointer;
}
div.card {
	width: 100%;
	margin-right: 10px; 
	margin-bottom: 10px; 
	float: left;
}
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: #770077;*/
	padding: 3px 10px;
	/*border-radius: 4px;*/
	cursor: pointer;
}
div.clear {
	clear: both;
}

/* ARTICLES */
img.article_image {
	display: block;
	float: none;
	margin: auto;
	max-width: 100%;
}

/* RELATED LINKS */
div.related_links {
	border: 1px solid #AAA;
	border-radius: 16px;
	box-shadow: 2px 2px 1px #CCC;
	width: 100%;
	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:  #E9E2F6;*/
	border: 1px solid #AAA;
	border-radius: 10px;
	box-shadow: 2px 2px 1px #CCC;
	width: 100%;
	margin: 120px auto;
	padding: 10px;
}
div.contact_form h2 {
	margin-top: 0;
}
div.contact_form label {
	display: block;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
div.contact_form label input {
	width: 100%;
}
div.contact_form label textarea {
	width: 100%;
	height: 200px;
	/*margin-top: 10px;*/
}
div.contact_form label span {
	display: inline-block;
	width: 80px;
}
div.contact_form label input, div.contact_form label textarea {
	display: inline-block;
	width: calc(100% - 80px);
	padding: 10px;
	border: 1px solid #AAA;
	border-radius: 5px;
}
div.contact_form label input:focus, div.contact_form label textarea:focus {
	outline: 1px solid purple;
} 
div.contact_form input[type=submit], div.contact_form input[type=button] {
	/*background: #770077;*/
	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 {
	text-align: center;
	flex-basis: 47%;
	flex-shrink: 0;
	flex-grow: 0;
	margin: 5px;
	padding: 5px;
	background: white;
	border: 1px solid grey;
	box-shadow: 2px 2px 3px grey;
	cursor: pointer;
}
div.img_card {
	font-size: 14px;
}
div.img_card img {
	display: block;
	max-width: 100%;
	height: auto;
}
div.rand_imgs {
	/*background: #f5dbe3;*/
	border: 1px solid #CCC; 
	border-radius: 16px; 
	padding:10px; 
	margin-bottom: 120px;
}
div.rand_imgs div.img_cards {
	display: flex;
}
div.rand_imgs div.img_cards div.img_card {
	margin: 3px;
	flex-basis: 48%;
	justify-content: space-between;
}
div.rand_imgs div.img_cards div.img_card:last-of-type::after {
	content: " ";
	display: block;
	clear: both;
}
/* 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%;
}
div.modal_content {
	max-width: 98%;
	background: #FFF;
}
div.modal_content img {
	border: 10px solid white;
	box-shadow: 2px 2px 5px;
	max-width: 100%;
	/*max-width: 1024px;*/
	max-height: 100%;
}
div.modal_content_header, div.modal_content_footer, div.modal_content_body div {
	background: #FB007C;
	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;
}

/* IMG VIEWER */
/* HIDDEN ELEMENTS */
.mhide {
	display: none;
}
.dhide {
	display: initial;
}