$col_text: #222;
$col_anchor: #787878;
$col_background: #DADCDE;
$col_border: #CCC;

$font: 'Roboto', sans-serif;

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

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

a {
	@include transition( background-color 0.3s 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;		

		&.btn {
    	    color: #fff;
		}

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

pre {
	margin: 1em 0;
}

.alert {
	font-size: 14px;
}

blockquote {
	border-left-color: $col_border;
}

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

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

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

	th {
		background: $col_background;
		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;
	font-size: 14px;
	color: #555;
}

/* =Header
-------------------------------------------------------------- */
.navbar-brand {
	text-transform: none;
	font-size: 32px;
	text-decoration: none;

	@include breakpoint(phone) {
		font-size: 24px;
	}

	&:hover small {
		color: #aaa;
	}

	small {
		font-size: 13px;
		color: #777;
		font-weight: normal;
		
		@include breakpoint(phone) {
			display: none;
		}
	}
}

#site-logo {
	margin-right: 6px;
	max-height: 30px;
	position: relative;
	top: -4px;
}

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

/* =Main Navigation
-------------------------------------------------------------- */
.navbar {
	margin: 0 -20px;
	border-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	text-transform: uppercase;
	font-size: 14px;
	
	a {
		text-decoration: none;
	}
}

.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: 7px;
	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: #bbb;

		&:before {
			@include border-radius(20px);

			content: '\f007';
			float: left;
			text-align: center;
			margin: 0 0 0 3px;
			font-family: FontAwesome;
			font-size: 18px;
			background: black(0.1);
			width: 35px;
			height: 35px;
			line-height: 35px;
		}

		&:hover {
			color: #aaa;

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

		&[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);
			}
		}
	}
}

/* =Jumbotron
-------------------------------------------------------------- */
.home-top {
	padding: 0;
	background: #e0f1f4;
	width: 100%;
}

.home-jumbotron {
	padding-top: 60px;
	padding-bottom: 60px;
	font-size: 18px;
	line-height: 1.6;
	
	h1 {
		margin: 0 0 20px;
	}
	
	& .jumbo-headline div:first-letter {
		font-size: 100px;
		float: left;
		line-height: .75;
		padding-right: 10px;
	}
}

/* =Home Widgets
-------------------------------------------------------------- */
#home-page-widgets {
	padding-top: 60px;

	@include breakpoint(tablet) {
		margin: 0;
	}
}

.home-widget {
	margin: 0 0 30px;
	padding: 20px;
	font-size: 16px;
	line-height: 1.6;

	.widget-container {
		border: 1px solid $col_border;
		padding: 20px;
	}

	img {
		margin-top: 0;
	}
}

.home-widget-title {
	margin-bottom: 15px;
	font-size: 24px;

	a {
		text-decoration: none;
	}
}

.bavotasan_custom_text_widget {
	i {
		@include border-radius(2em);

		font-size: 28px;
		margin: 10px auto 0;
		display: block;
	}

	h3,
	i,
	.btn-container {
		text-align: center;
	}
	
	h3 {
		margin-top: 5px;
	}

	.btn {
		margin-top: 20px;
	}

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

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

#primary {
	margin: 50px 0;

	&.centered {
		float: none !important;
		margin-left: auto;
		margin-right: auto;
	}

	@include breakpoint(desktop) {
		float: none !important;
	}
}

