/*
Theme Name: Logistics Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
  --blu: #27367d;
  --green: #29eaa6;
  --light-blu: #94a3ce;
  --blu-text: #1f1e40;
}

body {
    font-family: "forma-djr-deck", sans-serif;
    line-height: 1.25;
}
html{
    font-size: 20px;
}
.blu{
    color: var(--blu);
}
.lblu{
    color: var(--light-blu);
}
p{
    margin-bottom:0;
    color: var(--blu-text);
}
h2 + p{
    margin-top: 32px;
}
p + p,
h3 + p{
    margin-top: 24px;
}
.section{
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}
h1{
    font-size: 3rem;
}
h2{
    font-size: 2rem; 
}
h3{
    font-size: 1.4rem;
}
p, .btn-green{
    font-size: 1rem;
}
.btn-green{
    background-color: var(--green);
    color: var(--blu) !important;
}
.btn-blu-form{
    background-color: var(--blu);
    width: 100%;
    border-radius: 10px;
}
.logo-main img{
    width: 350px;
}
.logo-min img{
    width: 218px;
}
h1, .h1, h2, .h2, h3{
    line-height: 1;
    margin-bottom: 0;   
}
.hero-banner h1{    
    line-height: 1;
    margin-bottom: 24px;
}
.hero-banner p{
    font-size: 1.5rem;
    font-weight: 600;
}
h2 + h3,
h3 + h3{
    margin-top: 16px;
}
h3 + h3{
    margin-bottom: 40px;
}

.blu-gradient{
    background: rgba(31, 30, 64, 1);
    background: linear-gradient(45deg,rgba(31, 30, 64, 1) 40%, rgba(148, 163, 206, 1) 100%);
}

/* CARD */
.flip-card{
    width:70%;
    height:280px;
    perspective:1200px;
}
.flip-card-inner{
    position:relative;
    width:100%;
    height:100%;
    transform-style:preserve-3d;
    transition:transform 1.6s cubic-bezier(.22,1,.36,1);
}
.flip-card:hover .flip-card-inner{
    transform:rotateY(180deg);
}
.flip-card-front,
.flip-card-back{
    position:absolute;
    inset:0;
    background:#fff;
    border-radius:8px;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:visible;
    padding:30px;
    -webkit-box-shadow: 4px 4px 8px 0px rgba(255,255,255,0.5); 
    box-shadow: 4px 4px 8px 0px rgba(255,255,255,0.5);    
}

.flip-card-back{
    transform:rotateY(180deg);
}

/* ANGOLO DX */
.corner{
    position:absolute;
    width:50px;
    height:50px;
    background:url('/wp-content/uploads/card2-2x-8-top.png') center/contain no-repeat;
    z-index:2;
}
.corner-front{
    top:-10px;
    right:-10px;
}
.corner-back{
    top:-10px;
    left:-10px;
    transform:scaleX(-1);
}
/* QUADRATINO */
.dot{
    position:absolute;
    width:25px;
    height:25px;
    background:url('https://logisticshub.it/wp-content/uploads/card2-2x-8.png') center/contain no-repeat;
    z-index:2;
}
.dot-front{
    left:-4px;
    bottom:-4px;
}
.dot-back{
    right:-4px;
    bottom:-4px;
}
/* FINE CARD */
.button{
    margin-bottom: 0;
}
.mb-32{
    margin-bottom: 32px !important;
}
.mt-48{
    margin-top: 48px !important;
}

.col-bergamo-left .col-inner,
.col-bergamo-right .col-inner{
    display:flex;
    flex-direction:column;
    height:100%;
    justify-content: space-between;
}

.col-bergamo-left .img{
    margin-top:auto;
}

.col-bergamo-right h3{
    margin-top:auto;
}
.bg-bagliore-br,
.bg-bagliore-tl{
    background-image: url(https://logisticshub.it/wp-content/uploads/bagliore.png);
    background-repeat: no-repeat;
}
.decoration-img .img-inner{
    border-radius: 16px;
    -webkit-box-shadow: 7px 7px 10px -5px #000000;
    box-shadow: 7px 7px 10px -5px #1f1e40;
}
.wpcf7-form #form-contatto .flex-row .flex-col,
.wpcf7-form .flex-row .flex-col {
    margin-bottom: 10px;
}
#cmplz-manage-consent .cmplz-manage-consent {
     display: none; 
}
#form-contatto .wpcf7-radio .wpcf7-list-item{
    border: 1px solid #ddd;
    padding: 5px 10px 5px 5px;
    border-radius: 10px;    
}
#form-contatto input,
#form-contatto textarea{
    border-radius: 10px;
}
#form-contatto .wpcf7 .wpcf7-radio span.wpcf7-list-item {
    margin-left: 0;
    margin-right: 1em;
}
    .bg-bagliore-tl{
        background-position: left -10% top -50%;
    }
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .section{
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }
    h2 + p {
        margin-top: 24px;
    }    
    .flip-card{
        width: 90%;
        margin-bottom: 32px;
    }
    .bg-bagliore-br {
        background-position: right -100px bottom -80% !important;
    }    
}

/***** MEDIA SCREEN DESKTOP *****/
@media only screen and (min-width: 850px){
    .col{
        padding-bottom: 0 !important;
    }
    .partecipare-col .colonna-1{
        padding-right: 40px;
    }
    .partecipare-col .colonna-2{
        padding-left: 40px;
    } 
    .wpcf7-form .flex-row:not(.single) .flex-col:nth-child(1) {
        margin-right: 10px;
    }    
}

@media only screen and (max-width: 850px){
    .col-bergamo-left{
        margin-bottom: 56px;
    }
    .mt-48{
        margin-top: 32px !important;
    }
    .maps-fiera{
        order: -1;
        margin-top: 0 !important;
        margin-bottom: 32px;
    }    
}

@media only screen and (min-width: 1245px){
    .bg-bagliore-br{
        background-position: right -15% bottom -130%;
    }  
    .bg-bagliore-tl{
        background-position: left -10% top -50%;
    }

}
@media screen and (min-width: 850px) and (max-width: 1244px) {
    .bg-bagliore-tl{
        background-position: left -30% top -50%;
    }     
}
@media screen and (min-width: 950px) and (max-width: 1244px) {
    .bg-bagliore-br{
        background-position: right -15% bottom -95%;
    }      
}
@media screen and (min-width: 850px) and (max-width: 950px) {
    .bg-bagliore-br{
        background-position: right -15% bottom -70%;
    }      
}
@media screen and (min-width: 686px) and (max-width: 850px) {
    .bg-bagliore-br{
        background-position: right -15% bottom -45%;
    }      
}

@media only screen and (max-width: 685px){ 
    .bg-bagliore-br{
        background-position: right -145% bottom -45%;
    }
    .bg-bagliore-tl{
        background-position: right -145% bottom -45%;
    }    
}

@media screen and (min-width: 850px) and (max-width: 1150px) {
    .flip-card{
        width: 100% !important;        
    }
    .flip-card-inner h3{
        font-size: 1.25rem;
    }
}