.widget {
	margin-bottom: 50px;
	&:after {
		content: '';
		clear: both;
		display: block;
	}

}

.primary-sidebar .widget:last-child {
	margin-bottom: 0;
}
@media (max-width: 991px) {
	.primary-sidebar {
		margin-top: 30px;
	}
}

.widget-title {
	@include widget-title();
}

/**
* Archive, categories, nav_menu
* ----------------------------------------------------------------------------
*/
.widget_archive ul,
.widget_categories ul,
.widget_nav_menu ul,
.widget_pages ul{
	@include widget-archive();
}


.widget_archive ul,
.widget_categories ul {
	a:hover + .count {
		color: var(--g5-color-accent);
	}
	.current-cat {
		span.count,
		> a {
			color: var(--g5-color-accent);
		}
	}
}

.widget_pages ul {
	.current_page_item {
		> a {
			color: var(--g5-color-accent);
		}
	}
}

.widget_nav_menu ul {
	.current-menu-item {
		> a {
			color: var(--g5-color-accent);
		}
	}
}

.widget_archive,
.widget_categories {
	select {
		width: 100%;
	}
	.screen-reader-text {
		display: none;
	}
}

/**
* Calendar
* ----------------------------------------------------------------------------
*/
.widget_calendar {
	@include widget-calendar();
}

/**
* Meta, Recent Comment, Rss, Recent Entries
* ----------------------------------------------------------------------------
*/
.widget_rss ul,
.widget_recent_entries ul,
.widget_recent_comments ul,
.widget_meta ul {
	@include widget-meta();
}

/**
* Search
* ----------------------------------------------------------------------------
*/
.search-form {
	@include widget-search();
}

/**
* TagClound
* ----------------------------------------------------------------------------
*/
.tagcloud {
	@include widget-tag();
}

/**
* G5Plus:Posts
* ----------------------------------------------------------------------------
*/
.widget-posts {
	a{
		cursor: pointer;
	}
	.play-video-hover i {
		height: 30px;
		width: 45px;
		line-height: 28px;
		font-size: 18px;
	}
	ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	li {
		margin-bottom: 15px;
	}
	li:last-child {
		margin-bottom: 0;
	}
	.entry-thumb-wrap {
		width: 83px;
		margin-bottom: 0;
		margin-right: 15px;
		float: left;
		.slick-dots{
			display: none!important;
		}
		.image-link-hover{
			display: none;
		}
	}
	.entry-content-wrap {
		line-height: 1.625;
		overflow: hidden;
	}
	.entry-thumb-wrap + .entry-content-wrap{
		.entry-post-title {
			margin-top: -5px;
		}
	}
	.entry-content-wrap h3.entry-post-title {
		font-size: 16px;
		margin: 0 0 3px 0;
		color: #000;
		a{
			color: #000;
			&:hover{
				color: var(--g5-color-accent);
			}
		}
	}
	.entry-meta-date {
		font-size: 13px;
		display: inline-block;
	}
	.entry-meta-comment{
		display: inline-block;
	}
	.entry-meta-date + .entry-meta-comment{
		&:before{
			content: '/';
			display: inline-block;
			font-size: 13px;
		}
	}
	.embed-responsive.embed-responsive-16by9.embed-responsive-thumbnail{
		padding-bottom: 100%;
	}
}


/**
* Widget Text: Contact Info
* ----------------------------------------------------------------------------
*/
.contact-info {
	padding: 0;
	margin: 0;
	list-style: none;
	li {
		display: inline-block;
		+ li {
			margin-left: 40px;
			position: relative;
			&:before {
				position: absolute;
				content: '';
				border-left: solid 1px var(--g5-border-color-dark);
				right: 100%;
				height: 14px;
				margin-right: 20px;
			}
		}
		i {
			margin-right: 5px;
		}
	}
}

