/*
  Theme Name: CFA_v7
  Theme URI: https://www.conceptualfinearts.com
  Description: theme for Conceptual Fine Arts project
  Author: ANEDA Sàrls
  Author URI: https://aneda.lu
  Version: 70.0
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
  Tags: light, white, black, photoblogging, one-column, flexible-width, custom-background, custom-menu, full-width-template, microformats, theme-options
*/

/* 
###################
OFFICIAL CFA ORANGE IS:
#FFCC33
###################
*/

/*! normalize.css v2.1.2 | MIT License | git.io/normalize */



div.wpcf7 input[type="submit"] {
  font-size: 24px;
  font-weight: 300;
  background: #fff;
  color: #000;
  font-family: 'NeueHaasGroteskDisp Std', sans-serif;
  border: 0;
  padding: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0;
  float: right;
}


/* Post and page style
--------------------------------------------------------------*/

#modal {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9;
  width: 100vw;
  height: 100vh;
  background: #fff;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transition: right 500ms ease-in-out;
}

#modal.empty {
  background: url(./images/logo-CFA-grey.svg) no-repeat center center #fff;
}
#modal.hidden {
  right: -100vw;
  opacity: 1;
  display: block;
  transition: right 500ms ease-in-out, opacity 500ms ease-in-out;
}
#modal.hidden #main-nav-wrapper {
  left: 100vw;
}
#modal #main-nav-wrapper {
  position: fixed;
  top: 0;
  width: 100vw;
  left: 0;
  /*transition: all 500ms ease-in-out;*/
}

.menu_open #modal.hidden { right: -100vw; }
.menu_open #modal > * { opacity: .25; }

#modal .post,
#modal .cfa_translations {
  margin: 0 auto;
  text-align: center;
  top: 25px;
}

#modal .post .pinbin-copy p,
#modal .cfa_translations .pinbin-copy p {
  font-size: 1.8rem;
  line-height: 3rem;
  color: #333;
  margin: 0;
  position: initial;
  text-transform: initial;
  background: none;
  padding: 0 0 1.5rem 0;
}

#modal .post .pinbin-copy p.wp-caption-text,
#modal .cfa_translations .pinbin-copy p.wp-caption-text {
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin: 0;
  padding: 1.5rem 0 0.5rem 0;
}


.single p a,
.posttags a {
  color: #000;
  border-bottom: 1px dotted #000;
  text-decoration: none;
}
.type-post {
  position: relative;
}
.type-post.category-online-exhibitions { overflow: hidden; }

.pinbin-image img {
  border-radius: 2px;
  float: left;
}
.pinbin-category {
  position: absolute;
  width: auto;
  background: #000;
  zoom: 1;
  filter: alpha(opacity=70);
  filter: alpha(opacity=70);
  opacity: 0.7;
  margin-top: -36px;
  z-index: 1;
  height: 30px;
  overflow: hidden;
  left: 0;
}
.pinbin-category p {
  margin: 0;
  padding: 0;
  line-height: 30px;
  padding-left: 20px;
  padding-right: 40px;
  color: #fff;
  font-style: italic;
}
.pinbin-category a {
  color: #fff;
  font-style: italic;
  text-decoration: none;
}
.pinbin-category a:hover {
  color: #777;
  text-decoration: none;
}
.pinbin-copy {
  color: #fff;
  font-size: 15px;
  line-height: 18px;
}

.pinbin-copy .excerpt-container,
.category-description {
  
  width: 100%;
  font-style: italic;
  text-align: center;
  margin: 15px auto 70px auto;
}
.pinbin-copy .excerpt-container p,
.category-description p{
  font-size: 1.625em;
  letter-spacing: 0.75px;
  text-rendering: optimizeLegibility;
}

.search-results .pinbin-copy.otherway.container {
  text-align: center;
  margin-top: 75px;
  padding-top: 25px;
  display: block;
}

.search-results .search-item,
.search-no-results .search-item {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: space-around;
  width: 90vw;
  max-width: 640px;
  margin: 30px auto;
  padding: 0 0 30px 0;
  text-align: justify;
  border-bottom: 1px solid #EEEEEE;
  text-decoration: none;
}
.search-no-results .search-item { flex-flow: column nowrap; }
.search-results .search-item:hover {
  color: #eee

}
.search-results .search-item .pinbin-image {
    flex: 0 0 180px;
    display: inline-block;
    opacity: 1;
    transition: opacity 300ms ease-in-out;
    margin-bottom: 20px;
}
.search-results .search-item .pinbin-image img {
  height: auto;
  width: 150px;
  border-radius: 2px;
}
.search-results .search-item .pinbin-copy {
    flex: 0 1 100%;
    opacity: 1;
    transition: opacity 300ms ease-in-out;
}
.search-results .search-item .pinbin-copy .pinbin-date {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 15px;
    line-height: 18px;
    color: #000;
}
.search-results .search-item .pinbin-copy p {
    color: #000;
    line-height: 20px;
}
.search-results .search-item h2 {
  color: #000;
  text-decoration: none;
  margin-top: 0;
  padding-top: 0;
  display: block;
}
.search-results .search-item:hover .pinbin-image,
.search-results .search-item:hover .pinbin-copy {
  opacity: .75;
}

