$col_text: #aaa;
$col_anchor: #ccc;
$col_background: #2f3238;
$col_border: #383a42;

$font: 'Raleway', sans-serif;

* {
  word-wrap: break-word;
  outline: none;
}

body {
	background: $col_background;

	&.basic {
		font-size: 16px;
		color: $col_text;
		font-family: $font;
		font-weight: 300;
	}
}

a{
	@include transition( all .15s linear );

	text-decoration: underline;

	&:hover {
		text-decoration: none;
	}
}

.basic {
	h1, h2, h3, h4, h5, h6 {
		color: $col_text;
		font-family: $font;
		font-weight: normal;

		a {
			color: $col_anchor;
		}
	}

	a {
		color: $col_anchor;
		text-decoration: underline;

		&.btn {
    	    color: #fff;
		}

		&:hover {
			color: $col_text;
			text-decoration: none;
		}
	}
}

pre {
	margin: 1em 0;
}

strong {
	font-weight: 600;
}

.alert {
	font-size: 14px;
}

blockquote {
	border-left: 0;
	font-style: italic;
	background: lighten( $col_background, 10% );

	cite {
		display: block;
		text-align: right;
	}
}

img {
	max-width: 100%;
	height: auto;
}

table {
	width: 100%;
	background: #fff;

	&,
	& a {
		color: #444;
	}

	td, th {
		padding: 8px;
		border: 1px solid $col_border;
		text-align: left;
	}

	th {
		font-weight: bold;
	}

	caption {
		padding: 1em 0;
		text-align: center;
	}
}

dt {
	font-weight: bold;
}

dd {
	line-height: 1.4;
	margin: 4px 0 0;
	padding: 0 0 .5em 0;
}

input, textarea {
	@include border-radius(6px);
	@include box-sizing(border-box);

	padding: 8px;
	border: 1px solid $col_border;
	color: #555;
}

/* =Header
-------------------------------------------------------------- */
#site-title {
	float: left;
	margin: 20px 0;

	a {
		text-decoration: none;
	}
}

#site-logo {
	margin-right: 6px;
	max-height: 35px;
	margin-top: -5px;
}

#site-description {
	margin: 36px 0 0 10px;
	font-size: 14px;
	line-height: 1;
	float: left;
	color: #666;
}

.header-img {
	width: 100%;
	display: block;
	max-width: none;
}

.header-img {
	width: 100%;
}

/* =Main Navigation
-------------------------------------------------------------- */
.navbar {
	border-radius: 0;
	text-transform: uppercase;
	font-size: 14px;
	margin: 0;

	a {
		text-decoration: none;
	}
}

.container > .navbar-collapse {
	margin-left: -20px;
	margin-right: -20px;
}

.dropdown-menu {
	padding: 0;
}

.navbar-inverse {
	.dropdown-menu {
		background: #080808;

		> li > a {
			color: #999;
		}

		a:hover {
			background: #444 !important;
			color: #fff !important;
		}
	}

	.dropdown-menu > .active > a,
	.dropdown-menu > .active > a:hover,
	.dropdown-menu > .active > a:focus {
		background-color: #444;
	}
}

