/* ---------------------------------------------------------- */
/* Google Fonts
/*
/* font-family: 'Inter', sans-serif; 
/* font-family: 'Roboto', sans-serif;
/* font-family: 'Titillium Web', sans-serif;
/* font-family: 'Source Code Pro', monospace;
/*
/* ---------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;600;800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,900;1,100;1,300;1,400;1,500&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;1,200;1,300;1,400;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400;600&display=swap');

:root {
    --primario: #43a2d0;
    --primario_accent: #56b9ea;
    --primario_testo: #2d424d;
}

*,
::after,
::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: inherit;
}

body {
    width: 100%;
    height: 100%;
    background: #ffffff;
    margin: 0px;
    padding: 0px;
    font-family: 'Titillium Web', sans-serif;
    color: var(--primario_testo);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
    text-align: left;
    overflow-x: hidden;
    float: left;
    scroll-behavior: smooth;
}

html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    width: 100%;
    font-family: 'Titillium Web', sans-serif;
    color: #313131;
    font-weight: 400;
    margin: 0px 0px 20px 0px;
    float: left;
}

#header {
    background-color: #ffffff;
    width: 100%;
    height: 90px;
    text-align: center;
}

#header .container {
    height: 100%;
    padding-top: 0px;
    padding-bottom: 0px;
}

#logo {
    height: 60px;
    margin-top: 15px;
    float: left;
}

#menu {
    width: auto;
    height: 60px;
    margin: 15px 0px 0px 0px;
    padding: 0px;
    list-style-type: none;
    float: right;
}

#menu li {
    height: 100%;
    line-height: 55px;
    text-transform: uppercase;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-left: 20px;
    float: left;
}

@media only screen and (max-width: 1200px) {
    #menu li {
        font-size: 16px;
    }

    #menu a:link,
    #menu a:visited {
        padding: 0px 10px 0px 10px !important;
    }
}

#menu a:link,
#menu a:visited {
    color: var(--primario_testo);
    text-decoration: none;
    padding: 0px 20px 0px 20px;
    border-radius: 7px;
    float: left;
    transition: all 0.1s ease-in-out;
}

#menu a:hover,
#menu a:visited:hover {
    background-color: var(--primario);
    color: #ffffff;
    text-decoration: none;
}

@media only screen and (max-width: 950px) {
    #header {
        height: auto;
    }

    #header .container {
        height: 100%;
    }

    #logo {
        width: 100%;
        height: auto;
        margin: 20px 0px 20px 0px;
    }

    #menu {
        display: none;
    }
}

.pulsante {
    background-color: var(--primario);
    color: var(--primario_testo);
    text-decoration: none;
    font-size: 22px;
    text-align: center;
    padding: 7px 30px 7px 30px;
    border-radius: 7px;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    user-select: none;
    display: inline-block;
}

.pulsante:hover {
    background-color: #e7e8ed;
    color: #000000;
    text-decoration: none;
}

#parallax {
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: calc(100% - 90px);
    margin-bottom: 50px;
}

#parallax > div {
    background-color: #0000006d;
    width: 100%;
    height: 100%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

#parallax > div > img {
    width: 300px;
}

#parallax > div > p {
    max-width: 1000px;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 52px;
    padding-left: 100px;
}

@media only screen and (max-width: 950px) {
    #parallax {
        height: auto;
    }

    #parallax > div {
        padding: 30px;
        flex-direction: column;
    }

    #parallax > div > img {
        width: 30%;
        margin-bottom: 40px;
    }

    #parallax > div > p {
        width: 100%;
        text-align: center;
        font-size: 28px;
        margin: 0px;
        padding: 0px;
    }
}

.pagina {
    width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 50px;
    float: left;
    position: relative;
    overflow: hidden;
}

.pagina_color {
    background: rgb(63,94,251);
    background: radial-gradient(circle, rgba(63,94,251,1) 0%, rgba(67,162,208,1) 100%);
    color: #ffffff !important;
}

.pagina_color h1,
.pagina_color h2,
.pagina_color h3,
.pagina_color h4,
.pagina_color h5 {
    color: #ffffff !important;
}

.container {
    width: 100%;
    height: auto;
    max-width: 1440px;
    margin: 0 auto;
    padding: 25px 25px 25px 25px;
    display: inline-block;
}

.pagina_cols .container {
    background-color: transparent !important;
    max-width: 720px;
}

.pg_col {
    background-size: cover;
    background-position: center center;
    width: 50%;
    height: 100%;
    text-align: center;
    position: absolute;
    top: 0px;
    bottom: 0px;
    z-index: -1;
}

.pg_col_sx {
    left: 0px;
}

.pg_col_dx {
    right: 0px;
}

.container_dx {
    text-align: left;
    transform: translateX(50%);
}

.container_sx {
    text-align: right;
    transform: translateX(-50%);
}

.float-l {
    float: left;
}

.float-r {
    float: right;
}

.w-30 {
    width: 30% !important;
}

.w-70 {
    width: 70% !important;
}

.txt-l {
    text-align: left;
}

.txt-c {
    text-align: center;
}

.p-h-50 {
    padding: 0px 50px 0px 50px;
}

.m-b-0 {
    margin-bottom: 0px;
}

@media only screen and (max-width: 950px) {
    .w-30,
    .w-70 {
        width: 100% !important;
    }

    .w-70.p-h-50 {
        padding-left: 0px;
        padding-right: 0px;
    }

    #chisiamo_img {
        display: none;
    }
}

#certificazioni_container {
    display: grid;
    grid-template-columns: calc(33.33% - 14px) calc(33.33% - 14px) calc(33.33% - 14px);
    gap: 20px;
    margin-bottom: 100px;
}

.certificazione {
    background-color: #ffffff;
    width: 100%;
    padding: 25px;
    border-radius: 10px;
    float: left;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.certificazione h2,
.certificazione h3,
.certificazione p {
    color: #313131 !important;
}

.certificazione img {
    width: 60%;
    margin-top: auto;
}

@media only screen and (max-width: 950px) {
    #certificazioni_container {
        grid-template-columns: 100%;
        margin-bottom: 40px;
    }
}

#formazione {
    width: 100%;
    display: grid;
    grid-template-columns: calc(40% - 10px) calc(60% - 10px);
    align-items: center;
    gap: 20px;
}

#formazione img {
    width: 100%;
}

@media only screen and (max-width: 950px) {
    #formazione {
        grid-template-columns: 100%;
    }

    #formazione img {
        width: 60%;
    }
}

.scroll_clienti {
    width: 100%;
    height: auto;
    list-style-type: none;
    padding: 0px;
    margin: 0px 0px 20px 0px;
    float: left;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll_clienti::-webkit-scrollbar {
    display: none;
}

.scroll_clienti li {
    background-color: var(--primario);
    width: auto;
    height: auto;
    color: #ffffff;
    padding: 20px;
    margin: 20px;
    border-radius: 7px;
    float: none;
    display: inline-block;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

#footer_contatti {
    background-color: #26292e;
    width: 100%;
    height: auto;
    color: #ffffff;
    text-align: center;
    padding: 25px;
    float: left;
}

#footer_contatti h1 {
    color: #ffffff;
}

form {
    width: 100%;
    float: left;
}

form > p {
    width: 50%;
    height: 100px;
    margin: 0px 0px 25px 0px;
    float: left;
}

form > span {
    width: 100%;
    margin: 0px 0px 0px 0px;
    float: left;
}

form > p > label, 
form > span > label {
    width: 90% !important;
    height: auto !important;
    margin: 0px 5% 15px 5% !important;
    float: left;
}

form input {
    background-color: #ffffff;
    width: 90%;
    height: 50px;
    margin: 0px 5% 0px 5%;
    padding: 0px 20px 0px 20px;
    float: left;
}

form input,
form textarea {
    font-size: 24px;
    border: 2px solid #ffffff;
    outline: none;
}

form textarea {
    padding: 20px 20px 20px 20px;
}

form input:focus,
form textarea:focus {
    border: 2px solid var(--primario);
}

form > span > * {
    width: 95%;
    margin: 0px 2.5% 0px 2.5%;
    float: left;
}

form .input_checkbox,
form .input_radio {
    width: 95%;
    font-size: 16px;
    margin: 25px 2.5% 0px 2.5%;
}

.input_checkbox,
.input_radio {
    padding: 7px;
    margin: 5px 0px 5px 0px;
    float: left;
    clear: both;
    /* Disabilita selezione testo */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.input_checkbox input,
