/* Base */
body {
	background-color: white;
	color: black;
	margin: 0;
	padding: 0;
	font-family: 'Quicksand', sans-serif;
	background-color: #DDBC5A;
	overflow-y: scroll;
}
h1 {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: normal;
}
h2 {
	margin: 40px 0 20px;
	padding: 0;
	font-size: 30px;
	font-weight: 100;
	text-transform: uppercase;
}
h3 {
	padding: 15px 0 5px 0;
	margin: 0;
	font-size: 21px;
	font-weight: 500;
}
a {
	color: #43A360;
	font-size: 18px;
	text-decoration: none;
}
a.external:before {
	content: "\f08e";
	font-family: FontAwesome;
	margin-right: 5px;
	font-size: 15px;
}
a:hover {
	text-decoration: underline;
}
p {
    line-height: 19px;
    font-size: 16px;
}
p::first-letter { 
    font-size: 270%;
    font-weight: 500;
    color: #43A360;
    line-height: 19px;
}
.history p:nth-of-type(n+2):first-letter, .privacy p::first-letter
{
	font-size: 100%;
	font-weight: inherit;
	color: inherit;
	line-height: inherit;
}
br {
	line-height: 150%;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Page */
#page {
	margin: 29px 40px 0;
}
#header {
	height: 117px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
#header, #content  {
	background-color: white;
	margin: 0 20px;
}
#header a.header img {
	margin: 23px 23px 0 23px;
	display: inline-block;
}
#header a.header {
	text-decoration: none;
	color: black;
}
#header a.header span {
	white-space: nowrap;
}
#lang_select {
	clear: both;
	float: right;
	margin: 0 20px;
}
#lang_select a {
	display: inline-block;
}
#lang_select a, #lang_select a img {
	width: 25px;
	height: 25px;
}

#menu_toggle {
	display: none;
}

.menu-back {
	width: 100%;
	height: 80px;
	background-color: black;
	position: static;
	margin-bottom: 0px;
}
#menu {
	margin: 0 40px;
	margin-top: -80px;
	position: absolute;
	height: 80px;
	padding: 0;
	list-style-type: none;
	clear: both;
	display: inline-block;
	background-color: black;
	border-left: 1px solid white;
}
#menu li {
	float: left;
	border-right: 1px solid white;
}
#menu li a {
	text-decoration: none;
	background-color: black;
	color: white;
	display: inline-block;
	padding: 0px 20px;
	height: 80px;
	line-height: 80px;
	
	-moz-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
#menu li:hover a {
	background-color: #43A360;
	display: inline-block;
	color: black;
	
	-moz-transition: all 0.3s ease-out;
	-webkit-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
#menu li.selected a {
	background-color: #43A360;
	display: inline-block;
	color: black;
	height: 96px;
	line-height: 96px;
	margin-top: -8px;
}
#menu li a .menu-cell i {
	display: none;
}
#menu li {
	display: none;
}
#menu .main-menu {
	display: inherit;
}

