/*  Media Queries
--------------------------- */

/* Smaller than standard 1230(devices and browsers) */
@media only screen and (max-width:1230px) {
    .site-layout-boxed #page {
        width: 95%;
        max-width: 100%;
    }

    .container {
        margin: 0 auto;
        width: 96%;
        padding: 0 15px;
    }

    .global-layout-no-sidebar > .container {
        margin: 0 auto;
        width: 96%;
    }

    .site-header #main-navigation {
        clear: both;
    }

    #header-right {
        margin-top: 0;
    }

    /*#masthead.fixed #quick-link-buttons {
        display: none;
    }*/

    .section-about-feature .about-feature-block-item {
        padding: 5px;
    }

        .section-about-feature .about-feature-block-item a.about-feature-icon {
            font-size: 30px;
        }

    .section-about-feature .about-feature-item-title {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .section-about-feature .about-feature-section {
        width: 50%;
        float: left;
        padding: 30px 30px 0;
    }

    .section-project .featured-project-section {
        padding: 30px;
    }

    #content .section-call-to-action.cta-layout-3 {
        margin: 0;
    }
}

/* Smaller than standard 1024 (devices and browsers) */
@media only screen and (max-width:1023px) {
    a.custom-button,
    a.custom-button:visited,
    button,
    a.button,
    a.custom-button.custom-primary-button,
    a.custom-button.custom-primary-button:visited {
        padding: 10px 20px;
    }

    p {
        margin: 0 0 15px 0;
    }

    .header-social-wrapper {
        float: right;
        /*width: 100%;*/
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    #quick-link-buttons {
        float: none;
        display: block;
    }

    .site-header #main-navigation {
        display: table;
        float: none;
        width: 100%;
    }

    .section-services .service-block-item {
        float: left;
        padding: 15px;
        margin-bottom: 0;
    }

    .section-latest-news .latest-news-item {
        padding: 15px;
    }

    .section-latest-news .latest-news-col-3 .latest-news-item,
    .section-latest-news .latest-news-item {
        width: 50%;
    }

    /*.inner-wrapper {
        margin-left: -15px;
        margin-right: -15px;
    }*/

    #content .section {
        padding: 30px 0;
    }

    #content .section-title {
        margin-bottom: 20px;
        font-size: 28px;
    }

    .section-services .service-item-title {
        margin-bottom: 5px;
        font-size: 20px;
    }

    .section-services .service-block-inner {
        padding: 20px;
    }

    .service-block-item-excerpt p {
        margin-bottom: 0px;
    }

    .section-services .service-block-item a.service-icon {
        font-size: 35px;
        margin-bottom: 10px;
    }

    .section-skill-bar img.alignleft {
        max-width: 100%;
        text-align: center;
        display: block;
        margin: 0 auto 30px;
        float: none;
    }

    .skill-bar-section {
        width: 100%;
        float: right;
    }

    .skill-bar-section {
        width: 100%;
        float: right;
        margin-bottom: 30px;
    }

    .section-call-to-action .cta-title {
        margin-bottom: 30px;
        color: #fff;
        font-size: 24px;
    }

    .section-call-to-action .cta-title {
        margin-bottom: 10px;
        font-size: 24px;
    }

    .section-teams .teams-col-4 .team-item,
    .section-teams .team-item {
        width: 50%;
        padding: 15px;
    }

    .portfolio-filter {
        margin: 0 0 15px;
    }

    .section-testimonial-carousel .slick-initialized .slick-slide {
        padding: 15px;
    }

    .section-project .project-thumb {
        float: none;
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .section-project img {
        width: 100%;
    }

    .section-plan .plan-block {
        padding: 15px;
    }

    .section-plan .plan-item {
        padding: 30px 0;
    }

    .section-plan .plan-icon i {
        font-size: 50px;
    }

    .section-plan .plan-icon {
        margin-bottom: 10px;
    }

    .section-plan .plan-price p {
        font-size: 33px;
    }

    .section-associate-logo .associate-logo-item {
        padding: 0 15px;
        width: 33.333%;
    }

    #footer-widgets .footer-widget-area {
        padding: 0 15px;
    }

    #footer-widgets .widget-title {
        font-size: 18px;
    }

    .section-counter .counter-nos {
        font-size: 32px;
        margin: 10px 0;
    }

    .section-counter .counter-icon i {
        font-size: 30px;
    }

    .custom-header-content {
        padding: 55px;
    }

    .page-title {
        font-size: 40px;
    }

    .section-about-feature .about-feature-section {
        width: 100%;
        float: left;
        padding: 30px 30px 0;
    }

    .section-about-feature .about-feature-thumb {
        width: 100%;
        float: left;
        text-align: center;
    }

    .section-about-feature .about-feature-block-item {
        padding: 30px;
    }

    .sidebar,
    #primary,
    .three-columns-enabled .sidebar,
    .three-columns-enabled #primary {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        float: left;
    }

    .three-columns-enabled .sidebar {
        width: 50%;
    }

    #primary .hentry.post.blog-gird {
        width: 50%;
        padding: 10px 15px;
    }

    #main-slider h3 {
        font-size: 28px;
        margin-bottom: 10px;
        padding: 5px 0;
    }

    #main-slider .slider-buttons a.custom-button {
        padding: 10px 20px;
    }

    #main-slider p {
        margin-bottom: 20px;
        font-size: 15px;
    }

    #main-slider .cycle-caption {
        bottom: 100px;
    }

    .section-featured-page img.alignleft,
    .section-featured-page img.aligright {
        float: none;
        max-width: 100%;
        text-align: center;
        margin: 0 auto 15px;
        float: none;
        padding: 0;
    }

    .section-call-to-action.cta-layout-2:before,
    .section-call-to-action.cta-layout-2:after,
    .section-call-to-action.cta-layout-2 .call-to-action-inner-wrapper:before,
    .section-call-to-action.cta-layout-2 .call-to-action-inner-wrapper:after {
        display: none;
    }

    .section-call-to-action.cta-layout-2 .call-to-action-description {
        float: none;
        margin: 0;
        max-width: inherit;
    }

    .section-call-to-action.cta-layout-2 .call-to-action-buttons {
        float: none;
        margin-top: 20px;
    }

    #masthead.fixed #quick-link-buttons {
        display: block;
    }

    #masthead.fixed.site-header #main-navigation {
        border-top: 1px solid #ddd;
    }
}