.input_radio input {
    display: none;
}
.input_checkbox label,
.input_radio label {
    cursor: pointer;
    float: left;
    position: relative;
    padding-left: 35px;
}

.input_checkbox label span,
.input_radio label span {
    width: -webkit-calc(100% -38px);
    width: -moz-calc(100% - 38px);
    width: calc(100% - 38px);
    float: right;
}

.input_checkbox input+label:after {
    background-color: #f5f5f5;
}

.input_checkbox input+label:after, 
.input_radio input+label:after {
    background-color: #f5f5f5;
}

.input_checkbox label {
    text-align: left;
    color: #ffffff;
}

.input_checkbox input+label:after {
    content: '';
    background-color: #ffffff;
    height: 18px;
    width: 18px;
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    line-height: 16px;
    color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    top: 3px;
    left: 0px;
    /* Ombra */
    -webkit-box-shadow: none;
    box-shadow: none;
    /* Fade */
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
}

.input_checkbox input:checked+label:after {
    content: '\f00c';
    background-color: var(--primario);
    border-color: var(--primario);
    float: left;
}

.contatti_notifica {
    background-color: red;
    width: 100%;
    height: auto;
    border-radius: 7px;
    margin-top: 50px;
    padding: 25px;
    float: left;
    display: none;
}

