/* Mobile Portrait View */
@media screen and (max-width: 767px) {
    .slider-main {
        min-height: 130px;
    }
    .slider-info {
        width: auto!important;
        padding: 0 20px!important;
    }
    .slider-info p {
        display: none;
    }
    * {
        box-sizing: border-box;
    }
    .left,
    .right {
        float: none;
    }
    .container {
        width: 100%;
        padding: 0 20px;
    }

    .header {
        width: 100%;
        padding: 0;
    }
    .header .header-inner {
        width: 100%;
        padding: 15px 0 0;
    }
    .header .header-inner .logo {
        width: auto;
        float: none;
        text-align: center;
        margin: 10px auto;
        padding: 0;
    }
    .header .header-inner .logo img {
        max-width: 90%;
    }
    .header .header-inner .header_info,
    .header .header-inner .header_info .apointment a,
    .header .header-inner .header_info span.phone-no,
    .header .header-inner .header_info span.email-id {
        float: none;
        margin: 0 auto 10px auto;
        width: auto;
        text-align: center;
        display: table;
    }

    .header_row {
        float: none;
        width: 80%;
        margin: 0 auto;
        padding: 10px;
    }
    .header_row .column-1,
    .header_row .column-3 {
        float: none;
        padding: 0;
        width: 100%;
        text-align: left;
    }
    .header_row .column-1 span {
        float: none;
    }
    .time-table {
        position: inherit;
        right: 0;
        top: 0;
        width: auto;
    }
    .openingtime {
        text-align: right;
    }
    .wrap_one h1 {
        line-height: 100%;
        font-size: 30px !important;
    }
    .wrap_one {
        width: auto;
    }
    .wrap_one img {
        margin: 10px 0 10px 15px;
        width: 50%;
    }
    .services-col .services-content {
        padding: 12% 11.5%;
    }

    .teammember-list {
        width: auto;
        float: none;
        margin: 0 0 10%;
        text-align: center;
    }
    .team-thumb-icons .member-social-icon {
        opacity: 1;
    }
    .member-social-icon a {
        margin: 0 5px;
    }
    .our-pricing-table h2.section_title {
        font-size: 22px;
    }
    .news-box {
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }
    .news-box .news-thumb {
        float: none;
        width: 100%;
        height: auto;
        display: table;
    }
    .news-box .news-thumb img {
        min-height: inherit;
    }
    .news {
        float: none;
        width: 100%;
        height: auto;
        display: table;
        position: relative;
        z-index: 1;
        margin: 0;
    }

    .owl-carousel .owl-stage-outer {
        padding: 30px 0 !important;
    }
    #some-facts .everydaytime {
        float: none;
        margin: 0 auto 10% auto !important;
        width: 50%;
    }
    #some-facts .everydaytime:last-child {
        margin: 0 auto;
    }
    #some-facts .everydaytime .everydays {
        margin: 0 0 5% 0;
    }
    .site-main #some-facts .everydaytime .everydays {
        padding: 42% 0;
    }

    /*coloumn css*/
    .one_half,
    .one_third,
    .two_third,
    .one_fourth,
    .three_fourth,
    .one_fifth,
    .four_fifth,
    .services-col,
    .pricing-table-content {
        float: none;
        width: 100%;
        margin: 0 0 5% !important;
    }
    /*sidebar css*/
    /*#sidebar {
        width: 100%;
        float: none;
    }*/
    .sidebar-left {
        float: none !important;
        width: 100%;
    }
    .flotRight {
        float: none !important;
    }
    #sidebar .services-col .services-content {
        padding: 8% 11.5%;
    }
    #sidebar #contactform_main input[type="text"],
    #sidebar #contactform_main input[type="email"],
    #sidebar #contactform_main input[type="tel"],
    #sidebar #contactform_main input[type="url"],
    #sidebar #contactform_main textarea {
        width: 100%;
    }

    .blog-post-repeat .post-thumb img {
        float: none;
        margin-right: 0;
        width: 100%;
        height: 100%;
    }
    /*gallery css */
    .container-gallery {
        padding: 0;
    }

    .freeconsultant {
        text-align: center;
    }
    .freeconsultant i {
        float: none;
        margin: 0;
    }
    .freeconsultant h4 {
        font-size: 25px;
    }
    .freeconsultant a {
        display: block;
        float: none;
        margin-top: 30px;
    }

    .what-we-do .one_third {
        width: auto;
        float: none;
        margin-right: 0;
        text-align: center;
    }
    .what-we-do .one_third .content-right {
        width: auto;
    }

    .testimonials-wrap h2.section_title {
        margin-bottom: 10px;
        font-size: 20px;
    }
    .testimonials-wrap .owl-prev {
        right: 11%;
    }

    .ourpartner-logo {
        width: 50%;
    }

    /* --------- Pages ------- */
    .content-area {
        width: auto;
        margin: 0;
        padding: 20px;
    }
    .site-main {
        width: auto;
        margin: 0;
        padding: 0;
        float: none;
    }
    /*slider css*/

    #slider {
        top: 0;
        margin: 0;
    }
    .nivo-controlNav {
        left: 0;
        width: auto;
        padding: 0 20px;
        position: relative;
        bottom: 0;
        margin-top: -27px;
    }
    .nivo-controlNav a {
        width: 20px !important;
        height: 20px !important;
    }
    .nivo-caption {
        width: auto;
        padding: 0 20px;
    }
    .slider-info h2 {
        font-size: 25px !important;
        line-height: 100%!important;
        margin-bottom: 0!important;
    }

    .contact_left,
    .contact_right {
        float: none;
        width: 100%;
        margin-bottom: 10%;
    }
    /*footer css */

    .cols-2 .widget-column-1,
    .cols-2 .widget-column-3,
    .cols-3 .widget-column-1,
    .cols-3 .widget-column-2,
    .cols-3 .widget-column-3,
    .cols-4 .widget-column-1,
    .cols-4 .widget-column-2,
    .cols-4 .widget-column-3,
    .cols-4 .widget-column-4 {
        width: 100%;
        float: none;
        margin: 0 0 10% 0;
    }

    .cols-1 ul li {
        margin-right: 10px;
    }

    .copyright-txt,
    .design-by {
        text-align: center;
        float: none;
    }
    #contactform_main input[type="text"],
    #contactform_main input[type="email"],
    #contactform_main input[type="tel"],
    #contactform_main input[type="url"],
    #contactform_main textarea {
        width: 100%;
    }
    .recent-post img {
        float: none;
        width: auto;
        margin-right: 0;
    }
    .services-wrap,
    .welcome-wrap {
        text-align: center;
    }
    .searchbox {
        width: 100%;
        padding-left: 0;
    }
    .item {
        padding-left: 0;
        width: auto;
    }
    .tm_thumb,
    #testimonials ul li .tm_description {
        float: none;
        width: 100%;
    }
    ol.nav-numbers {
        display: none;
    }
    #testimonials ul li .tm_description p {
        text-align: left;
    }
    .phone-no strong {
        width: auto;
        display: inherit;
    }
    .signin_wrap .right,
    .signin_wrap .left {
        text-align: center;
    }
    .signin_wrap .social-icons {
        width: auto;
    }
    .signin_wrap .left span {
        float: none;
    }
    .header .header-inner .nav ul li a .fa,
    .fixed .header-inner .nav ul li a .fa {
        display: none;
    }

    .one_column img {
        width: auto;
        height: auto;
        float: none;
        margin: 0 auto 5% auto;
        text-align: center;
        display: block;
    }
    .two_column,
    .three_column,
    .four_column,
    .five_column,
    .six_column {
        width: auto;
        margin: 0 0 15% 0;
        float: none;
        display: block;
    }
    .team-thumb-icons {
        height: auto;
    }
    .team-thumb-icons img {
        min-height: inherit;
    }

    .services-thumb {
        height: auto;
    }
    .services-thumb img {
        min-height: inherit;
    }

    h2.section_title {
        margin-bottom: 30px;
    }

    #section1 .filter-gallery {
        margin: 0;
    }
    .photobooth .filter-gallery ul li a {
        padding: 10px 20px;
    }
    .photobooth .gallery ul li {
        width: 100%;
        float: none;
    }
    .photobooth .gallery ul li .gallerybg {
        height: auto;
    }
    .photobooth .gallery ul li .gallerybg img {
        min-height: inherit;
    }
}

