/*
    NOTA:
    Questo codice css integra/sovrascrive quello esistente per adeguare la grafica del form nell'iframe alle pagine in cui verrà visualizzato.
    Questo foglio di stile è richamato da: <link type="text/css" rel="stylesheet" href="css/MIB.css" /> nel file Mib_Form_Landing.html
*/

/* importo i font utilizzati da mib --> ho aggiunto una cartella 'font' al livello di css e js con i web font necessari */
@import url('../../font/stylesheet.css');

/* stili generici */

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'fs_millbanklight';
}

.jotform-form {
    padding: 40px 50px 100px 50px;
}

.form-desc {
    color: white;
    margin: 0 0 40px 0;
}

iframe {
    width: 100% !important;
}

.clearfloat {
    clear: both;
    float: none;
}





/* testata del form */

.form-head {
    color: white;
    padding: 50px 50px 0 50px;
    font-weight: 400;
    font-size: 1.6em;
    line-height: 54px;
}

    .form-head img {
        float: left;
        margin-right: 20px;
    }





/* stili per le varie righe del form */

.form-line {
    margin: 0 0 10px 0;
    padding: 0;
}

    .form-line[data-type="control_button"] {
        margin-bottom: 0;
    }

.form-line-error,
.form-line-active {
    background: transparent;
}





/* stili per i contenuti che vanno 2 per riga  */

.form-sub-label-container {
    box-sizing: border-box;
    float: left;
    width: 50%;
    margin-right: 0 !important;
    padding: 0;
    height: 40px;
}

    .form-sub-label-container + .form-sub-label-container {
        padding: 0 0 0 10px;
    }

    .form-sub-label-container .form-input {
        width: 100%;
    }

.form-sub-label-container-3 {
    line-height: 40px;
    color: white;
    font-size: 13px;
    margin: 0 !important;
}

    .form-sub-label-container-3:nth-child(1) {
        width: 15% !important;
    }

    .form-sub-label-container-3:nth-child(2) {
        width: 40% !important;
    }

    .form-sub-label-container-3:nth-child(3) {
        width: 45% !important;
    }

    .form-sub-label-container-3:first-child {
        width: 20%;
    }


/* elementi di input */
.form-dropdown option {
    background: rgb(0, 159, 143);
}

.form-textbox,
.form-dropdown,
.form-textarea {
    font-family: 'fs_millbanklight';
    color: white;
    box-sizing: border-box;
    padding: 0 10px;
    background: transparent;
    box-shadow: none;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    display: block;
    width: 100% !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    border-radius: 0px;
    font-size: 13px;
}

    .form-textbox:focus,
    .form-dropdown:focus,
    .form-textarea:focus,
    .form-textbox:active,
    .form-dropdown:active,
    .form-textarea:active {
        box-shadow: none;
        outline: none;
    }

.form-dropdown {
    background-image: url(~/Content/LandingPages/img/icn-arrow.svg);
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.form-textarea {
    height: 100px;
    padding: 10px;
}

::-webkit-input-placeholder,
::-ms-input-placeholder,
::placeholder {
    color: white;
    opacity: 1;
}


.form-input {
    display: block;
    width: 100%;
}

input::placeholder {
    color: rgba(255,255,255,0.6);
}





/* pulsante di submit del form */

.fixed-footer {
    background: #00b09e; /*rgb(0, 159, 143);*/
    position: fixed;
    z-index: 950;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
}

.form-submit-button {
    font-family: 'fs_millbankbold';
    display: inline-block;
    height: 40px;
    background: linear-gradient(to right, #F8D70C, #E0B503) !important;
    /*background: #EEDB35;*/
    border-radius: 30px;
    color: #009586;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 25px;
    text-shadow: none;
    /*box-shadow: 0 0 15px rgba(255,255,255,0.5);*/
    border: 0px !important;
    margin: 0;
    box-shadow: unset !important;
}
    .form-submit-button:hover {
        background: #EEDB35 !important;
        filter: unset !important;
        border: 0px !important;
    }
    .form-submit-button:active {
        background-color: lighten(@col-secondary, 20%);
    }






/* media queries */

@media screen and (max-width: 400px) {

    .jotform-form {
        padding: 20px 20px 40px 20px;
    }

    .form-head {
        padding: 20px 20px 0 20px;
        font-size: 1.4em;
    }

    .fixed-footer {
        position: static;
        z-index: 950;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
}

.jotform-form ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: white;
    opacity: 1; /* Firefox */
}

.jotform-form :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: white;
}

.jotform-form ::-ms-input-placeholder { /* Microsoft Edge */
    color: white;
}


.form-captcha input.form-textbox {
    color: #000;
}

.text_area_label,
.capcha_label {
    color: white;
    font-weight: normal;
    font-size: 13px
}
