body {
    font-family:'BentonSans', 'Noto Sans TC', Helvetica, Arial, sans-serif !important;
}
.news-list__item-content p.news-list__item-date {
    text-transform: capitalize;
}

.news-list__item-content h4+p>a {
    display: none;
}

.news-detail-title h2 {
    text-transform: uppercase;
}

footer .form-wrapper input.wpcf7-form-control.wpcf7-submit {
    padding: unset;
    border-bottom: none;
    background: none;
    color: unset;
    font-size: unset;
    max-width: unset;
}

footer .footer-bottom-section .logo img{
    margin-bottom: 30px;
}

div.wpcf7 .ajax-loader {
    display: none;
}

footer .form-wrapper input {

    height: 100%;
}

a.news-detail__title-link {
    margin-right: 8px;
}

footer .wpcf7-response-output {
    max-width: 670px;
    margin: 1em auto;
}

.fairs-years__list--desktop li {
    opacity: 1 !important;
    margin-bottom: 10px;
}

.fairs-years__list--desktop li a {
    color: #a3a3a3;
    position: relative;
    font-size: 13px;
}

.notifications {
    text-align: center;
}


.search {
    padding-bottom: 0;
}

.exhibitions-section__item-media img {
    width: 100%;
    transition: 3.5s all ease;
    max-height: 279px;
    object-fit: contain;
}


.wrapper-top-header .top-header .right-side ul.top-menu li a {

    position: relative;
}

.wrapper-top-header .top-header .right-side ul.top-menu li a:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    transition: width 0s ease, background .35s ease;
    background-color: #7a7a7a;
}

.wrapper-top-header .top-header .right-side ul.top-menu li a:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    background: #7a7a7a;
    transition: width .35s ease;
}

.wrapper-top-header .top-header .right-side ul.top-menu li.current-menu-item a:before {
    width: 100%;
    background-color: #7a7a7a;
}

.wrapper-top-header .top-header .right-side ul.top-menu li a:hover:before,
.wrapper-top-header .top-header .right-side ul.top-menu li a:active:before,
.wrapper-top-header .top-header .right-side ul.top-menu li a:focus:before {
    width: 100%;
    background: #7a7a7a;
    transition: width .35s ease;
}

.wrapper-top-header .top-header .right-side ul.top-menu li a:hover:after,
.wrapper-top-header .top-header .right-side ul.top-menu li a:active:after,
.wrapper-top-header .top-header .right-side ul.top-menu li a:focus:after {
    width: 100%;
    background: transparent;
    transition: all 0s ease;
}

body.error404 {
    overflow: hidden;
}

body.error404 .wrapper-top-header {
    position: relative;
}

body.error404 .content-error404 {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

body.error404 .content-error404 .post .entry-content .sub a.link-home:hover:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    background: #7a7a7a;
    transition: width .35s ease;
}

body.error404 .content-error404 .post .entry-content .sub a.link-home:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    background: #7a7a7a;
    transition: width .35s ease;
}

body.error404 .content-error404 .post .entry-content .sub a.link-home:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    transition: width 0s ease, background .35s ease;
    background-color: #7a7a7a;
}

body.error404 #primary {
    height: calc(100% - 110px - 452px)
}

.wp-pagenavi {
    clear: both;
    margin: 30px auto 0;
}

.wp-pagenavi a.page.smaller,
.wp-pagenavi a,
.wp-pagenavi span {
    min-width: 34px;
    text-decoration: none;
    border: 1px solid rgba(122, 122, 122, 0.5);
    padding: 5px 7px;
    text-align: center;
    margin: 5px;
    display: inline-block;
}

.wp-pagenavi span.extend{
    border: none;
}
.wp-pagenavi span.extend:before{
    content: "...";
}

.news-list__item-media img {
    height: 280px;
    object-fit: contain;
}

.single .news-list__item-media img {
    height: unset;
    object-fit: unset;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 35px;
}