/* =Social Menu
-------------------------------------------------------------- */
#menu-social {
	margin-top: 26px;
	overflow: hidden;

	@include breakpoint(tablet) {
		float: none;
		margin-bottom: 10px;
	}

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

		li {
			display: inline-block;
			position: relative;
		}

		.fixed-navbar & {
			margin-right: 15px;
		}
	}

	a {
		color: #888;

		&:before {
			content: '\f007';
			float: left;
			text-align: center;
			margin: 0 0 0 10px;
			font-family: FontAwesome;
			font-size: 16px;
		}

		&:hover {
			&:before {
				color: #666;
			}
		}

		&[href*="facebook.com"] {
			&:before {
				content: '\f09a';
			}
		}

		&[href*="twitter.com"] {
			&:before {
				content: '\f099';
			}
		}

		&[href*="dribbble.com"]{
			&:before {
				content: '\f17d';
			}
		}

		&[href*="plus.google.com"] {
			&:before {
				content: '\f0d5';
			}
		}

		&[href*="pinterest.com"] {
			&:before {
				content: '\f0d2';
			}
		}

		&[href*="github.com"] {
			&:before {
				content: '\f113';
			}
		}

		&[href*="tumblr.com"] {
			&:before {
				content: '\f173';
			}
		}

		&[href*="youtube.com"] {
			&:before {
				content: '\f16a';
			}
		}

		&[href*="flickr.com"] {
			&:before {
				content: '\f16e';
			}
		}

		&[href*="vimeo.com"] {
			&:before {
				content: '\f194';
			}
		}

		&[href*="instagram.com"] {
			&:before {
				content: '\f16d';
			}
		}

		&[href*="linkedin.com"] {
			&:before {
				content: '\f0e1';
			}
		}

		&[href*="bitbucket.org"] {
			&:before {
				content: '\f171';
			}
		}

		&[href*="yelp.com"] {
			&:before {
				content: '\f1e9';
			}
		}

		&[href*="slideshare.net"] {
			&:before {
				content: '\f1e7';
			}
		}

		&[href*="xing.net"] {
			&:before {
				content: '\f168';
			}
		}

		&[href*="/feed"] {
			&:before {
				content: '\f09e';
			}
		}
	}

	.navbar-inverse & a {
		color: #666;

		&:before {
			background: black(0.5);
		}

		&:hover {
			color: #888;

			&:before {
				background: black(0.75);
			}
		}
	}
}

/* =Main elements
-------------------------------------------------------------- */
#page {
	margin-left: auto;
	margin-right: auto;
}

#primary {
	margin: 50px 0;

	.home.blog & {
		margin: 5px 5px 50px;
	}
}

/* =Article
-------------------------------------------------------------- */
article {
	margin-bottom: 40px;

	.image-full.alignnone {
		margin: 0 0 30px;
	}

	.time {
		color: inherit;
		text-decoration: none;
	}

	&.format-standard,
	&.page {
		padding: 0;
		border: 0;
	}

	footer {
		margin-top: 10px;
	}
}

.first-post {
	margin-bottom: 20px;
}

.entry-title {
	margin-top: 0;
	line-height: 1.2;

	a {
		text-decoration: none;

		&:hover {
			color: #aaa;
		}
	}

	.basic & {
		font-size: 28px;
	}

	.post-format-header &,
	.post-format-header & a {
		font-size: 16px;
	}

	.post-format-header & {
		margin-bottom: 5px;
	}
}

.entry-meta {
	line-height: 1.2;
	margin: 5px 0 20px;

	&.top-entry-meta {
		margin: 0 0 5px;

		i {
			margin-right: 6px;
		}
	}

	&.col-md-3 {
		i {
			width: 14px;
		}
	}

	.basic & {
		font-size: 14px;
	}
}
.entry-title + .entry-meta {
	margin-top: 5px;
}
.post-format {
	margin: 0 0 3px;
	font-size: 1.5em; /* 24/16 */

	i {
		margin-right: 5px;
	}
}
.entry-content {
	position: relative;
	line-height: 1.5;
}

.entry-attachment {
	margin-top: 20px;
}

.entry-caption {
	font-size: 12px;
	margin: 5px 0 15px;
	text-align: right;
}

.edit-link {
	margin: 1em 0;
}

.more-link {
	text-decoration: none;
	font-size: 14px;
}

.pullquote {
	border: 0;
	padding: 1em 0;
	margin: 1em 1.625em 1em 0;
	text-align: right;
	width: 33%;
	float: left;
	border-top: 4px solid $col_border;
	border-bottom: 4px solid $col_border;
	background: none;

	p {
		font-size: 21px;
		line-height: 1.4;
	}

	&.alignright {
		margin: 1em 0 1em 1.625em;
		text-align: left;
		float: right;
	}

	@include breakpoint(tablet) {
		width: 45%
	}

	@include breakpoint(600) {
		width: 100%;
		margin: 0 0 .5em 0;
		float: none;
		text-align: left;
	}
}

