/*

ThemeName |-> Good Mag

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

/* Site Header */
$topbar_height: 33px;

$header: 'style-2';
$header_height: 57px;

$menu_current_bg_style: '.header-style-2';
$menu_current_bg: transparent;

/* About Us */
$about_us_text_align: left;
$about_us_social_icon_font_size: 13px;
$about_us_social_icon_size: 37px;

@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;
}

/* Site Header */
.site-header.boxed {
  .topbar {
	.topbar-date.topbar-date {
	  padding: 0;
	  margin-right: 20px;

	  &:after {
		content: '';
		position: absolute;
		width: 1px;
		height: 15px;
		background-color: rgba(255, 255, 255, 0.2);
		right: -17px;
		top: 7px;
	  }
	}
  }

  .menu-action-buttons {
	padding-right: 7px;
  }

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

  .main-menu-wrapper {
	.main-menu-container {
	  border-bottom: none !important;
	  border-right: solid 1px rgba(0, 0, 0, 0.08) !important;
	  border-left: solid 1px rgba(0, 0, 0, 0.08) !important;

	  &:after {
		content: '';
		width: 100%;
		height: 1px;
		background-color: rgba(0, 0, 0, 0.08);
		position: absolute;
		top: 0;
		left: 0;
	  }

	  &:before {
		content: '';
		width: 100%;
		height: 1px;
		background-color: rgba(0, 0, 0, 0.08);
		position: absolute;
		left: 0;
		bottom: 0;
	  }

	  .main-menu {

		li {
		  margin: 0;

		  & > a {
			line-height: 60px !important;
			z-index: 1;
		  }
		}
	  }
	}
  }
}

/* Section Heading */
.section-heading.sh-t6.sh-s1 {
  &:before {
	top: auto;
	bottom: 0;
  }

  .other-link {
	margin-top: 0;
	margin-bottom: 2px;

	.h-text {
	  padding: 0 0 2px 17px;
	}
  }

  .other-link .h-text {
	font-weight: bold;
	font-size: 10px;
  }
}

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

/* Blog 5 */
.listing-item-blog-5 {
  border-bottom: solid 1px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px !important;
  padding-bottom: 30px;

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

/* grid 1 */
.bs-listing-listing-grid-1 {
  .listing-item-grid-1 {
	.item-inner {
	  border-bottom: solid 1px rgba(0, 0, 0, 0.08);
	  padding-bottom: 10px;
	}
  }
}

/* Mix 1 */
.bs-listing-listing-mix-1-4 {
  .bs-pagination {
	margin-top: 0 !important;
  }
}

/* Mix 7 */
.listing.listing-mix-3-1 .listing-item-grid-1 {
  .post-summary {
	border-bottom: none !important;
  }

  padding-bottom: 10px;
  border-bottom: solid 1px rgba(0, 0, 0, 0.08);
}

/* Pagination */
.bs-pagination.bs-ajax-pagination.more_btn {
  .btn-bs-pagination {
	width: 100%;
	height: 48px;
	line-height: 48px !important;
	font-size: 12px !important;
	font-weight: bold !important;
  }
}

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

  .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: #808080;
	font-weight: 600;
	border: solid 1px #e1e1e1;
	font-size: 10px;
	padding: 1px 17px 0;
	line-height: 30px;
	border-radius: 3px;
  }
}

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

/* Site Footer */
.site-footer {
  .copy-footer {
	padding: 30px 0;
  }

  .footer-widgets.light-text {
	padding-bottom: 50px;

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

	.listing-item-thumbnail.listing-item-tb-1 {
	  margin-bottom: 15px;
	  padding-bottom: 15px;
	  border-bottom: solid 1px rgba(255, 255, 255, 0.05);

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

	.widget a {
	  color: rgba(255, 255, 255, 0.6);
	}

	.bs-popular-categories .bs-popular-terms-list {
	  padding: 0 !important;
	}

	.bs-about {
	  .about-icons-list {
		.about-icon-item {
		  a {
			border-radius: 3px;
			box-shadow: none !important;
			background-color: rgba(255, 255, 255, 0.2);

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