/*!
 * Start Bootstrap - Heroic Features (https://startbootstrap.com/template-overviews/heroic-features)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-heroic-features/blob/master/LICENSE)
 */

body {
    font-family: "Instrument Sans", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    padding-top: 0px;
    background-color: #CCC;
    color: #181717;
}

@media (min-width: 992px) {
    body { padding-top: 0px; }
}

.card { height: 100%; }

.container {
    width: 100%;
    padding-right: auto;
    padding-left: auto;
}

ul.bulletList { margin: 10px 0px 10px 6px; padding: 0px; list-style: url('../images/li.png'); line-height: 155%; }
ul.bulletList li { margin: 0px 0px 5px 10px; padding: 0; }

hr {
    border: 0px!important;
    height: 1px !important;
    background: #d9d9d9 !important;
    background-image: -webkit-linear-gradient(left, #ccc, #d9d9d9, #ccc);
    background-image:    -moz-linear-gradient(left, #ccc, #d9d9d9, #ccc);
    background-image:     -ms-linear-gradient(left, #ccc, #d9d9d9, #ccc);
    background-image:      -o-linear-gradient(left, #ccc, #d9d9d9, #ccc);
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.height60px { background: transparent; clear: both; height: 60px; }
.height40px { background: transparent; clear: both; height: 40px; }
.height20px { background: transparent; clear: both; height: 20px; }
.height10px { background: transparent; clear: both; height: 10px; }
.height15px { background: transparent; clear: both; height: 15px }
.height5px { background: transparent; clear: both; height: 5px }
.height1px { background: transparent; clear: both; height: 1px }

form { display: block; width: 100%; }

.styled-button {
    width: 254px;
    height: 60px;
    background: url('../images/conferma.png') no-repeat 0 0;
    border: none;
}
.styled-button:hover {
    background: url('../images/conferma_hover.png') no-repeat 0 0;
    border: none;
}

.feedbackMail { color: #FF0000; }

footer { text-align: center; margin: 0 auto; }
footer .container {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
}

.footerAddress {
    font-size: 14px;
    line-height: 1.3;
    color: #333;
    background-color: #f4f4f4;
    padding: 30px 0px 30px 0px;
}
.footerLogo {
    background-color: #1a1a1a;
    padding: 40px 0px 40px 0px;
}

header {
    background-color: #1a1a1a;
    padding: 30px 0px 30px 0px;
    margin: 0px 0px 0px 0px;
    text-align: center;
}

header.all-hands-meeting {
    padding: 0px 0px 0px 0px;
}

header h1 {
    color: #FFFFFF;
    font-family: "Instrument Sans", Arial, sans-serif;
    font-weight: 400;
}

.headerLogo {
    background-color: #1a1a1a;
    padding: 40px 0px 40px 0px;
}

@media (max-width: 767px) {
    header h1 { font-size: 30px; }
    .headerLogo { padding: 10px 0px 20px 0px; }
    .headerLogo img { width: 50%; height: auto; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    header h1 { font-size: 45px; }
}

@media (min-width: 1025px) {
    header h1 { font-size: 55px; }
}

.paddingTopBottom100 { padding-top: 100px;  padding-bottom: 100px; }

.titolo-yellow { color: #ffbc00 !important; font-size: 21px !important; font-weight: bold; }

.titolo-grigio { color: #8c8888 !important; font-size: 21px !important; font-weight: bold; }

.errore { width: 90%; margin: 0 auto; text-align: center; font-weight: bold; color: #FF0000; }

.list-group-item { color: #181717 !important; padding: 0.2rem 0.2rem; }

.list-group { color: #181717 !important; margin-left: 10px !important; padding-right: 15px !important; }

.row {
    background-color: #FFF;
    margin-right: 0px !important;
    margin-left: 0px !important;
    padding-right: 90px !important;
    padding-left: 90px !important;
    padding-top: 30px !important;
}

.labelForm { float: left; width: 30%; text-align: left; }
.labelForm100 { float: left; text-align: left; }
.inputForm { float: left; width: 70%; text-align: left; }

input[type="text"].inputText {
    font-family:"Instrument Sans", Arial, sans-serif;
    border: 2px solid #181717;
    color: #181717;
    font-size: 18px;
    line-height: 1.3;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    outline: none;
    width: 400px;
    margin: 0px 20px 0px 0px;
}

input[type="text"].inputText:focus {
    font-family:"Instrument Sans", Arial, sans-serif;
    border: 2px solid #181717;
    color: #181717;
    font-size: 18px;
    line-height: 1.3;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    outline: none;
    width: 400px;
    margin: 0px 20px 0px 0px;
}

@media (max-width: 768px) {
    input[type="text"].inputText {
        width: 200px;
        height: 30px;
    }
    
    input[type="text"].inputText:focus {
        width: 240px;
    }
}

TEXTAREA.inputTextArea {
    width: 70%;
    color: #181717;
    border: 1px solid #CCC;
    height: 90px;
    font-family:"Instrument Sans", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.3;
}

.input-row input::first-child {
    margin-right: 20px;
}

.rimpiazzo { color: #666; }

@media (max-width: 768px) {

    .row {
        padding-right: 0px !important;
        padding-left: 0px !important;
        margin-right: 0px !important;
        margin-left: 0px !important;
    }
    p.parag , .row > FORM {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .labelForm { float: left; width: 40%; text-align: left; font-size: 15px; }
    .inputForm { float: left; width: 60%; text-align: left; }

}

#recaptchaDsk {
    display: flex;
    justify-content: center;
}

#recaptchaMob {
    display: none;
    justify-content: center;
}

@media (max-width: 400px) {
    #recaptchaDsk {
        display: none;
    }
    #recaptchaMob {
        display: flex;
    }
}

.contenitoreForm {
    width: 70%;
    background-color: #FFF;
    margin: 0 auto;
    padding-top: 15px !important;
}

a { color: #181717; text-decoration: underline; transition: color 0.3s ease; }
a:link { color: #181717; text-decoration: underline; }
a:visited { color: #181717; text-decoration: underline; }
a:hover { color: #181717; text-decoration: none; }
a:active { color: #181717; text-decoration: underline; }
a:focus { color: #181717; text-decoration: underline; }

#siPartecipo {
    display: flex;
    flex-direction: column;
}
#noPartecipo {
    display: flex;
    flex-direction: column;
}
.input-row {
    display: flex;
    justify-content: center;
    margin: 10px;
}

.containerSubmitCaptcha {
    width: 100%;
    margin: 0 auto;
}

.boxSubmitCaptcha { padding: 0; margin: 0; }

/* Per schermi sopra 768px */
@media (min-width: 768px) {
    .containerSubmitCaptcha {
        display: flex;
        gap: 10px; /* Spazio tra i div allineati orizzontalmente */
    }

    .boxSubmitCaptcha {
        flex: 1; /* I div occupano spazio uguale */
        margin-bottom: 0; /* Rimuove margine inferiore in modalitÃ  orizzontale */
    }
    .boxSubmitCaptcha:last-child { margin-right: 25px;}
}

.button.is-next:after {
    content: "";
    background: url('../images/icons/arrow2-right-black.svg') no-repeat center center;
    background-size: contain;
    height: 32px;
    width: 32px;
    margin-left: 10px;
    transition: background 0.3s ease-in-out;
}
.button.is-next.is-dark-gradient:after, .button.is-next.is-dark:after, .button.is-next.is-dark-gray:after, .button.is-next.is-dark-transparent:after {
    background-image: url('../images/icons/arrow2-right-white.svg');
}
.button.is-next.is-light-transparent:not(.is-inactive):hover:after, .button.is-next.is-dark-transparent:not(.is-inactive):hover:after {
    background-image: url('../images/icons/arrow2-right-gray.svg');
}
.button.is-secondary.is-next:after {
    content: "";
    background: url('../images/icons/arrow-right-blue-21x20.svg') no-repeat center center;
    background-size: contain;
    height: 20px;
    width: 20px;
    margin-left: 8px;
}
.button.is-secondary:not(.is-inactive):hover.is-next:after {
    content: "";
    background: url('../images/icons/arrow-right-white-21x20.svg') no-repeat center center;
    background-size: contain;
    height: 20px;
    width: 20px;
    margin-left: 8px;
}
.button.is-tertiary:not(.is-inactive):hover.is-next:after {
    filter: brightness(60%);
}

.button.is-tertiary.is-next:after {
    content: "";
    margin-left: 8px;
    background: url('../images/icons/arrow-right-blue-16x16.svg') no-repeat center center;
    background-size: contain;
    height: 20px;
    width: 20px;
}
.button.is-next:after {
    content: "";
    background: url('../images/icons/arrow2-right-black.svg') no-repeat center center;
    background-size: contain;
    height: 32px;
    width: 32px;
    margin-left: 10px;
    transition: background 0.3s ease-in-out;
}
.button.is-next.is-dark-gradient:after, .button.is-next.is-dark:after, .button.is-next.is-dark-gray:after, .button.is-next.is-dark-transparent:after {
    background-image: url('../images/icons/arrow2-right-white.svg');
}
.button.is-next.is-light-transparent:not(.is-inactive):hover:after, .button.is-next.is-dark-transparent:not(.is-inactive):hover:after {
    background-image: url('../images/icons/arrow2-right-gray.svg');
}
.button.is-light {
    color: #181717;
    background: #fff;
    transition: all 0.3s ease-in-out;
    transition-property: color, background, box-shadow;
    overflow: visible;
}
.button.is-light:before {
    content: "";
    display: block;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    top: -1px;
    left: -1px;
    position: absolute;
    border-radius: 100px;
    background: linear-gradient(90deg, #fdc400 35%, #e60000 65%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    transition: all 0.3s ease-in-out;
    border: solid 2px #181717;
}
.button.is-light:not(.is-inactive):hover {
    color: #181717;
    background: #fff;
    border: 0;
}
.button.is-light:not(.is-inactive):hover:before {
    border: 2px solid transparent;
}
.button.is-light-gray {
    color: #000;
    background: #e6e4e4;
    transition: all 0.3s ease-in-out;
    transition-property: color, background, box-shadow;
    overflow: visible;
}
.button.is-light-gray:not(.is-inactive):hover {
    background-color: #cbc9c9;
}
.button.is-light-transparent {
    color: #000;
    background: transparent;
    transition: all 0.3s ease-in-out;
}
.button.is-light-transparent:not(.is-inactive):hover {
    color: #595858;
}

#submitCaptcha{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.layerCaptcha { }

.layer1Captcha {
    text-align: center;
}

.layer2Captcha {
    text-align: center;
    padding-top: 20px;
}

/* Layout desktop: orizzontale */
@media (min-width: 757px) {
    .layerCaptcha {
        width: 50%;
    }
}

/* Layout mobile: verticale */
@media (max-width: 756px) {
    .layerCaptcha {
        width: 100%;
    }
    .layer2Captcha {
        width: 100%;
        text-align: center;
    }
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-field {
    font-family:"Instrument Sans", Arial, sans-serif;
    border: 2px solid #181717;
    color: #181717;
    font-size: 18px;
    line-height: 1.3;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    outline: none;
    width: 100%;
    margin: 0px 20px 0px 0px;
}
.input-field::placeholder {
    color: #aaa;
    transition: color 0.3s ease;
}
.input-field:focus::placeholder {
    color: transparent;
}

@media (min-width: 769px) {
    .input-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .input-wrapper {
        width: calc(50% - 10px); /* 2 colonne */
    }
}