.columns {
	@include breakpoint(tablet) {
		-webkit-column-count: 1 !important;
		-moz-column-count: 1 !important;
		column-count: 1 !important;
	}
}

/* =404
-------------------------------------------------------------- */
article.error404 {
    i {
        font-size: 200px;
        display: block;
        margin-bottom: 20px;
    }

	.entry-title {
		margin-bottom: 1em;
	}
}

/* =Aside
-------------------------------------------------------------- */
.format-aside p {
	margin-top: 0;
}

/* =Quote
-------------------------------------------------------------- */
.format-quote {
	.entry-content {
		font-style: italic;
		font-size: 28px;
		line-height: 1.4;
	}

	blockquote,
	blockquote p {
		margin: 0;
		border: 0;
		padding: 0;
		font-weight: normal;
		font-size: 28px;
		line-height: 1.4;
		background: transparent;
	}

	cite {
		margin-top: 1em;
		font-size: 16px;
		text-align: right;
		display: block;

        &:before {
            content: '\2013 \00A0';
        }
	}
}

/* =Status
-------------------------------------------------------------- */
.format-status {
	.post-format {
		margin-bottom: 10px;
	}

	.avatar {
		float: left;
		margin: 0 17px 0 0;
	}

	.author {
		font-size: 18px;
		margin: 0;
	}

	.entry-content {
		padding-left: 77px;
		clear: none;
		display: inherit;

		p {
			margin-top: 0;
		}
	}

	time {
		font-size: 13px;
		color: #666;
		margin: 5px 0 10px;
		display: inline-block;
	}
}

/* =Link
-------------------------------------------------------------- */
.format-link {
	p {
		font-size: 16px;
		margin: 0;
		font-weight: normal;
		line-height: inherit;

		&.tags {
			font-size: 14px;
		}
	}

	footer p {
		margin: 1em 0;
	}

	.entry-content a {
		font-size: 24px;
	}
}

/* =Audio
-------------------------------------------------------------- */
.format-audio .entry-title i {
	margin-right: 7px;
}

/* =Image
-------------------------------------------------------------- */
.format-image .entry-title i {
	margin-right: 7px;
}

/* =Video
-------------------------------------------------------------- */
.format-video .entry-title i {
	margin-right: 7px;
}

iframe {
	max-width: 100%
}

.responsive-video-wrapper {
	width: 100%;
	position: relative;
	padding: 0;
}

.responsive-video-wrapper iframe,
.responsive-video-wrapper object,
.responsive-video-wrapper embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* =Gallery
-------------------------------------------------------------- */
.format-gallery .entry-title i {
	margin-right: 7px;
}


.gallery {
	margin: 20px -20px;

	> p {
		margin: 0;
		height: 0;
	}
}

.gallery-item {
	margin-bottom: 20px;
	float: left;
	padding: 0 20px;

	.gallery-icon img {
		width: 100%;
	}

	.gallery-caption {
		display: none;
	}

	.gallery-columns-1 & {width:100%}
	.gallery-columns-2 & {width:50%}
	.gallery-columns-3 & {width:33.33%}
	.gallery-columns-4 & {width:25%}
	.gallery-columns-5 & {width:20%}
	.gallery-columns-6 & {width:16.66%}
	.gallery-columns-7 & {width:14.28%}
	.gallery-columns-8 & {width:12.5%}
	.gallery-columns-9 & {width:11.11%}

	.gallery & {
		@include breakpoint(phone) {
			width: 100%;
			margin-bottom: 20px;
		}
	}
}

/* =Tags
-------------------------------------------------------------- */
.tags {
	font-size: 14px;
	margin-bottom: 0;
	margin: 10px 0;

	span {
		margin-right: 5px;
	}

	a {
		@include border-radius( 4px );

		padding: 2px 8px;
		margin: 0 2px 5px 0;
		color: #888;
		display: inline-block;
		background: $col_border;
		text-decoration: none;

		&:hover {
			color: #666;
			background: #2B2E33;
		}
	}
}
/* =Pagination
-------------------------------------------------------------- */
.navigation {
	padding: 20px 0 40px;

	.home & {
		padding: 20px 10px 40px;
	}

	.infinite-scroll & {
		display: none;
	}

	.nav-previous,
	.nav-next {
		float: left;
		position: relative;

		a {
			font-size: 14px;

			&:hover {
			 	color: #fff;
			}
		}
	}

	.nav-next {
		float: right;
		position: relative;
	}

	a {
		text-decoration: none;
	}
}

