/*

ThemeName |-> Life Magazine

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

// header
$menu_current_bg_style: '.header-style-8';
$menu_current_bg: rgba(255, 255, 255, 0.15);
$menu_current_text_color: #ffffff;
// Other Widget
$about_us_text_align: 'left';

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

/**
 * => 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: 22px;
}

.bs-slider-1.l-2 .bs-slider-1-item > .item-content:before {
  padding-top: 60%;
}

/**
 * => Optimize Font
 **/
.entry-content p,
.section-heading,
.main-menu.menu > li,
.listing-item .title,
.bs-slider-1-item .title a,
.site-footer .copy-footer .menu,
.post-template-1 .single-post-title,
.site-header .top-menu.menu > li > a,
.listing-item .term-badges.floated a,
.listing-item-user .user-display-name,
.mega-menu.mega-type-link-list .mega-links li > a {
  @include optimize_font;
}

/**
 * => Remove Block Box
 **/
.bs-listing-slider-1,
.bs-listing-listing-blog-1,
.bs-listing-listing-grid-1,
.widget_better-social-counter,
.bs-vc-content .better-studio-shortcode,
.bs-vc-wrapper .bs-listing-listing-thumbnail-1 {
  @include remove_box;
}

/**
 * => VC Custom Style
 **/
.vc_col-has-fill.vc_col-has-fill > .bs-vc-wrapper {
  padding-top: 18px !important;
}

/**
 * => Header Style 8
 **/
.site-header.header-style-8 {
  .menu-action-buttons > div {
	line-height: 80px;
  }

  .off-canvas-menu-icon .off-canvas-menu-icon-el {
	width: 100%;
  }

  &.full-width {
	border-bottom: none;
  }

  .main-menu.menu > li.menu-item {
	height: 81px !important;
	line-height: 81px;
  }

  .main-menu.menu > li.menu-item .mega-menu {
	line-height: normal !important;
  }

  .site-branding .logo.img-logo a {
	height: 82px;
  }

  .main-menu > li > a {
	padding: 0 20px;
  }

  .main-menu.menu > li > a {
	border-radius: 30px;
  }

  .main-menu.menu > li > a {
	height: 30px;
	line-height: 30px;
  }

  .main-menu.menu > li.menu-item-has-children > a:after {
	position: relative;
	width: auto;
	float: right;
	display: inline-block;
	left: 0;
	margin: 0;
	bottom: -2px;
	margin-left: 10px !important;
	color: rgba(255, 255, 255, 0.4);
  }

  .topbar .topbar-inner {
	padding: 2px 0;
  }
}

/**
* => Section Heading
**/
.section-heading.sh-t3.sh-s8 > .h-text:last-child:first-child,
.section-heading.sh-t3.sh-s8 > .main-link > .h-text,
.section-heading.sh-t3.sh-s8 > a:last-child:first-child > .h-text {
  text-transform: capitalize;
}

/**
* => Section Heading 21
**/
.section-heading.sh-t5:before {
  display: none;
}

.section-heading.sh-t5 > .main-link > .h-text:before,
.section-heading.sh-t5 > a:last-child:first-child > .h-text:before,
.section-heading.sh-t5 > .h-text:last-child:first-child:before {
  width: 30px;
}

/**
* => Section Heading 5
**/
.section-heading.sh-t1.sh-s1 {
  margin-bottom: 20px;
}

.section-heading.sh-t1.sh-s1 .h-text .bf-icon {
  margin-right: 1px;
}

.section-heading.sh-t1.sh-s1 .h-text {
  padding-right: 8px !important;
}

.section-heading.sh-t1.sh-s1:after {
  height: 2px;
  margin-top: -0.5px;
}

.section-heading.sh-t1.sh-s1 .h-text:after {
  content: "\f054";
  position: relative;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 12px;
  margin-left: 3px;
}

/**
 * => Listing Text 2
 **/
.listing-item-text-2 .item-inner {
  border-width: 1px !important;
}

/**
 * => Listing Thumbnail 1
 **/
.site-footer .listing-thumbnail.listing-tb-1 .listing-item-tb-1,
.vc_col-has-fill .listing-thumbnail.listing-tb-1 .listing-item-tb-1 {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: solid 1px rgba(0, 0, 0, 0.06);
}

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

