/* 织梦58（dede58.com）做最好的织梦整站模板下载网站 */
/* #Desktop 																				960 - 1239	*
===================================================================================================== */
@media only screen and (min-width: 960px) and (max-width: 1239px) {
    body {
        min-width: 0;
    }

    #Wrapper {
        width: 960px;
    }

    .section_wrapper, .container, .single-post .content_wrapper, .single-portfolio .content_wrapper, .with_aside .content_wrapper {
        width: 940px;
    }
    /* ======================================================= */

    /* #Header .logo { max-width: 230px !important; } */
    #Header .menu > li > a {
        margin: 0 11px;
    }
    /* Flickr */
    .Flickr .flickr_badge_image a img {
        width: 60px;
        height: 60px;
    }
    /* Archive */
    .widget_archive li {
        width: 100%;
        float: none;
    }
}

/*																								> 960
===================================================================================================== */
@media only screen and (min-width: 960px) {
    #Header #menu {
        display: block !important;
    }
}

/* 																								< 960
===================================================================================================== */
@media only screen and (max-width: 959px) {
    .header_placeholder {
        margin-top: 0 !important;
    }

    #Header .addons {
        display: block !important;
    }
    /* Header */
    #Header .one {
        padding: 0px 0 0px;
    }

    #Header #menu {
        display: none;
        margin: 0 -20px 20px;
    }

    #Header a.responsive-menu-toggle {
        display: block;
        width: 33px;
        height: 33px;
        line-height: 33px;
        font-size: 18px;
        text-align: center;
        position: absolute;
        top: 65px;
        right: 0px;
    }

    #Header a:hover.responsive-menu-toggle {
        text-decoration: none;
    }

    .layout-mega-menu a.responsive-menu-toggle {
        display: none !important;
    }
    /* Mega menu */
    #megaMenu {
        margin: 0 0 20px;
        width: 100%;
    }
    /* Footer */
    #Footer .copyrights p {
        float: none;
        width: 100%;
        text-align: center;
    }

    #Footer .copyrights .social {
        float: none;
        width: 100%;
        text-align: center;
    }
    /* main menu 1st level */
    #Header #menu > ul {
        width: 100%;
        background: rgba(0,0,0,0.02);
    }

    #Header #menu ul li {
        width: 100%;
        padding-bottom: 0;
    }

        #Header #menu ul li em, #Header #menu .menu-arr-bottom, #Header #menu .menu-arr-top {
            display: none !important;
        }

        #Header #menu ul li a {
            padding: 15px 20px;
            text-align: left;
            display: block;
            margin: 0;
        }

        #Header #menu ul li.submenu .menu-toggle {
            width: 50px;
            height: 51px;
            display: block;
            position: absolute;
            right: 0;
            top: 0;
            border-left: 1px solid rgba(0,0,0,0.03);
            background: url(../images/menu-plus.png) center no-repeat;
        }

        #Header #menu ul li.hover > .menu-toggle {
            background: none;
        }

        #Header #menu ul li.hover a {
            border-bottom: 0;
        }
        /* main menu 2nd level */
        #Header #menu ul li ul {
            position: relative !important;
            left: 0 !important;
            padding: 0;
            margin-left: 0 !important;
        }

            #Header #menu ul li ul li {
                width: 100% !important;
            }

                #Header #menu ul li ul li a {
                    padding: 15px 20px 15px 40px;
                }

                    #Header #menu ul li ul li a .menu-arrow {
                        display: none;
                    }
                /* main menu 3rd level */
                #Header #menu ul li ul li ul {
                    border-left: 0 !important;
                    padding: 0;
                    top: 0;
                }

                    #Header #menu ul li ul li ul li a {
                        padding: 15px 20px 15px 60px;
                    }
}

