
/*	Media Queries
----------------------------------------------------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 977px) {
    .header-right-wrap,
    .header-left-wrap {
        float: none !important;
        width: 100%;
        text-align: center;
    }
    .page-left-sidebar .sidebar-wrap {
        margin-right: 20px;
    }
    .header-left-wrap .fame-logo {
        margin: 35px 0;
    }
    .header-right-wrap a {
        padding: 0;
        margin-bottom: 30px;
    }
    .fame-content .hotread-wrap {
        width: 108px;
    }
    .page-full-width .hotread-wrap {
        width: 236px;
    }
    .fame-content .home-slider-wrap,
    .fame-content .home-slider-wrap.right {
        width: 364px;
        margin-left: 20px;
        padding-left: 19px;
        margin-right: 0;
        padding-right: 0
    }
    .fame-content .home-slider-wrap.left {
        margin-left: 0;
        padding-left: 0;
        width: 364px;
        padding-right: 19px;
        margin-right: 20px;
    }
    .page-full-width .home-slider-wrap.left {
        margin-left: 0;
        padding-left: 0;
        width: 492px;
        padding-right: 19px;
        margin-right: 20px;
    }
    .page-full-width .home-slider-wrap,
    .page-full-width .home-slider-wrap.right {
        width: 492px;
        margin-left: 20px;
        padding-left: 19px;
        margin-right: 0;
        padding-right: 0
    }


    .fame-post-inner article {
        padding: 20px 19px 20px 0;
    }
    .fame-post-inner:nth-child(2n) article {
        border-right: medium none;
        padding-left: 20px;
        padding-right: 0;
    }
    .widget .tabs ul.drop {
        width: 230px;
    }
    .widget .featured-image, .footer-widget-area .featured-image {
        margin: 0 15px 0 0;
    }
    .widget .featured-image, .footer-widget-area .featured-image {
        width: 80px;
        height: 80px;
    }
    .connect-widget-form .subs_input {
        width: 138px;
    }
    .fame-list-view .featured-image {
        width: 236px;
        margin-right: 20px;
    }
    .flickr_badge_image a img {
        width: 72px;
        height: 72px;
    }
    .single-related-wrapper,
    .single-recent-wrapper {
        width: 236px;
    }
    .single.fame-full-width .single-recent-wrapper,
    .single.fame-full-width .single-related-wrapper {
        width: 364px;
    }
    .single-related-wrapper {
        margin-left: 20px;
    }
    .share-this-wrap ul {
        width: 100%;
    }
    .single-related-wrapper .entry-meta,
    .single-recent-wrapper .entry-meta {
        display: none;
    }

    .ads-125 ul li {
        width: 90px;
        height: 90px;
    }
    .ads-125 ul li a img {
        height: auto;
    }
    .fame-full-width .fame-list-view .featured-image,
    .page-full-width .fame-list-view .featured-image {
        width: 364px;
        height: auto;
    }
    #searchform input[type="text"] {
        width: 190px;
    }
    #searchform input[type="submit"] {
        margin-right: 7px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    #wpadminbar {
        position: fixed !important;
        top: 0 !important;
    }
    #primary-nav-mobile-a,
    #primary-nav-mobile {
        display: block;
    }
    .navigation-wrap .container {
        border: medium none;
    }
    .navigation-wrap .container .row {
        border-bottom: 1px solid #E2E2E2;
        border-top: 1px solid #E2E2E2;
    }
    .topbar-left,
    #primary-nav-id,
    .hotread-wrap{
        display: none;
    }
    .single-related-wrapper,
    .single-recent-wrapper,
    .topbar-right {
        float: none !important;
        width: 100%;
    }
    .single-related-wrapper {
        margin-left: 0;
    }
    .topbar-right .menu {
        display: inline-block;
        text-align: center;
        width: 100%;
    }
    .topbar-right .menu li {
        float: none !important;
        display: inline-block;
        text-align: center;
    }
    .header-right-wrap,
    .header-left-wrap {
        float: none !important;
        width: 100%;
        text-align: center;
    }
    .header-left-wrap .fame-logo {
        margin: 25px 0;
    }
    .header-right-wrap a {
        padding: 0;
        margin-bottom: 30px;
    }
    .page-full-width .home-slider-wrap,
    .fame-content .home-slider-wrap {
        border-left: none !important;
        border-right: none !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
        max-width: 420px;
        width: auto !important;
    }
    .fame-post-inner {
        width: 100%;
    }
    .fame-post-inner article {
        padding: 30px 0px 30px 0;
        border: medium none;
    }
    .fame-post-item.first article {
        padding: 0px 0px 30px 0;
    }
    .fame-post-inner:nth-child(2n) article {
        border: medium none;
        padding: 30px 0 30px 0;
    }
    .connect-widget-form .subs_input {
        width: 327px;
    }
    .sidebar-wrap,
    .sidebar-wrap .widget-area,
    .page-left-sidebar .sidebar-wrap,
    .page-left-sidebar .sidebar-wrap .widget-area{
        margin-right: 0px;
        margin-left: 0;
    }
    .widget .tabs ul.drop {
        width: 420px;
    }
    .ft_flickr_widget {
        width: 315px;
    }
    .copyright-wrap{
        float: none !important;
        width: 100%;
        display: inline-block;
        text-align: center;
    }
    .copyright-wrap.right {
        padding-top: 5px;
        padding-bottom: 15px;
    }
    .fame-search-hide #searchform {
        width: 450px;
        margin-left: -225px;
    }
    .fame-search-hide #searchform input[type="text"] {
        width: 395px;
    }
    .fame-list-view .featured-image a {
        display: block;
        padding-right: 10px;
    }
    .fame-list-view .content-element {
        margin-left: 0;
        padding-left: 10px;
    }
    .navigation-wrap .row {
        position: relative;
    }
    .navigation-wrap .fame-search-nav {
        position: absolute;
        top: 0;
        right: 0px;
    }
    .comments-list .children {
        margin: 0   
    }
    .fame-content .entry-meta .post-view,
    .fame-content .entry-meta .post-comment,
    .fame-full-width .entry-meta .post-view,
    .fame-full-width .entry-meta .post-comment {
        display: none;
    }
    .featured-image .sticky-icon {
        right: 10px;
    }
    .fame-full-width .fame-list-view .featured-image,
    .page-full-width .fame-list-view .featured-image,
    .fame-blog-wrap article .featured-image,
    .fame-blog-wrap article .content-element,
    .content-wrapper article .featured-image,
    .content-wrapper article .content-element {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-left: 0
    }
    .fame-blog-wrap article .featured-image a,
    .fame-full-width .fame-list-view .featured-image a,
    .page-full-width .fame-list-view .featured-image a,
    .content-wrapper article .featured-image a {
        padding-right: 0;
    }
    .fame-blog-wrap article .featured-image .sticky-icon,
    .fame-full-width .featured-image .sticky-icon,
    .content-wrapper article .featured-image .sticky-icon {
        right: 0;
    }
    .fame-blog-wrap article .content-element,
    .content-wrapper article .content-element,
    .fame-full-width .fame-list-view .content-element {
        padding-left: 0;
    }
    .fame-blog-wrap article .featured-image,
    .fame-full-width .fame-list-view .featured-image,
    .page-full-width .fame-list-view .featured-image,
    .fame-home-secondbox .featured-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .error404 .featured-image,
    .single-recent-content .featured-image,
    .single-related-wrapper .featured-image {
        width: 90px !important;
        height: 90px !important;
    }
    .content-wrapper {
        margin-bottom: 30px;
        display: block;
        overflow: hidden;
    }
    .fame-list-view .content-element {
        overflow: inherit;
    }

    .error-item {
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .error404 .featured-image {
        margin: 0 25px 0 0 !important;
    }
}

@media only screen and (max-width: 479px) {
    #wpadminbar {
        position: fixed !important;
        top: 0 !important;
    }
    #primary-nav-mobile-a,
    #primary-nav-mobile {
        display: block;
    }
    .navigation-wrap .container {
        border: medium none;
    }
    .navigation-wrap .container .row {
        border-bottom: 1px solid #E2E2E2;
        border-top: 1px solid #E2E2E2;
    }
    .topbar-left,
    #primary-nav-id,
    .hotread-wrap{
        display: none;
    }
    .single-related-wrapper,
    .single-recent-wrapper,
    .topbar-right,
    .single.fame-full-width .single-recent-wrapper,
    .single.fame-full-width .single-related-wrapper {
        float: none !important;
        width: 100%;
    }
    .single-related-wrapper {
        margin-left: 0;
    }
    .topbar-right .menu {
        display: inline-block;
        text-align: center;
        width: 100%;
    }
    .topbar-right .menu li {
        float: none !important;
        display: inline-block;
        text-align: center;
    }
    .header-right-wrap,
    .header-left-wrap {
        float: none !important;
        width: 100%;
        text-align: center;
    }
    .header-left-wrap .fame-logo {
        margin: 25px 0;
    }
    .header-right-wrap a {
        padding: 0;
        margin-bottom: 30px;
    }
    .fame-content .home-slider-wrap {
        border-left: none !important;
        border-right: none !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
        width: auto !important;
    }
    .fame-post-inner {
        width: 100%;
    }
    .fame-post-inner.c-2{
        margin-left: 0px;
    }
    .fame-post-inner article {
        padding: 30px 0px 30px 0;
        border: medium none;
    }
    .fame-post-item.first article {
        padding: 0px 0px 30px 0;
    }
    .fame-post-inner:nth-child(2n) article {
        border: medium none;
        padding: 30px 0 30px 0;
    }
    .connect-widget-form .subs_input {
        width: 327px;
    }
    .sidebar-wrap,
    .sidebar-wrap .widget-area,
    .page-left-sidebar .sidebar-wrap,
    .page-left-sidebar .sidebar-wrap .widget-area{
        margin-right: 0px;
        margin-left: 0;
    }
    .widget .tabs ul.drop {
        width: 420px;
    }
    .ft_flickr_widget {
        width: 315px;
    }
    .copyright-wrap{
        float: none !important;
        width: 100%;
        display: inline-block;
        text-align: center;
    }
    .copyright-wrap.right {
        padding-top: 5px;
        padding-bottom: 15px;
    }
    .fame-list-view .featured-image a {
        display: block;
        padding-right: 10px;
    }
    .fame-list-view .content-element {
        margin-left: 0;
        padding-left: 10px;
    }
    .comments-list .children {
        margin: 0
    }
    .fame-content .entry-meta .post-view,
    .fame-content .entry-meta .post-comment,
    .fame-full-width .entry-meta .post-view,
    .fame-full-width .entry-meta .post-comment {
        display: none;
    }
    .featured-image .sticky-icon {
        right: 10px;
    }
    .fame-full-width .fame-list-view .featured-image,
    .page-full-width .fame-list-view .featured-image,
    .fame-blog-wrap article .featured-image,
    .fame-blog-wrap article .content-element,
    .content-wrapper article .featured-image,
    .content-wrapper article .content-element {
        width: 100%;
        height: auto;
    }
    .fame-blog-wrap article .featured-image a,
    .fame-full-width .fame-list-view .featured-image a,
    .page-full-width .fame-list-view .featured-image a,
    .content-wrapper article .featured-image a {
        padding-right: 0;
    }
    .fame-blog-wrap article .featured-image .sticky-icon,
    .fame-full-width .featured-image .sticky-icon {
        right: 0;
    }
    .fame-blog-wrap article .content-element,
    .fame-full-width .fame-list-view .content-element,
    .page-full-width .fame-list-view .content-element,
    .fame-home-secondbox .content-element {
        padding-left: 0;
    }
    .fame-blog-wrap article .featured-image,
    .fame-full-width .fame-list-view .featured-image,
    .page-full-width .fame-list-view .featured-image,
    .fame-home-secondbox .featured-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .error404 .featured-image,
    .single-recent-content .featured-image,
    .single-related-wrapper .featured-image {
        width: 90px !important;
        height: 90px !important;
    }
    .navigation-wrap .row {
        position: relative;
    }
    .navigation-wrap .fame-search-nav {
        position: absolute;
        top: 0;
        right: 0px;
    }
    .fame-search-hide #searchform {
        width: 320px;
        margin-left: -160px;
    }
    .fame-search-hide #searchform input[type="text"],
    #searchform input[type="text"] {
        width: 224px;
    }
    .fame-search-hide h3 {
        display: none;
    }
    .content-wrapper {
        margin-bottom: 30px;
        display: block;
        overflow: hidden;
    }
    .fame-list-view .content-element {
        overflow: inherit;
    }
    .fame-post-inner.c-2 {
        border: none !important;
    }

    .page-full-width .home-slider-wrap.right {
        width: 100%;
        padding-left: 0;
        margin-left: 0;
        border-left: 0
    }

    .page-full-width .home-slider-wrap.left {
        width: 100%;
        padding-right: 0;
        margin-right: 0;
        border-right: 0
    }
    .error-item {
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .error404 .featured-image {
        margin: 0 25px 0 0 !important;
    }
}

/* Mobile Portrait Size to Mobile Landscape Size SMALL phone (devices and browsers) (1) */
@media only screen and (min-width: 240px) and (max-width: 320px) {
    .flickr_badge_image a img {
        width: 80px !important;
        height: 80px !important;
    }
    .ads-125 ul li,
    .ads-125 ul li a img {
        width: 105px !important;
        height: 105px !important;
    }
    .ads-125 ul li:before, .ads-125 ul li:after, .ads-125 ul li {
        box-sizing: content-box;
    }
    .fame-search-hide #searchform {
        margin-left: -135px;
        width: 270px;
    }
    .fame-search-hide #searchform input[type="text"],
    #searchform input[type="text"] {
        width: 224px;
    }
    .fame-search-hide h3 {
        display: none;
    }
    .content-wrapper {
        margin-bottom: 30px;
        display: block;
    }
    .error404 .searchform-inner #s, 
    .search-no-results .no-results .searchform-inner #s,
    #searchform input[type="text"] {
        width: 185px;
    }
    .fame-full-width .fame-list-view .featured-image,
    .page-full-width .fame-list-view .featured-image,
    .fame-blog-wrap article .featured-image,
    .fame-blog-wrap article .content-element,
    .content-wrapper article .featured-image,
    .content-wrapper article .content-element {
        width: 100%;
        height: auto;
    }
    .fame-blog-wrap article .content-element,
    .content-wrapper article .content-element,
    .fame-full-width .fame-list-view .content-element {
        padding-left: 0;
    }
    .fame-blog-wrap article .featured-image a,
    .fame-full-width .fame-list-view .featured-image a,
    .page-full-width .fame-list-view .featured-image a,
    .content-wrapper article .featured-image a {
        padding-right: 0;
    }
    .fame-blog-wrap article .featured-image,
    .fame-full-width .fame-list-view .featured-image,
    .page-full-width .fame-list-view .featured-image,
    .fame-home-secondbox .featured-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .error-item {
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .error404 .featured-image {
        margin: 0 25px 0 0 !important;
    }
    .error404 .featured-image,
    .single-recent-content .featured-image,
    .single-related-wrapper .featured-image {
        width: 90px !important;
        height: 90px !important;
    }
}