/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - X > 1400px
2.0 - 992px < X < 1199px
3.0 - X < 992px
4.0 - 768px < X < 992px
5.0 - X < 768px
6.0 - 480px < X < 768px
7.0 - X < 480px
--------------------------------------------------------------*/
/*--------------------------------------------------------------
    1. X > 1200px
--------------------------------------------------------------*/
@media only screen and (min-width: 1200px) {
    .post-list .ruby-holder {
        min-height: 260px;
    }

    .no-sidebar .post-list .ruby-holder {
        min-height: 418px;
    }

    .post-grid .ruby-holder {
        min-height: 170px;
    }

    .no-sidebar .post-grid-outer:not(.col-md-4) .ruby-holder {
        min-height: 273px;
    }

    .is-sidebar .post-classic .ruby-holder {
        min-height: 352px;
    }

    .no-sidebar .post-classic .ruby-holder {
        min-height: 552px;
    }

    .post-feat-big.post-wrap .post-title.is-big-title a {
        font-size: 1.3em;
    }
}

@media only screen and (min-width: 1400px) {
    .ruby-container.footer-area {
        max-width: 1400px;
    }

    #ruby-feat-slider-center-fw.slider-init, #ruby-feat-slider-left-fw.slider-init {
        height: 560px;
    }

    .post-feat-big.post-wrap, .post-feat-small.post-wrap {
        height: 560px;
    }

    .post-feat-small .post-content-wrap {
        width: 500px;
        max-width: 500px;
        padding: 45px 30px;
        margin-right: 90px;
    }

    .post-feat-big.post-wrap .post-title.is-big-title a {
        font-size: 1.5em;
        line-height: 1.1;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {

    .post-feat-small .post-content-wrap {
        min-width: 400px;
    }
}

/*--------------------------------------------------------------
    2. 992px < X < 1199px
--------------------------------------------------------------*/

@media only screen and (max-width: 1199px) and (min-width: 992px) {
    .ruby-container {
        max-width: 962px !important;
    }

    #ruby-feat-slider-center-fw.slider-init, #ruby-feat-slider-left-fw.slider-init {
        height: 450px;
    }

    .post-feat-big.post-wrap, .post-feat-small.post-wrap {
        height: 450px;
    }

    .post-list .post-excerpt {
        display: none;
    }

    /* thumb holder */
    .post-list .ruby-holder {
        min-height: 203px;
    }

    .no-sidebar .post-list .ruby-holder {
        min-height: 333px;
    }

    .post-grid .ruby-holder {
        min-height: 133px;
    }

    .no-sidebar .post-grid-outer:not(.col-md-4) .ruby-holder {
        min-height: 218px;
    }

    .is-sidebar .post-classic .ruby-holder {
        min-height: 281px;
    }

    .no-sidebar .post-classic .ruby-holder {
        min-height: 445px;
    }

}

/*--------------------------------------------------------------
    3. X < 992px
--------------------------------------------------------------*/

