/* FADE IN ANIMATION FOR ELEMENTS */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.fade-in {
	-webkit-animation:fadeIn ease-in 1;
	-moz-animation:fadeIn ease-in 1;
	-ms-animation:fadeIn ease-in 1;
	-o-animation:fadeIn ease-in 1;
	animation:fadeIn ease-in 1;

	-webkit-animation-duration:0.2s;
	-moz-animation-duration:0.2s;
	-ms-animation-duration:0.2s;
	-o-animation-duration:0.2s;
	animation-duration:0.2s;
}

html {
	margin: 0;
	padding: 0;
	height: 100%; /* push footer to bottom */
}

body {
	background: #fff;
	font-family: 'Open Sans','Helvetica', 'Arial', sans-serif;
	font-weight: 300;
	color: #444;
	height: 100%; /* push footer to bottom */
	text-align: center;

}

h1 {
	font-size: 3em;
}
h2 {
	font-size: 2.5em;
}
h3 {
	font-size: 2em;
}
h4 {
	font-size: 1.5em;
}
h5 {
	font-size: 1.25em;
}
h6 {
	font-size: 1em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: #444;
}

a {
	color: #00BCEB;
}

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

input {
    -webkit-appearance: none;
}

#container {
	padding:0;
	margin-right: auto;
	margin-left: auto;
	max-width: 100%;
	min-height:100%; /* push footer to bottom */
	position:relative; /* push footer to bottom */
}

#content {
	padding-bottom: 170px; /* space for footer & content pad */
	max-width:980px;
	margin:auto;
	font-size: 1.5em;
}

header.site-header {
	background-color: #1B1B1B;
	color: #eee;
	text-align: center;
	padding-bottom: 10px;
	-webkit-box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.6);
	-moz-box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.6);
	-ms-box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.6);
	-o-box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.6);
	box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.6);
}

.header-logo {
	font-size: 9em;
	font-weight: 700;
	line-height: 1.3em;
	margin:0;
}


.header-logo a {
	color: #eee;
}

.header-logo a:hover {
	text-decoration:none;
}

.header-description {
	font-size: 2em;
}

.navbar .nav,
.navbar .nav > li {
  float:none;
  display:inline-block;
  *display:inline; /* ie7 fix */
  *zoom:1; /* hasLayout ie7 trigger */
  vertical-align: top;
}

.navbar {
	background-color: #1B1B1B;
	margin-top: 10px;
	margin-bottom: 0;
}

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

.navbar-brand {
	cursor:pointer;
	float:right;
	color: #eee;
}

.navbar-brand:hover {
	color: #5CDEFF;
}

.mobile-show-search {
	display:none;
}

.navbar-toggle {
	float:left;
	border-color: #eee;
	margin-left: 10px;
}

.navbar-toggle .icon-bar  {
	background-color: #eee;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
	background-color: transparent;
	border-color: #5CDEFF;
}

.navbar-toggle:hover .icon-bar,
.navbar-toggle:focus .icon-bar  {
	background-color: #5CDEFF;
}

.navbar-nav {
	position: relative;
	right: -20px;
}

.navbar-nav>li>a {
	font-family: 'Open Sans','Helvetica', 'Arial', sans-serif;
	font-size: 1.3em;
	font-weight: 600;
	color: #eee;
}

.navbar-nav>.active>a,
.navbar-nav>.active>a:hover,
.navbar-nav>.active>a:focus {
color: #5CDEFF;
background-color: transparent;
}

.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus {
color: #5CDEFF;
background-color: transparent;
}

.search-form {
	height: 50px;
	max-width: 550px;
	margin: auto;
}

.search-form input[type=search] {
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	-ms-box-shadow: none !important;
	-o-box-shadow: none !important;
	box-shadow: none !important;
	-webkit-appearance: none; /* iOS fix */
	-webkit-border-radius:0; /* iOS fix */
	border-radius: 0;
	max-width:500px;
	height: 50px;
	resize: none;
	line-height: normal;
	font-weight: 300;
	margin-right: 0;
	padding-right: 0;
	float:right;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	font-size: 1.3em;
	border: 1px solid #eee;
}

