body {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 23px;
    color: #1d1d1b;
    font-weight: 300;
}

.kwRelative {
    position: relative;
}

.kwMobile, .kwTablet {
    display: none;
} 

html {
    scrollbar-color: #121644 #ececec;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

hr {
    border-top: solid 1px #ddd;
}

/* margin */
p, h2, h3, ul, .sp-module ul, table {
    margin: 20px 0 0;
}
p:first-child, h2:first-child, h3:first-child, ul:first-child {
    margin-top: 0;
}

/* margin sopra e sotto articolo */
.entry-header {
    margin-bottom: 0;
}
article.item {
    margin-bottom: 0;
}
#sp-main-body {
    padding: 0;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #ececec;
}
::-webkit-scrollbar-thumb {
    background: #121644;
}
::-webkit-scrollbar-thumb:hover {
    background: #121644;
    opacity: 0.8;
}

/* selection */
*::-moz-selection { background:#FFFF7D; color:#111d2d; }
*::-webkit-selection { background:#FFFF7D; color:#111d2d; }
*::selection { background:#FFFF7D; color:#111d2d; }

/* impaginazione senza eccessi ai lati */
div.container {
    padding: 0;
}
.row {
    margin: 0;
}
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding: 0;
}
.body-innerwrapper {
    overflow-x: visible;
}

/* width */
.kw100 {
    width: 100%;
}

/* fonts and text */
@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-stretch: 100%;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-stretch: 100%;
    font-style: italic;
}
.kwBold {
    font-weight: 600;
}
h1 {
    text-transform: uppercase;
    font-size: 50px;
    line-height: 55px;
    margin: 0;
    font-weight: 600;
}
h2, .kwH2Style {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 45px;
}
h3, .kwH3Style, .uk-scope h2.kwH3Style {
    font-size: 25px;
    line-height: 30px;
    font-weight: 300;
    text-transform: uppercase;
}
.kwImportantText {
    font-size: 22px;
    line-height: 27px;
}
.kwTextAlignCenter {
    text-align: center;
}
.kwPhoneNumber {
    font-size: 28px;
    line-height: 33px;
    font-weight: 600;
    color: #5159b1;
}
a.kwPhoneNumber:hover {
    color: #8c94e3;
}
.kwSmallIco {
    width: 15px;
    margin-right: 10px;
    text-align: center;
}
.kwBigTextIcon {
    font-size: 40px;
    line-height: 45px;
}
div.uk-scope h2, div.uk-scope h3 {
    font-family: "Montserrat";
}
.kwWordWrap {
    word-wrap: anywhere;
}

/* ul */
ul.kwNumberedUl {
    list-style: decimal;
}
.kwCheckList > li {
    grid-template-columns: 50px auto;
    display: grid;
    align-items: center;
    grid-gap: 10px;
    min-height: 50px;
}
.kwCheckList {
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 40px;
}
.kwCheckList > li::before {
    content: "\f046";
    font-family: FontAwesome;
    font-size: 50px;
    align-self: start;
    line-height: 50px;
}

/* buttons */
.btn-primary, .btn-secondary {
    margin-top: 40px;
    font-size: 25px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    transition: ease-out 0.2s;
}
.btn-primary {
    background-color: #5159b1;
    border: solid 3px #5159b1;
}
.btn-secondary {
    color: #1d1d1b;
    background: none;
    border: solid 3px #1d1d1b;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:active:focus {
    border-color: #8c94e3;
    background-color: #8c94e3;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active, .btn-secondary:active:focus {
    background-color: #1d1d1b;
    color: #1d1d1b;
}
.kwATFGrid .btn-secondary {
    color: #fff;
    background: none;
    border: solid 3px #fff;
}
.kwATFGrid .btn-secondary:hover {
    background-color: #fff;
    color: #1d1d1b;
}
.kw2Btns button:first-child {
    margin-right: 20px;
}

/* link */
a {
    color: #5159b1;
    font-weight: 600;
}
a:hover {
    color: #8c94e3;
}
.kwLinkCta {
    font-size: 14px;
    line-height: 30px;
    font-weight: 600;
    text-transform: uppercase;
}
.kwLinkCta a {
    color: #1d1d1b;
}
.kwLinkCta a::after {
    margin-left: 0;
    font-family: "FontAwesome";
    content: " \f101";
    font-size: 30px;
    vertical-align: sub;
    font-weight: normal;
    line-height: 30px;
    transition: ease-out 0.2s;
}
.kwLinkCta a:hover::after {
    margin-left: 10px;
}
#bfSubmitButton {
    margin: 0;
}