@media only screen and (max-width: 991px) {

    #main {
        padding-left: 0;
        padding-right: 0;
    }

    #ruby-sidebar.sidebar-wrap {
        padding-top: 45px;
        padding-left: 15px;
    }

    .nav-bar-outer, .top-bar-wrap, .social-bar-outer, .mobile-nav-button .icon-text {
        display: none;
    }

    .about-widget .social-bar-outer, .social-widget .social-bar-outer {
        display: block;
    }

    .mobile-nav-button {
        display: block;
        right: 30px;
    }

    .logo-area-wrap {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .logo-image {
        height: 60px;
    }

    .logo-text {
        line-height: 36px;
    }

    .logo-text strong a {
        font-size: 36px;
    }

    .logo-text .site-tagline {
        font-size: 12px;
        line-height: 1.2;
        margin-top: 5px;
    }

    .single-el {
        margin-left: 15px;
        margin-right: 15px;
        padding: 25px;
    }

    .ruby-widget-post-fw .widget-title h3 {
        font-size: 20px;
    }

    .ruby-widget-post-fw.widget {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .archive-page-header h1 {
        font-size: 48px;
    }

    .archive-page-header .archive-title-desc {
        font-size: 24px;
    }

    .archive-author-thumb {
        min-height: 90px;
    }

    .archive-author-thumb img {
        width: 90px;
    }

    .is-feat-title.post-title a {
        font-size: 1.2em;
    }

    #ruby-feat-slider-center-fw.slider-init, #ruby-feat-slider-left-fw.slider-init {
        height: 400px;
    }

    .post-feat-big.post-wrap, .post-feat-small.post-wrap {
        height: 400px;
    }

    .post-feat-small.post-wrap {
        margin-right: 0;
    }

    .post-feat-big .post-format-info {
        top: 0;
        right: 0;
        font-size: 32px;
    }

    .post-feat-small .post-content-wrap {
        padding: 30px 40px;
        max-width: 60%;
        float: none;
        display: inline-block;
        margin: 0;
    }

    .post-feat-small .post-body {
        display: none;
    }

    .post-feat-small .post-format-info {
        display: none;
    }

    .post-feat-small .is-middle {
        text-align: center;
    }

    .logo-outer {
        display: none;
    }

    .mobile-nav-button-outer {
        min-height: 40px;
    }

    /* logo mobile */
    .logo-mobile-wrap {
        display: block;
    }

    .footer-area-inner {
        padding: 20px 15px;
    }
}

