html, body {
    height: 100%;
    min-height: 100%
}

body.active {
    overflow-x: hidden;
    overflow-y: hidden
}

.overlay {
    background-color: transparent;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    width: 0;
    z-index: 100
}

.overlay.active {
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: background-color 0.35s;
    transition: background-color 0.35s;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%
}

.navbar-collapse-wrap {
    position: absolute
}

.navbar {
    border: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.navbar .navbar-nav > .current-menu-item a {
    color: #fff;
    background-color: #080808
}

.navbar .navbar-toggle:focus, .navbar .navbar-toggle:hover {
    background-color: transparent
}

.navbar .container {
    padding: 0px
}

.navbar .container .navbar-header {
    margin: 0;
    position: relative;
    z-index: 100;
    background-color: #222
}

.navbar .container > .navbar-collapse.active {
    left: 0px
}

.navbar .container ul {
    margin: 0;
    padding: 0px
}

.transition {
    -webkit-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out
}

.navbar-toggle {
    border: none;
    margin-left: 10px
}

.navbar-toggle .icon-bar {
    -webkit-transform-origin: 21px;
    -ms-transform-origin: 21px;
    transform-origin: 21px;
    -webkit-transition: -webkit-transform .2s, opacity .1s;
    transition: transform .2s, opacity .1s;
    height: 3px;
    width: 22px
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(2) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(4) {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(3) {
    opacity: 0
}

.navbar-nav {
    margin: 0px
}

.navbar .container ul.navbar-nav > li > a:hover {
    background: #000;
}

.main .media {
    margin-bottom: 15px;
    border-bottom: 1px #ddd dotted;
}

.main .media .media-body p {
    margin: 0;
    line-height: 22px;
    font-size: 12px;
    text-indent: 12px;
}

.main .media .media-body .media-heading {
    line-height: 26px;
}

.main .media .media-body {
    padding-bottom: 10px;
}

.main .message .media .media-left img {
    width: 50px;
    height: 50px;
    display: block;
}

.main .message .media {
    margin-bottom: 12px;
    height: 60px;
    overflow: hidden;
    white-space: nowrap;
}

.main .message .media .media-info {
    font-size: 12px;
    display: block;
}

.main .message .media .media-body a {
    height: 30px;
    overflow: hidden;
    white-space: nowrap;
}

@media screen and (max-width: 767px) {
    body {
        padding-top: 50px;
    }

    .blog-bg {
        background: #fff;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-brand {
        position: absolute;
        padding-top: 3px;
        right: 0px;
        height: 50px;
        width: 170px;
        display: block;
        overflow: hidden;
    }

    .navbar-brand img {
        height: 45px;
    }

    .sidebar-offcanvas {
        position: absolute;
        top: 0;
        width: 50%;
        height: 100%;
        bottom: 0
    }

    .navbar .container > .navbar-collapse {
        position: fixed;
        z-index: 50;
        bottom: 0;
        top: 50px;
        left: -50%;
        margin: 0;
        padding: 0px;
        width: 50%;
        white-space: nowrap;
        box-shadow: none;
        border-top: 0px solid white;
        display: block;
        overflow-y: auto;
        background-color: #222;
        overflow-x: hidden;
        max-height: 100%;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 30px;
        line-height: 30px;
        font-size: 14px;
    }

    .navbar .container ul.dropdown-menu > li.li-cate > a {
        display: block;
        line-height: 25px;
        padding-left: 50px;
    }

    .navbar .container ul.dropdown-menu > li.li-cate > a:hover {
        background: #4E4E4E !important;
    }

    .main .media-left img {
        width: 115px;
        height: 80px;
        margin-bottom: 10px;
    }

    .main .media-body p {
        display: none;
    }

    .main .media {
        margin-bottom: 10px;
        padding-bottom: 0px;
        border-bottom: 0.5px solid #eee;
    }

    .main .message {
        margin-top: 20px;
    }

    .main .message .media {
        margin-bottom: 10px;
    }

    .main .media .media-body .media-heading {
        font-size: 16px;
        font-weight: normal;
        line-height: 25px;
    }

    .main .media-info {
        font-size: 10px;
        line-height: 20px;
        display: block;
    }

    .main .media-info span {
        margin-right: 20px;
    }

    .panel {
        border: 0;
        padding: 0;
        margin-bottom: 10px;
        border-radius: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    #divCommentPost {
        padding: 0;
    }

    #divCommentPost .posttop .com_title {
        display: block;
        position: relative;
        font-size: 18px;
        color: #727272;
        overflow: hidden;
        line-height: 28px;
    }

    #divCommentPost .posttop .com_title:after {
        background: url(../img/bg_off.png) repeat;
        content: "";
        height: 5px;
        margin-left: 10px;
        position: absolute;
        top: 12px;
        width: 99%;
    }

    .blog-content, .siderbar, .siderbar .panel-body, .siderbar .item_title, .single .single-post-content,.single .content-img,.single .content, .single .single.page-content, .related .item_title, .related ul {
        padding: 0;
    }

    .single .content-img{
        margin-bottom: 20px;
    }

    .content .fun_btn{
        text-align: center;
    }

    .content .fun_btn .download{
        display: none!important;
    }

    .msglist label, .nomobile {
        display: none;
    }

    .single .pager {
        margin-bottom: 30px;
    }

    .single .single h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .msg {
        padding-top: 10px;
    }

    .msg .msg {
        border: 0;
        margin: 0;
        float: left;
        width: 100%;
    }

    .msg h4 {
        margin: 0;
        margin-bottom: 5px;
    }

    .msg .revertcomment {
        bottom: 5px;
    }

    .msg .revertcomment a {
        margin-right: 0;
    }

    .msg .revertbox {
        height: 35px;
        line-height: 35px;
    }

    .msg .media-left, .msg .media > .pull-left {
        padding-right: 5px;
    }

    .msg .media .avatar, .msg .msg .media .avatar {
        width: 30px;
        padding: 0;
        border: 0.5px #eee solid;
    }

    .msg .msg h4, .msg h4 {
        font-size: 12px;
    }

    .single .single.page-content {
        margin-bottom: 40px;
    }

    .comment li {
        border-bottom: 1px dotted #e4e4e4;
        line-height: 25px;
        padding: 5px 0;
        font-size: 12px;
        overflow: auto;
        white-space: normal;
        position: relative;
    }

    .comment li span.com-box {
        margin-left: 60px;
    }

    .comment li img {
        position: absolute;
        left: 0;
    }

    .comment li a {
        font-size: 14px;
    }

    .related {
        margin-bottom: 30px;
    }

    .related li {
        border-bottom: 0.5px #eee solid;
        line-height: 25px;
        list-style: none;
        font-size: 16px;
        font-weight: normal;
        padding: 5px 0;
    }

    .related ul li span {
        display: block;
        font-size: 10px;
        margin-left: 0;
    }

    .plist {
        border-bottom: 0.5px #eee solid;
    }

    .plist h4 {
        border-bottom: 0;
        line-height: 25px;
        font-size: 17px;
        font-weight: normal;
        margin-bottom: 0;
    }

    .plist .media-imgs{
        display: block;
        width: 100%;
        margin-top: 5px;
        overflow: hidden;
    }

    .plist .media-imgs li{
        display: inline-block;
        width: 32.5%;
        overflow: hidden;
        vertical-align: middle;
    }

    .plist .media-imgs li:first-child img{
        border-radius: 4px 0 0 4px;
    }

    .plist .media-imgs li:last-child img{
        border-radius: 0 4px 4px 0;
    }

    .plist .media-imgs li img{
        width: 100%;
    }

    .plist .media-left {
        display: none;
    }

    .plist .media-body {
        display: none;
    }

    .plist .media-left img {
        width: 115px;
        height: 80px;
        margin-bottom: 10px;
    }

    .plist .plist-tags {
        display: none;
    }

    .plist .media-footer {
        border: 0;
        font-size: 10px;
        text-indent: 0.1em;
        margin-top: 0;
        margin-bottom: 5px;
        display: block;
        color: #999;
        border-bottom: 0;
        line-height: 25px;
        height: 25px;
    }

    .plist .media-footer a {
        color: #999;
    }

    .plist .media-footer .pull-right {
        float: left !important;

    }

    .plist .media-infos {
        display: none;
    }

    .siderbar .list-default li {
        border-bottom: 0.5px solid #eee;
        line-height: 25px;
        padding: 5px 0;
        overflow: auto;
        white-space: normal;
    }

    .siderbar .list-default li a {
        font-size: 16px;
        font-weight: normal;
    }

    .siderbar .list-default li span {
        font-size: 10px;
        color: #999;
    }

    .thumb-panel .post-body, .thumb-panel .item_title {
        padding: 0;
    }

    .thumb-panel {
        padding: 0;
        margin-bottom: 30px;
    }

    .img-item {
        padding: 0;
    }

    .service-reasons, .comment-tips {
        display: none;
    }

    .blog-img-content .ias-content {
        border: 0;
        padding: 0;
    }

    .ias-panel {
        padding: 10px;
        margin-bottom: 20px;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
        box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    }

    .navbar-toggle{
        margin-right: 0;
    }

    .search-bar{
        margin: 0;
        margin-top: 9px;
        color: #fff;
    }

    .scrollup {
        bottom: 10px;
        right: 10px;
    }

    .material-info {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 768px) {
    .navbar-brand img {
        height: 70px;
        transition: all 0.5s ease-in-out;
    }

    .navbar-nav>li>a {
        padding-top: 16px;
        padding-bottom: 14px;
    }

    .navbar .navbar-nav > li > a {
        line-height: 47px;
        font-size: 14px;
        overflow: hidden;
        border-bottom: 3px solid transparent;
        transition: all 0.5s ease-in-out;
    }

    .navbar .navbar-nav > li > a:hover,.navbar .navbar-nav > li.active > a,.navbar .navbar-nav > li.open > a {
        border-bottom: 3px solid #0488cd;
    }

    .navbar .navbar-nav > li > .dropdown-menu > li.li-cate > a,.navbar .navbar-nav > li > .dropdown-menu > li > ul.ul-subcates > li.li-subcate > a {
        display: block;
        line-height: 35px;
        font-size: 14px;
        padding: 0 20px;
        clear: both;
        font-weight: 400;
        color: #fff;
        white-space: nowrap;
        transition: all 0.5s ease-in-out;
    }

    .navbar .navbar-nav > li > .dropdown-menu > li.li-cate > a:hover {
        background: #1E1E1E;
        padding-left:25px !important;
    }

    .navbar .navbar-nav > li > .dropdown-menu > li > ul.ul-subcates > li.li-subcate > a {
        padding-left: 40px;
    }

    .navbar .navbar-nav > li > .dropdown-menu > li > ul.ul-subcates > li.li-subcate > a:hover {
        background: #1E1E1E;
        padding-left:45px !important;
    }

    .navbar .navbar-nav > li.active > a:after {
        bottom: -2.5px;
        content: '';
        left: 50%;
        display: block;
        height: 5px;
        margin: 0 0 0 -2.5px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        position: absolute;
        width: 5px;
        background: #0488cd;
    }

    .navbar {
        transition: all 0.5s ease-in-out, opacity 0.5s ease-in-out, -moz-opacity 0.5s ease-in-out, -khtml-opacity 0.5s ease-in-out;
    }

    a.navbar-brand {
        padding: 5px;
        height: 70px;
        width: 270px;
        display: block;
        overflow: hidden;
        transition: height 0.5s ease-in-out, width 0.5s ease-in-out;
    }

    .plist:hover,.thumbnail:hover{
        -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        transition: all .5s ease-in-out;
    }

    .top-nav.navbar {
        filter: alpha(opacity:90);
        opacity: 0.9;
        -moz-opacity: 0.9;
        -khtml-opacity: 0.9
    }

    .top-nav.navbar .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 12px;
        line-height: 25px;
    }

    .top-nav a.navbar-brand {
        padding: 5px;
        height: 50px;
        width: 200px;
        display: block;
        overflow: hidden;
    }

    .top-nav.navbar .navbar-brand img {
        height: 45px;
    }

    .navbar .container {
        padding: 0 15px
    }

    .navbar .container .navbar-header {
        margin: 0px;
        padding: 0px
    }

    .navbar .container ul.nav {
        width: auto;
        background-color: transparent;
        padding-left: none;
        margin: initial
    }

    .navbar .container ul.dropdown-menu {
        background-color: #4E4E4E;
        border-radius: 4px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
        overflow: hidden;
    }

    .navbar .container ul.dropdown-menu li {
        background: none;
        zoom: 1;
        width: 100%;
    }

    .list-group-item {
        position: relative;
        display: block;
        padding: 0;
        background: none;
        border: 0;
    }



    .navbar .container > .navbar-collapse {
        position: initial;
        z-index: initial;
        bottom: initial;
        top: initial;
        background-color: initial;
        margin: initial;
        width: initial
    }

    .navbar-nav {
        margin: initial
    }

    .overlay {
        display: none
    }

    .plist .media-heading a{
        border-left:5px #0e90d2 solid;
        padding-left: 16px;
        margin-left: -21px;
    }

    .main .media {
        height: 130px;
        overflow: hidden;
    }

    .main .media .media-left img {
        width: 150px;
        margin-bottom: 15px;
        display: block;
    }

    .main .media .media-info {
        display: none;
    }

    .search-bar{
        display: none;
    }

    .float_affix{
        top:70px;
    }

}
