/*

ThemeName |-> Android News

*/
@import "../_demo-helper/general";

// Header
$menu_current_bg_style: '.header-style-8';
$menu_current_bg: transparent;
$header: 'style-8';
$header_height: 78px;
// Term Badge
$term_badges: 'left-bottom';
// Footer
$about_us_text_align: 'left';

@import "../_demo-helper/helper";

/**
 * => Optimized Fonts
 **/
.bs-about,
.post-meta,
.post-title,
a.read-more,
.post-summary,
.entry-content p,
.bs-listing .title,
.listing-item .title a,
.term-badges.floated a,
.bs-numbered-pagination,
ul.menu.footer-menu li > a,
.section-heading > .h-text,
.section-heading a > .h-text,
.off-canvas-menu > ul > li > a,
.site-header .main-menu > li > a,
.better-newsticker ul.news-list li,
.site-header .topbar .topbar-inner,
.better-social-counter.style-style-8,
.term-badges .term-badge:first-child a,
.site-footer .copy-1, .site-footer .copy-2,
.bs-subscribe-newsletter .subscribe-message,
.footer-widgets.light-text .widget.widget_nav_menu ul.menu li a,
.section-heading.sh-t3 .main-link:first-child:last-child .h-text {
  @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;
}

.section-heading.sh-t6 .other-link:hover .h-text,
.section-heading.sh-t6 .other-link.active .h-text {
  color: #000000 !important;
}

/**
 * => Header
 **/
.site-header.header-style-8.header-style-8 {
  .bs-pinning-block:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;

	background: -moz-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(92, 194, 51, 1) 100%);
	background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(92, 194, 51, 1) 100%);
	background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(92, 194, 51, 1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#5cc233', GradientType=1);
  }

  .off-canvas-menu-icon .off-canvas-menu-icon-el {
	width: 100%;
  }
  .off-canvas-menu .menu .better-custom-badge:after,
  .main-menu.menu .better-custom-badge:after {
	display: none;
  }

  .main-menu.menu {
	& > li {
	  & > a {
		line-height: 30px;
		border-radius: 4px;
		padding: 2px 12px 0;
	  }
	  line-height: $header_height + 2;

	  &:hover > a,
	  &.current-menu-item > a,
	  &.current-menu-parent > a {
		background-color: rgba(255, 255, 255, 0.2) !important;
	  }
	}

	.better-custom-badge {
	  border-radius: 3px;
	  font-size: 9px;
	  font-weight: bold;
	  top: -12px !important;
	  left: 14px;
	  height: 14px !important;
	  line-height: 14px !important;
	  padding: 0 3px !important;
	}
  }

  .main-menu.menu > li.menu-item-has-children > a:after {
	bottom: -22px;
	color: rgb(255, 255, 255);
	font-size: 15px;
  }
}

/**
 * => Modern Grid 3
 **/
.listing-mg-3-item .post-meta .comments,
.listing-mg-3-item .post-meta .post-author {
  font-size: inherit !important;
}

/**
 * => News Ticker
 **/
.wpb_wrapper .better-newsticker {
  margin-right: 0;
  margin-left: 0;

  .heading {
	&:before {
	  content: '\b023';
	  display: inline-block;
	  font: normal normal normal 13px/1 "bs-icons";
	  position: relative;
	  top: 1px;
	  margin-right: 5px;
	}

	&:after {
	  content: '\f105';
	  border: none;
	  font: normal normal bold 12px/1 FontAwesome;
	  color: #000;
	  right: -10px;
	}

	background-color: transparent !important;
	color: #444444 !important;
	font-size: 14px !important;
  }

  .news-list li a {
	color: #8b8b8b;
	font-weight: 400;
  }

  .control-nav span {
	border: none;
  }

  .control-nav span:hover {
	background-color: transparent !important;
  }
  .control-nav span {
	font-size: 16px;
	&:hover {
	  color: #000000;
	}
  }
}

/**
 * => Single
 **/
.single-container.bs-vc-content {
  .vc_row[data-vc-full-width-init="true"]:first-child {
	box-shadow: 0 0 19px -1px rgba(0, 0, 0, 0.13);
  }
}

.post-template-1 .single-post-title {
  color: #000 !important;
  letter-spacing: -1.5px;
}

/**
 * => Section Heading
 **/
.bs-light-scheme {
  .section-heading.sh-t6.sh-s13 {
	.h-text.h-text {
	  background-color: #FFFFFF;
	  color: #1e1e1e !important;
	}
	&:before {
	  background-color: rgba(255, 255, 255, 0.12) !important;
	}
  }
}

/**
 * => Modern Grid 1
 **/
.bs-listing-modern-grid-listing-1 {
  .mg-row-2 {
	.listing-mg-type-1 .title {
	  a {
		font-size: 75%;
	  }
	  line-height: 23px;
	}
  }

  .post-meta {
	.post-author {
	  font-weight: bold !important;
	}

	.post-author,
	span {
	  font-size: 90% !important;
	}
  }
}

/**
 * => Blog 1
 **/
.listing-blog-1.columns-1 .listing-item-blog {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: solid 1px rgba(0, 0, 0, 0.07);

  &:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
  }
}

/**
 * => Thumbnail 1
 **/
.bs-listing-listing-thumbnail-1 {
  .listing.columns-1 .listing-item {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: solid 1px rgba(0, 0, 0, 0.07);

	&:last-child {
	  margin-bottom: 0;
	  padding-bottom: 0;
	  border-bottom: none;
	}
  }
}

/**
 * => Grid 1
 **/
.bs-listing-listing-grid-1 {
  .columns-1 {
	.listing-item-grid.listing-item-grid-1 {

	  &:last-child {
		margin-bottom: 0;
	  }
	}
  }
}

