/*

ThemeName |-> Light Mag

*/
@import "../_demo-helper/general";

/* Header */
$topbar_height: 35px;

/* Page Layout */
$columns_separator_padding: 27px;
$columns_separator: rgba(0, 0, 0, 0.05);

/* Widget */
$about_us_text_align: left;

/* Term Badge */
$term_badges: bottom-left;

/* Widget */
$about_us_social_icon_size: 37px;
$about_us_social_icon_font_size: 13px;

@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 {
  .off-canvas-menu-icon .off-canvas-menu-icon-el {
	width: 100%;
  }

  .topbar {
	.topbar-date.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: 7px;
	  }
	}

	.topbar-sign-in.topbar-sign-in.topbar-sign-in {
	  &:before {
		content: '';
		position: absolute;
		width: 1px;
		height: 15px;
		background-color: rgba(255, 255, 255, 0.2);
		right: -5px;
		top: 18px;
	  }
	}
  }

  .main-menu-wrapper {
	border-bottom-width: 1px !important;

	.main-menu.menu {
	  & > li {
		& > a {
		  &:before {
			bottom: auto;
			top: -1px;
			height: 1px;
		  }
		}
	  }
	}
  }
}

/* News Ticker */
.better-newsticker {
  .heading {
	font-size: 10px;
	border-radius: 0;
	width: 100px;
	height: 21px;
	line-height: 21px;

	&:after {
	  display: none;
	}
  }

  .control-nav span {
	line-height: 22px;
	border-radius: 0;
  }

  ul.news-list li {
	a {
	  font-weight: 400 !important;
	  color: #838383;
	  font-size: 12px;
	}
  }
}

/* Section Heading */
.section-heading.sh-t6.sh-s13 {
  &:before {
	height: 100%;
	background-color: rgba(244, 244, 244, 0.8);
  }

  .other-link {
	margin-top: 0;

	.h-text {
	  padding: 0 10px;
	  font-size: 10px;
	  text-transform: uppercase;
	}
  }
}

/* Modern Grid 1 */
.listing-modern-grid-1 {

  .listing-mg-1-item.listing-item-2 {
	.post-meta {
	  display: none;
	}

	.title {

	}
  }

  .listing-mg-1-item.listing-item-3 .title,
  .listing-mg-1-item.listing-item-4 .title {
	font-size: 64%;
  }
}

/* Grid 1 */
.listing-item-grid-1 .post-summary {
  border-bottom: none;
  padding-bottom: 0;
}

/* Term Badge */
.term-badges.floated a {
  line-height: 1.3;
  padding: 2px 5px;
}

/* Pagination */
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: #808080;
	font-weight: 500;
	border: solid 1px #e1e1e1;
	font-size: 10px;
	padding: 1px 13px 0;
	line-height: 28px;
  }
}

.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 {
  border-color: #a1a1a1;
}

.pagination.bs-numbered-pagination {
  .page-numbers {
	font-weight: 400;
	font-size: 10px;
	color: #000000;
  }
}

/* Blog 5 */
.listing-blog-5 {
  .listing-item-blog-5 {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: solid 1px rgba(0, 0, 0, 0.06);

	&:last-child {
	  margin-bottom: 0;
	  padding-bottom: 0;
	  border: none !important;
	}

  }
}

/* Comments Listing */
.widget_recent_comments {
  .section-heading {
	background-color: #0e0e0e;
	color: #FFFFFF;
	padding: 0 15px;
	line-height: 42px;
	margin-bottom: 16px;
  }

  a {
	border: none !important;
	font-style: italic;
	font-weight: 500;
	color: #424242 !important;
  }

  .comment-author-link {
	color: #000000;
  }

  .recentcomments {
	border-bottom: solid 1px #eeeeee;
	padding: 5px 0;
  }
}

/* Thumbnail 1 */
.listing-tb-1 {
  .listing-item {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: solid 1px #f2f2f2;

	&:last-child {
	  padding-bottom: 0;
	  border-bottom: none;
	}
  }
}

/* Thumbnail 2 */
.listing-tb-2 {
  .listing-item {
	padding-bottom: 0 !important;
	border-bottom: none !important;
  }
}

/* Site Footer */
.site-footer {
  .section-heading.sh-t3.sh-s1:after {
	height: 1px;
	background-color: rgba(255, 255, 255, 0.1) !important;
  }

  .listing-tb-1 .listing-item {
	border-color: rgba(255, 255, 255, 0.1) !important;
  }

  .bs-about .about-icons-list .about-icon-item a {
	border-radius: 100%;
	box-shadow: none !important;
	background-color: rgba(255, 255, 255, 0.12);

	&:hover {
	  background: none rgba(255, 255, 255, .2) !important;
	}
  }
}