@media only screen and (min-width: 1024px) and (max-width: 1152px) {
#page_content_wrapper {
    margin: 0 auto;
    width: 990px;
}
.page_right_section {
    margin: 0 auto;
    width: 660px;
}
.promobox_content h2{
    font-size: 3.5em!important;
}
}

/* Tablet (Portrait) */
/* Width of 768px */

@media only screen and (min-width: 768px) and (max-width: 1023px) {

#page_content_wrapper{

}

.logo{
    margin:0px auto;
}
h1.logo, .logo{
    margin-bottom:inherit!important;
}

.page_left_section, .page_right_section {
    float: none!important;
    position: relative;
    width: 100% !important;
    margin-bottom: 0!important;
}
/* Page Right Section */
.page_left_section footer {
    display: none;
}
.page_right_section footer {
    display: block;
}
#content_wrapper {
    min-height: 420px;
}
#slidecaption {
    left: 0!important;
    right: 0;
    text-align: center;

}
#slidecaption h1 {
    font-size: 3.5em;
}
#slidecaption h4 {
    font-size: 1.5em;
}

/* Menu */
nav .menu {
 clear: both;
    line-height: 32px;
    margin: 0 auto;
    min-height: 32px;
    padding: 1%;
    width: 98%;
    
 }

nav .menu ul {
    display:none;
}
nav .menu select {
    background-color: #E4E4E4;
    border: 1px solid #FFFFFF;
    display: block;
    margin: 0 auto;
    padding: 5px 10px;
    width: 100%;
    float: left;
}
nav .menu select option {
    padding-bottom:3px;
}

nav {
    float:none;
    padding:0!important;
    top: 0;
 }

#main_slider{
    min-height: 250px!important;
}
.slides_description h3, .promobox_content h2{
    font-size: 3em!important;
}
.sub_header_wrapper .two_third, .sub_header_wrapper .one_third_last{
    margin: 0 auto;
    text-align: center;
    width: 100% !important;   
}
.panel-grid-cell {
    width: 100% !important;
     margin-bottom:60px;
}
.panel-grid-cell:last-child {
    margin-bottom: 0 !important;
}
/* Default Gallery 
------------------------------------------------------*/
.gallery-item {
    width: 31.5% !important;
}
/* portfolio  */
.portfolio4  li, #relatedposts li{
    width:31.5%!important;
}
/* blog */
#sidebar li .description{
    overflow:inherit;
}
#respond .one_half_last input{
    width: 93%!important;
}
.caption h3 {
    font-size: 2.5em !important;

}
.caption p {
    font-size: 1.3em !important;
    width: 100%!important;
}
.isotope_gallery li{
    width:32.6%;
}

}
/* Mobile landscape width 320 */
@media only screen and (max-width: 767px) {

#page_content_wrapper{
    margin: 0 auto;
    width:320px!important;
}
.page_left_section, .page_right_section {
    float: none!important;
    position: relative;
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* Header section
----------------------------------------*/
.header_right_section, .header_left_section {
    margin: 0 auto;
    text-align: center;
    float: none !important;
    display:inherit;
}

.single .sub_header h2, .single .sub_header p, .Page_titlebar_wrapper h2 {
    width: 100%;
     float: none; 
}
.header_right_section .social_icons_box a{
    float: none;
    margin-bottom: 20px;
}
/* slider */
#slidecaption {
    left: 0 !important;
    position: absolute;
    right: 0;
    text-align: center;
    z-index: 10;
    padding: 20px;
 
}

.slides_description h3, .caption h3.slide_title, .sub_header h2, #slidecaption h1{
    font-size:1.5em!important;
}
.slides-navigation{
    display: none!important;
}

.slides_description p, .caption p, #slidecaption h4{
    font-size: inherit!important;
}

.bx-wrapper .bx-controls-direction a, #controls{
    display: none;
}

/* Menu
------------------------------------------------------*/
.header_left_section {
    float:none;
    width:100%!important;
    text-align:center!important;
}
.header_right_section {
    float:none;
    width:100%!important;
    text-align:center!important;
    margin-top: 30px;
}
.header_right_section h3{
    text-align: center!important;
}
.logo{
    margin:0px auto;
    max-width: 60%;
}
h1.logo{
    font-size: 60px!important;
    margin-bottom:inherit!important;
}
nav .menu {
 clear: both;
    line-height: 32px;
    margin: 0 auto;
    min-height: 32px;
    padding: 1%;
    width: 100%;
    
 }
nav .menu ul {
    display:none;
}
nav .menu select {
    background-color: #E4E4E4;
    border: 1px solid #FFFFFF;
    display: block;
    margin: 0 auto;
    padding: 5px 10px;
    width: 98%;
    float:left;
     line-height: 20px;
     height:30px;
     -webkit-appearance: none;
}
nav .menu select option {
    padding-bottom:3px;
}

