/* Social media stuff for bio */

@-webkit-keyframes myfade {
  from {opacity: 1;}
  to {opacity: .2;}
}

@keyframes myfade {
  from {opacity: 1;}
  to {opacity: .2;}
}

@-webkit-keyframes myfadein {
  from {opacity: .2;}
  to {opacity: 1;}
}

@keyframes myfadein {
  from {opacity: .2;}
  to {opacity: 1;}
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: -1px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: white;
  border-radius: 5px;
  border: solid #ccc;
  border-width: 1px;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  color: red;
  content: "";
  position: absolute;
  display: none;
}
span.label-text {
	display: inline-block;
    height: 20px;
    line-height: 20px;
    vertical-align: text-top;
}
/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}
/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #666;
  border-width: 0 3px 3px 0;
  border-radius: 0px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


/* Links */
a {
	text-decoration: none !important;
}
div label{
  font-size:calc(14px + .3vw);
}

.caption {
  font-size: max(1.5vmax, 30px);
  /*font-size:calc(15px + .5vh);*/
  margin-left: 1.5vw;
  margin-right: 1.5vw;
}

/* Headers */


h1, h2, h3, h4 {
  text-align:center;
  margin-top: 0;
  margin-bottom: 2rem;  
}

h1.header {
	margin: 0 0 0.75rem 0;
	font-size: 3.25rem;
	white-space: nowrap;
	overflow: hidden;
}

h2.header {
	margin: 0 0 0.5rem 0;
	font-size: 1.5rem;
}

h1:not(.header) {
	margin: 3rem 0;
	font-size: 1.75rem;
}

h2:not(.header) {
	margin: 2.25rem 0 3rem 0;
	font-size: 2rem;
}

h3 {
	margin: 1.5rem 0 3rem 0;
	font-size: 1.25rem;
}

h4 {
	margin: 0.25rem 0;
	font-size: 1rem;
}

body {
  margin-top:0;
  margin-bottom:0;
}

/* Fades */

.fade_in1{animation:opac .5s}

@keyframes opac{from{opacity:0} to{opacity:1}}

.fade_in2{animation:opac .75s}

@keyframes opac{0% {opacity:0} 20% {opacity:0} 100% {opacity:1}}


.fade_in3{animation:opac 1s}

@keyframes opac{0% {opacity:0} 33% {opacity:0} 100% {opacity:1}}


div.container {
	margin: 1rem 0;
	max-width: 300px;
	position: relative;
	display: inline-block;
	vertical-align: middle;
}
.overlay {
	pointer-events: none;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
}

.nfs_fade:hover .text {
  opacity: 1;
}