.search-form button[type=submit] {
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	-ms-box-shadow: none !important;
	-o-box-shadow: none !important;
	box-shadow: none !important;
	border-radius: 0;
	margin-left: 0;
	padding: 0;
	width: 50px;
	height: 50px;
	resize: none;
	line-height: normal;
	font-weight: 300;
	float:right;
	background-color: #f5f5f5;
	color: #777;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	font-size: 1.5em;
	border: 1px solid #eee;
	border-left: none;
}

.search-form button[type=submit]:hover {
	color: #444;
}

header .search-container {
	margin: auto;
}

header .search-form {
	max-height:0;
	max-width: 600px;
	margin-right: 0;
	padding-right:10px;
	overflow: hidden;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: max-height 0.4s ease-in-out;
	right: 0;
}

header .search-form.visible {
	max-height: 75px;
}

header .search-form input[type=search] {
	border: none;
	/*width: 80%;*/
	font-size: 2em;
}

header .search-form button[type=submit] {
	border: none;
	font-size: 2.3em;
}

#breadcrumbs {
	text-align:left;
	font-size:.8em;
}

#content {
	padding-left: 20px;
	padding-right: 20px;
}

.article-meta {
	font-size: .8em;
}

.article-meta .glyphicon {
	margin-right:5px;
}

.article-meta .glyphicon-folder-open {
	margin-right:10px;
}

.article-author,
.article-date,
.article-categories,
.article-tags {
	margin-left:5px;
	margin-right:5px;
	display: inline-block;
}

.article-author {
	display:inline-block;
	margin-bottom:5px;
}

.article-thumbnail img{
    max-width: 80%;
    height: auto;
    margin:15px;
}

.social-container {
	margin-top: 10px;
}

.fb-like {
	display: inline;
	margin-right: 30px;
	top: -2px;
}

.fb-like.fb_iframe_widget > span {
	vertical-align:top!important;
}

#fb-root {
	display:inline;
}

.article-content {
	text-align: left;
	word-wrap: break-word;
}

.pagination {
	font-family: 'Open Sans','Helvetica', 'Arial', sans-serif;
}

.page-numbers.current {
	background-color: #f5f5f5;
}

.comments-area {
	max-width: 80%;
	margin: auto;
	margin-top:50px;
}

.comment-notes {
	text-align: left;
}

.comment-list li {
	background: #f5f5f5;
	padding:10px;
	border-radius: 4px;
}

.comment-list li:nth-child(odd) {
	background: #fff;
}

.comment-body {
	font-family: 'Open Sans','Helvetica', 'Arial', sans-serif;
	text-align: left;
	margin-bottom: 20px;
}

.comment-body img {
	display:none;
}

.comment-list .children li {
	border-top:1px solid #dedede;
	text-align: left;
	margin-left: 10px;
}

.comment-form label {
	float:left;
	font-weight: 300;
}

.comment-form input,
.comment-form textarea {
	border-radius: 4px;
	border: 1px solid #DDD;
}

.comment-form code {
	display: inline-block;
	max-width: 100%;
	width: 100%;
	overflow: scroll;
}

.comment-form input[type=submit] {
	background-color: #f5f5f5;
}

.comment-form input[type=submit]:hover {
	color: #888;
}

#comments code {
	background-color: #f5f5f5;
	color: #777;
}

footer.site-footer {
	position:absolute;
	bottom:0;
	left:0;
	width: 100%;
	height: 150px;
	padding: 20px;
	background-color: #1B1B1B;
	color: #eee;
	text-align: center;
	-webkit-box-shadow: 0px -2px 14px rgba(0, 0, 0, 0.6);
	-moz-box-shadow: 0px -2px 14px rgba(0, 0, 0, 0.6);
	-ms-box-shadow: 0px -2px 14px rgba(0, 0, 0, 0.6);
	-o-box-shadow: 0px -2px 14px rgba(0, 0, 0, 0.6);
	box-shadow: 0px -2px 14px rgba(0, 0, 0, 0.6);
}