/* header */
section#sp-top-bar {
    background-color: #fff;
    color: #1d1d1b;
    font-size: 14px;
    line-height: 30px;
    font-weight: 600;
}
#sp-top2 i.fa {
    margin-left: 30px;
}
#sp-top2 {
    text-align: right;
}
#sp-top-bar .sp-module {
    margin: 0;
}
#sp-top1, #sp-top2 {
    border-bottom: solid 1px #ddd;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    font-size: 18px;
    font-weight: 600;
    padding: 0 0 0 30px;
    color: #1d1d1b;
    line-height: 100px;
    letter-spacing: 0;
}
#sp-header, #sp-header .logo {
    height: 100px;
    box-shadow: none;
}
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.alias-parent-active > a,
.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > aa {
    color: #5159b1;
}
img.sp-default-logo, img.sp-retina-logo {
    width: 260px;
}
#offcanvas-toggler {
    line-height: 100px;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover {
    background: #556572;
}

/* megamenu */
.sp-megamenu-parent {
    position: unset;
}
.sp-megamenu-parent .sp-module {
    padding: 0;
}
#sp-header > .container > .row {
    position: unset !important;
}
.sp-dropdown.sp-dropdown-main.sp-dropdown-mega.sp-menu-full.container {
    width: 100%;
    position: absolute;
    background-color: #ececec;
    transition: ease-out 0.2s;
    box-shadow: none;
    left: 0;
    max-width: 100%;
}
.sp-megamenu-parent .sp-dropdown.sp-menu-full > .sp-dropdown-inner {
    padding: var(--kwmargincontainer) calc((100% - var(--kwwidthcontainer))/2);
    margin: 0 calc(0px - var(--kwmargincontainer));
}
.kwMegamenu3Col {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 40px;
    background: #ececec;
}
.kwRowMegaProdotti {
    display: flex;
    flex-wrap: wrap;
    gap: 25px 40px;
    align-content: start;
}
.kwTitleMega {
    width: 100%;
}
.kwAntMega {
    width: 363px;
    display: grid;
    grid-template-columns: 75px auto;
    align-items: center;
    grid-gap: 20px;
    color: #2d2d2b;
}
.kwTitleMega a {
    color: #2d2d2b;
}
.kwTitleMega a:hover {
    color: #8c94e3;
}
.kwImgAntMega {
    border-radius: 100px;
}
.kwDoubleCell {
    grid-column-end: span 2;
}
.itemid-120 #linkmega120,
.itemid-121 #linkmega121,
.itemid-122 #linkmega122,
.itemid-146 #linkmega146,
.itemid-147 #linkmega147,
.itemid-148 #linkmega148,
.itemid-149 #linkmega149,
.itemid-164 #linkmega164 {
    color: #5159b1;
}

/* breadcrumb */
.breadcrumb {
    padding: 0;
    margin: 0;
    background: none;
    color: #1d1d1b;
    font-weight: 300;
    font-size: 12px;
    line-height: 17px;
    text-transform: uppercase;
}
.breadcrumb > span:first-child {
    display: none;
}
.breadcrumb a {
    color: #1d1d1b;
    font-weight: 600;
    transition: ease-out 0.2s;
}
.breadcrumb a:hover {
    color: #5159b1;
}
.breadcrumb > .active {
    color: #1d1d1b;
}
.breadcrumb > li + li::before {
    content: "|";
    color: #1d1d1b;
    font-weight: 600;
}