.biography-media img {
    width: auto;
    max-height: 600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

blockquote {
  margin: 0 10px 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
  color: #ccc;
  content:  "“";
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}

.biography-content{
    padding-top: 0;
}

.ed-hero__carousel-nav .slick__slider-btn{
    top: 40%;
}

.fairs-detail__hero-info{
    padding-top: 4px;
}

.artist-detail__hero .container{
    position: relative;
}


.fairs-years__list--mobile{
    width: 85px;
    margin: 0 auto;
}
.nice-select{
    border: none;

}


.fairs-years__title h5{
        margin-bottom: 15px;
}
/*
.fairs-years__list-item.slick-active.slick-current a:before{
    border-bottom: 1px solid #7a7a7a !important;
    width: 100%;
}
*/
@media (max-width: 1200px){

.fairs-years__title h5{
        margin-bottom: 0;
}

    .ed-hero__carousel-wrap{
        position: relative;
    }

    .slick__slider-nav {
        max-width: 100%;
        padding-top: 0;
        position: absolute;
        top: 40%;
        width: 100%;
    }

    .artist-detail__hero .slick__slider-nav{
        margin-left: 0;
    }

    .artist-detail__hero .slick__slider-nav{
        top: 36%;
    }

    .slick__slider-btn--prev{
        left: 0;
    }
    .slick__slider-btn--next{
        right: 0;
    }

    .selected-works__carousel-wrap .slick__slider-nav {
        top: 35%;
    }

    .fairs-years__list-wrap .slick__slider-nav {
        top: 0;
    }

    .exhibition-detail__hero{
        padding-bottom: 30px;
    }

    .biography-media img {
        max-height: 400px;
    }

    .slick__slider-btn--prev{
        position: relative;
        left: 15px;
    }
    .slick__slider-btn--next{
        position: relative;
        right: 15px;
    }

    section.main-carousel-wrapper .main-carousel-home.slick-slider .slick-track .item{
            height: calc(50vh - 78px);
    }

    section.main-carousel-wrapper {
        height: 50vh;
    }

    .fairs-years__list-nav .slick__slider-btn{
        z-index: 1000;
    }
    .fairs-years__list--mobile{
        z-index: 500;
    }
}



@media (max-width: 1023px){
    .fairs-years__list-wrap .slick__slider-nav {
        top: 10px;
    }
}

@media (min-width: 768px){
    .selected-works__item-inner{
        padding: 0 70px;
    }
}


@media (max-width: 767px){
    .slick__slider-btn--prev{
        position: relative;
        left: 5px;
    }
    .slick__slider-btn--next{
        position: relative;
        right: 5px;
    }

    .slick__slider-nav {
        top: 30%;
    }

    .selected-works__carousel-wrap .slick__slider-nav {
        top: 35%;
    }

    .selected-works__item-inner{
        padding: 0;
    }
}

.fairs-detail__hero-media img {
    width: 100%;
    max-height: 568px;
    object-fit: contain;
}

.ed-hero__item-media img {
    width: 100%;
    max-height: 433px;
    object-fit: contain;
}

.ad-hero__carousel-item-media img {
    max-height: 526px;
    object-fit: contain;
}

.img-rs_list {
    width: 100%;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.selected-works__carousel-item .img-rs_list {
    background-size: contain;
}

.img-rs_list::before {
    content: '';
    display: block;
    padding-top: 45%;
}

/*.img-rs_details_exhibition::before {
    content: '';
    display: block;
    padding-top: 65%;
}*/

.artists-list .artists-list__item .artist-list__item-inner .artist-list__item-media .img-rs_list::before {
    content: '';
    display: block;
    padding-top: 70%;
}

.what-is-on .what-is-in-gallery__wrap .what-is-on-gallery .item .item-wrap-content .img-rs_list::before {
    content: '';
    display: block;
    padding-top: 60%;
}

.selected-works .selected-works__carousel-wrap .selected-works__carousel .selected-works__carousel-item .selected-works__item-inner .selected-works__item-media .img-rs_list::before {
    content: '';
    display: block;
    padding-top: 110%;
}

.news-list__wrap .news-list .news-list__item-wrap .news-list__item .news-list__item-media .img-rs_list::before {
    content: '';
    display: block;
    padding-top: 75%;
}

.artist-detail__title h1 span.birthday {
    font-size: 16px;
}

section.what-is-on .what-is-on-gallery .item .item-wrap-content .subtitle {
    margin-top: 25px;
}

section.main-carousel-wrapper .main-carousel-home.slick-slider .slick-track .videoContainer {
    height: 100%;
}

.videoContainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-section__item .videoContainer {
    padding-top: 57%;
    position: relative;
}

.selected-works__item-media {
    padding-bottom: 0;
    overflow: hidden;
}

.selected-works__item-title h4 {
    margin-bottom: 0;
}

.tax-locations .proheadbuy,
.page-template-contactus-page .proheadbuy {
    display: none;
}

.exhibitions-nav li a[aria-current="page"]::before,
.fairs-years__list-item a[aria-current="page"]::before {
    width: 100%;
    width: 100%;
    background: transparent;
    transition: all 0s ease;
    background-color: #a3a3a3;
}

.overview-section__content img{
    height: auto;
}

@media all and (max-width: 991px) {
    .what-is-on__nav .slick__slider-btn {
        position: absolute;
        top: 30%;
        border-radius: 50%;
    }

    .what-is-in-gallery__wrap .slick__slider-btn--prev {
        left: 0;
    }

    .what-is-in-gallery__wrap .slick__slider-btn--next {
        right: 0;
    }






    .fairs-years__list-nav{
        height: 15px;
    }

    .fairs-years__list-nav .slick__slider-btn span{

        width: 10px;
        height: 10px;
    }

    .fairs-years__list-nav .slick__slider-btn{
        margin: 0;
    }
    .selected-works__carousel-item .img-rs_list{
        max-height: 300px;
    }
}

.news-detail__content img,
.news-detail__content p img,
.news-detail__content p a img {
    height: auto;
}

.ed-hero__item-content {
    justify-content: space-between;
}

/* 
.exhibitions-nav__wrap {
    position: static;
} */

@media (min-width: 768px){
    .selected-works__carousel {
        margin: 0 0 0 -8px;
    }
}
/* add new css 18/01/23 */
.form-wrapper.bottom {
    padding-bottom: 0 !important;
    width: 100%;
  }
  .form-wrapper.bottom p {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .form-wrapper.bottom p .wpcf7-not-valid-tip {
    font-size: 12px;
    margin-top: 3px;
  text-align: left;padding: 0 3px;
  }
  
  .form-wrapper.bottom p button[type='send'] {
    margin: 10px 0 0 5px !important;
    padding: 6px !important;
    position: relative;
    width: fit-content;
  cursor: pointer !important;
  }
  .form-wrapper.bottom p button[type='send'] .context {
    display: flex;
    align-items: center;
    position: relative;
  }
  .form-wrapper.bottom p button[type='send'] .context .wpcf7-spinner {
    position: absolute;
    right: -90px;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  .form-wrapper.bottom p button[type='send'] .context .wpcf7-spinner::before {
    top: 2px;
    left: 3px;
  }
  .wpcf7-response-output {
    font-size: 12px;
  }
  .footer-bottom-section .links-list {
    justify-content: flex-end;
    margin-top: 15px;
    padding-left: 45px;
  }
  footer .content-wrapper {
    text-align: left;
  }
  .form-wrapper.bottom p input {
    max-width: 100%;
  }
  .form-wrapper.bottom p button[type='send']{margin: 10px 0 0 0 !important;}
  .wpcf7 form .wpcf7-response-output{
    margin: 1em 0em 1em;
  }
