html {
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    font-family: HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
    font-size: 14px;
    color: #4a4a4a;
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* header */
header {
    background-color: #f8f8f8;
    box-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, .15);
    padding-top: 15px;
    position: relative;
}
header .logo {
    width: 100%;
    max-width: 115px !important;
}

/* body */
.sol-bg {
    width: 100%;
    background-attachment: fixed;
    background: url("https://image.contatti.gruppohera.it/lib/fe3c11717564047f761577/m/1/a0d154d9-7566-49ab-83a9-b55537742d84.png") no-repeat center / cover;
}
.container {
    max-width: 960px !important;
    padding-bottom: 15px;
    padding-left: 5px;
    padding-right: 5px;
}
.container-fluid.content {
    padding: 5% 0;
    flex: 1 0 auto;
}
.container .box {
    background-color: #fff;
    border: .1rem solid silver;
    padding: 3em 2em;
}
.intro-row {
    font-size: 17px;
    padding-bottom: .7em;
}
.intro-row span {
    color: #345da7;
    font-size: 22px;
}
#modulo .modulo-container {
    margin: 20px 0 0 0;
    border: 1px solid #345da7;
    padding: 25px 45px 15px 15px;
    position: relative;
    background: #f1f1f1;
    position: relative;
}
#modulo .modulo-container:after {
    content: '\f071';
    right: 9px;
    top: 5px;
    font-family: FontAwesome;
    display: inline-block;
    color: #345da7;
    position: absolute;
    font-size: 25px;
}

/* footer */
footer {
    background-color: #fefefe;
    flex-shrink: 0;
    overflow-x: hidden;
}
footer .container {
    padding-bottom: 0;
}
footer .row div[class*=col]:nth-child(2),
footer .row div[class*=col]:nth-child(3) {
    background-color: #4a4a4a;
}
footer .row div[class*=col]:nth-child(3) {
    padding-bottom: 20px;
}
footer h3 {
    font-weight: 700;
    font-size: 16px;
}
footer p,
footer .row > div[class*=col]:first-child a {
    font-weight: normal;
    font-size: 11px;
    padding: 0;
    margin: 0;
    cursor: auto;
}
footer .credits {
    font-weight: 700;
    padding-bottom: 20px;
    margin-top: 15px;
}
footer ul {
    list-style: none;
    padding: 20px 0 0 0;
    margin: 0;
}
footer a,
footer a:hover {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: underline;
}
footer .row > div[class*=col]:first-child a {
    color: #4a4a4a;
    text-decoration: none;
}
footer .row > div[class*=col]:first-child a:hover {
    text-decoration: none;
}

/* inputs */
input,
select {
    padding: 10px 15px;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #345da7;
    margin: 20px 0 0 0;
    width: 100%;
    max-width: 100%;
}
input:focus {
    outline: none;
}
input,
input::placeholder,
select {
    color: #9f9f9f;
    font-size: 20px;
    text-transform: none;
}
input[name=num_componenti],
input[name=num_componenti]::placeholder {
    font-size: 23px !important;
    font-weight: bold;
}
input[name*=fiscale] {
    text-transform: uppercase;
}
input:-ms-input-placeholder {
    text-transform: none;
}
input[type*=submit] {
    background: #345da7;
    color: #ffffff;
    font-weight: 400;
    border-radius: 6px;
    border: 1px solid #045d92;
    width: 200px;
    margin-top: 40px;
    margin-bottom: 0;
    transition: background .5s;
    letter-spacing: 1px;
}
input[type*=submit]#before-save,
input[type*=submit]#update {
    width: 300px;
}
input[type*=submit]:hover {
    background: #ffffff;
    color: #345da7;
}
.better-check {
    position: absolute;
    left: -6000px;
}
.input-container {
    position: relative;
    max-width: 100%;
}
.row > :not(:first-child) .input-container {
    margin-top: 20px;
}
.input-container span {
    position: absolute;
    left: 0;
    font-size: 12px;
    top: 0;
    letter-spacing: .3px;
}
.input-container span i {
    font-size: 15px;
    color: #345da7;
}
form > div {
    margin-top: 20px;
}
input[type=number] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* select */
select {
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-user-select: none;
    height: 50px;
    outline: none;
    position: relative;
    z-index: 1;
}
select:hover {
    cursor: pointer;
}
.select-container {
    position: relative;
}
.select-container:after {
    content: "\f107";
    bottom: 11px;
    font-family: FontAwesome;
    font-size: 26px;
    position: absolute;
    right: 20px;
    line-height: 1;
    z-index: 0;
    color: #345da7;
}

/* date picker */
.ui-widget.ui-widget-content,
.ui-datepicker .ui-datepicker-header {
    border-radius: 0;
}