@media only screen and (min-width:768px) {
  .search-results .search-item {
    flex-flow: row nowrap;
  }
  .search-results .search-item .pinbin-image {
    margin-bottom: 0;
  }
}


.page-id-8058 .pinbin-copy a,
.search-results .pinbin-copy.otherway a {
  background: #fff;
  clear: both;
  display: inline-block;
  padding: 10px 10px;
  color: #000;
  font-family: 'NeueHaasGroteskDisp Std', sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 19px;
}
.search-results .pinbin-copy.otherway a {width: 100px;}




.pinbin-copy p.pinbin-meta {
  width: 100%;
  display: inline-block;
  color: #8e8e8e;
  font-size: 11px;
  margin-bottom: 10px;
  padding-bottom: 0px;
  border-bottom: 1px dotted #cccccc;
}
.size-full {
  max-width: 100%;
  height: inherit;
  text-align: center;
  margin: 32px 0px;
}
#post-area .sticky {
  background: #ececec !important;
 }
 #post-area .sticky:hover {
  background: #fff !important;
 }

.size-medium,
.attachment-medium,
.wp-caption img {
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
}

.wp-block-gallery figure.wp-block-image { margin: 0 auto; }

.wp-block-image img {
    max-width: 100%;
    height: auto;
    margin: auto;
    display: block;
}
.wp-block-image.alignfull img,
.wp-block-cover.alignfull,
.wp-block-cover-image.alignfull,
.alignfull {
  width:  100%;
  position: relative;
}

.wp-block-image.alignwide img,
.wp-block-cover.alignwide,
.wp-block-cover-image.alignwide,
.alignwide {
    width: 100%;
    position: relative;
}
@media only screen and (min-width: 768px) {
  .wp-block-image.alignwide img,
  .wp-block-cover.alignwide,
  .wp-block-cover-image.alignwide,
  .alignwide {
      width: calc(100vw - 60px);
      max-width: calc(100vw - 60px);
      position: relative;
      left: calc(50% - 50vw + 30px);
  }
}
.wp-block-media-text p,
.wp-block-cover p,
.wp-block-cover-image p {
  line-height: 1.675;
}
.wp-block-cover p,
.wp-block-cover-image p {
    max-width: 640px;
    margin: 100px auto;
}

/* Post style on frontpage
--------------------------------------------------------------*/
#post-area {
  margin: 145px auto 0 auto;
}
.home #post-area {
    margin-top: 0;
}

#post-area .post,
#post-area .cfa_translations {
  max-width: 40vw;
  position: relative;
  margin-bottom: 12px;
}

#post-area .post .pinbin-copy,
#post-area .cfa_translations .pinbin-copy {
  overflow: hidden;
  clear: both;
  position: absolute;
  bottom: 30px;
  display: none;
  border-radius: 2px;
  width: 100%;
}
@media only screen and (max-width:1024px) {
  #post-area .post .pinbin-copy,
  #post-area .cfa_translations .pinbin-copy {
    left: 0px;
    top: 0px;
    display: block;
  }
}

#post-area .post .pinbin-date,
#post-area .cfa_translations .pinbin-date {
  width: 115px;
  color: #8e8e8e;
  font-size: 11px;
  border-bottom: 1px dotted #cccccc;
  padding-bottom: 0;
  padding-top: 0;
}
#post-area .post .pinbin-link a,
#post-area .cfa_translations .pinbin-link a {
  text-decoration: none;
  background: #444;
  padding: 5px 10px;
  color: #fafafa;
  font-size: 12px;
  float: right;
  cursor: pointer;
  position: absolute;
  margin-left: 245px;
  margin-top: -15px;
}
#post-area .post .pinbin-link a:hover,
#post-area .cfa_translations .pinbin-link a:hover {
  background: #777;
}
#post-area .post .pinbin-link a,
#post-area .cfa_translations .pinbin-link a,
.post-next a,
.post-prev a,
.post-next a,
.post-prev a {
  transition: background 0.3s linear;
}

#wrap .category-title {
  width: 100%;
  margin: 40px auto;
  padding: 0 30px;
  box-sizing: border-box;
}
#wrap .category-description {
  width: 50%;
  margin: 30px auto -50px auto;
  border-top: 1px solid #000;
  padding-top: 10px;
  text-align: center;
  font-size: 1.5rem;
}

article.post .pinbin-image,
article.cfa_translations .pinbin-image {
  width: 100%;
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
}
article.post .postright,
article.post .postright a,
article.cfa_translations .postright,
article.cfa_translations .postright a {float: right;}