.text {
	opacity: 0;
	font-weight: bold;
	font-size: 1.5rem;
	line-height: 1.75rem;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	transition: 250ms ease-in;
	width: 100%;
	padding: 0 15%;
	box-sizing: border-box;  
}
.hover_scale_sold {
  opacity: .15;
}
.thumbnail {
  height: auto;
  opacity: 1;
  transition: all .5s ease-in-out;
}
.thumbnail:hover {
  opacity: .5;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
img.slideshow {
    padding: 0px;
    height: 65vh;
    min-height: 250px;
    width: auto;
}

div.sticky {
  class: "fade_in2";
  position: -webkit-sticky;
  position: sticky;
  bottom: 3vh;
  font-size: 20px;
}

.side_padded {
  padding-left:6vw;
  padding-right:6vw;
  padding-bottom:3vw;
}


br.section_heading {
    line-height: 5vh;
}

h1, h2 {
	text-transform: uppercase;
}
header em {
	text-decoration: underline;
	font-style: normal;
}
form em {
	font-style: normal;
	opacity: 0.8;
	font-size: 1rem;
	line-height: 1.25rem;
}
#stage canvas {
	position: absolute;
	transform: translateX(-50%);
	max-width: 100%;
}
#stage a {
	position: absolute;
	transform: translateX(-50%);
	width:100%;
}
#stage a:nth-of-type(1) {
	animation-name: fader;
	animation-delay: 3s;
	animation-duration: 3s;
	z-index: 20;
}
#stage a:nth-of-type(2) {
	z-index: 10;
}
#stage a:nth-of-type(n+3) {
	display: none;
}
@keyframes fader {
	from { opacity: 1.0; }
	to   { opacity: 0.0; }
}
#bio form {
    text-align: center;
    padding: 1.5rem 0 0 0;
    display: inline-block;
    margin: auto;
}
#bio fieldset h3 {
    word-break: break-all;
}
.input-group {
    width: auto;
    display: inline-flex;
}
input.email {
    font-family: "Open Sans","Helvetica Neue",Arial,Helvetica,Verdana,sans-serif;
    border: 1px solid #aaa;
    border-radius: 0.25rem;
    color: #343434;
    background-color: #fff;
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    vertical-align: top;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.25;
    width: calc(50vw);
    max-width: 300px;
    
}
.input-group button, form button {
	display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.25;
    border-radius: 0.25rem;
    transition: all .15s ease-in-out;
    cursor: pointer;
}
.input-group button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
form .g-recaptcha {
    display: inline-block;
}
section.bio-text a {
    display: block;
}
.bio-text {
	font-size:calc(14px + .3vw);
	display: inline-block;
    min-width: 200px;
    font-size: 1rem;
    line-height: 2rem;
    text-align: justify;
}
.bio-text > * {
	margin: 0 0 3rem 0 !important;
}
.bio-text h1, .bio-text h2, .bio-text h3, .bio-text h4, .bio-text h5 {
    line-height: 1.25;
}
#bio {
	text-align: center;
    display: block;
    margin: 0px;
    max-width: 800px;
    margin: auto;
    font-size: 1rem;
    line-height: 2rem;
    font-weight: bold;    
    padding: 3rem;
}
img.bio-pic {
	min-width: 200px;
    width: 40%;
    margin: 0 auto 3rem auto !important;
    display: block;
}
.social-footer {
	font-size:3vh;
	margin: 1rem 0 4rem 0;
	text-align: center;
	white-space: nowrap;
}
.social-footer a {
    padding: 2rem;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    color: rgb(136, 136, 136);
}

br.col-4, br.col-3, br.col-2 {
	display: none;	
}
header {
	padding: 2rem 0;
}
footer {
	position: fixed; 
	left:2rem;
	font-size:24px; 
	bottom:2rem;
	font-size: 1rem;
	font-weight: bold;
}
footer label {
    line-height: 18px;
    position: relative;
    display: inline-block;
    height: 18px;
}
.home-page h1.header {
	font-size: 5rem;
}
.home-page h2 {
	margin: 0;
	font-size: 1.5rem;
}


.d-block {
	display: block;
}
.img-cover img {
    object-fit: cover !important;
}
.img-contain img, .img-cover img {
    width: 100%;
    height: 100%;
}
img {
    max-width: 100%;
}

.nfs_fade {
	transition: opacity ease-in-out 100ms;
}
.fade-not-available .nfs_fade:not(.available) {
	opacity: 0.3;	
	
}
.fade-not-available .nfs_fade:not(.available) a {
	cursor: not-allowed;
}
.lb-details {
    font-family: sans-serif;
}
.lb-data .lb-caption {
	padding: 2px 0 2px 0;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.1rem;
    color: #bbb;
}
.lb-data .lb-number {
    padding: 2px 0 2px 0;
}
.lb-dataContainer {
    position: relative;
}
.lb-data .lb-close {
    position: absolute;
    right: 10px;
    bottom: 15px;
}

body.loading img {
	opacity: 0;
}
body.loading .thumbnail {
	min-width: 250px;
}
body img {
	transition: opacity ease-in 600ms, width ease-in-out 1500ms;	
	transition-delay: 150ms;
	opacity: 1;
}
.thumbnail {
	transition: min-width ease-in-out 1500ms, width ease-in-out 1500ms, opacity ease-in 200ms;	
	text-align:center;
	display: block;
	min-width: 150px;
	background: #eee;
}
.side_padded section {
    margin-bottom: 3.5rem;
}
a {
	transition: color ease-in 100ms;
}
h2.header > em, h2.header a {
    padding: 0 6px;
    white-space: nowrap;
    line-height: 1.5;
}

