/*Hiding feature image on Terra Page*/
body.bosca.terra-page .rey-siteMain>.rey-postMedia.rey-postThumbnail {
  display: none !important;
}

body.bosca .rey-toggleBoxes--default .rey-toggleBox-text-main {
  outline: none !important;
}

body.bosca .rey-newsletterForm .mc4wp-response .mc4wp-alert,
body.bosca .rey-newsletterForm .mc4wp-response .mc4wp-success,
body.bosca .rey-newsletterForm .mc4wp-response p {
  color: #c2c9c4;
  font-weight: bold;
  font-size: 14px;
}

/* Sidebar Login Form */
body.bosca .rey-accountForms-links a,
body.bosca .rey-accountForms-links a:hover {
  font-family: 'Gotham-Medium', sans-serif;
  font-size: .8125rem;
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  color: #000;
  letter-spacing: 0.3px;
  min-height: 18px;
  font-style: normal;
  line-height: 1.2;
}

body.bosca .rey-accountForms .col.text-right {
  min-height: 22px;
  display: flex;
  align-items: center;
}

/* Post title  */
body.bosca .rey-postList .rey-postTitle, 
body.bosca .rey-postList .rey-postTitle a,
body.bosca .rey-postList .rey-postTitle .rey-hvLine {
  color: #000000;
  font-family: 'PlayfairDisplay-Regular', sans-serif;
  font-size: 35px;
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  text-transform: capitalize;
  line-height: 1;
  margin-left: 0;
  margin-right: 0;
}
@media only screen and (max-width:767px) {
  body.bosca .rey-postList .rey-postTitle, 
  body.bosca .rey-postList .rey-postTitle a,
  body.bosca .rey-postList .rey-postTitle .rey-hvLine {
    font-size: 30px;
  }
}

/* Single Post  */
@media only screen and (min-width:769px) {
  body.bosca.single-post .rey-postTitle.entry-title {
    font-size: 45px;
  }
}
body.bosca.single-post .rey-postThumbnail {
  max-width: 666px;
  margin-left: 0;
  margin-right: 0;
}
body.bosca.single-post .rey-postThumbnail img {
  max-height: 500px;
  object-fit: cover;
  object-position: 50% 50%;
}
body.bosca.single-post .rey-postContent a {
  font-size: 1.125rem;
  color: #B6A269;
  text-decoration: underline;
}
.rey-postContent > p > a:after,
.rey-postContent a:after {
  height: 1px;
  opacity: .6;
}

/* Post Category */
body.bosca .rey-postCategories li a {
  color: #ffffff;
  background: #B6A269;
  font-size: 12px;
}

/* line spacing on filter list */
body.bosca .reyajfilter-layered-nav ul, 
body.bosca .woocommerce-widget-layered-nav ul {
  line-height: 2.5;
}
body.bosca .reyajfilter-active-filters a:hover {
  font-size: 10px;
  text-transform: uppercase;
  line-height: 1;
}

/* Booknetic Modal */
body.bosca .rey-modalSection[data-rey-modal-id="#modal-60b66634d8cb7"] .rey-modalSection-inner {
    max-width: -moz-fit-content !important;
    max-width: fit-content !important;
}
@media only screen and (width:768px) { 
  body.bosca .rey-modalSection[data-rey-modal-id="#modal-60b66634d8cb7"] .booknetic-modal {
    overflow-x: hidden;
  }
}
@media only screen and (max-width:767px) {
  body.bosca .rey-modalSection[data-rey-modal-id="#modal-60b66634d8cb7"] .rey-modalSection-close.--outside {
      right: 10px !important;
      top: -15px !important;
  }
  body.bosca .rey-modalSection[data-rey-modal-id="#modal-60b66634d8cb7"] .rey-modalSection-inner {
    max-width: 100vw !important;
  }
  body.bosca .rey-modalSection[data-rey-modal-id="#modal-60b66634d8cb7"] .booknetic-modal {
    max-width: calc(100vw - (var(--col-gutter-size-left)*2));
    max-height: inherit;
  }
  body.bosca .rey-modalSection[data-rey-modal-id="#modal-60b66634d8cb7"] .booknetic_appointment {      
    height: auto !important;
    margin-top: 20px;
    overflow-y: auto;
    max-height: 90vh;
    max-height: -webkit-fill-available;
  }
  body.bosca .rey-modalSection[data-rey-modal-id="#modal-60b66634d8cb7"] .booknetic_appointment_container_body {
      padding: var(--col-gutter-size-left);
      padding-bottom: 100px;
      min-height: auto;      
  }
}