.infinite-loader {
	@include transform( translate( -50%, -50% ) );
	@include border-radius( 12px );

	background: white(0.4);
	position: fixed;
	top: 50%;
	left: 50%;
	padding: 50px;
	z-index: 99;

	.spinner {
		left: 50% !important;
		top: 0 !important;
	}
}

#infinite-handle {
	width: 100%;
	position: absolute;
	bottom: 0;
}

#primary #infinite-handle span {
	@include border-radius(3px);

	width: 160px;
	margin: auto;
	display: block;
	text-align: center;
	font-size: 16px;
	padding: 8px 0;
	background: #666;
}

#posts-pagination {
	border-top: 5px solid $col_border;
	font-size: 14px;
	padding: 20px 0;

	.next,
	.previous {
		max-width: 48%;
	}

	a {
		color: $col_text;
		white-space: normal;
		display: block;
		text-align: left;
		text-decoration: none;

		&:hover {
			color: $col_anchor;
		}
	}

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

/* =Comments
-------------------------------------------------------------- */
.comments-area {
	.commentlist,
	.children {
		list-style: none;
		padding: 0;
	}

	#comments-title {
		padding: 10px 0;
		font-size: 24px;
	}
}

.comment-form input {
	clear: both;
	display: block;

	&[type="checkbox"] {
		display: inline-block;
	}
}

.commentlist {
	.comment,
	.pingback {
		padding-bottom: 20px;
	}

	.comment {
		.avatar {
			float: left;
		}

		.comment-author,
		.comment-meta {
			padding-left: 70px;
		}

		.comment-text {
			font-size: 15px;
			margin-top: 10px;
		}

		.comment-author {
			font-size: 16px;
		}

		.comment-meta {
			font-size: 12px;
			color: #888;
			margin-bottom: 30px;
		}
	}

	.children {
		margin: 20px 0 0;

		> .comment {
			padding-left: 70px !important;
		}

	}

	.comment-body {
		display: block;
		z-index: 100;
		position: relative;
		margin-bottom: 30px;
	}

	.bypostauthor > .comment-body {
		background: lighten( $col_background, 10% );
		padding: 10px;
	}

	.reply {
		margin-top: 20px;

		a {
			padding: 4px 8px;
			background-color: $col_border;
			color: #fff;
			display: inline;

			&:hover {
				background-color: lighten( $col_border, 10% );
				color: #fff;
			}
		}
	}
}

.comment-reply-link,
.form-submit #submit {
	@extend .btn;
}

.comment-respond {
	textarea {
		width: 100%;
	}

	.form-allowed-tags {
		font-size: 14px;

		code{
			white-space: normal;
		}
	}

	label {
		font-weight: normal;
		width: 15%;

		@include breakpoint(phone) {
			width: auto;
		}
	}
}

.form-submit #submit {
	background-color: $col_border;
	color: #fff;

	&:hover {
		background-color: lighten( $col_border, 10% );
		color: #fff;
	}
}

#cancel-comment-reply-link {
	font-size: 14px;
	font-weight: normal;
	float: right;
}

/* =Archives
-------------------------------------------------------------- */
#archive-header {
	margin-bottom: 40px;
	float: left;
	width: 100%;
}

.page-title {
	color: $col_anchor;
	margin: auto;
	font-size: 1.25em; /* 20/16 */
	text-transform: uppercase;
}

.page-header {
	margin-bottom: 30px;

	h1 {
		margin: 0;
	}

	.navigation {
		padding: 20px 0 0;
		font-size: 14px;
		float: right;

		@include breakpoint(phone) {
			float: left;
		}
	}
}

.archive-meta {
	color: $col_anchor;
	margin: 0;
	font-size: 13px;
	font-weight: normal;
	padding: 5px 0 0;
	line-height: 1.4;

	p {
		margin: 0;
	}
}

