@media(min-width:1200px) {

    #instrument-list .instrument-thumb img {
        max-height: 490px;
    }
    .ps-banner .banner-content {
        min-height: 700px;
    }
}

@media(max-width:1199px) {

}

@media(min-width:992px) and (max-width:1199px) {

    #instrument-list .instrument-thumb img {
        max-height: 350px;
    }

    .footer-block .thumb {
        padding-bottom: 45%;
    }
    #pscarousel img.bow {
        max-height: 450px;
        width: auto!important;
    }
}

@media(min-width:992px) {
    #articlesTaggedByMaker .two_col_image_left_content_right,
    #articlesTaggedByMaker .two_col_content_left_image_right {
        margin-bottom: 2rem;
    }
}

@media(max-width:991px) {

    #instrument-list .instrument-thumb img,
    #notableSalesBowsHighlights .notableSalesSingleInstrumentHighlight img {
        max-height: 320px;
    }
    .NSmainPictures.owl-carousel .owl-item img {
        width: auto!important;
        max-width: 100%!important;
    }

}

@media(min-width:768px) and (max-width:1199px) {
    sup, sub {
        letter-spacing: -1px;
    }
    sub {
        margin-right: 3px;
    }
    .image_left_and_right_content_in_the_middle .content-block {
        padding: 3rem 1rem;
    }
    .next-auction-content-blocks .single-content-block:nth-of-type(odd) {
        padding-right: 1.75rem
    }
    .next-auction-content-blocks .single-content-block:nth-of-type(even) {
        padding-left: 1.75rem
    }
    .next-auction-content-blocks .single-content-block {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
    body.page-id-8936 .two_col_image_left_content_right,
    body.page-id-8936 .two_col_content_left_image_right {
        margin-bottom: 3rem;
    }
    body.page-id-8936 .one_col_heading_and_text_block {
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
    }
    .notable-sales-thumb {
        min-height: 180px;
    }
    .notable-sales-thumb img {
        max-height: 150px;
    }
    .notable-sales-thumb h3 {
        font-size: 1.15rem;
    }
    .valuation-places .featherlight-content {
        max-height: 80%;
    }
}

@media(min-width:768px) and (max-width:991px) {
    #nw_page_builder_banner_1 {
        margin-bottom: 3rem;
    }
    #maker-search-bar {
        padding-left:20px;
    }
    #breadcrumbs {
        padding-top: 12px;
    }
    .one_col_heading_and_text_block {
        padding: 0 2rem;
    }
    p.valuation-form-label {
        font-size: 0.9rem;
    }
    .link_panels_left_valuation_dates_right .valuation-block {
        padding: 0 2rem;
        margin-top: 2rem;
    }
    .service-page-form .left-form, .service-page-form .right-form {
        padding: 0.8275rem;
    }
    .next-auction-content-blocks {
        padding: 0 1rem;
    }
    body.page-id-8936 .one_col_viewing_days_block,
    body.page-id-8936 .two_col_heading_left_link_right,
    body.page-id-8936 .two_col_valuation_dates_left_image_right {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .three_col_image_top_content_underneath {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .two_col_image_left_content_right {
        padding-right: 1rem;
    }
    .two_col_content_left_image_right {
        padding-left: 1rem;
    }
    #footer-top {
        padding-left: 0.625rem;
        padding-right: 0.625rem;
    }
    .footer-block .thumb {
        padding-bottom: 100%;
    }
    .footer-block {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    body.page-template-page-feature .three_col_image_top_content_underneath.features {
        padding-left: 0;
        padding-right: 0;
    }
    body.page-template-page-feature .three_col_image_top_content_underneath.features .three_col .content_underneath {
        padding: 1rem;
    }
    body.page-template-page-feature .display-none-mobile {
        display: block!important;
        padding-left: 1rem!important;
        padding-right: 1rem!important;
    }
    .two_col_image_top_content_underneath .two_col:first-of-type {
        padding-left: 0.3125rem;
    }
    body.page-id-8839 .service-page-form,
    body.page-id-8841 .service-page-form {
        padding-top: 1.5rem;
    }
    /*
    #timeline {
        padding-top: 90px;
    }
    */
    #timeline .event-right p {
        padding-left: 40px;
    }
    #timeline .event-left p {
        padding-right: 40px;
    }
    #timeline .event-left p.tm-year:after {
        right: -6px;
    }

    #articlesTaggedByMaker .two_col_image_left_content_right,
    #articlesTaggedByMaker .two_col_content_left_image_right,
    #articlesTaggedWithThisInstrument .two_col_image_left_content_right,
    #articlesTaggedWithThisInstrument .two_col_content_left_image_right    {
        margin-bottom: 2rem;
    }
    #maker-cta .two_col_image_top_content_underneath .two_col:first-of-type {
        padding-left: 20px;
        padding-right: 10px;
    }
    #maker-cta .two_col_image_top_content_underneath .two_col:last-of-type {
        padding-left: 10px;
        padding-right: 20px;
    }
    #maker-cta .two_col_image_top_content_underneath {
        margin-bottom: 20px;
    }
    #maker-cta .two_col_image_left_content_right {
        padding-left: 20px;
        padding-right: 20px;
    }
    #maker-cta .two_col_image_left_content_right,
    #maker-cta .two_col_content_left_image_right {
        margin-bottom: 30px;
    }
    p.NSreviewQuote {
        font-size: 1.8rem;
        line-height: 2.3rem;
        color: #15304C;
    }
    #NSsingleLotContent.is-bow {
        height: auto!important;
    }
    #NSsingleLotContent.is-bow .NSlotMainImages  {
        height: auto!important;
        padding-top: 80px;
    }
    #NSsingleLotContent.is-bow #NSlot-information {
        margin-top: 40px;
        padding-right: 8.3333%;
        padding-left: 8.3333%;
    }
    .row.makers-letters .letter {
        font-size: 2.25rem;
        margin: 0 3px;
        width: 6.5%;
        text-align: center;
    }
    #maker-search-bar .backButton {
        margin-right: 20px;
        flex: 1 1 2.5em;
    }
}

