﻿html {
	box-sizing: border-box;
	font-family: calibri, arial,  verdana;
	font-size:20px;
	width:100%;
	max-width:100%;
	min-width:100%;
	margin:0;
	padding:0;
	overflow-x:hidden;
}

body {
	box-sizing: border-box;
	width:100%;
	max-width:100%;
	min-width:100%;
	margin:0; 
	padding:0;
	overflow-x:hidden;
	background-color: #3B3B3B;
	background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(bg.webp);
	background-repeat: repeat;
	background-attachment: fixed;
	-webkit-touch-callout: none;
	-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;-o-user-select: none;user-select: none;
	color:#eee;
}

h1 {
	position:fixed;
	text-align:center;
	font-family: "andale mono",consolas,calibri, arial, verdana; 
	color: #7E7E7E;
	opacity:0.3;
	filter:alpha(opacity=15);
	text-shadow: -1px -1px 2px rgba(0,0,0,.4),1px 1px 2px rgba(255,255,255,.3);
	font-size:18em;
	margin:0px;
	margin-top:40px;
	padding:0px;
}

h2 {
	color:#ddddeb;
	text-shadow: 0em 0em 1em #000; 
	font-family:"andale mono", consolas, calibri, arial,  verdana;
	font-weight:normal;
	font-size:1.8em;
}

h3 {
	color:#ddddeb;
	text-shadow: 0em 0em 1em #000; 
	font-family:"andale mono", consolas, calibri, arial,  verdana;
	font-weight:normal;
	font-size:1.8em;
}

ul {
	margin-left:0;
	padding-left: 0;
}

em {
	font-style: normal;
	font-weight:700;
	color: rgb(211,193,233);	
}

.quote {
	font-family:Consolas;
	font-size:1.3em;
	font-weight:500;
	color:rgb(213,204,234);
	text-shadow:1px 1px 3px rgb(0,0,0,1)
}	

a {
	color: #fff;
	font-size:1em;
	cursor:pointer;
}

a:hover {
	font-weight: bold;
	font-size:1em;
	cursor:pointer;
}

li {
	color:#eee;
	margin-top:4px;
	list-style-type: none;
	background: url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%09%3Ccircle%20r%3D%224.5%22%20cx%3D%226%22%20cy%3D%226%22%20stroke%3D%22rgb(220%2C220%2C220)%22%20stroke-width%3D%221%22%20fill%3D%22rgb(70%2C70%2C70)%22%3E%3C%2Fcircle%3E%0A%3C%2Fsvg%3E") no-repeat left top;
	background-position: 0px 7px; 
	padding-left:20px;
	font-size:1em;
}

img {
	border-style: solid; 
	border-width:0; 
	border-color: transparent;
}
	
.menu, .menu ul {
	position:fixed; 
	z-index:4;
	width:100%;
	min-width:100%;
	max-width:100%;
	overflow-x:hidden;
	left:0;
	top:0;
	margin:0;
	padding:0;
	list-style:none;
	padding-left:10px;
	background-color:rgba(55,55,55,1);
	/* -moz-box-shadow: 0px 0px 40px rgba(0,0,0,0.35);-webkit-box-shadow: 0px 0px 40px rgba(0,0,0,0.35);box-shadow: -10px 10px 14px rgba(0,0,0,0.35) */
}

.menu li {
	font-family:"andale mono", consolas, calibri, arial,  verdana; 
	font-size:1.2em;
	padding:0.2em;
	float: left;
	color:#aaa;
	text-shadow: none;
	height:40px;
	line-height:32px;
	list-style-type: none;
	background: none;
	cursor:pointer;
}

.menu li:hover  {
	font-weight:normal;
	color:#ffffff;
	cursor:pointer;
}

.menu li.youarehere  {
	color:#ffffff;
	cursor:pointer;
	text-decoration:underline;
	text-decoration-thickness: 2px;
	text-decoration-color: rgba(213,204,234,0.3);
	text-underline-offset: 8px;
}

/*
#menu_portfolio {text-decoration-color: rgba(255,255,0,0.5);}
#menu_info {text-decoration-color: rgba(255,255,0,0.5);}
#menu_expo {text-decoration-color: rgba(255,255,0,0.5);}
#menu_contact {text-decoration-color: rgba(255,255,0,0.5);}
*/

.menu li:before  {
	/* content: " →"; */
	content: " ";
	color:transparent;
	padding-right:20px;
}

.menu li:hover:before  {
	color:#ddddfc;
}

.menu li.youarehere:before  {
	color:#ddddfc;
}

.chapter {
	clear:both;
	float:left;
	width:100%;
	max-width:1200px;
	z-index:1;
	padding-left:64px;
	padding-top:40px;
}

.language {
	font-size: 0.8em;
}

