/**
 * Resets
 */


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


::-moz-selection {
	background-color: #e326db;
	color: #fff;
}

::selection {
	background-color: #e326db;
	color: #fff;
}


:focus {
	outline: 0;
}

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

/**
 * Global
 */

body,
html {
    background: rgb(241, 241, 241);
	min-height: 100vh;
	margin: 0px;
	padding: 0px;
}

html {
	position: relative;
    height: 100%;
}

body {
    color: #000;
	height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


.row {
	width: 100%;
    padding: 6% 19%;
    padding-bottom: 3em;
}

.mobile row {
    padding: 2% 10%;
}

.column {
	max-width: 1000px;
    margin: auto;
}


.block-white{
	background-color: #FFF;
    height: 100vh;
}

.block-grey1{
	background-color: #f8f8f8;
}

.block-grey2{
	background-color: rgb(241, 241, 241);
}

.block-grey3{
	background-color: rgb(241, 241, 241);
}

.block-grey3{
	background-color: rgb(241, 241, 241);
}




a:active {
	opacity: 0.7;
}

button {
    padding: 1.1rem 2.0rem;
    background-color: #FFF;
    border: none;
    font-size: 1em;
    color: #1F083D;
    margin-top: 1.5rem;
    border-radius: 5px;
    transition: all ease 250ms;
}

button:hover {
	background-color: rgb(242, 201, 67);
    transition: all ease-out 100ms;
    cursor: pointer;
    transform: scale(1.04);
}

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

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


/** Project Tiles **/

.project-tile {
    width: 100%;
    height: 210px;
    text-align: center;
    border-radius: 6px;
    opacity: .85;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    transition: all .15s ease-out;
    position: relative;
    top: 0;
    border-bottom: none;
}

.project-tile:hover {
	cursor: pointer;
    opacity: 1;
    position: relative;
    top: -3px;
    box-shadow: 0px 3px 25px rgba(0, 0, 0, 0.25);
	transition: all .15s ease-out;
}

.marmoset {
	background-color: #43C59C;
}

.picnic {
	background-color: #EF547B;
}

.project-tile-name {
	font-weight: bold;
    font-size: 2.1rem;
    padding-top: 75px;
}
.project-tile-desc {
	
}


/**
 * Editor styles
 */

[data-css-presets="true"] main {
	background-color: transparent/*!content_center*/;
	text-align: left /*!text_left*/;
	min-height: 100vh /*!content_stretch*/;
	-webkit-align-items: flex-start /*!vertical_top*/;
	align-items: flex-start /*!vertical_top*/;
	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: 0rem/*!main_margin*/;
}

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

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

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

[data-predefined-style="true"] main a {
	color: rgb(41, 41, 41);
    padding-bottom: 0em;
    border-bottom: 0.08em solid rgba(228, 124, 255, 0.5);
    text-decoration: none;
}

[data-predefined-style="true"] main a:hover {
	border-color: rgba(228, 124, 255, 1);
}

main a.project,
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: Marat, Social /*!Persona*/;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 7rem;
	line-height: 1;
	color: rgb(41, 41, 41);
	text-rendering: optimizeLegibility;
}

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

[data-predefined-style="true"] h2 {
	font-family: "MVB Solitaire", Social/*!Persona*/;
	font-style: normal;
	font-weight: 700;
	padding: 0;
	margin: 0;
	color: rgb(41, 41, 41);
	font-size: 2.8rem;
	line-height: 1.3;
	text-rendering: optimizeLegibility;
}

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

[data-predefined-style="true"] small {
    display: inline-block;
	font-size: 1.2rem;
	line-height: 1.9;
	font-family: "MVB Solitaire", Social/*!Persona*/;
	font-style: normal;
	font-weight: 400;
	color: rgb(41, 41, 41);
}

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


[data-css-presets="true"] .subpage_overlay {
	background-color: rgba(0, 0, 0, 0)/*!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);
	top: 0;
	bottom: auto;
	left: 0 ;
}
**/

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

.mobile .row,
[data-css-presets="true"].mobile .row {
	padding: 10% 6%;
}




/* New projects Grid */


.projectBlock {
	display: flex;
    flex-wrap: wrap;
}

.project {
  flex: 1;
  background-color: rgba(53, 25, 99, 0.51);
  color: #fff;
  height: 20vh;
  /*height: 210px;*/
  width: 100%;
  min-width: 48%;
  border-radius: 6px;
  text-align: center;
  opacity: .85;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  transition: all .15s ease-out;
  position: relative;
  top: 0;
  margin-right: 10px;
  margin-bottom: 10px;
  display: inline-block;
  cursor: default;
}

.projectBlock {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  grid-row-gap: 10px;
}


.active:hover {
	cursor: pointer;
    opacity: 1;
    position: relative;
    top: -3px;
    box-shadow: 0px 3px 25px rgba(0, 0, 0, 0.25);
	transition: all .15s ease-out;
    border-bottom: 0;
}


.project p.projectTitle {
  font-size: 1.2em; 
  font-weight: bold;
  padding-top: 6.2vh;
  /*padding-top: 72px;*/
  margin: 0;
}

@media screen and (max-width: 700px) {
  .projectBlock{
    grid-template-columns: 1fr}
  .project {
	opacity: 1;
	}
}

.project.marmoset {
  background-color: #43C59C;
}

.project.picnic {
  background-color: #EF547B;
}

.project.brick {
  background-color: rgba(0,0,0,.7);
}

.project.nearlybird {
  background-color: rgb(53, 195, 209);
}

.project.emailmylist {
  background-color: #1C72E6;
  /*background-color: #4adef2;*/
}

.project.relay {
  background-color: #FFBC3B;
}

.project.agency {
  background-color: #000000;
}

@media only screen and (max-width: 768px) {
    .pastclients {
    }

    .pastclients img {
        max-width: 90%;
    }
    .client {
    	width: 90px;
	}
}

.client {
	display: inline-block;
    margin-right: 20px;
    -webkit-transition:all 0.5s ease-in;
    transition:all 0.5s ease-in;
    vertical-align: middle;
}

/*
.pastclients a:link {
    border-bottom: none;
    opacity: 0.6;
    transition: all 0.5s ease-out;
}

.pastclients a:hover {
    opacity: 1;
    cursor: pointer;
    transition: all .25s ease-out;
}
*/

/* fade ALL out on parent hover */


.pastclients:hover > div{
  opacity:0.2;
    
   -webkit-transition:all 0.3s;
   transition:all 0.3s;
}

/* fade ONE in on hover */
.pastclients > div:hover{
   opacity:1;
    
   -webkit-transition:all 0.3s;
   transition:all 0.3s;
}
