
/**
 * Resets
 */


* {
	-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: #fff;
	color: #000;
}

a:active {
	opacity: 0.7;
}

/**
 * Backdrop
 */

#backdrop {
	position: fixed;
	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;
}

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

.bodycopy {
	display: none;
}

.container {
	min-height: 100%;
}

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

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

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

/**
 * Editor styles
 */

[data-css-presets="true"] main {
	background-color: transparent/*!content_center*/;
	text-align: center /*!text_center*/;
	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: 3rem/*!main_margin*/;
}

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

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

[data-predefined-style="true"] main {
	font-size: 2rem;
	font-weight: 200;
	color: rgba(255, 255, 255, 1);
	font-family: "Nitti Grotesk", Social /*!Persona*/;
	font-style: normal;
	line-height: 1.2;
}

[data-predefined-style="true"] main a {
	color: rgba(255, 255, 255, 1);
    padding-bottom: 0em;
    border-bottom: 0.08em solid rgba(255, 255, 255, 0);
    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: "Work Sans", Social /*!Google*/;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.1;
	color: rgba(255, 255, 255, 1);
	text-rendering: optimizeLegibility;
}

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

[data-predefined-style="true"] h2 {
	font-family: "Work Sans", Social /*!Google*/;
	font-style: normal;
	font-weight: 200;
	padding: 0;
	margin: 0;
	color: rgba(255, 255, 255, 1);
	font-size: 2.4rem;
	line-height: 1.2;
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h2 a {
	color: rgba(255, 255, 255, 1);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1.2rem;
	line-height: 1.3;
	font-family: "Work Sans", Social /*!Google*/;
	font-style: normal;
	font-weight: 200;
	color: rgba(255, 255, 255, 1);
}

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


[data-css-presets="true"] .subpage_overlay {
	background-color: rgba(0, 0, 0, 0.59)/*!subpage_overlay*/;
}
/**
 * Backstage Icon
 */

#backstage_icon {
	display: block;
}

/**
 * Breakpoints
 */

[data-css-presets="true"].mobile #plugin,
[data-css-presets="true"].mobile #backdrop,
.mobile #backdrop,
.mobile #plugin {
	position: relative;
	height: 50vh;
	min-width: 100%;
	width: calc(100% - 80rem) /*!right_fit*/;
	top: 0;
	bottom: auto;
	left: 0 /*!right_fit*/;
}

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

/*------*/

.header{
    position: fixed;
    width: 100%;;
    z-index: 11;
    opacity: 0;
}
.header.appear{
	opacity: 1;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.5s ease-out;
}

.top{
	position: relative;
    margin: 0 auto;
    z-index: 2;
}

.logo{
    position: fixed;
    top: 0;
    left: 0;
    display: block;
	float: left;
    margin: 5px 15px;
    z-index: 11;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}
.logo:hover{
	opacity: 0.6;
}
.logo img{
    vertical-align: top;
    margin: 0;
    padding: 0;
    border: 0;
    display: inline-block;
    width: 100px;
}
.homepage .logo{
    visibility: hidden;
}

.menu-icon{
    position: fixed;
    top:0;
    right: 0;
    float: right;
    margin: 20px 25px;
    cursor: pointer;
    z-index: 11;
    width: 24px;
    height: 21px;
}
.menu-icon span{
    display: block;
    position: absolute;
    width: 24px;
    height: 3px;
    top: 3px;
    left: 0;
    background: #fff;
    margin: 3px 0;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}
.menu-icon span:nth-child(2){
    top: 9px;
}
.menu-icon span:nth-child(3){
    top: 15px;
}

.menu-icon:hover span{
    background: #999;
}

.show-menu .menu-icon span:nth-child(1){
	-webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
        transform: rotate(45deg);
	top: 9px;
}
.show-menu .menu-icon span:nth-child(2){
    opacity: 0;
}
.show-menu .menu-icon span:nth-child(3){
	 -webkit-transform: rotate(-45deg);
     -ms-transform: rotate(-45deg);
         transform: rotate(-45deg);
     top: 9px;
}


