/*
 * Startup Sprint base.css v0.1
 *
 * Copyright 2012 Startup Sprint
 * Author: @chemikpil
 * Author url: http://chemikpil.pl
 * Last modify: 04.09.2012
 *
 */
 
/*
 *	1. Base CSS
 *	2. 
 *
 */


/* 1. Base CSS
------------------------------*/

@font-face {
    font-family: 'franchise';
    src: url('/wp-content/themes/startupsprint/fonts/franchise-bold-.ttf');
    src: url('/wp-content/themes/startupsprint/fonts/franchise-bold.ttf') format('truetype'),
    	   url('/wp-content/themes/startupsprint/fonts/franchise-bold.eot#iefix') format('embedded-opentype'),
         url('/wp-content/themes/startupsprint/fonts/franchise-bold.woff') format('woff'),
         url('/wp-content/themes/startupsprint/fonts/franchise-bold.svg#franchiseregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
	background: #f1f1f1;
	font: 14px 'Helvetica Neue', Arial, sans-serif;
	color: #464646;
}

a {
	color: #0470d4;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;	
}

a, a:hover, a:active, a:focus {
	outline: 0;
}

/* 2. Clearfix
------------------------------*/

.clearfix {
  *zoom: 1;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both;
}

/* 3. Wrappers
------------------------------*/

.ss-container {
  width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.ss-block,
.ss-block-2 {
  width: 320px;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.ss-block {
  height: 320px;
  padding: 40px;
}

.ss-block-2 {
  height: 640px;
}

/* 4. Headers
------------------------------*/

.ss-header {
  background-color: #fff;
}

.ss-header > h1 {
  margin: 0;
  background: url(/wp-content/themes/startupsprint/img/logo.jpg) no-repeat center;
  text-indent: -9999px;
}

/* 5. Content
------------------------------*/

/* 5.1. About */

.ss-header_desc {
  margin: 0;
  padding-bottom: 15px;
  font: 13px/20px 'Helvetica Neue';
}

.ss-header_social {
  margin: 0;
  padding-bottom: 15px;
}

.ss-header_social > .ss-icon {
  color: inherit;
  font-weight: bold;
  font-size: 16px;
}

.ss-header_contact {
  display: block;
  color: inherit;
  font-size: 13px;
  line-height: 20px;
}

.ss-header_contact > .ss-icon {
  display: inline-block;
  margin-top: -2px;
  font-size: 16px;
  vertical-align: text-top;
}

/* 5.2 Content */

.ss-content {
  color: #f8f8f8;
}

.ss-newsletter p,
article.ss-block h1 {
  font: 50px/40px 'Franchise', 'franchiseregular', sans-serif;
  text-transform: uppercase;
}

article.ss-block h1 {
  width: 80px;
}

.ss-content_item {
  text-shadow: 0 1px 1px rgba(0,0,0,.75);
}

.ss-content_item > a{
  display: block;
  color: inherit;
}

.ss-content_item > a:hover {
  text-decoration: none;
}

.ss-newsletter .ss-icon {
  display: block;
  margin-top: 35px;
  font-size: 64px;
}

.ss-newsletter p {
  margin: 0;
}

article.ss-block h1 {
  margin: 85px 0 0;
}

.ss-content_item {
  background: url(/wp-content/themes/startupsprint/img/content-bg.jpg);
}

.ss-content_item:nth-child(1n){background-position: -320px 0;}
.ss-content_item:nth-child(2n){background-position: -640px 0;}
.ss-content_item:nth-child(3n){background-position: -320px -320px;}
.ss-content_item:nth-child(4n){background-position: -640px -320px;}
.ss-content_item:nth-child(5n){background-position: 0 -640px;}
.ss-content_item:nth-child(6n){background-position: -320px -640px;}
.ss-content_item:nth-child(7n){background-position: -640px -640px;}
.ss-content_item:nth-child(8n){background-position: 0 -960px;}
.ss-content_item:nth-child(9n){background-position: -320px -960px;}
.ss-content_item:nth-child(10n){background-position: -640px -960px;}

/* 6. Footers
------------------------------*/

.ss-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 960px;
  padding: 40px 20px;
  margin: 0 auto;
  clear: both;
}

.ss-footer_copy {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}

.ss-footer_partners {
  box-sizing: border-box;
  min-height: 77px;
  padding: 16px 20px;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  background: #eee url(/wp-content/themes/startupsprint/img/footer-bg.jpg) center / cover no-repeat;
}

/* 7. Modal window */


.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 800;
  background-color: rgba(0,0,0,.5);
}

.modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 560px;
	z-index: 1050;
	margin: -250px 0 0 -280px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 40px;
	background-color: #ffffff;
	-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
}

.ss-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	border: 0;
	color: #464646;
	background-color: #fff;
	font-size: 20px;
}

.modal.fade {
	top: -25%;
	-webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
	 -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
	   -o-transition: opacity 0.3s linear, top 0.3s ease-out;
	      transition: opacity 0.3s linear, top 0.3s ease-out;
}

.modal.fade.in {
	top: 50%;
}

.modal.hide {
	display: none;
}

.modal h1 {
	margin-top: 0;
}

.ss-btn {
	display: inline-block;
	margin-bottom: 5px;
	padding: 12px;
	min-width: 180px;
	height: 22px;
	border: 0;
	border-radius: 5px;

	text-align: center;
	font-size: 20px;
	float: right;
}

button.ss-btn {
	height: 50px;
}

.ss-btn:hover {
	margin-top: 2px;
	text-decoration: none;
	border-bottom-width: 2px;
}

.ss-btn:hover {
	height: 48px;
}

.ss-btn_blue {
	background-color: #0470d4;
	color: #fff;
	border-bottom: 4px solid #004f98;
}

.ss-btn_blue:active {
	background-color: #0460b5;
}

.ss-input {
	width: 368px;
	height: 32px;
	border-radius: 2px;
	padding-left: 5px;
	border: 1px solid #d8d8d8;
	background-color: #f8f8f8;
	line-height: 32px;
}

.ss-newsletter-fields {
	margin-bottom: 10px;
}

.mc_var_label {
	display: inline-block;
	width: 100px;
}

#mc-indicates-required {
	margin-bottom: 10px;
}

#mc_display_rewards {
	font-size: 11px;
}

.mc_error_msg {
	display: block;
	padding-bottom: 10px;
	color: #E64D3C;
}