/* Mobile Landscape View */
@media screen and (min-width: 480px) and (max-width: 767px) {
    .header_row {
        float: none;
        width: 50%;
        margin: 0 auto;
        padding: 10px;
    }
    .slider-main {
        min-height: 180px;
    }
    .slider-info p {
        display: block;
    }
    .slider-info h2 {
        margin-bottom: 20px;
    }
    .nivo-caption .theme-button {
        margin-top: 0;
    }
    .photobooth .gallery ul li {
        width: 50%;
        float: left;
    }
    .photobooth .gallery ul li .gallerybg {
        height: 160px;
    }
    .photobooth .gallery ul li .gallerybg img {
        min-height: 160px;
    }
    .freeconsultant {
        text-align: left;
    }
    .freeconsultant i {
        float: left;
        margin-right: 30px;
    }
    .freeconsultant a {
        display: table;
        float: inherit;
    }
    .freeconsultant p {
        display: table;
    }
    .what-we-do .one_third .icon-bg {
        float: left;
        margin: 0 20px 0 0;
    }
    .what-we-do .one_third .content-right {
        width: 80%;
        float: left;
        text-align: left;
    }
}

/* Tablet View */
@media screen and (max-width: 1169px) and (min-width: 768px) {
    .slider-main {
        min-height: 300px;
    }
    * {
        box-sizing: border-box;
    }
    .container {
        width: 100%;
        padding: 0 20px;
    }
    .wrap_one,
    .signin_wrap {
        width: auto;
    }
    .wrap_one img {
        margin: 0 0 0 5%;
        width: 40%;
    }
    .wrap_one ul {
        margin-top: 20px;
    }

    .two_column .services-thumb {
        height: 230px;
    }
    .two_column .services-thumb img {
        min-height: 230px;
    }

    .three_column .services-thumb {
        height: 150px;
    }
    .three_column .services-thumb img {
        min-height: 150px;
    }

    .four_column .services-thumb {
        height: 110px;
    }
    .four_column .services-thumb img {
        min-height: 110px;
    }

    .five_column .services-thumb {
        height: 80px;
    }
    .five_column .services-thumb img {
        min-height: 80px;
    }

    .header {
        padding: 3% 0 0 0;
    }
    .header .header-inner {
        width: auto;
        padding: 15px 10px 0;
    }
    .header .header-inner .logo {
        margin: 0;
        width: 25%;
        padding: 0;
        float: left;
    }
    .header .header-inner .header_info {
        width: 57%;
        margin: 0 3% 3% 0;
    }

    .header_row {
        width: 75%;
    }
    .header_row .column-1 i {
        margin-right: 5px;
    }
    .header_row .column-1 span.hederphone {
        font-size: 14px;
    }
    .header_row .column-1 span.hederemailid {
        font-size: 13px;
    }

    .toggle {
        margin-top: 20px;
    }

    /*slider css*/
    .slider-info h2 {
        font-size: 40px !important;
    }
    .nivo-controlNav a {
        width: 20px !important;
        height: 20px !important;
    }
    .content-area {
        width: auto;
        margin: 0;
        padding: 20px 20px;
    }

    #sidebar .services-content p {
        font-size: 12px !important;
    }
    .site-main .services-col .services-content {
        padding: 5%;
    }
    .site-main .services-col p {
        font-size: 12px !important;
        line-height: 18px;
    }

    .photobooth .filter-gallery ul li a {
        padding: 15px 20px;
    }
    .photobooth .gallery ul li .gallerybg {
        height: 200px;
    }
    .photobooth .gallery ul li .gallerybg img {
        min-height: 200px;
    }

    #section1 .filter-gallery {
        margin-left: 0;
    }

    .freeconsultant a {
        margin-top: 0;
    }
    .what-we-do .one_third .icon-bg {
        height: 60px;
        margin-right: 8px;
    }
    .what-we-do .one_third {
        width: 48%;
        margin: 0 1% 2% 1%;
    }
    .what-we-do .last_column {
        margin: 0 1% 2% 1% !important;
        clear: inherit !important;
    }
    .team-thumb-icons .member-social-icon {
        opacity: 1;
    }
    .member-social-icon a {
        margin: 0;
    }

    .testimonials-wrap .owl-prev {
        right: 4.5%;
    }
    #some-facts .everydaytime .everydays {
        padding: 38% 0;
    }
    .site-main.sitefull #some-facts .everydaytime .everydays {
        padding: 41% 0;
    }
    #some-facts .everydaytime {
        width: 13.8%;
        margin: 0 4px 0 0;
    }
    .site-main #some-facts .everydaytime {
        width: 12%;
    }
    .container-gallery {
        width: 100%;
        padding: 0;
    }

    /*#sidebar {
        width: 30%;
    }*/
    .site-main {
        width: 65%;
    }

    /*pricing table*/
    .pricing_table.pcol1 .price_col {
        width: 99%;
    }
    .pricing_table.pcol2 .price_col {
        width: 49.5%;
    }
    .pricing_table.pcol3 .price_col {
        width: 33%;
    }
    .pricing_table.pcol4 .price_col {
        width: 24.75%;
    }
    .pricing_table.pcol5 .price_col {
        width: 19.75%;
    }

    .nivo-caption {
        width: 70%;
    }
    .time-table {
        width: 32%;
        top: 5px;
        right: 3%;
    }
    .time-table h2 {
        padding: 10px 0;
    }
    .openingday,
    .openingtime {
        padding: 10px 0 10px 20px;
        width: 46%;
    }

    /*custom  css*/
    .BlogPost {
        min-height: 250px;
    }
    .client_lists .client {
        width: 14%;
    }
    .services-wrap .one_third {
        text-align: center;
    }
    .services-wrap .one_third .fa {
        float: none;
    }
    .services-wrap .one_third h4 {
        margin: 15px 0;
    }
    .tm_thumb {
        width: 15%;
    }
    #testimonials ul li .tm_description {
        width: 85%;
    }
    .recent-post h6 {
        padding-top: 7px;
    }
    ol.nav-numbers {
        bottom: 10%;
    }
    .say_thumb img {
        min-height: inherit;
    }
    .say_thumb {
        height: auto;
    }

    .news-box .news-thumb {
        height: 200px;
        width: 100%;
        float: none;
        margin: 0;
    }
    .news-box .news-thumb img {
        min-height: 200px;
    }
    .news {
        width: 100%;
        margin: 0;
    }

    h2.section_title {
        margin-bottom: 30px;
    }

    .team-thumb-icons {
        height: 140px;
    }
    .team-thumb-icons img {
        min-height: 140px;
    }
}

