html, body, .wrap { 
	min-height: 100%;
}

body, .wrap {
	height: auto; 
	min-height: 100%;
	background: #FFFFFF; /* For browsers that do not support gradients */
	background: -webkit-linear-gradient(#d6f8ff, #FFFFFF); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#d6f8ff, #FFFFFF); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#d6f8ff, #FFFFFF); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#d6f8ff, #FFFFFF); /* Standard syntax (must be last) */
	background-repeat: no-repeat;
	background-position: right top;
	background-attachment: fixed;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #919191;
}



@media screen and (min-width: 400px) {
	body {font-size: 50%;}	
}

@media screen and (min-width: 500px) {
	body {font-size: 60%;}	
}

@media screen and (min-width: 800px) {
	body {font-size: 80%;}	
}

@media screen and (min-width: 1280px) {
	body {font-size: 100%;}	
}

@media screen and (min-width: 1600px) {
	body {font-size: 110%;}	
}

@media screen and (min-width: 1920px) {
	body {font-size: 120%;}	
}

@media screen and (min-width: 2200px) {
	body {font-size: 130%;}	
}

@media screen and (min-width: 2500px) {
	body {font-size: 140%;}	
}





/* ----------------------- LINKS ----------------------- */

a:link , a:visited {
	font-variant: small-caps;
	text-decoration: none;
	color: #ff5a00;
	font-size: 1em;
}

a:hover {
	text-decoration: none;
	color: #737373;
}

a.homelink:link, a.homelink:visited {
	font-size: 3.15em;
	color: #737373;
	text-decoration: none;
}

a.homelink:hover {
	color: #ff5a00;
	text-decoration: none;
}


/* ----------------------- END LINKS ----------------------- */






/* ----------------------- TEXT ----------------------- */

h1 {  /* Top bar: page title */
	font-variant: small-caps;
	text-decoration: none;
	font-weight: normal;
	font-size: 1.25em;
	padding: 1.25% 0% 0% 0%;
	margin: 0%;
}


h2 {  /* Large post title */
	font-variant: small-caps;
	text-decoration: none;
	font-weight: normal;
	font-size: 2em;
	padding: 0% 0% 1% 0%;
	margin: 0%;
}


h3 {  /* signature */
	font-variant: small-caps;
	text-decoration: none;
	text-align: right;
	font-weight: normal;
	font-size: 0.8em;
	padding: 0% 2.5% 0% 2.5%;
	margin: 0%;
}


h4 {  /* Medium post title */
	font-variant: small-caps;
	text-decoration: none;
	font-weight: normal;
	font-size: 1.5em;
	padding: 0% 0% 1% 0%;
	margin: 0%;
}


p.one span {  /* small comment */
	font-style: italic;
	font-size: 0.8em;

}


h6 {  /* copyright */
	font-variant: small-caps;
	text-decoration: none;
	text-align: center;
	font-weight: normal;
	font-size: 0.7em;
	padding: 0%;
	margin: 6% 0% 1.5% 0%;
}

p.one {
	text-decoration: none;
	font-weight: normal;
	font-size: 1em;
	padding: 0% 1% 0% 1%;
	margin: 0%;
}










/* ----------------------- END TEXT ----------------------- */







/* ----------------------- LAYOUT CONTAINERS ----------------------- */



.topcontainer {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	border: solid #E8E8E8;
	border-width: 1px;
	width: 100%;
	height: auto;
	background: #ffffff;
	margin: 0.2% 0% 1.9% 0%;	
}


.linnertopcontainer {
	text-align: left;
	border: 0px;
	width: 50%;
	height: auto;
	margin: 0%;
	padding: 1% 1% 0.7% 1%;	
}


.rinnertopcontainer {
	text-align: right;
	border: 0px;
	width: 50%;
	height: auto;
	margin: 0%;
	padding: 1% 1% 0.7% 1%;	
}


lside {
	position: fixed;
	top:0%;
	left: 2%;
	text-align: center;
	border-radius: 0px 0px 300px 300px;
	border: double #E8E8E8;
	border-width: 0px 5px 5px 5px;
	width: 10%;
	height: 80%;
	background: #fafafa;
	padding: 0.5%;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

main {
	position: absolute;
	top: 0%;
	left: 0%;
	border: double #E8E8E8;
	border-width: 0px 5px 0px 5px;
	background: #fafafa;
	width: 67.5%;
	height: auto;
	min-height: 100%;
	padding: 0.5%;
	margin: 0% 15% 0% 15.5%;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


rside {
	position: fixed;
	top: 0%;
	left: 86.5%;
	text-align: center;
	border-radius: 0px 0px 300px 300px;
	border: double #E8E8E8;
	border-width: 0px 5px 5px 5px;
	width: 10%;
	height: 10%;
	background-color: #fafafa;
	padding: 0.5%;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* ----------------------- END LAYOUT CONTAINERS ----------------------- */







/* ------------------------- NAVIGATION ---------------------------- */


ul.nav {
	list-style-type: none;
	text-align: left;
	margin: 0%;
	padding: 0%;
	width: auto;
	background-color: #fafafa;
}


ul.nav li a {
	display: block;
	padding: 3%;
	text-decoration: none;
	color: #737373;
	border-bottom: solid 2px #a3a3a3;
	border-left: solid 1px #e8e8e8;
	border-right: solid 1px #e8e8e8;
	border-top: solid 1px #e8e8e8;
}


ul.nav li a:hover, ul.nav li a:active {
	color: #ff5a00;
	background-color: #ffffff;
	border-bottom: solid 2px #ff5a00;
	border-left: solid 1px #e8e8e8;
	border-right: solid 1px #e8e8e8;
	border-top: solid 1px #e8e8e8;
}


ul.sub {
	height: 0em;
	overflow: hidden;
	display: block;
	list-style-type: none;
	text-align: left;
	align: center;
	margin: 0%;
	padding: 0%;
	width: auto;
	background-color: #F1F1F1;
	-webkit-transition: all 0.7s ease;
	-moz-transition: all 0.7s ease;
	-ms-transition: all 0.7s ease;
	-o-transition: all 0.7s ease;
	transition: all 0.7s ease;
}


ul.sub li a {
	display: block;
	padding: 3% 3% 3% 16%;
	text-decoration: none;
	color: #737373;
}


ul.sub#subbjd:target { 
    height: 3.95em; 
}

ul.sub#subcreate:target { 
    height: 7.9em; 
}








/* ------------------------- END NAVIGATION ---------------------------- */









/* ----------------------- E-MAIL LIGHTBOX----------------------- */



.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	visibility: hidden;
	opacity: 0;
	z-index: 1000;
}

.overlay:target {
	visibility: visible;
	opacity: 1;
	z-index: 1000;
}

.popup {
	margin: 2% 35%;
	padding: 0.5%;
	background: #ffffff;
	border: 1px solid #e8e8e8;
	width: 30%;
	height: auto;
	position: relative; 
}

.popup .close {	
	position: absolute;
	top: 0%;
	right: 0%;
	margin: 2% 2% 0% 0%;
	padding: 0% 1% 1% 1%;
	border: 1px solid #e8e8e8;
	color: #737373;
	background-color: #ffffff;
	font-size: 1.8em;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	line-height: 0.8;
}

.popup .close:hover {
	color: #ff5a00;
}

.content {
	height: auto;
	width: 100%;
	padding: 6.25% 0%;
	box-sizing: border-box;
}






/* ----------------------- END E-MAIL LIGHTBOX----------------------- */






/* ----------------------- E-MAIL FORM----------------------- */






input, textarea {
	width: 97.5%;
	padding: 1%;
	font-size: 1em;
	font-weight: normal;
}


input[type=submit] {
	width: 100%;
	padding: 1%;
}


fieldset {
	height: 100%;
	padding: 2%;
}



/* ----------------------- END E-MAIL FORM----------------------- */







/* ----------------------- DRAWING LIGHTBOX----------------------- */



.drawlight {
	/** Default lightbox to hidden */
	display: none;

	/** Position and style */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
}

.drawlight img {
	/** Pad the lightbox image */
	max-width: 97%;
	max-height: 97%;
	margin-top: 0.7%;
}

.drawlight:target {
	/** Remove default browser outline */
	outline: none;

	/** Unhide lightbox **/
	display: block;
}



/* ----------------------- DRAWING LIGHTBOX----------------------- */









/* ----------------------- GALLERY ----------------------- */



.gallerycontainer {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	width: 100%;
	height: auto;
	-webkit-justify-content: center;
	justify-content: center;
	margin: 2% 0% 0% 0%;
}

.galleryitem {
	width: 15%;
	margin: 0.5%;
}



p.imgdate {
	position: absolute;
	width: 14.75%;
	height: auto;
	background: #ee3800;
	color: #ffffff;
	padding: 0.25% 0%;
	margin: 11.8% 0% 0% 0%;
	visibility: hidden;
	font-variant: small-caps;
	text-decoration: none;
	text-align: center;
	font-weight: normal;	
	opacity: 1;
}


.galleryitem:hover p.imgdate {
	visibility: visible;
	opacity: 0.7;
}




ul.pagination {
	display: inline-block;
	padding: 1.65% 0% 1.65% 0%;
	margin: 2% 2.5% 0% 2.5%;
	width: 95%;
	height: 100%;
	text-align: center;
	background-color: #ffffff;
	border: 1px solid #e8e8e8;
}

ul.pagination li {
	display: inline;
}


ul.pagination li a {
	padding: 0.6% 1%;
	transition: background-color .3s;
	border: 1px solid #e8e8e8;
	margin: 0%;
	color: #737373;
	background-color: #ffffff;
	font-variant: small-caps;
	text-decoration: none;
	text-align: center;
	font-weight: normal;
}

ul.pagination li a.active {
	background-color: #d7d7d7;
	color: #737373;
	border: 1px solid #b5b5b5;
}

ul.pagination li a:hover:not(.active) {
	border-bottom: solid 3px #ff5a00;
	border-left: solid 1px #e8e8e8;
	border-right: solid 1px #e8e8e8;
	border-top: solid 1px #e8e8e8;
	background-color: #ffffff;
	color: #ff5a00;
}





/* ----------------------- END GALLERY ----------------------- */








/* ----------------------- IMAGES ----------------------- */


img.drawthumb {
	width: 100%;
	height: auto;
	padding: 0%;
	margin: 0%;
}


img.drawthumb:hover {
	height: auto;

}


img.social {
	width: 6%;
	height: auto;
	border: 1px solid #E8E8E8;
	padding: 0%;
	margin: 0%;
}


img.logo {
	background-color: #ffffff;
	width: 100%;
	height: auto;
	border: 0px solid #E8E8E8;
	padding: 0%;
	margin: 1% 0% 5% 0%;

}

img.home {
	width: auto;
	height: 95%;
	border: 0px solid #E8E8E8;
	padding: 0%;

}


img.logohome {
	height: 95%;
	width: auto;
}




/* ----------------------- END IMAGES ----------------------- */





