/* prettyPhoto styling for small screens */
@media only screen and (max-width: 767px) {
    .pp_pic_holder.pp_default {
        width: 100% !important;
        left: 0 !important;
        overflow: hidden;
    }

    div.pp_default .pp_content_container .pp_left {
        padding-left: 0 !important;
    }

    div.pp_default .pp_content_container .pp_right {
        padding-right: 0 !important;
    }

    .pp_content {
        width: 100% !important;
        height: auto !important;
    }

    .pp_fade {
        width: 100% !important;
        height: 100% !important;
    }

    a.pp_expand, a.pp_contract, .pp_hoverContainer, .pp_gallery, .pp_top, .pp_bottom {
        display: none !important;
    }

    #pp_full_res img {
        width: 100% !important;
        height: auto !important;
    }

    .pp_details {
        width: 100% !important;
        padding-left: 3%;
        padding-right: 4%;
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: #fff;
        margin-top: -2px !important;
    }

    a.pp_close {
        right: 10px !important;
        top: 10px !important;
    }

    div.pp_default div .pp_content {
        min-height: 50px;
    }
}

@media only screen and (max-width: 992px) {
    .promo_text_block {
        max-width: 100%;
        text-align: center;
    }

    .promo_text_additional_title {
        margin-top: 15px;
    }

    .promo_button_block {
        clear: both;
        float: none;
        display: inline-block;
        margin-top: 20px;
        margin-bottom: 5px;
    }

    .promoblock_wrapper {
        text-align: center;
    }

    .promo_text_block,
    .promo_button_block {
        float: none;
        width: 100%;
        text-align: center;
    }
}

@media only screen and (min-width: 768px) {
    .testimonials_list .double li {
        width: 50%;
    }

    .testimonials_list .double li:nth-child(odd) .item {
        padding: 93px 0 0 32.47%;
    }

    .testimonials_list .double li:nth-child(even) .item {
        padding: 0 32.47% 93px 0;
    }

    .testimonials_list .double li:nth-child(odd) .testimonials_text {
        margin-right: -15px;
    }

    .testimonials_list .double li:nth-child(even) .testimonials_text {
        margin-left: -15px;
    }
}

@media only screen and (max-width: 767px) {
    .testimonials_list ul.double .testimonial_item_wrapper {
        max-width: 100%;
    }
}

@media only screen and (min-width: 960px) {
    .shortcode_tabs.type2 .all_heads_cont {
        float: none;
        display: block;
    }

    .shortcode_tabs.type2 .all_body_cont {
        margin: 0;
    }

    .shortcode_tabs.type2 .all_head_sizer {
        width: 20%;
        text-align: right;
    }

    .shortcode_tab_item_title {
        float: none;
    }

    .shortcode_tabs.type2 .all_body_sizer {
        width: 80%;
    }

    .shortcode_tabs.type2 .all_body_sizer,
    .shortcode_tabs.type2 .all_head_sizer {
        float: left;
        display: inline-block;
    }

    .all_body_sizer:after,
    .all_head_sizer:after {
        content: '';
        display: block;
        clear: both;
    }

    .shortcode_tabs.type2 .shortcode_tab_item_title {
        float: right;
        margin: 0 0 -1px 0;
        display: block !important;
        border-right: 0 !important;
        border-radius: 4px 0 0 4px;
        -webkit-border-radius: 4px 0 0 4px;
    }

    .shortcode_tabs.type2 .shortcode_tab_item_title:after {
        content: '';
        font-size: 0;
        line-height: 0;
        clear: both;
        display: table;
    }

    .shortcode_tabs.type2 .shortcode_tab_item_title:before {
        height: 100%;
        width: 1px;
        bottom: 0;
        left: auto;
        right: -1px;
    }

    .pt53_tab {
        padding-top: 53px;
    }
}

@media only screen and (min-width: 768px) {
    .right-sidebar-block,
    .left-sidebar-block,
    .fl-container.hasRS,
    .posts-block.hasLS {
        float: left;
    }

    .right-sidebar-block,
    .left-sidebar-block {
        width: 25%;
    }

    .fl-container {
        width: 100%;
    }

    .fl-container.hasRS,
    .posts-block.hasLS {
        width: 75%;
    }
}