article.post .pinbin-image a,
article.post .pinbin-image a img,
article.cfa_translations .pinbin-image a,
article.cfa_translations .pinbin-image a img {
  display: block;
  position: relative;
  max-width: 100%;
}
article.post .pinbin-image a,
article.post .pinbin-text a,
article.cfa_translations .pinbin-image a,
article.cfa_translations .pinbin-text a {
    overflow: hidden;
    text-decoration: none;
}
article.post .pinbin-image a .pinbin-copy,
article.cfa_translations .pinbin-image a .pinbin-copy {
  position: absolute;
  /*background: rgba(0, 0, 0, 0.75);*/
  width: 100%;
  height: 100%;
}

article.post .pinbin-text,
article.cfa_translations .pinbin-text {
  min-width: 280px;
  max-width: 480px;
  padding: 0;
  display: inline-block;
  padding: 10px 20px;
  box-sizing: border-box;
  background: #eee;
}
article.post .pinbin-text.postright a,
article.cfa_translations .pinbin-text.postright a {text-align: right;}
article.post .pinbin-text a,
article.cfa_translations .pinbin-text a {
  color: #000;
  line-height: 24px;
  font-weight: 200;
}
article.post .pinbin-text a span,
article.cfa_translations .pinbin-text a span {
  color: #000;
  display: inline;
  padding: 1px;
  line-height: 27px;
  font-weight: 200;
  font-size: 15px;
  letter-spacing: 2px;
}

#infscr-loading {
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 50%;
  text-align: center;
  box-sizing: content-box;
  z-index: 900;
  opacity: 1;
  padding: 0;
  display: block;
  background: none;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
}
#infscr-loading img {
    width: 25px;
    margin: 25px;
}
#infscr-loading img:not([style*="display: none"]) {
    -webkit-animation: 2s linear infinite spin;
    -moz-animation: 2s linear infinite spin;
    animation: 2s linear infinite spin;
}




/* Single post navigation
--------------------------------------------------------------*/
.post-nav {
  display: inline;
  float: left;
  margin-left: 10px;
  margin-top: 15px;
}
.post-next a,
.post-prev a {
  text-decoration: none;
  background: #444;
  padding: 8px 9px;
  color: #fafafa;
  font-size: 18px;
  text-transform: uppercase;
  float: right;
  cursor: pointer;
  position: absolute;
}
.post-next a {
  margin-left: 705px;
  margin-top: 15px;
}
.post-prev a {
  position: absolute;
  margin-left: -10px;
  margin-top: 15px;
}
.post-next a:hover,
.post-prev a:hover {
  background: #777;
}

.view-next {
  float: right;
}
.view-previous {
  float: left;
}
.view-previous,
.view-next {
  margin-top: 20px;
  visibility: hidden;
}
.page-template-archivio-template .view-previous,
.page-template-archivio-template .view-next {
  visibility: visible;
}

label {
  display: block;
}

/* Other
--------------------------------------------------------------*/
blockquote {
  font-size: 1em;
  line-height: 23px;
  color: #111;
  margin-left: 20px;
  border-left: 2px solid #111;
  padding-left: 25px;
  margin-top: 15px;
  margin-bottom: 15px;
  max-width: 640px;
  margin: auto;
}
.attachment-full {
  width: 100%;
  height: 100%;
}
select {
  width: 100%;
}
.main-nav select {
  display: none;
}


/* Start: Recommended Isotope styles */

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  transition-duration: 0.8s;
}

.isotope {
  transition-property: height, width;
}

.isotope .isotope-item {
  transition-property: opacity, -webkit-transform;
  transition-property: transform, opacity;
  transition-property: transform, opacity, -webkit-transform;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  transition-duration: 0s;
}

/* End: Recommended Isotope styles */



/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
  transition: none;
}



/*
    swiper
*/
.container {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 640px;
  min-width: 270px;
}
.container .CFAslider {
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  clear: both;
  overflow: hidden;
  transition:all 1s;
}

.CFAslider .swiper-pagination {
  width: 100%;
  max-width: 640px;
  position: initial;
  margin-bottom: 0;
  margin-bottom: 20px;
}
.CFAslider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #000;
  border-radius: 10px;
  cursor: pointer;
}
.gutenberg-swiper-block {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  list-style:none;
}
.gutenberg-swiper-block .gallery-item {
  text-align: center;
  width: 100%;
}
.gutenberg-swiper-block img {
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
}
.gutenberg-swiper-block .gallery-caption {
  margin-left: 0;
}
/* frecce Swiper */
article .prevContainer,
article .nextContainer {
  position: absolute;
  top: 0;
  width: 50%;
  height: 0;
  z-index: 8;
  cursor: pointer;
  transition: top 300ms ease-in-out;
}
article .prevContainer { left: 0; }
article .nextContainer { right: 0; }

.CFAslider .swiper-lazy-preloader {
  -webkit-animation:spin 4s linear infinite;
  -moz-animation:spin 4s linear infinite;
  animation:spin 4s linear infinite;
}
.CFAslider .swiper-lazy-preloader:after { 
  background-image:url(./images/cross-black.svg);
  background-size: 25px;
}


