/**
 * Resets
 */

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

::-moz-selection {
	background-color: #89a5aa;
	color: #fff;
}

::selection {
	background-color: #89A5AA;
	color: #fff;
}


:focus {
	outline: 0;
}

customhtml > * {
	position: relative;
    z-index: 10;
}

/**
 * Global
 */

body,
html {
	min-height: 100vh;
	margin: 0px;
	padding: 0px;
    border-top: 0px solid;
    border-left: 0px solid;
    border-right: 0px solid;
    border-bottom: 0px solid;
    border-color: #FFF;
}

.blink {
	border: 1px solid black;
	animation: blink 1s infinite;
}

@keyframes blink {
	0% {opacity: 0;}
    80% {opacity: 1;}
	100% {opacity: 0;}
}

html {
	position: relative;
}

body {
	background: #FFF;
	color: #fff;
}

h1 a:link {
    border-bottom: 0px solid !important;
}

h1 a:active {
    border-bottom: 0px solid !important;
}

.slideshow-nav {
    display: inline-block;
	color: rgba(0, 0, 0, 0.85);
	font-family: 'IBM Plex Mono', mono, Social /*!Google*/;
	font-style: normal;
	font-weight: 400;
	font-size: 1.3rem;
	line-height: 1.5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

small a:link {
    border-bottom: 0px solid !important;
}

h2 a:link {
    border-bottom: 0px solid !important;
}

a:link {
    border-bottom: 1px solid !important;
    border-color: #777;
}

a:active {
    border-bottom: 1px solid !important;
    border-color: #00f;
}

a:visited {
    border-bottom: 1px dashed !important;
    border-color: #777;
}

a:hover {
    border-bottom: 0px dashed !important;
    border-color: #777;
    color: black;
}


/**
 * Backdrop
 */

#backdrop {
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	max-width: 100%;
	z-index: 1;
}

/** 
 * Addtl styling
 */

#loading {
	-webkit-animation: rotation 30s infinite linear;
    width: 30%;
    opacity: 0.12;
}

@-webkit-keyframes rotation {
	from {
		-webkit-transform: rotate(0deg);
    }
	to {
		-webkit-transform: rotate(359deg);
	}
}

.annotation {
	background-color: rgba(0,0,0,.7);
    color: #FFFFFF;
    box-shadow: 7px 7px #CCCCCC;
    padding: 30px;
    text-align: center;
}
input[type=button] {
	background-color: #89a5aa;
	border: none;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	font-size: 2rem;
    font-family: 'IBM Plex Mono', monospace;
    cursor: pointer !important;
}

/**
 * Container
 */

main {
	background: #fff;
	clear: both;
	overflow: hidden;
	position: absolute;
	max-width: 100%;
	width: 100%;
	z-index: 2;

	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
}

main > div {
	-moz-flex: 1 0 auto;
	-webkit-flex: 1 0 auto;
	flex: 1 0 auto;
	width: 100%;
}


.subpage_overlay {
	display: block;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

body.homepage .subpage_overlay {
	display: none;
}

.no-pad img {
	padding-bottom: 0px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}
/**
 * Content
 */

a#top {
	-webkit-overflow-scrolling: touch;
    overflow-x: scroll;
    scroll-behavior: smooth;
}

img.y {
    opacity: 1;
	position: absolute;
    top: 50px;
    left: 45%;
    align-self: center;
    z-index: -1;
    -webkit-transition: opacity .75s ease-in;
    -moz-transition: opacity .75s ease-in;
    -o-transition: opacity 0.75s ease-in;
    -ms-transition: opacity .75s ease-in;
    transition: opacity .75s ease-in;
    
}

img.z {
        opacity: 1;
    	position: absolute;
        right: 50px;
        top: 50px;
        z-index: -1;
    	-webkit-transition: opacity .75s ease-in;
        -moz-transition: opacity .75s ease-in;
        -o-transition: opacity 0.75s ease-in;
        -ms-transition: opacity .75s ease-in;
        transition: opacity .75s ease-in;
    	border-radius: 300px;
}


@media only screen and (max-device-width: 800px) {
    img.z {
        display: none;
    }
    html {
        min-height: 100vh;
        margin: 0px;
        padding: 0px;
        border-top: 0px solid;
        border-left: 0px solid;
        border-right: 0px solid;
        border-bottom: 0px solid;
        border-color: #FFF;
	}
}

.tooltip {
    display: inline;
    position: relative;
}

.tooltip:hover:after {
    background: #FFF;
    background: black;
    bottom: 26px;
    color: #fff;
    content: attr(data-tip);
    position: absolute;
    left: 10%;
    padding: 15px 15px;
    z-index: 98;
    width: 220px;
    text-align: center;
    font-family: 'IBM Plex Mono', mono, Social;
    font-size: medium;
    font-weight: 400;
}

i, em {
	font-style: italic;
}

b, strong {
	font-weight: bold;
}

ul, ol {
	margin: 0;
	padding: 0 0 0 1em;
}

ul {
	list-style-type: square;
}

sup {
	top: -0.4em;
	vertical-align: baseline;
	position: relative;
}

sub {
	top: 0.3em;
	vertical-align: baseline;
	position: relative;
}

s {
	
}

.slideshow-nav { 
	margin-bottom: 0.5em;     
}

.slick-slide.img {
	cursor: e-resize !important;
}