/**
 * => Classic Listing 3
 **/
.listing-classic-3 .listing-item-classic-3 {
  .featured .title {
	bottom: -22px;
	padding: 26px 25px 15px !important;
  }

  .listing-inner {
	margin-top: 15px;
  }
}

/**
 * => Modern Grid 9
 **/
.listing-modern-grid-9 {
  .mg-col-2,
  .mg-col-3 {
	.item-content .content-container .title {
	  a {
		font-size: 64%;
		font-weight: 600;
	  }
	  line-height: 18px;
	  font-size: 83% !important;
	}
  }
}

/**
 * => ADS
 **/
.vc_col-sm-12.vc_col-has-fill {
  .bsac.bsac-column-1 {
	margin-bottom: 16px;
  }
}

/**
 * => Section Heading
 **/
.section-heading.sh-t1.sh-s1:after {
  height: 3px;
}

/**
 * => Footer
 **/
.site-footer {

  .footer-widgets {
	.section-heading.sh-t1.sh-s1 .h-text {
	  font-size: 17px;
	  text-transform: uppercase;
	}

	a {
	  color: rgba(255, 255, 255, 0.64) !important;
	}

	a:hover,
	.listing-item.listing-item.listing-item:hover a {
	  color: #ffffff !important;
	}

	.col-sm-6 {
	  width: 33%;
	}
	.col-sm-6 + .col-sm-6 {
	  width: 67%;

	  .bs-listing-listing-thumbnail-2 .listing.scolumns-2 {
		.listing-item {
		  width: 25%;
		}
		.listing-item:nth-child(odd) {
		  clear: none;
		  padding-right: 0;
		  padding-left: 12px;
		}

		margin-left: -12px;
	  }
	}

	padding: 47px 0 25px;
  }

  .footer-menu-container {
	ul.menu.footer-menu > li {
	  &:hover > a,
	  &.current-menu-item > a,
	  &.current-menu-parent > a {
		background-color: rgba(255, 255, 255, 0.2) !important;
		color: #ffffff !important;
	  }
	  a {
		padding: 0 15px;
		line-height: 66px;
		height: 63px;
		display: inline-block;
	  }
	  margin-right: 5px;
	}
	padding: 0;
  }

  .copy-footer {
	.footer-copy-row {
	  padding-top: 16px;
	}
	padding-bottom: 26px;
  }
}

/**
 * => Modern Grid 1
 **/
.listing-modern-grid-1 {
  .listing-mg-type-1 .title {
	line-height: 38px;
  }
}

/**
 * => ABout Us
 **/
.bs-about {
  .about-text {
	font-size: 15px;
	line-height: 24px;
	color: rgba(255, 255, 255, 0.64);
  }

  .about-icons-list .about-icon-item a {
	background-color: transparent !important;
	border-radius: 4px;
	border: solid 1px rgba(255, 255, 255, 0.3);
	box-shadow: none !important;
	width: 30px !important;
	height: 30px !important;
	line-height: 30px !important;
  }

  .about-icons-list .about-icon-item:hover a {
	background-color: #ffffff !important;
  }

  .about-icons-list .about-icon-item:hover a:hover i {
	transition: .5s;
  }

  .about-icons-list .about-icon-item:hover a i {
	color: #000000 !important;
	transition: .5s;
  }

  .about-icons-list .about-icon-item.instagram a:hover {
	background: none !important;
	background-color: #ffffff !important;
  }
}

/**
 * => RTL
 **/
.rtl {
  .wpb_wrapper {
	.better-newsticker {
	  .heading {
		text-align: right;
	  }

	  .heading:before {
		margin-right: 0;
		margin-left: 5px;
	  }
	  .heading:after {
		right: auto;
		left: -10px;
	  }
	}
  }

  .site-header.header-style-8 {
	.main-menu.menu {
	  .better-custom-badge {
		right: 14px;
		left: auto;
	  }

	  .better-custom-badge {
		font-size: 11px;
		letter-spacing: 0;
	  }
	}
	.menu-action-buttons .off-canvas-menu-icon {
	  margin-top: 1px;
	}
  }

  .bs-about .about-text {
	line-height: 27px;
  }

  .post-template-1 .single-post-title {
	line-height: 50px;
  }
  .site-footer {
	.footer-widgets .col-sm-6 + .col-sm-6 .bs-listing-listing-thumbnail-2 .listing.scolumns-2 .listing-item:nth-child(odd) {
	  clear: none;
	  padding-right: 12px;
	  padding-left: 0;
	}
  }
}

@media screen and (max-width: 767px) {
  .site-footer {
	.footer-widgets .col-sm-6 {
	  width: 100% !important;
	}
  }
}

@media screen and (max-width: 600px) {
  .site-footer {
	.footer-menu-container ul.menu.footer-menu > li a {
	  padding: 0 10px;
	}
	.footer-widgets .col-sm-6 + .col-sm-6 .bs-listing-listing-thumbnail-2 .listing.scolumns-2 .listing-item {
	  width: 50%;
	}
  }
}

@media screen and (max-width: 370px) {
  .site-footer {
	.footer-widgets .col-sm-6 + .col-sm-6 .bs-listing-listing-thumbnail-2 .listing.scolumns-2 .listing-item {
	  width: 100%;
	}
  }

  .post-template-1 .single-post-title {
	font-size: 33px !important;
  }

  .next-prev-post .prev-post {
	width: 100%;
	margin-bottom: 30px;
	padding: 0 !important;
  }
  .next-prev-post .next-post {
	width: 100%;
  }

  .post-author + .next-prev-post {
	padding: 0;
  }
}