/***************************************************************
* Large Desktop *
****************************************************************/


@media (min-width: 1200px) {

    .container,#header_wrap,.top_section_wrap,.title_header_wrap  { width:1200px; }
    .boxed,.boxed.slider_wrap { width:1200px;  }
    .menu_section { width:900px; }

    #world_map {
        height: 0;
        display: none;
    }

    nav.switch ul.sf-menu li:last-child a span { padding:.6em 1em .7em 1em;  }

    .sf-menu>li span.menu_border { display: block; width:112px; height:3px; margin:-4px auto 1px auto; }
    .sf-menu>li span.menu_arrow { display: block; width:112px; height:100px; margin:0 auto -100px; } 
    .sf-menu>li span small.link_icon { height:33px; width:112px; display: block; text-align: center; font-size: 19px; color: #fff; line-height: 33px;  }
    .sf-menu>li span small.link_icon i { display: block; line-height: 55px; }
    .sf-menu>li span small.link_icon i.fa.fa-home { font-size: 22px; }
    .sf-menu>li span.menu_arrow small.arrow_shape { width: 0; height: 0; border-left: 56px solid transparent; border-right: 56px solid transparent;  top:100px; display: block;  }  

    /*Portfolio*/   
    .swm_horizontal_menu.h_responsive li a.active { background:none;  }

}

    /***************************************************************
    * All mobile * @media (max-width: 979px) {
    ****************************************************************/

@media (max-width: 768px) {
    .title_text h1, .title_text h2 {
        text-align: center;
    }
}

@media (max-width: 979px) {
    #gatpostslider {
        display: none;
    }
}

@media (max-width: 1200px) {

    #wide_page section.maps {
        min-width:100%;
        margin: 7px 0;
    }

    /* expand columns to full with */
    .boxed,.boxed.slider_wrap,.container,.title_header_wrap,.top_section,.top_section_wrap,#header_wrap,#header,.full_container,#wide_page {
        width:100%;
    }

    #wide_page section.boxes {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    #wide_page section.boxes ul.services-list-full.boxes4 li, #wide_page section.boxes ul.services-list-full.boxes3 li {
        width: 100%;
    }

    .layout-sidebar-right,.sidebar {
        clear: both;
        float: none;
        width: 100%;
        padding-left: 5px!important;
        padding-right: 5px!important;
    }

    .c_1_3,.c_1_2,.c_1_4,.c_3_4,.c_2_3,.c_1_5,.c_2_5,.c_3_5,.c_2_3_left,.filter_menu,.sort_menu,.custom_2_3 {
        width: 100%!important;
        /*
        margin-left: 5px!important;
        margin-right: 5px!important;
        */
    }

    #sidebar {
        width: 100%;
    }

    #text-4 .wbox {

    }

    .c_830px {
        width: 100%;
        margin-bottom: 17px;
    }

    .c_370px {
        width: 100%;
        padding: 0 1%;
        margin-top:17px;
    }

    .industry_slider  {
        margin: 10px 17px;
        overflow: hidden;
    }

    .testimonial_wrapper .slider_box_meta p {
        width: 96%;
    }

    .map_left,.map_right {
        width: 100%!important;
        margin-right: 0!important;
        display: block;
    }

    .county_map .map_left,.county_map .map_right {
        width: 100%!important;
        margin-right: 0!important;
        display: block;
    }

    nav {
        position: relative;
        float:none;
        display: block;
    }
