:root {
    /*--Custom-Violet: #A58BB4;*/
    /*--Custom-Green: #99C49E;*/
    /*--Custom-Light-Gray: #EAE9EA;*/
    --Custom-Dark-Gray: #201d1e;

    /*--Primary: var(--Custom-Violet);*/
    /*--Secondary: var(--Custom-Green);*/
    /*--Box-Background: #FFF;*/
    /*--Site-Text:  #000;*/
    /*--Menu-Text:  #FFF;*/
    /*--Footer-Background: var(--Custom-Light-Gray);*/
    /*--Stycky-Menu-Background: var(--Custom-Light-Gray);*/
    /*--Stycky-Menu-Interno-Background: var(--Primary);*/

    --Custom-Blue: #001B84;
    --Custom-Yellow: #F5DF67;
    --Custom-Light-Yellow: rgba(245, 223, 103, 0.102);

    --Primary: var( --Custom-Blue);
    --Secondary: var( --Custom-Yellow);
    --Box-Background: var(--Custom-Light-Yellow);
    --Site-Text:  var( --Custom-Blue);
    --Menu-Text:  var( --Custom-Blue);
    --Footer-Background: var(--Custom-Blue);
    --Stycky-Menu-Background: var(--Custom-Yellow);
    --Stycky-Menu-Interno-Background: #fff;
}

a {
    text-decoration: none;
}

body {
    padding-top: 40px;
}

body.interna {
    padding-top: 120px;
}

.form-control {
    background-color: #F5DF67;
    border-radius: 10px;
    opacity: 0.26;
}
.form-group p, .form-group p span{
    font-size: 22px;
}
*:focus {
    outline: 0;
    box-shadow: none;
}

.btn-check:focus+.btn,
.btn:focus {
    outline: 0;
    box-shadow: none;
}

*:not(.fa) {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
}

p,
li,
div,
span {
    color: var(--Primary);
    font-weight: 400;
    font-size: 16px;
}

.btn-cta {
    border-radius: 0;
    padding: 11px 33px;
    font-size: 17px;
    font-weight: 600;
}

.btn_1 {
    background-color: var(--Primary);
    border: 3px solid var(--Primary);
    color: #ffffff;
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
}

.btn_1:hover {
    background-color: var(--Secondary);
    border: 3px solid var(--Secondary);
    color: #ffffff;
}

.btn_2 {
    background-color: var(--Secondary);
    border: 3px solid var(--Secondary);
    color: var(--Primary);
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
}

.btn_2:hover {
    background-color: var(--Primary);
    border: 3px solid var(--Primary);
    color: #ffffff;
}

.modal.show .modal-dialog {
    margin-top: 10%;
}

/* ********************** */

#menuApp {
    width: 100%;
    z-index: 99;
    align-items: center;
    display: flex;
    position: fixed;
    top: 40px;
    height: 80px;
}

#menuApp.nav-sticky {
    background-color: var(--Stycky-Menu-Background);
}

#menuApp ul li {
    display: inline;
    margin-right: 50px;
    padding-bottom: 0;
}

#menuApp ul li a {
    color: var(--Menu-Text);
    font-size: 14px;
    font-weight: 500;
}

#menuApp ul li.active a,
#menuApp ul li:hover a {
    cursor: pointer;
    color: var(--Menu-Text);
    border-bottom: 2px solid var(--Menu-Text);
}

#menuApp ul li:last-of-type {
    margin-right: 0px;
}

#menuApp ul {
    display: inline-block;
    padding: 0;
    margin-top: 10px;
}

#menuApp #logoMenuApp {
    max-height: 50px;
}

#menuApp.interna {
    background-color: var(--Stycky-Menu-Interno-Background);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100%;
    padding-top: 0;
}

/* ********************** */

/* MOBILE default (1x) */
#hero {
    background-image: url('/assets/images/img_head_mobile.png');
    background-size: cover;
    background-position: -100px bottom;
    background-repeat: no-repeat;
    height: 568px;
}

 /*MOBILE retina (2x) */
@media only screen and (min-width: 768px) and (max-width: 1023px) and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-width: 768px) and (max-width: 1023px) and (min-resolution: 192dpi) {
    #hero {
        background-image: url('/assets/images/img_head_mobile@2x.png');
        background-position: -50% bottom;
    }
}

/* DESKTOP standard */
@media (min-width: 1024px) {
    #hero {
        background-image: url('/assets/images/img_head_desktop.png');
        background-size: auto;
        height: 698px;
        background-position: right center;
    }
}

/* DESKTOP retina (2x) */
@media (min-width: 1441px) and (-webkit-min-device-pixel-ratio: 2),
(min-width: 1441px) and (min-resolution: 192dpi) {
    #hero {
        background-size: contain;
        background-image: url('/assets/images/img_head_desktop@2x.png');
    }
}

#hero {

    border-bottom: 10px solid var(--Footer-Background);
    width: 100%;
}

#hero .container {
    position: relative;
}

