/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

:root {
    --azzurro: #5691c0;
    --bordo-immagini: #62a7d5;
    --bordo-grigio: #eae9e6;
    --rosso: #a62828;
}

.printfriendly {
    justify-content: center !important;
}

/* -------------------------------------------------------------------------------- */
/* ! Caroselli */
/* -------------------------------------------------------------------------------- */

.uagb-post__taxonomy a[href*="/category/home-hero/"],
.uagb-post__taxonomy a[href*="/category/home-in-evidenza/"] {
    display: none !important;
}

.uagb-post-grid .uagb-post__author:not(:last-child)::after {
    content: "/";
    margin: 0 2px;
}

.uagb-post-grid .uagb-post__author:not(:last-child) {
    margin-right: 0;
}

.uagb-post__image img {
    border-radius: 35px;
    border: 2px solid var(--bordo-immagini);
}

.uagb-slick-carousel {
   padding-left: 0;
   padding-right: 0;
}

.uagb-slick-carousel button.slick-arrow {
    background-color: var(--azzurro) !important;
    border-radius: 50%;
}

.uagb-slick-carousel button.slick-arrow svg {
    display: none;
}

.uagb-slick-carousel button.slick-arrow::before {
    display: block;
    width: 20px;
    height: 20px;
    background: url(img/freccia-bianca.svg) no-repeat center center; 
    background-size: 7px 18px;
}

.uagb-slick-carousel button.slick-arrow.slick-prev::before {
    transform: scaleX(-1);
}

.uagb-slick-carousel .uagb-post__image img {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;  
    height: 220px;
}

.uagb-slick-carousel .uagb-post__text {
    padding-left: 15px;
    padding-right: 15px;
    border-left: 2px solid var(--bordo-grigio);
    border-right: 2px solid var(--bordo-grigio);
    background-color: #fff;
}

.uagb-slick-carousel .uagb-post__taxonomy {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--rosso);
    font-weight: 600;
}

.uagb-slick-carousel .uagb-post__text:first-child {
    border-top: 2px solid var(--bordo-grigio);
}

.uagb-slick-carousel .uagb-post__excerpt {
    border-bottom: 2px solid var(--bordo-grigio);
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;  
    min-height: 97px;
}

.uagb-slick-carousel .uagb-post__title {
    order: 2;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; 
    overflow: hidden;
}

.uagb-slick-carousel .uagb-post-grid-byline {
    padding-top: 10px;
}

.uagb-slick-carousel .slick-disabled {
    opacity: .5;
}

.uagb-slick-carousel ul.slick-dots li button::before {
    display: none;
}

.uagb-slick-carousel ul.slick-dots li button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--azzurro);
}

.uagb-slick-carousel ul.slick-dots li.slick-active button {
    background-color: var(--azzurro) !important;
}

.uagb-slick-carousel ul.slick-dots li.slick-active button:hover,
.uagb-slick-carousel ul.slick-dots li.slick-active button:focus {
    background-color: var(--azzurro) !important;
}

/* -------------------------------------------------------------------------------- */
/* ! Bottoni */
/* -------------------------------------------------------------------------------- */

.uagb-buttons-repeater.wp-block-button__link {
    padding: 15px 25px;
    border-color: var(--azzurro) !important;
    font-size: 14px;
}

.uagb-buttons-repeater.wp-block-button__link::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 18px;
    background: url(img/freccia-bianca.svg) no-repeat center center; 
    background-size: 7px 18px;
    margin-left: 15px;
}

/* -------------------------------------------------------------------------------- */
/* ! Header */
/* -------------------------------------------------------------------------------- */

header {
    width: 1280px;
    margin: 0 auto;
}

header .site-above-header-wrap {
    padding-left: 0;
    padding-right: 0;
}

.site-header-above-section-left .menu-item:first-child a {
    padding-left: 0;
}

.site-header-above-section-right .menu-item:last-child a {
    padding-right: 0;
}

/* -------------------------------------------------------------------------------- */
/* ! Home Page
/* -------------------------------------------------------------------------------- */

