@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');

.container {
    padding: 15px;
    text-align: justify;
}

h2 {
    vertical-align: center;
    text-align: center;
}

p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.pages a, .privacy a {
    color: #9ac478;
}
.pages a:hover, .privacy a:hover {
    color: #484848;
}
.messaggio-ko, .messaggio-ok {
    padding: 20px;
    margin-bottom: 20px;
    font-size: 22px;
}
.messaggio-ok {
    background-color: #9ac478;
    color: #fff;
}
.messaggio-ko {
    color: #fff;
    background-color: #ff0000;
}



html, body {
    margin: 0;
    height: 100%;
    color: #484848 !important;
}
.container.body {
    padding-bottom: 100px;
}
.menu>li a {
    color: #fff;
    text-decoration: none;
    transition: 0.4s;
}
.menu>li a:hover {
    color: #211d46;
    text-decoration: none;
    transition: 0.4s;
}

* {
    font-family: "Oswald";
    box-sizing: border-box;
}

.header {
    background-image: url("../images/header.jpg");
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain;
    height: 200px;
    display: flex;
    justify-content: flex-end;
    background-color: #f7f7f7;
}
.header .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #9ac478;
}
.header h3 {
    font-size: 32px;
    font-weight: normal;
    text-shadow: 0px 0px 2px #000;;
}
h2 {
    text-align: left;
}

.verde {
    color: #9ac478;
    margin-top: 30px;
    text-transform: uppercase;
}
#invia {
    background-color: #9ac478;
    border: 0;
    padding: 20px;
    text-transform: uppercase;
    margin: 10px auto;
    width: 100%;
}

.top-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: rgb(164, 206, 130);
    background: -moz-linear-gradient(90deg, rgba(164, 206, 130, 1) 0%, rgba(154, 196, 120, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(164, 206, 130, 1) 0%, rgba(154, 196, 120, 1) 100%);
    background: linear-gradient(90deg, rgba(164, 206, 130, 1) 0%, rgba(154, 196, 120, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a4ce82", endColorstr="#9ac478", GradientType=1);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #FFF;
    padding: 1em;
}

.top-nav .row {
    align-items: center;
    display: flex;
}

.logo {
    display: flex;
    justify-content: flex-start;
    width: 50% !important;
}
.logo img {
    max-width: 100%;
}
ul.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-content: center;
    align-items: center;
    width: 50%;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu>li {
    margin: 0 1rem;
    overflow: hidden;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0 0 0;
    margin: 0 auto;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #fff;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}
.destra {
    margin-top: 30px !important;
}
.form {
    padding: 20px;
    background: #f7f7f7;
    color: #484848 !important;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.form label,
.form input,
.form button {
    border: 0;
    margin: 8px 0;
    display: block;
    width: 100%;
}

.form input {
    height: 35px;
    line-height: 35px;
    background: #fff;
    color: #000;
    padding: .375rem .75rem;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
input:focus, select:focus {
    outline: 1px solid #ccc;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.privacy {
    position: relative;
}
.privacy #privacycheck {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 3px;
}
.privacy label {
    padding: 7px 0 5px 30px;
}
.form button {
    color: #fff;
    margin-top: 10px;
    cursor: pointer;
}
button#invia[disabled], button#invia[disabled]:hover {
    background-color: grey !important;
    cursor:not-allowed;

}
.form button:focus, .form button:hover {
    background-color: #211d46 !important;
}
.select {
    position: relative;
    max-height: 36px;
    overflow: hidden;
    margin-bottom: 5px;
}
.form-control {
    border-radius: 0 !important;
    margin-bottom: 10px;
    border:0 !important;
    background-image: url(../images/arrow.png);
    background-size: 50px 36px;
    background-position: right;
    background-repeat: no-repeat;
}
.form-control:focus {
    box-shadow: none !important;
    border:0 !important;
}
.form .error {
    color: #ff0000;
}
#formulario h3 {
    text-transform: uppercase;
}
.accordion {
    background-color: #fff;
    color: #484848;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    border-bottom: 1px solid #9ac478;
}
.accordion p {
    color: #484848;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
.panel p {
    padding-top: 20px;
}
.accordion.active {
    background-color: #9ac478;
    color: #fff;
} 
.accordion.active + .panel {
    background-color: #f7f7f7;
}
.accordion:after {
    content: '\02795';
    /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #9ac478;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2796";
    /* Unicode character for "minus" sign (-) */
}

.footer {
    background-color: #484848;
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
}
.footer ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-direction: row;
}
.footer ul li {
    list-style: none;
}
.footer ul li a {
    color: #fff;
    transition: 0.4s;
    padding: 0 15px;
    text-decoration: none;
}
.footer ul li a:hover {
    color: #9ac478;
    transition: 0.4s;
}

.entry-content ul {
    list-style: inside;
    list-style-type: disc;
}

@media (max-width: 700px) {
    .top-nav .container {
        padding: 0 15px 10px 15px;
    }
    .container.body {
        padding-bottom: 50px;
    }
    .destra {
        margin-top: 0 !important;
    }
    .body .row {
        display: flex;
        flex-direction: column-reverse;
    }
    #bienvenido, #formulario {
        width: 100% !important;
        
    }    
    .menu>li a {
        color: #9ac478;
        text-decoration: none;
    }
    .menu>li a:hover {
        color: #fff;
        text-decoration: none;
        transition: 0.4s;
    }
    
    .header {
        height: auto;
        background-image: none;
    }
    .header h3 {
        font-size: 24px;
        margin-bottom: 5px;
    }
    .header .container {
        max-width: unset;
        justify-content: center;
        text-align: center;
        padding: 5px 15px;
        box-sizing: border-box;
    }
    .header .container .row {
        margin: 0;
    }
    .logo {
        justify-content: center;
        width: 100% !important;
    }
    .menu-button-container {
        display: flex;
    }
    .menu {
        position: absolute;
        top: 116px;
        z-index: 1;
        left: 0;
        flex-direction: column;
        width: 100% !important;
        padding: 0 !important;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle~.menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    #menu-toggle:checked~.menu li {
        border: 1px solid #333;
        height: 2.5em;
        padding: 0.5em;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    .form {
        padding: 15px 20px;
    }
    .menu>li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: white;
        background-color: #222;
    }

    .menu>li:not(:last-child) {
        border-bottom: 1px solid #444;
    }
    .footer {
        padding: 5px;
    }
    .footer ul {
        flex-direction: row;
    }
    .footer ul li {
        justify-content: center;
        display: flex;
        padding: 3px;
    }
    .form #invia {
        padding: 15px;
    }
    .form p:last-child {
        margin: 8px 0!important;
    }
}