/* Responsive changes */
@media only screen and (max-width: 767px) {
    .module_text_area img {
        width: auto !important;
        height: auto !important;
    }

    .shortcode_blockquote {
        width: 100% !important;
    }

    .module_team .item {
        width: 100% !important;
    }

    .module_price_table .price_item {
        width: 100% !important;
    }

    .module_cont.span2,
    .module_cont.span7,
    .module_cont.span5 {
        width: 100% !important;
    }

    .module_partners ul li {
        width: 100% !important;
    }

    .module_partners ul li .item_wrapper {
        margin-right: 15px;
    }

    .partners_shortcode_wrapper.type1 {
        margin-left: -15px !important;
    }

    .item_tab > div img {
        float: none;
    }

    .shortcode_tab_item_title {
        display: block;
    }

    .filter_navigation ul li ul li {
        display: block;
    }

    div.shortcode_iconbox {
        display: block;
        float: none;
        width: 100% !important;
    }

    .list-of-images .gallery_item {
        display: block;
        float: none;
        width: 100% !important;
    }

    .tagline {
        display: none;
    }

    .tagline .fleft,
    .tagline .fright {
        float: none;
    }

    .width50,
    .width65 {
        width: 100%;
        float: none !important;
    }

    .ml-30,
    .mr-30 {
        margin-left: 0;
    }

    .portf_wall_item {
        width: 100% !important;
        display: block;
        margin-right: 0 !important;
    }

    .span4.sitemap_block:first-child {
        margin-top: 0px;
    }

    .span4.sitemap_block {
        margin-top: 48px;
    }

    .wrapper_404 {
        padding-right: 0;
    }

    .cont404 .main_container .span12 {
        padding-right: 0;
        padding-left: 0;
    }

    .wrapper_404 .bg_title h2 {
    }

    .cart_list.product_list_widget li a.remove {
        left: 89% !important;
    }

    .woocommerce-page table.cart td.actions input {
        width: auto !important;
        margin: 0 !important;
        display: block !important;
        position: relative;
        margin-bottom: 20px !important;
    }

    div.coupon {
        margin: 0 !important;
        width: 100% !important;
        padding-bottom: 0 !important;
    }

    div.coupon input[name=apply_coupon] {
        position: absolute !important;
    }

    .portf_wall_descr {
        display: block !important;
        padding-top: 25px;
    }

    .woocommerce-cart table.cart td,
    .woocommerce-cart table.cart th {
        border: 1px solid #dddddd;
    }

    .tp-simpleresponsive .tp-caption:before {
        display: none;
    }

    .actions .checkout-button.button.alt.wc-forward {
        float: none !important;
        width: auto !important;
        margin-left: 0 !important;
        text-align: center !important;
    }

    .woocommerce .cart_totals {
        width: 100% !important;
    }

    .featured_items .items1 li,
    .featured_items .items2 li,
    .featured_items .items3 li,
    .featured_items .items4 li,
    .teamslider.items1 li,
    .teamslider.items2 li,
    .teamslider.items3 li,
    .teamslider.items4 li,
    .sponsors_works.items1 li,
    .sponsors_works.items2 li,
    .sponsors_works.items3 li,
    .sponsors_works.items4 li,
    .sponsors_works.items5 li,
    .sponsors_works.items6 li,
    .module_price_table.items1 .price_item,
    .module_price_table.items2 .price_item,
    .module_price_table.items3 .price_item,
    .module_price_table.items4 .price_item,
    .menu_img_icons.items1 li,
    .menu_img_icons.items2 li,
    .menu_img_icons.items3 li,
    .menu_img_icons.items4 li,
    .menu_img_icons.items5 li,
    .menu_img_icons.items6 li {
        width: 100%;
    }

    .cover_boxes ul {
        margin: 0;
        width: 100%;
    }

    .cover_boxes ul li {
        float: none;
        margin-right: 0;
        margin-bottom: 30px;
        width: 100% !important;
        position: relative;
    }

    .cover_boxes ul li.act {
        width: 100% !important;
    }

    .cover_boxes ul li .box {
        width: 100%;
    }

    .cover_boxes ul li .box .thumb {
        display: block;
        float: none;
        margin-right: 0;
        position: relative;
        margin-bottom: 20px;
        width: 100%;
        z-index: 10;
    }

    .cover_boxes ul li .box .thumb img {
        display: block;
        width: 100%;
        height: auto;
        position: relative;
    }

    .cover_boxes ul li .box .box_content {
        bottom: auto;
        left: auto;
        padding: 0;
        position: relative;
        top: auto;
        width: 100%;
        z-index: 9;
    }

    .cover_boxes ul li .box .box_content p {
        font-size: 16px;
        line-height: 24px;
    }

    .right_text {
        text-align: left;
    }

    .count_iconboxes {
        display: none;
    }

    .count_title h1 {
        line-height: 35px !important;
        font-size: 25px !important;
    }

    .countdown_wrapper {
        height: 55px;
    }

    .countdown-amount {
        font-size: 20px;
        line-height: 35px;
        padding: 0 10px;
    }

    .countdown-period {
        padding: 0 10px;
        font-size: 14px;
        line-height: 18px;
    }

    .notify_shortcode {
        padding: 0;
    }

    .notify_shortcode input[type="text"],
    .notify_shortcode input[type="email"],
    .notify_shortcode input[type="password"] {
        margin-bottom: 20px;
    }

    .notify_shortcode input[type="submit"] {
        margin-bottom: 0;
    }

    .right-sidebar .contentarea {
        padding-right: 0;
    }

    .left-sidebar .contentarea {
        padding-left: 0;
    }

    .cover50 {
        position: static;
        height: 300px;
        width: calc(100% + 30px);
        margin-left: -15px;
    }

    .level_form .field,
    .level_form .title_field,
    .level_form .btn_field {
        width: 100%;
        float: none;
    }

    .level_form .title_field,
    .level_form .field {
        margin-bottom: 20px;
    }

    .megamenu_wrap iframe.map {
        position: static;
        left: auto;
        top: auto;
        bottom: auto;
        height: 300px;
        width: 100%;
    }

    .ml_55 {
        margin-left: 55px;
    }

    header nav,
    header .fright {
        display: none !important;
    }

    .fixed-menu {
        display: none !important;
    }

    .main_header.type2 .container.full_width {
        width: 100% !important;
        padding: 0 15px !important;
    }

    .main_header.type2 .slogan {
        display: none;
    }

    .main_header .logo_sect {
        padding: 23px 0 !important;
        display: block;
        vertical-align: top;
        float: none;
        text-align: center;
    }

    .main_header .logo_sect .logo {
        display: inline-block !important;
    }

    .with_header {
        margin-top: 0;
        z-index: auto;
    }

    .with_slider {
        z-index: auto;
        margin-top: 0;
        background-color: #2d2e2e;
    }

    a.menu_toggler {
        display: block;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        height: 20px;
        line-height: 20px;
        position: absolute;
        left: 20px;
        top: 30px;
        font-size: 20px;
        color: #fff !important;
        font-weight: normal;
        width: 20px;
    }

    .mobile_menu_wrapper {
        display: block;
        background: #fff;
        width: 100%;
        padding: 0;
        overflow: hidden;
        position: relative;
    }

    .mobile_menu_wrapper:before {
        display: block;
        background: #fff;
        width: 100%;
        position: absolute;
        left: 0;
        bottom: 0;
        height: 1px;
        content: '';
        z-index: 555;
    }

    .mobile_menu {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .mobile_menu_wrapper li:before {
        display: none;
    }

    .mobile_menu_wrapper li {
        padding: 0;
        margin: 0;
        position: relative;
    }

    .mobile_menu_wrapper .sub-menu {
        margin-left: 40px;
    }

    .mobile_menu_wrapper .sub-nav {
        display: none;
    }

    .showsub .sub-nav .sub-nav {
        display: none;
    }

    .showsub .sub-nav,
    .showsub .sub-nav .showsub .sub-nav {
        display: block;
    }

    .mobile_menu_wrapper a.mob_link {
        color: #666666;
        font-size: 14px;
        font-weight: 300;
        padding: 22px 0 23px 0;
        margin: 0;
        line-height: 24px;
        border-bottom: 1px #eeeeee solid;
        display: block;
    }

    .mobile_menu_wrapper .current-menu-parent .sub-menu a.mob_link {
        color: #666666;
    }

    .mobile_menu_wrapper li.menu-item-has-children:before {
        position: absolute;
        right: -5px;
        top: 23px;
        content: "\f105";
        display: block;
        font-size: 14px;
        color: #666666;
        font-weight: normal;
        line-height: 24px;
        font-family: 'FontAwesome';
    }

    .mobile_menu_wrapper li.current-menu-parent.menu-item-has-children.showsub:before,
    .mobile_menu_wrapper li.menu-item-has-children.showsub:before {
        content: "\f107";
    }

    .sub-nav {
        width: 100% !important;
        margin: 0 !important;
    }

    .megamenu_wrap .container {
        padding: 0;
    }

    .sub-menu i {
        padding-right: 7px;
    }

    .menu_img_icons a:hover {
        margin-top: 0;
    }

}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .featured_portfolio .featured_item_content {
        display: none;
    }

    .featured_items_title:before {
        display: none;
    }

    .featured_items_title {
        padding: 0;
        margin: 0;
    }

    .featured_items_title h5,
    .featured_items_title h5 a {
        line-height: 20px;
        font-size: 14px;
        font-weight: 400;
    }

    .cover_boxes ul li {
        width: 160px;
    }

    .cover_boxes ul li.act {
        width: 350px;
    }

    .cover_boxes ul li .box {
        width: 350px;
    }

    .cover_boxes ul li .box .thumb {
        width: 160px;
    }

    .cover_boxes ul li .box .box_content {
        left: 190px;
        width: 160px;
    }

    .cover_boxes ul li .box h3 {
        padding: 0;
        margin-bottom: 0;
    }

    .cover_boxes ul li .box h3:before {
        display: none;
    }

    .cover_boxes ul li .box .box_content p {
        font-size: 13px;
        line-height: 17px;
    }

    .countdown_wrapper {
        height: 90px;
    }

    .countdown-amount {
        font-size: 50px;
        line-height: 65px;
        padding: 0 30px;
    }

    .countdown-period {
        padding: 0 30px;
    }

    .ml_55 {
        margin-left: 55px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .portf_wall_info h2,
    .portf_wall_info h2 a {
        line-height: 30px;
        font-size: 25px;
        text-align: center;
    }

    .portf_wall_info ul {
        display: none;
    }

    .portf_wall_info h2:before {
        display: none;
    }

    .shop_list_info .fleft,
    .shop_list_info .fright {
        float: none;
    }

    .ml_55 {
        margin-left: 55px;
    }

}

@media only screen and (min-width: 1200px) {
    .pl200 {
        padding-left: 215px;
    }

    .hasRS .pl200, .hasLS .pl200 {
        padding-left: 15px;
    }

    .cover_boxes ul li {
        width: 270px;
    }

    .cover_boxes ul li.act {
        width: 570px;
    }

    .cover_boxes ul li .box {
        width: 570px;
    }

    .cover_boxes ul li .box .thumb {
        width: 270px;
    }

    .cover_boxes ul li .box .box_content {
        left: 300px;
        width: 270px;
    }

    .cover_boxes ul li .box h3 {
        padding: 25px 0 15px 0;
    }

    .cover_boxes ul li .box .box_content p {
        font-size: 16px;
        line-height: 24px;
    }
}

@media only screen and (min-width: 768px) {
    a.menu_toggler {
        display: none !important;
    }

    .mobile_menu_wrapper {
        display: none !important;
    }
}

@media only screen and (min-width: 1900px) {
    .portf_wall_info li {
        padding: 28px 0 0 0;
    }

    .portf_wall_info_in {
        font-size: 20px;
        line-height: 30px;
    }

    .countdown-amount,
    .countdown-period {
        padding: 0 103px 0 97px;
    }

}

@media only screen and (max-width: 1024px) {
    .parallax {
        background-position: 50% 50% !important;
        background-attachment: scroll !important;
    }
}

@media only screen and (max-width: 1280px) {
    .tparrows {
        display: none !important;
    }
}

@media only screen and (max-width: 1500px) {
    .portf_wall_descr {
        display: none;
    }

    .portf_wall_info h2 {
        margin-bottom: 0;
    }
}

/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
    .tp-leftarrow,
    .tp-rightarrow {
        background-image: url(../img/retina/sprite.png) !important;
        background-size: 300px 150px !important;
        -webkit-background-size: 300px 150px !important;
    }

    .nivo-prevNav:before,
    .nivo-nextNav:before {
        background-image: url(../img/retina/sprite.png) !important;
        background-size: 300px 150px !important;
        -webkit-background-size: 300px 150px !important;
    }
}