.page .entry-title {
	margin-bottom: 15px;
}

/* =Sidebar
-------------------------------------------------------------- */
#secondary,
#tertiary {
	margin: 50px 0;

	@include breakpoint(phone) {
		margin-top: 0;
	}
}

.home-widget,
.footer-widget,
.widget {
	ul {
		list-style: none;
		padding: 0;

		li {
			margin-bottom: 5px;
		}

		&.sub-menu {
			padding-left: 15px;
		}

		a {
			text-decoration: none;
		}
	}
}

.widget {
	width: 100%;
	font-size: 0.875em; /* 14px/16px */
	margin-bottom: 30px;

	.search-form label,
	.search-field {
		width: 100%;
	}

	select {
		max-width: 100%;
	}

	.tagcloud {
		padding: 0 0 20px;
		text-align: center;
	}
	&.widget_search {
		border-bottom: none;
	}
}

.widget-title {
	font-size: 21px;
	margin: 0 0 10px;
}

.widget_rss {
	ul {
		list-style: none;
		padding: 0;

		li {
			padding-bottom: 15px;

			.rsswidget {
				font-size: 18px;
				line-height: 1.1;
				display: block;

				&:hover {
					margin: 0 !important;
				}
			}

			.rssSummary {
				margin-top: 5px;
			}

			.rss-date {
				font-size: 12px;
				color: #888;
			}

			cite {
				font-style: italic;
			}
		}
	}
}

.home-widget {
	background: #444;
	padding: 10px;
	margin-top: 10px;

	&:first-child {
		margin-top: 0;
	}
}

/* =Footer Widgets
-------------------------------------------------------------- */
.line.active {
 	border-top: 1px solid $col_background;

	width: 100%;
	display: block;
	margin-bottom: 20px;
}

.footer-widget {
	margin: 10px 0 30px;
	font-size: 14px;

	#calendar_wrap {
		caption {
			color: #fff;
			margin-bottom: 10px;
		}
	}

	ul {
		li {
			margin-bottom: 5px;
		}
	}

	.widget-title {
		padding: 10px 0 5px;
		font-size: 16px;
	}
}

/* =Footer
-------------------------------------------------------------- */
#extended-footer {
	background: #2B2E33;
}

#extended-footer,
#footer {
	padding-top: 10px;

	&,
	a {
		color: #aaa;
	}

	a:hover {
		color: #ccc;
	}

	.widget-title {
		background: none;
		font-size: 24px;
		color: #888;
	}
}

#footer {
	background: $col_border;
	font-size: 13px;
	position: relative;
	z-index: 100;
	clear: both;

	.row {
		margin-bottom: 0;
	}

	#footer-content {
		padding-top: 15px;
		padding-bottom: 15px;

		span {
			@include breakpoint(tablet) {
				display: block;
				float: none !important;
				text-align: center;
			}
		}
	}

	a:hover {
		color: #ccc;
	}

	.copyright {
		text-align: center;

		@include breakpoint(tablet) {
			.pull-left,
			.pull-right {
				float: none !important;
				text-align: center;
			}
		}
	}

	.footer-notice {
		margin-bottom: 10px;
	}
}

/* =Author archive
-------------------------------------------------------------- */
.archive.author #archive-header {
	.avatar {
		@include border-radius(50em);

		float: left;
		display: block;
	}

	h1,
	.archive-meta {
		padding-left: 100px;
	}
}

#author-info {
	overflow:hidden;
	margin-bottom:20px;
	padding:20px;

	.author-text {
		padding-left:90px;
	}

	h4 {
		margin:0 0 5px;
		font-size:18px;
	}

	.author-text p {
		font-size:14px;
		line-height:1.4;
	}

	img {
		float:left;
		border-color:#e2e2e2;
		background:#fff;
	}
}