.gruppo-home {
    background: hsla(206, 45%, 85%, 1);
    background: linear-gradient(90deg, hsla(206, 45%, 85%, 1) 0%, hsla(0, 0%, 100%, 1) 59%);
    background: -moz-linear-gradient(90deg, hsla(206, 45%, 85%, 1) 0%, hsla(0, 0%, 100%, 1) 59%);
    background: -webkit-linear-gradient(90deg, hsla(206, 45%, 85%, 1) 0%, hsla(0, 0%, 100%, 1) 59%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#C8DBEA", endColorstr="#FFFFFF", GradientType=1 );
}

.home-hero {
    margin-bottom: 55px;
}

.home-hero .uag-post-grid-wrapper {
    text-align: left;
}

.home-hero .uag-post-grid-wrapper::before {
    content: 'Le news in evidenza';
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
}

.home-hero.wp-block-uagb-post-grid .uagb-post__image {
    width: 50%;
}

.home-hero.uagb-post-grid.is-grid.uagb-post__image-position-top .uagb-post__image a {
    height: auto;
    padding-bottom: 0;
}

.home-hero.uagb-post-grid.is-grid.uagb-post__image-position-top .uagb-post__image a img {
    position: relative;
}

.home-hero .uagb-post__text:first-child {
    order: 1;
}

.home-hero .uag-post-grid-wrapper .uagb-post__title {
    order: 2;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; 
    overflow: hidden;
    margin-bottom: 30px;
}

.home-hero .uag-post-grid-wrapper .uagb-post__excerpt {
    order: 3;
}

.home-hero .uag-post-grid-wrapper .uagb-post-grid-byline {
    order: 4;
}

.home-hero .uagb-post__taxonomy {
    text-transform: uppercase;
    color: var(--azzurro);
    border-top: 1px solid var(--azzurro);
    font-weight: 600;
    padding-right: 2px;
}

.home-boxes {
    max-width: 1900px !important;
    margin: 90px auto !important;
}

.home-boxes .left .content-box,
.home-boxes .right .content-box {
    padding: 80px 20px 60px;
    max-width: 620px;
    margin: 0 auto;
}

.home-boxes .left > .wp-block-group,
.home-boxes .right > .wp-block-group {
    height: 100%;
}

.home-boxes .left > .wp-block-group::before,
.home-boxes .right > .wp-block-group::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 9px;
    background-color: rgba(19, 59, 91, .75);
}

.home-boxes .right > .wp-block-group::before {
    background-color: rgba(0, 0, 0, .70);
}

.home-boxes .top {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    z-index: 10;
}

.home-boxes .top .wp-block-uagb-image {
    width: 57px;
    height: 62px;
    background-color: #fff;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
}

.home-boxes .left .top .wp-block-uagb-image img {
    width: 33px;
    height: 41px;
}

.home-boxes .right .top .wp-block-uagb-image img {
    width: 34px;
    height: 39px;
}

.home-boxes .titolo {
    position: relative;
    z-index: 10;
    margin: 0 0 0 15px !important;
}

.home-boxes .testo,
.home-boxes .wp-block-uagb-buttons {
    position: relative;
    z-index: 10;
}

.home-boxes .left .uagb-buttons-repeater.wp-block-button__link {
    font-weight: 600;
    font-size: 16.5px;
}

.home-boxes .left .uagb-buttons-repeater.wp-block-button__link::after {
    background: url(img/freccia-nera.svg) no-repeat center center; 
    background-size: 7px 18px;
}

.home-boxes .left .uagb-buttons-repeater.wp-block-button__link:hover::after,
.home-boxes .left .uagb-buttons-repeater.wp-block-button__link:focus::after {
    background: url(img/freccia-bianca.svg) no-repeat center center; 
    background-size: 7px 18px;
}

/* -------------------------------------------------------------------------------- */
/* ! Testo scorrevole
/* -------------------------------------------------------------------------------- */

.marquee-infinite-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
  box-sizing: border-box;
  background: transparent;
  margin-top: 20px;
  margin-bottom: 50px;
}

.marquee-track {
  display: inline-flex;
  width: max-content;
  animation: marquee-infinite 20s linear infinite;
}

.gradient-text {
  font-size: 120px;
  font-weight: 700;
  background: linear-gradient(90deg, #5691c0 0%, #e7e7e7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding-right: 20px;
}

@keyframes marquee-infinite {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}