/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
    font-family:'Open Sans',sans-serif;
}

body {
    font-size: 1em;
    line-height: 1.4;
	background:#F0F0F0;
}

a {
    color: #00e;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #06e;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

#company_logo {
	text-align:center;
	background:#3d9dc3;
}

#company_video {
	width:100%;
	min-height:356px;
	margin-bottom:2em;
}
#container {
	width:640px;
	margin:0 auto;
	background:#fff;
	padding:16px 40px 40px;
	margin-top:20px;
	margin-bottom:40px;
	-webkit-border-radius: 6px;
    border-radius: 6px;
    overflow:hidden;
}
.apple-width #container {

}
#container h1, #container h2 {
	text-align:center;
}

#container h1 {
	font-weight:600;
	font-size:39px;
	margin-bottom:15px;
	line-height:42px;
	letter-spacing:-2px;
	color:#111;
}
#container h2 {
	font-weight:400;
	font-size:21px;
	color:#9C9C9C;
	margin-top:0px;
	line-height:22px;
	margin-bottom:2em;
}
#tugboat_intro_video {
	height:350px;
	width:600px;
	background:#ccc;
	margin:20px auto;
	display:inline-block;
}

.email-description {
	font-size:.8em;
	color:#C7C7C7;
}


#opener_text p, #opener_text blockquote {
	width:600px;
	margin:0 auto 1.35em;
	text-align:left;
	color:#595959;
}
#opener_text blockquote {
	text-align:center;
	font-weight:900;
}
#opener_text img {
	float:left;
	padding-right:1em;
	margin-top:5px;
}

#signup {
	margin-bottom:2em;
}

button {
display: inline-block;
padding: 4px 70px;
margin-bottom: 0;
font-size: 18px;
font-weight:600;
line-height: 27px;
color: #333;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
vertical-align: middle;
cursor: pointer;
background-color: whiteSmoke;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#E6E6E6));
background-image: -webkit-linear-gradient(top, white, #E6E6E6);
background-image: -o-linear-gradient(top, white, #E6E6E6);
background-image: linear-gradient(to bottom, white, #E6E6E6);
background-image: -moz-linear-gradient(top, white, #E6E6E6);
background-repeat: repeat-x;
border: 1px solid #BBB;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
border-bottom-color: #A2A2A2;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
color: white;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #5BB75B;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62C462), to(#51A351));
background-image: -webkit-linear-gradient(top, #62C462, #51A351);
background-image: -o-linear-gradient(top, #62C462, #51A351);
background-image: linear-gradient(to bottom, #62C462, #51A351);
background-image: -moz-linear-gradient(top, #62C462, #51A351);
background-repeat: repeat-x;
border-color: #51A351 #51A351 #387038;
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
button:hover {
background: #72a960; /* Old browsers */
background: -moz-linear-gradient(top,  #72a960 0%, #6fa05b 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#72a960), color-stop(100%,#6fa05b)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #72a960 0%,#6fa05b 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #72a960 0%,#6fa05b 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #72a960 0%,#6fa05b 100%); /* IE10+ */
background: linear-gradient(to bottom,  #72a960 0%,#6fa05b 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#72a960', endColorstr='#6fa05b',GradientType=0 ); /* IE6-9 */

}
button:active {
background: #72a960; /* Old browsers */
background: -moz-linear-gradient(top,  #72a960 0%, #6a9957 36%, #6a9957 65%, #72a960 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#72a960), color-stop(36%,#6a9957), color-stop(65%,#6a9957), color-stop(100%,#72a960)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #72a960 0%,#6a9957 36%,#6a9957 65%,#72a960 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #72a960 0%,#6a9957 36%,#6a9957 65%,#72a960 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #72a960 0%,#6a9957 36%,#6a9957 65%,#72a960 100%); /* IE10+ */
background: linear-gradient(to bottom,  #72a960 0%,#6a9957 36%,#6a9957 65%,#72a960 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#72a960', endColorstr='#72a960',GradientType=0 ); /* IE6-9 */

}

input[type=text], textarea {
display: inline-block;
height: 28px;
padding: 4px 6px;
margin-bottom: 9px;
font-size: 18px;
line-height: 20px;
color: #ccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
vertical-align: middle;
width:422px;
margin-top:8px;
background-color: white;
border: 1px solid #CCC;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
}
input[type=text].active, textarea.active {
	color:#444;
}
input[type=text].invalid, textarea.invalid {
	color:#aaa;
	background-color:#f8c0ca;
	border: 1px solid #ff0937;
}
input[type=text].valid, textarea.valid {
	background-color:#cbffdb;
	border:1px solid #3dca68;
}


button span {
width: 12px;
height: 12px;
display: inline-block;
margin-left: 3px;
background: url('/img/arrow.png') 0 2px no-repeat;
}





#thank_you {

}

#thank_you h2.thanks {
	font-weight:600;
	font-size:39px;
	margin-bottom:15px;
	line-height:42px;
	letter-spacing:-2px;
	color:#111;
}
#thanks_message {
	padding:1em 0;
	color:#494949;
	text-align:center;
}
#thanks_message b {
	color:#111;
}


#twitter {
	background:url('../img/twitter_bg.png') no-repeat;
	width:301px;
	height:119px;
	position:relative;
	float:left;
	text-shadow: 0px 1px 0px #666666;
    filter: dropshadow(color=#666666, offx=0, offy=1);
	color:#fff;
	font-weight:700;	
}
#twitter span.follow_top {
	position:absolute;
	top:20px;
	left:29px;
}

#twitter_follow, #facebook_like {
	position:absolute;
	top:56px;
	left:29px;
	height:28px;
	background:#fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow:  0px 1px 3px 0px rgba(0, 0, 0, .3);
    box-shadow:  0px 1px 3px 0px rgba(0, 0, 0, .3);
}
#twitter_follow div {
	position:relative;
	top:4px;
	left:5px;
}
#facebook_like {
	min-width:100px;
}
#facebook_like div {
	position:absolute;
	top:1px;
	left:2px;
}



#facebook {
	background:url('../img/facebook_bg.png') no-repeat;
	width:301px;
	height:119px;
	position:relative;
	float: right;
	text-shadow: 0px 1px 0px #666666;
    filter: dropshadow(color=#666666, offx=0, offy=1);
	color:#fff;
	font-weight:700;
}
#facebook_likes {
	position:absolute;
	top:58px;
	left:46px;
}
#facebook span.like_top {
	position:absolute;
	top:20px;
	left:29px;
}


/* Footer */
#behind {
	width:300px;
	margin:0 auto;
	text-align:center;
	margin-bottom:2em;
	color:#bbb;
}
#behind a {
	color:#bbb;
}