.language>A {
	width:auto;
	padding:4px;
	padding-left:0.5%;
	position:fixed; 
	z-index:5;
	right: 1%; 
	top:0%;
	margin-top:8px;
	COLOR: #CCC
}

.language>A:hover  {
	color:#ffffff;
}

.close {
	transform: scale(0.5);
	color:rgba(255,255,255,0.6);
}	

.subtitle {
	font-size:1.25em;
	color:#dedefd;
	color:#fff;
	text-shadow: 2px 2px 10px #000;
	font-family: "andale mono",consolas,calibri, arial, verdana;
}

.button {
	text-align:center;
	font-size:1.2em;
	border-style:none;
	line-height:2.4em;
	width:8em;
	background-color:rgba(0,0,0,0.2);
	color:#EEE;
	-webkit-border-radius: 6px;-khtml-border-radius: 6px;-moz-border-radius: 6px;border-radius: 6px;
	margin-left:0;
}

.button:hover {
	font-weight: bold;
	color:#FFF;
	border-top-color:#FFF;
	-moz-box-shadow: 10px 10px 20px #444;-webkit-box-shadow: 10px 10px 20px #444;box-shadow: 10px 10px 20px #444;
	-moz-transform:scale(1.1);-webkit-transform:scale(1.1);-o-transform:scale(1.1);-ms-transform:scale(1.1);
	background-color:rgba(0,0,0,0.5);
	text-shadow: 0em 0em 1em #000;
	cursor:pointer;
}

textarea {
	background-color: #EEE;
	border-style:none;
}

label{
	width:40%;
	text-align:left;
	float:left;
	font-family: calibri, arial,  verdana;
}

::-webkit-scrollbar {
	width: 20px;
} 

::-webkit-scrollbar-track {
	-webkit-border-radius: 4px;border-radius: 4px;
}

::-webkit-scrollbar-thumb {
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background: rgba(255,255,255,0.3);
	cursor:pointer;
}

#imageholder {
	z-index:100;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	max-width:100%;
	min-width:100%;
	height:100%;
	max-height:100%;
	min-height:100%;
	padding-top:10px;
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(bg.png);
	background-repeat: repeat;
}

#imagezoom {
	/* object-fit: scale-down;/* do not remove otherwise page does not scale nicely on mobile phone */
	display: block;/* do not remove otherwise page does not scale nicely on mobile phone */
	top:0;
	margin:0;
	margin-left: auto;
	margin-right: auto;
	height:85vh; 
	max-width:100%;
	background-image: url('/Paintings/elsewhere4_by_Alrik_Stelling.jpg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position:center top;
}

#imagetitle {
	left:0;
	color:#ddd;
	text-shadow: 0px 0px 2px #000;
	font-size:0.8em;
	z-index:1;
	padding:5px 5px 8px 0px;
	margin:0;
	height:10vh; 
	width:100%;
	text-align:center;
	clear:both;
	height:auto;
}

#controlnext {
	border:none;
	position:fixed;
	z-index:1000;
	margin:0;
	bottom:0px;
	background-color:rgba(50,50,50,1);
	background-color:rgba(40,40,40,1);
	border-top:1px solid rgb(90,90,90);
	max-height:10vh; 
	width:100%;
	padding-left:35%;
	vertical-align: middle;
}

#chapter_portfolio {
	clear:both;
	margin-top:40px;
}

#mouseanimation {
	width:100%;
	min-width:100%;
	max-width:100%;
	overflow:hidden;
	clear:both;
	float:left;
	margin-top:40px;
}

.prevImage {
	display:inline-block;
	font-size:1.6em;
	float:left;
	clear:none;
	color:#AAA;
	width:10%; /*fails to work on smartphone, total width of navigation controls less than 100% screen width */
	min-width:10%;
	max-width:10%;
	text-align:center;
}

.prevImage:hover {
	color:#ffffff;
	cursor:pointer;
}

.copyright {
	z-index:900;
	font-size: 0.7em; 
	font-family: arial;
	color:rgba(255,255,255,0.7);
	position:fixed;
	bottom:0px;
	right:0px;
	padding:4px;
	padding-right:8px;
	text-align:right;
}

hr {
	height: 2px;
	background-color:rgba(255,255,255,0.2);
	border: 0 none;
	margin-bottom:30px
}

.readmore {
	margin:20px;
	padding:10px;
	padding-right:40px;
	background-color:rgba(0,0,0,0.2);
}

.facebook {
	position: fixed; 
	right:0px; 
	bottom:56px; 
	background-color:rgb(59,89,152);
	color:white;
	padding:10px;
	padding-left:14px;
	padding-right:14px;
	-webkit-transform: rotate(-90deg);-moz-transform: rotate(-90deg);-ms-transform: rotate(-90deg);-o-transform: rotate(-90deg);filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
	-webkit-border-radius: 6px;-khtml-border-radius: 6px;-moz-border-radius: 6px;border: 6px;
	z-index:2
}