nav {
    float:none;
    padding:0!important;
    top: 0;
 }
/* page title section */
.single .Page_titlebar_wrapper h2{
    float: none;
    text-align: center;
    width: 100%;
}
 /* Contact Form 
 ------------------------------------------------------*/
#contact-form{
    background: none!important;
    padding: 0px!important;
    border:none;
}

/* Gallery
------------------------------------------------------*/
.gallery-item {
    width: 47.8% !important;
}
/* Sidebar 
------------------------------------------------------*/
.page_sidebar {
    border:0px!important;
    padding-right:0!important;
    padding-left:0!important;
}

/* Portfolio
------------------------------------------------------*/
.filter ul li {
    width: 100%;
}
#filter ul li a {
    display: block!important;
    text-align: center;
    border-bottom:0px!important;
    
 }
#filter ul li:last-child a {
    border-bottom:1px solid #eee!important; 
}
.porfolio_items li,.post-column{
    width: 280px!important;
    margin-bottom:2.5%!important;
}

#singlepage_nav {
    width:85px;
    float: none !important;
     margin: 15px auto 20px!important;
}

.Portfolio_gallery .two_third{
    margin-bottom:0!important;
}
.isotope_gallery li{
    width:49%;
}
/* image boxes */
.image-boxes .description{
    overflow: inherit!important;
    text-align: center!important;
}
.image-boxes .alignleft, .image-boxes .alignright{
    float: none!important;
    display: table!important;
    margin: 0px auto;

}
.image-boxes .description > h3 {
    float: none;
    margin-top: 10px;
    width: auto;
}
.custom_title h2:before, .custom_title h2:after{
    display: none!important;
}
/* Page Right Section */
.page_left_section footer {
    display: none;
}
.page_right_section footer {
    display: block;
}
#contact-form p {
    margin-bottom: 0 !important;
}
 /* Columns
----------------------------------------*/
.one_half, .one_half_last, .one_third, .one_third_last, .two_third, .two_third_last, .one_fourth, .one_fourth_last, .two_fourth, .two_fourth_last, .three_fourth, .three_fourth_last, .one_fifth, .one_fifth_last, .two_fifth, .two_fifth_last, .three_fifth, .three_fifth_last, .four_fifth, .four_fifth_last, .pricing_table .one_third, .pricing_table .one_fourth
{
    width: 100%!important;
    margin: 0 0 30px!important;
}
.blog_single_img .isotope_gallery li{
width:49.5%!important;
margin-right:0.1%;
}
.metabox span {
    margin-right: 8px;
}
.metabox span i {
    padding-right:3px;
}
/* Woocommerce */
.woocommerce table.shop_table td, .woocommerce-page table.shop_table td {
    padding: 6px 3px!important;
}
.woocommerce table.shop_table th, .woocommerce-page table.shop_table th{
    padding: 0!important;
}
.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering, .woocommerce .woocommerce-result-count, .woocommerce-page .woocommerce-result-count {
    float: none;
    text-align: center;
    padding-bottom: 0;
}
#content_wrapper {
    min-height: 200px;
}
/* Woocommerce */
.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering, .woocommerce-result-count {
    float: none!important;
    text-align: center;
    padding-bottom: 0;
    margin-bottom: 30px;
}
.woocommerce table.shop_table th, .woocommerce-page table.shop_table th{
    padding: 9px 4px!important;
}
.woocommerce table.shop_table td, .woocommerce-page table.shop_table td{
    padding: 6px 4px!important;
}
ul.products li:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
ul.products{
    margin-bottom: 0 !important;
}
.woocommerce table.cart input, .woocommerce #content table.cart input, .woocommerce-page table.cart input, .woocommerce-page #content table.cart input{
    font-size: 12px;
}
.shipping_calculator, .calculated_shipping, .cart_totals {
    width: 100%!important;
    float: none!important;
}
.shop_table.cart .primary-button, .shop_table.cart .seconadry-button{
    width: auto!important;
}
.woocommerce .quantity input.qty, .woocommerce-page .quantity input.qty{
    width: 58px!important;
}
.woocommerce .quantity, .woocommerce #content .quantity, .woocommerce-page .quantity, .woocommerce-page #content .quantity{
    width: 60px!important;
}
.single-product-image{
    display: block;
}
.woocommerce span.onsale, .woocommerce-page span.onsale{
    top: 15px!important;
}
.woocommerce .cart-collaterals .cart_totals table th, .woocommerce-page .cart-collaterals .cart_totals table th{
    padding: 0;
}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {

#page_content_wrapper{
    margin: 0 auto;
    width: 480px!important;
}
.item_thumb_gallery , ul.kaya_gallery li{
    width:141px;
}
/* Portfolio
------------------------------------------------------*/
.porfolio_items li, #relatedposts li, .post-column{
    width:98.3%!important;
}
/* Related Post */
#relatedposts li{
    width:48.2%!important;
}
}