.shareaholic-canvas:before {
   content: "Share this page: ";
}
.shareaholic-canvas {
  margin: 30px 0;
  padding-top: 15px;
  border-top: 5px solid #444;
  border-bottom: 1px solid #444;
}


body .sscf-input-wrapper input,
body .sscf-input-wrapper textarea {
width: 400px;
margin-left: 120px;
}



#archivio {
  margin-bottom: 40px;
  margin-top: 100px;
}
.thumb-archivio img {float: left; transition:all 0.5s;}
.thumb-archivio img:hover {opacity: 0.75;}
.thumb-archivio h3 {
  position: absolute;
  bottom: 0;
  width: 150px;
  padding: 5px;
  display: inline-block;
  z-index: 10;
}
.thumb-archivio h3 a {
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  text-decoration: none;
  display: block;
  width: 100%;
  max-width: 140px;
  padding: 2px 5px;
  background: rgba(0,0,0,0.5);
  border-radius: 2px;
}
.archive-date {
  margin-top: 40px;
  padding: 10px 0;
  border-bottom: 1px solid #000;
  text-transform:capitalize;
  font-weight: normal;
}
.wp-caption,
.wp-block-image figcaption,
.CFAslider figcaption {margin-bottom: 1.5rem; box-sizing: border-box; text-align: center;}

.post-pubdate:before { 
  content: "Last update:";
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
  display:block;
}
.pinbin-copy p.post-pubdate {
    text-align: right;
}
.share-link {
  padding: 50px 25px;
  border-top: 1px solid #ececec;
  text-align: center;
  position: relative;
  z-index: 10;
  background: #fff;
  width: 80vw;
  max-width: 640px;
  margin: 0 auto;
}
.posttags {
  margin: 0 auto;
  text-align: center;
  padding-top: 50px;
  z-index: 1;
  position: relative;
  background: #fff;
  width: 80vw;
  max-width: 640px;
}
.share-link-title, .posttags-title  { 
  margin-top: 10px;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
}
.posttags-title { display: inline; }
.posttags a:before {
  content: "#";
  margin: 0 3px;
}
.share-link ul {
  list-style: none;
  margin: 20px auto;
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  max-width: 480px;
}
.share-link ul li {
    flex: 1 0 auto;
    text-align: center;
}
.share-link ul li img {
  display: inline-block;
  padding: 10px 5px;
  transition: opacity 300ms ease-in-out;
}
.share-link ul li a {
    width: 100%;
    display: inline-block;
    opacity: .5;
    transition: opacity 300ms ease-in-out;
    color: #000;
}
.share-link ul li a:after {
  content: attr(title);
  display: block;
  font-family: 'NeueHaasGroteskDisp Std', serif;
  text-decoration: none!important;
  padding: 0;
  margin-top: -15px;
  font-size: 12px;
  border: none;
}
.share-link ul li a:hover {
  opacity: 1;
}

.share-link-buttons-whatsapp { display:block; }
@media only screen and (min-width: 767px) {
  .share-link-buttons-whatsapp { display:none; }
  .share-link,
  .posttags {
    z-index: 100;
  }
  article .prevContainer,
  article .nextContainer { height: calc(100% - 50px); }
}

a.search_menu {
  cursor: pointer
}



/* media queries
-----------------------------------------------*/
@media (min-width: 1280px) {
  .pinbin-image img {
    width: 100%;
    max-width: 600px;
  }
}
/* For devices with screen size 'til 1280px */
@media only screen and (max-width: 1279px) and (min-width: 1024px) {
  #post-area {
    width: 95%;
    min-width: 960px;
    overflow: hidden;
  }
  #post-area .post,
  #post-area .cfa_translations {
    max-width: 50%;
  }
  .pinbin-image img {
    width: 100%;
    max-width: 480px;
  }

}

/* For devices with screen size lower than 1024px */
@media only screen and (max-width: 1023px) {
    #post-area {
      width: 750px;
    }
    #post-area .post,
    #post-area .post img,
    #post-area .cfa_translations,
    #post-area .cfa_translations img {
      max-width: 320px;
      margin: 0 auto;
      float: none;
    }
    #post-area .post,
    #post-area .cfa_translations {
      margin: 10px auto;
    }
    .home .pinbin-copy p small,
    .archive .pinbin-copy p small {
      font-size: 1.25rem;
      margin: 5px 0 0 0;
      display: block;
    }
    .home .pinbin-copy p {
      line-height: 22px;
      margin: 15px;
    }
    .home .pinbin-copy p strong {
      font-size: 20px;
      line-height: 22px;
    }

    #closemenu {display: none;}

    #wrap .category-description { width: 75%;}

}