/* atf home */
.kwAtfAnimLogo.kw1170g {
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}
.kwLogoHome {
    margin: auto;
    position: relative;
    z-index: 1;
}
.kwH1Home {
    font-size: 25px;
    line-height: 1.3;
    font-weight: 700;
    max-width: 600px;
    margin: 60px auto 0;
    text-transform: none;
    position: relative;
    z-index: 1;
}
.kwAnimLogo {
    opacity: 0.1;
    position: absolute;
}
.kwAnim001 {
    width: 250px;
    right: 30px;
    bottom: 0;
    animation: anim001 20s infinite;
}
.kwAnim002 {
    top: -100px;
    right: -154px;
    width: 299px;
    animation: anim002 34s infinite;
}
.kwAnim003 {
    width: 250px;
    left: 30px;
    top: -300px;
    animation: anim003 28s infinite;
}
.kwAnim004 {
    bottom: 80px;
    left: 0;
    width: 286px;
    animation: anim004 37s infinite;
}
@keyframes anim001 {
    0% {
        bottom: 0;
    }

    50% {
        bottom: -300px;
    }

    100% {
        bottom: 0;
    }
}
@keyframes anim002 {
    0% {
        top: -100px; right: -154px;
    }

    50% {
        top: 0; right: -64px;
    }

    100% {
        top: -100px; right: -154px;
    }
}
@keyframes anim003 {
    0% {
        top: -300px;
    }

    50% {
        top: 0;
    }

    100% {
        top: -300px;
    }
}
@keyframes anim004 {
    0% {
        left: 0;
    }

    50% {
        left: -250px;
    }

    100% {
        left: 0;
    }
}
.kwRowCertificato {
    background-color: #131644;
    color: #fff;
    font-weight: 600;
    padding: 5px calc((100% - 1170px)/2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.kwLinkCta.kwLinkDownload a {
    color: #fff;
}
.kwLinkCta.kwLinkDownload a::after {
    content: " \f019";
    font-size: 1.4em;
}

/* pagina generale */
.kwContentPage h2 {
    text-transform: none;
    line-height: 40px;
    font-size: 35px;
}
.kwLatForm h2 {
    font-size: 25px;
    line-height: 30px;
}
.kwContentPage {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 80px;
}
.kwLatForm {
    text-align: center;
    width: 250px;
}
.kwContentPage .kwCertificatoTuv {
    width: 100%;
    margin-top: 20px;
    grid-template-columns: 250px auto;
    grid-gap: 40px;
}

/* sezione laterale con form */
.kwLatForm p, .kwLatForm .kwForm {
    margin-top: 40px;
}
.kwForm .bfQuickMode .controls .control-label {
    width: 100% !important;
    max-width: 100% !important;
    font-weight: 300;
    font-size: 17px;
    margin-bottom: 5px;
}
.form-actions {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}
.bfSubmitButton {
    width: 100%;
    margin-top: 30px;
}
.kwForm .bfQuickMode .icon-asterisk {
    color: #8c94e3;
}
#bfLabel16, #bfLabel34 {
    float: right;
    width: calc(100% - 30px) !important;
    text-align: left;
}
#ff_elem16, #ff_elem34 {
    float: right;
    margin-right: 10px;
}

/* above the fold */
.kwATFGrid {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1170px;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 20px;
    align-content: center;
    color: #fff;
}
.kwBenATF {
    list-style: none;
    padding: 0;
    font-size: 25px;
    line-height: 30px;
    margin-top: 40px;
}
.kwCertificatoTuv {
    background-color: #e6e9e9;
    border-radius: 10px;
    padding: 40px;
    color: #26247b;
    text-align: center;
    display: grid;
    align-items: center;
    width: 300px;
}
.kwCertificatoTuv .kwLinkCta a {
    color: #26247b;
}
.kwCertificatoTuv img {
    max-width: 200px;
    margin: auto;
}
.kwCertificatoTuv img.kw100 {
    max-width: 100%;
}

