.hide-mobile{display:block}.hide-desktop{display:none}@media screen and (max-width:1023px){.hide-desktop{display:block}.hide-mobile{display:none}}
@media screen and (max-width:1024px) {
    #logo-bar {
        height: auto;
        text-align: center
    }
    #logo,
    #logo-icon,
    #top-search-box,
    #top-sub-nav {
        display: block;
        float: none;
        width: 100%;
        max-width:none;
    }
    #top-sub-nav { margin: 0 0 6px }
    #left-sidebar {
        border-bottom: 1px solid #ddd;
        margin-bottom: 20px;
        width: 100%
    }
    .trending-post {
        display: inline-block;
        width: 33%;
        vertical-align: top
    }
    #content {
        box-sizing: padding-box;
        width: 66%
    }
    #right-sidebar {
        box-sizing: padding-box;
        padding: 0 20px 0 0;
        width: 33%
    }
}

@media screen and (max-width:870px) {
    body.single-post #content,
    body.page #content,
    body.author #content,
    body.tag #content,
    #content,
    #right-sidebar {
        margin-bottom: 20px;
        padding-left: 2%;
        padding-right: 2%;
        width: 96%
    }
    .footer-widgets-holder { padding: 20px }
    .three_fourth {
        margin-right: 0;
        width: 100%
    }
    .one_fourth {
        width: 100%
    }
    .one_fourth .footer-tabs {
        box-sizing: padding-box;
        float: left;
        margin-right: 4%;
        width: 48%
    }
    .one_fourth .footer-tabs:last-child {
        margin-right: 0
    }
}

@media screen and (max-width:768px) {
    .top-advert,
    #featured-devicebar img,
    #left-sidebar,
    #right-sidebar,
    #devicebar-popular-in-cat,
    #devicebar-fixed-share-bar,
    .author-bio,
    .related-posts,
    .featured-footer,
    .footer-widgets-holder .three_fourth,
    .footer-tabs { display: none }
    .featured-link { position: static }
    .one_fourth { width:100% }
}

@media screen and (max-width:500px) {
    .trending-post {
        margin-left: 1%;
        margin-right: 1%;
        width: 50%
    }
    .featured-post {
        margin: 0;
        width: 50%
    }
    .one_half {
        margin-right: 0;
        width: 100%
    }
    .one_fourth .footer-tabs {
        width: 100%
    }
		/* nav-wrap */
		#menu-wrap {
			position: relative;
		}

		#menu-wrap * {
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
			box-sizing: border-box;
		}

		/* menu icon */
		#menu-trigger {
			display: block; /* show menu icon */
			height: 40px;
			line-height: 40px;
			cursor: pointer;
			padding: 0 0 0 35px;
			border: 1px solid #222;
			color: #fafafa;
			font-weight: bold;
			background-color: #111;
			background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAMAAADeWG8gAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjE2QjAxNjRDOUNEOTExRTE4RTNFRkI1RDQ2MUYxOTQ3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjE2QjAxNjREOUNEOTExRTE4RTNFRkI1RDQ2MUYxOTQ3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MTZCMDE2NEE5Q0Q5MTFFMThFM0VGQjVENDYxRjE5NDciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MTZCMDE2NEI5Q0Q5MTFFMThFM0VGQjVENDYxRjE5NDciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz42AEtnAAAABlBMVEX///////9VfPVsAAAAAnRSTlP/AOW3MEoAAAAWSURBVHjaYmAgFzBiACKFho6NAAEGAD07AG1pn932AAAAAElFTkSuQmCC) no-repeat 10px center, linear-gradient(#444, #111);
			border-radius: 6px;
			box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
		}


}