/* Smaller than standard 768 (devices and browsers) */
@media only screen and (max-width:767px) {
    .header-layout-v3 #masthead {
        position: relative;
        background: #222;
    }

    .header-layout-v4 #masthead #header-right {
        width: 100%;
    }

    #masthead #header-right {
        width: 100%;
    }

    .header-layout-v2 #masthead #header-right,
    .header-layout-v3 #masthead #header-right {
        float: right;
        width: auto;
        margin: 0;
    }

    #mobile-trigger {
        display: block;
        background: #222;
        color: #fff;
        padding: 20px 15px;
    }

        #mobile-trigger i.fa {
            font-size: 23px;
            line-height: 0;
            display: block;
        }

    #page #main-navigation {
        display: none;
    }

    #tophead .container {
        width: 100%;
        padding: 0;
    }

    #quick-contact li {
        display: inline-block;
        float: none;
        border: none;
        padding: 10px 5px;
        margin: 0;
    }

    #quick-contact > ul {
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .header-social-wrapper {
        float: left;
        width: auto;
        text-align: center;
        border: none;
    }

    #quick-contact {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        width: 100%;
    }

    #masthead.fixed {
        position: inherit;
        top: inherit;
        width: 100%;
        left: inherit;
    }

    #masthead:after,
    #masthead:before {
        visibility: visible;
        display: none;
    }

    #main-slider .cycle-caption {
        width: 80%;
        left: 10%;
        bottom: 70px;
    }

    .section-services .service-col-3 .service-block-item,
    .section-services .service-col-4 .service-block-item {
        width: 50%;
    }

    .section-testimonial-carousel .slick-prev.slick-arrow,
    .section-testimonial-carousel .slick-next.slick-arrow {
        top: -35px;
        z-index: 999;
        font-size: 35px;
    }

    .section-plan .plan-col-2 .plan-block,
    .section-plan .plan-col-3 .plan-block {
        width: 100%;
    }

    #footer-widgets .footer-widget-area {
        width: 50%;
        margin-bottom: 15px;
    }

    #footer-contact .contact-title {
        display: block;
        margin: 0;
        margin-bottom: 15px;
    }

    #footer-widgets .footer-widget-area {
        width: 100%;
    }

    .home-v1 #masthead,
    .home-v1 #masthead.fixed {
        position: inherit;
        top: 0;
        background: #1c3a48;
    }

        .home-v1 #masthead #header-right,
        .home-v2 #masthead #header-right {
            width: auto;
        }

    td, th {
        padding: 10px 15px;
        border: 1px solid #ddd;
        font-size: 11px;
    }
}