/* #Tablet (Landscape) 																		768 - 959	*
===================================================================================================== */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    body {
        min-width: 0;
    }

    #Wrapper {
        width: 768px;
    }

    .section_wrapper, .container, .single-post .content_wrapper, .single-portfolio .content_wrapper, .with_aside .content_wrapper {
        width: 748px;
    }
    /* ======================================================= */

    /* Contact us */
    .contact_us .ico {
        display: none;
    }

    .contact_us .desc {
        padding-left: 0px;
    }

        .contact_us .desc h5 {
            font-size: 18px;
        }
    /* Responsive menu */
    #Header .one {
        min-height: 73px;
    }
    /* #Header .logo { max-width: 230px !important; } */

    #Header #menu {
        position: absolute;
        top: 98px;
        right: 0;
        width: 300px;
        z-index: 101;
        margin: 0;
    }

        #Header #menu ul, #Header #menu ul li {
            width: 300px;
        }

    #Header .social {
        margin-right: 0;
    }

    #Header #searchform {
        position: absolute;
        right: 43px;
        top: 52px;
    }

    .layout-mega-menu #Header #searchform {
        right: 0;
    }
    /* Post */
    .post .desc h3 {
        font-size: 30px;
        line-height: 32px;
        margin-bottom: 10px;
    }
    /* Flickr */
    .Flickr .flickr_badge_image a img {
        width: 43px;
        height: 43px;
    }
    /* Recent posts */
    .Recent_posts ul li .photo {
        display: none;
    }

    .Recent_posts ul li .desc {
        padding-left: 0;
    }
    /* Categories */
    .widget_categories li a {
        width: 80%;
    }
    /* Archive */
    .widget_archive li {
        width: 100%;
        float: none;
    }
    /* Get in touch */
    .get_in_touch ul li i {
        display: none;
    }

    .get_in_touch ul li {
        padding-left: 0;
        min-height: auto;
        margin-bottom: 0;
    }
    /* Categories */
    .widget_categories li {
        width: 100%;
        float: none;
    }
}