/*7SPAN RESPONSIVE*/
@media only screen and (max-width : 1024px){
  #devicebar-fixed-share-bar{
    display: none;
  }
  .db_mobile_share{
    display: block;
  }
  .db_mobile_share > ul{
    height: 55px;
  }
  #main-menu-devicebar{
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    bottom: 0;
    overflow: auto;
    transform: translate3D(-100%,0,0);
    -webkit-transform: translate3D(-100%,0,0);
    -moz-transform: translate3D(-100%,0,0);
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    z-index: 9999;
    background: #fff;
  }
  #main-menu-devicebar.open{
    box-shadow: 0 0 60px 20px rgba(0,0,0,0.4);
    transform: translate3D(0%,0,0);
    -webkit-transform: translate3D(0%,0,0);
    -moz-transform: translate3D(0%,0,0);
    -webkit-box-shadow: 0 0 60px 20px rgba(0,0,0,0.4);
    -moz-box-shadow: 0 0 60px 20px rgba(0,0,0,0.4);
    -ms-box-shadow: 0 0 60px 20px rgba(0,0,0,0.4);
    -o-box-shadow: 0 0 60px 20px rgba(0,0,0,0.4);
  }

  #main-menu-devicebar ul li{
    display: block;
  }
  #main-menu-devicebar .wrapper{
    max-width: none;
    width: 100%;
  }
  #main-menu-devicebar ul li a{
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 10px;
    background: transparent!important;
    color: #000!important;
    border: none!important;
  }
  .single-post-meta{
    font-size: 12px;
    font-style: normal;
  }
  .sub-menu-trigger-mobile{
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    bottom: 0;
    width: 40px;
    text-align: center;
    font-size: 20px;
    display: block;
    background: transparent;
    height: 40px;
    line-height: 30px;
  }
  .sub-menu-trigger-mobile:after{
    content:'→';
    height: 40px;
    line-height: 30px;
    width: 40px;
  }
  .sub-menu-trigger-mobile.open:after{
    content: '↓';
  }
  #main-menu-devicebar ul .sub-menu-holder,
  #main-menu-devicebar .menu-right .sub-menu-holder{
    position: static;
    width: 100%;
    border: none;
    background: transparent!important;
  }
  .sub-posts-holder{
    display: none;
  }
  #main-menu-devicebar .menu-right .sub-cats-holder,
  #main-menu-devicebar .sub-cats-holder{
    float: none!important;
    width: auto;
  }
  #main-menu-devicebar .sub-nav-links .current-tab, #main-menu-devicebar .sub-nav-links a:hover{
    background: transparent!important;
    color: #000!important;
  }
  #main-menu-devicebar .sub-nav-links a{
    padding: 10px;
    border: none;
  }
  #main-menu-devicebar .sub-nav-menu > li{
    border-bottom: 1px solid #ddd;
  }
  #main-menu-devicebar .sub-nav-menu > li.active{
    background: #f5f5f5;
  }
  #main-menu-devicebar .sub-nav-menu > li.active > a{
    background: #e1e1e1!important;
  }
  #main-menu-devicebar ul ul li{
    padding-left: 0;
    padding-right: 0;
  }
  .mobile-menu-title{
    display: block;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    color: #fff;
    background: #555;
  }
  .mobile-menu-title > span{
    float: left;
    padding: 0px 10px;
    display: block;
    height: 50px;
    line-height: 50px;
  }
  .mobile-menu-close{
    float: right;
    width: 50px;
    border: none;
    background: none;
    color: #fff;
    text-align:center;
    height: 50px;
    line-height: 50px;
  }
  .mobile-menu-close:after{
    content: '✖';
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
  .menu-trigger{
    display:block;
  }
  #logo{
    padding-top: 0px;
    position: relative;
  }
  .main-menu-trigger-mobile,
  .top-menu-trigger-mobile{
    position: absolute;
    width: 40px;
    height: 40px;
    background: none;
    color: #fff;
    border: none;
    font-size: 24px;
    left: 0;
    display: block;
    outline: 0;
  }
  .top-menu-trigger-mobile{
    left: auto;
    right: 0;
    top: 0px;
  }
  #logo-icon{
    margin: 0;
    height: 40px;
    line-height: 43px;
    display: inline-block;
    width: auto;
  }
  #logo-icon img{
    height: 23px;
    width: auto;
  }
  #top-sub-nav .sub-nav li{
    display: block;
    margin: 0;
  }

  #top-sub-nav .sub-nav li a{
    height: 30px;
    line-height: 30px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
    padding: 0px 20px;
  }
  #top-search-box input[type="text"]{
    margin-top: 5px;
  }
  #top-sub-nav {
      overflow: visible;
      top: 40px;
      position: absolute;
      width: auto;
      right: 20px;
      display: none;
      z-index: 999;
  }

  /* main nav */
  #top-sub-nav .sub-nav {
    margin: 0;
    padding: 10px 0;
    z-index: 1;
    background-color: #444;
    box-shadow: none;
    width: auto;
    position: static;
    display: block;
  }
  .sub-nav:after {
    content: '';
    position: absolute;
    right: 10px;
    top: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #444;
  }
  .sub-nav ul {
    position: static;
    visibility: visible;
    opacity: 1;
    margin: 0;
    background: none;
    box-shadow: none;
  }
  .sub-nav ul ul {
    margin: 0 0 0 20px !important;
    box-shadow: none;
  }
  .sub-nav li {
    position: static;
    display: block;
    float: none;
    border: 0;
    margin: 5px;
    box-shadow: none;
  }
  .sub-nav ul li{
    margin-left: 20px;
    box-shadow: none;
  }
  .sub-nav a{
    display: block;
    float: none;
    padding: 0;
    color: #999;
  }
  .sub-nav a:hover{
    color: #fafafa;
  }
  .sub-nav ul a{
    padding: 0;
    width: auto;
  }
  .sub-nav ul a:hover{
    background: none;
  }
  .sub-nav ul li:first-child a:after,
  .sub-nav ul ul li:first-child a:after {
    border: 0;
  }
}
@media only screen and (max-width : 768px){
  .db_mobile_share > ul{
    height: 40px;
  }
  .connect_with{
    font-size: 13px;
  }
  .author-avatar-heading img{
    width: 24px;
    height: 24px;
  }
  footer.devicebar-footer{
    margin-top: 15px;
  }
  .single-title{
    font-size: 18pt;
    line-height: 32px;
  }
  iframe{
    max-height: 250px;
  }
  .post-title{
    font-size: 18pt;
  }

  #top-search-box input[type="text"]{
    width: 95%;
    text-align: center;
  }
  #featured-devicebar{
    padding: 0;
    margin: 10px 0 10px 0;
  }
  .featured-post{
    width: 100%;
    float: none;
    overflow: hidden;
    background: #000;
    padding: 0;
    height: 70px;
    margin-top: 5px;
  }
  .featured-post img{
    display: block!important;
    width: 100%;
    opacity: .5;
  }
  .featured-link{
    font-size: 11px;
    opacity: 1;
    padding: 10px 15px;
    position: absolute;
    right: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    line-height: 16px;
  }
  .featured-link:hover{
    color: #fff;
  }
  .footer-widgets-holder{
    display: none;
  }
  .feature-post-thumb-wrap{
    left: 0px;
    right: 0px;
    opacity: .5;
  }
  .single-post .body-content #featured-devicebar{
    display: none;
  }
  .single-post .body-content .single-featured-bottom #featured-devicebar{
    display: block;
  }
  .nav-tbl{
    width: 100%!important;
    float: none;
  }
}
