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

/*************** ADD CUSTOM CSS HERE.   ***************/

h1 {
    font-size: 60px;
    line-height: 65px;
}

h2 {
    font-size: 40px;
    line-height: 45px;
}

h3 {
    font-size: 30px !important;
    line-height: 30px !important;
    font-weight: 400 !important;
}

p {
    font-size: 18px !important;
    line-height: 25px !important;
}

.home.hero_section .section-bg-overlay {
        background: linear-gradient(90deg, #2c2f88 0%, transparent 100%);
}

.home.hero_section{
    max-height: 500px;
}

.home.hero_section .text-box{
    overflow: hidden;
}

.home.hero_section .img-inner img{
    max-height: 500px;
    width: auto;
}

.button.is-underline {
    font-size: 16px !important;
    line-height: 25px !important;
}

.button.primary {
    background-color: #009FE3;
}

.servizi_section h3 {
    margin-bottom: 30px;
}

.servizi_section .text > p:last-of-type {
    margin-bottom: 30px;
}

.servizi_section .text-box-content img{
    height: 50px;
    width: auto;
    filter: invert(96%) sepia(0%) saturate(7500%) hue-rotate(148deg) brightness(105%) contrast(104%);
    z-index: 2;
    position: relative;
    margin: 15px;
}

.servizi_section .text-box-content .img-inner:after{
    content: "";
    height: 80px;
    width: 80px;
    border-radius: 80px;
    background-color: #2c2f88;
    position: absolute;
    z-index: 1;
    left: 0;
}

.servizi_section .servizi_icon img{
    height: 50px;
    width: auto;
    filter: invert(96%) sepia(0%) saturate(7500%) hue-rotate(148deg) brightness(105%) contrast(104%);
    z-index: 2;
    position: relative;
    margin: 15px;
}

.servizi_section .servizi_icon .img-inner:after{
    content: "";
    height: 80px;
    width: 80px;
    border-radius: 80px;
    background-color: #2c2f88;
    position: absolute;
    z-index: 1;
    left: 0;
}



.recensioni_section .text > h3:first-child{
    margin-bottom: 30px;
}


.chiara_ricci img {
	object-fit: inherit!important;
}





@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    h1 {
        font-size: 42px;
        line-height: 50px;
    }

    h2 {
        font-size: 35px;
        line-height: 40px;
    }

    h3 {
        font-size: 25px !important;
        line-height: 25px !important;
        font-weight: 400 !important;
    }

    p {
        font-size: 16px !important;
        line-height: 20px !important;
    }



    .servizi_section .servizi_icon .img-inner:after{
        right: 0;
        margin:auto;
    }


    .servizi_section .servizi_icon .img-inner{
        display: flex;
        justify-content: center;

    }

    .servizi_section h3, .servizi_section p, .servizi_section .col-inner {
        text-align: center;
    }
}