@import url('../fonts/fonts.css');

/*
= COLOUR REFERENCES =
  Green:     #79b044
  Salmon:    #dd5638
  Blue Gray: #3e4249
*/

body {
	background: url('../img/tile.jpg') top left repeat;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
	margin-top: 50px;
}

h1, h2, h3, h4, h5, h6 {
	text-rendering: optimizeLegibility;
	font-weight: 700;
}

h1 {
	font-size: 3em;
}

h1, h2 {
	margin: 0 0 40px;
}

h3 {
	margin: 20px 0;
}

h4 {
	font-size: 18px;
}

p {
	margin: 0 0 15px;
}

p.lead {
	font-weight: 400;
}

a:link, a:visited {
	color: #dd5638;
}

a:hover {
	text-decoration: none;
	color: #c93102;
}

img {
	max-width: 100%;
}

button, input, .btn, a.btn {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	color: #ffffff;
}

.btn {
	font-weight: bold;
}

.btn:focus {
	outline: none !important;
}

.btn-success {
	background: #79b044;
	border: none;
}

.btn-success:hover {
	background: #6a9b3d;
	border-color: #6a9b3d;
}

.btn-danger {
	background-color: #dd5638;
	border-color: #d95131;
}

.modal-content {
	background: url('../img/tile.jpg') top left repeat;
}

.badge.social {
	background: #ccc;
	color: white;
	font-size: 24px;
	height: 40px;
	width: 40px;
	text-align: center;
	line-height: 42px;
	margin: 0 5px 20px 0;
	padding: 0;
	border-radius: 50px;
}

.badge.social.twitter:hover { background: #55acee; }
.badge.social.facebook:hover { background: #3b5998; }
.badge.social.gplus:hover { background: #db4b39; }

blockquote {
	padding: 0;
	border: none;
	font-style: italic;
	text-align: left;
}

blockquote cite {
	display: block;
	color: #777;
	margin: 15px 0 0 0;
}

blockquote:before {
	display: none;
}

/* === HERO === */
.row + .row {
	margin-top: 20px;
}

#hero {
	-webkit-font-smoothing: antialiased;
	background: url('../img/hero-bg.jpg') 50% 0 repeat fixed;
	color: #ffffff;
	min-height: 500px;
	padding: 40px 0;
	text-rendering: optimizeLegibility;
}

/* Centralizando tudo */
#hero article {
	width: 100%;
	text-align: center;
}

#hero .hero-text {
	margin-top: 30px;
}

#price-timeline {
	margin: 30px 0 60px;
	text-align: center;
}

#price-timeline .price {
	display: inline-block;
	margin: 0 2% 0 0;
	width: 30%;
	background: #3e4249;
	padding: 10px 20px 30px;
	position: relative;
	vertical-align: top;
}

#price-timeline .price.active {
	background: #dd5638;
}

#price-timeline .price span {
	background: #101010;
	display: block;
	height: 70px;
	width: 70px;
	text-align: center;
	line-height: 70px;
	font-weight: 700;
	font-size: 24px;
	border-radius: 100%;
	position: absolute;
	bottom: -35px;
	left: 50%;
	margin-left: -35px;
}

#price-timeline h4 {
	margin: 0 0 10px;
}

#price-timeline h4 small {
	color: #ffffff;
	font-weight: 700;
	display: block;
}

/* === LAYOUT === */

section	{
	padding: 80px 0;
}

section.main-content {
	padding: 40px 0;
}

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

section h2 {
	margin: 20px 0 40px;
}

section h3 {
	margin: 30px 0 10px;
}

#primary {
	padding: 40px 0;
}

.feature-image {
	display: table;
	width: 100%;
}

.feature-image-default {
	background: url('../img/stuff-feature.jpg') no-repeat;
	background-size: cover;
}

.feature-image-default-alt {
	background: url('../img/hipster-stuff.jpg') top center repeat fixed;
	background-size: cover;
}

.feature-image h1 {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	color: #fff;
}

#optin {
	background: #3e4249;
	padding: 20px 0;
	color: #ffffff;
	font-size: 1.2em;
}

#optin p {
	margin: 7px 0 0 0;
}

#who-bennefits {
	background: #ffffff;
}

#course-features {
	background: #3e4249;
	color: #ffffff;
	text-align: center;
}

#project-features {
	text-align: center;	
}

#featurette {
	background: url('../img/stuff-bg.jpg') 50% 100% repeat fixed;
	background-size: cover;
	text-align: center;
	color: #ffffff;
}

#instructor { background: #ffffff url('../img/brad-elvis.png') 90% -10px no-repeat; }
#instructor h2 { margin: 0 0 20px; }

#instructor .num {
	font-size: 30px;
	font-weight: 700;
	color: #ffffff;
	display: table;
	line-height: 24px;
	height: 140px;
	width: 140px;
	text-align: center;
	background: #dd5638;
	border-radius: 100%;
}

#instructor .num .num-content {
	display: table-cell;
	vertical-align: middle;
}