/*
    nav.mobile_menu {
        float: right;
        position: relative;
        display: block;
        clear: both;
        height: 70px;
        margin: 0 0 0 19px;
    }
*/

    nav.mobile_menu {
        position: relative;
        display: block;
        clear: both;
        height: 70px;
        width: 100%;
    }

    #mobile_nav_button {
        background: rgba(0,0,0,.6)!important;
        transition: all 0.3s ease-out;
    }

    #mobile_nav_button:hover {
        background: rgba(0, 0, 0, 1) !important;
    }

    .search_section {
        position: absolute;
        top: 175px;
        left: 19px;
        border-left:0;
        background: rgba(0,0,0,.6)!important;
        border-bottom:none;
    }

    .search_section:hover {
        background: rgba(0, 0, 0, .8) !important;
    }

    .search_box {
        display: block;
    }

    .smaller .search_box {
        right: inherit;
    }

    #nav { display: none }
    #mobile_nav_button { display: block; }
    ul.mobi-menu.mobile_nav_active {
        display: block !important;
        height: 670px;
        overflow: overlay;
    }

    #header_wrap .social_icons_wrap {
        display:none;
    }

    .testimonial_wrapper .slider_box_meta {
        margin: 0 0 17px 0;
        overflow: hidden;
        padding-left:7px;
    }

    .testimonial_wrapper .slider_box_meta {
        margin: 0;
    }

    .home .callouts {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    #flags {
        height: 30px;
        text-align: center;
        position: relative;
        width: 277px!important;
        margin: auto;
    }

    #flags ul {
        margin:auto;
        display: inline-block;
    }

    #world_map {
        height: 0;
        display: none;
    }

    .map_wrapper {
        padding: 34px 68px;
        height: 400px !important;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: bottom center;
    }

    .mobile_map {
        display: block;
        margin: 27px auto;
        text-align: center;
        width: 100%;
    }

    .mobile_map label {
        display: block;
    }

    .mobile_map select{
        margin: auto;
        width: 70%;
    }
/* TODO: menu bug, not needed
    .smaller .search_section {
        top: 113px;
        left: 19px;
    }
*/
    /* on mobile, swiping could select text instead - this was commented out on 6-16-2016 due to input being broken by it on mobile devices*/
    /* #main_container * {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -o-user-select: none;
        user-select: none;
    }*/

    .infographics {
        padding: 35px;
        margin-top: 15px;
    }

    .side_btn {
        padding: 27px 0;
    }

    .logo_section {
      /*  background: #222C49 url(../images/logo-l.png) center center no-repeat; */
        background: #002664 url(../images/logo-l.png) center center no-repeat;
    }

    .branding_wrap h1 {
        font-size: 17px;
    }

    .strip {
        margin: 27px 0;
    }

    .fact_box.full_center li {
        margin: 17px 0;
        padding: 17px 0;
        width: 49%;
    }

    .fact_box.full_center li  span {
        padding: 7px 0 0 0;
        display: inline-block;
        text-align: center;
        width: 100%;
    }

    .logos_stat li:first-child:before {
        background-position: 0 0;
        height: 10px;
    }

    .logos_stat li {
        width: 50%;
        height: 140px;
    }

    .info_back div {
        padding: 117px 7px;
        text-align: center;
        margin: auto;
        width: 50%;
    }

    .logos_stat li:nth-child(1) {
        background-position: 50% -10px;

    }

    .logos_stat li:nth-child(2) {
        background-position: 50% -170px;
    }

    .logos_stat li:nth-child(3) {
        background-position: 50% -330px;
    }

    .logos_stat li:nth-child(4) {
        background-position: 50% -490px;
    }

    .logos_stat li:nth-child(5) {
        background-position: 50% -650px;
        margin-bottom: 47px;
    }
    .blog_template.bdp_blog_template.spektrum {
        width: 100%;
        height: 300px;
        max-width: 100%;
        max-height: 300px;
    }
    .bdp_blog_template.spektrum img {
        width: 100%;
        max-height: 300px;
    }
    .bdp_blog_template.spektrum .blog_header {
        top: -350px;
        transition: all 1s ease;
    }
    .bdp_blog_template.spektrum .blog_header:hover, .bdp_blog_template.spektrum .blog_header:active, .bdp_blog_template.spektrum .blog_header:focus {
        top: -498px;
    }
    #upslider {
        padding-top: 300px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 979px) {
    .blog_template.bdp_blog_template.spektrum {
        width: 100%;
        height: 250px;
        max-width: 100%;
        max-height: 250px;
    }
    .bdp_blog_template.spektrum img {
        width: 100%;
        max-height: 250px;
    }
    .bdp_blog_template.spektrum .blog_header {
        top: -250px;
        transition: all 1s ease;
    }
    .bdp_blog_template.spektrum .blog_header:hover, .bdp_blog_template.spektrum .blog_header:active, .bdp_blog_template.spektrum .blog_header:focus {
        top: -395px;
    }
    #upslider {
        padding-top: 200px;
    }
    .bdp_blog_template.spektrum .blog_header h1 {
        font-size: 1.5em;
    }
    .bdp_blog_template.spektrum .post_content {
        font-size: 1em;
        height: 90px;
    }
    .bdp_blog_template.spektrum .post-bottom span {
        font-size: .7em !important;
    }
}