@media only screen and (max-width:767px) {
  @supports (-webkit-appearance:none) {
     body.bosca .rey-modalSection[data-rey-modal-id="#modal-60b66634d8cb7"] .rey-modalSection-inner {
      max-height: calc(100vh - 150px) !important;
      margin-bottom: 100px;
    }
  }
}

/* Menu gap  */
@media only screen and (max-width: 1200px) {
  body.bosca .rey-mainMenu--desktop .menu-item.depth--0 {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}

/* Languages Weglot */
body.bosca .reyEl-menu--horizontal .reyEl-menu-nav>li.weglot-lang {
  margin-right: 0.5em !important;
}
body.bosca .reyEl-menu--horizontal .reyEl-menu-nav>li.weglot-lang:last-of-type {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Menu Recent Icon */
body.bosca .rey-mainMenu--desktop.rey-mainMenu--desktop .menu-item.--badge-green>a span .--menu-badge {
  width: 16px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15.778' height='19.841' viewBox='0 0 15.778 19.841'%3E%3Cpath d='M210.6,100.756H210.6c-5.179-.6-7.291-3.389-7.742-9.779-.024,0-.119.007-.144.007s-.12-.007-.144-.007c-.348,6.44-2.492,9.112-7.737,9.779h0a1.285,1.285,0,0,1,0,.282c5.248.665,7.393,3.338,7.742,9.78.024,0,.12-.008.144-.008s.119.007.143.007c.451-6.391,2.564-9.182,7.748-9.785A2.036,2.036,0,0,1,210.6,100.756Z' transform='translate(-194.827 -90.977)' fill='%23a8864c'/%3E%3C/svg%3E");  
}

body.bosca ul.products li.product.rey-wc-skin--proto .rey-productInner .rey-productThumbnail {
  background-color: #F9F9F9 !important;
}
body.bosca ul.products li.product.rey-wc-skin--proto .rey-productInner,
body.bosca ul.products li.product.rey-wc-skin--proto .rey-loopDetails {
  background-color: #ffffff !important;
}

/* Product Grid Styles */
body.bosca ul.products li.product .rey-productThumbnail,
body.bosca .rey-searchItem-thumbnail {
    margin-bottom: 2rem;
}
body.bosca .rey-searchItem-thumbnail {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}
body.bosca ul.products li.product .rey-productCategories a {
    text-transform: uppercase;
}
body.bosca ul.products li.product .rey-productCategories {
    opacity: 1;
    color: #969696;
}
body.bosca.woocommerce ul.products li.product .rey-productCategories,
body.bosca ul.products li.product .woocommerce-Price-amount,
body.bosca ul.products li.product .add_to_cart_button,
body.bosca .rey-searchItem-price,
body.woocommerce.bosca div.product .price .woofrom {
    font-size: 14px;
    font-family: 'Gotham-Medium';
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 500;
    color: #969696;
    text-align: center;
}
body.bosca ul.products li.product .add_to_cart_button {font-size: 12px; font-weight: 600;}
body.bosca ul.products li.product .rey-loopButtons a {font-size: 12px; font-weight: 600; text-transform: uppercase !important;}

body.bosca ul.products li.product .add_to_cart_button,
body.bosca ul.products li.product .woocommerce-Price-amount,
body.bosca .rey-searchItem-price,
body.woocommerce.bosca .product .price .woofrom {
    color: #000000;
}
body.woocommerce.bosca .product .price .woofrom {
  padding-right: 5px;
  display: none;
}
body.bosca ul.products li.product .woocommerce-loop-product__title {
    display: flex;
    align-items: center;
    justify-content: center;
}
body.bosca.woocommerce ul.products li.product .rey-brandLink,
body.bosca ul.products li.product .woocommerce-loop-product__title,
body.bosca ul.products li.product .woocommerce-loop-product__title a,
body.bosca .rey-searchItem-title {
    font-size: 18px;
    font-family: 'Gotham-Medium';
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}
@media only screen and (min-width:1024px) { 
  body.bosca ul.products li.product .woocommerce-loop-product__title a,
  body.bosca .rey-searchItem-title {
    display: inline-block;
    word-break: break-word;
  }
}
body.bosca ul.products li.product .rey-productLoop-footer {
    margin-top: 1.7em;
}
body.bosca .woocommerce-price-suffix {
    display: none !important;
}

@media only screen and (max-width:40em) {
    body.bosca ul.products li.product .add_to_cart_button, body.bosca ul.products li.product .woocommerce-Price-amount, 
    body.bosca .rey-searchItem-price,
    body.bosca ul.products li.product .rey-productCategories a,
    body.woocommerce.bosca div.product .price .woofrom {
      font-size: 12px !important;
    }
    body.bosca ul.products li.product .woocommerce-loop-product__title,
    body.bosca ul.products li.product .woocommerce-loop-product__title a {
        font-size: 14px !important;
    }
}

body.theme-rey.woocommerce ul.products li.product.rey-wc-skin--proto .button.rey-btn--under, 
body.theme-rey.woocommerce ul.products li.product.rey-wc-skin--proto .button.rey-btn--hover {
  color: #000000;
}
body.theme-rey.woocommerce ul.products li.product.rey-wc-skin--proto .button.rey-btn--under:hover, 
body.theme-rey.woocommerce ul.products li.product.rey-wc-skin--proto .button.rey-btn--hover:hover,
body.theme-rey.woocommerce ul.products li.product .rey-wishlistBtn .rey-wishlistBtn-icon:hover {
  color: #B6A269;
}

body.theme-rey .rey-siteHeader.--scrolled ~ .rey-siteHeader-helper {
  /* display: none; */
  background-color: #f9f9f9;
  margin-right: var(--main-gutter-size);
  margin-left: var(--main-gutter-size);
}

/* Product button || Footer Newsletter button */
body.theme-rey .bosca-btn,
body.theme-rey .rey-cartBtnQty button[type="submit"],
body.theme-rey .mc4wp-form-theme input[type="submit"],
body.theme-rey.woocommerce-cart .wc-proceed-to-checkout a.button.checkout-button {
  min-height: 45px;
  margin: 0;
  color: #f9f9f9!important;
  border-radius: 0;
  box-shadow: none;
  font-family: 'Gotham-Medium' !important;
  font-size: 12px!important;
  font-weight: 500!important;
  text-transform: uppercase!important;
  text-decoration: none!important
  line-height: 14px!important;
  letter-spacing: 0.3px!important;
  background-color: #000!important;
  max-width: 510px;
}
body.theme-rey .bosca-btn:hover,
body.theme-rey .rey-cartBtnQty button[type="submit"]:hover,
body.theme-rey .mc4wp-form-theme input[type="submit"]:hover,
body.theme-rey.woocommerce-cart .wc-proceed-to-checkout a.button.checkout-button:hover {
  color: #FFFFFF!important;
  background-color: #B6A269!important;
}

body.theme-rey .mc4wp-form-theme ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgba(150,150,150,1) !important;
}
body.theme-rey .mc4wp-form-theme ::-moz-placeholder { /* Firefox 19+ */
  color: rgba(150,150,150,1) !important;
}
body.theme-rey .mc4wp-form-theme :-ms-input-placeholder { /* IE 10+ */
  color: rgba(150,150,150,1) !important;
}
body.theme-rey .mc4wp-form-theme :-moz-placeholder { /* Firefox 18- */
  color: rgba(150,150,150,1) !important;
}

body.theme-rey input[type="datetime"],
body.theme-rey input[type="email"], 
body.theme-rey input[type="number"], 
body.theme-rey input[type="password"], 
body.theme-rey input[type="search"],
body.theme-rey input[type="tel"], 
body.theme-rey input[type="text"], 
body.theme-rey input[type="url"],
body.theme-rey input[type="name"],
body.theme-rey input[type="file"] {
  min-height: 45px;
  width: 100%;
  outline: none !important;
}

body.theme-rey input[type="file"] {
  border: none !important;
}

body.theme-rey input[type="date"]:focus,
body.theme-rey input[type="email"]:focus,
body.theme-rey input[type="tel"]:focus,
body.theme-rey input[type="text"]:focus,
body.theme-rey input[type="url"]:focus,
body.theme-rey input[type="name"]:focus,
body.theme-rey input[type="file"]:focus,
body.theme-rey textarea:focus,
body.theme-rey select:focus,
body.theme-rey input[type="date"]:active,
body.theme-rey input[type="email"]:active,
body.theme-rey input[type="tel"]:active,
body.theme-rey input[type="text"]:active,
body.theme-rey input[type="url"]:active,
body.theme-rey input[type="name"]:active,
body.theme-rey input[type="file"]:active,
body.theme-rey textarea:active,
body.theme-rey select:active {
  box-shadow: none !important;
}

body.theme-rey .mc4wp-form-theme input[type="date"],
body.theme-rey .mc4wp-form-theme input[type="email"], 
body.theme-rey .mc4wp-form-theme input[type="tel"], 
body.theme-rey .mc4wp-form-theme input[type="text"], 
body.theme-rey .mc4wp-form-theme input[type="url"],
body.theme-rey .mc4wp-form-theme input[type="name"],
body.theme-rey .mc4wp-form-theme input[type="file"],
body.theme-rey .mc4wp-form-theme textarea,
body.theme-rey .mc4wp-form-theme select {
  font-family: "Gotham-Medium", Sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  font-style: normal;
  text-decoration: none;
  line-height: 1.3em;
  letter-spacing: 0.3px;
  color: rgba(150,150,150,.8);
  background-color: #FFFFFF;
  border: 1px solid rgba(44,44,44,.8);
  border-radius: 0;
  outline: none;
  padding: 14px 14px 14px 14px;  
}

body.theme-rey .mc4wp-form-theme input[type="date"]:focus,
body.theme-rey .mc4wp-form-theme input[type="email"]:focus,
body.theme-rey .mc4wp-form-theme input[type="tel"]:focus,
body.theme-rey .mc4wp-form-theme input[type="text"]:focus,
body.theme-rey .mc4wp-form-theme input[type="url"]:focus,
body.theme-rey .mc4wp-form-theme input[type="name"]:focus,
body.theme-rey .mc4wp-form-theme input[type="file"]:focus,
body.theme-rey .mc4wp-form-theme textarea:focus,
body.theme-rey .mc4wp-form-theme select:focus,
body.theme-rey .mc4wp-form-theme input[type="date"]:active,
body.theme-rey .mc4wp-form-theme input[type="email"]:active,
body.theme-rey .mc4wp-form-theme input[type="tel"]:active,
body.theme-rey .mc4wp-form-theme input[type="text"]:active,
body.theme-rey .mc4wp-form-theme input[type="url"]:active,
body.theme-rey .mc4wp-form-theme input[type="name"]:active,
body.theme-rey .mc4wp-form-theme input[type="file"]:active,
body.theme-rey .mc4wp-form-theme textarea:active,
body.theme-rey .mc4wp-form-theme select:active {
  border: 1px solid rgba(182,162,105,1) !important;
  color: rgba(150,150,150,1) !important;
}
body.theme-rey .mc4wp-form-theme input[type="submit"] {
  border: 1px solid rgba(44,44,44,.8);
  width: 100%;
}
body.theme-rey .mc4wp-form-theme input[type="submit"]:focus {
  border: 1px solid rgba(182,162,105,.8);
}
body.theme-rey .mc4wp-form-fields label,
body.theme-rey .mc4wp-form-fields label a {
  position: relative;
  display: flex;
  padding-left: 30px;
  color: #fff;
  font-family: 'Gotham-Book' !important;
  font-size: 12px;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0.3px;
  margin-bottom: 0;
  cursor: pointer;
  line-height: inherit;
}
body.theme-rey .mc4wp-form-fields label a {
  padding-left: 0;
  margin-left: 5px;
  text-decoration: underline;
}
body.theme-rey .mc4wp-form-fields label a:hover {
  color: rgba(182,162,105,.8);
}
body.theme-rey .mc4wp-form-fields label input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
body.theme-rey .mc4wp-form-fields label .__checkbox {
  width: 16px;
  height: 16px;
  position: absolute;
  cursor: pointer;
  left: 0;
  border: 1px solid rgba(182,162,105,.8);
  top: 50%;
  transform: translateY(-50%);
}
body.theme-rey .mc4wp-form-fields label .__checkbox:before {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  width: 6px;
  height: 9px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
  opacity: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(45deg) scale(0.9);
  transform: translate(-50%, -50%) rotate(45deg) scale(0.9);
}
body.theme-rey .mc4wp-form-fields label input[type="checkbox"]:checked + .__checkbox {
  border: 1px solid rgba(182,162,105,.8);
  background-color: rgba(182,162,105,.8);
}
body.theme-rey .mc4wp-form-fields label input[type="checkbox"]:checked + .__checkbox:before {
  opacity: 1;
}

/* Header Search Menu */
body.theme-rey .rey-searchMenu a {
    font-size: 12px;
}

/* Filter close button on mobile */
body.theme-rey .rey-filterPanel .rey-sidePanel-close {
  color: #000000;
}

/* Cart close button */
body.theme-rey .rey-cartPanel .rey-cartPanel-close {
  color: #000;
  height: 1rem;
  width: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
body.theme-rey .rey-cartPanel .woocommerce-mini-cart__buttons .wc-forward {
  font-size: 12px;
  padding: .875rem 0 !important;
  margin-top: 20px;
  line-height: 1.5;
}
body.theme-rey .rey-cartPanel .woocommerce-mini-cart__buttons+.woocommerce-mini-cart__buttons #woo_pp_ec_button_mini_cart {
  width: 100%;
}

/* Cart page */
body.theme-rey.woocommerce-cart .wc-proceed-to-checkout a.button.checkout-button,
body.theme-rey.woocommerce-cart .wcppec-checkout-buttons.woo_pp_cart_buttons_div {
  max-width: 420px;
  margin-right: auto;
  margin-left: auto;
}
body.theme-rey.woocommerce-cart .wcppec-checkout-buttons.woo_pp_cart_buttons_div #woo_pp_ec_button_cart {
  position: relative;
}
body.theme-rey.woocommerce-cart .wcppec-checkout-buttons.woo_pp_cart_buttons_div #woo_pp_ec_button_cart .paypal-buttons:first-child {
  margin-bottom: 15px;
}