#contatti_notifica_ok {
    background-color: #cef5ea;
    color: #056c4f;
    border-color: #baf2e2;
}

#contatti_notifica_errore {
    background-color: #fedee5;
    color: #823040;
    border-color: #fed1da;
}

@media only screen and (max-width: 950px) {
    form > p {
        width: 100%;
    }

    form > p > label,
    form > p > input {
        width: 100% !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    #pulsante_contatti {
        width: 100% !important;
    }
}

#pulsante_contatti {
    width: 200px;
    margin: 50px 0px 0px 0px;
}

#footer {
    background-color: #ffffff;
    width: 100%;
    height: auto;
    color: var(--primario_testo);
    font-size: 14px;
    text-align: center;
    padding: 25px;
    float: left;
}

#footer > p > span {
    margin: 0px 10px 0px 10px;
}

#footer a {
    color: inherit;
}

#footer_credit {
    height: 25px;
    line-height: 25px;
}

#footer p {
    width: 100%;
    float: left;
}

#footer_credit a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer_credit img {
    height: 25px;
    margin: 0px 0px 0px 10px;
}

#footer_iubenda a {
    margin: 20px;
}

@media only screen and (max-width: 950px) {
    #footer > p > span {
        width: auto;
        height: 1px;
        display: block;
        visibility: hidden;
    }
}

#on_top {
    background-color: var(--primario);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #ffffff;
    position: fixed;
    right: -50px;
    bottom: 70px;
    opacity: 0;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 99999999;
}

#on_top:hover {
    background-color: #e7e8ed;
    color: #000000;
}

@media only screen and (max-width: 950px) {
    #on_top {
        display: none;
    }
}

/*  GALLERY  */
.gallery_row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.gallery_column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.gallery_column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

@media screen and (max-width: 800px) {
    .gallery_column {
        flex: 50%;
        max-width: 50%;
    }
}

@media screen and (max-width: 600px) {
    .gallery_column {
        flex: 50%;
        max-width: 50%;
    }
}

#admin_login {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    margin-left: 10%;
}

#admin_login form input {
    width: 100%;
    height: 50px;
    font-size: 18px;
    border: 1px solid lightgray;
    margin: 0px 0px 10px 0px !important;
}

#admin_login button {
    width: 100%;
    height: 50px;
    font-size: 18px;
    margin-top: 20px;
}

#admin_login form {
    width: 60%;
}

#admin_elenco_clienti {
    width: 80%;
    max-width: 500px;
    transform: translateX(50%);
    margin: 20px 0px 50px 0px;
    float: left;
}

#admin_elenco_clienti ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

#admin_elenco_clienti li {
    margin: 0px 0px 10px 0px !important;
}

#admin_elenco_clienti h3 {
    width: auto;
    height: 35px;
    line-height: 30px;
    text-align: center;
    margin-left: 50px
}

#admin_elenco_clienti input {
    width: calc(100% - 120px);
    height: 50px;
    font-size: 18px;
    border: 1px solid lightgray;
    margin: 0px 20px 0px 0px !important;
}

#admin_elenco_clienti > button { 
    width: 100%;
    height: auto;
    font-size: 16px;
    padding: 10px 20px 10px 20px;
    margin-top: 10px;
    float: right;
}

#admin_elenco_clienti li > button { 
    width: 100px;
    height: 30px;
    line-height: 28px;
    font-size: 16px;
    padding: 0px;
    margin-top: 10px;
}