.plus{
	color:#eee;
	text-shadow: 0em 0em 1em #000;
	font-size:1em
	cursor:pointer;
}

.plus:before  {
	content: "+ "; 
}

.minus{
	color:#eee;
	text-shadow: 0em 0em 1em #000;
	font-size:1em
}

.minus:before  {
	content: "\2212\00a0"; 
}


.emailaddress{
	color:#fff;
}	

.img500 {
	width:500px;
	max-width:500px;	
	height: auto; /* This preserves the aspect ratio */
}	

#titlemargin {
	height:5px;	
}	


.arrowleft:after {
	display: inline-block;
    content: "";
    width: 0;
    height: 0;
    box-sizing: border-box;
    border: 10px solid transparent;
    border-right: 14px solid #aaa;
}

.arrowright:after {
    display: inline-block;
    content: "";
    width: 0;
    height: 0;
    box-sizing: border-box;
    border: 10px solid transparent;
    border-left: 14px solid #aaa;
}

.arrowleft:hover:after {
	border-right: 14px solid #ddd;
}

.arrowright:hover:after {
	border-left: 14px solid #ddd;
}

#lockScreen{
    margin:0!important;
    position:fixed!important;
	z-index:9999!important;
    left:0!important;
    top:0!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    background-color:rgba(0,0,0,.3)!important;
    height:100%!important;
    min-height:100%!important;
    max-height:100%!important;
}

#alertPopup, #confirmPopup, #inputPopup{
	border-left:1px solid rgba(255,255,255,.2);
    overflow:hidden;
    position:fixed;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
    z-index:10000!important;
    box-sizing:border-box;
    background-color:#8c8c8c;
    color:#fff;
    padding:20px 30px;
    border-radius:10px;
    border:1px solid #bbb;
    box-shadow:15px 25px 15px rgba(30,30,30,.6);
}

#confirmMsg,#inputMsg{
    clear:both;
    text-align:left;
    margin-bottom:10px;
    color:#fff;
    font-size:max(1.4rem,12px);
}

#alertMsg{
    text-align:left;
    margin-bottom:10px;
    color:#fff;
    font-size:max(1.4rem,12px);
}

#alertMsg>p,#confirmMsg>p{
    font-size:max(1.2em,12px);
    background-color:#fafafa;
    padding:10px 10px 10px 30px;
    margin-left:-30px;
    margin-top:-20px;
    margin-bottom:10px;
    width:200%;
    text-decoration:none;
    color:#a1a85b!important;
    font-weight:700;
}

#alertMsg>ul>li::marker{
    color:#bbb!important;
}

.clearline{
    clear:both;
    height:1px;
}

.clearline:after{
    content:" "
}


#tablethumbnail {
	box-sizing: border-box;
	position:relative;
	z-index:2;
	padding:0;
	padding: 40px 64px 0px 64px;
	width: min(1400px, 90%);
	min-width: min(1400px, 90%);
	max-width: min(1400px, 90%);
	margin: 0 auto;
	float:left;
}

.portfolio-series h3 {
	margin: 60px 0 0 0;
	text-align: left;
}

.portfolio-series h3 span {
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(144px, 1fr));
  gap: 15px;
  width: 100%;
  align-content: start;
}

.grid-box {
	aspect-ratio: 1 / 1; /* Forces the box to stay square */
	/* width: 100%; /* Ensures the box fills the grid column */
	min-width:0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin:0.6em;
}

.grid-box img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain; /* Ensures the image fits without distortion */
	background: rgb(0,0,0,0.2);
	cursor:pointer;
	-moz-box-shadow: 6px 6px 10px #333;-webkit-box-shadow: 6px 6px 10px #333;box-shadow: 6px 6px 10px #333;
	animation:thumbnailoutani 0.2s;-webkit-animation:thumbnailoutani 0.2s; /* Safari and Chrome */
}

/* Disable animation/transition while the page starts */
.preventanimation .grid-box img {
  animation-duration: 0s !important;
  transition-duration: 0s !important;
}

.grid-box img:hover {
	background-color:#fff;
	outline:2px solid #fff;
	z-index:10;
	-moz-transform:scale(1.2); -webkit-transform:scale(1.2);-o-transform:scale(1.2);-ms-transform:scale(1.2);
	animation:thumbnailhoverani 0.2s;-webkit-animation:thumbnailhoverani 0.2s; /* Safari and Chrome */
}

details {
	cursor: auto;	
}	

summary {
	cursor:pointer;
}	

summary:hover {
	color:rgb(213,204,234);
	text-shadow:1px 1px 3px rgb(0,0,0,1);
}