@media screen and (max-width: 1169px) and (min-width: 980px) {
    html {
        overflow-x: hidden;
    }
    .pricing_table.pcol1 .price_col {
        width: 99%;
    }
    .pricing_table.pcol2 .price_col {
        width: 49.5%;
    }
    .pricing_table.pcol3 .price_col {
        width: 33%;
    }
    .pricing_table.pcol4 .price_col {
        width: 24.75%;
    }
    .pricing_table.pcol5 .price_col {
        width: 19.75%;
    }

    .freeconsultant a {
        margin-top: -55px;
    }

    .what-we-do .one_third {
        width: 32%;
        margin: 0 2% 2% 0;
    }
    .what-we-do .one_third .content-right {
        width: 195px;
        float: right;
    }
    .what-we-do .one_third .content-right h3 {
        font-size: 16px;
    }
    .what-we-do .last_column {
        margin: 0 !important;
        clear: right !important;
    }
    .header_row {
        width: 55%;
    }

    .owl-carousel .owl-stage-outer {
        padding: 10px 0 !important;
    }
    .news-box .news-thumb {
        margin: 0px -170px 0 0;
        float: left;
        width: 70%;
        height: 300px;
        overflow: hidden;
    }
    .news-box .news-thumb img {
        min-height: 300px;
    }
    .news {
        width: 63.5%;
        min-height: 240px;
        margin-top: 30px;
    }

    .team-thumb-icons {
        height: 195px;
    }
    .team-thumb-icons img {
        min-height: 195px;
    }

    .two_column .services-thumb {
        height: 300px;
    }
    .two_column .services-thumb img {
        min-height: 300px;
    }

    .three_column .services-thumb {
        height: 210px;
    }
    .three_column .services-thumb img {
        min-height: 210px;
    }

    .four_column .services-thumb {
        height: 150px;
    }
    .four_column .services-thumb img {
        min-height: 150px;
    }

    .five_column .services-thumb {
        height: 110px;
    }
    .five_column .services-thumb img {
        min-height: 110px;
    }

    .photobooth .filter-gallery ul li a {
        padding: 12px 35px;
    }
    .photobooth .gallery ul li .gallerybg {
        height: 255px;
    }
    .photobooth .gallery ul li .gallerybg img {
        min-height: 255px;
    }
}