/* #Tablet (Portrait) & Mobile - COMMON 														< 768	*
===================================================================================================== */
@media only screen and (max-width: 767px) {
    body {
        min-width: 0;
    }

    #Wrapper {
        width: 300px;
    }

    .section_wrapper .column, .container .column, .sections_group, .four.columns {
        margin: 0;
        width: 100% !important;
        clear: both;
    }

    .section_wrapper, .container, .four.columns { /*width: 260px !important;*/
    }

    .single-post .content_wrapper, .single-portfolio .content_wrapper, .with_aside .content_wrapper {
        width: 100%;
    }

    .single-post .post > .photo, .single-post .post > .desc, .single-portfolio > .photo, .single-portfolio > .desc {
        width: 260px !important;
        margin: 0 auto 10px;
    }

    .section_wrapper .column, .sections_group {
        margin: 0 0 20px;
    }

    .four.columns {
        float: none !important;
        margin: 0 auto;
    }
    /* ======================================================= */

    /* Top bar */
    #top_bar {
        text-align: center;
    }

        #top_bar .slogan {
            display: none;
        }

        #top_bar .contact_info {
            width: 100%;
            float: none;
        }
    /* Logo */
    /*#Header .logo { text-align: center; width: 100%; max-width: 100%; }
	#Header .logo #logo { height: auto; line-height: normal; padding: 25px 10px; }*/

    /* Responsive menu button */
    #Header a.responsive-menu-toggle {
        top: 50px;
    }
    /* Addons */
    #Header .addons {
        position: static;
        padding: 15px 0 40px
    }

        #Header .addons #searchform {
            position: absolute;
            right: 40px;
            top: 52px;
        }

    .layout-mega-menu .addons #searchform {
        right: 0 !important;
    }

    #Header .addons .social {
        float: none;
        text-align: center;
        margin: 0 -20px;
    }

    #Header .addons .language {
        position: absolute;
        left: 0;
        top: 52px;
        margin-right: 0;
    }
    /* Search form */
    #Header #searchform {
        float: right;
        position: relative;
        width: 26px;
    }

        #Header #searchform.focus {
            width: auto;
        }
    /* Content */
    #Content {
        padding-top: 30px;
    }
    /* Subheader */
    #Subheader .title {
        text-align: center;
        width: 100%;
        float: none;
        font-size: 30px;
        line-height: 30px;
    }

    #Breadcrumbs {
        display: none;
    }

    .column-fixed > div {
        height: auto !important;
    }

    .column-fixed div.inner-padding {
        height: auto !important;
    }

    .column-fixed .call_to_action .inner-padding {
        height: auto !important;
        line-height: normal !important;
    }

    .content-padding .inner-padding {
        padding: 20px 0 !important;
    }
    /* Popup contact */
    #popup_contact {
        display: none;
    }
    /* Contact form */
    .wpcf7 span.wpcf7-form-control-wrap {
        width: 100% !important;
        margin-right: 0;
    }

        .wpcf7 span.wpcf7-form-control-wrap .wpcf7-text {
            margin-bottom: 6px;
        }

        .wpcf7 span.wpcf7-form-control-wrap:last-child .wpcf7-text {
            margin-bottom: 0px;
        }
    /* Widget area */
    .widgets_wrapper .column {
        margin-bottom: 0;
    }
    /* Portfolio */
    #Content .single-portfolio {
        padding: 0px;
    }

    .single-portfolio .sp-inside .sp-inside-left {
        position: static;
        padding-right: 0;
        border: 0;
        width: 100%;
    }

    .single-portfolio .sp-inside .sp-inside-right {
        margin-top: 20px;
        padding: 0;
    }

    .single-portfolio .sp-inside .sp-inside-left dt {
        font-weight: bold;
        display: inline-block;
        clear: both;
        width: 30%;
        padding: 3px 0;
    }

    .single-portfolio .sp-inside .sp-inside-left dd {
        display: inline-block;
        padding: 0;
        width: 65%;
        padding: 3px 0;
    }

    .Projects_header {
        margin-bottom: 10px;
    }

        .Projects_header .categories ul {
            text-align: center;
        }

            .Projects_header .categories ul li.label {
                display: none;
            }

            .Projects_header .categories ul li {
                display: inline-block;
                float: none;
            }

                .Projects_header .categories ul li a {
                    line-height: 40px;
                    padding: 0 10px;
                }
    /* Error */
    #Error_404 .error h2 {
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 15px;
    }

    #Error_404 .error h4 {
        margin-bottom: 15px;
        font-size: 18px;
        line-height: 21px;
    }

    #Error_404 .error p .check {
        line-height: 30px;
    }
    /* Clients */
    .Our_clients_slider div.inside {
        margin: 0 39px !important;
    }

    .Our_clients_slider li {
        width: 300px !important;
        box-shadow: none;
    }

    .Our_clients_slider a.slider_control_prev {
        left: 0;
    }

    .Our_clients_slider a.slider_control_next {
        right: 0;
    }
    /* Recent works */
    .recent_works ul li {
        width: 380px !important;
    }

        .recent_works ul li h6 {
            margin: 0 0px 10px;
        }

        .recent_works ul li a {
            margin: 0px;
        }
    /* Flickr */
    .Flickr .flickr_badge_image {
        width: 18% !important;
    }

    .Flickr .flickr_badge_image {
        margin: 0 2% 2% 0;
    }

        .Flickr .flickr_badge_image a img {
            width: 68px !important;
            height: 68px !important;
        }
    /* Tabs */
    .ui-tabs .ui-tabs-nav li {
        float: none !important;
        margin: 0;
        width: 100%;
        overflow: hidden;
    }

        .ui-tabs .ui-tabs-nav li a {
            float: none;
            padding: 16px 0 !important;
            width: 100%;
            text-align: center;
        }
    /* Blog */
    .single-post .post {
        padding: 0;
    }

    .post .photo {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .post .desc {
        width: 100%;
        float: none;
    }

        .post .desc .meta {
            margin-bottom: 15px;
        }

        .post .desc h3 {
            font-size: 25px;
            line-height: 27px;
            margin-bottom: 5px;
        }
    /* Testimonials */
    .testimonials {
        margin: 0;
    }
    /* Gallery */
    .gallery .gallery-item .gallery-icon i {
        font-size: 20px;
        line-height: 20px;
        margin-left: -10px;
        margin-top: -10px;
    }
    /* Timeline */
    .timeline_items {
        background: none;
    }

        .timeline_items li {
            padding: 100px 0 0 0;
            position: relative;
            margin-bottom: 20px;
        }

            .timeline_items li h5 {
                margin: 0 0 10px 0;
                position: static;
                width: 100% !important;
                float: none !important;
                text-align: center !important;
            }

                .timeline_items li h5 span {
                    top: 0px;
                }

            .timeline_items li .desc {
                position: relative;
                width: 100%;
                float: none !important;
                min-height: auto !important;
            }

                .timeline_items li .desc:after {
                    display: none;
                }
}