/* For devices with screen size lower than 768px */
@media only screen and (max-width: 767px) {
  #post-area {
    width: 640px;
    margin: 200px auto 0 auto;
    clear: both;
  }
  .archive.category #post-area {
    margin-top: 0px;
  }

  #post-area .post,
  #post-area .post img,
  #post-area .cfa_translations,
  #post-area .cfa_translations img {
    width: 640px;
    max-width: 640px;
    float: none;
    display: inline-block;
  }
  #post-area .post,
  #post-area .cfa_translations {
    margin: 15px auto;
  }
  article.post .pinbin-image a,
  article.post .pinbin-text a,
  article.cfa_translations .pinbin-image a,
  article.cfa_translations .pinbin-text a {
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }
  a.nextpostlink {
  margin: 20px auto 70px auto;
  }

  #post-area {
    width: 100%;
  }

  #post-area .post,
  #post-area .post img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .size-medium,
  .attachment-medium,
  .wp-caption img {
    width: 100%;
    max-width: 320px;
  }
  #post-area .post {
    margin: 5px 0;
    display: inline-block;
    box-sizing: content-box;
    width: 100%;
  }
  .container .CFAslider {
    margin-left: -10%;
    margin-right: -10%;
    width: 120%;
  }
  #gallery-2 .gallery-caption {
    padding: 0 8% 40px 8%;
  }

}



.gallery-caption,
.pinbin-copy p.wp-caption-text,
.wp-block-image figcaption,
.wp-block-gallery figcaption,
.CFAslider figcaption {
  font-size: 1.15rem;
  line-height: 1.75rem;
  margin: 1em;
  padding-bottom: 0em;
}

.widget_wysija_cont {
    display: inline-block;
    width: 100%;
}
@media only screen and (max-width: 767px) {
  p.wysija-paragraph {
    width: 90%;
  }
}

.widget_wysija_cont .wysija-paragraph input {
  width: 100%;
  max-width: 250px;
  height: 60px;
  background: transparent;
  border-bottom: 5px solid #fff;
  color: #fff;
}
.widget_wysija_cont .wysija-paragraph textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 1.75rem;
}
span.wpcf7-not-valid-tip { color: #fff; }
.widget_wysija_cont .updated {
  font-family: 'NeueHaasGroteskDisp Std', sans-serif;
  font-size: 2rem;
  border: 1px solid #000;
  border-radius: 3px;
  color: #fff;
  background: #000;
  text-align: center;
  margin: 40px 0;
  padding: 20px;
}
div.wpcf7-validation-errors {
  border: 1px solid #FFCC33;
  color: #FFCC33;
  text-align: center;
  padding: 20px;
  margin: 0;
  background: #000;
  clear: both;
}

/* WPGlobus adds some weird span to translated article text */
.home #modal .post .pinbin-copy p span {
  padding: 0;
  font-size: 1.8rem;
  line-height: 3rem;
  color: #333;
  text-align: justify;
  margin: 0;
  position: initial;
  text-transform: initial;
  background: none;
}
#menu-pad li#lang-switch {
  background: transparent;
  line-height: 16px;
  text-align: center;
  font-size: 11px;
  cursor: initial;
  color: #888;
}

.text-left {text-align: left;}
.text-center {text-align: center;}
.text-right {text-align: right;}

.page-template-residency-page .pinbin-copy {
  width: 100%;
  max-width: 100vw;
  height: 100%;
  min-height: 400px;
  padding: 2% 25%;
  margin: 0 auto 50px auto;
  overflow: hidden;
  text-align: justify;
}
.page-template-residency-page .has-post-thumbnail .pinbin-copy a {color: #fff; text-decoration: underline;}
.page-template-residency-page .has-post-thumbnail .pinbin-copy > span {
  background: rgba(0,0,0,0.5);
    display: block;
    clear: both;
    float: none;
    padding: 5px 10px;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
  .page-template-residency-page .pinbin-copy {
      width: 100%;
      padding: 2% 8%;
  }
  li#menu-item-113869 {order: 0;}
  li#menu-item-94493 {order: 1;}
  li#menu-item-113787 {order: 2;}
  li#menu-item-94494 {order: 3;}
  li#menu-item-94491 { order: 4;}
  li#menu-item-113788 {order: 5;}
  li#menu-item-94492 { order: 6; }
}

/*  FIX GUTEMBERG COLUMNS BLOCK (DOH!) */
@media (min-width: 600px) {
  .wp-block-column {
    flex-basis: 100%;
  }
}
@media (min-width: 768px) {
  .wp-block-column:nth-child(odd) {
    margin-right:32px;
  }
  .wp-block-column:not(:first-child),
  .wp-block-column:nth-child(2n) {
    margin-left: 32px
  }
  .wp-block-column:not(:last-child) {
    margin-right: 32px;
  }
  .wp-block-column:last-child {
    margin-right: 0;
  }
}

.explore-columns {
  text-align: center;
}
@media (min-width: 802px) {
  .explore-columns {
    text-align: left;
  }
}

.no-underline a { text-decoration: none; }


/* EXHIBITION BANNER */
#exhibition-banner {
  position: relative;
  top: 180px;
  width: 100%;
  min-height: 50vh;
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: flex-end;
}
#exhibition-banner a {
  display: block;
  font-size: 14px;
  -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, 0.5);
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  line-height: 26px;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0 25px;
}
#exhibition-banner a h4 {
  font-size: 14px;
}
#exhibition-banner a h2 {
  margin: 0;
  font-weight: 700;
  
  font-size: 30px;
  line-height: normal;
  text-transform: initial;
}
#exhibition-banner a p {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  padding: 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 16px;
  text-transform: none;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}