.listing-thumbnail.listing-tb-1 .listing-item-tb-1 .img-holder {
  width: 86.5px;
}

.listing-thumbnail.listing-tb-1 .listing-item-tb-1 .title {
  margin-top: -2px;
}

.vc_col-has-fill .bs-listing.bs-listing-listing-thumbnail-1:last-child {
  margin-bottom: 0;
}

/**
 * => Listing Slider 1
 **/
.bs-listing-slider-1 .better-control-nav li a {
  width: 8px;
  height: 8px;
}

.bs-listing-slider-1 .bs-slider-1-item .title {
  max-width: 100%;
}

.bs-listing-slider-1 .bs-slider-1-item .title a {
  line-height: 130% !important;
  font-size: 100% !important;
}

/**
 * => Pagination
 **/

.bs-pagination.bs-ajax-pagination.more_btn {
  margin-top: 13px;
}

.bs-pagination.bs-ajax-pagination.more_btn .btn-bs-pagination {
  line-height: 39px !important;
  padding: 0 35px;
  border: none;
  background-color: #f0f0f0;
  color: #1f1f1f !important;
  text-transform: capitalize !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.bs-pagination.bs-ajax-pagination.more_btn .btn-bs-pagination.disabled:hover {
  border: none !important;
  color: #1f1f1f !important;
  background-color: #f0f0f0 !important;
}

.bs-pagination.bs-ajax-pagination.more_btn .btn-bs-pagination:hover,
.bs-pagination.bs-ajax-pagination.more_btn .btn-bs-pagination.bs-pagination-in-loading {
  color: #ffffff !important;
}

.bs-pagination.bs-ajax-pagination.next_prev {
  margin-top: 22px;
}

/**
 * => Ads
 **/
.vc_col-sm-12 .bsac-column-1.bsac-float-center {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NTQ2MDg1NkZFRTIyMTFFN0I0QThEODYwOUI3Qjg4MUIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NTQ2MDg1NzBFRTIyMTFFN0I0QThEODYwOUI3Qjg4MUIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1NDYwODU2REVFMjIxMUU3QjRBOEQ4NjA5QjdCODgxQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1NDYwODU2RUVFMjIxMUU3QjRBOEQ4NjA5QjdCODgxQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtnSh1sAAAAeSURBVHjaYtq0adN/IGBAxowgAh0wMWABxAsCBBgAiwgSEA78JM8AAAAASUVORK5CYII=');
  padding: 24px 0;
}

/**
 * => Footer
 **/
.footer-widgets {
  padding: 53px 0 35px;
}

.footer-widgets.dark-text .section-heading.sh-t5.sh-s1 {
  color: black;
}

.footer-widgets .section-heading {
  margin-top: -5px;
}

.site-footer .copy-1 a, .site-footer .copy-1,
.site-footer .copy-2 a, .site-footer .copy-2 {
  color: rgba(255, 255, 255, 0.3) !important;
}

.site-footer .copy-1 a:hover,
.site-footer .copy-2 a:hover {
  color: rgba(255, 255, 255, 1) !important;
}

.footer-menu-container {
  border-bottom: none;
}

/**
 * => Single
 **/
.single-post-title {
  line-height: 1.2;
}

/**
 * => About Me
 **/
.bs-about {
  .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;
  }
}

.site-footer .copy-footer {
  padding: 22px 0 30px;
}

.bs-about .about-icons-list .about-icon-item a {
  background-color: #363636;
}

.bs-about .about-icons-list .about-icon-item a {
  color: #ffffff !important;
}

.bs-about .about-title {
  margin-bottom: 22px;
}

.bs-about .about-icons-list {
  margin-top: 24px;
}

/**
 * => Popular Categories
 **/
.bs-popular-categories .bs-popular-terms-list {
  padding: 0;
}

/**
 * => RTL
 **/
.rtl {
  .section-heading.sh-t1.sh-s1 .h-text:after {
	content: "\f053";
	margin-left: 0;
	margin-right: 3px;
  }

  .section-heading.sh-t1.sh-s1 .h-text {
	padding-left: 8px !important;
  }

  .site-header.header-style-8 .main-menu.menu > li.menu-item-has-children > a:after {
	float: left;
	margin-left: 0 !important;
	margin-right: 10px !important;
  }
}