/* =Article
-------------------------------------------------------------- */
article {
	margin-bottom: 40px;
	font-size: 16px;
	padding: 20px;
	border: 1px solid $col_border;

	.single & {
		margin-bottom: 20px;
	}

	.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: 0;
	letter-spacing: -1px;
	line-height: 1.2;

	a {
		text-decoration: none;
					
		&:hover {
			color: #222;
			background-color: #DADCDE;
		}			
	}

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

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

	&.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 {
	color: #444;
	border: 0;
	padding: 1em 0;
	margin: 1em 1.625em 1em 0;
	text-align: right;
	width: 33%;
	float: left;
	border-top: 1px solid $col_border;
	border-bottom: 1px solid $col_border;

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

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

	@include breakpoint(phone) {
		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 {
		padding-left: 70px;
		font-style: italic;
		font-size: 28px;
		line-height: 1.4;
	}

	blockquote,
	blockquote p {
		margin: 0;
		border: 0;
		padding: 0;
		font-weight: normal;
		font-size: 21px;
		line-height: 1.4;
	}
	
	blockquote:before {
		content: "\201C ";
		font-family: georgia, serif;
		font-size: 3em; 
		line-height: 0;
		vertical-align: -0.45em;	
		padding-right: 5px;	
		margin-left: -70px;	
	}
	
	i.quote {
		color: #ccc;
		display: block;
		font-size: 60px;
		position: relative;
		float: left;
	}

	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-caption {
	font-size: 14px;
}

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

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

	.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 {
	color: $col_anchor;
	font-size: 14px;
	margin-bottom: 0;

	span {
		margin-right: 5px;
	}

	a {
		margin: 0 2px 5px 0;
		display: inline-block;

		&:hover {
			background: $col_background;
		}
	}
}

/* =Pagination
-------------------------------------------------------------- */
.navigation {
	padding: 20px 0 40px;

	.infinite-scroll & {
		display: none;
	}

	.nav-previous,
	.nav-next {
		float: left;
		position: relative;
		
		a {
			@include border-radius(4px);
	
			position: absolute;
			top: 50%;
			left: 0;
			display: block;
			color: #fff;
		 	background-color: #222;
		 	background-color: rgba(34, 34, 34, 0.7);
			text-decoration: none;
			font-size: 12px;
			width:40px;
			height:40px;
			
	
			&:hover {
			 	color: #fff;
			 	background-color: #222;
			}
			
			&:before {
				cursor: pointer;
				content: "\f104";
				font-family: FontAwesome;
				display: block;
				text-align: center;
				line-height: 40px;
				font-size: 24px;
			}			
		}
	}

	.nav-next {
		float: right;
		position: relative;
		
		a {
			right: 0;
			left: inherit;
			
			&:before {
				content: "\f105";
			}
		}	
	}
	
	a {
		text-decoration: none;
	}
}

.infinite-loader .spinner {
	left: 50% !important;
}

#infinite-handle {
	padding: 40px 0;
	clear: both;
}

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

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

	&:hover {
		background: $col_background;
	}
}

#posts-pagination {
	font-size: 14px;
	padding: 0 0 20px;

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

	a {
		white-space: normal;
		display: block;
		text-align: left;
		text-decoration: none;
	}

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

/* =Comments
-------------------------------------------------------------- */
.comments-area {
	border-top: 1px solid $col_border;
	
	.commentlist,
	.children {
		list-style: none;
		padding: 0;
	}

	#comments-title {
		padding: 0 0 10px;
		font-size: 1.125em; /* 18/16 */
	}
}

.comment-form input {
	clear: both;
	display: block;
	
	&[type="checkbox"] {
		display: inline-block;
	}
}

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

	.comment {
		.avatar {
			float: left;
		}

		.reply,
		.comment-author,
		.comment-meta,
		.comment-text {
			padding-left: 90px;
		}

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

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

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

	.children {
		margin: 20px 0 0;

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

	}

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

	.bypostauthor > .comment-body {
		background: #eee;
	}
	
	.reply {
		margin-top: 20px;
		
		a {
			padding: 2px 6px;
		}
	}
}

.comment-reply-link,
.form-submit #submit {
	text-decoration: none;
}

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

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

		code{
			white-space: normal;
		}
	}
	
	label {
		font-weight: normal;
	}
}

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

/* =Archives
-------------------------------------------------------------- */
#archive-header {
	margin-bottom: 40px;
}

.page-title {
	margin: auto;
	width: 100%;
	font-size: 21px;
}

.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;
	}
}

.jumbo-headline,
.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: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid $col_border;

	ul {
		padding-left: 10px;		
	}
	.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;
			}
		}
	}
}

