/**
Theme Name: Value China
Description: Astra Child Theme
Version: 1.2.6
Text Domain: value-china
Template: astra
*/

#wpadminbar {z-index: 1000001}

.elementor-widget-theme-post-featured-image img {border-radius:25px !important;}

/* === Menu e testata === */

@media (min-width: 921px){
    .ast-container {max-width: 1230px;}
    .about-menu .ast-header-navigation-arrow, .services-menu .ast-header-navigation-arrow {display:none;}
    .about-menu:hover .sub-menu, .services-menu:hover .sub-menu {display:none;}
    .about-menu, .services-menu {cursor: pointer;}
    .site-header-primary-section-center .pll-parent-menu-item {display:none;}
}

.site-header {z-index:100000;}
body:not(.ast-theme-transparent-header) .site-header {position: -webkit-sticky; position:sticky; top:0;}
body.home #masthead {position:fixed; width:100%;}

#masthead .astra-search-icon .icon-search:before {content:''; display:none;}
#masthead .ast-icon.icon-search svg {margin-top:10px;}
#masthead .search-form {border-radius:50px; overflow:hidden; border:1px solid var(--turquoise);}
#masthead .search-form input:focus, #masthead .menu-item a:focus, #masthead .menu-item button:focus {border:0; outline:none;}

#masthead .pll-parent-menu-item {position: relative;}
#masthead .pll-parent-menu-item > a {font-size:20px; font-weight:bold; padding-left:10px; padding-right:0; color:var(--primary-color);}
body.ast-theme-transparent-header #masthead .pll-parent-menu-item > a {color:white;}
#masthead .pll-parent-menu-item > a > img {display:none;}
#masthead .pll-parent-menu-item .sub-menu {
    display: none;
    position: absolute;
    width: 85px;
    top: 25px;
    left: -10px;
    padding: 10px 0;
    background: white;
}
#masthead .pll-parent-menu-item:hover .sub-menu {display:block;}
#masthead .pll-parent-menu-item .sub-menu li {
    padding-left: 0;
}
#masthead .pll-parent-menu-item .sub-menu a {font-size:20px; padding: 12px 20px; text-align: center;}
#masthead .pll-parent-menu-item .sub-menu a:hover {background-color:whitesmoke;}

.current-menu-item > a , .current-menu-ancestor > a, .ast-submenu-expanded.about-menu > a, .ast-submenu-expanded.services-menu > a {font-weight:700; color: var(--crimson) !important;}
.ast-submenu-expanded > a {color: var(--crimson) !important;}

/* Megamenu */
.ast-below-header-bar {height:100%;}
.ast-below-header-bar .ast-builder-layout-element {padding:0;}
#masthead .ast-below-header-wrap {position:fixed; width: 100vw; height: calc(100vh - 80px); left:100%; transition: all 0.5s;}
#masthead .ast-below-header-wrap.open {left:0;}
#masthead .ast-below-header-bar {background-color: var(--primary-bg-color) !important;}
#masthead .ast-below-header-bar .site-below-header-wrap {min-height: 0;}
#masthead .ast-below-header .ast-builder-html-element {width:100%; max-width:1200px; padding:80px 0; font-size:16px;}
#masthead .ast-below-header h2 {margin-bottom:32px; font-weight:700;}
#masthead .ast-below-header table, .megamenuTable {margin-top:32px; border:0;}
#masthead .ast-below-header table td, .megamenuTable td {border:0; padding-bottom:32px; vertical-align:top;}
#masthead .ast-below-header table a, .megamenuTable a {display:block; margin-bottom:24px; font-weight:700; text-decoration:none !important;}
#masthead .ast-below-header table a.current-menu-item, .megamenuTable a.current-menu-item {color: var(--crimson);}
#masthead .ast-below-header table a:after {content: '\e803'; font-family: "valuechina"; margin-left:8px;}
/* same style in pages */
.page-id-269 article, .page-id-280 article {padding:80px 0;}
.page-id-269 h2, .page-id-280 h2 {margin-bottom:32px; font-weight:700;}
.page-id-269 .megamenuTable a, .page-id-280 .megamenuTable a {margin-bottom:0;}
.megamenuTable a:after {content:' >';}
@media (max-width: 921px){
    .megamenuTable td {display: block; width:100%;}
}
/* close icon */
.close-megamenu {font-size:30px; float:right; cursor:pointer;} 
.close-megamenu .icon {color:var(--primary-color);}
.close-megamenu .icon:hover {color:var(--crimson);}

