/*
Responsive CSS Fixes

Author: Codingest
Template Name: Infinite
*/

/* screen size smaller  than 1200px */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
}

/* screen size smaller  than 1200px and bigger than 992px */
@media (max-width: 1200px) and (min-width: 992px) {
    .popular-comment-span {
        display: none;
    }

    .post-item-horizontal .post-buttons {
        bottom: 0;
        display: block;
        float: left;
        padding-right: 15px;
        position: relative;
        right: 0;
        width: 100%;
    }
}

/* screen size smaller  than 1200px and bigger than 768px */
@media (max-width: 1200px) and (min-width: 768px) {
    .navbar .container {
        width: 100%;
    }

    .social-nav {
        padding: 0;
    }

    .navbar-left {
        padding-right: 0;
    }

}

@media (max-width: 1140px) {
    .bn-lg {
        display: none;
    }

    .bn-md {
        display: block;
    }
}

/* screen size smaller  than 1100px and bigger than 768px */
@media (max-width: 1100px) and (min-width: 768px) {
    .navbar-nav > li {
        margin-left: 0px !important;
    }

    .navbar-nav > li {
        margin-right: 0px !important;
    }

    .navbar-inverse .navbar-nav > li > a {
        font-size: 12px;
    }

    .dropdown-more .more-sign {
        font-size: 17px;
    }

    .social-nav .navbar-nav > li > a {
        font-size: 11px !important;
    }
}

/* screen size bigger than 768px */
@media (min-width: 768px) {

}

@media (max-width: 991px) {
	
	

/*  SRT  */

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-right: 12px;
    padding-left: 12px;
}

/*  SRT  */


	
	
    #header {
        height: auto;
    }

    .navbar-inverse {
        height: auto;
    }

    .nav-desktop {
        display: none;
    }

    .nav-mobile {
        display: block;

    }

    .navbar-collapse {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .navbar-header .collapse, .navbar-toggle {
        display: block !important;
    }

    .navbar-header {
        float: none;
    }

    .mobile-search-icon {
        display: block;
    }

    .search-icon {
        margin: 20px 0 0 0 !important;
        cursor: pointer;
        display: inline-block;
        font-size: 30px;
        position: relative;
        float: right;
        right: 15px
    }
    .search-icon i {
        font-size: 17px !important;
    }
    .modal-search {
        background: #fff none repeat scroll 0 0;
        box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
        display: none;
        /*position: absolute;
        right: 0 !important;
        top: 93px;*/
        position:relative;
        transition: all .2s ease-in-out 0s;
        width: 100%;
        z-index: 999999
    }

    .modal-search .form-control:focus, .modal-search .form-control {
        font-size: 13px;
        height: 50px;
        padding: 7px 15px 9px 15px;
        position: absolute;
        width: 100%
    }

    .modal-search .s-close {
        box-shadow: none;
        color: #999;
        cursor: pointer;
        font-size: 16px;
        position: absolute;
        right: 15px;
        top: 25px
    }

    /*navbar*/
    .navbar-inverse {
        padding-top: 0;
    }

    .navbar-header {
        /*border-bottom: 1px solid #eee;*/
    }

    .navbar-inverse .navbar-nav .active a::after {
        display: none;
    }

    .navbar-nav > li {
        margin-left: 2.7% !important;
        padding-bottom: 7px;
    }

    .navbar-inverse .navbar-nav > li > a {
        background-color: transparent;
        border-radius: 3px;
        color: #444;
        display: block;
        font-size: 13px;
        font-weight: 600;
        line-height: 18px;
    }

    .navbar-toggle {
        margin-left: 0px;
        margin-top: 45px;
        margin-bottom: 15px;
    }

    .navbar-toggle {
     float:none !important;
      padding: 9px 10px;
      background-color: transparent;
      background-image: none; 
      border: 1px solid transparent;

      }
    
    .navbar-inverse .navbar-nav {
        margin-bottom: 0 !important;

    }

    .navbar-collapse .navbar-nav {
        padding-top: 0px;
    }

    .navbar-inverse .dropdown {
        width: 92% !important;
    }

    .navbar-inverse .dropdown .dropdown-menu {
        background: #f3f3f3 none repeat scroll 0 0;
        opacity: 1;
        width: auto;
        margin-left: 11px;
        padding-left: 15px !important;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        border-radius: 3px;
        display: block;
        font-size: 11px !important;
        line-height: 16px;
        margin: 0;
        padding: 5px 12px;
        padding-left: 0px !important;
        text-transform: uppercase;
        font-weight: 600;
        color: #444;
    }

    .navbar-inverse .navbar-nav .dropdown-menu {
        border: 0 none;
        border-radius: 0;
        left: 0;
        margin-top: 0;
        padding: 0;
        box-shadow: none;
        position: relative !important;
    }

    .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
        margin-left: 15px !important;
    }

    .navbar-brand img {
        max-width: 150px;
    }

    .profile-drop {
        display: inline-block !important;
        width: auto !important;
    }

    .profile-dropdown {
        width: 92% !important;
    }

    .social-nav .navbar-nav {
        margin-top: 0 !important;
    }

    .social-mobile {
        display: block;
        padding-top: 3px;
    }

    .social-mobile .navbar-nav {
        width: 100%;
        display: block;
    }

    .social-mobile .navbar-nav > li {
        margin-left: 15px !important;
    }

    .social-mobile .navbar-nav > li > a {
        padding: 5px;
    }

    .navbar-brand {
        background-color: transparent !important;
        display: block;
        margin-left: 15px;
        margin-top: 8px;
        height: 45px;
        margin-right: 5px;
        margin-top: 10px;
        width: 150px;
        padding: 0 !important;
    }

    .navbar-brand img {
        max-width: 150px;
        max-height: 45px;
        display: block;
    }

    .navbar-nav .dropdown .top-dropdown {
        width: 96% !important;
    }

    .page-login {
        padding: 30px 0;
    }
}

