/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
   

@font-face {
    font-family: 'hultogregular';
    src: url('/fonts/hultog-webfont.eot');
    src: url('/fonts/hultog-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/hultog-webfont.woff2') format('woff2'),
         url('/fonts/hultog-webfont.woff') format('woff'),
         url('/fonts/hultog-webfont.ttf') format('truetype'),
         url('/fonts/hultog-webfont.svg#hultogregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
   



/* main site */

body{
	background-color: #3c302b;	
	padding-top: 500px;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	color:#362626;	
}

img{
	max-width: 100%;
}

h1, h2, h3, h4, h5{
	font-family: 'hultogregular', serif;
	color:#ee5513;
	margin-top: 0;
	margin-bottom: 0.4em;
}

h1{
	font-size: 48px;
}

h2{
	font-size: 38px;
	color: #7a4f2a;
}

h3{
	font-size: 28px;
}

.align-right{
	text-align:right;
}

.align-center{
	text-align:center;
}

.nowrap{
		white-space: nowrap;
}

.shadow-light{
	-webkit-box-shadow: 0px -10px 5px 0px rgba(197,158,120,0.25);
	-moz-box-shadow: 0px -10px 5px 0px rgba(197,158,120,0.25);
	box-shadow: 0px -10px 5px 0px rgba(197,158,120,0.25);
}

.shadow-light-50{
	-webkit-box-shadow: 0px -5px 10px 0px rgba(197,158,120,0.5);
	-moz-box-shadow: 0px -5px 10px 0px rgba(197,158,120,0.5);
	box-shadow: 0px -5px 10px 0px rgba(197,158,120,0.5);
}

.shadow-dark{
	-webkit-box-shadow: 0px -10px 5px 0px rgba(27,19,8,0.55);
	-moz-box-shadow: 0px -10px 5px 0px rgba(27,19,8,0.55);
	box-shadow: 0px -10px 5px 0px rgba(27,19,8,0.55);
}

.shadow-medium{
	-webkit-box-shadow: 0px -10px 5px 0px rgba(27,19,8,0.25);
	-moz-box-shadow: 0px -10px 5px 0px rgba(27,19,8,0.25);
	box-shadow: 0px -10px 5px 0px rgba(27,19,8,0.25);
}

/* header */

header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#91d0cf+0,afe4d4+100 */
	background: #91d0cf; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzkxZDBjZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhZmU0ZDQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #91d0cf 0%, #afe4d4 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#91d0cf), color-stop(100%,#afe4d4)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #91d0cf 0%,#afe4d4 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #91d0cf 0%,#afe4d4 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #91d0cf 0%,#afe4d4 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #91d0cf 0%,#afe4d4 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#91d0cf', endColorstr='#afe4d4',GradientType=0 ); /* IE6-8 */	
}

header .inner{
	background-image: url(../img/header/background-structures.png);
	background-repeat: repeat-x;
	background-position:  20% bottom;
	/*background-attachment: fixed;*/
}

.container{
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 30px;
}

header .container{
	height: 500px;
}

header .logo{
	position: absolute;
	width: 50%;
	max-width: 600px;
	top: 30px;
	right: 60px;	
}

header .leonardo-scungelli{
	position:absolute;
	max-width: 50%;
	max-height: 500px;
	bottom: 0;
	left: 50px;
}

header .social{
	position: absolute;
	bottom: 15px ;
	right: 15px;
	max-width: 160px;
}

header .social img{
	display: inline-block;
	margin-left: 10px;
}

/* two cols */

.two-col-1{
	float:left;
	width: 50%;
	padding: 0 30px 0 0;
}

.two-col-2{
	float:right;
	width: 50%;	
	padding: 0 0 0 30px;
}

/* main content area */

section, footer{
	z-index: 100;
	position: relative;
}

.video-and-signup{
	background-image: url(../img/top-border.png);
	background-position: top;
	background-repeat: repeat-x;
	background-color: #eddba7;
	padding: 80px 0 60px 0;
}

.video-and-signup .large-text{
	margin: 60px auto 0 auto;
	font-size: 40px;
	padding: 60px 0 ;
	border-top: 5px dotted #c89540;
}

.video-and-signup  h1 span{
	white-space: nowrap;
}

.video-and-signup .large-text p{
	max-width: 30em;	
	text-align: center;
	margin: 0;	
}

.video-and-signup .two-col-1{
	width: 60%;
}


.video-and-signup .two-col-2{
	width: 40%;
}



/* image background section for screenshots */

.image-bg{
	-webkit-box-shadow: inset 0px 10px 5px 0px rgba(27,19,8,0.55);
	-moz-box-shadow: inset 0px 10px 5px 0px rgba(27,19,8,0.55);
	box-shadow: inset 0px 10px 5px 0px rgba(27,19,8,0.55);
	background-color: #271406;
	background-image: url(../img/screenshot-large.jpg);
	background-attachment: fixed;
	background-size: cover;
	min-height: 300px;
	/*padding: 60px 0;*/
}

/* text area */

.text-area{
	padding: 60px 0;	
	background-color: #f9f5e9;	
}

.bg-paper{
	background-color: #efdea3;
	background-image: url(../img/paper-bg.jpg);
}

.storytoys{
	background-color: #efdea3;
	background-image: url(../img/paper-bg-2.jpg);	
}

.intro-text .two-col-2{
	padding-top: 30px;
}

/*
.text-area p, .text-area h1, .text-area ul{
	max-width: 30em;
	margin: 0 auto;
}*/

.text-area h1{
	margin-bottom: 30px;
	text-align: center;	
}

.text-area p{
	font-size: 30px;
	color:#7a4f2a;	
	font-family: 'hultogregular', serif;
	margin-bottom: 30px;
}

.text-area p span{
		color:#ee5513;
}

.screenshot-list{
	margin: 0;
	padding: 30px 0;
	list-style: none;
}

.screenshot-list li{
	float:left;
	width: 50%;
	padding: 15px;
}

.screenshot-list li a{
	border: 1px solid #f8b630;
	display:block;
	-webkit-box-shadow: 5px 5px 5px 0px rgba(40,31,30,0.5);
	-moz-box-shadow: 5px 5px 5px 0px rgba(40,31,30,0.5);
	box-shadow: 5px 5px 5px 0px rgba(40,31,30,0.5);	
}

.bg-paper ul{
	font-family: 'hultogregular', serif;
	font-size: 25px;
	color:#7a4f2a;	
	margin: 0;		
}

.bg-paper ul li{
	margin-bottom: 5px;
}

.bg-paper ul li em{
	font-weight: normal;
	font-style: normal;
	color:#ee5513;
}

.bg-paper .two-col-2{
	padding-top: 60px;
}

/* video holder */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* picture frame */

.pictureframe{
	 -webkit-box-shadow:
            0px 0px 0px 2px rgba(197,158,120,0.5),
                0px 0px 0px 14px #fff,
                0px 0px 0px 18px rgba(197,158,120,0.2),
                6px 6px 8px 17px rgba(197,158,120,0.5);
   
     -moz-box-shadow:
            0px 0px 0px 2px rgba(197,158,120,0.5),
                0px 0px 0px 14px #fff,
                0px 0px 0px 18px rgba(197,158,120,0.2),
                6px 6px 8px 17px rgba(197,158,120,0.5);
   
          box-shadow:
            0px 0px 0px 2px rgba(197,158,120,0.5),
                0px 0px 0px 14px #fff,
                0px 0px 0px 18px rgba(197,158,120,0.2),
                6px 6px 8px 17px rgba(197,158,120,0.5);
}

.rotate-1{
  -webkit-transform: rotate(2deg); 
      -ms-transform: rotate(2deg); 
          transform: rotate(2deg); 
}

/* storytoys logo */

.st-logo:after,
.st-logo:before{
	content: '';
	display:inline-block;
	width: 25%;
	height: 13px;
	background-image: url(../img/line-sm.png);
	background-repeat: no-repeat;
	background-position: center;
}

/* footer */

footer{
	background-color: #40312d;
	background-image: url(../img/footer.png);
	background-repeat: repeat-x;
	background-position: top;
	padding: 60px 0;
}

footer ul{
	margin: 0;
	list-style: none;
	padding: 0;
}

footer ul li{
	width: 25%;
	display:inline-block;
	color:#ee5513;
	text-align:center;
	vertical-align: top;
}

footer a{
	color:#ee5513;
}

/* signup form */

#mc_embed_signup label{
	display:block;
}