#post-area .post.category-online-exhibitions img { float: left; }


@media screen and (min-width: 768px) {
  #exhibition-banner {
    top: 180px;
    min-height: 275px;
    flex-flow: row nowrap;
    justify-content: center;
    border-radius: 2px;
    text-align: center;
    background-size: 110%;
  }
  #wrap.with-exhibition {
    margin-top: 190px;
  }
  #exhibition-banner a {
    flex: 0 0 33%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 33%;
  }
  #exhibition-banner a p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}


button.micrio-switch {
    font: 700 16px/32px 'NeueHaasGroteskDisp Std', sans-serif;
    color: #fff;
    text-transform: uppercase;
    background: #FFCC33;
    border: none;
    border-radius: 3px;
    padding: 5px 20px;
    margin: 20px auto;
    display: block;
    text-align: center;
    outline: none !important;
}


/* ADV STUFF */
.post-spinsert .spb {
  max-width: 100%
}
.post-spinsert .spi {
  width: 100%;
  max-width: 100%;
}
.post-spinsert .spi img {
  width: 100%;
  max-width: 100%;
}
.post-spinsert .spc {
  position: absolute;
  bottom: 10px;
  left: 15px;
  width: calc(100% - 30px);
  height: auto;
  min-height: 175px;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  background: rgba(255,255,255, 0.5);
  box-sizing: border-box;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  text-align: center;
}
.post-spinsert .spc p { margin: 0 auto; }
#post-area .post-spinsert .spc img {
  width: 150px;
}

@media all and (min-width: 769px) {
  .post-spinsert .spc {
    opacity: 0;
    transition: opacity 500ms ease-in-out;
    background: rgba(255,255,255, 0.5);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    text-align: center;
  }  
  .post-spinsert:hover .spc {
    opacity: 1;
  }
  .post-spinsert .spc img {
    width: 175px;
  }
}


article.type-post:not(.isotope-item):after {
    background: linear-gradient(180deg, rgba(222,222,222,0.5) 0%, rgba(222,222,222,0.25) 5%, rgba(222,222,222,0) 100%);
    background-repeat: no-repeat;
    content: '';
    width: 100%;
    display: inline-block;
    position: absolute;
}


#post-area.append-posts {
    margin-top: 125px;
}


/* DEFAULT PAGE TEMPLATE */
body.page-template-default,
.page-template-default .sidemenu,
body.page-template-page-CFAlive,
.page-template-page-CFAlive .sidemenu,
body.tribe-events-page-template,
.tribe-events-page-template .sidemenu {
  background: #000;
  //color: #fff;
}
.page-template-default #main-nav-wrapper #logo svg path,
.page-template-default #hambmenu-icon rect,
.page-template-page-CFAlive #main-nav-wrapper #logo svg path,
.page-template-page-CFAlive #hambmenu-icon rect,
.tribe-events-page-template #main-nav-wrapper #logo svg path,
.tribe-events-page-template #hambmenu-icon rect  {
    fill: #fff;
}
.page-template-default .pinbin-copy,
.page-template-default .sidemenu .menu li a,
.page-template-default .sidemenu .menu #lang-switcher span,
.page-template-default p a,
.page-template-default #showmehome,
.page-template-page-CFAlive .pinbin-copy,
.page-template-page-CFAlive .sidemenu .menu li a,
.page-template-page-CFAlive .sidemenu .menu #lang-switcher span,
.page-template-page-CFAlive p a,
.page-template-page-CFAlive #showmehome,
.tribe-events-page-template .pinbin-copy,
.tribe-events-page-template .sidemenu .menu li a,
.tribe-events-page-template .sidemenu .menu #lang-switcher span,
.tribe-events-page-template p a,
.tribe-events-page-template #showmehome {
    color: #fff;
}
.page-template-default #site-navigation,
.page-template-page-CFAlive #site-navigation,
.tribe-events-page-template #site-navigation { 
  position: fixed;
  z-index: 10;
}
.page-template-default #site-navigation.menu-open,
.page-template-page-CFAlive #site-navigation.menu-open,
.tribe-events-page-template #site-navigation.menu-open { 
  z-index: 10;
}
.page-template-default #hambmenu,
.page-template-page-CFAlive #hambmenu,
.tribe-events-page-template #hambmenu { position: fixed;  }

