/*

ThemeName |-> News Plus

*/
@import "../_demo-helper/general";

/* Header */
$topbar_height: 39px;

$header: 'style-1';
$header_height: 60px;

/* Widget */
$about_us_text_align: left;
$about_us_social_icon_font_size: 13px;
$about_us_social_icon_size: 30px;

@import "../_demo-helper/helper";

/**
 * => Optimized Fonts
 **/
.bs-about,
.post-meta,
.post-title,
a.read-more,
.post-summary,
.entry-content p,
.btn-bs-pagination,
.bs-listing .title,
.newsletter-subscribe,
.listing-item .title a,
.term-badges.floated a,
.bs-numbered-pagination,
.mega-links > .menu-item a,
ul.menu.footer-menu li > a,
.section-heading > .h-text,
.better-newsticker .heading,
.section-heading a > .h-text,
.site-footer .footer-widgets,
.off-canvas-menu > ul > li > a,
.pagination.bs-links-pagination,
.post-count-badge.pcb-t1.pcb-s1,
.site-header .main-menu > li > a,
.site-header .topbar .topbar-inner,
.better-newsticker ul.news-list li a,
.site-footer .bs-about .about-link a,
.term-badges .term-badge:first-child a,
.site-footer .copy-1, .site-footer .copy-2,
.bs-subscribe-newsletter .subscribe-message,
.footer-widgets .widget_nav_menu ul.menu li a {
  @include optimize_font;
}

/**
 * => General style
 **/
a, a:focus, a:hover {
  text-decoration: none;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -o-transition: all .4s ease;
  transition: all .4s ease;
}

.layout-1-col, .layout-2-col, .layout-3-col {
  margin-top: 0 !important;
}

/* Header */
.site-header {
  .topbar {
	.better-social-counter.style-button .social-item .item-icon {
	  font-size: 14px;
	}

	.topbar-date {
	  padding: 0 20px 0 0;

	  &:after {
		content: '';
		position: absolute;
		width: 1px;
		height: 15px;
		background-color: rgba(255, 255, 255, 0.2);
		right: 3px;
		top: 9px;
	  }
	}
  }
  .off-canvas-menu-icon .off-canvas-menu-icon-el {
	width: 100%;
  }

  .search-container .search-handler {
	line-height: 57px;
  }

  .main-menu-wrapper {
	border-bottom-width: 1px !important;

	.main-menu.menu {
	  & > li {
		margin: 0;

		& > a {
		  padding: 0 25px;

		  &:before {
			height: 1px;
			bottom: 2px;
		  }
		}
	  }
	}
  }
}

/* News Ticker */
.better-newsticker {
  .control-nav span {
	border-radius: 0 !important;
	line-height: 22px;
  }

  .heading {
	border-radius: 0;
	width: 110px;
	width: 125px;
	padding-right: 7px;

	&:after {
	  border-top-width: 24px !important;
	  border-left-width: 16px !important;
	  border-bottom-width: 0;
	  margin-top: 0;
	  top: auto;
	  bottom: 0;
	  right: auto;
	  left: 100%;
	}

	&:before {
	  content: '\f105';
	  font: normal normal normal 16px/1 FontAwesome;
	  color: #FFFFFF;
	  position: absolute;
	  right: 4px;
	  top: 50%;
	  margin-top: -9px;
	}
  }

  ul.news-list li {
	left: 160px;

	&.active {
	  left: 150px;
	}
  }
}

/* Modern Grid 8 */
.listing-modern-grid-8 {
  .listing-mg-8-item.listing-item-2 {
	.title {
	  font-size: 63%;
	}

	.post-meta {
	  display: none;
	}
  }

  .listing-mg-8-item.listing-item-3 .title,
  .listing-mg-8-item.listing-item-4 .title {
	font-size: 50%;
  }

  .listing-mg-8-item.listing-item-5 {
	.title {
	  font-size: 65%;
	}

	.post-meta {
	  display: none;
	}
  }
}

/* Section Heading */
.section-heading.sh-t5.sh-s1 > .h-text:last-child:first-child {
  color: #000000;
}

/* Mix 8 */
.listing-mix-3-2 {
  .listing-item-grid-1 .title {
	font-size: 25px;
	line-height: 32px;
  }
}

/* Pagination */
.pagination.bs-numbered-pagination {
  .page-numbers {
	color: #000000;
	font-weight: 400 !important;
	min-width: 33px;
	height: 33px;
	line-height: 33px;
  }

  .current {
	color: #FFFFFF !important;
  }
}

body {
  a.read-more,
  .entry-content a.read-more,
  .listing-item-classic:hover a.read-more,
  .listing-item-blog:hover a.read-more {
	background-color: transparent !important;
	color: #000000;
	font-weight: 500;
	font-size: 11px;
	padding: 0;
	line-height: 28px;
  }
}

/* newsletter Pack */
.bs-newsletter-pack.bsnp-t1 {
  .bsnp-title {
	font-size: 16px;
  }

  .bsnp-desc {
	font-size: 11px;
  }
}

/* blocks */
.sidebar,
.bs-vc-sidebar-column {
  .bs-listing {
	padding: 15px 25px 21px;
	border: solid 1px #eaeaea;

	.listing-item:last-child {
	  margin-bottom: 0;
	}
  }
}

/* Thumbnail 1 */
.listing.columns-1 .listing-item {
  .post-meta {
	padding-top: 0;
  }
}

/* Mix 4 */
.bs-listing-listing-mix-1-4 {
  .listing-item-grid-1 .title {
	font-size: 150%;
	line-height: 1.3;
  }

  .listing-item-tb-2 .title {
	font-size: 100%;
  }

  .bs-pagination {
	margin-top: 0;
  }
}

/* Footer */
.site-footer {
  .footer-widgets.light-text {
	.sidebar .bs-listing {
	  padding: 0;
	  border: none;
	}

	.widget.widget_nav_menu ul.menu {
	  font-size: 0;

	  li {
		display: inline-block;
		width: 50%;
		font-weight: 400;

		a {
		  border: none !important;
		  font-size: 13px;
		  padding: 0 0 6px;

		  &:hover {
			background-color: transparent !important;
			color: #ffffff;
		  }

		  &:before {
			content: '';
			border-radius: 100%;
			background-color: #cdcdcd;
			margin: 0;
			width: 4px;
			height: 4px;
			position: relative;
			top: -2px;
			margin-right: 6px;
		  }
		}
	  }
	}

	.section-heading.sh-t5.sh-s1 > .h-text:last-child:first-child {
	  color: #ffffff;
	}

	.bs-about {
	  .about-text {
		font-size: 13px;
	  }

	  .about-icons-list {
		.about-icon-item {
		  a {
			border-radius: 100%;
			box-shadow: none !important;
			background-color: rgba(255, 255, 255, 0.1);

			&:hover {
			  background: none rgba(255, 255, 255, 0.2) !important;
			}
		  }
		}
	  }
	}
  }

  .footer-widgets {
	& > .content-wrap {
	  &:after {
		content: '';
		position: absolute;
		height: 1px;
		right: 20px;
		left: 20px;
		background-color: rgba(255, 255, 255, 0.15);
		bottom: -30px;
	  }
	}
  }

  .copy-footer {
	padding: 30px 0 32px;
  }

  .footer-widgets {
	padding: 65px 0 35px;
  }

  .section-heading.sh-t1 .h-text {
	padding: 0;
  }
}