footer.site-footer a {
	color: #5CDEFF;
}

footer.site-footer a:hover {
	color: #AAA;
}

.icon-facebook img {
	margin: 10px;
	/*margin-right: 15px;*/
	height: 40px;
}

.icon-twitter img {
	margin: 10px;
	height: 32px;
}

.icon-google-plus img {
	margin: 10px;
	height: 32px;
}

.site-copyright {
	margin-top:20px;
}

.scroll-up {
	position: fixed;
	background-color: #1b1b1b;
	border-radius: 4px;
	color: #eee;
	right:25px;
	bottom: 15px;
	width:60px;
	height: 60px;
	font-size: 2.5em;
	opacity: 0;
	visibility: hidden;
    overflow: hidden;
    text-align:center;
    padding: 5px;
    z-index:2;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-ms-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

.scroll-up.visible {
	visibility:visible;
	opacity: 1;
	cursor:pointer;
}

.crayon-syntax {
	margin:auto!important;
	padding: 10px!important;
	border: none!important;
	max-width:100%!important;
}

/* ads */
.wtb-footer-ad {
	margin-bottom: 25px;
}

.wtb-header-ad,
.wtb-body-ad,
.wtb-footer-ad {
	margin-top: 25px; width: 320px; height: 50px;
}

@media(min-width: 500px) { .wtb-header-ad, .wtb-body-ad, .wtb-footer-ad { width: 468px; height: 60px; } }
@media(min-width: 800px) { .wtb-header-ad, .wtb-body-ad, .wtb-footer-ad { width: 728px; height: 90px; } }

@media (min-width: 1200px) {
	header .search-container {
		max-width: 1170px;
	}
}

@media (max-width: 1199px) and (min-width: 992px) {
	header .search-container {
		max-width: 940px;
	}
}

@media (max-width: 991px) and (min-width: 768px) {

	header .search-container {
		max-width: 728px;
	}

	.content{
		padding: 0 5px 5px 5px;
		max-width: 99% !important;
	}

}
@media (max-width: 767px) {
	.header-logo {
		font-size: 7em;
	}

	.content{
		padding: 0 5px 5px 5px;
		max-width: 99% !important;
	}

	.content{
		padding: 0 5px 5px 5px;
		max-width: 99% !important;
	}

	.navbar-nav {
		right: 0;
		margin-bottom: 0;
	}

	#content {
		padding-left: 10px;
		padding-right: 10px;
		max-width: 99% !important;
	}

	.search-form input[type=search] {
		max-width:400px;
	}

	.mobile-show-search {
		display:inline-block;
	}

	.desktop-show-search {
		display:none;
	}
}

@media (max-width: 480px) {

	h1 {
	font-size: 2em;
	}
	h2 {
		font-size: 1.7em;
	}
	h3 {
		font-size: 1.5em;
	}
	h4 {
		font-size: 1.3em;
	}
	h5 {
		font-size: 1.1em;
	}
	h6 {
		font-size: 1em;
	}

	.header-logo {
		font-size: 5em;
	}

	.header-description {
		font-size: 1.6em;
	}

	.navbar-nav {
		display:block!important;
		clear: none;
	}

	.navbar-nav li {
		display:block!important;
	}

	header .search-form {
		padding-left:10px;
	}

	.search-form input[type=search] {
		max-width:80%;
		font-size:1.6em;
	}

	.search-form button[type=submit] {

		width:20%;
	}

	header .search-form input[type=search] {
		font-size:2.5em;
	}

	#content {
		padding-left:0;
		padding-right:0;
	}

	.page-content,
	.article-summary,
	.article-content,
	.article-header,
	.page-header,
	.comments-link {
		padding-left:5px;
		padding-right:5px;
	}

	.comments-area {
		max-width: 95%;
	}
}