/* Smaller than standard 700 (devices and browsers) */
@media only screen and (max-width:700px) {
    .page-title {
        font-size: 31px;
    }

    .site-title {
        font-size: 22px;
    }

    #quick-link-buttons a.custom-button {
        margin: 5px 0 6px 5px;
        padding: 5px 12px;
        font-size: 13px;
        min-width: 100px;
        font-size: 11px;
    }

    #quick-link-buttons .cart-button > span {
        margin-top: 2px;
    }

    #main-slider p {
        display: none;
    }

    #main-slider h3 {
        font-size: 19px;
    }

    #main-slider .slider-buttons a.custom-button {
        padding: 8px 16px;
        min-width: inherit;
        text-transform: capitalize;
        font-size: 12px;
    }

    .section-call-to-action.cta-layout-3 .call-to-action-description {
        float: none;
        text-align: center;
        width: 100%;
        margin: 0;
        margin-bottom: 15px;
    }

    .section-call-to-action.cta-layout-3 .call-to-action-buttons {
        float: none;
    }

    .copyright {
        float: none;
    }

    .site-info {
        float: none;
    }

    .section-latest-news .latest-news-col-3 .latest-news-item,
    .section-latest-news .latest-news-item {
        width: 100%;
    }

    .section-counter .counter-col-4 .counter-item,
    .section-counter .counter-col-5 .counter-item,
    .section-counter .counter-col-3 .counter-item {
        width: 50%;
    }

    .section-about-feature .about-feature-block-item {
        padding: 15px;
    }

    #tophead .container {
        padding: 0;
        width: 100%;
    }

    .site-branding {
        float: none;
    }

    #header-right {
        margin-top: 0;
        width: 100%;
        text-align: center;
        padding-bottom: 10px;
    }

    #footer-widgets {
        padding: 35px 0 70px;
    }

    #footer-contact {
        padding: 30px 0;
    }

        #footer-contact::before {
            height: 35px;
            margin: -65px auto 0;
        }

    #tophead a.search-icon {
        background-color: inherit;
        color: #fff;
    }

    #breadcrumb {
        position: relative;
        left: 0;
        width: 100%;
        bottom: 0;
        z-index: 99999;
        border-bottom: 1px solid #efefef;
        background: #fff;
    }

        #breadcrumb .bareadcrumb-wrapper {
            padding: 10px 15px 10px;
            margin: 0;
        }

    .entry-thumb.alignleft,
    .entry-thumb.alignright {
        max-width: 100%;
        margin: 0 0 20px;
    }

    .custom-header-content {
        padding: 30px 0 0;
    }

    .contact-map,
    .contact-form-area.contactdesc {
        padding: 15px;
        float: left;
        width: 100%;
    }

    #content {
        padding: 30px 0;
    }
}
/* Smaller than standard 480 (devices and browsers) */
@media only screen and (max-width:479px) {
    #quick-contact li {
        display: inline-block;
        float: none;
        border: none;
        padding: 0 5px 5px;
        margin: 0;
        width: 100%;
    }

    #quick-contact li {
        border-bottom: 1px solid rgba(221, 221, 221, 0.38);
        padding: 5px 20px;
    }

    #quick-contact {
        border: none;
    }

    .custom-header-content {
        padding: 15px 0 0;
    }

    .page-title {
        font-size: 26px;
    }

    #main-slider .cycle-pager {
        display: none;
    }

    #main-slider .cycle-caption {
        bottom: 15px;
    }

    #main-slider .slider-buttons a.custom-button {
        padding: 5px 10px;
        min-width: inherit;
        text-transform: capitalize;
        font-size: 12px;
    }

    #main-slider .cycle-prev,
    #main-slider .cycle-next {
        bottom: 35%;
    }

    .section-services .service-col-3 .service-block-item,
    .section-services .service-col-4 .service-block-item,
    .section-counter .counter-col-4 .counter-item,
    .section-counter .counter-col-5 .counter-item,
    .section-counter .counter-col-3 .counter-item,
    .section-about-feature .about-feature-block-item,
    .section-teams .teams-col-4 .team-item,
    .section-teams .team-item {
        width: 100%;
        padding: 20px;
        margin: 0;
    }

    .portfolio-filter ul li {
        display: block;
        text-align: left;
        border-bottom: 1px solid #ddd;
        padding: 5px 0;
    }

        .portfolio-filter ul li:after {
            display: none;
        }

    .portfolio-filter ul {
        padding: 0;
    }

    #content .section-title {
        margin-bottom: 15px;
        font-size: 20px;
    }

    #content .section-subtitle {
        font-size: 15px;
        margin: 0 auto 20px;
    }

    .section-latest-news .latest-news-title {
        line-height: 1.5;
        font-size: 18px;
    }

    .section-testimonial-carousel .slick-initialized .slick-slide {
        padding: 30px 0 0;
    }

    .section-testimonial-carousel .testimonial-summary {
        padding: 10px;
    }

    .section-testimonial-carousel .slick-prev.slick-arrow,
    .section-testimonial-carousel .slick-next.slick-arrow {
        top: -20px;
        z-index: 999;
        font-size: 30px;
    }
}

/* Smaller than standard 320 (devices and browsers) */
@media only screen and (max-width:219px) {
    .container {
        width: 310px;
        max-width: 310px;
    }
}
