/*
ThemeName |-> Seo News
*/
@import "../_demo-helper/general";

// Topbar
$topbar_height: 32px;
// Radius
$blocks_image_radius: 5px;
// Term badge
$term_badges: 'bottom-left';
// Header
$header: 'style-6';
$header_height: 101px;
// Widget Option
$about_us_text_align: 'left';
$newsletter_border_radius_inputs: 3px;

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

/**
 * => Optimized Fonts
 **/
.bs-about,
.post-meta,
a.read-more,
.term-badges,
.post-summary,
.entry-content p,
.site-header .topbar,
h1, h2, h3, h4, h5, h6,
ul.menu.footer-menu li > a,
.section-heading > .h-text,
.listing-item-classic-2 .title,
.off-canvas-menu > ul > li > a,
.better-social-counter.style-style-8,
.site-footer .copy-1, .site-footer .copy-2,
.bs-subscribe-newsletter .subscribe-message,
.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;
}

.widget, .entry-content .better-studio-shortcode, .better-studio-shortcode, .bs-shortcode, .bs-listing, .bsac, .content-column > div:last-child, .slider-style-18-container, .slider-style-16-container, .slider-style-8-container, .slider-style-2-container, .slider-style-4-container, .bsp-wrapper, .single-container, .content-column > div:last-child, .vc_row .vc_column-inner .wpb_content_element, .wc-account-content-wrap, .order-customer-detail, .order-detail-wrap, .slider-style-23-container {
  margin-bottom: 38px !important;
}

.bs-vc-sidebar-column .bs-listing {
  border: solid 1px #e7e7e7;
  padding: 13px 28px 27px;
  border-radius: 7px;
}

.bs-listing {
  border-radius: 7px;
}

.post-meta .post-author:after {
  opacity: .6;
}

.listing-item-tb-2 .img-holder.b-loaded {
  background-position: center !important;
}

/**
 * => Header
 **/
.site-header.header-style-6 {
  .pinned {
	border-bottom: 1px solid rgb(238, 238, 238) !important;
  }

  .topbar {
	border-bottom: none;
  }

  .main-menu.menu {
	margin-right: 80px;
  }

  .main-menu.menu > li:hover > a:before,
  .main-menu.menu > li.current-menu-item > a:before,
  .main-menu.menu > li.current-menu-parent > a:before {
	height: 4px;
	bottom: 0;
  }

  .main-menu.menu > li:hover > a,
  .main-menu.menu > li.current-menu-item > a,
  .main-menu.menu > li.current-menu-parent > a {
	background: transparent;
  }

  .bs-pinning-wrapper > .content-wrap.pinned {
	border-bottom: none;
  }

  .better-custom-badge:after {
	display: none;
  }

  .main-menu.menu .better-custom-badge {
	top: 20px !important;
	border-radius: 2px;
	height: 15px;
	line-height: 15px;
	font-size: 10px;
	padding: 0 5px;
	left: 16px;
	letter-spacing: 0 !important;
	font-weight: 300;
  }

  .main-menu.menu > li:hover > a > .better-custom-badge {
	top: 23px !important;
  }

  .topbar .better-studio-shortcode {
	margin-bottom: 0 !important;
  }

  .header-inner {
	float: left;
	width: 100%;
  }

}

/**
 * => Injection Content
 **/
.bs-injection.bs-injection-after_header {
  padding-top: 0 !important;
}

.bs-injection.bs-injection-before_footer {
  margin-top: 0 !important;
}

.content-column .single-container:last-child {
  margin-bottom: 0 !important;
}

/**
 * => Thumbnail 1
 **/
.have_bg.bs-listing-listing-thumbnail-1 {
  .listing-item-tb-1 {
	.item-inner {
	  background-color: #FFFFFF;
	  padding: 10px;
	}
  }
}

