﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a#CybotCookiebotDialogPoweredbyCybot {
    display: none;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 16px;
}

/*.border-top {
    border-color: rgb(70, 70, 70);
}

.border-bottom {
    border-color: rgb(70, 70, 70);
}*/

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

html {
    position: relative;
    min-height: 100%;
}

main.container {
    padding-right: 0px;
    padding-left: 0px;
}

/* Custom CSS below */
html, body {
    /*background-color: #fbfbf8;*/
    margin: 0;
    color: white;
}

body {
    padding: 0px 0px 0px 0px;
}

#header img {
    width: 100%;
    /*height: 100%;*/
    /*position: fixed;*/
    /*left: 0px;*/
    /*top: 0px;*/
}
#header_top {
    width: 100%;
    background-image: url('../img/sfondo_top.jpg');
    /*height: 165px;*/
    /*position: fixed;*/
    /*left: 0px;*/
    /*top: 0px;*/
}
#header_top img {
  
    padding: 30px;
    /*height: 100%;*/
    /*position: fixed;*/
    /*left: 0px;*/
    /*top: 0px;*/
}

/*.stretch {
    width: 100%;
    height: 100%;
}
.fill {
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-image: url('path/to/image.jpg');
}*/


#wrapper {
    background-color: #003A79;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, .06);
}

.slot-holder {
    backface-visibility: hidden;
    visibility: inherit;
    background-size: cover;
    position: relative;
    height: 100%;
    padding-top: 61.3%; /* 1240/760 aspect ratio */
    background-repeat: no-repeat;
}

.slider1 {
    background-image: url('../img/Slider_home02.jpg');
}

.slider2 {
    background-image: url('../img/Slider_home02.jpg');
}

.slot-message {
    font-family: Raleway;
    font-size: 32px;
    line-height: 70px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    color: white;
}

.slot-message-high {
    position: absolute;
    top: 0;
    left: 0;
}

footer {
    background-color: #292b33;
    text-align: center;
    font-family: "Roboto", Arial, Tahoma, sans-serif;
    font-size: 14px;
    letter-spacing: -0.2px;
}

    footer div {
        padding: 25px 15px 25px 15px;
    }

    footer span, footer p {
        padding-bottom: 15px;
    }

    footer span {
        display: inline-block;
    }

    footer #copyright span, footer #copyright p {
        padding-bottom: 0;
        color: inherit;
    }

    footer #copyright {
        padding: 35px 0 20px 0;
        color: #ccc;
        border-color: rgb(70, 70, 70) !important;
        letter-spacing: 0.2px;
    }

.info-contact {
    font-family: 'Lato';
    font-size: 12px;
    color: #fff;
    text-align: left;
    line-height: 18px
}
.info-contact span {
    font-weight: 700
}

.custom-control-input:checked ~ .custom-control-label::before {
    border: none;
    outline: 2px solid #fff;
    outline-offset: 3px
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border: none;
    outline: 2px solid #fff;
    outline-offset: 3px
}

a {
    cursor: pointer;
    text-decoration: underline;
    color: white;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
}

    a:hover {
        color: white;
        -webkit-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out
    }

    a.disabled:hover, a:disabled:hover {
        color: #007bff
    }

    a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
        color: inherit;
        text-decoration: none
    }

.quoted-paragraph {
    font-family: "Lato", Arial, Tahoma, sans-serif;
    line-height: 31px;
    font-size: 17px;
    background: url('../img/textline.png') repeat-y;
    z-index: 10;
    padding: 0;
    display: table;
    /*
    text-align: justify;
    text-align-last: justify;
    text-justify: distribute;
    */
    color: #003c76;
}

    .quoted-paragraph::before {
        content: '';
        background-image: url('../img/quote.png');
        background-size: 75px 50px;
        opacity: 0.4;
        position: relative;
        left: -40px;
        top: -20px;
        width: 75px;
        height: 50px;
        display: block;
        margin-bottom: -50px;
        z-index: -10;
    }

.annotated-icon {
    text-align: center;
    font-size: 14px;
    margin-bottom: 25px;
    color: #626262;
}

    .annotated-icon img {
        display: block;
        margin: auto;
        margin-bottom: 15px;
        width: 100%;
        max-width: 150px;
    }

.bg-wrapper {
    /*background-image: url('../img/fondo_1300.jpg');*/
    background-size: cover;
    background-position: top center;
}

.form-section {
    background-image: url("../img/sfondo.jpg");
    /*color: rgb(0, 60, 120);*/
    padding: 30px 30px 30px 30px;
    color: white;
    background-repeat: no-repeat;
    background-size: 100%;
}

.offer-form div {
    background-color: transparent;
}

.margin-top {
    margin-top: 35px;
}

.margin-bottom {
    margin-bottom: 35px;
}

textarea#messaggio {
    min-height: 150px;
    margin-bottom: 20px;
}

select {
    min-height: 35px;
    margin-bottom: 20px;
}

textarea#trattamento-dati {
    font-size: 9pt;
    max-height: 125px;
}

input[type="radio"].form-radio-input {
    position: absolute;
    margin-left: -20px;
    margin-top: 5px;
}

.checkbox-inline {
    line-height: 35px;
}

input.invalidated, textarea.invalidated {
    color: #ffd3d3;
    border-color: #ffd3d3;
}

label.invalidated {
    color: #ffd3d3;
}

.qualifica img {
    width: 70%;    
}

.form-control:focus {
    outline: 2px solid #fff;
    outline-offset: 3px
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    z-index: 1000;
    text-decoration: none;
    transition: top 0.3s;
}

    .skip-link:focus {
        top: 0;
    }

/*.container {
    border: 1px solid green;
}
.row {
    border: 3px solid red;
}

.col-md-3, .col-md-1, .col-md-2, .col-md-4, .col-md-6, .col-md-5, .col-md-2, .col-md-9 {
    border: 3px dotted yellow;
}

.col-xs-6, .col-xs-12 {
    border: 3px dotted pink;
}*/


#header {
    /*background-image: url('../img/header-backgroung.jpg');
    /*width: 100%;*/
    /*min-height: 202px;
    background-repeat: no-repeat;
    background-size: contain;*/
}

#submit-button {
    background-color: #EB8032;
    color: black;
    border:none;
}

.img-responsive {
    width: 80%;
}

.form-check-label {
    cursor: pointer;
}

@media screen and (max-width: 960px) {
    .main-title h2 {
        font-size: 1.4rem;
    }

    .main-title h3 {
        font-size: 1.4rem;
    }
}

@media only screen and (max-width: 47.5em), (min-width: 48em) and (max-width: 64em) {

    select {
        width: 10em;
    }

    .row {
        flex-direction: column !important; /* si impila in verticale */
        margin-left: 0px !important
    }
}