.widget {
	.screen-reader-text {
		display: block;
		margin: 0 0 10px 0;
		@include font-size(1.4);
	}
	select {
		padding: 2px;
		line-height: 40px;
		height: 40px;
		vertical-align: middle;
		border-spacing: 0;
		clear: both;
		margin: 0;
		@include font-size(1.4);
		width: 100%;
		max-width: 360px;
		outline: none;
		background: transparent;

		.site-footer & {

			color: $color__white;
			option {
				color: $color__dark;
			}
		}
	}


	&.widget_display_topics,
	&.widget_display_views,
	&.widget_display_forums,
	&.widget_layered_nav,
	&.widget_product_categories,
	&.widget_categories,
	&.widget_archive,
	&.widget_pages,
	&.widget_meta {

		& > ul:after{
			content:'';
			display: block;
			clear: both;
		}

		& > ul > li{
			&:first-child a{
				padding-top: 0;
			}
		}

		li > ul, li > ol {
			margin-bottom: 0;
		}

		ul ul {
			padding-top: 5px;
			margin-top: 6px;
		}

		li {
			margin-bottom: 5px;
			padding-bottom: 6px;
			text-align: left;
			color: $color__black;
			font-weight: 500;
			line-height: 1.3;
			display: block;
			width: 100%;
			padding-right: 0;
			clear: both;
			overflow: hidden;

			a {
				line-height: inherit;
				position: relative;
				text-align: left;
				padding-top: 0;
				padding-bottom: 0;
			}

			.category-item-count {
				float: right;

			}
		}
	}

	&.widget_layered_nav,
	&.widget_product_categories {
		a + ul {
			margin-top: 20px;
		}
	}

	&.widget_nav_menu {
		.menu:after{
			content:'';
			display: block;
			clear: both;
		}

		.menu > li{
			&:first-child a{
				padding-top: 0;
			}

			&:last-child a{
				padding-bottom: 0;
			}
		}

		li > ul, li > ol {
			margin-bottom: 10px;
		}

		li {
			text-align: right;
			color: $color__black;
			font-weight: 500;
			line-height: 1.3;
			display: block;
			width: 100%;
			padding-right: 2px;
			clear: both;

			a {
				line-height: inherit;
				float: left;
				position: relative;
				text-align: left;
				padding-top: 5px;
				padding-bottom: 5px;
			}

			.fa {
				padding-right: 5px;
			}
		}
	}

	&.widget_display_replies{

		& > ul:after{
			content:'';
			display: block;
			clear: both;
		}

		& > ul > li{
			&:first-child a{
				padding-top: 0;
			}

			&:last-child a{
				padding-bottom: 0;
			}
		}

		li > ul, li > ol {
			margin-bottom: 10px;
		}

		a {
			color: $color__black;
			font-weight: 500;
		}

		li{
			line-height: 2.14;
		}

		.bbp-author-avatar {
			padding-top: 0;
			padding-bottom: 0;
		}

		div{
			font-weight: normal;
			color: $color__meta;
			line-height:1.3;
			margin-bottom: 10px;
			font-size: 13px;
		}
	}

	&.widget_display_views {
		&> ul {
			margin-top: 20px;
		}
		.penci-block-heading > ul {
			margin-top: 0;
		}
	}

	&.bbp_widget_login {
		&> .bbp-logged-in {
			margin-top: 20px;
		}
		.penci-block-heading > .bbp-logged-in {
			margin-top: 0;
		}
	}
}