.social-profiles {
	font-size: 0;
	a{
		display: inline-block;
		text-align: center;
		@include transition05();
		i{
			width: 100%;
			height: 100%;
			line-height: inherit;
		}
	}
	&.classic
	{
		a {
			border-right: 1px solid #dddddd;
			color: var(--g5-color-secondary);
			line-height: 44px;
			width: 41px;
			height: 44px;
			font-size: 13px;
			&:first-child{
				border-left: 1px solid #dddddd;
			}
		}
	}
	&.rectangle
	{
		a{
			width: 29px;
			height: 29px;
			@include border-radius(3px);
			margin-right: 6px;
			line-height: 29px;
			font-size: 11px;
		}
		i{
			background: #3a4b5b;
			color: #fff;
		}
	}
	a:hover i {
		color: #fff;
		&.fa-facebook {
			background-color: #3b5998;
		}
		&.fa-twitter {
			background-color: #44ccf6;
		}
		&.fa-google-plus, &.fa-google {
			background-color: #d13f2d;
		}
		&.fa-dribbble {
			background-color: #f26798;
		}
		&.fa-youtube {
			background-color: #c8302a;
		}
		&.fa-vimeo {
			background-color: #914cc9;
		}
		&.fa-tumblr {
			background-color: #395976;
		}
		&.fa-skype {
			background-color: #02B4EB;
		}
		&.fa-linkedin {
			background-color: #1883BB;
		}
		&.fa-flickr {
			background-color: #63A1EA;
		}
		&.fa-pinterest {
			background-color: #E71F28;
		}
		&.fa-foursquare {
			background-color: #F94777;
		}
		&.fa-instagram {
			background-color: #549BC5;
		}
		&.fa-github {
			background-color: #000;
		}
		&.fa-xing {
			background-color: #005D5E;
		}
		&.fa-behance {
			background-color: #4176FA;
		}
		&.fa-deviantart {
			background-color: #657C6A;
		}
		&.fa-soundcloud {
			background-color: #FF6A22;
		}
		&.fa-yelp {
			background-color: #FF0000;
		}
		&.fa-rss {
			background-color: #FF9900;
		}
		&.fa-vk {
			background-color: #00A8EC;
		}
	}
}

.singleAdds {
	position: relative;
	padding-left: 22px;
	line-height: .8;
	margin-bottom: 20px;
	i{
		position: absolute;
		left: 0;
		top: 0;
		color: var(--g5-color-accent);
		font-size: 14px;
	}
	p,a{
		margin-bottom: 0;
	}
}

.newsletter {
	position: relative;
	input {
		background: #253443;
		border: medium none;
		border-radius: 3px;
		height: 45px;
		line-height: 45px;
		width: 100%;
		font-size: 13px;
		font-style: italic;
		padding: 0 13px;
		color: inherit;
	}
	button {
		background: #3a4b5b;
		color: #FFF;
		font-size: 15px;
		height: 45px;
		padding: 8px 18px;
		position: absolute;
		right: 0;
		top: 0;
		border: none;
		@include border-radius(3px);
		@include transition05();
	}
}

.p-contact-form {
	span.name,
	span.email,
	span.website{
		margin-bottom: 15px;
		display: inline-block;
		width: 100%;
		>span{
			position: absolute;
			top: 0;
			bottom: 0;
			right: 10px;
			line-height: 30px;
			height: 30px;
			display: block;
			margin: auto;
		}
	}
	input[type='text'],
	input[type='email']{
		margin: 0;
	}
	textarea{
		font-size: 14px;
		width: 100%;
		height: 180px;
		padding: 20px 15px;
	}
	.form-submit{
		margin-top: 15px;
		input[type='submit']{
			text-transform: capitalize;
			font-weight: bold;
		}
	}
}

.pi-contact-info{
	ul,li{
		list-style: none;
		padding: 0;
		margin: 0;
	}
	li i {
		width: 35px;
		float: left;
		display: inline-block;
		margin-top: 9px;
		color: var(--g5-color-accent);
	}
	ul li+li{
		margin-top: 10px;
	}
	.info{
		overflow: hidden;
		span,p{
			display: inline-block;
		}
	}
	span{
		color: #272727;
	}
	a > i{
		color: var(--g5-color-secondary);
		&:hover{
			color: var(--g5-color-accent);
		}
	}
	li.social-icon{
		padding-left: 35px;
	}
}

.services-sidebar {
	ul.menu {
		background-color: #f1f1f1;
		li {
			color: var(--g5-color-secondary);
			> a {
				display: block;
				padding: 15px 16px 15px 30px;
				&:hover {
					background: var(--g5-color-secondary);
					color: var(--g5-color-accent);
				}
			}
		}

		li.current-menu-item {
			> a {
				background: var(--g5-color-secondary);
				color: var(--g5-color-accent);
			}
		}

		li + li {
			margin-top: 0;
			padding-top: 0;
		}

		li > ul {
			margin-top: 0;
			padding-top: 0;
			display: block;
			li > a {
				padding-left: 50px;
				font-size: 13px;
				font-style: italic;
				&:before {
					display: none;
				}
			}
		}

		.li-caret {
			display: none;
		}

	}
}

.widget-download
{
	padding-left: 17px;
	h3{
		font-size: 16px;
		font-weight: 700;
		color: #2c3e50;
		margin-bottom: 25px;
	}
	a{
		display: block;
		color: #8a8a8a;
		line-height: .8;
		margin-bottom: 14px;
		i{
			margin-right: 8px;
		}
	}
}