/* sezione servizi offerti */
.kwServiziGrid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    grid-gap: 0;
}
.kwServiziGrid > div:nth-child(2n+1) {
    background-color: #f5f5f5;
}
.kwServiziGrid > div:nth-child(2n) {
    background-color: #ececec;
}
.kwContentServizi {
    padding: 40px 30px;
}

.kwSliderServizi {
    padding: 0 40px;
    position: relative;
}
.kwSliderServizi::before {
    content: "";
    width: 40px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    display: block;
    z-index: 1;
}
.kwSliderServizi::after {
    content: "";
    width: 40px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: #fff;
    display: block;
    z-index: 1;
}
.kwSliderServizi .uk-overlay-panel {
    padding: 0;
    color: #1d1d1d;
    align-items: start;
}
.kwSliderServizi ul.uk-slider-items > li:nth-child(2n+1) {
    background-color: #f5f5f5;
}
.kwSliderServizi ul.uk-slider-items > li:nth-child(2n) {
    background-color: #ececec;
}
.uk-scope a {
    color: #1d1d1b !important;
    text-decoration: none !important;
}
.uk-scope .kwContentServizi h3 {
    font-family: "Montserrat";
    font-size: 25px;
    line-height: 30px;
    font-weight: 300;
    text-transform: uppercase;
}
.uk-scope .uk-visible-toggle:not(:hover):not(:focus) a.uk-hidden-hover:not(:focus-within) {
    width: unset !important;
    height: unset !important;
    padding: 5px 0 !important;
    margin: 15px 0 !important;
}
.uk-scope > .kwSliderServizi .uk-visible-toggle:not(:hover):not(:focus) a.uk-hidden-hover:not(:focus-within),
.uk-scope > .kwSliderServizi .uk-visible-toggle a.uk-hidden-hover {
    background-color: #5159b1 !important;
    border-radius: 100%;
    width: 40px !important;
    height: 40px !important;
    text-align: center;
    padding: 8px 0 !important;
    z-index: 2;
}
.uk-scope a.uk-position-center-left {
    left: 30px;
}
.uk-scope a.uk-position-center-right {
    right: 30px;
}
.uk-scope > .kwSliderServizi a.uk-position-center-left {
    left: -20px;
}
.uk-scope > .kwSliderServizi a.uk-position-center-right {
    right: -20px;
}
.uk-scope a.uk-position-small {
    margin: 15px 0;
    padding: 5px 0;
}
.uk-scope .uk-icon:not(.uk-preserve) [stroke*="#"]:not(.uk-preserve) {
    stroke: #fff !important;
    stroke-width: 3;
}

/* sezioni */
.kw1170w, #jmap_sitemap {
    width: 100%;
    margin: auto;
    padding: 60px;
    padding-left: calc((100% - 1170px)/2);
    padding-right: calc((100% - 1170px)/2);
}
.kw1170c {
    width: 100%;
    margin: auto;
    padding: 60px;
    padding-left: calc((100% - 1170px)/2);
    padding-right: calc((100% - 1170px)/2);
    background-color: #54626d;
    color: #fff;
}
.kw1170g {
    width: 100%;
    margin: auto;
    padding: 60px;
    padding-left: calc((100% - 1170px)/2);
    padding-right: calc((100% - 1170px)/2);
    background-color: #f5f5f5;
}
.kw1170w + .kw1170w {
    padding-top: 0;
}
.kwTitleSection {
    text-align: center;
}

/* grid */
.kwGridUlIcons {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 50px auto 50px auto;
    grid-gap: 20px;
    align-items: center;
}
.kwGridUlIcons i.fa {
    font-size: 50px;
}
.kwAutoGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 270px);
    grid-gap: 40px;
    justify-content: center;
    justify-items: center;
    margin-top: 20px;
}

/* tables */
td {
    border: solid 1px;
    padding: 10px;
    min-width: 300px;
}