@media screen and (max-width: 980px) {
    section {
        padding: 40px 0;
    }
    .toggleMenu {
        display: block;
    }
    .header .header-inner .nav {
        float: none;
        margin: 0;
        top: 0;
        position: relative;
        overflow-x: hidden;
    }
    .header .header-inner .nav ul {
        color: #000;
        width: 100% !important;
        float: none !important;
        margin: 0;
        padding: 0;
    }
    .header .header-inner .nav ul li {
        border-top: 1px #cccccc solid;
        display: block;
        float: none;
        text-align: left;
        border-right: none;
    }
    .header .header-inner .nav ul li a {
        padding: 5px 10px !important;
        display: block;
        color: #fff;
        text-align: left;
    }
    .header .header-inner .nav ul li a:hover {
        color: #ffffff;
    }
    .header .header-inner .nav ul.sub-menu {
        /*margin-left:10px;*/
    }
    .header .header-inner .nav ul li ul,
    .header .header-inner .nav ul li ul ul {
        display: block !important;
    }
    .header .header-inner .nav ul li ul li a:before {
        content: "\00BB \00a0";
    }
    .header .header-inner .nav ul li ul li a {
        padding-left: 20px !important;
    }
    .header .header-inner .nav ul li ul li ul li a {
        padding-left: 30px !important;
    }
    .header .header-inner .nav ul li ul li ul li ul li a {
        padding-left: 40px !important;
    }
    .header .header-inner .nav ul li:hover > ul {
        background: none !important;
    }

    .header .header-inner .nav ul li:hover > ul {
        background: transparent !important;
        width: auto !important;
        display: block;
        position: relative !important;
        left: 0;
        right: 0;
        top: 0;
    }
    .header .header-inner .nav ul li:hover ul li ul,
    .header .header-inner .nav ul li:hover ul li:hover > ul,
    .header .header-inner .nav ul li:hover ul li:hover > ul li ul {
        background: transparent !important;
        display: block;
        position: relative !important;
        right: 0;
        left: 0;
        top: 0;
    }
    .header .header-inner .nav ul li:hover ul li:hover ul,
    .header .header-inner .nav ul li:hover ul li:hover ul li:hover ul {
        left: 0 !important;
    }
    .header .header-inner .nav ul li a .fa,
    .fixed .header-inner .nav ul li a .fa {
        display: none;
    }
    .header .header-inner .logo img {
        height: auto;
    }
    #wrapOne iframe {
        width: 100%;
        margin: unset;
    }
    .content-news {
        width: 100%;
        float: none;
        padding: 0px 15px;
    }
    .content-sidebar {
        width: 100%;
        float: none;
        padding: 0px 15px;
    }
}