/*--------------------------------------------------------------
    4. 768px < X
--------------------------------------------------------------*/
@media only screen and (min-width: 768px) {

    .post-classic .post-share-bar-inner:before, .post-classic .post-share-bar-inner i {
        width: 34px;
        height: 36px;
        font-size: 18px;
        line-height: 32px;
    }

    .post-classic .post-share-bar-inner:before {
        font-size: 23px;
    }

    .post-classic .post-share-bar-inner:hover a:nth-child(1) {
        -webkit-transform: translate3d(35px, 0, 0);
        -moz-transform: translate3d(35px, 0, 0);
        -ms-transform: translate3d(35px, 0, 0);
        -o-transform: translate3d(35px, 0, 0);
        transform: translate3d(35px, 0, 0);
    }

    .post-classic .post-share-bar-inner a:nth-child(2) {
        -moz-transform: translateX(35px);
        -ms-transform: translateX(35px);
        -webkit-transform: translateX(35px);
        transform: translateX(35px);
    }

    .post-classic .post-share-bar-inner:hover a:nth-child(2) {
        -moz-transform: translateX(71px);
        -ms-transform: translateX(71px);
        -webkit-transform: translateX(71px);
        transform: translateX(71px);
    }

    .post-classic .post-share-bar-inner a:nth-child(3) {
        -moz-transform: translateX(71px);
        -ms-transform: translateX(71px);
        -webkit-transform: translateX(71px);
        transform: translateX(71px);
    }

    .post-classic .post-share-bar-inner:hover a:nth-child(3) {
        -moz-transform: translateX(107px);
        -ms-transform: translateX(107px);
        -webkit-transform: translateX(107px);
        transform: translateX(107px);
    }

    .post-classic .post-share-bar-inner a:nth-child(4) {
        -moz-transform: translateX(107px);
        -ms-transform: translateX(107px);
        -webkit-transform: translateX(107px);
        transform: translateX(107px);
    }

    .post-classic .post-share-bar-inner:hover a:nth-child(4) {
        -moz-transform: translateX(143px);
        -ms-transform: translateX(143px);
        -webkit-transform: translateX(143px);
        transform: translateX(143px);
    }

    .post-classic .post-share-bar-inner a:nth-child(5) {
        -moz-transform: translateX(143px);
        -ms-transform: translateX(143px);
        -webkit-transform: translateX(143px);
        transform: translateX(143px);
    }

    .post-classic .post-share-bar-inner:hover a:nth-child(5) {
        -moz-transform: translateX(179px);
        -ms-transform: translateX(179px);
        -webkit-transform: translateX(179px);
        transform: translateX(179px);
    }

    .post-classic .post-share-bar-inner a:nth-child(6) {
        -moz-transform: translateX(179px);
        -ms-transform: translateX(179px);
        -webkit-transform: translateX(179px);
        transform: translateX(179px);
    }

    .post-classic .post-share-bar-inner:hover a:nth-child(6) {
        -moz-transform: translateX(215px);
        -ms-transform: translateX(215px);
        -webkit-transform: translateX(215px);
        transform: translateX(215px);
    }

    .post-classic .read-more-wrap a {
        font-size: 1.2em;
        line-height: 32px;
        height: 36px;
        padding: 0 20px;
        -webkit-transition: all .2s linear;
        -moz-transition: all .2s linear;
        -ms-transition: all .2s linear;
        -o-transition: all .2s linear;
        transition: all .2s linear;
    }

    .post-classic .read-more-wrap a:hover, .post-classic .read-more-wrap a:focus {
        line-height: 30px;
    }

    .post-classic .is-right-footer {
        line-height: 38px;
    }

    .post-classic .is-right-footer i {
        font-size: 15px;
    }

    .post-classic .post-format-info {
        font-size: 38px;
        right: 15px;
        top: 15px;
    }

    .post-classic .post-view-info {
        top: 20px;
        right: 20px;
    }

    .post-classic .view-info-text span {
        font-size: 1.2em;
    }

    .post-classic .view-info-number span {
        font-size: 32px;
    }

    .post-classic .post-body, .post-classic .post-excerpt, .post-classic .post-divider {
        margin-top: 30px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .ruby-container {
        max-width: 738px !important;
    }

    #ruby-sidebar {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        float: none;
        overflow: hidden;
    }

    #ruby-feat-slider-center-fw.slider-init, #ruby-feat-slider-left-fw.slider-init {
        height: 320px;
    }

    .post-feat-big.post-wrap, .post-feat-small.post-wrap {
        height: 320px;
    }

    .post-list .ruby-holder {
        min-height: 299px;
    }

    .no-sidebar .post-list .ruby-holder {
        min-height: 242px;
    }

    .post-grid .ruby-holder,
    .no-sidebar .post-grid-outer:not(.col-md-4) .ruby-holder {
        min-height: 158px;
    }

    .is-sidebar .post-classic .ruby-holder,
    .no-sidebar .post-classic .ruby-holder {
        min-height: 331px;
    }
}

/*--------------------------------------------------------------
    5. X < 768px
--------------------------------------------------------------*/