/* widgetkit slider applicazioni */
.kwSliderApp, .kwSliderApp .uk-overlay-background {
    background: rgba(42, 42, 42, 0.7);
    color: #fff;
}
.kwSliderApp .uk-slidenav-position .uk-slidenav {
    display: block !important;
    color: #fff;
}
.kwSliderApp a {
    color: #fff;
    transition: ease-out 0.2s;
}
.kwLinkApp img {
    width: 120px;
    margin: 20px auto 0;
}
.kwLinkApp h3 {
    font-weight: 600;
}
.uk-overlay-panel.uk-ignore.uk-flex.uk-flex-center.uk-flex-middle.uk-text-center > div {
    transition: ease-out 0.2s;
}
.uk-overlay-panel.uk-ignore.uk-flex.uk-flex-center.uk-flex-middle.uk-text-center > div:hover {
    transform: scale(1.1);
}
.kwIcoApp {
    margin: auto;
}

/* pagine lavorazioni e applicazioni */
.kw2ColCapoGrid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.kw2ColCapoGrid > div {
    display: grid;
    align-content: center;
}
.kw2ColCapoGrid > div:nth-child(2n) {
    background-color: #f5f5f5;
    padding: 0 40px;
    padding-right: calc(100% - 1170px/2);
}
.kw2ColCapoGrid > div:nth-child(2n+1) {
    background-color: #ececec;
    padding: 0 40px;
    padding-left: calc(100% - 1170px/2);
}

/* sezione preventivo */
#kwSezPreventivo a {
    color: #fff;
}
#kwSezPreventivo p, #kwSezPreventivo .kwForm, #kwSezPreventivo .kwAutoGrid {
    margin-top: 40px;
}
#kwSezPreventivo p.kwPhoneNumber {
    margin-top: 20px;
}
#kwSezPreventivo p.kwBigTextIcon {
    margin-top: 0;
}
#kwSezPreventivo .ff_elem.inputbox {
    border: none;
    box-shadow: none;
}

/* footer */
#sp-footer {
    width: 100%;
    margin: auto;
    padding: 60px;
    padding-left: calc((100% - 1170px)/2);
    padding-right: calc((100% - 1170px)/2);
    background-color: #1d1d1b;
    color: #fff;
}
#sp-footer .custom {
    display: grid;
    grid-template-columns: 150px auto auto;
    grid-gap: 60px;
    text-align: left;
    font-size: 16px;
    line-height: 21px;
    align-items: center;
}
#kwLogoTuvFoot {
    /*width: 180px*/;
    margin: 0 0 0 auto;
}
.kwLastMenuFoot {
    font-size: 12px;
    line-height: 17px;
    text-transform: uppercase;
    text-align: right;
}
.kwColEndFoot {
    display: grid;
    align-items: end;
}

/* sezioni */
.kw3ColGrid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 40px;
}
.kwMarginTop {
    margin-top: 30px;
}

/* credits */
.kwCreditsLogo {
    border-radius: 7px;
}

@media screen and (max-width: 1250px) {
    .kwATFGrid {
        padding: 0 40px;
    }
    .kw1170w, .kw1170c, .kw1170g, #sp-footer, #jmap_sitemap  {
        padding: 60px 40px;
    }
    .kw2ColCapoGrid > div:nth-child(2n), .kw2ColCapoGrid > div:nth-child(2n+1) {
        padding: 0 40px;
    }
    .kwContentPage {
        grid-gap: 40px;
    }

    .kwRowCertificato {
        padding: 5px 40px;
    }
}