#hero h1 {
    font-weight: bold;
    font-size: 46px;
    letter-spacing: 0px;
    color: var(--Primary);
}
#hero p {
    font-size: 20px;
    letter-spacing: 0;
    color: var(--Primary);
}

#hero #info div {
    text-align: center;
    font-size: 16px;
    line-height: 16px;
    font-weight: 500;
    width: 44%;
    color: var(--Custom-Dark-Gray);
    padding: 10px 0px;
    border-radius: 100px;
}

#hero #info #btn1 {
    background: var(--Secondary);
}

#hero #info #btn2 {
    background: var(--Primary);
}

@media (min-width: 768px) {

    #hero h1 {
        font-size:86px;
    }
    #hero p {
        font-size:28px;
    }

    #hero #info {
        bottom: 7px;
        width: 60%;
    }

    #hero #info div {
        font-size: 19px;
        line-height: 19px;
    }
}

@media (min-width: 992px) {
    #hero #info {
        bottom: 17px;
        width: 60%;
    }

    #hero #info div {
        font-size: 22px;
        line-height: 22px;
    }
}

@media (min-width: 1400px) {
    #hero #info {
        bottom: 26px;
        width: 58%;
    }

    #hero #info div {
        font-size: 27px;
        line-height: 30px;
    }
}

/* ********************** */

.color1-sm {
    background-color: var(--Primary);
    border: 5px solid var(--Primary);
}

.color1-sm .btn_1 {
    background-color: var(--Primary);
    border: 3px solid var(--Primary);
}

.color1-sm .card-title {
    color: var(--Primary);
}

.color2-sm {
    background-color: var(--Secondary);
    border: 5px solid var(--Secondary);
}

.color2-sm .btn_1 {
    background-color: var(--Secondary);
    border: 3px solid var(--Secondary);
}

.color2-sm .card-title {
    color: var(--Secondary);
}

@media (min-width: 768px) {
    .color1-md {
        background-color: var(--Primary) !important;
        border: 5px solid var(--Primary) !important;
    }

    .color1-md .btn_1 {
        background-color: var(--Primary) !important;
        border: 3px solid var(--Primary) !important;
    }

    .color1-md .card-title {
        color: var(--Primary) !important;
    }

    .color2-md {
        background-color: var(--Secondary) !important;
        border: 5px solid var(--Secondary) !important;
    }

    .color2-md .btn_1 {
        background-color: var(--Secondary) !important;
        border: 3px solid var(--Secondary) !important;
    }

    .color2-md .card-title {
        color: var(--Secondary) !important;
    }
}

/* ********************** */

.card.card-article {
    border-radius: 40px;
    margin-bottom: 15px;
    overflow: hidden;
}

.card.card-article .card-section {
    padding: 19px 30px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 400;
}

.card.card-article.color2-md .card-section, .card.card-article.color2-md .card-title, .card.card-article.color2-md .btn-cta {
    color: var(--Primary)!important;
}

.card.card-article .card-body {
    padding: 0;
    background: #fff;
}

.card.card-article .card-body .card-body-bg {
    position: relative;
    padding: 30px 25px;
    background: var(--Box-Background);
}

.card.card-article .card-body .card-body-bg .card-title {
    font-size: 24px;
    line-height: 31px;
    font-weight: 500;
    min-height: 150px;
}

.card.card-article .card-body .card-body-bg .box-cta {
    width: 100%;
    margin-top: 30px;
}

/* ********************** */

#rcp {
    background: var(--Custom-Dark-Gray);
}

#rcp .box-rcp {
    width: 95%
}

#rcp .box-rcp .rcp-title {
    color: #ffffff;
    font-size: 30px;
    margin-top: 4px;
    margin-bottom: 0;
    font-weight: 500;
}

#rcp .box-rcp .rcp-arrow {
    max-width: 30px;
    margin-left: 15px;
}

#rcp .btn-cta {
    font-size: 20px;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-weight: 400;
}

/* ********************** */

footer {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #ffffff;
    border-top: 10px solid var(--Footer-Background);
}

footer .separator {
    width: 20px;
    display: inline-block;
}

footer a {
    color: var(--Site-Text);
    font-size: 14px;
}

/* ********************** */

#modalCrediti {
    top: 60px;
}

/* ********************** */

.article-title,
.section {
    font-size: 33px;
    line-height: 44px;
    /*color: var(--Secondary);*/
    color: var(--Primary);
    font-weight: 600;
}

.article-cate {
    color: var(--Custom-Dark-Gray);
    font-size: 26px;
    font-weight: bold;
}

.article-biblio-title {
    font-size: 20px;
    line-height: 40px;
    color: var(--Secondary);
    font-weight: 600;
}

.article-biblio,
.article-biblio * {
    font-size: 15px;
    line-height: 23px;
}

.article-attached a {
    color: var(--Secondary);
    font-weight: bold;
}

.not-logged {
    color: var(--Site-Text);
    font-size: 21px;
    line-height: 20px;
    margin: 60px 0 60px 0;
}

.bootbox-close-button.close {
    margin-top: 0 !important;
    float: right;
    background: transparent;
    border: 0;
}