.page-template-default .pinbin-copy h2+.wp-block-group p,
.page-template-page-CFAlive .pinbin-copy h2+.wp-block-group p {
    padding-top: 0;
    padding-bottom: 30px;
}
.page-template-default .pinbin-copy p a,
.page-template-page-CFAlive .pinbin-copy p a,
.tribe-events-page-template .pinbin-copy p a {
  text-decoration: none;
}
.page-template-page-CFAlive .pinbin-copy p a {
  display: inline-block;
  opacity: 1;
  transition: opacity 200ms ease-in-out;
}
.page-template-page-CFAlive .pinbin-copy p a:hover {
  opacity: .5;
}
.page-template-default .pinbin-copy p strong,
.page-template-default .pinbin-copy p b,
.page-template-default .pinbin-copy h2 b,
.page-template-default .pinbin-copy h2 strong,
.page-template-page-CFAlive .pinbin-copy p strong,
.page-template-page-CFAlive .pinbin-copy p b,
.page-template-page-CFAlive .pinbin-copy h2 b,
.page-template-page-CFAlive .pinbin-copy h2 strong,
.tribe-events-page-template .pinbin-copy p strong,
.tribe-events-page-template .pinbin-copy p b,
.tribe-events-page-template .pinbin-copy h2 b,
.tribe-events-page-template .pinbin-copy h2 strong {
  text-decoration: underline;
  letter-spacing: 0.5px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 5px;
}
.page-template-default .pinbin-copy .wp-block-spacer,
.page-template-page-CFAlive .pinbin-copy .wp-block-spacer,
.tribe-events-page-template .pinbin-copy .wp-block-spacer {
    clear: both;
    flex: 1 0 100%;
}
.page-template-default .pinbin-copy h2 + .wp-block-group,
.page-template-page-CFAlive .pinbin-copy h2 + .wp-block-group,
.tribe-events-page-template .pinbin-copy h2 + .wp-block-group {
    padding-top: 0;
}
.page-template-default #uplink:before, 
.page-template-default #uplink:after,
.page-template-page-CFAlive #uplink:before, 
.page-template-page-CFAlive #uplink:after,
.tribe-events-page-template #uplink:before, 
.tribe-events-page-template #uplink:after {
  background-color: #fff;
}

.page-template-default .pinbin-copy .mailerlite-form,
.page-template-page-CFAlive .pinbin-copy .mailerlite-form {
  position: relative;
  max-width: 640px;
}
.page-template-default .pinbin-copy .mailerlite-form input[type=text],
.page-template-page-CFAlive .pinbin-copy .mailerlite-form input[type=text],
.page-template-default .pinbin-copy .mailerlite-form input[type=email],
.page-template-page-CFAlive .pinbin-copy .mailerlite-form input[type=email],
#searchform input[type=text],
.wp-block-search input[type=search] {
    background-color: #000;
    border: none;
    border-bottom: 3px solid #fff;
    color: #fff9;
    font-size: 30px;
    line-height: 38px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 0 0 0;
    outline: none;
}

.page-template-default .pinbin-copy .mailerlite-form button[type=submit],
#searchform input[type=submit],
.wp-block-search button[type=submit] {
  
  font-size: 36px;
  background-color: #000;
  color: #fff;
  border: none;
  margin: 40px auto 100px auto;
  transition: 300ms ease-in-out;
}
.page-template-default .pinbin-copy .mailerlite-form button[type=submit]:hover,
.page-template-default .pinbin-copy .mailerlite-form button[type=submit]:active,
#searchform input[type=submit]:hover,
#searchform input[type=submit]:active,
.wp-block-search button[type=submit]:hover,
.wp-block-search button[type=submit]:active {
  font-size: 38px;
  color: #fff5
}
#searchform,
.wp-block-search {
  display: flex;
  flex-flow: row nowrap;
  padding: 0;
}
#searchform input[type=text],
.wp-block-search input[type=search] { max-width: 250px; padding-top: 0; }
#searchform input[type=submit],
.wp-block-search button[type=submit] { margin: 0 10px; }

@media (min-width: 767px) {
  .page-template-default .pinbin-copy h2,
  .page-template-default .pinbin-copy h2 + p,
  .page-template-default .pinbin-copy h2 + .wp-block-group,
  .page-template-default .pinbin-copy h2 + .wp-block-search,
  .page-template-default .pinbin-copy .mailerlite-form label,
  .page-template-default .pinbin-copy mailerlite-form input,
  .page-template-page-CFAlive .pinbin-copy h2,
  .page-template-page-CFAlive .pinbin-copy h2 + p,
  .page-template-page-CFAlive .pinbin-copy h2 + .wp-block-group,
  .page-template-page-CFAlive .pinbin-copy h2 + .wp-block-search,
  .page-template-page-CFAlive .pinbin-copy fmailerlite-form label {
    flex: 0 0 calc(50%);
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
    word-break: break-word;
    letter-spacing: 0px;
  }
  .page-template-default .pinbin-copy h2,
  .page-template-page-CFAlive .pinbin-copy h2,
  .tribe-events-page-template .pinbin-copy h2 {
    padding: 20px 20px 20px 0;
    text-transform: initial;
  }
  .tribe-events-page-template .pinbin-copy h2 { text-transform: uppercase; }
}