/* =Featured sticky posts - Masonry - Codrops
-------------------------------------------------------------- */
.sticky-container {
	margin: 5px;
	padding-bottom: 70px;
	visibility: hidden;

	@include breakpoint(600) {
		height: auto !important;
	}

	.item,
	.stamp {
		width: 25%;
		position: relative;
		padding: 5px;

		@include breakpoint(full) {
			width: 33.33%;
		}

		@include breakpoint(tablet) {
			width: 50%;
		}

		@include breakpoint(600) {
			width: 100%;
			position: static !important;
			float: left;
		}
	}

	.stamp {
		position: absolute;
		top: 0;
		right: 0;
	}

	.item {
		/* Common style */
		figure {
			position: relative;
			float: left;
			overflow: hidden;
			background: #3085a3;
			text-align: center;
			cursor: pointer;
			width: 100%;

			img {
				@include backface-visibility( hidden );

				position: relative;
				display: block;
				width: 100%;
				opacity: 0.8;
			}

			figcaption {
				@include backface-visibility( hidden );

				position: relative;
				z-index: 100;
				padding: 1em;
				text-transform: uppercase;
				font-size: 1.25em;

				@include breakpoint(desktop) {
					padding: 1em;
				}

				&,
				h2 {
					color: #fff;
				}

				&::before,
				&::after {
					pointer-events: none;
				}

				&,
				& > a {
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					height: 100%;
				}

				/* Anchor will cover the whole item by default */
				/* For some effects it will show as a button */
				& > a {
					z-index: 1000;
					text-indent: 200%;
					white-space: nowrap;
					font-size: 0;
					opacity: 0;
				}
			}

			h2 {
				font-weight: 300;
				font-size: 22px;

				span {
					font-weight: 800;
				}
			}

			h2,
			p {
				margin: 0;
			}

			p {
				letter-spacing: 1px;
				font-size: 68.5%;
			}
		}

		/*---------------*/
		/***** Julia *****/
		/*---------------*/
		.effect-julia {
			background: #2f3238;

			img {
				-webkit-transition: opacity 1s, -webkit-transform 1s;
				transition: opacity 1s, transform 1s;
			}

			figcaption {
				text-align: left;
			}

			h2 {
				position: relative;
				padding: 0 0 0.5em;
			}

			p {
				@include transform( translate3d( -100%, 0, 0 ) );

				-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
				transition: opacity 0.35s, transform 0.35s;
				display: inline-block;
				margin: 0 0 0.25em -2em;
				padding: 0.4em 1em;
				background: white(0.9);
				color: #2f3238;
				text-transform: none;
				font-weight: 500;
				font-size: 75%;
				width: 100%;

				&:first-child {
					@include transition-delay(0.15s);
				}

				&:nth-of-type(2) {
					@include transition-delay(0.1s);

				}

				&:nth-of-type(3) {
					@include transition-delay(0.05s);
				}
			}

			.more-link-p {
				width: auto;
			}

			&:hover p:first-child {
				@include transition-delay(0s);

			}

			&:hover p:nth-of-type(2) {
				@include transition-delay(0.05s);
			}

			&:hover p:nth-of-type(3) {
				@include transition-delay(0.1s);
			}

			&:hover img {
				@include transform( scale3d( 1.1, 1.1, 1 ) );

				opacity: 0.4;
			}

			&:hover p {
				@include transform( translate3d( 2em, 0, 0 ) );

				opacity: 1;
			}
		}
	}
}


/* =Bootstrap fixes
-------------------------------------------------------------- */
h1 {
	font-size: 32px;
}
h2 {
	font-size: 28px;
}
h3 {
	font-size: 26px;
}
h4 {
	font-size: 24px;
}
h5 {
	font-size: 22px;
}
h6 {
	font-size: 20px;
}

.tab-content {
	padding: 15px;
	background: #fff;
	border: 1px solid #ddd;
	border-top: 0;
}

pre {
	font-size: 12px;
}

.btn,
input,
textarea {
	text-decoration: none;
}

[rel="tooltip"]:hover {
	text-decoration: none;
}

.from-the-blog .page-header {
	margin-top: 0;
}

.nav-tabs > li > a {
	text-decoration: none;
}

.wp-caption-text {
	color: #666;
}

.page-header {
	border-color: $col_border;
}

