/********************************************************************************************/
/**************************************** RESPONSIVE ***************************************/
/******************************************************************************************/
/* Large desktop */
@media (max-width: 1229px) {
    img{ max-width:100%}
    *{ box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box;}
    a[href^=tel] { /* css */
      color:inherit;
      text-decoration: inherit;
      font-size:inherit;
      font-style:inherit;
      font-weight:inherit;
    }   

    .boxed-layout #page{
      width: 100%;
    }
    .wrapper{ width: 980px ;}           
    .content-wrapper{
      padding-top: 13px !important;
    }

/*** HEADER ***/

.site-logo.f-left > a {
    padding-top: 12px;
}

.header-wrapper ul.sub-menu.mega-sub-menu{
  width: 920px;
}

.header-wrapper .menu li a{
  padding:0 18px;
}

/*** FOOTER ***/

.footer-wrapper .col{
  margin-left: 31px;
}
  
#footer-bottom .footer-columns .col {
    margin-left: 57px;
}

/*** SLIDER ***/

.slider-section{
  width: 58%;
}

.slider-section .bx-viewport{
  height: 282px !important;
}

.besides-block{
  width: 42%;
}

.besides-block .beside-post{
  margin:0 0 15px 3%;
}

/*** HOME ***/

.home-featured-block-single-col{
  width: 44.6%;
}

.featured-post-block-coltype {
    min-height: 150px;
}

.popular-widget-area li {
    margin: 0 0 0 2%;
    width: 23%;
}

.profitmag_widget_recent_entries .widget-image,
.footer-columns .profitmag_widget_popular_entries .widget-image,
.sidebar .profitmag_widget_popular_entries .widget-image {
  float: none;
}

.footer-columns .profitmag_widget_popular_entries li .post-desc,
.sidebar .profitmag_widget_popular_entries li .post-desc,
.footer-columns .profitmag_widget_recent_entries li .post-desc,
.sidebar .profitmag_widget_recent_entries li .post-desc {
  margin-top: 0;
  display: block;
}

.profitmag_widget_popular_entries li .post-desc a,
.profitmag_widget_recent_entries li .post-desc a {
  width: 100%;
}

#social-post-shares + .post-content {
  width: 85%;
}

body.both_sidebar #social-post-shares + .post-content {
  width: 80%;
}

}

/******************************************************************************************/

@media screen and (min-width:993px) and (max-width:1229px) {
  body.both_sidebar #social-post-shares + .post-content {
    width: 75%;
  }
}

@media screen and (min-width:767px) and (max-width:1229px) {
body.both_sidebar .secondary-sidebar .widget-area.sidebar .profitmag-like-count li {
  width: 48%;
}
}

