

body.browser-safari {
    -webkit-font-smoothing: subpixel-antialiased;
}

body.browser-safari #artist_list_chooser {
    -webkit-font-smoothing: antialiased;
}

body.device-highres.device-handheld {
    font-weight: normal;
}
body.device-highres.device-handheld .top_section_heading .subtitle,
body.device-highres.device-handheld.section-artists #artist_list_chooser {.section-art-fairs #main_content
    font-weight: normal;
    -webkit-font-smoothing: subpixel-antialiased;
}



.top_section #hero_parallax_content {
    display: block;
}
body.section-about .top_section #hero_parallax_content,
body.section-contact .top_section #hero_parallax_content,
body.section-art-fairs .top_section #hero_parallax_content {
    position: fixed;
}
body.section-about .top_section:after,
body.section-contact .top_section:after,
body.section-art-fairs .top_section:after {
    opacity: 1;
    position: fixed;
}

.section-about #main_content,
.section-contact #main_content,
.section-art-fairs #main_content {
    display: block;
    position: absolute;
    z-index: 1400;
    width: 100%;
    bottom: auto;
    top: 200px;
}
.section-about #overlay_container,
.section-contact #overlay_container {
    display: block;
    position: relative;
    bottom: auto;
    top: auto;
}
.section-about #overlay_content,
.section-contact #overlay_content {
    padding-bottom: 100px;
    padding-top: 0;
}
.section-contact #overlay_content #content_module {
    opacity: 1 !important;
}
.section-contact #map_wrapper {
    z-index: 1500;
}


/* ------------------------------------------------------------------------
--------------------------------- Size 4 ----------------------------------
------------------------------------------------------------------------ */

@media screen and (max-width: 1279px) {


    /* -----------------------------------------------------------
       Generic
    ----------------------------------------------------------- */



    /* -----------------------------------------------------------
       General layout
    ----------------------------------------------------------- */



    /* -----------------------------------------------------------
        Global classes
    ----------------------------------------------------------- */

    .scrollpane {

    }
        .scrollpane section.panel_standard .content {
            padding: 30px;
        }


    /* -----------------------------------------------------------
       Page Specific
    ----------------------------------------------------------- */

    .section-artists #artist_list_chooser {
        left: 100px;
    }
    .section-artists .artist_list .records_list {
        padding: 0 100px 50px;
    }

    .section-art-fairs #art-fairs-grid-container .fairs_list ul {
        padding: 0;
    }

}


/* ------------------------------------------------------------------------
--------------------------------- Under 1023 wide and under 780 high ----------------------------------
------------------------------------------------------------------------ */

@media screen and (max-width: 1023px), screen and (max-height: 780px) {


    .section-artists .artist_list .records_list ul li {
        margin: 0 0 30px;
    }
    .section-art-fairs #art-fairs-grid-container {
        position: static;
    }
        .section-art-fairs #art-fairs-grid-container .fairs_list {
            display: block;
            position: relative;
            bottom: auto;
            top: auto;
        }
        .section-art-fairs #art-fairs-grid-container .fairs_list ul {
            padding-top: 0;
        }
        .section-art-fairs #art-fairs-grid-container .fairs_list ul li {
            width: 50%;
            padding: 0 30px;
        }

}



/* ------------------------------------------------------------------------
--------------------------------- Size 3 ----------------------------------
------------------------------------------------------------------------ */

