@charset "UTF-8";
/* CSS Document */

html,
body {
    overflow-x: hidden;
    font-size: 20px;
}

h1 {
    font-family: 'Varela Round', sans-serif;
    font-size: 60px;
    color: #262626;
    line-height: 50px;
}

h2 {
    font-family: 'Varela Round', sans-serif;
    font-size: 40px;
    color: #262626;
    line-height: 40px;
}

h3 {
    font-family: 'Varela Round', sans-serif;
    font-size: 40px;
    color: #262626;
    line-height: 40px;
    padding-top: 20px;
}

h4 {
    font-family: 'Varela Round', sans-serif;
    font-size: 40px;
    color: #262626;
    line-height: 40px;
}

p {
    font-family: 'Niramit', sans-serif;

}

a:hover {
    color: #e4320b;
    text-decoration: none;
}

a {
    color: #fff;
}




.txt-nav {
    font-size: 17px;
    color: #fff !important;
    margin: 0px;
    padding: 0px;
    padding-right: 10px;
}

.btn-outline-danger {
    font-family: 'Varela Round', sans-serif;
    color: #dd3a35;
    background-color: transparent;
    background-image: none;
    border: 2px solid #dd3a35;
}

.btn-outline-white {
    font-family: 'Varela Round', sans-serif;
    color: #fff;
    background-color: transparent;
    background-image: none;
    border: 2px solid #fff;
}

.btn-outline-white:hover {
    font-family: 'Varela Round', sans-serif;
    color: #dd3a35;
    background-color: #fff;
    background-image: none;
    border: 2px solid #fff;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 2px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 4px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.spaziosu {
    padding-top: 100px;
}

.white {
    color: #fff;
}

.bordo {
    border-bottom: 2px solid #cd3223;
}

.sottotitolo {
    font-size: 20px;
    color: #dd3939;
}

.box {
    border: 3px solid #e64225;
    border-radius: 13px;
    color: #e64225;
}

.txtbox {
    color: #e64225;
    font-size: 22px;
    text-align: center;
}

.nopadding {
    padding: 0px;
    margin: 0px;
}

.titcertificati {
    font-size: 24px;
    text-align: center;
}


.hoverimg {
    position: relative;
    opacity: 0.8;
    transition: 0.3s ease;
    cursor: pointer;
}

.hoverimg:hover {
    transform: scale(1.1, 1.1);
    /** default is 1, scale it to 1.5 */
    opacity: 1;
}

.backgas {
    background-image: url(../img/fiamma.svg);
    background-repeat: no-repeat;
    background-position: right;
    width: 100%;
    background-size: cover;
}

.backgasolio {
    background-image: url(../img/goccia.svg);
    background-repeat: no-repeat;
    background-position: right;
    width: 100%;
    background-size: cover;
}

strong {
    font-weight: bolder;

}





.contenuto {
    max-height: 120px;
    position: relative;
    overflow: hidden;
}

.contenuto .read-more {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 30px 0;

    /* "transparent" only works here because == rgba(0,0,0,0) */
    background-image: linear-gradient(to bottom, transparent 0%, #ffffff99 20%, #ffffffaa 50%, #ffffffff 100%);
}

.read-more .button {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    background-color: rgb(182, 25, 20);
    padding: 10px;
    border-radius: 100%;
    color: #fff;
    font-weight: 700;
    font-size: 26px;
    text-transform: uppercase;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.30);
}

.backgasolio,
.backgas {
    padding-top: 40px;
    padding-bottom: 50px;
}

.backcertificazioni {
    padding-top: 40px;
    padding-bottom: 70px;
}

#contatti {
    padding-bottom: 80px;
}

.mobile-padding {
    padding-top: 20px;
}

@media screen and (min-width: 768px) and (max-width: 1366px) {
    .backcertificazioni {
        padding-top: 60px;
    }
}

@media only screen and (max-width: 600px) {
    h1 {
        font-size: 40px;
        line-height: 32px;
    }

    video {
        padding-top: 40px;
    }
}