#content {
	clear: both;
	padding: 20px 80px;
    font-size: 16px;
}
#content img {
	max-width: 100%;
}
.expo-container img {
	width: 100%;
}
.paintings-list {
	width: 100%;
	text-align: center;
	margin: 50px 0 0 0;
	padding: 0;
}
.paintings-list li {
	display: inline-block;
	overflow: hidden;
	width: 200px;
	height: 200px;
	margin: 10px;
	vertical-align: top;
}
.paintings-list .preview {
	width: 100%;
	height: 100%;
}
.paintings-list li .overlay {
	display: table;
	width: 100%;
	height: 60px;
	
	margin-top: 0px;
	
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	
	background: rgba(0, 0, 0, 0.5);
	position: relative;
	-webkit-backdrop-filter: blur(5px);
}
.paintings-list li .overlay span {
	display: table-cell;
	vertical-align: middle;
	height: 100%;
	padding: 0 5px;
	color: white;
	font-size: 125%;
	text-transform: uppercase;
	line-height: 90%;
}
.paintings-list li:hover .overlay {
	margin-top: -64px;
	
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.paintings-list li a {
	text-decoration: none;
}

.big-picture {
	display: table;
	width: 100%;
}
.shop-link {
	margin-top: 25px;
	text-align: right;
}
.shop-link a {
	text-align: left;
}
.paging {
	text-align: center;
	margin: 20px 0;
}
.paging span {
	line-height: 35px;
	vertical-align: 3px;
	display: inline-block;
	padding: 5px;
}
.paging > span {
	font-weight: bold;
}
.col {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
.col.picture {
	white-space: nowrap;
}
.big-picture div.previous, .big-picture div.next {
	width: 35px;
	min-width: 50px;
	text-align: center;
}
.big-picture div.previous {
	padding-right: 10px;
}
.big-picture div.next {
	padding-left: 10px;
}
.big-picture a.previous, .big-picture a.next, .big-picture a.overview, .paging a.next, .paging a.previous {
	border: 3px solid black;
	display: block;
	width: 35px;
	height: 35px;
	border-radius: 25px;
	font-size: 25px;
	color: black;
	margin: auto;
}
.paging a.next, .paging a.previous {
	display: inline-block;
}
.big-picture a.previous i, .paging a.previous i {
	margin-top: 6px;
	margin-right: 3px;
}
.big-picture a.next i, .paging a.next i {
	margin-top: 6px;
	margin-left: 3px;
}
.big-picture a.previous.disabled, .big-picture a.next.disabled, .paging a.next.disabled, .paging a.previous.disabled {
	border: 3px solid #ccc;
	color: #ccc;
	cursor: default;
}
.big-picture .picture img {
	max-width: 100%;
	border-radius: 10px;
	vertical-align: bottom;
}
.big-picture .overview {
	display: none;
}
.picture-container {
	display: inline-block;
    text-align: right;	
}
.photographed-by {
	font-size: 75%;
	color: gray;
	margin-right: 3px;
}

.artist-metadata {
	margin: 10px auto;
	text-align: center;
	font-size: 125%;
	font-style: italic;
	margin-top: 25px;
}
artist-metadata .born, .artist-metadata .died {
	display: inline-block;
}

.written-by {
	white-space: nowrap;
	font-size: 75%;
	color: gray;
	text-align: right;
}

/* Page - Press */
ul.press li > span {
	display: block;
}
ul.press li {
	margin: 20px 0;
}

/* Page - Shop */
.shop .preview, .shop .info {
	display: table-cell;
	vertical-align: top;
	padding: 10px;
}
.shop .button {
	display: block;
	margin-top: 30px;
	margin-left: 0;
}
.shop-item {
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
}
.shop img {
	min-width: 150px;
	width: 200px;
}

/* Page - Contact */
.postal-address {
	text-align: center;
	font-size: 17px;
	margin: 40px 0;
}
.postal-address .name {
	font-weight: bold;
}
.postal-address .name, .postal-address .address {
	display: inline-block;
	vertical-align: top;
	text-align: left;
}
.postal-address .address {
	margin-left: 25px;
}

/* Page - Info */
.info img {
	width: 60%;
	margin: 0 auto;
}

/* Page - Footer */
#footer {
	background-color: white;
	margin: 0 20px 20px 20px;
	text-align: center;
	padding: 60px 60px 50px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
#footer .links {
	margin-top: 15px;
	border-top: 1px solid #c1c1c1;
	padding-top: 8px;
}
#footer .links ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#footer .links ul li {
	display: inline-block;
	white-space: nowrap;
}
#footer .links ul li:before {
	content: "-";
	margin: 0 6px;
}
#footer .links ul li:first-child:before {
	content: "";
	margin: 0;
}
#footer .links ul li a {
	font-size: 14px;
	color: black;
}

/* Tools */
form {
	width: 100%;
}
textarea, input {
	background-color: #dfdfdf;
	border: 0;
	padding: 10px;
	border: 2px solid #dfdfdf;
	outline: none;
	color: #303030;
    font-size: 16px;
    margin: 0 0 10px;
    font-weight: normal;
    box-sizing: border-box;
    display: inline-block;
    -webkit-appearance:none;
    border-radius: 2px;
}
textarea:active, input:active, textarea:focus, input:focus {
	background-color: #303030;
	border: 2px solid #43A360;
	outline: none;
	color: #fff;
}
textarea.error, input.error {
	background-color: #303030;
	border: 2px solid #D3432B;
	outline: none;
	color: #D3432B;
}
textarea {
	width: 100%;
	max-width: 100%;
	min-height: 200px;
}
input {
	width: 49%;
}
input.left {
	float: left;
}
input.right {
	float: right;
}
.help-icon {
	font-size: 20px;
	color: black;
	cursor: help;
}
.help-text {
	color: #D3432B;
}
form a.button {
	display: inline-block;
	margin-left: 0;
}
form #captcha_image {
	display: inline-block;
	vertical-align: top;
	margin-left: 10px;
}
form .info {
	display: block;
	padding-top: 10px;
}
form .info.success {
	color: #43A360;
	font-weight: bold;
}
form .info.error {
	color: #D3432B;
	font-weight: bold;
}
a.button {
	width: 157px;
	height: 45px;
	display: inline-block;
	background-color: #43A360;
	border: 0;
	border-radius: 2px;
	margin: 5px;
	text-transform: uppercase;
	color: white;
	font-size: 12px;
	text-decoration: none;
	border-top: 2px solid #43A360;
	border-left: 1px solid #43A360;
	border-right: 1px solid #43A360;
	cursor: default;
}
a.button:active {
	border-top: 2px solid #2b683d;
	border-left: 1px solid #2b683d;
	border-right: 1px solid #2b683d;
}
a.button i {
	font-size: 23px;
	line-height: 12px;
	margin: 16px 25px 0 20px;
}

.fa-bars, .fa-times {
	-moz-transition: all 1s ease;
	-webkit-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;	
}
.rotate {		
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
}
.rotate-out {		
	transform: rotate(-180deg);
	-webkit-transform: rotate(-180deg);
}