#mc_embed_signup input{
	padding: 15px;
	color: #662c05;
}

#mc_embed_signup input[type="email"]{
	width: 100%;
	margin: 10px 0;
	border-top: 3px solid #cca46e ;
	border-bottom: 3px solid #ffffff  ;
	border-left: 3px solid #cca46e ;
	border-right: 3px solid #ffffff ;
	background-color: #fafbe1 ;
	border-radius: 3px;
}

#mc_embed_signup input[type="submit"]{
	background-color: #ffaf20;
	border-radius: 10px;
	border-top: 3px solid #ffffff ;
	border-bottom: 3px solid #cca46e ;
	border-left: 3px solid #ffffff ;
	border-right: 3px solid #cca46e ;	
}

.response,
#mc_embed_signup div.mce_inline_error{
	padding: 15px !important;
	border-radius: 10px !important;
	background-color: #ee5513 !important;
	color: #ffffff !important;
	margin: 15px 0 !important;
}

#mc_embed_signup div.mce_inline_error{
	background-color: #fe2501 !important;
}

#mc_embed_signup input.mce_inline_error {
    border-color: #fe2501 !important;
}

button:focus, input:focus {outline:0;}

::-webkit-input-placeholder {
     color: #b48f64;
}

::-moz-placeholder {
     color: #b48f64;
}