@media screen and (max-width: 1023px) {


    /* -----------------------------------------------------------
       Generic
    ----------------------------------------------------------- */



    /* -----------------------------------------------------------
       General layout
    ----------------------------------------------------------- */

    .top_section_heading h1 {
        font-size: 60px;
        line-height: 70px;
    }
    #hero_image_responsive:after {
        display: block !important;
        opacity: 1 !important;
    }
    
    #top_nav_section ul {
        padding: 0 100px;
    }
        #top_nav_section ul li {
            padding: 0 0 20px;
        }
            #top_nav_section ul li a {
                font-size: 30px;
                line-height: 40px;
            }


    /* -----------------------------------------------------------
        Global classes
    ----------------------------------------------------------- */

    .scrollpane {
        
    }

        .scrollpane section {
            height: auto !important;
            min-height: 0 !important;
        }
        .scrollpane section.panel_standard .image {
            position: relative !important;
            width: 100% !important;
            height: 400px !important;
            min-height: 0 !important;
            top: auto !important;
            left: auto;
            right: auto;
        }
            .scrollpane section.panel_standard .image div {
                background-position: center center !important;
                bottom: 0 !important;
            }
        .scrollpane section.panel_standard .content {
            position: relative !important;
            width: 100% !important;
            min-height: 0 !important;
            padding: 50px;
            height: auto !important;
        }
        
            .section-publications .scrollpane section.panel_standard .image {
                height: 700px !important;
            }

    /* -----------------------------------------------------------
       Page Specific
    ----------------------------------------------------------- */
    
    .section-home .scrollpane .panel {
        overflow: visible;
    }
    
    .section-home .scrollpane .panel .image {
        overflow: hidden;   
    }
    
    .section-home .scrollpane .panel.panel_standard .image::before {
        display: none;
    }

    .top_section #hero_parallax_content {
        display: block;
    }
    body.section-about .top_section #hero_parallax_content,
    body.section-contact .top_section #hero_parallax_content,
    body.section-art-fairs .top_section #hero_parallax_content {
        position: fixed;
    }
    body.section-about .top_section:after,
    body.section-contact .top_section:after,
    body.section-art-fairs .top_section:after {
        opacity: 1;
        position: fixed;
    }


    .section-artists .artist_list .records_list ul {
        width: 50% !important;
        margin: 0 !important;
    }

    .section-artists #artist_list_chooser {
        left: 50px;
    }
    .section-artists .artist_list .records_list {
        padding: 0 50px 50px;
    }
    .section-artists .artist_list .records_list ul li {
        margin: 0 0 8px;
    }
    .section-artists .artist_list .records_list ul li h2 {
        
    }


    .section-about #overlay_content,
    .section-contact #overlay_content {
        padding: 0 100px 100px;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .section-about #overlay_content #sidebar,
    .section-contact #overlay_content #sidebar {
        width: 100%;
        max-width: none;
        border: 0;
        padding: 0;
        margin: 0 0 20px;
    }
    .section-about #overlay_content #content_module,
    .section-contact #overlay_content #content_module {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    .section-contact #overlay_content #sidebar .inner {
        border: 0;
        padding: 0;
        margin: 0 0 20px;
    }
    .section-contact #overlay_content #sidebar .google_map_link {
        display: none !important;
    }
    
}



/* ------------------------------------------------------------------------
--------------------------------- Size 2 ----------------------------------
------------------------------------------------------------------------ */