@media screen and (max-width:992px){
  .wrapper{ 
    padding:0 5px;
    width: 740px ;
  }

/*** HEADER ***/

.slicknav_menu, .responsive-slick-menu{
  display: block;
}

.header-wrapper .desktop-menu .menu{
  display: none;
}

.responsive-slick-menu{
  color:#ffffff;
}

.slicknav_btn:before {
    background: none repeat scroll 0 0 #ffffff;
    box-shadow: 0 6px 0 0 #ffffff, 0 12px 0 0 #ffffff;
    content: "";
    height: 3px;
    left: 3px;
    position: absolute;
    top: 6px;
    width: 22px;
}

.slicknav_btn {
    background: #000000;
    background-position: center center;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: transparent;
    cursor: pointer;
    display: block;
    float: left;
    font: 0px/0 a;
    height: 28px;
    left: 68px;
    position: absolute;
    text-decoration: none;
    text-shadow: none;
    top:10px;
    width: 30px;
}

.slicknav_menu li{
  border-top: 1px solid #383838;
    display: block;
    padding: 0 12px;
    width: 100%;
}

.slicknav_menu li a{
  color:#ffffff;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height:40px;
  text-transform: uppercase;
  display: block;
}

.slicknav_menu .slicknav_arrow {
  position:absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  z-index: 99;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.slicknav_menu li:not(.menu-item-has-children) .slicknav_arrow {
  display: none;
}

.slicknav_menu .slicknav_arrow:hover,
.slicknav_menu .slicknav_arrow:focus {
  color: #fff;
}

.header-wrapper .main-navigation .slicknav_menu ul.sub-menu {
    background: #000000;
    left: 0;
    margin-left: 12px;
    position: relative;
    top: 0;
    width: 100%;
}

.header-wrapper .main-navigation .slicknav_menu ul.mega-sub-menu {
  display: none !important;
}

.mega-sub-menu .pm-mega-menu-cat-wrap{
  position: relative;
  height: auto !important;
  width: 100%;
}

.mega-sub-menu .pm-mega-menu-cat-wrap a{
  padding: 0 10px;
}

.mega-sub-menu .pm-mega-menu-con-wrap{
  display: none;
}

.header-wrapper .slicknav_item.slicknav_row{
  width: 100%;
}

.header-wrapper .menu-right .slicknav_btn{
  left: auto;
  right: 10px;
}
    
/*** FOOTER ***/

.footer-wrapper{
  padding: 30px 0 0;
}

.footer-columns.full-col .col,
.footer-columns.half-col .col,
.footer-columns.four-cols .col {
  width: 50%;
}

.footer-columns .col:nth-child(2n+1) {
  clear: both;
}

.profitmag_widget_recent_entries .widget-image,
.footer-columns .profitmag_widget_popular_entries .widget-image,
.sidebar .profitmag_widget_popular_entries .widget-image {
  display: block;
  float: left;
  max-width: 15%;
  margin-right: 10px;
}

.profitmag_widget_popular_entries li .post-desc a,
.profitmag_widget_recent_entries li .post-desc a {
  width: 65%
}

#footer-top .footer1.col {
/*    margin-bottom: 25px;
    margin-left: 0;
    text-align: center;
    width: 100%;*/
}

#footer-top .footer2.col{
  /*margin-left: 0;*/
}

.footer-wrapper .col {
    /*margin-left: 32px;*/
}

#footer-bottom .clear{
  display: block;
}

#footer-bottom .footer-columns .col{
  float: left;
  margin-left:0;
  width: 50%;
}

.footer-wrapper .col li a{
  line-height: 24px;
}

/*** SLIDER ***/

.slider-section .bx-viewport{
  height: 229px !important;
}

/*** HOME ***/

.featured-post{
  margin: 0 0 16px 3%;
  width: 30%;
}

#social-post-shares + .post-content {
  width: 80%;
}

}

/******************************************************************************************/

@media (min-width: 480px) and (max-width: 992px) {
  .sidebar .profitmag_widget_popular_entries .post-date,
  .sidebar .profitmag_widget_recent_entries .post-date {
    clear: both;
  }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 992px) {

  .both_sidebar .single-thumb, .both_sidebar .related-post{
    width: 100%;
  }

  .both_sidebar .related-post{
    margin: 20px 0;
  }

  #social-post-shares {
    width: 100%;
  }

  #social-post-shares h3 {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e5e5;
  }

  #social-post-shares ul li {
    display: inline-block;
    border: none;
    margin: 0 5px 15px;
  }

  #social-post-shares + .post-content {
    width: 100%;
  }
  body.both_sidebar  #social-post-shares + .post-content {
    width: 100%;
  }


}


/******************************************************************************************/

/* Landscape phone to portrait tablet */
@media screen and (max-width:767px){

.wrapper{ width: 98% ;}

/*** HEADER ***/

.site-logo.f-left {
    margin-bottom: 12px;
    text-align: center;
    width: 100%;
}


.header-ads.f-right {
    text-align:center;
    width: 100%;
}

/*** SIDEBAR ***/

#primary, .right_sidebar #primary, .left_sidebar #primary, .no_sidebar #primary, .both_sidebar #primary-wrap, .both_sidebar #primary-wrap #primary{
  margin:0 0 20px;
  width: 100%;
}

