/*

ThemeName |-> News Time

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

/* Header */
$header: 'style-8';
$header_height: 84px;

/* Term Badge */
$term_badges: left-bottom;

/* 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;
}

body.boxed .main-wrap {
  box-shadow: none;
}

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

body .vc_col-has-fill > .bs-vc-wrapper {
  padding-top: 0 !important;
}

/* Site Header */
.site-header.header-style-8 {
  .main-menu.menu.main-menu.menu.main-menu.menu > li {
	margin-right: 30px !important;

	a {
	  padding: 0;

	  &:before {
		background-color: rgba(255, 255, 255, .5) !important;
		height: 1px;
		bottom: 27px !important;
	  }
	}
  }
}

/* Newsletter */
.better-newsticker {
  .heading {
	background-color: transparent !important;
	color: #2c2c2c;
	width: 105px;
	text-align: left;
	font-size: 13px;

	&:after {
	  content: '\f105';
	  border: none;
	  font: normal normal normal 15px/1 FontAwesome;
	  right: -6px;
	  margin-top: -7px;
	  font-size: 13px;
	}
  }

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

	&.active {
	  left: 120px;
	}
  }

  .control-nav span {
	line-height: 21px;
	border-radius: 0 !important;
  }
}

/* Slider 1 */
.bs-slider-1 {
  .bs-slider-1-item {
	.content-container {
	  padding: 0 10px 30px;

	  .title {
		max-width: 100% !important;
		text-align: left !important;
	  }
	}
  }
}

/* Modern Grid 3 */
.listing-mg-3-item {
  .content-container {
	bottom: 14px;

	.title {
	  text-align: left !important;
	  font-size: inherit !important;
	}
  }
}

/* Section Heading */
.section-heading.sh-t3.sh-s1 {
  &:after {
	height: 1px;
  }
}

.section-heading.sh-t2.sh-s1 {
  .h-text {
	padding: 8px 0;
  }

  &:after {
	background-color: rgba(0, 0, 0, 0.1) !important;
  }
}

/* Text Listing 3 */
.listing-item-text-3 {
  margin-bottom: 17px;

  .item-inner {
	padding-bottom: 21px;

	.post-meta {
	  margin-top: 7px;
	}
  }

  &:last-child {
	.item-inner {
	  border-bottom: none !important;

	}
  }
}

/* Blog Listing 5 */
.listing-item-blog {
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  padding-bottom: 20px;

  &:last-child {
	padding-bottom: 0;
	border-bottom: none !important;
	margin-bottom: 0 !important;
  }
}

/* Newsletter */
.bs-newsletter-pack.bsnp-t1.bsnp-s3 {
  box-shadow: none !important;
}

/* Site Footer */
.site-footer {
  .footer-copy-row {
	margin-top: 15px;
  }

  .copy-footer {
	.footer-menu-wrapper {
	  .footer-menu-container {
		&:before {
		  border-bottom: solid 1px rgba(255, 255, 255, 0.1);
		  border-top: solid 1px rgba(255, 255, 255, 0.1);
		}
	  }
	}
  }
}

/* Thumbnail 1 */
.listing-item-tb-1 {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);

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

/* Footer */
.site-footer {
  .footer-widgets {
	padding: 65px 0 35px;
  }

  .widget.widget_nav_menu ul.menu {
	li {
	  & > a {
		border: none;
		background: transparent !important;
		padding: 0;
		font-size: 13px;
		color: #acacac;

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

		&:before {
		  display: none;
		}
	  }
	}
  }

  .section-heading.sh-t5.sh-s1 {
	margin-bottom: 15px;
	padding-bottom: 6px;

	&:before {
	  display: none;
	}

	.h-text {
	  &:before {
		max-width: 20px;
		height: 1px;
	  }
	}
  }

  .footer-menu-container {
	ul.menu.footer-menu > li {
	  margin-right: 45px;
	}
  }

  .bs-about {
	.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.15) !important;
		  }
		}
	  }
	}
  }
}