/* Mobile menu */
#masthead svg {fill: var(--heading-color);}
body.ast-theme-transparent-header #masthead svg {fill: white !important;}
.ast-mobile-header-wrap .ast-mobile-header-content {height: calc(100vh - 80px); overflow-y: auto;}
#ast-hf-mobile-menu {gap: 20px;}
.ast-menu-toggle {box-shadow: none;}
.ast-submenu-expanded > button svg {transform: rotate(180deg);}
@media (max-width: 921px){
    body.ast-main-header-nav-open {overflow:hidden;}
    #masthead .ast-mobile-header-content {background: var(--primary-bg-color);}
    .ast-builder-menu-mobile .main-navigation .main-header-menu {background:none;}
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {color: var(--heading-color);}
    body.ast-theme-transparent-header #masthead svg {fill: var(--heading-color);}
    .ast-mobile-header-wrap .ast-mobile-header-content {padding-top:32px; background:none;}
    #masthead .sub-menu {background:none;}
    #masthead .sub-menu li {background:none; padding-top: 3px;}
    #masthead .pll-parent-menu-item {width: 110px; margin-left: auto;}
    #masthead .pll-parent-menu-item .sub-menu {padding: 5px 0; border-radius: 8px; background-color: var(--secondary-bg-color);}
    #masthead .pll-parent-menu-item .sub-menu a {padding: 2px 20px;}
    #masthead .pll-parent-menu-item button.ast-menu-toggle {top: 8px;}
    [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus {border:0; outline:none;}
}

/* === Tipografia === */

body {font-family:'poppins', sans-serif;}

.font-light {font-weight:300;}
.font-regular {font-weight:400;}
.font-bold {font-weight:700;}
.uppercase {text-transform: uppercase;}
.small {font-weight:14px;}
.xsmall {font-weight:12px;}

.heading-standard .elementor-heading-title {font-size:32px !important; font-weight: 700 !important;}
.heading-line .elementor-heading-title {font-size:20px !important; font-weight: 700 !important; text-transform:uppercase; padding-bottom:26px; border-bottom:2px solid;}
#content .heading-line, #content .elementor-widget.elementor-widget-text-editor {margin-bottom: 32px;}

body.single .entry-header h1 {font-size:40px;}

@media (max-width: 921px){
    .heading-standard .elementor-heading-title {font-size:20px !important;}
    .heading-line .elementor-heading-title {padding-bottom:16px;}
}

#content .elementor-heading-title a {text-decoration: none;}

/* === Colori === */

:root{
    --primary-color: #323D47;
    --heading-color: #1E262E;
    --turquoise:#2FCCCC;
    --crimson: #E5194B;
    --primary-bg-color: #F3F7F8;
    --secondary-bg-color: #E0E9ED;
}

.ast-plain-container, .ast-page-builder-template, .ast-primary-header-bar {background-color:var(--primary-bg-color)}

.ast-primary-header-bar {box-shadow: 0px 4px 14px 0px #052A2E14;}

footer#colophon>div {background-color: var(--heading-color);}

.icon {color:var(--turquoise)}
.elementor-button-icon .icon {color:white;}


/* === Componenti === */

#content .elementor-widget-wrap {padding-left:24px; padding-right:24px;}
@media (min-width: 921px){
    #content .elementor-widget-wrap {padding:0;}
}

.elementor-top-section:not(.hero:not(.inn-page)):not(.nomargin) {margin-top:80px; margin-bottom:80px;}
@media (max-width: 921px){
    .elementor-top-section:not(.hero:not(.inn-page)):not(.nomargin) {margin-top:32px; margin-bottom:32px;}
    .hero.inn-page .elementor-inner-section:first-child {
        width: calc(100% - 48px);
        height: 200px;
        margin: 0 auto;
    }
    body.single .hero.inn-page .elementor-inner-section:first-child {width: 100%; height: 208px;}
    body.single #content .elementor-widget-wrap {padding: 0;}
    body.single .entry-header h1 {font-size: 30px;}
}

/* Utility Classes */
.nomargin-top {margin-top:0 !important;}
.nomargin-bottom {margin-bottom:0 !important;}

.items-center > div, .icon-cta > div {align-items: center;}

section.variant-2 {padding-top:80px; padding-bottom:80px; background: var(--secondary-bg-color);}
@media (max-width: 921px){
    section.variant-2 {padding-top: 32px; padding-bottom: 32px;}
}

/* Images */
.elementor-widget-image img,
.hero.inn-page .elementor-inner-section:first-child {border-radius:24px; overflow: hidden; box-shadow: 0px 4px 14px 0px #052A2E14;}
.elementor-widget-theme-post-featured-image img {border-radius:24px;}

/* Buttons */
.elementor-button-content-wrapper {align-items: center;}
.elementor-button-icon {font-size: 21px;}

.elementor-button {border-radius: 100px; padding-top: 12px; padding-bottom: 12px;}
.elementor-button-text {font-weight:700;}
.elementor-button:hover, .elementor-button .elementor-button-link:hover {background: #15484C !important;}
.elementor-button:active, .elementor-button .elementor-button-link:hover {background: #052A2E !important;}

.elementor-widget-button.variant-white .elementor-button {background-color:white}
.elementor-widget-button.variant-white .elementor-button-text,
.elementor-widget-button.variant-white .icon {color: var(--primary-color);}
.elementor-widget-button.variant-white .elementor-button-link:hover {background: #CDFAF6 !important;}
.elementor-widget-button.variant-white .elementor-button-link:active {background: #9BF4EE !important;}

.elementor-widget-button.variant-outline .elementor-button {background-color:unset !important; border:1px solid var(--heading-color)}
.elementor-widget-button.variant-outline .elementor-button-text, 
.elementor-widget-button.variant-outline .icon {color: var(--heading-color);}
.elementor-widget-button.variant-outline .elementor-button-link:hover {background: #CDFAF6 !important;}
.elementor-widget-button.variant-outline .elementor-button-link:active {background: rgba(47, 204, 204, 0.2) !important; border-color: #2FCCCC !important;}

.elementor-widget-button.variant-link .elementor-button {background-color:unset !important; padding: 0;}
.elementor-widget-button.variant-link .elementor-button-text, 
.elementor-widget-button.variant-link .icon {color: var(--heading-color);}
.elementor-widget-button.variant-link .elementor-button-link.current *,
.elementor-widget-button.variant-link .elementor-button-link:hover * {color: var(--crimson);}

/* Tag button style */
.elementor-widget-post-info {margin-top:20px;}
.ast-taxonomy-container {color:transparent;}
.elementor-post-info__terms-list-item, 
.ast-taxonomy-container a, 
#content .ast-terms-link a,
.tagcloud a,
#content .tag-filter .e-filter-item {width:auto !important; padding:8px 12px; border:1px solid var(--turquoise); color:#323D47 !important; background:#F0FDFC; font-size:12px !important; font-weight:bold; border-radius:50px; text-decoration:none !important;}
#content .tag-filter .e-filter {gap:10px;}
#content .tag-filter .e-filter-item[aria-pressed="true"] {color:white !important; background:var(--turquoise);}
.elementor-post-info__terms-list-item:hover, 
.ast-taxonomy-container a:hover, 
#content .ast-terms-link a:hover,
.tagcloud a:hover,
#content .tag-filter .e-filter-item:hover {background:#9BF4EE;}

/* Tag widget scrolling on mobile */
@media (max-width:921px){
    .tag-filter > div, .widget_tag_cloud nav {overflow-x: auto;}
    .tag-filter .e-filter, .widget_tag_cloud nav .tagcloud {width: 200%; height: auto;}
}

/* Hero section */
.hero > div > div > div {padding:0 !important;}
.hero:not(.inn-page) .elementor-inner-section:first-child .elementor-inner-column {max-width:1200px; margin:0 auto;}
.hero:not(.inn-page) .elementor-inner-section:first-child .elementor-inner-column .elementor-widget-wrap {align-content: center; padding-top:80px;}
.hero:not(.inn-page) .elementor-inner-section:last-child {padding-top:80px;}
@media (min-width: 1025px){
.hero section:last-child > div {gap:32px;}
}
@media (max-width: 921px){
    .hero:not(.inn-page) .elementor-inner-section:last-child {padding-top:30px;}
    .hero .elementor-button {width:100%;}
}

/* Breadcrumbs */
body:not(.archive):not(.search) .breadcrumbs {display:flex; align-items:center; gap:5px; padding-top: 52px; padding-bottom: 42px;}
.breadcrumbs .icon {font-size: 21px; color: var(--heading-color);}
.breadcrumbs a {text-decoration: none !important; padding:0 7px;}
.breadcrumbs a:first-child {padding-left:0;}
.breadcrumbs strong {color:var(--crimson); padding:0 7px;}
@media (max-width: 921px){
    body:not(.archive):not(.search) .breadcrumbs {padding-top: 35px; padding-bottom: 15px;}
    .breadcrumbs {font-size: 0.85em; gap: 0 !important; flex-wrap: wrap;}
    body.single #primary {padding-top: 0;}
}

/* Focus section */
.focus .e-loop-item > section > .elementor-container {gap:60px; align-items:center;}
@media (max-width: 921px){
    .focus .e-loop-item .elementor-widget-wrap {padding-left: 0 !important; padding-right: 0 !important;}
    .focus .e-loop-item > section > .elementor-container {gap: 0;}
}
.elementor-post-info__terms-list {color: transparent;}

/* Text-Image section */
@media (max-width: 767px){
    #content .text-image > div {flex-direction: column-reverse !important;}
    #content .text-image section .elementor-widget-wrap {padding-left: 0; padding-right: 0;}
}
@media (min-width:922px) {
    section.img-txt > div, 
    section.txt-img > div,
    section.partnership-spotlight section > div {gap:60px;}
}
@media (min-width:768px) and (max-width:1024px) {
    section.img-txt > div, 
    section.txt-img > div,
    section.partnership-spotlight section > div, .focus .e-loop-item > section > .elementor-container {gap:32px; flex-wrap: nowrap !important;}
}

/* Text-Image-Cta section */
.text-image-cta .elementor-inner-section > div > .elementor-column:first-child > div {padding-left:0}
.text-image-cta .elementor-inner-section > div > .elementor-column:last-child > div {padding-right:0}
@media (max-width: 921px){
    #content .text-image-cta section .elementor-widget-wrap {padding-left: 0 !important; padding-right: 0 !important;}
    #content .text-image-cta .elementor-button {width:100%;}
}

/* Textual section */
@media (min-width:1025px) {
section.textual .elementor-inner-section > div {gap:60px;}
section.textual .elementor-inner-section h5 {margin-bottom:10px;}
section.textual .elementor-inner-section:last-child .elementor-col-50 .elementor-widget-text-editor {margin-bottom:0 !important;}
}
@media (max-width: 1024px){
    .elementor-widget-text-editor {columns:1 !important;}
    .elementor-widget-text-editor p:first-child {margin-bottom:0;}
}

/* Icon Cards section*/
.icon-cards > div {gap:32px;}
.icon-cards .elementor-column > div {padding: 24px !important; border-radius: 16px; background: white; box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08);}
.icon-cards .elementor-heading-title {font-size:20px;}
.icon-cards .elementor-widget-wrap > div {z-index:10000;}
@media (min-width:768px) and (max-width:1024px) {
    .icon-cards > div {flex-wrap: nowrap !important;}
}

/* Icon Cta element */
.icon-cta {padding:24px; margin-bottom:24px; border-radius:16px; background:white; box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08);}
.icon-cta > div {display:flex; align-items: center;}
.icon-cta .elementor-column {width:auto;}
.icon-cta .elementor-column:last-child {margin-left:auto;}
.icon-cta .elementor-widget-heading {margin-bottom:16px;}
.icon-cta .elementor-heading-title {font-size:20px;}
.icon-cta .elementor-button {width:170px;}
#content .icon-cta .elementor-widget.elementor-widget-text-editor, .icon-cta p {margin-bottom:0;}
@media (min-width: 1025px){
.icon-cta > div {gap: 24px;}
}
@media (max-width: 921px){
    #content #comunicati.icon-cta-section > div > div > div {padding-left: 0; padding-right: 0;}
    .icon-cta {padding: 12px 0;}
    .icon-cta .elementor-column, .icon-cta .elementor-button {width: 100% !important;}
    .icon-cta .elementor-column:first-child div {padding-bottom: 0 !important;}
}
.elementor-loop-container .icon-cta {margin-bottom:0; min-height:143px;}
.elementor-loop-container .icon-cta > div {height:100%;}

/* Toggle element */
.toggle-section .elementor-tab-title {font-size:20px;}

#content .elementor-toggle {
    display: flex;
    gap: 18px;
    flex-direction: column;
}
#content .elementor-toggle {gap:32px;}
#content .elementor-toggle-item { 
    border-radius: 16px;
    background: white;
    box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08);
}
#content .elementor-toggle-item .elementor-tab-title {
    padding:24px; border-bottom:0; border-radius:16px; background:white; box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08);
}
#content .elementor-toggle-item .elementor-tab-content.elementor-active {
    display: flex;
    align-items: center;
    padding:24px; 
    border-bottom:0;
}
#content .elementor-toggle-icon {float: right;}
#content .elementor-toggle-icon .icon {font-size:28px !important;}
#content .elementor-toggle-title {text-decoration:none;}
#content .elementor-tab-title.elementor-active .elementor-toggle-title,
.elementor-toggle-icon-opened .icon {color:var(--crimson);}
#content .elementor-toggle-item .toggle-text {padding-right:6%;}
#content .elementor-toggle-item .toggle-text p:last-child {margin-bottom:0;}
#content .elementor-toggle-item .elementor-button {color:white; background:var(--turquoise); text-decoration: none; font-weight: 700;}
@media (max-width: 921px){
    #content .elementor-toggle-item .elementor-tab-content {align-items: flex-start; flex-direction: column;}
    #content .elementor-toggle-item .toggle-text {padding-right: 0; padding-bottom: 15px;}
    #content .elementor-toggle-item .elementor-button {width:100%;}
}

/* Cta Row element */
.cta-row {padding:80px 0;}
.cta-row *:not(.elementor-button-text) {color:white !important;}
.cta-row .elementor-inner-section {background: #052A2E33; border-radius:16px; padding:40px 32px;}
@media (max-width: 921px){
    .cta-row .elementor-inner-section {padding: 30px 0;}
    .cta-row .elementor-button {width:100%;}
}

/* Post Grid Card style */
#section-projects .e-loop-item section, 
#content .cards-grid .e-loop-item section
{padding:24px; margin-bottom:24px; border-radius:16px; background:white; box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08);}
#pre-blog-grid {display:block;}
#blog-grid {display:none}
#blog-grid.cards-grid .e-loop-item section {padding-bottom:0;}
#section-projects .e-loop-item section .elementor-widget-wrap, 
#content .cards-grid .e-loop-item section .elementor-widget-wrap 
{padding:0;}
#section-projects .e-loop-item .elementor-heading-title, 
#content .cards-grid .e-loop-item .elementor-heading-title 
{font-size:20px;}
#section-projects .elementor-button, 
#content .cards-grid .elementor-button
{padding:0;}
.elementor-widget-post-info {margin-top:5px;}
.elementor-widget-post-info li {margin-right:0 !important;}
.e-loop-item .elementor-widget-theme-post-featured-image img {width:100%;}
.e-loop-item .elementor-widget-button.variant-link .elementor-button-text {font-size:16px;}
.e-loop-item .elementor-widget-button.variant-link .elementor-button-icon {margin-top:-2px;}

/* bullets */
@media (min-width: 922px){
#section-projects .swiper-pagination-bullets {display:none;}
}
.swiper {padding-bottom:52px;}
.elementor-widget-loop-carousel.elementor-pagination-type-bullets { --swiper-pagination-size: 19px !important;}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {margin: 0 4px; border:1px solid #1E262E; background:white; opacity:1;}
.swiper-horizontal>.swiper-pagination-bullets 
.swiper-pagination-bullet-active,
.swiper-pagination-horizontal.swiper-pagination-bullets
.swiper-pagination-bullet-active {background:#1E262E;}

/* pagination */
.elementor-pagination {margin-top:32px;}
.elementor-pagination, .ast-pagination .nav-links {display:flex; justify-content: center;}
.elementor-pagination span, .elementor-pagination a,
.ast-pagination .nav-links span, .ast-pagination .nav-links a:not(.next):not(.prev) {
  display:flex;
  width:40px;
  height:40px;
  margin:0 5px;
  border:1px solid;
  border-radius:8px;
  justify-content:center;
  align-items:center;
  font-size: 18px;
  text-decoration:none !important;
  background:white;
}
.elementor-pagination .current, .ast-pagination .nav-links .current {background:var(--heading-color); color:white; border-color:var(--heading-color);}
.ast-pagination .nav-links .next, .ast-pagination .nav-links .prev {font-size:0;}
.elementor-pagination span.prev {display:none;}


/* Carousel Arrows */
.carousel-control {position:absolute; bottom:16px; right:0;}
.carousel-control .icon {font-size:28px; border:1px solid #052A2E; border-radius:100%; padding:3.5px 9px;}
.carousel-control .prev {margin-right:16px; color:#052A2E;}
.carousel-control .next {background:#052A2E; color:white;}
@media (max-width: 921px){
    .carousel-control {display: none;}
}

/* Team section */
.section-team .heading-standard {margin-top:3px; margin-bottom:40px;}
.section-team .overlay-info {
    position: absolute;
    height:100%;
    opacity:0;
    padding:20px;
    background-color: rgb(0 170 170 / 65%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    text-align: center;
    transition:0.5s all;
    border-radius: 24px;
}
.section-team .overlay-info li {width:100%; display: block;}
.section-team .overlay-info * {color:white;}
.section-team .e-loop-item:hover .overlay-info {opacity:1;}
.section-team .e-loop-item .elementor-widget-wrap {padding:0;}
.section-team .e-loop-item .elementor-widget-image {margin-bottom: 0;}

.team .overlay-info > div {height:100%; padding-top:50%;}
.team .elementor-widget-wrap {flex-direction: column; align-content: normal;}
.team .overlay-info .elementor-widget-heading, .team .overlay-info .elementor-widget-post-info {margin:0; align-self: flex-start;}
.team .overlay-info .elementor-widget-icon {margin-top:auto;}
.team .overlay-info h3 {font-size:20px;}
.team .overlay-info .elementor-icon {font-size:24px;}

@media (max-width: 921px) {
    #content .section-team .team .elementor-widget-wrap {padding: 0 !important;}
    .team .overlay-info > div {padding-top:17%;}
}

/* Partners Logo section */
.partners-logos .elementor-inner-section {margin-bottom:24px;}
.partners-logos .elementor-inner-section > div {margin-bottom:0; gap:24px;}
.partners-logos .elementor-inner-section .elementor-column > div {
  border-radius: 16px;
  background: white;
  box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08);
}
.partners-logos .elementor-widget-image {border-radius:0; padding:16px;}
.partners-logos img {height:70px; width:auto; max-width:80%; border-radius:0; box-shadow:none;}

/* Logo Carousel section */
.logo-carousel .elementor-image-carousel-wrapper {margin-left: -12px; margin-right: -12px;}
.logo-carousel .swiper-slide {padding:12px;}
.logo-carousel .swiper-slide figure {
padding: 16px;
border-radius: 16px;
background: white;
box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08);
}
.logo-carousel .swiper-slide img {height: 70px;}
.logo-carousel .elementor-swiper-button-prev, .logo-carousel .elementor-swiper-button-next {visibility: hidden;}

/* Blog page */
#blog-slider .elementor-widget-image {box-shadow: 0px 4px 14px 0px #052A2E14; border-radius:24px;}
#blog-slider .swiper-pagination {width:100%; display:flex; justify-content: space-between; margin-top:50px;}
#blog-slider .swiper-pagination-bullet {width:100%; height:48px; font-size:15px; background:none; border:1px solid; border-radius:30px; line-height:24px; padding:11px 0; opacity:1; font-weight:700;}
#blog-slider .swiper-pagination-bullet-active {background:var(--turquoise); color:white;}
#blog-body {padding-top:0;}
#blog-body > div {gap: 32px;}
@media (max-width: 1100px) {
    #blog-slider .swiper-pagination-bullet {display: flex; align-items: center; justify-content: center; font-size:12px; line-height:13px;}
}
@media (max-width: 921px) {
    #blog-slider {margin-bottom: 80px;}
    #blog-slider .e-loop-item .elementor-column:first-child .elementor-widget-wrap {padding-top: 0;}
    #blog-slider .elementor-heading-title {font-size:20px; font-weight:700;}
    #blog-slider .elementor-widget-image {box-shadow: none;}
    #blog-slider .elementor-widget-image img {width:100%;}

}
@media (min-width: 922px) {
    #blog-slider {margin-bottom: 140px;}
    #blog-slider section > div > div:first-child {width:54%;}
    #blog-slider section > div > div:first-child img {width:100%;}
}
@media (max-width: 500px) {
    #blog-slider .swiper-pagination-bullet {font-size: 0;}
}

/* Single post */
.site-content .ast-container {flex-wrap: wrap;}
#single-post-hero {flex-basis:100%;}
@media (max-width: 921px) {
  #single-post-hero {order: 2;}
}
body.single .entry-content section.elementor-top-section {margin:0 !important;}
body.single #primary, body.single #secondary {margin-top:10px;}
.ast-left-sidebar #primary {padding-left:0; border-left:0;}
.ast-left-sidebar #secondary {border-right:0; margin-right:0;}
body.single .entry-header .ast-terms-link, body.single .entry-header h1 {margin-bottom:32px;}
body.single #content .elementor-widget.elementor-widget-text-editor {margin-bottom: 0;}
body.single .entry-content h1, body.single .entry-content h2, body.single .entry-content h3, body.single .entry-content h4, body.single .entry-content h5, body.single .entry-content h6 {margin-top: 0;}
body.single .entry-content h2, body.single .entry-content h3 {margin-top: 0 !important; padding-top: 60px;}

/* Sidebar */
#blog-sidebar .elementor-inner-section, .sidebar-main .widget, #tag-widget {padding:24px; margin-bottom:32px; border-radius:16px; background:white; box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08);}
@media (max-width: 921px) {
    #blog-sidebar .elementor-inner-section .elementor-widget-wrap, .sidebar-main .widget .elementor-widget-wrap, #tag-widget .elementor-widget-wrap {padding: 0 !important;}
    #tag-widget {padding-right: 0;}
    body.single #elementor-library-2 {padding:10px 16px; margin-bottom:24px; border-radius:16px; background:white; box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08);}
}
.sidebar-main {position:sticky; top:80px;
    max-height:calc(100vh - 80px);
    overflow-y:auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sidebar-main::-webkit-scrollbar {display: none;}
#blog-sidebar .elementor-heading-title, .sidebar-main .widget-title, .elementor-toc__header {font-size:16px; font-weight:700; text-transform:uppercase; padding:0 8px 12px 8px; border-bottom:1px solid #9DB7C3;}
#content .elementor-widget-table-of-contents > div {border:0;}
#content .elementor-toc__header {padding:0 8px !important; border:0;}
#content .elementor-toc__body {padding:0 !important; border:0;}
#content .elementor-widget-posts img {border-radius:16px;}
#content .elementor-widget-posts .elementor-post__title {font-size:15px;}
#content .elementor-widget-posts a {text-decoration:none;}
#content .elementor-toc__list-item:first-child {margin-top:12px;}
#content .elementor-toc__toggle-button {outline: none;}

#category-widget .elementor-widget-heading {margin-bottom:0;}
#category-widget .elementor-heading-title {border:0;}
#category-widget .e-filter {gap:0;}
#category-widget .e-filter button, .elementor-toc__list-item {width:100%; color:#052A2E; border-bottom:1px solid #9DB7C3; justify-content:flex-start; padding:12px 0 12px 8px; margin-bottom:0 !important;}
#category-widget .e-filter button:last-child, .elementor-toc__list-item:first-child {border-top:1px solid #9DB7C3}
#category-widget .e-filter-item[aria-pressed="true"]{color:var(--crimson) !important; font-weight: bold;}

/* Search widget */
.custom-search-form,
#content .elementor-widget-search-form {margin-bottom:28px;}
.custom-search-form:focus-within,
#content .elementor-search-form--skin-minimal:focus-within {outline-width:0;}
.custom-search-form input,
#content .elementor-search-form__container {border:1px solid white; min-height:42px; border-radius:50px; overflow:hidden;}
.custom-search-form input:focus,
#content .elementor-search-form--focus .elementor-search-form__container {border: 1px solid var(--turquoise);}
.custom-search-form {box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08); border-radius:50px; position: relative;}
#content .elementor-search-form__container {flex-direction:row-reverse; margin-bottom:5px; background: white; box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08);}
#content .elementor-search-form__icon {padding:0 10px;}
#blog-body .elementor-widget-shortcode {margin-bottom:0;}
.custom-search-form:after {
    content: '\e81c';
    font-family: "valuechina";
    font-size:22px;
    position:absolute;
    top:3px;
    right:10px;
}
.custom-search-form input {padding-right:28px;}
#post-search, #projects-search {max-width:400px; margin:0 auto;}
@media (max-width: 921px){
.custom-search-form {width:100%;}
}

/* Social Sharing widget */
#share-toolbar {padding:20px; margin-bottom:32px !important; border-radius: 16px; background: white; box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08);}
#share-toolbar .elementor-widget-wrap {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding:0;
}
#share-toolbar .elementor-widget-post-info {margin:0;}
#share-toolbar .addtoany_shortcode {float: right;}
#share-toolbar time {color: #9DB7C3;}
#share-toolbar .elementor-post-info__item--type-author {font-size:20px; font-weight:700;}
#share-toolbar .addtoany_list a:not(.addtoany_share) {padding:0 12px;}
#share-toolbar .addtoany_list span.a2a_svg.a2a_s__default {background:transparent !important;}
#share-toolbar .addtoany_list span.a2a_svg.a2a_s__default svg path {fill:#1E262E;}
#share-toolbar .addtoany_share {margin-left:12px; font-size:16px; text-decoration:none; color:#323D47; font-weight:700; padding:6px 24px; border:1px solid; border-radius:40px;}
#share-toolbar .addtoany_share::after{content:' \e815'; font-family: valuechina; font-size:24px; font-weight:normal;}
.a2a_full_footer {display:none;}
@media (max-width: 921px){
    #share-toolbar .elementor-widget-wrap {flex-direction: column;}
    #share-toolbar .addtoany_shortcode {float: left; width: 100%;}
    #share-toolbar .addtoany_list {display: flex;}
    #share-toolbar .addtoany_share {font-size:0;}
}

/* Archives */
.ast-archive-entry-banner {background: none; padding-top: 72px !important; padding-bottom: 0 !important;}
body.search .ast-archive-description {background: none; margin-top: 0 !important; padding-top: 8px !important; padding-bottom: 32px !important;}
body.archive .ast-blog-featured-section .post-thumb-img-content,
body.search .ast-blog-featured-section .post-thumb-img-content {margin:0 !important; border-radius:16px;}
body.archive .ast-blog-layout-4-grid .ast-article-post,
body.search .ast-blog-layout-4-grid .ast-article-post {padding-left: 16px; padding-right: 16px;}
body.archive .ast-post-format-.blog-layout-4.ast-article-inner,
body.search .ast-post-format-.blog-layout-4.ast-article-inner {background: white; border-radius:16px;}
body.archive .ast-article-post .post-thumb-img-content,
body.search .ast-article-post .post-thumb-img-content {height:180px;}

/* read more */
.ast-article-post .read-more a {font-size:0;}
.ast-article-post .read-more a:before {content:'Read'; font-size:16px; font-weight:bold;}
.ast-article-post .read-more a:after {content: ' \e803'; font-family:'valuechina'; font-size:20px; font-weight:normal;}
[lang="it-IT"] .read-more a:before {content:'Leggi';} /* Italiano */
[lang="es-ES"] .read-more a:before {content:'Lee mas';} /* Espanol */

/* Contact Form section */
#contact-form {padding:80px 0;}
#contact-form .form-container {background:rgba(5, 42, 46, 0.25); padding:40px; border-radius:16px;}
.form-container > div {gap:32px;}
@media (max-width: 921px){
    #form-container > div > div > div, #form-container section {padding: 0 !important;}
    #contact-form > div > div > div {padding: 50px 20px !important;}
    #contact-form video {height:100% !important;}
    #contact-form  {padding:0;}
    #contact-form section {padding: 30px 0 !important;}
}
@media (min-width:768px) and (max-width:1024px) {
    .form-container > div.elementor-container {flex-wrap:nowrap; gap:24px;}
}
#contact-form .elementor-icon-list-items a {text-decoration:none}

/* Footer */
#ast-scroll-top {border-radius: 100%; background-color: var(--turquoise);}
.site-footer * {color:white;}
.site-footer > div {border: 0 !important;}
.site-footer > div:first-child {border-bottom: 1px solid white !important;}
.site-footer .site-footer-below-section-3 a:not(:last-child) {margin-right:10px;}
@media (min-width: 922px){
    #colophon .widget_nav_menu li {padding: 4px 0;}
    #colophon .site-below-footer-wrap {padding:0; min-height:70px;}
    #colophon .ast-builder-grid-row {max-width: 1190px;}
    #colophon .site-footer-below-section-1 * {text-align:left;}
    #colophon .site-footer-below-section-3 * {text-align:right; font-size:13px;}
}
@media (max-width: 921px){
    .site-footer > div {padding: 40px 0; border: 0 !important;}
    .site-footer-section-1 {padding-bottom: 18px;}
    .site-footer-section-2 ul, .site-footer-section-3 ul, .site-footer-section-4 ul {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 15px;
    }
}
/* newsletter form */
#custom_html-2 ._form_35 {margin:0;}
#custom_html-2 ._form_35 {border-radius:16px !important;}
#custom_html-2 ._form_35 input {border-radius:8px !important;}

/* Traduzioni labels */
[lang="en-GB"] .cards-grid .elementor-button-text,  
[lang="en-GB"] #blog-slider .elementor-button-text,
[lang="es-ES"] .cards-grid .elementor-button-text,  
[lang="es-ES"] #blog-slider .elementor-button-text {font-size:0 !important;}
[lang="en-GB"] .cards-grid .elementor-button-text::after {content:'Read more'; font-size:16px;}
[lang="en-GB"] #blog-slider .elementor-button-text::after {content:'Discover more'; font-size:16px;}
[lang="es-ES"] .cards-grid .elementor-button-text::after {content:'Leer más'; font-size:16px;}
[lang="es-ES"] #blog-slider .elementor-button-text::after {content:'Discubre más'; font-size:16px;}

/* Email Wall */
#emw {border-radius: 16px; box-shadow: 0px 4px 14px 0px rgba(5, 42, 46, 0.08); overflow:hidden;}
.emw-wrapper {max-width:830px; margin:0 auto; padding:40px;}
#emw.txtwhite * {color:white !important;}
#emw h2, #emw h3 {padding-top:0;}
#emw h4 {font-size:32px;}