/***************************************************************
* Tablet Portrait * @media only screen and (min-width: 768px) and (max-width: 979px  1024) {
****************************************************************/

@media only screen and (min-width: 768px) and (max-width: 1200px) {

    .container, #header_wrap, .top_section_wrap, .title_header_wrap {
        width: 100%;
        margin: 0 auto;
        display: block;
        height: 100%;
    }

    .top_bar {
        width: 100%;
    }

    #header_top {
        /* height: 262px; */
        height: 118px;
        background: #B93A43;
    }

    .home #header_top {
        height: 0;
    }

    #header {
        width:768px;
        width: 100%;
    }

    .boxed,.boxed.slider_wrap {
        width:768px;
        width: 100%;
    }
    .menu_section { width:389px; max-height: 80px;}
    .swm_row .column3,.swm_row .column4,.swm_row .column5,.swm_row .column6 { width:50%; }

    .boxed.slider_wrap,.container,.title_header_wrap,.top_section {
        width:100%;
    }
    .boxed { width:auto; }

    .logo_section {
        float:none;
        display: block;
        width:100%;
    }
    .menu_section {
        /* width:301px; */
        width: 100%;
        float:none;
        clear:both;
        border:0;
        border-left:1px dashed rgba(255,255,255,0.1);
        border-right:1px dashed rgba(255,255,255,0.1);
    }

    .swm_breadcrumbs { display: none; }
    .heading_bg { opacity: 1; }
    .title_section_block { width:100%; text-align: center; }

    .top_bar_nav { width:200px;  }

    .small_footer .footer_left,.small_footer .footer_right { text-align: center; }
    .small_footer ul { margin-top: 10px; }
    .small_footer ul li { padding: 4px 0; display: block; }

    span.post_arrow { display: none; }
    .swm_post_date.no_PF { margin-top:0; }
    .swm_post_date { width:110px; display: block; float:none; }
    .p_date { width: 70px; height:30px; display: inline-block; float:left; }
    .p_day, .p_month { display: inline;  font-size: 12px; padding:0; line-height: 30px; }
    .p_day { margin-right: 5px; }
    .container .p_comments a { width:30px; height: 30px; display: inline-block; line-height: 30px; font-size: 12px;  }
    .p_comment_arrow {  border-width: 0 9px 11px 0; margin-right: 10px; margin-top: -1px; }

    .swm_row {  margin:0;  }
    .column_gap { margin:0 0 20px; padding:0; }
    .swm_row .column1,.swm_row .column2,.swm_row .column3,.swm_row .column4,.swm_row .column5,.swm_row .column6,
    .layout-sidebar-left .swm_row .column2,.layout-sidebar-left .swm_row .column3,.layout-sidebar-left .swm_row .column4,
    .layout-sidebar-right .swm_row .column2,.layout-sidebar-right .swm_row .column3,.layout-sidebar-right .swm_row .column4 { width:100%; }

    .layout-full-width.swm_infinite_scroll_style .infiniteScroll_loader { bottom:-12px; }

    /*Shortcodes*/
    .pricing_box,.border_left .pricing_box,.border_right .pricing_box { border-radius:5px; }
    .pricing_title,.border_left .pricing_title,.border_right .pricing_title { border-radius: 5px 5px 0 0; }
    .mid_table.pt_2,  .mid_table.pt_3, .home_table.pt_3 { width:100%; }
    .mid_table.special_plan { margin: 20px 0 10px 0; }
    .mid_table,.home_table { margin: 0 0 30px 0; }

    .swm_tabs ul.tab-nav li,.swm_tabs ul.tab-nav,.swm_tabs .swm_tab,.swm_tabs.tabs_vertical ul,.swm_tabs.tabs_vertical .swm_tab,.swm_tabs.tabs_vertical ul.tab-nav { width:100%; float:none; display: block; margin:0 0 5px 0; clear:both; }
    .swm_tabs ul.tab-nav,.swm_tabs ul.tab-nav li:last-child,.swm_tabs.tabs_vertical ul li:last-child { margin-bottom:0; }


    .tiles li:nth-child(even) {
        margin-left: 0;
    }

    .data_btn {
        clear: both;
        margin: 7px auto;
        display: block;
    }

    .social_share {
        width: 240px;
        overflow: hidden;
        padding-right: 0;
        margin: auto;
    }

    .social_share ul  {

    }

    .social_share ul li {
        padding: 0 1px;
        margin:0 1px;
    }

    .dir-wrap .tiles li {
        width: 40%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .promotion_box_wrapper {
        margin-left: 7px;
        margin-right: 7px;
    }

    .full_panel {
        width: 100%;
    }

    .full_panel .panel {
        width: 48%;
        height: 210px;
        margin: 7px 1% 7px 1%;
    }

    .tiles.full_panel li {
        width: 48%;
        margin: 7px 1% 7px 1%;
    }
}

