/* Large desktop */
@media (min-width: 1200px) { ... }
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    .btn {
        line-height: 34px;
        border-radius: 0;
        padding: 0px 20px;
    }
    .site-header .sidebar-header{
        width: 100%;
        /*padding-top: 40px;*/
    }

    .navbar-header {
        float: none;
        line-height: 1em;
        text-align: center;
    }
    
    .site-header .navbar-brand {
        clear: both;
        display: inline-table;
        float: none;
        font-size: 18px;
        line-height: 1em;
        margin-bottom: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: -90px;
        padding: 0;
    }

    .navbar-collapse.collapse .navbar-nav{
        width: 100%;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .navbar-collapse.collapse .navbar-nav > li{ display: inline-block; float: none;}
    .page-header{ margin-bottom: 60px; }
    
    #searchform .field { width: 140px; }
    .page-section { padding: 26px 0; }
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

    .page-section { padding: 16px 0; }
    .cta-section{ padding: 10px 0;}
    .lead {
        font-size: 16px;
        font-weight: normal;
        line-height: 18px;
    }
    
    .sidebar-header{ 
        background: #343434 none repeat scroll 0 0;
        height: 30px;
        margin: 0 -10px;
        padding: 0 30px 0 0 !important;
    }
    .sidebar-header .social-network{ margin:0; float: left!important;}
    .sidebar-header .social-network li{ float: left;}
    .sidebar-header .social-network li a{
       background: transparent none repeat scroll 0 0;
       border-radius: 0;
       color: #ffffff !important;
       display: block;
       font-size: 14px !important;
       height: 30px;
       line-height: 30px !important;
       margin-right: 1px;
       text-align: center;
       width: 32px;
   }
   .sidebar-header .nav-user{ margin:0!important; float: right; padding-right: 0px; }
   .sidebar-header .nav-user li{ padding:0;}
   .sidebar-header .nav-user li a{
    border-radius: 0;
    padding: 0 10px !important;
}

.navbar-header{  width: 100%; float: left; }

.site-header .navbar-brand { 
    display: block;
    float: left;
    font-size: 18px;
    line-height: 40px;
    padding: 5px 0 5px;
}
.site-header .navbar-brand img{
    max-height: 80px;
}

.navbar-default .navbar-collapse, 
.navbar-default .navbar-form {
    border-color: #e7e7e7;
    float: left;
    width: 100%;
}

.navbar-default{ position: absolute; }

.is-sticky .site-header{ position: absolute!important; }
.is-sticky .navbar-default{ background: #fff; }

.navbar-collapse {
    border-top: medium none;
    box-shadow: none;
    max-height: 100%;
    overflow-x: visible;
}
.navbar-collapse.in {
    overflow-y: visible;
    margin-top: -10px;
}
.navbar-default .navbar-nav{ padding-bottom: 15px;}
.navbar-default .navbar-nav > li > a,
.navbar-collapse.in .navbar-nav > li > a {
    line-height: 30px;
    padding: 5px 10px;
    text-align: center;
    display: block;
    border:none;
}
.dropdown-menu{
    background-color: #fff;
    border: medium none;
    position: relative;
    box-shadow: none;
    text-align: center;
    width: 100%; 
    margin:0!important;
}
.dropdown-menu li{}
.dropdown-menu li a{ display: block; line-height: 40px;}


.site-header{ height: 120px; }
.sliderarea{ height:350px;}
.sliderarea .bx-wrapper .bx-viewport{ height:350px; }
.custom-slideshows > .slide{ height:350px; }
.custom-slideshows > .slide .slide-content{ padding: 0px 0px 0; }
.custom-slideshows > .slide .slide-info{ padding:0 10px; height:auto; }
.custom-slideshows > .slide .slide-info h1{ font-size: 26px; line-height: 26px; margin-bottom: 14px; }
.custom-slideshows > .slide .slide-info .lead { font-size: 18px; }
.site-header-image-bg{     height: 100px!important; }
.home .site-header-image-bg{ height:350px!important; }



.page-header {
   border-bottom: medium none;
   height: 80px;
   margin-bottom: 0;
   margin-top: -80px;
   padding-bottom: 0;
   padding-top: 21px;
   text-align: center;
}

.home .featured-fullscreen {

    text-align: center;
}
.bx-pager.bx-default-pager{ left:0; right: 0; }

.page-template-contact-us .site-main{ margin-bottom: 20px; }

.welcome-section{
    padding:26px 10px 10px 10px;
}

.featured-list {
    text-align: center;
    margin-bottom: 20px;
}

#content{
    padding: 20px 10px;
    border-bottom: 10px solid rgb(244, 244, 244);
    margin-bottom: 40px;
}

.page #content{ margin:0; border:none; }

.service-section{ padding: 30px 0px; }

.cta-container { padding: 0 0px; }

.custom-masonry .post-grid .thumbnail{ margin:0 -10px;}

.front-content { padding: 20px 0 }

#custom-clients{ text-align: center; }

#sidebar {  margin: 0;}

.sidebar-page{ padding:10px; }

#footer-sidebar { padding-top: 40px; padding-bottom: 20px; }

#testimonials{ /*padding:30px 0;*/}

#slider-testimonials > .testimonial .text {
    /*font-size: 18px;
    line-height: 24px;*/
    margin-bottom: 20px;
    padding: 0 20px;
    position: relative;
}

.site-tagline {
    font-size: 28px;
    line-height: 32px;
    text-align: center;
}
.site-tagline .btn{ margin-top: 20px;}
.site-footer .footer-content{ padding: 0; text-align: center;}
.dm-address { margin: auto; max-width: 300px; }


.site-footer .footer-info .site-copyright {
    float: none;
    text-align: center;
    margin-bottom: 00px;
}

#footer-sidebar .widget{
    margin-bottom: 26px;
}
#footer-sidebar .widget-title{ margin-bottom: 20px; }

#menu-footer {
    margin: 0;
    text-align: center;
    width: 100%;
}

#footer-sidebar .widget_nav_menu .menu li a{
    padding: 10px 0;
}

.site-footer .footer-info{
    padding:5px 0;
}

.site-footer .footer-info .site-info {
    float: none;
    line-height: 20px;
    text-align: center;
}
.dm-footer-link {
    display: inline-block;
    float: none;
    list-style: outside none none;
    margin: 0 0 0 5px;
    padding: 0;
}

.widget_dm_address_widget .socials{
    text-align: center;
}

.widget_dm_address_widget .socials li{ display: inline-block; float: none; }

.widget .dm-address .phone, 
.widget .dm-address .fax, 
.widget .dm-address .email{
    padding-left: 0;
    position: relative;
    margin-bottom: 10px;
}
.widget .dm-address .phone .fa, 
.widget .dm-address .fax .fa, 
.widget .dm-address .email .fa, 
.widget .dm-address .address .fa {
    display: block;
    left: 0;
    position: relative;
    font-size: 24px;
}

.contact-info{ margin-bottom: 30px; margin-top: 30px;}
.contact-info .dm-address .email{ margin-bottom: 20px; }


.site-footer .menu-footer {
    margin-bottom: 0;
    width: 100%;
}
.service-list .service{ text-align: center; }
.page-template-page-templatescontact-us-php #contact-map {
    height: 240px;
    left: 0;
    /*margin-top: -230px;*/
    position: relative !important;
    right: 0;
    width: 100%;
}

.contact-info{}
.contact-info .dm-address {
    margin: auto;
    max-width: 100%;
}

}

/* Landscape phones and down */
@media (max-width: 480px) { ... }