/* Third party */
.clean-white {
	border-radius: 2px; 
	border: 0;
	background: white;
	color: black;
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.15);
}
.clean-white .tooltipster-content {
	font-size: 16px;
	line-height: 16px;
	padding: 10px;
}

.fb-like {
	vertical-align: top;
	z-index: 0;
}


@media (min-width: 1280px) {
	#page {
		margin: 29px auto 0;
		max-width: 1200px;
	}
	#content {
		padding: 20px 80px;
	}
	.paintings-list li {
		margin: 10px;
	}
}
@media (max-width: 872px) {
	#header a.header span {
		margin-left: 23px;
		display: block;
		position: absolute;
	}
}
@media (max-width: 719px) {
	#page {
		margin: 0;
		padding-bottom: 0;
	}
	#header, #content  {
		margin: 0;
		border-radius: 0;
	}
	#header {
		width: 100%;
		height: auto;
	}
	#header a.header {
		display: table-cell;
		padding: 7px 0 7px 7px;
		width: 100%;
		vertical-align: top;
		text-align: right;
	}
	#header a.header img {
		margin: 0;
	}
	#header a.header span {
		margin-left: 0px;
		width: auto;
		display: inline-block;
		position: relative;
	}
	#header .row:first-child {
		display: table-row;
	}
	#menu_toggle {
		border: 3px solid black;
		border-radius: 100px;
		width: 42px;
		min-width: 42px;
		min-height: 42px;
		text-align: center;
		float: right;
		margin: 5px;
		display: table-cell;
		display: block;
		vertical-align: top;
	}
	#menu_toggle i {
		margin-top: 7px;
		font-size: 27px;
		display: block;
	}
	#lang_select {
		text-align: center;
		float: none;
		display: none;
	}
	#lang_select a, #lang_select a img {
		width: 42px;
		height: 42px;
	}
	#lang_select a {
		margin: 20px 0;
	}
	.menu-back {
		display: none;
	}
	#menu {
		display: none;
		position: relative;
		background-color: white;
		margin: 0;
		padding: 0;
		padding-top: 1px;
		height: auto;
	}
	#menu li {
		padding: 0;
		margin: 0;
		float: none;
	}
	#menu li a, #menu li:hover a, #menu li.selected a {
		width: 100%;
		height: auto;
		padding: 13px 0;
		font-size: 18px;
		margin-bottom: 1px;
		background-color: black;
		color: white;
		display: table;
		text-decoration: none;
		line-height: 10px;
	}
	#menu li:last-child a {
		margin-bottom: 0;
	}
	#menu li.selected a {
		display: table;
		height: auto;
		line-height: 0;
		margin-top: 0;
	}
	#menu li a .menu-cell {
		display: table-cell;
		text-align: center;
		vertical-align: middle;
	}
	#menu li a .menu-cell span {
		float: left;
		display: inline-block;
		margin: 0 10px;
		vertical-align: middle;
	}
	#menu li a .menu-cell i {
		float: right;
		display: inline-block;
		width: 25px;
		height: 25px;
		padding: 5px;
		font-size: 25px;
		vertical-align: middle;
	}
	#menu li {
		display: inherit;
	}
	
	#content {
		padding: 10px 10px;
	}
	#content > h2:first-child, #content > ul:first-child {
		margin-top: 0;
	}
	
	.big-picture {
		display: block;
		width: 100%;
	}
	.col {
		display: block;
	}
	.big-picture div.previous, .big-picture div.next, .big-picture div.overview {
		position: fixed;
		bottom: 0;
		display: inline-block;
		background-color: #eaeaea;
		z-index: 1;
	}
	.big-picture a.previous, .big-picture a.next {
		display: inline-block;
		text-align: center;
	}
	.big-picture a.overview i {
		margin-top: 6px;
		margin-left: 0px;
	}
	.big-picture div.previous {
		width: 33%;
		left: 0%;
		padding: 10px 0 10px 10px;
		text-align: left;
	}
	.big-picture div.overview {
		width: 34%;
		display: inline-block;
		left: 33%;
		text-align: center;
		padding: 10px 0;
	}
	.big-picture div.next {
		width: 33%;
		right: 0%;
		padding: 10px 10px 10px 0;
		text-align: right;
	}
	
	.paintings-list li {
		margin: 7px;
		width: 125px;
		height: 125px;
	}
	.paintings-list li .overlay {
		margin-top: -47px;
		height: 42px;
	}
	.paintings-list li .overlay span {
		padding: 0 3px;
		font-size: 80%;
	}
	
	.shop .preview, .shop .info {
		display: inline-block;
	}

	
	/* Form */	
	input {
		width: 100%;
	}
	input.left {
		float: none;
	}
	input.right {
		float: none;
	}
	#captcha {
		width: 100px;
		vertical-align: top;
	}
	#captcha_image {
		vertical-align: top;
	}
	
	.help-icon {
		font-size: 30px;
	}
	
	/* Footer */
	#footer {
		margin: 0;		
		border-radius: 0;
	}
	#footer .links {
		display: none;
	}

	img {
		max-width: 100%;
	}
}
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
	.paintings-list li .overlay {
		margin-top: -64px;
	}
}