/***************************************************************
* Mobile Portrait to Tablet Portrait *  needs to have a min
****************************************************************/
/*
/* enabling this causes problems
@media only screen and (max-width: 979px) { 

    #header {
        position: relative;
    }
    #header_wrap,.top_section_wrap {
        width:auto;
        max-width: 979px;

    }

    .top_bar_nav { display: table; width:300px; height:80px; margin-left: 8px; clear:both; }
    .top_bar_nav ul { display: table-cell; width: 100%; height: 100%; vertical-align: middle; float:none;  }
    .top_bar_nav ul li { display:inline-block; margin-right: 10px;}
    .top_bar_nav ul li a {  line-height: 20px; }

    .small_footer .footer_left,.small_footer .footer_right { display: block; text-align: left; width:100%; margin:0 auto; float:none; padding-left: 20px; }
    .small_footer ul { margin-top: 5px; }
    .small_footer ul li:first-child { padding-left:0; }

    .column { float:none; clear:both; margin-left:0; margin-bottom: 30px;  }

    .swm_one_full,.swm_c_1_2,.c_1_3,.swm_one_fourth,.swm_one_fifth,.swm_one_sixth,.c_2_3,.swm_three_fourth,.swm_four_fifth,.swm_five_sixth,.swm_custom_two_third,.one_full,.c_1_2,.one_third,.one_fourth,.one_fifth,.one_sixth,.two_third,.three_fourth,.four_fifth,.five_sixth,#sidebar { width: 100%; }

    .swm_promotion_box .right { display: block; float:none; clear: both; }
    .swm_promotion_box .sub_title { margin:15px 0; }

}
*/

/***************************************************************
* Mobile Portrait *  NEEDS TO HAVE A MIN!!!!
****************************************************************/