/* Search field reset */
body.theme-rey .rey-searchPanel input[type="search"] {
  border: none !important;
}
body.theme-rey .rey-searchPanel label,
body.theme-rey .rey-searchPanel h4 {
	display: none;
}

/* Archive of products: Sorting & Filter labels */ 
body.theme-rey.woocommerce .woocommerce-ordering .btn,
body.theme-rey.woocommerce .woocommerce-ordering .btn select {
  cursor: pointer;
}
body.theme-rey.woocommerce .woocommerce-ordering .btn:after,
body.theme-rey.woocommerce .rey-filterBtn__label .btn:after {
  display: none;
}
body.theme-rey.woocommerce .rey-filterCheckbox label,
body.theme-rey.woocommerce .rey-filterBtn__label.btn,
body.theme-rey.woocommerce .woocommerce-ordering .btn span,
body.theme-rey .rey-postList .rey-postTitle a,
body.theme-rey .rey-postContent-more a,
body.theme-rey .rey-postContent-more .rey-post-moreLink>* {
  font-style: normal;
  color: #464646;
  font-family: 'Gotham-Medium';
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 14px;
  letter-spacing: 1.2px;
}
body.theme-rey.woocommerce .rey-filterBtn__label.btn:hover,
body.theme-rey.woocommerce .woocommerce-ordering .btn:hover span {
  color: #B6A269;
}
body.theme-rey.woocommerce .woocommerce-ordering .btn span:after {
  border-top-color: #464646;
  cursor: pointer;
}
body.theme-rey.woocommerce .woocommerce-ordering .btn:hover span:after {
  border-top-color: #B6A269;
}
body.theme-rey.woocommerce .rey-filterPanel .rey-sidePanel-title,
body.theme-rey.woocommerce .rey-filterPanel .widget-title {
  color: #B6A269;
  font-family:'PlayfairDisplay-Regular';
  font-size: 21px;
  font-weight: 400;
  text-transform: capitalize;
  text-decoration: none;
  line-height: 1em;
}