.have_bg.bs-listing-listing-thumbnail-1 .columns-3 {
  .listing-item-tb-1:nth-last-child(1),
  .listing-item-tb-1:nth-last-child(2),
  .listing-item-tb-1:nth-last-child(3) {
	margin-bottom: 0;
  }
}

/**
 * => Section heading
 **/
.section-heading.sh-t3.sh-s1 {
  padding: 0 0 12px;
  margin-bottom: 20px;
}

.section-heading.sh-t3.sh-s1:after {
  height: 3px;
}

.section-heading.sh-t1.sh-s3 {
  margin-bottom: 13px;
}

.section-heading .fa-youtube-play {
  color: #ea4335;
}

/**
 * => Term Badge
 **/
.term-badges.floated a {
  padding: 3px 7px 1px;
}

/**
 * => Thumbnail 2
 **/
.listing-tb-2.scolumns-1 .listing-item-tb-2 .item-inner {
  .featured {
	.img-holder {
	  border-radius: 0;
	}

	overflow: hidden;
	border-radius: ($blocks_image_radius + 2) ($blocks_image_radius + 2) 0 0;
	margin: -1px -17px 10px;
  }

  .img-holder:before {
	padding-top: 70.4%;
  }

  border-radius: ($blocks_image_radius + 4) ($blocks_image_radius + 4) ($blocks_image_radius + 2) ($blocks_image_radius + 2);
  border: solid 1px #e9e9e9;
  padding: 0 16px 8px;
}

.listing-thumbnail.listing-tb-2.scolumns-1 {
  .listing-item {
	margin-bottom: 21px;
  }
  .listing-item:last-child {
	margin-bottom: 0 !important;
  }
}

/**
 * => Classic Listing 2
 **/
.listing-item-classic-2 .listing-inner {
  .featured {

	.img-holder {
	  border-radius: 0;
	}

	.img-holder:before {
	  padding-top: 58.23%;
	}

	margin-bottom: 13px;
	border-radius: ($blocks_image_radius + 2) ($blocks_image_radius + 2) 0 0;
	overflow: hidden;
  }

  .post-meta {
	margin: 0 0 11px;
	padding-top: 9px;
  }

  border-radius: ($blocks_image_radius + 4) ($blocks_image_radius + 4) ($blocks_image_radius + 2) ($blocks_image_radius + 2);
}

.listing-item-classic-2:last-child {
  margin-bottom: 0 !important;
}

/**
 * => Grid 1
 **/
.listing-item-grid-1 {
  .featured {
	.img-holder {
	  border-radius: 0;
	}

	border-radius: ($blocks_image_radius + 2);
	overflow: hidden;
  }
}

/**
 * => Blog 1 & 5
 **/
.listing-item-blog-5 .featured,
.listing-item-blog-1 .featured {
  .img-holder {
	border-radius: 0;
  }

  border-radius: 5px;
  overflow: hidden;
}

/**
 * => Newsletter
 **/
.sidebar-column,
.bs-vc-sidebar-column {
  .bs-listing,
  & > .bs-subscribe-newsletter,
  .widget_bs-subscribe-newsletter,
  & > .bs-vc-wrapper > .bs-subscribe-newsletter {
	.section-heading.sh-t1 .h-text {
	  text-align: center;
	  padding-right: 0;
	  margin-bottom: 7px;
	  background-color: transparent;
	}

	.section-heading.sh-t1 .h-text:after {
	  content: '';
	  width: 44px;
	  height: 4px;
	  position: absolute;
	  bottom: -15px;
	  right: 50%;
	  margin-right: -22px;
	  border-radius: 3px;
	}

	.subscribe-message {
	  padding-bottom: 7px;
	  padding-top: 3px;
	  font-size: 15px;
	  line-height: 22px;
	}

	.newsletter-subscribe {
	  font-weight: 400;
	}

	padding: 25px 29px 30px 29px !important;
	border: solid 1px #dbe5e8;
	background-color: #f7fbfc;
	border-radius: 7px;
  }
}