@media screen and (max-width: 1150px) {

    /* fonts and text */
    body {
        font-size: 16px;
        line-height: 21px;
    }
    h1 {
        font-size: 45px;
        line-height: 50px;
    }
    h2, .kwH2Style {
        font-size: 35px;
        line-height: 40px;
    }
    .kwBenATF {
        font-size: 20px;
        line-height: 25px;
    }
    .kwImportantText {
        font-size: 19px;
        line-height: 24px;
    }

    /* buttons */
    .btn-primary, .btn-secondary {
        font-size: 20px;
        margin-top: 30px;
    }

    /* link */
    .kwLinkCta a::after {
        margin-left: 10px;
    }
    .kwLinkCta a:hover::after {
        margin-left: 20px;
    }

    /* atf */
    .kwBenATF {
        margin-top: 20px;
    }
    .kwCertificatoTuv {
        width: 260px;
        padding: 20px;
    }

    /* header */
    .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
        font-size: 16px;
        padding: 0 0 0 20px;
    }
    section#sp-top-bar {
        font-size: 12px;
    }
    #sp-top2 i.fa {
        margin-left: 20px;
    }

    /* pagina generale */
    .kwContentPage h2 {
        line-height: 37px;
        font-size: 32px;
    }
    .kwLatForm p, .kwLatForm .kwForm {
        margin-top: 20px;
    }
}

@media screen and (max-width: 960px) {

    /* atf */
    .kwATFGrid {
        position: initial;
        grid-template-columns: auto auto;
        color: #1d1d1b;
        padding: 60px 40px;
        border-bottom: solid 1px #ddd;
        background-color: #f5f5f5;
    }
    .kwATFGrid .btn-secondary {
        color: #1d1d1b;
        border: solid 3px #1d1d1b;
    }
    .kwATFGrid .btn-secondary:hover {
        background-color: #1d1d1b;
        color: #fff;
    }

    /* grid servizi home */
    .kwServiziGrid {
        grid-template-columns: repeat(2,1fr);
    }

    /* pagina generale */
    .kwContentPage .kwCertificatoTuv {
        grid-template-columns: repeat(1,1fr);
        grid-row-gap: 20px;
    }

    /* sezioni */
    .kwContentPage .kw3ColGrid {
        grid-template-columns: auto;
    }
}

@media screen and (max-width: 800px) {

    .kwDesktop {
        display: none;
    }   
    .kwTablet {
        display: block;
    } 

    /* atf */
    .kwATFGrid {
        grid-template-columns: repeat(1,1fr);
        text-align: center;
        grid-gap: 40px;
        border-bottom: solid 1px #ddd;
        background-color: #fff;
    }
    .kwCertificatoTuv {
        width: 100%;
        grid-template-columns: repeat(3,1fr);
        grid-gap: 40px;
    }

    /* pagina generale */
    .kwLatForm h2 {
        line-height: 30px;
        font-size: 25px;
    }
    .kwLatForm {
        width: 200px;
    }

    /* tables */
    td {
        min-width: 200px;
    }

    /* footer */
    #sp-footer .custom {
        font-size: 14px;
        line-height: 19px;
        grid-gap: 20px;
        grid-template-columns: 75px auto auto;
    }
    .kwLastMenuFoot {
        font-size: 10px;
        line-height: 15px;
    }
    #kwLogoTuvFoot {
        width: 95px;
    }
}

@media screen and (max-width: 767px) {
    /* header */
    #sp-header {
        padding: 0 15px;
    }

    /* atf home */
    .kwAnimLogo {
        opacity: 0.05;
        position: absolute;
    }

    /* grid servizi home */
    .kwServiziGrid, .kw2ColCapoGrid {
        grid-template-columns: repeat(1,1fr);
    }
    .kw2ColCapoGrid > div + img {
        order: -1;
    }
}