@media only screen and (max-width: 767px) {
    .ruby-container {
        max-width: 100% !important;
    }

    .ruby-page-wrap {
        margin-top: 45px;
    }

    .footer-wrap {
        margin-top: 30px;
    }

    #ruby-sidebar.sidebar-wrap {
        padding-top: 30px;
    }

    .pagination-wrap .next, .pagination-wrap .prev {
        display: none;
    }

    .post-title {
        margin-top: 4px;
    }

    .post-title a {
        font-size: .9em;
    }

    .post-title.is-medium-title > * {
        line-height: 1.5;
    }

    .post-title.is-small-title > * {
        line-height: 1.7;
    }

    .post-title.is-big-title a {
        font-size: .65em;
        line-height: 1.35;
    }

    .post-classic .post-cate-info a {
        font-size: 1em;
    }

    .single-el {
        padding-left: 20px;
        padding-right: 20px;
    }

    .single-nav:after {
        display: none;
    }

    .single-nav.single-el {
        padding: 0;
    }

    .single-nav .nav-el:first-child {
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .archive-page-header {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .archive-page-header h1 {
        font-size: 32px;
    }

    .archive-page-header .archive-title-desc {
        font-size: 18px;
    }

    .archive-author-thumb {
        min-height: 70px;
    }

    .archive-author-thumb img {
        width: 70px;
    }

    .logo-area-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mobile-nav-button {
        right: 20px;
    }

    .copyright-social .social-bar-wrap {
        font-size: 24px;
    }

    .copyright-social .social-bar-wrap a {
        padding: 0 15px;
    }

    #ruby-feat-slider-center-fw.slider-init, #ruby-feat-slider-left-fw.slider-init {
        height: 280px;
    }

    .post-feat-big.post-wrap, .post-feat-small.post-wrap {
        height: 280px;
    }

    .post-feat-small .post-content-wrap {
        padding: 20px 30px;
        max-width: 90%;
        background-color: rgba(255, 255, 255, .95);
    }

    .post-feat-small .post-cate-info > * {
        font-size: 1em;
    }

    .post-feat-big .post-meta-info > *,
    .post-feat-big .post-cate-info > * {
        font-size: 1em;
    }

    /* post format icon */
    .post-feat-big .post-format-info {
        display: none;
    }

    /* post list */
    .post-list .is-left-col {
        padding-right: 0;
    }

    .post-list-content-outer {
        margin-left: 0;
        margin-top: 25px;
    }

    .post-list .post-format-info {
        display: none;
    }

    /* slick dots */
    .slick-dots li:before {
        height: 8px;
        width: 8px;
    }

    .comment-form input[type="text"] {
        width: 100%;
    }

    /* post classic */
    .post-wrap.post-classic {
        padding: 30px 20px;
    }

    /* load image */
    .wp-caption.alignleft, img.alignleft, .wp-caption.alignright, img.alignright {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    /* 404 page */
    .content-404 {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .logo-404 h1 {
        font-size: 60px;
        margin-bottom: 20px;
    }

    .title-404.post-title {
        font-size: 18px;
    }

    .footer-area-inner {
        padding-left: 0;
        padding-right: 0;
    }

    .ruby-widget-post-fw .widget-title h3 {
        font-size: 18px;
    }

    .widget-divider {
        margin-top: 10px;
    }

    .widget-divider i {
        font-size: 18px;
    }

    /* view info number */
    .view-info-text > *, .view-info-number > * {
        font-size: .9em;
    }

    .quote-text-content .quote-text h3 {
        font-size: 26px;
        line-height: 1.3;
    }

    .quote-text-content .widget-divider {
        margin-top: 15px;
    }

    .widget-instagram-footer-header h3 {
        font-size: 36px;
    }

    .widget-instagram-footer-header h3 i {
        font-size: 54px;
    }

    /* footer widget */
    .footer-area .widget {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .copyright-text {
        font-size: 11px;
    }

    /* page search form */
    .page-search-form-wrap .ruby-search input[type="text"] {
        font-size: 13px;
        padding: 10px 35px 10px 15px;
    }

    .page-search-form-wrap .ruby-search .ruby-search-submit i {
        font-size: 14px;
    }

    /* single title */
    .single-title.post-title h1 {
        font-size: .85em;
        line-height: 1.3;
    }

    /* author box */
    .single-author-box .author-thumb {
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .author-title.post-cate-info {
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
    }

    .single-author-box .author-description {
        margin-left: 0;
        text-align: center;
    }

    .single-author-box .author-social {
        text-align: center;
    }

    /* tag wrap */
    .single-tag-wrap.post-meta-info {
        float: none;
        text-align: left;
        padding-top: 20px;
        width: 100%;
        overflow: hidden;
    }

}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .ruby-container {
        max-width: 450px !important;
    }

    .carousel-content-wrap {
        padding: 30px 30px 20px 30px;
    }

}

/*--------------------------------------------------------------
    7. X < 480px
--------------------------------------------------------------*/
@media only screen and (max-width: 479px) {

    #ruby-feat-slider-center-fw.slider-init, #ruby-feat-slider-left-fw.slider-init {
        height: 230px;
    }

    .post-feat-big.post-wrap, .post-feat-small.post-wrap {
        height: 230px;
    }

}