/* screen size smaller than 767px */
@media (max-width: 767px) {

    .img-popular {
        display: none;
    }

    .img-popular-mobile {
        display: block;
    }

    .hidden-sm {
        display: none;
    }

    .mobile-li {
        display: block !important;
    }

    /*slider*/
    .home-slider-item .item-info {
        padding: 5px;
    }

    .home-slider-item .item-info .title {
        display: block;
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
        margin: 5px 0;
    }

    .first-tmp-slider {
        margin-right: -15px;
        margin-left: -15px;
    }

    /*Post List*/
    #main {
        margin-top: 25px;
    }
    .first-tmp-slider{
        margin-top: -25px;
    }
    .post-item .post-footer .title {
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;
        margin: 10px 0;
    }

    .post-item-boxed .title {
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;
        margin: 10px 0;
    }

    .post-item-horizontal .title {
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;
        margin: 10px 0;
    }

    .post-item .post-footer .summary {
        color: #888;
        font-size: 13px;
        font-weight: 400;
        line-height: 22px;
    }

    .post-item-boxed .summary {
        color: #888;
        font-size: 13px;
        font-weight: 400;
        line-height: 22px;
    }

    .post-item-horizontal .summary {
        color: #888;
        font-size: 13px;
        font-weight: 400;
        line-height: 22px;
    }

    .read-more {
        border-radius: 2px;
        font-size: 12px;
        font-weight: 400;
        padding: 3px 6px;
        text-transform: uppercase;
    }

    .read-more:hover .read-more-i {
        margin-left: 25px;
        margin-right: 5px;
    }

    .post-item .post-footer .post-buttons .post-social li {
        margin-right: 15px;
    }

    .post-item .post-footer .post-meta span {
        font-size: 10px;
    }

    .post-item .post-footer .post-buttons .post-social {
        padding: 2px 6px 3px 0;
    }

    .post-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .post-item-horizontal {
        margin-bottom: 15px;
    }

    .post-item-horizontal .item-image {
        width: 100%;
        display: block;
        float: left;
    }

    .post-item-horizontal .item-content {
        width: 100%;
        display: block;
        float: left;
        padding-left: 0;
        margin-top: 15px;
    }

    .post-item-horizontal .post-buttons {
        position: relative;
        padding: 0;
    }

    /*pagination*/
    .pagination li {
        display: none;
        float: left;
    }

    .pagination li a {
        font-size: 12px !important;
        line-height: 22px;
    }

    .pagination .next {
        display: block !important;
    }

    .pagination .prev {
        display: block !important;
    }

    /*Sidebar*/
    .widget-popular-posts {
        margin-top: 30px;
    }

    .ramdom-post-slider .item-info {
        padding: 15px;
    }

    .ramdom-post-slider .item-info .title {
        color: #fff;
        display: block;
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        margin: 0;
        margin-top: 5px;
    }

    /*footer*/
    #footer {
        background-color: #222;
        color: #ccc;
        margin-top: 30px;
        padding-top: 30px;
    }

    .newsletter input {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .newsletter .newsletter-button {
        float: right;
    }

    #ad-space {
        padding: 15px 0;
    }

    /*pages*/
    .page-content {

    }

    .page-breadcrumb {
        display: none;
    }

    .page-about {
        font-size: 13px;
        line-height: 24px;
    }

    .page-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .post-content .post-title .title {
        font-size: 18px;
        font-weight: 600;
        line-height: 26px;
        margin-top: 10px;
    }

    .post-content .post-meta span {
        font-size: 10px;
    }

    .post-content .post-text {
        font-size: 13px;
        line-height: 24px;
    }

    .post-content .post-tags .tag-list li a {
        font-size: 11px;
        padding: 2px 5px;
    }

    .post-content .post-share .btn-share {
        height: 40px;
        line-height: 40px;
        margin-right: 10px;
        width: 40px;
    }

    .post-content .post-share .btn-share i {
        margin-right: 0px;
    }

    .related-posts .post-list li {
        margin-bottom: 15px;
    }

    .related-posts .post-list li .title {
        margin-top: 10px;
    }

    .add-to-reading-list {
        float: right !important;
        margin-top: 0px;
    }

    .delete-from-reading-list {
        float: left !important;
        margin-top: 10px;
    }

    .footer-bottom-left {
        display: block;
        text-align: center;
        width: 100%;
    }

    .footer-bottom-left p {
        display: block;
        text-align: center;
        width: 100%;
    }

    .footer-bottom-right {
        display: block;
        text-align: center;
        width: 100%;
    }

    .nav-footer {
        display: block;
        text-align: center;
        width: 100%;
    }

    .footer-bottom {
        padding-bottom: 60px;
    }

    .section-comments .nav > li > a {
        padding: 10px 3px !important;
        font-size: 11px;
    }

    .post-content .post-meta form {
        float: left !important;
        margin-top: 0px;
        display: block;
        width: 100%;
        text-align: left;
    }

    .post-content .post-meta form button {
        float: left !important;
        margin: 0 !important;
    }

    .posts {
        width: 100% !important;
    }

    .btn-optional-link {
        padding: 8px 20px;
        font-size: 13px;
        border-radius: 2px;
    }

    #home-slider .owl-prev {
        top: 43%;
    }

    #home-slider .owl-next {
        top: 43%;
    }

    .rss-item .left {
        display: block;
        width: 100%;
    }

    .rss-item .right {
        display: block;
        width: 100%;
    }

    .rss-item .right p {
        word-break: break-all;
    }

    .item-boxed-cnt {
        padding: 0;
    }

    .posts-boxed {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 540px) {

    .bn-lg-sidebar {
        display: none;
    }

    .bn-md {
        display: none;
    }

    .bn-sm {
        display: block;
    }

}