.carousel-control i {
	position: absolute;
	top: 50%;
	left: 20px;
	margin-top: -12px;
	font-size: 24px;
}

.carousel-control.right i {
	left: auto;
	right: 20px;
}

.carousel-caption h3 {
	color: #fff;
}

.tab-pane {
	color: #444;
}

label input {
	font-weight: normal;
}

/*.dropdown-submenu {
	position:relative;
}

.dropdown-submenu > .dropdown-menu {
	border-top-right-radius: 0;
	border-top-left-radius: 0;
	top:0;
	left:100%;
	margin-top:-6px;
	margin-left:-1px;
}

.dropdown-submenu:hover > .dropdown-menu {
	display: block;
}

.dropdown-submenu > a:after {
	display:block;
	content:"";
	float:right;
	width:0;
	height:0;
	border-color:transparent;
	border-style:solid;
	border-width:5px 0 5px 5px;
	border-left-color:#ccc;
	margin-top:5px;
	margin-right:-10px;
}

.dropdown-submenu.pull-left {
	float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
	left: -100%;
	margin-left: 10px;
}*/

/* =bbPress
-------------------------------------------------------------- */
#bbpress-forums .avatar {
	@include box-sizing( content-box );
}

.bbp-author-avatar {
	display: inline-block;

	img {
		margin-bottom: 0 !important;
	}
}

.bbp-search-form {
	margin-bottom: 20px;
}

.subscription-toggle {
	float: right;
}

.quicktags-toolbar,
.wp-editor-area {
	border: 1px solid $col_border !important;
}

legend {
	color: $col_text;

	.bbp-topic-form &,
	.bbp-reply-form & {
		border-bottom: 0;
		display: inline-block;
		width: auto;
	}
}

.bbp-topics,
.bbp-topics a,
.bbp-replies,
.bbp-replies a {
	color: #444;
	font-size: 14px;
}

.quicktags-toolbar {
	border-bottom: 0 !important;
}

.wp-editor-area {
	@include border-radius( 0 0 6px 6px );
}

#bbpress-forums fieldset.bbp-form {
	border-color: $col_border;
}

/* =BuddyPress
-------------------------------------------------------------- */
#buddypress {
	.clear {
		clear: both;
	}

	.avatar {
		margin: 0 !important;
		border: 0 !important;
	}

	div#item-header img.avatar {
		margin: 0 15px 19px 0 !important;
	}

	#avatar-upload #file {
		margin-bottom: 20px;
	}

	.label {
		display: table-cell;
		font-size: inherit;
		line-height: inherit;
		color: inherit;
		text-align: left;
		white-space: inherit;
		border-radius: 0;
	}

	button,
	a.button,
	input[type=submit],
	input[type=button],
	input[type=reset],
	ul.button-nav li a,
	div.generic-button a,
	.comment-reply-link, a.bp-title-button {
		font-size: 12px;
	}

	div.item-list-tabs ul li.current a,
	div.item-list-tabs ul li.selected a	{
		font-weight: normal;
	}
}

.wp-caption p.wp-caption-text {
	padding: 10px 0 0 !important;
}

#wpstats {
	display: block;
	margin: auto;
	padding: 10px 0;
}

/* =Woocommerce
-------------------------------------------------------------- */
.woocommerce,
.woocommerce-page {
	.page-title {
		margin-bottom: 20px;
	}

	.button {
		font-weight: normal !important;
	}

	table.shop_table {
		@include border-radius(0);

		border-collapse: collapse;
		border: 0;
	}

	a.added_to_cart {
		padding-left: 30px;
	}

	.woocommerce-error:before,
	.woocommerce-info:before,
	.woocommerce-message:before {
		padding-top: 0;
	}

	.cart-collaterals .cart_totals {
		h2 {
			text-align: left;
		}

		table {
		    th {
			    width: 220px;
			    border-right: 0;
		    }

		    th,
		    td {
				border-top: 1px solid #ddd !important;
				padding: 5px 10px;
		    }
		}
	}

	#ship-to-different-address {
		label {
			display: inline-block;
			padding: 0;
		}
	}

	#payment div.payment_box:after {
		top: -1px;
	}
}