.sidebar-column,
.bs-vc-sidebar-column {
  & > .bs-subscribe-newsletter,
  .widget_bs-subscribe-newsletter,
  & > .bs-vc-wrapper > .bs-subscribe-newsletter {
	padding: 18px 29px 42px !important
  }
}

.bs-subscribe-newsletter {
  .section-heading.sh-t1.sh-s4 {
	text-align: center;
  }

  margin-bottom: 0 !important;
}

/**
 * => Inline Related Post
 **/
.bs-irp.bs-irp-text-3 {
  padding-bottom: 0;
}

/**
 * => ADS
 **/
.vc_col-sm-12.vc_col-has-fill > .bs-vc-wrapper .bsac-column-1 {
  margin-bottom: 17px !important;
  margin-top: -14px;
}

.bsac.bsac-post-inline {
  margin-bottom: 0 !important;
}

/**
 * => User Listing
 **/
.listing-user.columns-1 .listing-item-user {
  .user-avatar {
	margin-bottom: 0;
  }

  .user-display-name {
	font-weight: 400;
  }

  &:last-child {
	margin-bottom: 0;
  }

  padding-bottom: 15px !important;
  margin-bottom: 15px;

  .btn-light {
	border-radius: 2px;
  }

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

  .user-social-icons a {
	border-radius: 3px;
  }
}

/**
 * => Pagination
 **/
.pagination.bs-numbered-pagination > span,
.pagination.bs-numbered-pagination .wp-pagenavi a:hover,
.pagination.bs-numbered-pagination .page-numbers:hover,
.pagination.bs-numbered-pagination .wp-pagenavi .current,
.pagination.bs-numbered-pagination .current {
  color: #ffffff;
}

.pagination.bs-numbered-pagination > a,
.pagination.bs-numbered-pagination > span {
  border-radius: 3px;
}

.pagination.bs-numbered-pagination .page-numbers {
  font-weight: 400;
}

/**
 * => About Us
 **/
.bs-about {
  .about-icons-list .about-icon-item {
	margin: 0 6px 5px 0;
  }

  .about-icons-list .about-icon-item a {
	border-radius: 5px;
	color: #ffffff !important;
	width: 24px;
	height: 24px;
  }

  .about-icons-list .about-icon-item a:hover {
	opacity: .8;
  }

  .about-icons-list.about-icons-list .about-icon-item a i {
	line-height: 25px;
	font-size: 11px;
  }

  .about-title {
	margin: 0 0 23px;
  }

  .about-text {
	padding-right: 10px;
	font-size: 14px;
	line-height: 22px;
  }

  .about-icons-list {
	margin: 26px 0 0;
  }

  .about-icons-list .about-icon-item {
	margin: 0 9px 5px 0;
  }

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

  .about-icons-list.about-icons-list .about-icon-item a i {
	line-height: 30px;
	font-size: 13px;
  }
}

/**
 * => Footer
 **/
.site-footer {
  .footer-widgets {
	padding: 39px 0 22px;
  }

  .section-heading.sh-t1 {
	margin-bottom: 22px;
  }

  .section-heading.sh-t1 .h-text {
	padding-top: 0;
	margin-top: -5px;
	font-size: 17px;
  }

  .listing-tb-1.columns-1 {
	.listing-item-tb-1 {
	  margin-bottom: 15px;
	  padding-bottom: 15px;
	  border-bottom: solid 1px rgba(228, 228, 228, 0.58);
	}

	.listing-item-tb-1:last-child {
	  margin-bottom: 0;
	  padding-bottom: 0;
	  border-bottom: 0;
	}
  }

  .footer-widgets {
	.widget, .entry-content .better-studio-shortcode, .better-studio-shortcode, .bs-shortcode, .bs-listing, .bsac, .content-column > div:last-child, .slider-style-18-container, .slider-style-16-container, .slider-style-8-container, .slider-style-2-container, .slider-style-4-container, .bsp-wrapper, .single-container, .content-column > div:last-child, .vc_row .vc_column-inner .wpb_content_element, .wc-account-content-wrap, .order-customer-detail, .order-detail-wrap, .slider-style-23-container {
	  margin-bottom: 0 !important;
	}
  }

  ul.menu.footer-menu > li {
	margin-right: 35px;
	margin-top: 1px;
  }

  .footer-copy-row {
	margin-top: 15px;
  }
}