/* =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
-------------------------------------------------------------- */
#footer {
	background: $col_border;
	color: $col_anchor;
	font-size: 13px;
	position: relative;
	z-index: 100;
	clear: both;
	padding-top: 10px;

	.row {
		margin-bottom: 0;
	}

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

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

	.copyright {
		text-align: center;
	}
	
	.footer-notice {
		margin-bottom: 10px;
	}
}

/* =Grid Template
-------------------------------------------------------------- */
.page-template-page-templatestemplate-grid-php main {
	article {
		padding-bottom: 0;
		margin-bottom: 40px;
	}
}

.grid-template {
	.col-md-4:nth-child(3n+1) {
		clear: both;
	}

	.entry-title {
		margin-bottom: 5px;
	}

	img {
		padding: 0;
		background: none;
		border: 0;
		width: 100%;
	}
}

.grid-wrapper {
	border: 1px solid $col_border;
	padding: 20px;
	margin-bottom: 40px;
	min-height: 220px;
	font-size: 14px;
}

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

		float: left;
		display: block;
	}

	h1,
	h2 {
		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 - Codrops photo grid
-------------------------------------------------------------- */
.sticky-container {
	margin: 20px 0;
	
	@include breakpoint(tablet) {
		margin-bottom: 40px;
	}
}

.cbp-rfgrid {
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
	width: 100%;
	float: left;

	li {
		position: relative;
		float: left;
		overflow: hidden;
        width: 25%; /* Fallback */
        width: -webkit-calc(100% / 4);
        width: calc(100% / 4);

		a,
		a img {
			display: block;
			width: 100%;
			cursor: pointer;
		}

		a {
			img {
				max-width: 100%;
			}

			div {
				@include transition( all .4s ease-in-out ); 

				display: table-cell;
				height: 100%;
				position: absolute;
				top: 0;
				left: 0;
				margin: 0;
				opacity: 0;
				text-align: center;
				vertical-align: middle;
				width: 100%;
				z-index: 15; 

				h3 {
					background-color: black(.5);
					color: #fff;
					display: block;
					height: 100%;
					text-decoration: none;
					vertical-align: middle;
					margin: 0; 
					
					span {
						border: 1px solid #fff;
						display: table-cell;
						padding-top: 25%;
						position: absolute;
						top: 20px;
						bottom: 20px;
						right: 20px;
						left: 20px; 
					}
				}

			}
		
			&:hover div {
				opacity: 1;
			}
		}
	}
}

/* Example for media query: change number of items per row */

@media screen and (max-width: 992px) {
	.cbp-rfgrid li {
		width: 33.3333333%; /* Fallback */
		width: -webkit-calc(100% / 3);
		width: calc(100% / 3);
	}
}

@media screen and (max-width: 600px) {
	.cbp-rfgrid li {
		width: 50%; /* Fallback */
		width: -webkit-calc(100% / 2);
		width: calc(100% / 2);
	}
}

@media screen and (max-width: 320px) {
	.cbp-rfgrid li {
		width: 100%;
	}
}

/* =Bootstrap fixes
-------------------------------------------------------------- */
.with-social {
	margin-right: 0 !important;
}

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

pre {
	font-size: 12px;
}

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

.carousel-control {
	width: 8%;

	i {
		position: absolute;
		top: 50%;
		left: 50%;
		font-size: 24px;
		margin: -10px 0 0 -12px;
	}
}

.btn,
input,
textarea {
	@include border-radius( 0 );
	text-decoration: none;
}

.btn-container .btn {
	background: $col_anchor;
	color: #fff;
	text-decoration: none;

	&:hover {
		background: $col_background;
		color: #333333;
	}
}

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

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

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

/*.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 {
	.bbp-topic-form &,
	.bbp-reply-form & {
		border-bottom: 0;
		display: inline-block;
		width: auto;
	}
}

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

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

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

	.avatar {
		margin-top: 10px !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;
	}
}

.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;
	}

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

	.cart-collaterals .cart_totals {
		h2 {
			text-align: left;
		}
		
		table {		    
		    th {
			    width: 220px;
		    }
		    
		    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;
	}
}