.mailerlite-form-title {
  display: none;
}
.page-template-default .pinbin-copy .mailerlite-form label {
  text-align: left;
  padding: 40px 0 0 0;
}
.page-template-default .pinbin-copy .mailerlite-form input[type=text],
.page-template-page-CFAlive .pinbin-copy .mailerlite-form input[type=text],
.page-template-default .pinbin-copy .mailerlite-form input[type=email],
.page-template-page-CFAlive .pinbin-copy .mailerlite-form input[type=email] {
  padding: 5px 0 0 0;
  color: #fff;
}
span.mailerlite-form-error {
  padding: 10px 0;
  text-align: left;
  color: #fff;
  font-weight: 700;
}


/* lightbox */
.gslide-media.gslide-external { background-color: transparent; }
.page-template-lightbox-page {
  background: transparent;
  color: #fff;
}
.page-template-lightbox-page.page .pinbin-copy ,
.page-template-lightbox-page figure.wp-block-image, figure.wp-block-gallery {
  margin: 0 auto
}
.page-template-lightbox-page .container .CFAslider,
.page-template-lightbox-page .swiper-container-autoheight .swiper-slide { 
  height: 100vh;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: space-evenly;
}
.page-template-lightbox-page .swiper-container-autoheight .swiper-slide img { 
  height: 300px;
  max-height: none;
  width: auto;
  max-width: 100%;
}
.page-template-lightbox-page .wp-block-image figcaption,
.page-template-lightbox-page .wp-block-gallery figcaption { color: #fff; }
.page-template-lightbox-page .CFAslider .swiper-pagination-bullets {
  position: relative;
  bottom: 20px;
}
@media (min-width: 767px) {
  .page-template-lightbox-page .swiper-container-autoheight .swiper-slide img { 
      height: 400px;
      max-height: none;
      width: auto;
      max-width: 100%;
  }
  .glightbox-open .glightbox-clean .gclose { opacity: 1 }
}

.glightbox-mobile .gslide-external { max-height: 85vh; }
.glightbox-clean .gnext,
.glightbox-clean .gprev { opacity: 0 }

.error404 .page404exits {
  display: inline-block;
  text-align: left;
}


#uplink,
#showmehome {
  outline: none;
  position: fixed;
  bottom: 5px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  border-radius: 2px;
  z-index: 10;
  opacity: .75;
  transition: opacity 150ms ease-in-out;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: #fff;
}
.page-template-default #uplink,
.page-template-default #showmehome,
.page-template-page-CFAlive #uplink,
.page-template-page-CFAlive #showmehome,
.tribe-events-page-template #uplink,
.tribe-events-page-template #showmehome { background-color: #000; }

#uplink:hover,
#showmehome:hover { opacity: 1 }
#uplink:before,
#uplink:after {
  content: "";
  position: absolute;
  top: 22px;
  left: 12px;
  width: 15px;
  height: 1px;
  border-radius: 0;
  background-color: #000;
  transform: rotate(-50deg);
  display: inline-block;
}
#uplink:after {
  left: initial;
  right: 13px;
  transform: rotate(50deg);
}
#showmehome {
  left: 15px;
  right: initial;
  padding: 15px 5px 15px 15px;
  height: 20px;
  font-size: 22px;
  line-height: 20px;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  background: #fff;
  
  font-weight: 700;
  width: 68px;
}

.page-template-page-CFAlive .pinbin-copy { margin-bottom: 50px; }

body #cookie-notice .cookie-notice-container {
    min-width: 250px;
    width: 250px;
    background-color: rgba(255,255,255,1)!important;
    border: 1px solid #666;
    position: fixed;
    top: 200px;
    left: 50vw;
    transform: translateX(-50%);
    padding: 15px;
    font-family: 'NeueHaasGroteskDisp Std', serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

#cookie-notice #cn-close-notice {
    position: absolute;
    top: 10px;
    right: 1px;
    padding: 12px;
    opacity: 1;
    zoom: .75;
}

#cookie-notice .cn-close-icon:before,
#cookie-notice .cn-close-icon:after {
    top: 5px;
    left: 11px;
    background-color: #000!important;
    width: 1px;
    height: 14px;
}

body #cookie-notice .cn-button {
    background-color: #000;
    color: #fff;
    
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.25px;
    float: right;
    line-height: normal;
    margin: 0;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    touch-action: manipulation;
    white-space: nowrap;
    outline: none;
    box-shadow: none;
    text-shadow: none;
    border: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-decoration: none;
    padding: 8.5px 10px;
}

#cookie-notice #cn-notice-text {
    margin: 0 0 15px 0px;
    text-align: left;
    width: 100%;
}
#cookie-notice #cn-notice-buttons {
    margin: 0;
    width: 100%;
}

@media (min-width: 767px) {
  body #cookie-notice .cookie-notice-container {
      min-width: 350px;
      width: 350px;
      padding: 30px 30px 15px 30px;
      font-size: 15px;
      line-height: 20px;
  }
  #cookie-notice a#cn-close-notice {
      top: 20px;
      right: 11px;
  }
  #cookie-notice #cn-notice-text {
    margin: 0 0 25px 0px;
  }
}

