/**
 * Theme Name: Studio Galli Ingegneria
 * Description: Tema child di Blocksy
 * Author: Riccardo Turcato
 * Template: blocksy
 * Text Domain: blocksy
 */

.svg-inline--fa.fa-w-12 {
    width: 0.75em;
    color: var(--paletteColor1);
}
.svg-inline--fa.fa-w-14 {
    width: 0.875em;
    color: var(--paletteColor1);
}
.svg-inline--fa.fa-w-16 {
    width: 1em;
    color: var(--paletteColor1);
}

.bubble h2::before {
    content:'';
    width: 120px;
    height: 120px;
    border-radius: 40% 45% 48% 43%;
    background: #9ACCD8;
    mix-blend-mode: multiply;
    z-index: 1;
    position: absolute;
    top: -40px;
    left: calc(50% - 60px);
    display: block;
    -webkit-animation: bubble 4s infinite, rotation360 6s linear infinite;/* Safari 4+ */
    -moz-animation: bubble 4s infinite, rotation360 6s linear infinite; /* Fx 5+ */
    -o-animation: bubble 4s infinite, rotation360 6s linear infinite;/* Opera 12+ */
    animation: bubble 4s infinite, rotation360 6s linear infinite;/* IE 10+, Fx 29+ */
}

@keyframes bubble {
    0%, 100% {
    width: 120px;
    height: 120px;
    border-radius: 40% 45% 48% 43%;
    top: -40px;
    left: calc(50% - 60px);
    }
    50% {
    width: 140px;
    height: 150px;
    border-radius: 65% 75% 68% 73%;
    top: -60px;
    left: calc(50% - 70px);
    }
}


.bubble h3::before {
    content:'';
    width: 90px;
    height: 90px;
    border-radius: 50% 48% 45% 47%;
    background: #9ACCD8;
    mix-blend-mode: multiply;
    z-index: 1;
    position: absolute;
    top: -20px;
    left: calc(50% - 45px);
    display: block;
    -webkit-animation: bubble-small 4s infinite, rotation360 6s linear infinite;/* Safari 4+ */
    -moz-animation: bubble-small 4s infinite, rotation360 6s linear infinite; /* Fx 5+ */
    -o-animation: bubble-small 4s infinite, rotation360 6s linear infinite;/* Opera 12+ */
    animation: bubble-small 4s infinite, rotation360 6s linear infinite;/* IE 10+, Fx 29+ */
}
@keyframes bubblesmall {
    0%, 100% {
    width: 90px;
    height: 90px;
    border-radius: 50% 48% 45% 47%;
    top: -20px;
    left: calc(50% - 45px);
    }
    50% {
    width: 110px;
    height: 130px;
    border-radius: 65% 75% 68% 73%;
    top: -30px;
    left: calc(50% - 55px);
    }
}



@keyframes rotation360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


body.home main .ct-container {
    padding-bottom: 0!important;
}

/* HOME PAGE */
body.home .ct-container-full {
    padding-bottom: 0px!important;
}


/* PROGETTi CARD */
.grid-container-progetto-dettagli {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0px 8px;
  grid-template-areas:
    "progetto_categoria progetto_categoria"
    "progetto_luogo progetto_anno";
}
.grid-container-progetto-dettagli span {
    font-family: Montserrat, Sans-Serif;
    font-weight: 900;
    font-size: 12px;
    color: var(--paletteColor1);
    text-transform: uppercase;   
    margin-left: 8px;
}
.progetto_categoria { grid-area: progetto_categoria; }
.progetto_luogo { grid-area: progetto_luogo; }
.progetto_anno { grid-area: progetto_anno; }

/* PROGETTI FILTRO */
#progetti_filtro {
    background-color: var(--paletteColor1);
    padding-top: 25px;
    padding-bottom: 25px;
}
#progetti_filtro [data-items] {
    display: flex;
    align-items: center;
    min-width: 0;
}
#progetti_filtro [data-column='start'], #progetti_filtro [data-column='end'] {
    min-width: 0;
}
#progetti_filtro ul > li > a {
    color: var(--paletteColor5);
    text-transform: uppercase;
    font-size: 13px;
    font-weight:700;
    padding-left: 5px;
    padding-right: 5px;
    letter-spacing: -0.2px;
}
#progetti_filtro ul > li > a:hover {
    color: #cccccc;
    text-transform: uppercase;
    font-size: 13px;
    font-weight:700;
}
#progetti_filtro ul > li > a:before {
    content:"\A";
    width:12px;
    height:12px;
    border-radius:50%;
    background: #ffffff;
    display:inline-block;
    margin-right:5px;
    border: 1px solid #fff;
}
#progetti_filtro ul > li:first-child > a {
    padding-left: 0!important;
}
#progetti_filtro ul > li.menu-item-2 > a:before,
#progetti_filtro ul > li.menu-item-36 > a:before{
    background: #203963;
}
#progetti_filtro ul > li.menu-item-5 > a:before,
#progetti_filtro ul > li.menu-item-47 > a:before{
    background: #FDBF2D;
}
#progetti_filtro ul > li.menu-item-9 > a:before,
#progetti_filtro ul > li.menu-item-48 > a:before{
    background: #94CE58;
}
#progetti_filtro ul > li.menu-item-10 > a:before,
#progetti_filtro ul > li.menu-item-38 > a:before{
    background: #1EB1ED;
}
#progetti_filtro ul > li.menu-item-11 > a:before,
#progetti_filtro ul > li.menu-item-42 > a:before {
    background: #FC0D1B;
}

#progetti_filtro select {
    min-width:200px;
    color:#fff;
    text-transform: uppercase;
}
@media (max-width: 1399px) {
    #progetti_filtro ul.menu {
        display: none;
    }
}
@media (min-width: 1400px) {
    #progetti_filtro select {
        display: none;
    }
}