@media only screen and (min-width: 1024px) and (max-width: 1152px) {
#box_layout, .boxed_header {
    margin: 0 auto;
    width: 990px;
}
.container {
    margin: 0 auto;
    width: 930px;
   
}
.promobox_content h2{
    font-size: 3.5em!important;
}
}

/* Tablet (Portrait) */
/* Width of 768px */

@media only screen and (min-width: 768px) and (max-width: 1023px) {

#box_layout, .boxed_header{
    margin: 0 auto;
    width: 728px;
}
.container {
    margin: 0 auto;
    width: 691px;

}

.logo{
    margin:0px auto;
}
.header_left_section {
    float: none;
    width: 100%
}
.header_right_section {
    margin-top: 30px;
    text-align: center;
    width: 100%;
}
.header_right_section h3{
    text-align: center!important;
}
.header_social_icons{
    margin-right: 226px;
}
.social_icons{
    float: none;
}
/* Menu */

nav .menu {
 clear: both;
    line-height: 32px;
    margin: 0 auto;
    min-height: 32px;
    padding: 1%;
    width: 98%;
    float: left;
    
 }

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%;
}
nav .menu select option {
    padding-bottom:3px;
}

nav {
    float:none;
    padding:0!important;
    top: 0;
 }
 .search_box_icon{
    display: none;
 }
#main_slider{
    min-height: 250px!important;
}

.ei-slider-large img{
   
   margin-left:0px!important;
}
.ei-title{
    width: 76%;
}
.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;   
}

#singlepage_nav {
    margin-top: 18px;
      float: none;
}
.panel-grid-cell {
    width: 100% !important;
     margin-bottom:60px;
}
.panel-grid-cell:last-child {
    margin-bottom: 0 !important;
}
/* Default Gallery 
------------------------------------------------------*/
.gallery-item {
    width: 33.30%!important;
}
/* portfolio  */
.portfolio4  li, #relatedposts li{
    width:31.8% !important;
}
/* blog */
#sidebar li .description{
    overflow:inherit;
}
#contact-form textarea, #commentform input, #commentform textarea {
    width: 97.8%!important;
}
#contact-form input {
    width: 92.5% !important;
}
#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) {

#box_layout, .boxed_header{
    margin: 0 auto;
    width:320px!important;
}
.container {
    margin:0 auto;
    width:300px;
    padding:30px 10px;
    
}
/* Header section
----------------------------------------*/
.sub_header h2, .sub_header p{
    text-align: center;
    float: none!important;
    width: 100%!important;
}
.header_right_section, .header_left_section {
    margin: 0 auto;
    text-align: center;
    float: none !important;
    display:inherit;
}
.header_social_icons{
    margin-right: 100px;
}
.sub_header_wrapper{
    margin-top: 0!important;
    padding: 0!important;
}
.page_title_bg{
    background-attachment: scroll!important;

}
/* slider */
.slides_description h3, .caption h3.slide_title, .sub_header h2{
    font-size:1.7em!important;
}
.slides-navigation{
    display: none!important;
}

.slides_description p, .caption p{
    font-size: inherit!important;
}

 .promobox_content h2, .single_img_parallex_inner_text h2{
    font-size: 2.5em!important;
} 
/* 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;
}
.social_icons {
    float: none;
    text-align: center;
}
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%;
}
nav .menu select option {
    padding-bottom:3px;
}

nav {
    float:none;
    padding:0!important;
    top: 0;
 }

.search_box_icon{
    display: none;
}

.sub_header_wrapper .two_third, .sub_header_wrapper .two_third{}
/* Footer 
------------------------------------------------------*/
#footer_bottom_wrapper , .copy_right,#footer_bottom .footer_menu, .footer_left{
    text-align:center;
    float:none;
    display:block;
}
#footer_bottom .one_half_last, #footer_bottom .one_half{
    margin-bottom:0px!important;
    padding:0px;
    text-align: center;
}
ul.menu {
    float:none;
    text-align: center;
    margin: 0px auto;
}

.footer_bottom_right_section{
    float:none;
    text-align:center;
}
.most_footer_bottom span {
    float: none !important;
    text-align: center;
}
 /* Contact Form 
 ------------------------------------------------------*/
#contact-form input, #contact-form textarea {
    width: 96%;
}
#contact-form{
    background: none!important;
    padding: 0px!important;
    border:none;
}

#contact-form .one_third, #contact-form .one_third_last {
    margin-bottom: 15px !important;
    padding-bottom: 0 !important;
    width: 100% !important;
}
.thumb-border{
    display: none;
}
/* Gallery
------------------------------------------------------*/
.gallery-item {
    width: 49.9%!important;
}
/* Sidebar 
------------------------------------------------------*/
.page_sidebar {
    border:0px!important;
    padding-right:0!important;
    padding-left:0!important;
}
.page_sidebar:before {
    content: "";
}
/* 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: 300px!important;
    margin-bottom:2.5%!important;
}

#singlepage_nav {
    width:85px;
    float: none !important;
     margin: 15px auto 10px!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;

}
.custom_title h2:before, .custom_title h2:after{
    display: none!important;
}
/* Blog */
span.blog_date{
    width:100%;
    border-right:0;
}
/* Slider */
#ei-slider{
    height:200px!important; 
}
.ei-title h2 {
    font-size: 25px;
    line-height: 100%;
}
 /* 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%;
}

.caption p {
    display: none;
}
.promobox_content h3, .promobox_content h4{
    font-size: 16px;
}
.portfolio_fluid li {
    width: 100%!important;
    margin-bottom: 0.1% !important;
    padding-bottom: 0 !important;
}
/* Woo Commerce */
.woocommerce table.shop_table th, .woocommerce-page table.shop_table th, .woocommerce table.shop_table td, .woocommerce-page table.shop_table td{
    padding: 5px!important;
    font-size: 13px;
}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {

#box_layout, .boxed_header{
    margin: 0 auto;
    width: 480px!important;
}
.container{
    margin: 0 auto;
    width: 460px;
    padding: 30px 10px;
    
}
.item_thumb_gallery , ul.kaya_gallery li{
    width:141px;
}
/* Portfolio
------------------------------------------------------*/
.porfolio_items li, #relatedposts li, .post-column{
    width:98.3%!important;
}
.portfolio_fluid li {
    width: 49.5%!important;
     margin-bottom: 0.1% !important;
    padding-bottom: 0 !important;
}
/* Promobox */
.promobox_content{
  padding:30px 0!important;
  display:block;
}
footer li {
    text-align: left;
}
.portfolio3 li {
    width:15%!important;
}
.ei-slider-large img{
   
   margin-left:0px!important;
}
.ei-title{
    width: 74%;
}
}