::-ms-placeholder {
     color: #b48f64;
}

::placeholder {
     color: #b48f64;
}

/* magnific popup css animations */

/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

/*  -- */


/* modal plugin */
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #130c06;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; }
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }
  
  
  /* mfp preloader */
  
.mfp-preloader {
  width: 30px;
  height: 30px;
  background-color: #FFF;
  opacity: 0.65;
  margin: 0 auto;
  -webkit-animation: rotateplane 1.2s infinite ease-in-out;
  animation: rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes rotateplane {
  0% { -webkit-transform: perspective(120px) }
  50% { -webkit-transform: perspective(120px) rotateY(180deg) }
  100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}

@keyframes rotateplane {
  0% { transform: perspective(120px) rotateX(0deg) rotateY(0deg) }
  50% { transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) }
  100% { transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg) }
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 1024px) {
	h1{
		font-size: 38px;
	}
	h2{
		font-size: 28px;
	}
	h3{
		font-size: 20px;
	}
	body{
		padding-top: 400px;
	}
	header .container{
		height: 400px;
	}	
	header .inner {
    	background-position: 550px bottom;
	}	
	header .leonardo-scungelli {
    	left: 10px;
	}	
	header .logo {
    	top: 15px;
	}	
	.text-area p{
		font-size: 20px;
	}	
	.actions .two-col-2{
		padding-top: 30px;
	}
	.actions .two-col-1{
		text-align:right;
	}
	.bg-paper ul {
    	font-size: 20px;
	}
	.bg-paper .two-col-2 {
    	padding-top: 15px;
	}	
	footer ul{
		font-size: 16px;
	}	
}

@media only screen and (max-width: 768px) {
	header .inner {
    	background-position: 320px bottom;
	}	
	header .logo {
    	width: 60%;
	}	
	.video-and-signup .two-col-1,
	.video-and-signup .two-col-2,
	.two-col-1,
	.two-col-2{
		float:none;
		width: 100%;
		padding: 0;
	}
	.video-and-signup .two-col-2{
		text-align: center;
		margin-bottom: 30px;
	}
	#mc_embed_signup input[type="email"]{
		width: 100%;
	}
	#mc_embed_signup input[type="submit"]	{
		width: auto;
	}
	.image-bg{
		background-image: none;
		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#5e3306+0,271406+100 */
		background: #5e3306; /* Old browsers */
		/* IE9 SVG, needs conditional override of 'filter' to 'none' */
		background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzVlMzMwNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyNzE0MDYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
		background: -moz-linear-gradient(top,  #5e3306 0%, #271406 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5e3306), color-stop(100%,#271406)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #5e3306 0%,#271406 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #5e3306 0%,#271406 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #5e3306 0%,#271406 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #5e3306 0%,#271406 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5e3306', endColorstr='#271406',GradientType=0 ); /* IE6-8 */
	}
	.actions .two-col-1{
		text-align:center;
	}	
	.rotate-1 {
    	-webkit-transform: rotate(1deg);
    	-ms-transform: rotate(1deg);
    	transform: rotate(1deg);
    	margin: 20px 0;
	}	
	footer ul li{
		width: 33.333333%;
	}	
	footer ul li.footer-logo{
		width: 100%;
		margin-top: 30px;
	}
}

@media only screen and (max-width: 640px) {
	header .inner{
			background-position: 250px 50px;
	}	
	header .container {
    	height: 300px;
	}
	body{
		padding-top: 300px;
	}	
	header .logo {
    	top: 30px;
    	right: 30px;
	}
	header .social img{
		width: 40px;
	}		
	h1{
		font-size: 30px;
	}
	h2{
		font-size: 20px;
	}	
	footer ul li {
    	width: 100%;
    	display: block;
    	margin-bottom: 15px;
	}	
}

@media only screen and (max-width: 480px) {
	.video-and-signup{
		padding: 40px 0 30px 0;
	}
	header .container {
    	height: 220px;
	}
	body{
		padding-top: 220px;
	}	
	header .inner{
		background-position: 50px 20px;
	}	
	header .logo{
		width: 70%;
		top: 20px;
		right: 20px;	
	}

	header .leonardo-scungelli{
		max-width: 55%;
		max-height: 500px;
		bottom: -15px;
		left: 0px;
	}	
	
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