/* #Tablet (Portrait) & #Mobile (Landscape)													480 - 767	*
===================================================================================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    #Wrapper { /*width: 420px;*/
    }

    .section_wrapper, .container, .four.columns { /*width: 380px !important;*/
    }

    .single-post .content_wrapper, .single-portfolio .content_wrapper, .with_aside .content_wrapper {
        width: 100%;
    }

    .single-post .post > .photo, .single-post .post > .desc, .single-portfolio > .photo, .single-portfolio > .desc { /*width: 380px !important;*/
        margin: 0 auto 10px;
    }
    /* ======================================================= */

    /* Respond */
    #respond .comment-form-author {
        width: 100%;
        margin-right: 0%;
        float: none;
    }

    #respond .comment-form-email {
        width: 100%;
        margin-right: 0%;
        float: none;
    }

    #respond .comment-form-url {
        width: 100%;
        float: none;
    }

    #respond input[type="text"], #respond input[type="password"], #respond input[type="email"], #respond select {
        width: 94%;
    }

    #respond .comment-form-comment textarea {
        width: 96%;
    }

    #comments .commentlist .children {
        margin-left: 0px;
        padding-left: 30px;
    }

    #respond .required {
        right: 15px;
    }
}

/* 	#Mobile (Portrait)																			< 480
===================================================================================================== */
@media only screen and (max-width: 479px) {
    /* Addons */
    #Header .addons #searchform {
        display: none;
    }

    #Header .addons .social li {
        margin: 1px 2px;
    }
    /* Clients */
    .Our_clients_slider li {
        width: 180px !important;
    }
    /* Recent works */
    .recent_works ul li {
        width: 260px !important;
    }
    /* Flickr */
    .Flickr .flickr_badge_image {
        width: 23% !important;
    }

        .Flickr .flickr_badge_image a img {
            width: 60px !important;
            height: 60px !important;
        }
    /* Footer social */
    #Footer .copyrights .social {
        margin: 0 -20px 15px;
        width: auto;
    }
    /* Respond */
    #respond .comment-form-author {
        width: 99%;
        margin-right: 0%;
        float: none;
    }

    #respond .comment-form-email {
        width: 99%;
        margin-right: 0%;
        float: none;
    }

    #respond .comment-form-url {
        width: 99%;
        float: none;
    }

    #respond input[type="text"], #respond input[type="password"], #respond input[type="email"], #respond select {
        width: 93%;
    }

    #respond .comment-form-comment textarea {
        width: 94%;
    }

    #comments .commentlist .children {
        margin-left: 0px;
        padding-left: 30px;
    }

    #respond .required {
        right: 11px;
    }
}

/* ============================================  Iframe  ============================================ */

@media only screen and (min-width: 960px) and (max-width: 1239px) {
    /* Portfolio */
    .single-portfolio .photo iframe {
        height: 424px;
    }

    .with_aside .single-portfolio .photo iframe {
        height: 314px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    /* Portfolio */
    .single-portfolio .photo iframe {
        height: 317px;
    }

    .with_aside .single-portfolio .photo iframe {
        height: 233px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    /* Portfolio */
    .single-portfolio .photo iframe {
        height: 175px;
    }

    .with_aside .single-portfolio .photo iframe {
        height: 175px;
    }
}

@media only screen and (max-width: 479px) {
    /* Portfolio */
    .single-portfolio .photo iframe {
        height: 120px;
    }

    .with_aside .single-portfolio .photo iframe {
        height: 120px;
    }
}