@media screen and (max-width: 767px) {

    #body_border {
        display: none !important;
    }

    /* -----------------------------------------------------------
       Generic
    ----------------------------------------------------------- */

    .device-highres h1, .device-highres h2, .device-highres h3, .device-highres h4, .device-highres h5, .device-highres h6 {
        -webkit-font-smoothing: subpixel-antialiased;
    }
    h1 {
        font-size: 30px;
        line-height: 40px;
    }
    h2 {
        font-size: 28px;
        line-height: 38px;
    }
    h3 {
        font-size: 26px;
        line-height: 36px;
    }
    h4 {
        font-size: 24px;
    }
    h5 {
        font-size: 22px;
    }
    h6 {
        font-size: 20px;
    }


    /* -----------------------------------------------------------
       General layout
    ----------------------------------------------------------- */

    #logo {
        top: 33px;
    }
    .cms-frontend-toolbar-active #logo {
        top: 61px;
    }
        
    #top_nav_section_reveal {
        opacity: 0;
        top: 35px;
        left: 35px;
    }
    .cms-frontend-toolbar-active #top_nav_section_reveal {
        top: 63px;
    }

    body.page-top #top_nav_section_reveal {
        opacity: 1;
    }

    .top_section_heading {
        padding: 0 30px;
    }
    .top_section_heading h1 {
        font-size: 36px;
        line-height: 46px;
    }

    #top_nav_section ul {
        padding: 0 50px;
        display: block;
        top: 100px;
        bottom: 15px;
        overflow: auto;
    }
        #top_nav_section ul li {
            margin: 0;
            padding: 0 0 10px;
        }

    #footer {
        padding: 20px;
    }


    /* -----------------------------------------------------------
        Global classes
    ----------------------------------------------------------- */

    .records_list_slider {
        padding: 40px 0;
    }
        .records_list_slider .item,
        .records_list_slider .item .image {
            height: 250px;
        }
        .records_list_slider .item .image img {
            max-height: 250px;
        }

    .top_section_heading {
        margin-top: -60px;
    }
    .top_section_heading .subtitle .subtitle_1 {
        padding: 0;
        display: block;
    }
    .top_section_heading .subtitle .subtitle_2 {
        padding: 5px 0 0;
        display: block;
    }
    body.page-top .top_section_down {
        bottom: 35px;
    }


    .scrollpane section.panel_standard .content {
        padding: 20px;
    }
    .scrollpane section.panel_text .content {
        padding: 20px;
    }

    .pull_quote {
        font-size: 25px;
        line-height: 35px;
        font-weight: normal;
        padding-left: 15px;
    }


    /* -----------------------------------------------------------
       Page Specific
    ----------------------------------------------------------- */

    .section-artists #artist_list_chooser {
        left: 35px;
    }
        .section-artists #artist_list_chooser .responsive_hidden {
            display: none;
        }
    .section-artists #artist_list {
        display: block;
        position: absolute;
        top: 100px;
        width: 100%;
    }
    .section-artists .artist_list .records_list {
        padding: 0 35px;
        margin: 0 0 20px;
    }
    .section-artists .artist_list {
        top: 0;
        padding-top: 20px;
    }
    .section-artists .artist_list .records_list ul {
        width: 100% !important;
    }
    .section-artists #artist_list .artist_list .records_list ul li {
        width: 100%;
        clear: both;
    }

    .section-artists #artist_list_chooser {
        top: 0;
    }

    #artist_list_images {
        opacity: 1 !important;
    }

    .section-about #overlay_content,
    .section-contact #overlay_content {
        padding: 0 50px 50px;
    }
    .section-about #overlay_content #sidebar,
    .section-contact #overlay_content #sidebar .inner {
        font-size: 30px;
        line-height: 40px;
    }


    .section-art-fairs #art-fairs-grid-container .fairs_list {
        top: 100px;
    }

    .section-publications .scrollpane section.panel_standard .image {
        height: 500px !important;
    }



}

    @media screen and (max-width: 767px) and (min-width: 459px) {
        #top_nav_section ul li {
            float: left;
            width: 50%;
            clear: none;
            margin-left: 0 !important;
        }
    }




/* ------------------------------------------------------------------------
--------------------------------- Size 1 ----------------------------------
------------------------------------------------------------------------ */


@media screen and (max-width: 459px) {

    /* -----------------------------------------------------------
       Generic
    ----------------------------------------------------------- */
    .section-publications .scrollpane section.panel_standard .image {
        height: 400px !important;
    }


    /* -----------------------------------------------------------
       General layout
    ----------------------------------------------------------- */

    .top_section_heading h1 {
        font-size: 26px;
        line-height: 38px;
    }


    /* -----------------------------------------------------------
        Global classes
    ----------------------------------------------------------- */



    /* -----------------------------------------------------------
       Page Specific
    ----------------------------------------------------------- */

    .section-art-fairs #art-fairs-grid-container .fairs_list ul {
        padding: 0 15px;
    }
    .section-art-fairs #art-fairs-grid-container .fairs_list ul li {
        width: 100%;
    }


}


