header {
    position: relative;
    background: #009fe3;
}
footer {
    position: relative;
    background: #373f44;
    color: white;
}
nav {
    border-bottom: solid 1px white;
}

.navbar-brand img {
    height: 65px;
}

.nav-link img {
    max-height: 40px;
    max-width: 100%;
}

main {
    background-color: #009fe3;
}
.navbar-nav .nav-item .nav-link {
    color: white !important;
}
main .container .logo {
    float: right;
    height: 200px;
    width: 200px;
    margin-top: -40px;
    left: 100px;
}
main .container .logo img {
    height: 200px;
    position: fixed;
    right: -100px;
}

.head-text {
    color: white;
}

#footerImage img {
    margin-left: 20px;
    height: 50px;
}
#footerLinks {
    margin-top: 20px;
    margin-left: 100px;
    margin-right: 100px;
}
#footerOthers {
    margin-top: 10px;
    margin-left: 100px;
    margin-right: 100px;
}
#footerLine {
    border-top: solid 1px white;
    margin-right: 100px;
    margin-left: 100px;
    margin-top: 10px;
}
.bodyContainer {
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    border: 1px solid #999999;
    padding: 15px;
    background-color: white;
    margin-bottom: 50px;
    top: -115px;
    position: relative;
}
.bodyContainer .indietro {
    color: black;
    float: left;
}
.bodyContainer .scarica {
    color: black;
    float: right;
}
.bodyContainer .indietro a {
    color: black;
}
.bodyContainer .scarica a {
    color: black;
}
.bodyContainer #bodyHeader {
    border-bottom: #999999 1px solid;
}
.bodyContainer #certficatoOrigine {
    margin-top: 20px;
}
.bodyContainer #certficatoOrigine #bottomSpace {
    margin-right: auto;
    margin-left: auto;
}
.bodyContainer #certficatoOrigine #bottomLine {
    border-bottom: grey 1px solid;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.bodyContainer #certficatoOrigine #topLine {
    border-top: grey 1px solid;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    padding-top: 20px;
}
.bodyContainer #datiHeader #bottomLine {
    margin-right: auto;
    margin-left: auto;
    border-bottom: grey 1px solid;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.bodyContainer #datiHeader #topLine {
    border-top: grey 1px solid;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    padding-top: 20px;
}
.bodyContainer #datiHeader {
    margin-top: 0px;
}
.bodyContainer #datiRichiedente #bottomLine {
    margin-right: auto;
    margin-left: auto;
    border-bottom: grey 1px solid;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.bodyContainer #datiRichiedente #topLine {
    border-top: grey 1px solid;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    padding-top: 20px;
}
.bodyContainer #datiRichiedente {
    margin-top: 0px;
}
.bodyContainer #datiDestinatario #topLine {
    border-top: grey 1px solid;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    padding-top: 20px;
}
.bodyContainer #datiDestinatario #bottomLine {
    margin-right: auto;
    margin-left: auto;
    border-bottom: grey 1px solid;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.bodyContainer #datiDestinatario {
    margin-top: 0px;
}
.bodyContainer #datiMerci {
    padding-bottom: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
}
.bodyContainer #datiMerci #bottomLine {
    border-bottom: grey 1px solid;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.bodyContainer #datiMerci #topLine {
    border-top: grey 1px solid;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    padding-top: 20px;
}
.bodyContainer #datiMerci table td {
    padding-right: 60px;
    padding-bottom: 10px;
}
.bodyContainer #datiSpedizione #bottomLine {
    border-bottom: grey 1px solid;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.bodyContainer #datiSpedizione #topLine {
    border-top: grey 1px solid;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    padding-top: 20px;
}
.bodyContainer #datiSpedizione {
    margin-top: 0px;
}
.bodyContainer #datiSpedizione table td {
    text-align: center;
    padding-bottom: 10px;
    padding-right: 50px;
}
#unionCamereImg img {
    margin-top: 50px;
    height: 65px;
}
#InfocamereImage img {
    margin-top: 35px;
    height: 90px;
    margin-bottom: 20px;
    float: right;
}
nav .menuContainer li a {
    color: white;
}
nav .menuContainer li img {
    height: 30px;
    width: 30px;
}
intro-2 {
    background: url("https://mdbootstrap.com/img/Photos/Others/img (42).jpg")
        no-repeat center center;
    background-size: cover;
}
.view {
    margin-top: -56px;
}
.navbar {
    z-index: 1;
    background-color: transparent;
}
.top-nav-collapse {
    background-color: #4285f4;
}
.bodyContainer button.btn.btn-primary {
    background-color: #4285f4 !important;
    border-color: #4285f4 !important;
}
.container .card-deck {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.container .card-img-top {
    width: 30%;
    height: 20%;
}
.container .card-logo {
    height: 6.5rem;
}
.container .card-logo .card-img-top {
    height: auto;
}
.mt-3 {
    margin-top: 0px !important;
}
.bodyContainer .nav-tabs .nav-item .nav-link {
    cursor: pointer;
}
.container .nav-tabs .nav-item .nav-link {
    cursor: pointer;
}
@media only screen and (max-width: 768px) {
    .navbar {
        background-color: #4285f4;
    }
}

/* pagina documenti e pagina servizi*/
.card-custom {
    background-color: #ebeced;
    width: 318px !important;
    border: none !important;
}
.card-custom-img {
    width: 316px;
    height: 225px;
}
.card-custom-h5 {
    color: #008ee2;
}
.card-container {
    font-family: "Noto Sans", "Noto Sans CJK TC", sans-serif;
    padding-top: 95px;
    padding-bottom: 95px;
    background-color: #ebeced;
}
.title-container {
    font-family: "Noto Sans", "Noto Sans CJK TC", sans-serif;
    padding: 60px 0px 50px 0px;
}
.title-documenti,
.title-servizi {
    padding: 0px 0px 30px 0px;
}

/* pagination section */

.pagination .ng-binding {
    border: 1px solid #007bff;
    padding: 9px;
    margin-left: -1px;
}

.pagination .ng-binding a:hover {
    text-decoration: none !important;
    transition: 0.5s;
    background-color: white;
}

.rel-date {
    background-color: #ffe4b5;
}

.validation-invalid {
    color: red;
}

/* Breakpoints a md */
@media (max-width: 991.98px) {
    /* logo per area riservata */
    .nav-link img {
        max-height: 40px;
        max-width: 40px;
    }
}

.buttonLang {
    background-color: #009fe3;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: 4px 2px;
    cursor: pointer;
}

.recaptcha {
    cursor: pointer;
}

/* Spinner loader */
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #009fe3; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