/* DESIGNER SIGNUP PAGE */
#designer_signup ul {

	padding:0;
	margin:0 auto;
	list-style:none;
}
#designer_signup input[type=text] {
	width:386px;
}
#designer_signup li:nth-child(4){ 
	text-align:right;
	padding-right:80px;
}
#message {
	text-align:left;
}

#designer_signup label {
	width:150px;
	text-align:right;
	padding-right:10px;
	display:inline-block;
}


/* WRITER SIGNUP PAGE */
#writer_signup ul {
	padding:0;
	margin:0 auto;
	list-style:none;
}
#writer_signup input[type=text], #writer_signup textarea {
	width:386px;
}
#writer_signup textarea {
	height:300px;
}
#writer_signup label.textarea {
	vertical-align: top;
	padding-top: 12px;
}
#writer_signup li:nth-child(4){ 
	text-align:right;
	padding-right:80px;
}
#message {
	margin-top:2em;
	text-align:left;
}
#writer_signup label {
	width:150px;
	text-align:right;
	padding-right:10px;
	display:inline-block;
}
#message label {
	text-align:left;
	display:block;
	width:500px;
	padding-left:30px;
}

.submit-btn {
	text-align:right;
	padding-right:80px;
}



/*
 * Checkup page
 */
 #container.checkup {
 	width:976px;
 }
.checkup ul {
	list-style:none;
	padding:0;
	margin:0;
}
.checkup li {
	margin-bottom:2em;
	height:296px;
	position: relative;
}
.checkup img {
	background:#f2f2f2;
	padding:9px;
	float:left;
	margin-right:30px;
}
.checkup h3 {
	font-size:16px;
	color:#3d4347;
	margin-bottom:0;
}
.checkup .subtitle {
	font-size:12px;
	color:#bac4cb;
	font-style: italic;
}
.checkup p {
	color:#595d6f;
	font-size:14px;
	margin:0 0 2em 0;
}
.checkup button {
	color: #929292;
	background-color: #F2F2F2;
	padding: 10px 15px 10px 15px;
	display: inline-block;
	text-decoration: none;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	text-align: center;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	background-image:none;
	border:none;
	-webkit-box-shadow: none; 
	box-shadow: none;
	text-shadow: none;
	position:absolute;
	bottom:-10px;
	right:243px;
}
.checkup button:hover {
	color:#3D9DC3;
}


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

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

@media only screen and (max-width: 800px) {
    /* Style adjustments for viewports that meet the condition */
    #tugboat_logo {
		width:100%;
		max-width:150px;
 		margin:0 auto;
	}
	#tugboat_logo img {
		width:100%;
	}
	#container {
    	width:96%;
    	padding: 10px 2%;
    }
    #open_text {
    	width:96%;
    }
	#opener_text p {
		width:96%;
		max-width:500px;
	}
	#company_video {
		width:96%;
		max-width:520px;
	}
	#company_video iframe {
		width:100%;
	}
	body {
		background:#509BC2;
	}
	#container {
		-webkit-border-radius: 0px;
		border-radius: 0px;
	}
	#container blockquote {
		text-align:left;
		padding-left:40px;
	}
	#thank_you {
		width:96%;
		text-align:center;
	}
	#twitter {
		float:none;
		max-width:301px;
		margin:0 auto;
	}
	#twitter_follow iframe {
		max-width:160px !important;
		overflow:none;
	}
	#facebook {
		float:none;
		margin:0 auto;
		max-width:308px;
		padding-right:4px;
		margin:0 auto;
	}
	#facebook_likes iframe {
		max-width:160px !important;
		overflow:none;
	}
	#behind a {
		color:#fff;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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