.secondary-sidebar, .right_sidebar .secondary-sidebar, .left_sidebar .secondary-sidebar, .no_sidebar .secondary-sidebar, .both_sidebar #primary-wrap .secondary-sidebar, .both_sidebar .secondary-sidebar{
      clear: both;
    float: none;
    margin: 0 auto;
    width: 304px;
}

/*** FOOTER ***/

.footer-wrapper .col,
#footer-bottom .footer-columns .col,
.footer-columns.full-col .col,
.footer-columns.half-col .col,
.footer-columns.four-cols .col {
    margin: 0 0 10px;
    text-align: center;
    width: 100%;
}

.profitmag_widget_popular_entries,
.profitmag_widget_recent_entries {
  text-align: left;
}

.profitmag_widget_popular_entries li .post-desc a,
.profitmag_widget_recent_entries li .post-desc a {
  width: 100%
}

.sidebar .profitmag_widget_popular_entries li .post-desc a,
.sidebar .profitmag_widget_recent_entries li .post-desc a {
  width: 60%
}

/*** SLIDER ***/

.slider-section, .besides-block{
  width: 100%;
}

.slider-section .bx-viewport{
  height: auto !important;
}

.besides-block .beside-post {
    margin: 5px 0 15px;
    width: 25%;
}


}


/******************************************************************************************/


/* Landscape phones and down */
@media screen and (max-width:639px){

/*** HEADER ***/

.header-latest-posts{
  display: none;
}


.right-header.f-right {
    text-align: center;
    width: 100%;
}

/*** SLIDER ***/

.slider-section .slider-desc, .beside-caption{
  display: none;
}

.slider-section .bx-controls-direction{
  bottom: 12px;
}

/*** HOME ***/
.featured-post{
  margin: 0 0 16px 2%;
  width: 48%;
}

.featured-post + .clear{
  display: none;
}

.featured-post-three{
  width: 23%;
}

.single-col{
  margin: 0;
}

.home-featured-block-single-col {
  float: none;
    width: 96%;
    margin: 0 auto;
}

.home-featured-block.popular-widget-area{
  padding: 0 7px;
}

.home-featured-block.popular-widget-area ul{
  margin: 0;
}

.popular-widget-area li {
    margin: 0 0 0 2%;
    width: 47%;
}

.gallery-block{
  padding:16px 12px 26px;
}

/*** INNER ***/

.single-thumb, .related-post{
  width: 100%;
}

.related-post{
  margin: 20px 0;
}

.comment-form textarea{
  width: 100%;
}

article.post .entry-content, article.post .post-thumb{
  width: 100%;
}

article.post .entry-content{
  padding: 0;
}

.post-thumb {
  text-align: center;
}

.post-thumb img {
        width: auto;
}

}


/******************************************************************************************/


@media screen and (max-width:560px) {
  #social-post-shares {
    width: 100%;
  }

  #social-post-shares h3 {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e5e5;
  }

  #social-post-shares ul li {
    display: inline-block;
    border: none;
    margin: 0 5px 15px;
  }

  #social-post-shares + .post-content {
    width: 100%;
  }
body.both_sidebar  #social-post-shares + .post-content {
    width: 100%;
  }
}

/* Landscape phones and down */
@media screen and (max-width:479px){

/*** HOME ***/

.featured-post, .featured-excerpt-block .featured-post, .featured-post-main{
  float: none;
  margin: 0 auto 16px;
    width: 96%;
    
}

.featured-post-three{
  margin: 0 2% 10px;
  width: 46%;
}

.featured-excerpt-block{
  padding: 0;
}

.post-main-thumb, .post-main-desc {
    float: none;
    padding: 0;
    width: 100%;
}

.featured-post-main{
  float: none;
  width: 96%;
}

/*** FOOTER ***/

.profitmag_widget_recent_entries .widget-image,
.footer-columns .profitmag_widget_popular_entries .widget-image,
.sidebar .profitmag_widget_popular_entries .widget-image {
  max-width: 30%
}

}

.profitmag-facebook-like-box .fb_iframe_widget_fluid,
.profitmag-facebook-like-box iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  overflow: auto;
}