@media(min-width:768px) {
    body.page-template-page-private-sales .navbar-brand img,
    body.single-ps-instrument .navbar-brand img {
        width: 240px!important;
        margin-top: 1rem;
    }
}

@media(max-width:767px) {

    /**** Mobile banner fix ****/
    .main-banner-slide {
        height: auto !important;
        min-height: 100vh !important;
    }

    #hamburger {
        left: 20px;
    }

    #header-icons {
        margin-right: 0;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3, h4 {
        font-size: 1.3rem
    }

    h5 {
        font-size: 1.1rem;
    }

    #breadcrumbs {
        display: block;
    }

    .backButton {
        /*transform: scale(1.15);*/
    }

    body.single-current_auction_lots #breadcrumbs {
        display: block;
    }

    #nw_page_builder_banner_1 p.quote {
        font-size: 1.4rem;
        line-height: 1.65rem;
    }

    /*** HEADER ***/
    /*.navbar-brand > img {
        width: 160px!important;
        margin-left: 70px;
    }

    body.page-template-page-private-sales #header-container,
    body.single-ps-instrument #header-container,
    body.home #header-container {
        height: 70px;
    }
    body.page-template-page-private-sales #hamburger,
    body.single-ps-instrument #hamburger,
    body.home #hamburger {
        top: 15px;
    }
    body.page-template-page-private-sales .navbar-brand,
    body.single-ps-instrument .navbar-brand,
    body.home .navbar-brand {
        margin-left: 95px;
    }*/
    .navbar-brand > img {
        width: 160px !important;
    }

    body.page-template-page-private-sales .navbar-brand > img,
    body.single-ps-instrument .navbar-brand > img,
    body.home #homepageLogo {
        width: 170px !important;
        margin: 0 auto;
    }

    body.home #homepageLogo {
        height: 40px;
    }

    #mainBanner a {
        width: 80%;
    }

    .main-banner-slide {
        height: 550px;
        padding-top: 90px;
    }

    .main-banner-slide.instruments img {
        max-height: 300px;
    }

    #mainBanner.owl-carousel .owl-item h5 {
        margin-bottom: 1rem;
    }

    #mainBanner.mobile-banner .owl-nav .owl-prev,
    #mainBanner.mobile-banner .owl-nav .owl-next {
        position: absolute;
        top: 50%;
        background-size: contain;
        background-repeat: no-repeat;
        font-size: 0;
        color: transparent;
        width: 30px;
        height: 30px;
    }

    #mainBanner.mobile-banner .owl-nav .owl-prev {
        left: 15px;
        background-image: url('../images/arrow_left_grey.svg');
    }

    #mainBanner.mobile-banner .owl-nav .owl-next {
        right: 15px;
        background-image: url('../images/arrow_right_grey.svg');
    }

    body.page-id-9162 .image_left_and_right_content_in_the_middle div > .image:last-of-type {
        display: none;
    }

    /*** MENU ***/
    #hamburger span.menu {
        display: none;
    }

    #sideNav {
        /*position:relative;*/
    }

    #sideNav.show {
        width: 100%;
    }

    #sideNav.show .sidenavContent {
        right: 0;
        opacity: 1;
    }

    .sidenavContent {
        padding: 50px 0;
    }

    #menu-main_sub_menu {
        position: relative;
        padding-left: 15px;
        margin-top: 2rem;
    }

    .navbar-nav .nav-link {
        padding-left: 30px;
        padding-right: 30px;
    }

    /*#instrument-list.negative-margin-top {
        margin-top: -70px;
    }*/
    .footer-block {
        margin-bottom: 1.25rem;
    }

    .footer-block .thumb {
        padding-bottom: 100% !important;
    }

    .footer-block > .row,
    .footer-block .content {
        background: transparent !important;
    }

    #footer-bottom .section {
        margin-bottom: 10px;
    }

    #footer-bottom .section:last-of-type {
        margin-bottom: 0;
    }

    .footer-block .content {
        padding: 10px 5px !important;
    }

    #footer-top {
        padding-bottom: 1rem;
    }

    body.single-current_auction_lots .smaller-lightbox .featherlight-content,
    body.single-ps-instrument .smaller-lightbox .featherlight-content {
        width: 90%;
        max-width: 90%;
        padding: 2rem;
    }

    /*** Private sales ***/
    .ps-banner .content {
        padding: 3rem 1rem;
    }

    .ps-banner .image.flex-last {
        background-position: bottom center;
    }

    #instrument-list .instrument-thumb {
        border-bottom: 1px solid rgba(255, 255, 255, 0.65);
        padding-bottom: 1.5rem;
    }

    #instrument-list .instrument-thumb:last-of-type {
        border-bottom: none;
    }

    #nw_page_builder_banner_1 {
        min-height: 350px;
        margin-bottom: 2rem;
    }

    .link_panels_left_valuation_dates_right {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .link_panels_left_valuation_dates_right .valuation-block {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }

    .service-page-form .left-form, .service-page-form .right-form {
        padding-top: 0;
        padding-bottom: 0;
    }

    .step-guide-heading {
        margin-top: 0;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }

    .step-guide-single-step {
        padding: 0 1rem;
    }

    .step-guide-single-step h2 span.heading_number {
        font-size: 2rem;
        line-height: 3rem;
    }

    .responsive-map-container {
        padding: 35.5%;
    }

    .image_left_and_right_content_in_the_middle .image {
        padding-bottom: 56.5%;
    }

    .image_left_and_right_content_in_the_middle .content-block {
        padding: 2rem 1rem;
    }

    .next-auction-content-blocks .single-content-block:nth-of-type(even),
    .next-auction-content-blocks .single-content-block:nth-of-type(odd) {
        padding-left: 0;
        padding-right: 0;
    }

    .next-auction-content-blocks .single-content-block {
        margin: 2.5rem 0;
    }

    .next-auction-content-blocks {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .next-auction-content-blocks h2 {
        font-size: 1.375rem;
        line-height: 1.8125rem;
    }

    body.page-id-8936 .two_col_image_left_content_right,
    body.page-id-8936 .two_col_content_left_image_right {
        margin-bottom: 0 !important;
    }

    body.page-id-8936 .two_col_heading_left_link_right {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    body.page-id-8936 .two_col_valuation_dates_left_image_right .bg_image {
        padding-bottom: 56%;
    }

    body.page-id-8917 .three_col_image_left_content_middle_button_right {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    body.page-id-8917 .three_col_image_left_content_middle_button_right .bg_image {
        padding-bottom: 100%;
        margin-bottom: 1.5rem;
    }

    body.page-id-8917 .three_col_image_left_content_middle_button_right .bg_image > img {
        display: none;
    }

    .show-image-instead-of-bg .bg_image > img {
        opacity: 1 !important;
    }

    .valuation-places .featherlight-content {
        max-height: 70%;
    }

    .footer-block .content {
        justify-content: center;
    }

    #mainBanner.video {
        position: relative;
        margin-bottom: 1rem;
    }

    #mainBanner video {
        float: left;
    }

    .video-button-container {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
    }

    .video-button-container a {
        display: block;
        width: 100%;
        float: left;
        text-align: center;
        margin-top: 0;
    }

    body.page-template-page-home #header-container #hamburger {
        top: 10px;
    }

    body.page-template-page-home #header-container #header-icons {
        margin-top: 15px;
    }

    .main-banner-slide.instruments h2 {
        padding-top: 0;
    }

    .main-banner-slide {
        height: 100vh;
    }

    #maker-search-bar > .row {
        padding: 15px 20px;
    }

    /*
    #timeline p.tm-year {
        font-size: 3.125rem;
        line-height: 3.3rem;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }
    #timeline .timeline-row {
        margin-top: 0;
        min-height: 0;
    }
    .timeline-row img {
        max-height: 140px;
    }
    #timeline .event-right p {
        padding-left: 60px;
    }
    #timeline .event-left p {
        padding-right: 0;
        padding-left: 60px;
    }
    #timeline p.tm-year:before,
    #timeline .event-right p.tm-year::after{
        left: 15px;
    }
    #timeline .event-left p.tm-year:before,
    #timeline .event-left p.tm-year:after {
        left: 15px;
    }
    #timeline .event-left:after {
        display: none;
        left: 20px;
        right: auto;
    }
    #timeline .event-right:before {
        display: none;
        left: 20px;
    }
    #timeline {
        padding-top: 70px;
    }
    .timeline-row .reverse-mobile {
        flex-direction: row-reverse;
    }
    #timeline .event-right,
    #timeline .event-left {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #timeline .timeline-body:before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 20px;
        width: 1px;
        background: #19314C;
    }
    .timeline-row .add-border {
        border-right: none;
    }
    */
    #timeline .timeline-row {
        margin-top: 0;
        /*min-height: 250px*/
    }

    .timeline-row .add-border {
        border-right: none;
    }

    #timeline .event-right p.tm-year:after,
    #timeline .event-left p.tm-year:after {
        display: none;
    }

    #four-centuries-carousel .owl-item img, #four-centuries-carousel-mobile .owl-item img {
        max-height: 300px;
    }

    #four-centuries-carousel .owl-nav .owl-next, #four-centuries-carousel-mobile .owl-nav .owl-next {
        margin-right: -15px;
    }

    #four-centuries-carousel .owl-nav .owl-prev, #four-centuries-carousel-mobile .owl-nav .owl-prev {
        margin-left: -15px;
    }

    .row.makers-letters .letter {
        width: 12.5%;
        text-align: center;
    }

    #articlesTaggedByMaker .two_col_image_left_content_right,
    #articlesTaggedByMaker .two_col_content_left_image_right {
        margin-bottom: 2rem;
        padding-bottom: 0;
    }

    #articlesTaggedByMaker .two_col_image_left_content_right .image_left {
        padding-bottom: 0;
    }

    #articlesTaggedByMaker .greyBg .content_right,
    #articlesTaggedByMaker .greyBg .content_left {
        padding: 2rem 1rem !important;
    }

    #maker-cta .two_col_image_top_content_underneath {
        margin-bottom: 0;
    }

    #maker-cta .two_col_image_left_content_right,
    #maker-cta .two_col_content_left_image_right {
        margin-bottom: 0;
    }

    #maker-cta .two_col_image_left_content_right.image-one-third .greyBg .content_right,
    #maker-cta .two_col_image_left_content_right.image-one-third .greyBg .content_left {
        padding-top: 1.875rem;
        padding-bottom: 1.875rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    #maker-search-bar {
        padding: 15px 20px;
    }

    #maker-search-bar .makerSearchBar {
        margin-top: 10px;
    }

    .four_centuries_inst-template-default .makerSearchBar form img.searchIcon, .tax-maker-fullnames .makerSearchBar form img.searchIcon {
        top: 16px;
    }

    .makerSearchBar.notableSalesHomepage form img.searchIcon {
        top: 20px;
    }

    .makerSearchBar.notableSalesHomepage form div#closeMakerSearch {
        top: 19px;
    }

    .single-four_centuries_inst #bottom-buttons {
        z-index: 999;
    }

    #NSsingleLotContent {
        height: auto !important;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 90px;
    }

    #NSsingleLotContent img.mainImage {
        max-height: 400px !important;
    }

    #NSsingleLotContent .NSlotMainImages {
        margin-bottom: 40px;
    }

    p.NSreviewQuote {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .footer-block {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .footer-block p {
        display: none;
    }

    .footer-block > .row {
        display: block !important;
        background: #fff;
    }

    #NSsingleLotContent.is-bow .NSlotMainImages {
        height: auto !important;
        padding-top: 110px;
    }

    #NSsingleLotContent.is-bow #NSlot-information {
        margin-top: 40px;
        padding-right: 8.3333%;
        padding-left: 8.3333%;
        padding-top: 40px;
    }

    .single-four_centuries_inst #header-container {
        z-index: 9999;
    }

    #NSsingleLotContent .owl-dots,
    .singleNSlot .owl-dots {
        text-align: center;
        margin-top: 20px;
    }

    #NSsingleLotContent .owl-dot.active,
    .singleNSlot .owl-dot.active {
        background-color: #15304C;
    }

    #NSsingleLotContent .owl-dot,
    .singleNSlot .owl-dot {
        display: inline-block;
        width: 12px;
        height: 12px;
        margin: 4px;
        background: #A1A1A1;
        border-radius: 50%;
    }

    #maker-search-bar .backButton {
        display: none;
    }

    .tax-maker-fullnames a.read-more.single-lot-read-more {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .sold-lot:hover a {
        opacity: 1;
    }

    .background-square {
        padding-bottom: 100%;
    }

    #closeMakerSearch {
        width: 22px;
        height: 22px;
    }

    .single-four_centuries_inst #singleLotContainer #postNav {
        top: 150px;
    }

    .single-four_centuries_inst #imagesLightbox #closeMobileZoom {
        top: auto;
        bottom: 0;
    }

    .makerSearchBar #closeMakerSearch {
        top: 15px;
    }

    /*** A fix for images in custom-coded sliders touching the logo on mobile ***/
    .slider-image-extra-margin {
        margin-top: 12vh;
        /*** End fix ***/
    }
}
@media(min-width: 576px) and (max-width:767px) {

}

@media(min-width:576px) {

}

@media(max-width:575px) {

}


@media (min-width:768px) and (max-height:650px) {
    .sidenavContent {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}


@media (min-width:768px) {
    body.page-template-page-next-auction .next-auction-content-blocks .single-content-block:nth-of-type(1),
    body.page-template-page-next-auction .next-auction-content-blocks .single-content-block:nth-of-type(2) {
        margin-bottom: 0;
    }
}


@media (min-height:500px) and  (max-height:700px) {
    .main-banner-slide.instruments img {
        /*max-height: 45vh;*/
    }
}

@media(max-height:499px) {
    .main-banner-slide.instruments img {
        /*max-height: 50vh;*/
    }
}



@media(min-width: 768px) {
    .featherlight.ns-lot-image .featherlight-content {
        position: relative;
    }
    .featherlight.ns-lot-image .featherlight-content #controlButons {
        position: fixed;
        bottom: 0;
        left: calc(50% - 75px);
        right: auto;
    }
}

/*
@media(min-width:1200px) and (max-height:800px) {
    .main-banner-slide {
        height: 110vh
    }
}*/

@media (max-width: 767px){
    .main-banner-slide {
        height: 100vh;
        min-height: 580px;
        max-height: 1500px;
    }
}