#dim_checkbox {
	margin: 1px 15px 0 1px;
    height: 18px;
    vertical-align: middle;
    width: 18px;
}
section.contact-links {
    margin-bottom: 3rem;
    text-align: center;
    font-size: 1.25rem;
}
section.contact-links > a, section.contact-links > div {
	padding: 2rem;
}
section.contact-links > div > a {
	padding: 0 1.5rem;
}
span.dot {
	color: #aaa;
}
h1 i {
    font-size: 1.5rem;
}
fieldset {
    border: none;
    background: #eee;
    padding: 1rem !important;
    display: block;
    text-align: center;
    width: 304px;
}
.gallery-closed {
    height: calc(100vh - 300px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.gallery-closed span {
	padding: 100px;
	background: white;
	border-radius: 50%;
	font-weight: bold;
	font-size: 2rem;
}
.gallery-closed-preview {
    text-align: center;
    width: 100vw;
    z-index: 1231;
    background: dodgerblue;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 3px;
    height: 18px;
    line-height: 15px;
    font-size: 15px;
    opacity: 0.75;
    letter-spacing: 4px;
	position: fixed;
    left: 0;
    bottom: 0;
}


@media (min-width: 1400px) {
	#bio {
		padding: 2rem 4rem;
	}
	#bio img.bio-pic {
		float: right;
		margin: 0.5rem 0 1rem 3rem !important;
	}
	.contact-links > a, .contact-links > div {
		display: inline-block;
		width: auto;
		text-align: center;
	}
	br.col-4 {
		display:inline;		
	}
	#stage {
		margin: 3rem;
	}	
	div.container {
		margin: 1rem;
	}
	footer span.label-text {
	    text-shadow: 2px 2px 2px #fff;
	}
}
@media (min-width: 800px) and (max-width: 1399px) {
	br.col-3 {
		display:inline;		
	}
	#stage {
		margin: 2.5rem;
	}
	header {
		padding: 2rem 0;
	}
	.home-page h1.header {
		font-size: 3rem;
	}
	div.container {
		margin: 1rem;
	}	
	footer span.label-text {
	    text-shadow: 2px 2px 2px #fff;
	}
}
@media (max-width: 799px) {
	section  > .container {
		display:block;
		width: 100%;
	}
	header {
		position: sticky;
		top:0;
    	z-index: 100;		
    	padding: 0.5rem 0;
	}
	h1.header {
		margin: 0.5rem 0 0.25rem 0;
	}
	footer {
	    position: sticky;
	    bottom: 0;
	    width: 100%;
	    text-align: center;
	    padding: 0.5rem 0;
	}
	#stage {
	    height: calc(100vh - 200px);
	    position: relative;
	    max-width: 500px;
	    margin: auto;
    }
	#stage a {
		height: 100%;
		display: block;
		width: 100%;
		transform:none;
	}
	#stage a img {
		height: auto;	
		  position: absolute;
		  top: 50%;
		  left:0;
		  -ms-transform: translateY(-50%);
		  transform: translateY(-50%);
		  width: 100%;
		  max-height: calc(100vh - 300px);
		  object-fit: contain;
	}
	h1.header, .home-page h1.header {
		font-size: 2rem;
		line-height: 1.25;
	}
	h2.header, .home-page h2.header {
		margin: 0;
		font-size: 1rem;
	
		
	}
	#bio {
		padding: 3rem 1.5rem;
	}
	#bio span.dot {
		display: none;
	}
	section.contact-links > a, section.contact-links > div {
		display: block;
		text-align: center;
		padding: 1rem;
	}
	input.email {
		max-width: calc(100% - 100px);
	}
	
}