@media only screen and (max-width: 767px) {  

    .boxed,.boxed.slider_wrap,.container,.title_header_wrap,.top_section,.top_section_wrap,#header_wrap,.map_left,.map_right {
        width:100%;
    }

    #header_wrap {
        height: 227px;
        background-color: #222945;
    }

    .logo_section {
        float:none;
        display: block;
        width:100%;
    }
    .menu_section {
        /* width:301px; */
        width: 100%;
        float:none;
        clear:both;
        border:0;
        border-left:1px dashed rgba(255,255,255,0.1);
        border-right:1px dashed rgba(255,255,255,0.1);
    }

    .heading_bg { opacity: 1; } 
    .title_section_block { width:100%; text-align: center; }  

    .top_bar_nav { width:200px;  }     

    .small_footer .footer_left,.small_footer .footer_right { text-align: center; }
    .small_footer ul { margin-top: 10px; }
    .small_footer ul li { padding: 4px 0; display: block; }

    span.post_arrow { display: none; }
    .swm_post_date.no_PF { margin-top:0; }
    .swm_post_date { width:110px; display: block; float:none; }
    .p_date { width: 70px; height:30px; display: inline-block; float:left; }
    .p_day, .p_month { display: inline;  font-size: 12px; padding:0; line-height: 30px; }
    .p_day { margin-right: 5px; }
    .container .p_comments a { width:30px; height: 30px; display: inline-block; line-height: 30px; font-size: 12px;  }
    .p_comment_arrow {  border-width: 0 9px 11px 0; margin-right: 10px; margin-top: -1px; }    

    .swm_row {  margin:0;  }
    .column_gap { margin:0 0 20px; padding:0; }
    .swm_row .column1,.swm_row .column2,.swm_row .column3,.swm_row .column4,.swm_row .column5,.swm_row .column6,
    .layout-sidebar-left .swm_row .column2,.layout-sidebar-left .swm_row .column3,.layout-sidebar-left .swm_row .column4,
    .layout-sidebar-right .swm_row .column2,.layout-sidebar-right .swm_row .column3,.layout-sidebar-right .swm_row .column4 { width:100%; }

    .layout-full-width.swm_infinite_scroll_style .infiniteScroll_loader { bottom:-12px; }

    /*Shortcodes*/
    .pricing_box,.border_left .pricing_box,.border_right .pricing_box { border-radius:5px; }
    .pricing_title,.border_left .pricing_title,.border_right .pricing_title { border-radius: 5px 5px 0 0; }
     .mid_table.pt_2,  .mid_table.pt_3, .mid_table.pt_4 { width:100%; }
     .mid_table.special_plan { margin: 20px 0 10px 0; }
     .mid_table { margin: 0 0 30px 0; }

    .swm_tabs ul.tab-nav li,.swm_tabs ul.tab-nav,.swm_tabs .swm_tab,.swm_tabs.tabs_vertical ul,.swm_tabs.tabs_vertical .swm_tab,.swm_tabs.tabs_vertical ul.tab-nav { width:100%; float:none; display: block; margin:0 0 5px 0; clear:both; }    
    .swm_tabs ul.tab-nav,.swm_tabs ul.tab-nav li:last-child,.swm_tabs.tabs_vertical ul li:last-child { margin-bottom:0; }


    .tiles li:nth-child(even) {
         margin-left: 0;
    }

    .home_tabnle.pt_3 {
        margin-bottom: 47px;
    }

    /* custom datatables for under 768 */
    .dataTables_wrapper {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 27px;
    }
    /*
   #results:after {
       content:"Scroll horizontally for entire table.";
   }
*/
    .data_btn {
        clear: both;
        margin: 7px auto;
        display: block;
    }

    .file_table .top_box {
        overflow: auto;
    }

    .promotion_box {
        padding: 10px;
    }

    .promotion_box .left,.promotion_box .right {
        margin:auto;
        text-align: center;
        display: block;
        width: 100%!important;
    }

    .promotion_box .left,.promotion_box .right .swm_button {
        margin-bottom: 17px;
    }

    .services h2 {
        padding-top:10px;
    }

    .services .rm {
        margin-top:0;
        margin-bottom: 17px;
    }

    .services .p {
        margin-bottom: 0;
        padding-bottom: 1px;
    }

    .container {
        width: 100%;
        padding-left: 7px;
        padding-right: 7px;
    }

    .ajax_search {
        margin: 0 0 7px 0!important;
    }

    #home_tables {
        padding: 7px 0;
    }

    .mid_table {
        margin: 7px 0;
    }

    .promotion_box_wrapper {
        margin-left:7px;
        margin-right: 7px;
    }

    .social_share ul {
        margin:auto;
        display: inline-block;
    }

    .home_map_wrapper,.full.sub_title {
        display: none;
    }

    .u_box_wrapper,.u_box_wrapper ul {
        width: 100%;

    }

    .u_box_wrapper ul li {
        float: none;
        display: block;
        margin: auto;
    }

    .logo_strip {
        overflow-x: auto;
        overflow-y: hidden;
        background: transparent url(/wp-content/themes/business2015/images/swipe.png) center 88% no-repeat!important;
        width: 100%;
    }

    .home .logo_strip ul {
        width: 2000px;
        margin: auto;
    }

    .home_banner .logos li {
        margin: 0 17px;
    }

    .home_wrapper .recent_posts_square_posts {
        padding-right: 0;
        margin: 27px 0;
    }

    .post_date {
        width: 50px;
    }

    .fact_box.full_center li {
        margin: 17px 0;
        padding: 17px 0;
        width: 100%;
    }

    .library_search input[type='text'] {
        width: 100%;
    }

    .full_panel {
        width: 98%;
        padding: 0 5px;
    }

    .full_panel .panel {
        float: none;
        width: 100% !important;
        clear: both;
        height: 210px;
        margin: 7px;
    }

    .tiles.full_panel li {
        width: 100%!important;
    }

}