/**
 * => Breadcrumb
 **/
.bf-breadcrumb.bc-top-style {
  padding: 7px 0 6px;
}

/**
 * => Newsletter Pack
 **/
.bs-newsletter-pack .bsnp-si .better-social-counter {
  margin-bottom: 0 !important;
}

@media (min-width: 767px) {
  .bs-newsletter-pack.bsnp-t1.bsnp-s6.bsnp-st-wide.bsnp-st-wide-2col .bsnp-ic img {
	max-width: 235px;
  }
}

.bs-newsletter-pack {
  box-shadow: none !important;
  border-color: #e8e8e8 !important;
  border-radius: 7px;
  overflow: hidden;;
}

/**
 * => Single
 **/
.entry-terms.via a,
.entry-terms.source a,
.entry-terms.post-tags a,
.entry-terms.via .terms-label,
.entry-terms.source .terms-label,
.entry-terms.post-tags .terms-label {
  border-radius: 5px;
}

.single-post-content .term-badges a {
  border-radius: 3px;
}

.post-related,
.single-container > .post-author {
  border-radius: 7px;
}

/**
 * => ALL Modern Grid
 **/
.listing-mg-3-item,
.listing-mg-type-1 {
  .title {
	line-height: 1.3 !important;
  }
}

/**
 * => Back Top
 **/
a.read-more,
.back-top {
  border-radius: 3px;
}

/**
 * => RTL
 **/
.rtl {
  .site-footer {
	ul.menu.footer-menu > li {
	  margin-right: 0;
	  margin-left: 35px;
	}
  }

  .bs-about {
	.about-icons-list .about-icon-item {
	  margin: 0 0 5px 6px;
	}

	.about-text {
	  padding-right: 0;
	  padding-left: 10px;
	}
  }

  .bs-subscribe-newsletter.have_bg {
	.section-heading.sh-t1 .h-text {
	  padding-left: 0;
	}
  }

  .site-header.header-style-6 {
	.main-menu.menu {
	  margin-right: 0;
	  margin-left: 80px;
	}
  }

  .site-header.header-style-6 .main-menu.menu .better-custom-badge {
	left: auto;
	right: 16px;
  }

  .listing-item-user .user-social-icons .social-item {
	margin: 0 0 7px 5px;
  }

  .listing-user .btn-light {
	margin: 0 0 5px 4px;
  }

  .bs-vc-sidebar-column > .bs-vc-wrapper > .bs-subscribe-newsletter .subscribe-message {
	line-height: 23px;
  }
}

.post-meta + .post-summary {
  margin-top: 2px;
}

/**
 * => Responsive
 *
 * @ 767px
 * @ 600px
 * @ 370px
 *
 **/

@media screen and (max-width: 600px) {
  .rh-header .logo-container img {
	vertical-align: bottom !important;
  }
}

@media screen and (max-width: 370px) {
  .have_bg.bs-listing-listing-thumbnail-1 .listing-item-tb-1 .item-inner {
	margin-bottom: 15px !important;
  }

  .have_bg.bs-listing-listing-thumbnail-1 .listing-item-tb-1:last-child .item-inner {
	margin-bottom: 0 !important;
  }

  body .bs-vc-wrapper {
	padding-left: 0 !important;
  }

  .site-footer .copy-footer .menu {
	line-height: 35px !important;
  }
}