/**
 * Resets
 */

.rotate {
    display: inline-block;
    -webkit-animation: rotate 5s linear infinite;
    animation: rotate 5s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

::-moz-selection {
	background-color: #09f;
	color: #fff;
}

::selection {
	background-color: #09f;
	color: #fff;
}

:focus {
	outline: 0;
}

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

/**
 * Global
 */

body,
html {
	min-height: 100vh;
	margin: 0px;
	padding: 0px;
}

html {
	position: relative;
}

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

a:active {
	opacity: 0.7;
}

/**
 * Backdrop
 */

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

/**
 * 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;
}
/**
 * Content
 */

i, em {
	font-style: italic;
}

b, strong {
	font-weight: bold;
}

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

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; 
}

img {
	border: 0;
	padding: 0px;
}

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;
}

/**
 * Editor styles
 */

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

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

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

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

[data-predefined-style="true"] main {
	font-size: 2.8rem;
	font-weight: 200;
	color: rgba(0, 0, 0, 0.9);
	font-family: 'Nitti Grotesk', Social /*!Persona*/;
	font-style: normal;
	line-height: 1.4;
}

[data-predefined-style="true"] main a {
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.25);
	color: rgba(255, 253, 255, 0.9);
    padding-bottom: 0.07em;
    text-decoration: none;
}

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

}

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: 'Nocturno Display', Social /*!Persona*/;
	font-style: normal;
	font-weight: 700;
	padding: 0;
	margin: 0;
	font-size: 8.6rem;
	line-height: 1;
	color: rgb(255, 255, 255);
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h1 a {
	color: rgb(255, 255, 255);
}

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

[data-predefined-style="true"] h2 a {
    border-bottom: 0.07rem solid rgba(255, 255, 255, 0.5);
	color: rgba(255, 255, 255, 0.9);
    padding-bottom: 0.2rem;
}

[data-predefined-style="true"] small {
    display: inline-block;
	color: rgba(0, 0, 0, 0.85);
	font-family: Nitti, Social /*!Persona*/;
	font-style: normal;
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 1.5;
}

[data-predefined-style="true"] small a {
	color: rgba(255, 255, 255, 0.85);
	border-bottom-width: 0.07em;
}

/**
 * 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*/;
}