/***************************************************************
* Mobile Landscape * 480 - 767
****************************************************************/

@media only screen and (min-width: 480px) and (max-width: 767px) {

   .boxed.slider_wrap,.title_header_wrap,.logo_section,.menu_section,.top_section,.top_bar_nav {
       width:470px;
   }

    .dir-wrap {
        width:480px!important;
        margin: auto;
    }

    .cw-wrap ul li  {
        float: none;
        width: 100px;
    }

    .large_footer .column {
        text-align: center;
        margin: auto;
    }

    .services article{
        width: 100%;
        float: left;
        position: relative;
        margin: 0 0 2% 2%;
        text-align: center;
    }

    .parallax section{
        min-height: 300px;
    }
    ul.mobi-menu.mobile_nav_active { width: 100% }
    .blog_template.bdp_blog_template.spektrum {
        width: 100%;
        height: 200px;
        max-width: 100%;
        max-height: 200px;
    }
    .bdp_blog_template.spektrum img {
        width: 100%;
        max-height: 200px;
    }
    .bdp_blog_template.spektrum .blog_header {
        top: -200px;
        transition: all 1s ease;
    }
    .bdp_blog_template.spektrum .blog_header:hover, .bdp_blog_template.spektrum .blog_header:active, .bdp_blog_template.spektrum .blog_header:focus {
        top: -350px;
    }
    #upslider {
        padding-top: 150px;
    }
    .bdp_blog_template.spektrum .blog_header h1 {
        font-size: 1.2em;
        line-height: 1.2em;
    }
    .bdp_blog_template.spektrum .post_content {
        font-size: .85em !important;
        line-height: 1.2em;
        height: 100px;
    }
    .bdp_blog_template.spektrum .post-bottom {
        padding: 1px 15px;
        margin-top: -5px;
        height: 80px;
    }
    .bdp_blog_template.spektrum .post-bottom span {
        font-size: .6em !important;
    }
}

@media only screen and (min-width: 300px) and (max-width: 600px) {
    .blog_template.bdp_blog_template.spektrum {
        width: 100%;
        height: 300px;
        max-width: 100%;
        max-height: 300px;
    }

    .bdp_blog_template.spektrum img {
        width: 100%;
        max-height: 100px;
    }

    .bdp_blog_template.spektrum .blog_header {
        top: -250px;
    }

    .bdp_blog_template.spektrum .blog_header:hover, .bdp_blog_template.spektrum .blog_header:active, .bdp_blog_template.spektrum .blog_header:focus {
        top: -250px;
    }
    #upslider {
        padding-top: 250px;
    }
}
.map_wrapper {
    padding: 17px;
}

/***************************************************************
* Mobile Portrait ADDED!!! * 120 - 479
****************************************************************/