/* screen size bigger than 480px */
@media (max-width: 480px) {
    .post-item-boxed .item-content {
        padding: 10px;
    }

    .w-popular-list li img {
        float: left;
        height: auto;
        margin-right: 15px;
        position: relative;
        width: 100%;
    }

    .page-content iframe {
        height: auto !important;
    }

    .post-text iframe {
        height: auto !important;
    }

    .navbar-brand {
        margin-bottom: 0 !important;
    }

    .w-popular-list li img {
        float: none;
        margin-bottom: 5px;
    }

    .comment-left {
        width: 100%;
    }

    .comment-right {
        width: 100%;
        padding: 0;
        margin-top: 15px;
    }

    .item-sub-comment {
        padding-left: 50px;
        padding-right: 15px;
    }

    .item-sub-comment .comment-left {
        padding: 0;
    }

    .first-tmp-slider-item .item-info {
        padding: 10px;
    }

    .first-tmp-slider-item .item-info .title {
        font-size: 18px;
        line-height: 24px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .first-tmp-slider-item img {
        width: auto !important;
        display: block;
        max-width: none !important;
        max-height: 270px !important;
    }

    .post-avatar {
        margin-right: 5px;
    }

    .post-content .post-meta span {
        float: left;
    }

    .post-content .post-meta a {
        float: left;
    }

    .add-to-reading-list {
        float: right;
    }

    .comment-lists li img {
        float: left;
        height: 40px !important;
        width: 40px !important;
    }
}

@media (max-width: 391px) {

    .first-tmp-slider-item img {
        width: auto !important;
        display: block;
        max-width: none !important;
        min-width: 100%;
        max-height: 195px !important;
    }

}