.menu{
    position: fixed;
    left: 0;
    top: 0;
	display: flex;
    height: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.9); 
    overflow: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.25s ease-out 0.5s, height 0s ease-out 0.75s;
    -moz-transition: opacity 0.25s ease-out 0.5s, height 0s ease-out 0.75s;
    -o-transition: opacity 0.25s ease-out 0.5s, height 0s ease-out 0.75s;
    transition: opacity 0.25s ease-out 0.5s, height 0s ease-out 0.75s;
}

.show-menu .menu{
	height: 100%;
    opacity: 1;
    -webkit-transition: opacity 0.25s ease-out;
    -moz-transition: opacity 0.25s ease-out;
    -o-transition: opacity 0.25s ease-out;
    transition: opacity 0.25s ease-out;
}

.menu ul{
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu ul li{
	display: block;
    margin: 10px;
}
.menu ul a{
    display: block;
    text-decoration: none;
	color: #fff;
    border-radius: 3px;
	font-family: "Nitti Grotesk", Social /*!Persona*/;
    font-size: 36px;
    padding: 16px 18px;
    text-align: center;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}
.menu ul a:hover,
.menu ul a.selected{
	background: #fff;
    color: #000;
}

.menu li{
    opacity: 0;
 	 -webkit-transform: translateY(30px);
     -ms-transform: translateY(30px);
         transform: translateY(30px);
}
.show-menu .menu li{
    opacity: 1;
    transform: none;
}


.menu li{
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.show-menu .menu li:nth-child(1){
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.5s ease-out 0.25s;
}
.show-menu .menu li:nth-child(2){
    -webkit-transition: all 0.5s ease-out 0.35s;
    -moz-transition: all 0.5s ease-out 0.35s;
    -o-transition: all 0.5s ease-out 0.35s;
    transition: all 0.5s ease-out 0.35s;
}
.show-menu .menu li:nth-child(3){
    -webkit-transition: all 0.5s ease-out 0.45s;
    -moz-transition: all 0.5s ease-out 0.45s;
    -o-transition: all 0.5s ease-out 0.45s;
    transition: all 0.5s ease-out 0.45s;
}
.show-menu .menu li:nth-child(4){
    -webkit-transition: all 0.5s ease-out 0.55s;
    -moz-transition: all 0.5s ease-out 0.55s;
    -o-transition: all 0.5s ease-out 0.55s;
    transition: all 0.5s ease-out 0.55s;
}

.bodycopy{
	padding-top: 70px;
}

/*responsive*/

@media(max-width: 800px), (max-height: 600px){
    .logo img{
        width: 90px;
    }
    .menu ul a{
        font-size: 33px;
        padding: 14px 16px;
    }
    .bodycopy{
        padding-top: 60px;
    }
}

@media(max-width: 650px), (max-height: 500px){
    .logo img{
        width: 80px;
    }
    .menu-icon{
        margin: 15px 22px;
    }
    .menu ul a{
        font-size: 27px;
        padding: 12px 14px;
    }
    .bodycopy{
        padding-top: 55px;
    }
}

@media(max-width: 500px), (max-height: 430px){
    .logo{
		margin: 2px 10px;
	}
    .logo img{
        width: 70px;
    }
    .menu-icon{
        margin: 10px 16px;
    }
    .menu ul a{
        font-size: 24px;
        padding: 10px 12px;
    }
    .bodycopy{
        padding-top: 48px;
    }
}

@media(max-width: 450px), (max-height: 390px){
    .logo{
        margin: 0px 6px;
    }
    .logo img{
        width: 64px;
    }
    .menu-icon{
        margin: 6px 11px;
    }
    .menu ul a{
        font-size: 20px;
        padding: 9px 10px;
    }
    .bodycopy{
        padding-top: 44px;
    }
}