@media only screen and (min-width: 120px) and (max-width: 479px) {

    #wpadminbar {
        top: -46px;
    }

    .container, #header_wrap, .top_section_wrap, .title_header_wrap {
        width: 100%;
        margin: 0 auto;
        display: block;
        height: 100%;
    }
    #header_wrap {
        background-color: #222945;
    }
    #header {
        width: 100%;
    }

    #header_top {
        height: 229px;
    }

    .boxed { width:auto; }

    .logo_section {
        float:none;
        display: block;
        /* width:301px; */
    }

    .menu_section {
        /* width:301px; */
        width: 100%;
        float:none;
        clear:both;
        border:0;
        border-radius:0;
    }

    .transparent_bg {
        border-radius:0;
    }

    .print {
        display: none!important;
    }

    /* custom/responsive */
    .dir_wrap {
        width:320px!important;
        margin: auto;
    }

    .cw-wrap ul li  {
        float: none;
        width: 100px;
    }

    .large_footer .column {
        text-align: center;
        margin: auto;
    }

    .services article{
        width: 100%;
        float: left;
        position: relative;
        margin: 0 0 2% 2%;
        text-align: center;
    }

    /* library */
    .file_table .dataTable #file_custom_cf1 {
        display: none;
    }

    .file_table .dataTable #file_size {
        display: none;
    }

    .file_table .dataTable #file_date {
        display: none;
    }

    .file_table .dataTable tr td:nth-child(2n+2) {
        display: none;
    }

    .file_table .dataTable tr td:nth-child(3n+3) {
        display: none;
    }

    .file_table .dataTable tr td {
        text-align: center;
    }

    .file_table .dataTable .tt {
        float: none;
        margin: auto;
    }

    .file_table .dataTable .tr {
        margin: auto;
        float: none;
    }

    .tiles li {
        width: 100%;
    }

    /* small top menu */
    #fixed_menu .container_inner {
        width: 100%;
    }

    nav.content_menu {
        position: fixed!important;
        bottom: 0!important;
        padding: 0;
        margin: 0;
        z-index: 1001;
        height: 40px;
    }

    nav.content_menu ul {
        width: 100%;
    }

    /*
    nav.content_menu ul li:not(.active) {
        display: none;
        width: 0;
        transform:translate(0,-2000px);
    }

    nav.content_menu ul li .active {
        transform:translate(0,0);
    }
*/

    nav.content_menu i {
        display: block;
        font-size: 20px;
    }

    nav.content_menu span {
        display: none;
    }

    .home_box {
        margin: 17px 0;
        padding: 7px;
    }

    .fact_box li {
        display: block;
        width: 100%;
    }

    .fact_box li h4 {
        font-size: 14px;
        line-height: 25px;
    }


    .fact_box li span {
        font-size: 13px;
    }

    .county_map {
        display: none;
    }

    .home .callouts {
        margin: 17px auto 0;
        padding: 17px 0 0;
    }

    /* drop down instead of svg map on home page */
    .home .mobile_map {
        display: block;
        margin: 27px auto;
        text-align: center;
        width: 100%;
    }

    .home .mobile_map label {
        display: block;
    }

    .home .mobile_map select{
        margin: auto;
        width: 70%;
    }

    .follow_wrapper {
        margin: 3px 0 7px 0;
    }

    .footer_widget h3 {
        margin-bottom: 10px;
    }

    .sidebar .tp_recent_tweets ul li, .footer .tp_recent_tweets ul li {
        margin-left: 5px;
    }

    .full_box .c_1_2 {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .infographics {
        padding: 10px;
        margin-top: 5px;
    }

    .testimonial_box .project_left,.testimonial_box .project_right  {
        width: 100%;
    }

    .logos_stat li {
        width: 100%;
        height: 140px;
    }

    .info_back div {
        padding: 117px 7px;
        text-align: center;
        margin: auto;
        width: 100%;
    }
    ul.mobi-menu.mobile_nav_active { width: 100% }

    .fancybox-skin {
        padding: 5px!important;
    }

    .fancybox-inner h3 {
        padding: 7px!important;
    }
    /* For GAT page wboxes */

    #imagewidget {
        display: block;
        width: auto%;
        margin-left: 0 !important;
        padding: 0;
    }
    #imagewidget > div {
        margin: 5px;
        left: 0;
    }
    
    .pad {
        margin:0 17px;
    }
    
    #blog-main-section {
        padding: 0 5px;
    }
    .bdp_blog_template.spektrum .blog_header h1 {
        font-size: 1em;
    }
    .bdp_blog_template.spektrum .post_content {
        font-size: .85em !important;
        line-height: 1em;
        height: 100px;
    }
    .bdp_blog_template.spektrum .post-bottom {
        padding: 1px 15px;
        margin-top: -5px;
        height: 80px;
    }
    .bdp_blog_template.spektrum .post-bottom span {
        font-size: .7em !important;
    }
    .blog_template.bdp_blog_template.spektrum {
        width: 100%;
        height: 150px;
        max-width: 100%;
        max-height: 150px;
    }

    .bdp_blog_template.spektrum .blog_header {
        top: 0px;
    }

    .bdp_blog_template.spektrum .blog_header:hover, .bdp_blog_template.spektrum .blog_header:active, .bdp_blog_template.spektrum .blog_header:focus {
        top: 0px;
    }
    #upslider {
        padding-top: 0px;
    }
}


