/*

ThemeName |-> Celebs Mag

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

/* Header */
$header: 'style-2';
$header_height: 53px;

$menu_current_bg_style: '.header-style-2';
$menu_current_bg: transparent;
$main_menu_radius: 4px;
$topbar_height: 33px;

/* Term Badge */
$term_badges_radius: 3px;

/* Block */
$box: box;
$box_padding: 15px 25px 25px;
$box_border: solid 1px #e4e4e4;
$box_remove_modern_grids: true;

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

/* Header */
.site-header.header-style-2 {
  .menu-action-buttons {
	right: 10px;

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

  .topbar {
	.topbar-date.topbar-date {
	  padding: 0;
	  margin-right: 10px;

	  &:before {
		content: '\f017';
		display: inline-block;
		font: normal normal normal 11px/1 FontAwesome;
		margin-right: 5px;
		vertical-align: middle;
	  }

	  &:after {
		content: '';
		position: absolute;
		width: 1px;
		height: 14px;
		background-color: #e6e6e6;
		top: 50%;
		margin-top: -10px;
		right: -11px;
	  }
	}

	.topbar-inner {
	  border-bottom: none !important;
	}
  }

  .main-menu.menu {
	& > li {
	  margin: 0;

	  a {
		padding: 0 20px;
	  }

	  &:first-child {
		a {
		  border-radius: 3px 0 0 4px;
		}
	  }
	}
  }
}

/* Term Badge */
.term-badges.floated {
  margin: 10px;
}

/* Modern Grid 1 */
.listing-mg-1-item.listing-item-3,
.listing-mg-1-item.listing-item-3 {
  .title {
	font-size: 60%;
	line-height: 1.3;
  }
}

/* Section Heading */
.section-heading.sh-t2.sh-s1 {
  padding: 0 0 5px;

  &:after {
	display: none;
  }

  .h-text {
	padding: 0;
  }

  .other-link {
	.h-text {
	  padding: 0 0 0 12px !important;
	  font-size: 11px !important;
	}
  }
}

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

/* Social Share */
.better-social-counter.style-box {
  .item-count {
	font-weight: 400;
	font-size: 11px;
  }

  .item-icon {
	border-radius: 10px 10px 0 0;
  }

  .item-title {
	font-size: 11px;
	border-radius: 0 0 10px 10px;
  }
}

/* Pagination */
.bs-pagination.bs-ajax-pagination.more_btn .btn-bs-pagination {
  width: 100%;
  line-height: 46px !important;
  border: solid 1px #e4e4e4;
  box-shadow: 0 2px 2px -1px #eee;
  margin-top: 35px;

  span {
	font-size: 14px;
	font-weight: 600;
	color: #434343;
	text-transform: capitalize !important;
  }

  &:hover {
	span {
	  color: #ffffff;
	}
  }

  &.bs-pagination-in-loading {
	span {
	  color: #FFFFFF;
	}
  }

  &.disabled {
	&:hover {
	  border-color: #e4e4e4;

	  span {
		color: #434343;
	  }
	}
  }
}

.pagination.bs-numbered-pagination {
  .page-numbers {
	border-radius: 3px;
	min-width: 35px;
	height: 35px;
	line-height: 35px;
	color: #000000;

	&.current {
	  color: #FFFFFF;

	  &:hover {
		color: #FFFFFF;
	  }
	}
  }
}

/* Newsletter Pack */
.bs-newsletter-pack.bsnp-t1 .bsnp-title {
  font-weight: 600;
}

/* Mix 7 */
.listing-mix-3-1 {
  .listing-item-grid-1 {
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
	padding-bottom: 8px;

	.post-summary {
	  border-bottom: none;
	}
  }
}

.listing-item {
  .item-inner {
	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;
	  line-height: 31px;
	  border: solid 1px #e1e1e1;
	  padding: 2px 15px 0;
	  border-radius: 3px;
	  font-size: 11px;

	  &:hover {
		border-color: #c9c9c9;
	  }
	}
  }

  &:hover {
	.item-inner {
	  a.read-more {
		background-color: transparent !important;
		color: #808080;
	  }
	}
  }
}

.site-footer {
  .copy-footer {
	border-top: solid 1px rgba(255, 255, 255, 0.1);
	padding-top: 25px;
	margin-top: 20px;
  }

  .footer-widgets.light-text {

	.widget {
	  .bs-about {
		.about-text {
		  font-size: 14px;
		  line-height: 20px;
		}

		.about-title {
		  margin-bottom: 30px;
		}

		.about-icons-list {
		  margin-top: 30px !important;

		  .about-icon-item {
			a {
			  box-shadow: none;
			  background: rgba(255, 255, 255, 0.2) none !important;
			  border-radius: 3px;
			  font-size: 13px;

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