@media screen and (min-width: 1023px) and (max-width: 1246px) {
    .top-nav a span.sub-arrow{
        display: block;
    }
    .container{
        width:100%;
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* Global column layout width 100%  =================================*/    
    .container{
        width:90%;
        padding:0px; 
    }
    #kaya-page-content-wrapper{
        width: auto;
        margin: 0px auto;
    }
    #kaya-header-content-wrapper{
       padding: 25px 0;
    }
    .mobile_toggle_menu_icons {
        float: right;
    }
    #mid-content{
        padding: 30px 0;
    }
    #logo a {
        float: left;
    }
    .header_right_section {
        float: left;
        margin-top: 30px;
    }
    .mobile_toggle_menu_icons {
        float: right;
    }
    #main-menu {
        display: none;
    }
    #header-navigation .container{
        width: 100%;
    }
    #nav-user-dashboard-menu:hover #user-dashboard-menu{
        width: 100%;
    }  
    .taxonomy-content-wrapper .column1,
    .taxonomy-content-wrapper .column2,
    .taxonomy-content-wrapper .column3,
    .taxonomy-content-wrapper .column4,
    .taxonomy-content-wrapper .column5,
    .taxonomy-content-wrapper .column6 {
        width:31.87% !important;
        float: left;
        margin-bottom: 1.5%;
        margin-right: 1.5%;
    }
    .single-pet .container .two_third{
        width: 100%;
    }
    .single-pet .container .one_third_last{
        width: 100%;
        float: left;
    }
    .top-nav a span.sub-arrow{
        display: block;
    }
    .menu ul li a{
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    #header-navigation ul li a{
        border-right: none!important;
    }
    #main-nav {
        text-align: inherit;
        display: block;
        margin: 0;
    }
    .menu ul li a{
        border-right: none;
        border-bottom:1px solid rgba(255, 255, 255, 0.1);
    }
    .single_page {
        margin-bottom: 40px;
        display: table;
    }
    .pagination {
        margin-bottom: 30px;
    }
    #header-navigation ul li ul li a {
        padding-left: 40px;
    }
    .column-extra {
        width: 100%;
    }
    .nav-previous{
        margin-bottom: 20px;
    }
    input[type="search"]{
        width: 57%;
    }
    #nav-user-dashboard-menu{
        width: 100%!important;
    }
}
@media only screen and (max-width: 767px) {
    .one_half,
    .one_half_last,
    .one_fourth,
    .one_fourth_last,
    .footer_widgets .one_fourth,
    .footer_widgets .one_fourth_last,
    .two_third,
    .one_third,
    .one_third_last,
    .one_fifth,
    .four_fifth_last,
    .three_fourth,
    .three_fourth_last,
    .header_menu_section,
    .woocommerce div.product div.images,
    .fm-form li,
    #setcard .one_third,
    .two_third_last, #kaya-header-content-wrapper #logo, #kaya-header-content-wrapper #header-navigation,
    .column2, .column3, .column4, .column5, .column6, .column7, .column8, .column9, 
    .video_iframes2 iframe, .video_iframes3 iframe, .video_iframes4 iframe
    {
        width: 100%!important;
        margin: 0px;
        float: none;
        clear: both;
    }
    .gallery-columns-2 .gallery-item, .gallery-columns-3 .gallery-item, .gallery-columns-4 
    .gallery-item, .gallery-columns-5 .gallery-item, .gallery-columns-6 .gallery-item, .gallery-columns-7 .gallery-item, 
    .gallery-columns-8 .gallery-item, .gallery-columns-9 .gallery-item {
        max-width: 100%;
    }
    #main-menu{
      display: none;
    }
    .mobile_toggle_menu_icons {
        float: right;
        margin-left:25px;
        margin-top: 7px;
    }
    #nav-user-dashboard-menu,
    #user-dashboard-menu{
        width: 100%!important;
    }
    .header-top-nav .one_half {
        float: left;
        width:49%!important;
        clear:inherit!important;
    }
    .header-top-nav .one_half_last {
        float: right;
        width:49%!important;
        clear:inherit!important;
    }
    .container{
        width: 90%;
        padding: 0px;
    }
    #main-nav {
        text-align: inherit;
        display: block;
        margin: 0;
        width: 100%!important;
    }
    #header-navigation .container{
        width: 100%;
    }
    #kaya-page-content-wrapper{
        width: auto;
        margin: 0px auto;
    }
    div#logo {
        float: inherit !important;
        text-align: center;
    }
    #mid-content{
        padding: 30px 0;
    }
    .header-right-section {
        float: inherit;
        margin: 0px auto;
        display: table;
        padding-top: 20px;
    }
    .header-right-section .toggle_search_wrap, .shortlist-align{
        font-size:13px; 
    }
    .menu ul li a{
        border-right: none;
        border-bottom:1px solid rgba(255, 255, 255, 0.1);
    }
    ul.sub-menu li {
        width: inherit!important;
    }
    #header-navigation ul ul{
        width: 100%!important;
    }
    #header-navigation ul li a{
        border-right: none!important;
    }
    .kaya_toggle_search{
        width:280px!important;
        right: -29px;
    }
    #sidebar{
        padding:0px;
    }    
    footer, .footer-menu-wrapper ul{
        text-align: center;
    }
    img.single_page_img {
        width: 100%;
    }
    .single_page_details {
        width: 100%;
        float: left;
    }
    .single_page .general-meta-fields-info-wrapper,
    .single_page .single_page_details h3 {
        margin-left: 0;
    }
    .taxonomy-content-wrapper .column1,
    .taxonomy-content-wrapper .column2,
    .taxonomy-content-wrapper .column3,
    .taxonomy-content-wrapper .column4,
    .taxonomy-content-wrapper .column5,
    .taxonomy-content-wrapper .column6 {
        margin-bottom: 1.5%;
    }
    .uwpqsf_class, #cmf-select0, #cmf-select1 {
        width:100%;
    }
    .top-nav a span.sub-arrow{
        display: block;
    }
    .column-extra {
        width: 100%;
    }
    .single_page {
        margin-bottom: 30px;
        display: table;
    }
    #header-navigation ul li ul li a {
        padding-left: 40px;
    }
    .pagination {
        margin-bottom: 30px;
    }
    .nav-previous{
        margin-bottom: 20px;
    } 
    input[type="search"]{
        width: 60%;
    }
    ul.sub-menu li{
        width: 100%!important;
    }
    .toggle_search_wrap{
        float: left;
    }
    h1 {
        font-size: 25px !important;
        line-height: 35px !important;
    }    
}
@media screen and (min-width: 600px) and (max-width: 758px) {

    .taxonomy-content-wrapper .column4{
        width: 40%;
        float: left;
    }
    .header-top-nav .one_half {
        float: left;
        width:49%!important;
        clear:inherit!important;
    }
    .header-top-nav .one_half_last {
        float: right;
        width:49%!important;
        clear:inherit!important;
    }
    .taxonomy-content-wrapper .column1,
    .taxonomy-content-wrapper .column2,
    .taxonomy-content-wrapper .column3,
    .taxonomy-content-wrapper .column4,
    .taxonomy-content-wrapper .column5,
    .taxonomy-content-wrapper .column6 {
        width: 48.5% !important;
        float: left;
        margin-bottom: 1.5%;
        margin-right: 1.5%;
    }
    .top-nav a span.sub-arrow{
        display: block;
    }
    .menu ul li a{
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    #header-navigation ul li a{
        border-right: none;
    }
    .column-extra {
        width: 100%;
    }
    .nav-previous{
        margin-bottom: 20px;
    }
    input[type="search"]{
        width: 60%;
    }
    ul.sub-menu li{
        width: 100%!important;
    }       
}
@media only screen and (max-width: 326px) {
    
    .header-top-nav .one_half, .header-top-nav .one_half_last {
        float: inherit;
        width: 100%!important;
        clear: inherit!important;
        margin: 0px auto;
        display: table;
        text-align: center;
    }
    .header-top-nav-social-icons {
        float: inherit;
    }
    .top_bar_right_section {
        float: left;
    }
    .header-right-section {
        float: left;
        margin-top: 20px;
    }
    #nav-user-dashboard-menu {
        position: relative;
        float: inherit;
        display: table;
        margin: 0px auto;
    }
    #user-dashboard-menu {
        left: 0!important;
        right: inherit !important;
    }
    #user-dashboard-menu a{
        text-align: left;
    }
    .top_bar_right_section ul li{
        border-left: none!important;
    }
    .header-top-nav ul{
       margin: 0px;
    }
    .top_bar_right_section ul li {
        padding: 6px 5px;
    }
    #header-navigation ul li a{
        border-right: none!important;
    }
    .column-extra {
        width: 100%;
    }
    .kaya_toggle_search {
        width: 280px!important;
        right: -50px;
    }
    .nav-previous{
        margin-bottom: 20px;
    }
    .kaya-post-content-wrapper .column-extra li.column4,
    .kaya-post-content-wrapper .column-extra li.column3,
    .kaya-post-content-wrapper .column-extra li.column2,
    .kaya-post-content-wrapper .column-extra li.column1{
        margin-bottom: 3%;
    }
    input[type="search"]{
        width: 60%;
    }
    .toggle_search{
        margin-left: 6px;
    }  
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .header-right-section {
        float: left;
        padding-left: 60px;
    }
    .mobile_toggle_menu_icons {
        position: absolute;
        right: 0;
        margin-top: 7px;
    }
    #main-nav {
        text-align: inherit;
        display: block;
        margin: 0;
        width: 100%!important;
    }
}