#instructor .num span {
	display: block;
	font-size: 20px;
	font-weight: normal;
}

#kudos {
	text-align: center;
}

.testimonial {
	margin-bottom: 60px;
}

.testimonial img {
	border-radius: 50%;
}

#signup {
	background: url('../img/hipster-stuff.jpg') center center repeat fixed;
	text-align: center;
	background-size: cover;
	color: #ffffff;
	padding: 140px 0;
}

#signup h2 {
	font-weight: normal;
}

#signup h2 strong {
	border-bottom: solid 2px #dd5638;
}

#signup .btn {
	font-size: 24px;
}

footer {
	background: #3e4249;
	color: #ffffff;
	padding: 20px 0 10px;
	font-size: 12px;
}

footer p {
	margin: 0;
}

footer a:link, footer a:visited {
	color: #ffffff;
}

footer a:hover {
	color: #dd5638;
}

footer li.signup-link a {
	color: #dd5638;
}

footer li.signup-link a:hover {
	font-weight: bold;
}

/* === BLOG === */

.post, .widget, #comments {
	position: relative;
	border: solid 1px #ddd;
	background: #fff;
	margin: 0 0 40px;
	border-radius: 4px;
}

.post header,
.post .post-excerpt,
.post .post-body,
#comments .comments-wrap {
	padding: 20px;
}

.post header h1, 
.port header h3 {
	margin: 0 0 15px;
	padding: 0 0 15px;
	border-bottom: solid 1px #ddd;
}

.post header h1 { font-size: 24px; }

.post-image {
	height: auto;
}

.post-details {
	font-size: 12px;
	width: 90%;
}

.post-details i.fa {
	padding: 10px;
}

.post-details i.fa:first-child {
	padding: 0;
}

/* === WIDGETS === */

.widget { padding: 20px; }

.widget h4 {
	margin: 0 0 10px;
	padding: 0 0 10px;
	border-bottom: solid 1px #ddd;
}

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

.widget ul li { margin: 0 0 5px; }
.widget ul li:hover {
	position: relative;
	left: 1px;
}

/* === COMMENTS === */

.post-comments-badge {
	background: #79b044;
	height: 70px;
	width: 70px;
	position: absolute;
		top: 25px;
		right: 20px;
	border-radius: 100%;
	text-align: center;
	display: table;
}

.post-comments-badge a {
	display: table-cell;
	vertical-align: middle;
	color: #fff;
	font-size: 20px;
	line-height: 20px;
}

.post-comments-badge i.fa {
	display: block;
	font-size: 15px;
	padding: 0;
	margin-bottom: 4px;
}

.post-comments-badge:hover {
	background-color: #8bc653;
}

#comments h3 { text-align: center; }
#comments h4 { font-size: 1.3em; }

#comments ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

#comments ol li {
	background: rgba(0,0,0,0.03);
	padding: 10px 20px;
	margin: 10px 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: solid 1px rgba(0,0,0,0.05);
}

#comments ol li ol.children {
	padding: 0;
	list-style: none;
	font-size: 0.96em;
}

#leave-comment {
	margin: 40px 0 0;
	padding: 20px 0 0;
	border-top: solid 1px rgba(0,0,0,0.075);

}

/* === RESOURCES === */

.resource {
	width: 31.3333333%;
	float: left;
	margin: 0 3% 40px 0;
}

.resource:nth-child(3n) {
	margin-right: 0;
}

/* === CUSTOM ICON SPRITES === */

i.ci {
	background: url('../img/icon-sprite.png') no-repeat;
	display: inline-block;
	height: 40px;
	width: 40px;
}

.ci.ci-computer 	{ background-position: 0 0; }
.ci.ci-watch			{ background-position: -40px 0; }
.ci.ci-calendar		{ background-position: -80px 0; }
.ci.ci-community	{ background-position: -120px 0; }
.ci.ci-instructor	{ background-position: -160px 0; }
.ci.ci-device			{ background-position: -200px 0; }

/* === FORMS === */

label {
	display: block;
	font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	display: block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	padding: 6px 12px;
}

input[type="submit"],
button[type="submit"] {
	display: inline-block;
	margin-bottom: 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.33;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: none;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	-o-border-radius: 6px;
	border-radius: 6px;
}

/* === MEDIA QUERIES === */

@media screen and (max-width: 991px) {
	#instructor .container {
		background: rgba(255, 255, 255, 0.8);
		padding: 20px;
	}
}

@media screen and (max-width: 768px) {
	.logo { width: 50%; }
	#optin p { margin: 0 0 10px; }
	#featured iframe { height: 240px; }
	.resource {
		width: 48%;
		margin-right: 2%;
		min-height: 800px;
	}
}

@media screen and (max-width: 568px) {
	#instructor .num {
		height: 100px;
		width: 100px;
		font-size: 22px;
	}
	#instructor .num span {
		font-size: 16px;
	}

	.resource {
		width: 100%;
		margin-right: 0;
		min-height: 0;
	}
}