/* checkbox */
.checkcontainer {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.checkcontainer input {
    display: none;
}
.checkmark {
    position: absolute;
    top: -2px;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}
.checkcontainer:hover input ~ .checkmark {
    background-color: #ccc;
}
.checkcontainer input:checked ~ .checkmark {
    background-color: #2196F3;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.checkcontainer input:checked ~ .checkmark:after {
    display: block;
}
.checkcontainer .checkmark:after {
    left: 9px;
    top: 4px;
    width: 8px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* resp blocks */
.cat-intro,
.cat-index,
.comune,
.cat-content,
.before-save,
.thankyou {
    display: none;
}
.cat-intro p {
    font-size: 17px;
    margin-bottom: 15px;
}
.intro-row:after,
.cat-index:after {
    content: '';
    display: block;
    height: 1px;
    width: calc(100% - 30px);
    margin: 0 auto 1.5em auto;
    position: relative;
    top: 1em;
    background: #dadada;
}
.oval + h3 {
    font-size: 22px;
    transition: all .5s;
    margin-top: 8px;
}
.oval {
    background: #345da7;
    color: white;
    border-radius: 50%;
    height: 100px;
    width: 100px;
    font-size: 50px;
    margin: 15px auto 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .5s;
}
.oval .fa-home {
    font-size: 70px;
}
.cat-index div[class*=col] {
    cursor: pointer;
    transition: all .5s;
}
.cat-index div[class*=col]:hover {
    opacity: 1 !important;
}
.cat-index div[class*=col]:hover .oval,
.cat-index .active .oval {
    background: #4a4a4a;
}
.comune {
    padding-top: 15px;
}
.cat-content .check-container {
    margin: 20px 0 10px 0;
}
.cat-content #checkreg {
    margin: 1px 5px 0 0;
    vertical-align: top;
}
.cat-content .check-container label {
    text-align: left;
    cursor: pointer;
}
.cat-content .disabled input,
.cat-content .disabled span {
    opacity: 0.4 !important;
    pointer-events: none;
}
.disabled.row {
    background: rgba(0, 0, 0, 0.5);
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 15px;
    padding-right: 15px;
}
.reg,
.notreg {
    padding-top: 30px;
    padding-bottom: 30px;
}
.border-left {
    border-left: 2px solid #345da7!important;
    padding-left: 10px;
}
.border-left ul {
    padding-left: 15px;
}
.cat-help {
    background: #32ab32;
    width: calc(100% + 4em + 2px);
    position: relative;
    left: calc(-2em + 14px);
    bottom: calc(-2em - 15px);
    padding: 2em;
}
.cat-help p,
.cat-help a {
    color: #ffffff;
    letter-spacing: .5px;
    font-size: 18px;
    margin: 0;
    cursor: auto;
}
.cat-help strong {
    margin-left: .3em;
    display: inline-block;
}
.cat-help a:hover {
    text-decoration: none;
}
.thankyou p,
.thankyou li {
    font-size: 17px;
}
.thankyou ul {
    margin-bottom: 20px;
}

/* modals */
.modal-backdrop {
    background-color: #c6c9cc;
}
.modal-content {
    border-radius: 0;
}
.modal-header .close {
    margin-top: -10px;
}

/* loader */
.loader {
    display: none;
}
.loader > span {
    background: #ff4c4c;
    padding: 30px;
    color: white;
    width: 100%;
    text-align: center;
    font-size: 21px;
}
.loading .loader {
    align-items: flex-start;
    display: flex;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, .6) url(../img/load.gif) no-repeat center / 30px 30px;
    position: fixed;
    top: 0;
    z-index: 9999;
}

/* reports */
.container.dt-container {
    padding: 40px 0;
    flex: 1 0 auto;
}
#user-data_filter label {
    display: inline-flex;
    align-items: center;
    margin-top: 40px;
    color: #ffffff;
    letter-spacing: .5px;
}
#user-data_filter input[type=search] {
    margin-right: 0;
    margin-top: 0;
}
table#user-data {
    border: 0;
    background: #ffffff;
}
.dataTables_info {
    background: #ffffff;
    border-radius: 4px;
    padding: 5px 10px;
    margin: 10px 0 20px 0;
}
#export-form {
    display: none;
}
.del-btns {
    text-align: center;
    margin-top: 2.5em;
}
.del-btns .btn {
    margin-bottom: .5em;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.9px;
}
.del-btns .btn:first-child {
    margin-right: 1em;
}

@media (min-width: 330px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (min-width: 768px) {
    #non-domestico .input-container {
        margin-top: 0;
    }
    footer {
        background-image: linear-gradient(90deg, #fefefe 41%, #4a4a4a 0);
        transition: all .5s;
    }
    footer .row {
        display: flex;
    }
    footer .row div[class*=col]:nth-child(2):after {
        content: '';
        display: inline-block;
        width: 1px;
        height: calc(100% - 40px);
        background: #ffffff;
        position: absolute;
        top: 20px;
        right: 0;
    }
    .fixed-footer footer {
        position: absolute;
        bottom: 0;
        width: 100%;
    }
    #privacy-modal .modal-dialog,
    #cookie-modal .modal-dialog {
        width: 90%;
    }
}

@media (max-width: 475px) {
    p + ul {
        padding: 0 0 0 15px;
    }
    p + ul ul {
        padding: 5px 0 10px 15px;
    }
}

/* cookie dialog */
.cookie-dialog {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f2f2f2;
    color: #111;
    font-size: 16px;
    padding: 50px 30px 40px;
    line-height: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    box-shadow: 0 -12px 26px 5px rgb(0 0 0 / 34%);
    z-index: 999;
}
p.cookie-dialog-txt {
    margin-bottom: 35px;
}
button.btn-close.accept {
    background: green;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: 0;
    padding: 15px;
    border-radius: 2px;
}
button.btn-customize {
    font-size: 14px;
    border: 0;
    font-weight: bold;
    margin-right: 45px;
    padding: 8px 16px;
}
button.btn-close.closed {
    position: absolute;
    top: 5px;
    right: 5px;
    border: 0;
    background: #dcdae5;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    padding: 3px 10px;
}
.text-center.contract-fiscal{
   display: flex;
   flex-direction: row;
}
.img_mobile{
    width: 40%;
}
@media only screen and (max-width: 600px) {
.text-center.contract-fiscal {
    display: flex;
    flex-direction: column;
 }
.img_mobile{
    width: 80%;
}
}