img {
	border: 0;
	padding: 0;
}

blockquote {
	margin: 0;
	padding: 0 0 0 2em;
}

hr {
	background: rgba(127, 127, 127, 0.2);
	border: 0;
	height: 0.08em;
	display: block;
}

/*
 * Projects
 */

.bodycopy {
	display: none;
}

.container {
	min-height: 100%;
}

.content img {
	float: none;
	margin-top: 1em;
	margin-bottom: 1em;
}

/*
 * Other
 */

 .clear:after {
	content: "";
	display: table;
	clear: both;
}

.loading[data-loading] {
	display: none;
	position: fixed;
	top: 8px; left: 8px;
	z-index: 100;
}

#backstage_icon {
	position: fixed;
    display: none;
}

/**
 * Editor styles
 */

[data-css-presets="true"] main {
	background-color: rgba(255, 255, 255, 0)/*!content_center*/;
	text-align: left /*!text_left*/;
	min-height: 100vh /*!content_stretch*/;
	-webkit-align-items: center /*!vertical_middle*/;
	align-items: center /*!vertical_middle*/;
	left: 0 /*!content_center*/;
	margin-left: auto /*!content_center*/;
	margin-right: auto /*!content_center*/;
	right: 0 /*!content_center*/;
}

[data-css-presets="true"] .content_padded {
	padding: 6rem/*!main_margin*/;
}

[data-css-presets="true"] .content_width {
	width: 70rem/*!content_center*/;
}

[data-css-presets="true"] #backdrop {
	width: 100% /*!background_cover*/;
}

[data-predefined-style="true"] main {
	font-size: 1.8rem;
	font-weight: 400;
	color: rgb(0, 0, 0);
	font-family: "Spectral", Social, serif /*!Persona*/;
	font-style: normal;
	line-height: 1.9;
}

[data-predefined-style="true"] main a {
	color: rgb(38, 38, 38);
    padding-bottom: 0.07em;
    text-decoration: none;
    cursor: pointer;
}

[data-predefined-style="true"] main a:hover {

}


[data-predefined-style="true"] main a:hover {
    color: rgb(0, 0, 0);
	text-rendering: optimizeLegibility;
    background-image: linear-gradient(180deg,transparent 60%,#07c6ec 0);
    -webkit-transition: background-image .4s ease;
    transition-property: background-image;
    transition-duration: .4s;
    transition-timing-function: ease;
    transition-delay: 0s;
    -moz-transition: background-image .4s ease;
    -ms-transition: background-image .4s ease;
    -o-transition: background-image .4s ease;
    transition: background-image .4s ease;
}

main a.image-link,
main a.icon-link,
main a.image-link:hover,
main a.icon-link:hover { 
	border-bottom: 0;
	padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
	font-family: "Spectral", Social, serif /*!Persona*/;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 4rem;
	line-height: 1.3;
	color: rgb(0, 0, 0);
	text-rendering: optimizeLegibility;    
}

[data-predefined-style="true"] h1 a {
        color: rgb(38, 38, 38);
        text-rendering: optimizeLegibility;
        background-image: linear-gradient(180deg,transparent 60%,#a8dce6 0);
    	cursor: pointer;
}


[data-predefined-style="true"] h2 {
	font-family: "Spectral", Social, serif /*!Persona*/;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	color: rgba(0, 0, 0, 0.9);
	font-size: 3rem;
	line-height: 1.4;
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h2 a {
        color: rgb(38, 38, 38);
        text-rendering: optimizeLegibility;
        background-image: linear-gradient(180deg,transparent 60%,#a8dce6 0);
		cursor: pointer;
}

[data-predefined-style="true"] small {
    display: inline-block;
	color: rgba(0, 0, 0, 0.85);
	font-family: "Spectral", Social, serif /*!Persona*/;
	font-style: normal;
	font-weight: 400;
	font-size: 1.3rem;
	line-height: 1.5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

[data-predefined-style="true"] small a {
	color: rgb(38, 38, 38);
	border-bottom-width: 0.07em;
    cursor: pointer;
    -webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px transparent;
	-webkit-transition-duration: .3s;
	transition-duration: .3s;
	-webkit-transition-property: transform;
	transition-property: transform;
}

small a:hover {
	-webkit-transform: translateX(5px);
	transform: translateX(5px);
}

/**
 * Breakpoints
 */

[data-css-presets="true"].mobile #backdrop,
[data-css-presets="true"].mobile #backdrop,
.mobile #backdrop,
.mobile #backdrop {
	position: relative;
	height: 50vh;
	min-width: 100%;
	max-width: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: auto;
}

.mobile main,
[data-css-presets="true"].mobile main {
	position: relative;
	min-height: 10px;
	max-width: 100%;
	width: 100%;
}

.mobile main.content_width,
[data-css-presets="true"].mobile main.content_width {
	max-width: 100%;
	width: 100%;
}

[data-css-presets="true"] .subpage_overlay {
	background-color: transparent/*!subpage_overlay*/;
}

/* Wobble Horizontal */
@-webkit-keyframes wobb {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes wobb {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
.wobb {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.wobb:hover, .wobb:focus, .wobb:active {
  -webkit-animation-name: wobb;
  animation-name: wobb;
  -webkit-animation-duration: .75s;
  animation-duration: .75s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}