/* Stories Post title */
body.theme-rey .rey-postList .rey-postItem .rey-postHeader {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: .5rem;
}
body.theme-rey .rey-postList .rey-postMedia {
  margin-bottom: 1rem;
}
body.theme-rey .rey-postList .rey-postCategories {
  margin: .5rem 0;
  order: 2;
}
body.theme-rey .rey-postList .rey-postTitle {
  order: 1;
}
body.theme-rey .rey-postList .rey-postTitle a {
    font-style: italic;
}
body.theme-rey .rey-postList .rey-postTitle a:hover {
  color: #B6A269;
}
body.theme-rey .rey-postContent-more a,
body.theme-rey .rey-postContent-more .rey-post-moreLink>* {
  font-style: italic;
  color: #6D6E71;
}
body.theme-rey .rey-postContent-more a:hover,
body.theme-rey .rey-postContent-more .rey-post-moreLink:hover>* {
  color: #B6A269;
}
body.theme-rey .rey-postContent-more .rey-post-moreLink:after {
  display: none;
}

/* Footer Drop Down */
body.theme-rey .rey-siteFooter .reyEl-menu .reyEl-menuTitle {
  margin-bottom: 0.5rem;
}
body.theme-rey .rey-siteFooter .reyEl-menu .reyEl-menu-navWrapper.--active {
  margin-bottom: 1.5rem;
}

