/* #Media Queries
================================================== */

/*CSS for serving the retina image to devices with a high "device-pixel-ratio":*/
@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-devicepixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
}

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 1008px) {
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 1008px) {
    /* Header */
    #mainNav li a {
        font-size: 24px;
        margin: 0px 13px;
    }

    /* Widgets */
    .widget_form_row label {
        width: 100%;
        display: block;
    }

    .widget_form_input {
        width: 100%;
    }

    /* Home Page */
    .center_page h1 {
        font-size: 41px;
        line-height: 50px;
    }
    .center_page {
        margin-top: 55px;
        margin-bottom: 30px;
    }

    /* Main menu  */
    #mainNav li:hover ul, #mainNav li.sfHover ul {
        left: 14px;
    }

    /* Gallery Page */
    #gallery_thumbs img.scale_with_grid {
        width: 100%;
        height: auto;
    }
    #copy #gallery_thumbs li {
        text-indent: 0px;
        width: 30%;
        margin-right: 19px;
        margin-bottom: 19px;
    }
    #gallery_thumbs h2 {
        margin-bottom: 0;
    }
    #gallery_thumbs a img {
        margin-bottom: 0px!important;
    }
    #sidebar .sidebar_contact #contactForm .form_field.float_left {
        width: 90%!important;
    }
    iframe {
        width: 100%;
    }

    /* Testimonials Section */
    .testimonialsListingThumb {
        width: 45%;
        margin-left: 4%;
    }
    /* footer */

    #footer .social_icons .ic {
        float: right;
        margin-left: 13px;
    }
    #footer .bottom_footer li.first {
        margin     : 0 0 0 0px;
    }
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
    html, body {
        font-size: 14px;
        line-height: 20px;
    }


    /* mCE editor on the feedback page - fix */
    #Feedback_tbl table tr td {
        display: inline-block;
    }
    table tr:nth-child(odd) {
        background-color: #f5f5f5;
    }
    .defaultSkin .mceToolbar {
        height: auto!important;
    }

    /* General Styles */

    h1 {
        font-size: 48px;
        line-height: 45px;
        padding: 38px 0;
    }

    #content a.logo_large {
        max-width: 90%;
        height: auto;
    }

    #homePage #menu_mobile {
        display : none;
    }

    .form_label {
        width   : auto;
        padding : 0;
    }

    .form_required {
        width   : 5%;
        padding : 5px 0 0 10px;
    }

    .form_field {
        width      : 100%;
        float      : none;
        margin-top : 0;
    }

    #header {
        height  : 135px;
        padding : 0;
        margin-bottom : 15px;
    }
    .logo_container {
        text-align: center;
    }
    #header a.logo {
        height          : 132px;
        width           : 132px;
        float           : none;
        margin-bottom   : 0;
        margin-top      : 10px;
    }
    hr.header {
        margin-top: 20px;
    }
    .threeColumnStyle .padding,
    .threeColumnStyle.first .padding,
    .threeColumnStyle.middle .padding,
    .two_column .padding,
    .two_column.second .padding {
        padding: 30px;
        padding-bottom: 0;
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -o-box-sizing: border-box;
        box-sizing: border-box;
    }

    .two_column.second .padding {
        padding-top: 0;
        padding-bottom: 30px;
    }

    table thead {
        display: none;
    }

    table tr td:first-child {
        font-weight: bold;
        background: #000;
        color: #fff;
    }

    table tr td {
        display: block;
        border: 1px solid #000;
        border-top: 0;
    }

    table.linksbrands tr td:first-child {
           font-weight: bold;
           background: none;
           color: #fff;
       }

    table.linksbrands tr td {
        display: block;
        border: none;
        border-top: 0;
    }
    table.linksbrands tr:nth-child(odd) {
        background: none;
    }
    table.linksbrands td.mobiletd_img {
        width: 100%;
    }
    table.linksbrands img {
        width: 100%;
        margin-bottom: 15px;
        max-width: 300px;
        height: auto;
    }

    /* home */
    .center_page {
        width: 80%;
        margin-top: 0px;
        margin-bottom: 16px;
    }
    .center_page h1 {
        font-size: 40px;
        line-height: 47px;
    }
    /* Footer */
    .footer_logo {
        margin: 0 0 20px;
    }

    .footer_menu {
        width: 47% !important;
        margin: 15px 1.5% 15px 1.5%;
    }

    .footer_menu:nth-child(even) {
        clear: both;
    }

    .social_icons,
    .copyright,
    .footerNav {
        text-align: center;
    }

    .social_icons .ic,
    .footerNav li {
        display: inline-block;
        float: none !important;
    }

    /* Gallery */
    #copy #gallery_thumbs li {
        width: 29%;
    }

    /* Careers */
    .details-title,
    .details-content {
        width: 100%;
        float: left;
    }
    /* Corporate Leasing Form Styles */

    .split {
        width: 100%;
        float: left;
    }
    .split h3 {
        clear: both;
    }
    .split.topmargin {
    }
    .mobilemargin {
        margin-top: 18px;
        clear: both;
    }
    .req_fields {
        position: relative;
        margin-top: -25px;
    }
    .subcat_select_container {
        width: 100%;
        float: none;
        margin-bottom: 15px;
    }
    iframe {
        width: 100%;
    }

    /* Testimonials */
    .testimonialswrapper, .testimonialsListingThumb {
        width: 100%;
    }
    .testimonialsListingThumb {
        margin-left: 0;
    }
    .testimonialsListingThumb .pageimageright {
        text-align: left;
        float: left;
        margin-left: 0;
        padding-left: 0;
    }

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {

}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

    table.linksbrands img {
        width: 79%;
        height: auto;
    }

    /* General Styles */
    .inline_button {
        margin-right: 7px;
        margin-left: 7px;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 41px;
        line-height: 45px;
        padding: 38px 0;
    }
    /* Gallery */
    #copy #gallery_thumbs li,
    #copy #gallery_thumbs li.last_thumbnail {
        width: 47%;
        margin-right: 6%;
    }

    #copy #gallery_thumbs li:nth-child(even) {
        margin-right: 0% !important;
    }

    /* Blog & some testimonial stuff */

    .blogListingThumb {
        width: 100%;
        margin-bottom: 8px;
    }
    .blogwrapper, .testimonialswrapper, .testimonialsListingThumb {
        width: 100%;
    }

    /* home */

    .center_page {
        width: 100%;
        margin-top: 0px;
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 26px;
    }
    .center_page h1 {
        font-size: 30px;
        line-height: 37px;
        padding: 30px 0;
    }


    /* Inner Page Template styles */


}