@media screen and (max-width: 480px) {

    .kwTablet {
        display: none;
    }   
    .kwMobile {
        display: block;
    } 

    .kwATFGrid, .kw1170w, .kw1170c, .kw1170g, #sp-footer, #jmap_sitemap, .kwContentServizi, .kw2ColCapoGrid > div:nth-child(2n), .kw2ColCapoGrid > div:nth-child(2n+1) {
        padding: 30px 20px;
    }

    /* margin */
    p, h2, h3, ul, .sp-module ul, table {
        margin: 10px 0 0;
    }

    /* fonts and text */
    h1 {
        font-size: 35px;
        line-height: 40px;
    }
    h2, .kwBigTextIcon {
        font-size: 30px;
        line-height: 35px;
    }
    .kwBenATF, .kwImportantText {
        font-size: 18px;
        line-height: 23px;
    }

    /* fonts */
    .kwCheckList {
        grid-template-columns: auto;
        grid-gap: 30px;
    }

    /* buttons */
    .kw2Btns button:first-child {
        margin-right: 0;
    }

    /* header */
    #sp-header {
        padding: 0 15px;
    }

    /* atf home */
    .kwRowCertificato > * {
        width: 100%;
        text-align: center;
        font-size: 0.7em;
    }
    .kwRowCertificato {
        padding: 5px 15px;
    }

    /* grid */
    .kwGridUlIcons {
        margin-top: 10px;
        grid-gap: 10px;
        grid-template-columns: 50px auto;
    }

    /* tables */
    td {
        min-width: 50%;
    }

    /* atf */
    .kwCertificatoTuv {
        grid-template-columns: repeat(1,1fr);
        grid-gap: 0;
    }

    /* pagina generale */
    .kwContentPage {
        grid-template-columns: auto;
        grid-gap: 30px;
    }
    .kwLatForm {
        width: 100%;
        border-top: solid 1px #ddd;
        padding-top: 30px;
    }
    .kwContentPage h2, .kwLatForm h2 {
        line-height: 32px;
        font-size: 28px;
    }
    .kwContentPage .kwCertificatoTuv {
        grid-template-columns: repeat(1,1fr);
        margin-bottom: 20px;
    }

    /* form */
    .row-fluid .control-group {
        width: 100%;
        margin: 0 0 10px;
    }

    /* sezioni */
    .kw3ColGrid {
        grid-template-columns: auto;
        grid-gap: 30px;
    }

    /* footer */
    #sp-footer .custom {
        grid-template-columns: auto;
        text-align: center;
    }
    #kwLogoFoot {
        width: 140px;
        margin: auto;
    }
    .kwColEndFoot {
        grid-gap: 20px;
    }
    #kwLogoTuvFoot {
        margin: auto;
    }
    .kwLastMenuFoot {
        text-align: center;
    }
}

/* forms */
.ba-field-container textarea::placeholder, .ba-field-container input[type="text"]::placeholder, .ba-field-container input[type="number"]::placeholder, .ba-field-container input[type="email"]::placeholder {
    opacity: 0.5 !important;
}
.text-content-wrapper {
    text-align: left;
}
div.ba-form-page {
    width: 100%;
    max-width: var(--form-width-value);
}
.ba-form-acceptance-field.kwSmallText label.ba-form-checkbox > span {
    height: 1.2em;
    width: 1.2em;
    border-radius: 4px;
}
.ba-form-acceptance-field.kwSmallText .ba-field-container {
    padding-left: 2.4em;
    margin: 0;
}
.ba-form-acceptance-field.kwSmallText label.ba-form-checkbox input[type="checkbox"]:checked + span::before {
    font: normal normal normal 1em/1 'balbooa-form-icons';
}
.ba-form-row:first-child .ba-form-field-item.ba-form-text-field {
    margin: 0;
}
.ba-form-acceptance-field.kwSmallText label.ba-form-checkbox > span {
    top: calc(var(--field-typography-line-height)/2 - 0.5em);
}
.kwUploadFile .upload-file-input {
    margin-top: 15px;
}
.kwUploadFile .upload-file-input {
    margin-top: 15px;
    border-bottom: none !important;
}
span.upload-file-btn {
    background: #1d1d1b !important;
    border-radius: 5px;
}
.upload-file-empty-text {
    opacity: 0.5;
    display: inline-block;
    margin-left: 15px;
    font-size: 14px;
}
.kwWhiteText.ba-form-acceptance-field .ba-form-acceptance-html p {
    color: #fff;
}
.kwSmallText {
    font-size: 16px;
}
.ba-form-acceptance-html > p {
    margin: 0 !important;
}
@media screen and (max-width: 768px) {
    /* forms */
    form div.ba-form-page {
        padding: 0px !important;
    } 
}