/***************************************************************
* Sticky Header * NEEDS MIN WIDTH @media only screen and (min-width: 980px) {
****************************************************************/

@media only screen and (min-width: 980px) {

    /* Scroll sticky menu styles */
    #header.header.smaller { position: fixed; }
    .header.smaller .top_bar { height:0; opacity: 0; }
    .header.smaller .sf-menu li span.menu_arrow { opacity: 0; }

    .header.smaller .search_section { display: none; }
    .header.smaller .logo_section { background: #122135 url(../images/logo-s.png) center center no-repeat; }

    .header.smaller .logo_section a { height:60px; }
    .header.smaller .sf-menu > li,.header.smaller .sf-menu li > a { height:58px; line-height: 58px; font-size: 14px; }
    .header.smaller ul.sf-menu { border-top:0; }
    .header.smaller .sf-menu li ul li,.header.smaller .sf-menu li ul li a { width: 227px; height:auto; line-height: normal;  }
}

/***************************************************************
* Top Navigation *  ???  @media only screen and (min-width: 980px) and (max-width: 1199px) {
****************************************************************/

@media only screen and (min-width: 980px) and (max-width: 1199px) {
    .sf-menu>li span.menu_border { display: block; width:85px; height:3px; margin:-4px auto 1px auto; }
    .sf-menu>li span.menu_arrow { display: block; width:85px; height:60px; margin:0 auto -60px; } 
    .sf-menu>li span small.link_icon { height:27px; width:85px; display: block; text-align: center; font-size: 16px; color: #fff; line-height: 33px;  }
    .sf-menu>li span small.link_icon i { display: block; line-height: 43px; }
    .sf-menu>li span small.link_icon i.fa.fa-home { font-size: 19px; }
    .sf-menu>li span.menu_arrow small.arrow_shape { width: 0; height: 0; border-left: 42px solid transparent; border-right: 42px solid transparent;  top:60px; display: block; }
}

@media only screen and (max-width: 480px){
    .parallax section{
        min-height: 300px;
    }


    .bl {
        display: none;
    }

    .bm {
        padding: 3px;
        width: 100%;
        text-align: center;
    }

    .br {
        display: none;
    }
    .footer .tp_recent_tweets ul li:before {
        display: none;
    }
}


@media only screen and (min-width: 1450px){

    .pie_graf_legend ul li p,
    .line_graf_legend ul li p {
        font-family: "Oswald", sans-serif;
        font-size: 13px;
        line-height: 25px;
    }

    .map_right ul li {
        padding: 6px 5px 6px 1px;
    }
}

@media only screen and (max-width: 1200px) {

    .mega-menu.mega-menu-horizontal {
        background: #002664 !important;
    }
    .header .search_section { display: none; }
}