@keyframes thumbnailhoverani{
0%   {-moz-transform:scale(1.0); -webkit-transform:scale(1.0);-o-transform:scale(1.0);-ms-transform:scale(1.0)}
100% {-moz-transform:scale(1.2); -webkit-transform:scale(1.2);-o-transform:scale(1.2);-ms-transform:scale(1.2)}
}	

@-webkit-keyframes thumbnailhoverani{
0%   {-moz-transform:scale(1.0); -webkit-transform:scale(1.0);-o-transform:scale(1.0);-ms-transform:scale(1.0)}
100% {-moz-transform:scale(1.2); -webkit-transform:scale(1.2);-o-transform:scale(1.2);-ms-transform:scale(1.2)}
}	

@keyframes thumbnailoutani {
0%   {-moz-transform:scale(1.2); -webkit-transform:scale(1.2);-o-transform:scale(1.2);-ms-transform:scale(1.2)}
100% {-moz-transform:scale(1.0); -webkit-transform:scale(1.0);-o-transform:scale(1.0);-ms-transform:scale(1.0)}
}	

@-webkit-keyframes thumbnailoutani {
0%   {-moz-transform:scale(1.2); -webkit-transform:scale(1.2);-o-transform:scale(1.2);-ms-transform:scale(1.2)}
100% {-moz-transform:scale(1.0); -webkit-transform:scale(1.0);-o-transform:scale(1.0);-ms-transform:scale(1.0)}
}	

@keyframes imagezoomani{
0%   {max-width:0%;}
100% {max-width:100%;}
}

@-webkit-keyframes imagezoomani /* Safari and Chrome */{
0%   {max-width:0%;}
100% {max-width:100%;}
}
	
@media only screen and (max-width: 640px) {

	html, body {
		font-size:1rem;
		overflow-x:visible;
	}
	
	ul {
		padding:0;
		margin:0;
	}
	
	li { 
		padding:0;
		margin:15px 0 0 0;
		background: url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%09%3Ccircle%20r%3D%223.5%22%20cx%3D%226%22%20cy%3D%226%22%20stroke%3D%22rgb(220%2C220%2C220)%22%20stroke-width%3D%221%22%20fill%3D%22rgb(100%2C100%2C100)%22%3E%3C%2Fcircle%3E%0A%3C%2Fsvg%3E") no-repeat left top;
		background-position: 0px 4px;
		padding-left:20px;
	}

	.menu {
		padding-left:0;	
	}	
	
	.menu ul {
		padding:0;
		margin:0;
	}
		
	.menu li {
		margin:5px 10px 0 5px;
		font-size:1rem;
		height:20px;
		line-height:16px;
		padding: 0 0 5px 0;
	}
	
	.menu li:hover  {
		font-size:0.8em;
		height:20px;
		line-height:16px;
		margin-bottom:0;
	}

	.menu li:before  {
		content: "";
		padding-right:7px;
	}

	prevImage {
		font-size:2em;	
	}
	
	.arrowleft:after {
		border: 7px solid transparent;
		border-right: 10px solid #aaa;
	}

	.arrowright:after {
		border: 7px solid transparent;
		border-left: 10px solid #aaa;
	}
	
	.close {
		margin-top:-3px;	
	}	
	
	.chapter {
		padding:0;
		margin:0;
		width:100%!important;
		padding-left:2%!important;
		padding-right:2%!important;
		margin-top:20px;
	}
	
	#imageholder{
		padding-top:0;
	}	

	#imagezoom{
		height:75vh; 
	}
	
	#imagetitle {
		margin:0;
		padding-left:1%;
		font-size:0.7em;
	}

	#tablethumbnail {
		box-sizing: border-box;
		position:relative;
		z-index:2;
		padding: 0px 10px 0px 10px;
		width:100%;
		min-width:100%;
		max-width:100%;
		margin: 0 auto;
	}

	.portfolio-series h3 {
		margin: 40px 0 0 0;
		text-align: left;
	}
	
	.grid-container {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
		gap: 5px;
		width: 100%;
		align-content: start;
	}

	.language, .facebook  {
		display:none;	
	}
	
	.subtitle {
		font-size:1.25em;
	}
	
	#priceinfo {
		font-size:0.85em;
	}
	
	image {
		max-width:99%;
	}	
	
	.img500 {
		width:80%;
		max-width:80%;	
	}	
	
	#closeimage{
		padding-top:8px;
	}	
	
	#controlnext {
		padding-left:5%;
	}

	.prevImage {
		width:30%; /*fails to work on smartphone, total width of navigation controls less than 100% screen width */
		min-width:30%;
		max-width:30%;
	}

	.readmore {
		margin:0;
		margin-top:10px;
		padding:0;
		
	}
	
	.copyright {
		width:100%;
		background-color:rgb(60,60,60);
		padding-bottom:2px;
		font-size: 0.5em; 
	}	
} 