/* Terra Counter Caption */
@media only screen and (max-width:768px) {
    body.theme-rey .htmega-counter-style-1 .htmega-counter-content h2.htmega-counter-title {
        font-size: 42px !important;
    }
}

/***VISITE*****/

.em-search-wrapper {max-width: 800px; margin: 0 auto;}

.em-search-advanced  {text-align: center;}
.em-search-advanced label > span  {min-width: 80px !important;}
.em-events-search-dates .em-date-end {display: none;}
.em-search-advanced .em-events-search-dates label span {font-size: 1.2em; font-weight: 600; padding: 6px;}
.ui-datepicker-title select {color: #333 !important;}
body.bosca.page-id-7729 .ui-datepicker select.ui-datepicker-month, 
body.bosca.page-id-7729 .ui-datepicker select.ui-datepicker-year {
  width: 100%;
}
body.bosca.page-id-7729 .ui-widget-header a {
  color: #b6a269;
}

#ui-datepicker-div .ui-widget-header {background: transparent; border: none;}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {color: #464646 !important;}

.em-search-location {display: none !important;}

h2.mese-lista-visite {margin-bottom: 1.2em; text-align: center; font-size: 2.5em;}
h2.mese-lista-visite:after {    content: '';    height: 6px;    position: relative;    width: 150px;    margin: 15px auto 0;    display: block;    background: #1cbbb4;    z-index: 1;}

div.dettagli-lista-visite {padding-top: 1em; }

.css-events-list img.lingua-visita {height: 32px; position: absolute; top: 3px; right: 3px;}

.desc-generale-visite {padding: 0 5% 0% 5%; margin-bottom: 2%; border-right: 1px solid #eee;}

.col-info-visite { padding-top: 10%; text-align: center;}

/***single visita**/

.single-event img.lingua-visita { position: absolute; top: 5px; left: 88%; height: 48px;}

span.biglietti-disponibili {margin: 0 auto; display: block; text-align: center; margin-bottom: 1em; font-weight: 600; font-family: 'Gotham-Medium'; }

#em-booking {max-width: 900px; width: 100%; margin: 0 auto;}

#em-booking .em-booking-form-details {max-width: 500px; width: 100%;padding: 0; margin: 3em auto; }
.logged-in #em-booking .em-booking-form-details {float: none; }

div.em-booking-login {margin-left: 60% !important; width: 40%}

#em-booking label {max-width: 500px; width: 100%;}
#em-booking input:not([type="checkbox"]),
#em-booking select,
#em-booking textarea
{max-width: 500px; width: 100% !important;}
#em-booking input[type="submit"] {
  border: none;
}

table.em-tickets {width: 100%; max-width: 550px; margin: 0 auto 2em auto;}
table.em-tickets tr th {padding: 10px;}
table.em-tickets tr td {padding-top: 10px;}
table.em-tickets .em-bookings-ticket-table-spaces {max-width: 50px;}
span.em-form-required {color: #ce0f1c;}

tr.em-ticket .em-bookings-ticket-table-type:before {content:  "\f145"; font: normal normal normal 14px/1 FontAwesome; font-size: 1.2em; margin-right: 6px; color:  #464646;}

/***partecipanti**/

.em-attendee-details .em-attendee-fieldset {padding: 0.8em; border: 2px solid #04668d; margin-bottom: 1em;}

.em-attendee-fields strong {display: block; margin: 0 0 10px;}
.em-attendee-fields .input-group {display: inline-block;}
.em-attendee-fields .input-group input {max-width: 800px !important;}
.em-attendee-fields .input-group label {font-size: 14px;}
.input-field-attendee_nome {width: 49.5%;}
.input-field-attendee_cognome {width: 49.5%;}
.input-field-attendee_email {width: 100%;}

/***pagina mie prenotazioni**/

#dbem-bookings-table {margin: 0 auto;}
#dbem-bookings-table td {padding: 10px; font-size: 1.1em; border: 1px solid #ddd;}

@media only screen and (max-width: 990px) {
 
  div.em-booking-login {
    position: fixed;
    top: 20%;
    right: 0;
    left: 0;
    margin: 0 auto !important;
    border: 4px solid #13a49e !important;
    background-color: #fff;
    padding: 30px 2% 2% 2% !important;
    display: none;
    width: 100% !important;
    max-width: 360px;
  }

  div.em-booking-login .login-close { display: block !important; position: absolute; top: 0; right: 0; cursor: pointer; font-weight: 600; padding: 5px;}

  div.mobile-em-login {display: inline-block !important; text-align: center; width: 100%; margin: 0 auto;}
  div.mobile-em-login span {cursor: pointer; background-color:  #464646; color: #fff; padding: 6px 22px; font-size: 18px; margin-top: 10px; display: inline-block;}

  #em-booking .em-booking-form-details {float: none !important;}
}

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

  .single-evento-content h1.single-visita-title {font-size: 2em;}
  div.col-info-visite {padding: 2em 0 !important;}
  div.dettagli-lista-visite {text-align: center; }
  .em-search-advanced .em-search-category.em-search-field {display: block !important;}
  .em-search-advanced  label span {float: none !important;}
}

/* Custom Bosca Event Manager Styles  */
body.bosca.page-id-7729 .rey-pageTitle {
  align-items: center;
  box-sizing: border-box;
  color: rgb(182, 162, 105);
  display: flex;
  flex-wrap: wrap;
  font-family: "PlayfairDisplay-Regular", sans-serif;
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  hyphens: manual;
  letter-spacing: 0.35px;
  line-height: 60px;
  margin-bottom: 60px;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  padding: 0px;
  text-align: center;
  text-decoration: rgb(182, 162, 105);
}
body.bosca.page-id-7729 div.css-search {
  border: none;
  padding: 0;
  margin: 1.5rem 0;
}
body.bosca.page-id-7729 div.css-search div.em-search-advanced {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
}
body.bosca.page-id-7729 .em-search-advanced .em-search-category.em-search-field label {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 15px;
  justify-content: flex-end;
}
body.bosca.page-id-7729 div.css-search div.em-search-field {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
body.bosca.page-id-7729 div.css-search div.em-search-advanced .em-search-submit,
body.bosca .em-booking-submit,
body.bosca input[name="wp-submit"] {
  min-height: 45px;
  color: #f9f9f9!important;
  border-radius: 0;
  box-shadow: none;
  font-family: 'Gotham-Medium' !important;
  font-size: 12px!important;
  font-weight: 500!important;
  text-transform: uppercase!important;
  text-decoration: none!important;
  line-height: 14px!important;
  letter-spacing: 0.3px!important;
  background-color: #000!important;
  border: none;
  margin: 1em 0;
}
body.bosca.page-id-7729 div.css-search div.em-search-advanced .em-search-submit:hover,
body.bosca .em-booking-submit:hover,
body.bosca input[name="wp-submit"]:hover {
    color: #FFFFFF!important;
    background-color: #B6A269!important;
}
body.bosca.page-id-7729 div.css-search input, 
body.bosca.page-id-7729 div.css-search select,
body.bosca.single-event input, 
body.bosca.single-event select {
  font-family: "Gotham-Medium", Sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  font-style: normal;
  text-decoration: none;
  line-height: 1.3em;
  letter-spacing: 0.3px;
  color: rgba(150,150,150,.8);
  background-color: #FFFFFF;
  border: 1px solid rgba(44,44,44,.8);
  border-radius: 0;
  outline: none;
  padding: 4px;
  height: 45px;
}
body.bosca.page-id-7729 div.css-search input:focus, 
body.bosca.page-id-7729 div.css-search select:focus,
body.bosca.page-id-7729 div.css-search input:active, 
body.bosca.page-id-7729 div.css-search select:active,
body.bosca.single-event input:focus, 
body.bosca.single-event select:focus,
body.bosca.single-event input:active, 
body.bosca.single-event select:active {
  border: 1px solid rgba(182,162,105,1) !important;
  color: #000 !important;
}
body.bosca.page-id-7729 .col-info-visite {
  padding-top: 1.5rem;
}
body.bosca.page-id-7729 .desc-generale-visite {
  margin-bottom: 1.5rem;
}
body.bosca.page-id-7729 h2.mese-lista-visite,
body.bosca .booking-title {
  color: #000000;
  font-family: "PlayfairDisplay-SemiBoldItalic", Sans-serif;
  font-size: 40px;
  font-weight: 600;
  text-transform: none;
  font-style: italic;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 1.4px;
  margin: 0.5em 0 1.5em 0;
  flex: 100%;
}
body.bosca .booking-title {
  text-align: center;
  margin: 1.5em 0;
}
body.bosca .booking-title:after {
  content: '';    
  height: 6px;
  position: relative;
  width: 100px;
  margin: 15px auto 0;
  display: block;
  background: rgb(182, 162, 105);
  z-index: 1;
}

body.bosca.page-id-7729 h2.mese-lista-visite:after {
  background: rgb(182, 162, 105);
}
body.bosca.page-id-7729 .titolo-lista-visite a,
body.bosca .evento-descr .single-visita-title {
  color: #000000;
  font-family: 'PlayfairDisplay-Regular', sans-serif;
  font-size: clamp(30px, 1rem + 2vw, 40px) !important;
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  text-transform: capitalize;
  line-height: 1;
  display: block;
}
body.bosca.single-event .input-user-field {
  outline: none;
}
body.bosca .data-lista-visite,
body.bosca.page-id-7729 div.css-search div.em-search-advanced label > span,
body.bosca.single-event .input-user-field label,
body.bosca.single-event .em-booking-login-form p > label {
  font-style: normal;
  color: #464646;
  font-family: 'Gotham-Medium';
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 14px;
  letter-spacing: 1.2px;
  float: none;
  display: contents;
}
@media (min-width: 1024px){
	body.bosca.page-id-7729 .css-events-list {
		display: block;
		max-width: 1680px; margin: 0 auto;
	}
}

body.bosca.page-id-7729 .css-events-list .row {
	margin-bottom: 1.5em;
	padding-bottom: 1.5em;
	padding-right: 1.5em;
	padding-left: 1.5em;
	border: none;
}

@media (min-width: 1024px){
	body.bosca.page-id-7729 .css-events-list .row {
		width: 33.33%; display: inline-block;
	}
}

body.bosca.page-id-7729 .immagine-lista-visite {
  text-align: center;
}
body.bosca.page-id-7729 .immagine-lista-visite span img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

body.bosca.page-id-7729 div.em-search.css-search label {
  text-align: left;
}

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

  body.bosca.page-id-7729 .css-events-list {
    flex-wrap: nowrap;
  }
}

.css-events-list span.em-pagination {
	flex: 1 0 100%;
	text-align: center;
}
.css-events-list span.em-pagination > * {
	margin-left: .7em;
	margin-right: .7em;
}


/* Single Event  */
body.bosca .single-evento-content {
  max-width: calc(var(--container-max-width) * .65);
  margin: calc(var(--header-default--height)/3) auto 0 auto;
  padding: 0 15px;
}
body.bosca .single-evento-content figure {
  max-width: 666px;
  margin-left: 0;
  margin-right: 0;
}
body.bosca .single-evento-content figure img {
  max-height: 500px;
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
  height: auto;
}
body.bosca.single-event #yoast-breadcrumbs {
  margin-bottom: 1em;
}
body.bosca.single-event #yoast-breadcrumbs a,
body.bosca.single-event #yoast-breadcrumbs .breadcrumb_last {
    font-family: 'Gotham-Medium';
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 1.4px;
    line-height: normal;
    text-align: left;
    text-transform: uppercase;
    color: #000000;
    -webkit-transition: color 0.15s ease;
    transition: color 0.15s ease;
    transition-duration: .15s;
}
body.bosca.single-event #yoast-breadcrumbs a:hover {
  color: #b6a269;
}
body.bosca .evento-descr > p {
  color: #2C2C2C;
  font-family: "Gotham-Book", Sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  text-transform: none;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.35px;
}
body.bosca.single-event input[name="data_privacy_consent"],
body.bosca.single-event #em_rememberme {
  transform: translateY(3px);
  height: auto;
}
body.bosca.single-event #em_rememberme + label {
  padding-left: 20px;  
}
body.bosca.single-event .input-checkbox label,
body.bosca.single-event .input-checkbox label a,
body.bosca.single-event #em_rememberme + label {
  position: relative;
  display: inline;
  color: #2c2c2c;
  font-family: 'Gotham-Book' !important;
  font-size: 12px;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0.3px;
  margin-bottom: 0;
  cursor: pointer;
  line-height: inherit;
}
body.bosca.single-event .input-checkbox label a {
  padding-left: 0;
  margin-left: 5px;
  text-decoration: underline;
}
body.bosca.single-event .em-tickets th {
  font-style: normal;
  color: #464646;
  font-family: 'Gotham-Medium';
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 14px;
  letter-spacing: 1.2px;
}
body.bosca.single-event .em-ticket > td {
  padding: 20px 5px !important
}
body.bosca.single-event a[href*='lostpassword'] {
  display: block;
  text-transform: uppercase;
  margin-top: 1em;
}