a,p,h1,h2,div,li,p,span {
    font-family: 'Source Sans Pro';
    font-style: normal;
}

.container {
    position: relative;
}

/* HEADER */
header .top {
    background-color:#005970;
    height:54px;
}

header .bottom {
    background-color:#FFF;
    height:110px;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
header ul li {
    display: inline;
    font-size:12px;
    line-height: 54px;
}

header ul li i.fab {
    font-size:16px;
    line-height: 54px;
    padding-left:10px;
}

header ul li i.fab:hover {
    color:#B6192B;
}
header ul li,header ul li a,header ul li a:hover {
    color:#FFF;
    text-decoration: none;
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-display: swap;
}

header .bottom ul li,header .bottom ul li a,header .bottom ul li a:hover {
    color:#005970;
    font-size:16px;
    line-height: 110px;
    padding-left:15px;
    font-weight: bold;
}
header .bottom ul li a:hover {
    color:#B6192B;
}


.logo {
    position: absolute;
    top:0px;
    left:15px;
    height:90px;
    margin: 10px 0;
}

button.dona-ora {
    height:44px;
    background-color: #B6192B;
    color:#FFF;
    text-align: center;
    padding:5px 10px;
    font-size:16px;
    border:0;
}

button.dona-ora-close:hover {
    background-color:#005970;
}

button.dona-ora-close {
    height:44px;
    background-color: #B6192B;
    color:#FFF;
    text-align: center;
    padding:5px 10px;
    font-size:16px;
    border:0;
}

button.dona-ora:hover {
    background-color:#005970;
}

header i.fa-bars {
    font-size: 30px;
}

/* SLIDER */
#slider {
    position: relative;
    background: url(../img/bg-slider.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}

.slider-content {
    width:100%;
    position: relative;
}

.slider-overlay {
    position:absolute;
    bottom:100px;
    width:100%;
}

.headling {
    background-color:rgba(255,255,255,0.7);
    color:#005970;
    margin-bottom:10px;
    font-size:60px;
    display:table;
    margin:10px 20px;
    text-align: center;
    padding:0px 10px;
}

.headling-low {
    font-size:40px;
}

#slider h1{
    color:#005970;
    font-size:40px;
    margin:0;
    padding-top:20px;
}

#slider h2 {
    color:#005970;
    font-size:30px;
    margin:0;
    padding-bottom:20px;
}

/* SLIDER DESCRIPTION */
#slider-description {
    background-color:rgba(0,89,112,0.8);
    padding: 30px 0 30px 0;
}

#slider-description p {
    color:#FFF;
}

#slider-description p.title {
    font-size:40px;
    text-align: center;
    margin-top:30px;

}

#slider-description p.description {
    font-size:20px;
    text-align: center;
    margin-bottom:30px;
}

/* COME AIUTIAMO */
#come-aiutiamo {
    width:100%;
    background-color: #FFF;
    padding-bottom:30px;
}

#cosa-facciamo {
    background-color: #FFF;
    padding-bottom: 50px;
}

#news {
    background-color: rgba(182,182,182, 0.2);
}

.dona-ora.extra-large {
    height:64px;
    background-color: #B6192B;
    color:#FFF;
    text-align: center;
    padding:5px 20px;
    font-size:26px;
    border:0;
}

.no-padding{
    padding:0;
}

.come-aiutiamo-content {
    margin:0 auto;
    text-align:center;
    margin:40px 0;
    padding:30px 20px;
}


.come-aiutiamo-content img {
    width:100px;
    margin-bottom:20px;
}
.come-aiutiamo-content p,.come-aiutiamo-content h3 {
    color:#005970;
}
.come-aiutiamo-content h3 {
    height:55px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom:20px;
}
.come-aiutiamo-content.border {
    border-right:1px solid #005970;
    border-left:1px solid #005970;
}

/* VIDEO */
#video {
    background-color: #005970;
    padding:30px 0 40px 0;
}

#video p {
    color:#FFF;
    font-size:40px;
    text-align: center;
    margin-bottom:30px
}

/* ASCOLTA */
#news {
    background-color: rgba(182,182,182, 0.2);
    padding:30px 0 40px 0;
}

#news p.h2 {
    color:#005970;
    font-size:40px;
    text-align: center;
    margin-bottom:30px
}
.image-content {
    position:relative;
    padding: 0 20px;
}

.circle-content {
    position: absolute;
    bottom:-50px;
    left:-25px;
}

.circle-content img {
    width:100px;
}
#news .circle-content p {
    width:100px;
    height:100px;
    text-align: center;
    color:#005970;
    position: absolute;
    top:-40px;
    left:0;
    font-size:180px;

}

#news p.title {
    color:#005970;
    font-size:24px;
    text-align: center;
    margin-top:20px
}

#news p.description {
    color:#005970;
    font-size:14px;
    text-align: center;
    margin-bottom:30px;
    padding:0 100px;
}

.pop {
    cursor:pointer;
}

.modal-body {
    padding: 0;
}

/* COME ACCEDERE */
#come-accedere {
    background-color:#327A8C;
    padding:30px 0;
}

#come-accedere p, #come-accedere a, #come-accedere a:hover {
    color:#FFF;
}

#come-accedere p.h2 {
    text-align: center;
}

#come-accedere p.h3 {
    text-align: left;
    font-size:18px;
}

.come-accedere-box {
    margin-top:30px;
    margin-bottom:10px;
}

.come-accedere-box p{
    line-height: 12px;
}

.come-accedere-box p.font16 {
    font-size: 16px;
}


.come-accedere-box p a,.come-accedere-box p a:hover{
    color:#FFF;
    text-decoration: none;
}
/* FOOTER */

footer {
    background-color:#005970;
    padding:30px 0 10px 0;
}

footer p,footer a,footer a:hover{
    color:#FFF;
}

footer p.title{
    margin-bottom:20px
}

footer p.description{
    line-height:12px;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
footer ul li {
    display: inline;
    font-size:12px;
    line-height: 54px;
}

footer ul li i.fab {
    font-size:16px;
    line-height: 54px;
    padding-left:10px;
}

footer ul li i.fab:hover {
    color:#B6192B;
}
footer ul li,footer ul li a,footer ul li a:hover {
    color:#FFF;
    text-decoration: none;
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-display: swap;
}

footer .bottom ul li,footer .bottom ul li a,footer .bottom ul li a:hover {
    color:#005970;
    font-size:16px;
    line-height: 110px;
    padding-left:15px;
}
footer .bottom ul li a:hover {
    color:#B6192B;
}

/*CAROUSEL*/
.carousel-inner {
    padding:0 80px;
}
.carousel-control {
    width:5%;
    z-index:999;
}

.carousel-control.left, .carousel-control.right {
    background-image: none;
    text-shadow:none;
    opacity: 1;
}

.carousel-control:focus, .carousel-control:hover {
    background-color: transparent;
}

.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
    color:#CD2E26;
}

/* OVERLAY */

/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

.overlay-content ul {
    list-style: none;
}

/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

.modal-container {
    padding:20px;
}

#donaoramodal .modal-body .title {
    color: #005970;
    font-size: 30px;
    font-family: 'Source Sans Pro';
    font-style: normal;
    padding-bottom:20px;
}

#donaoramodal .modal-body .subtitle {
    color: #005970;
    font-size: 20px;
    font-family: 'Source Sans Pro';
    font-style: normal;
    padding:10px 0 0px 0;
}

.btn-importo {
    background-color: #EEE;
    color: #005970;
    width: 100%;
    line-height:50px;
    border: 0;
    font-size: 22px;
    font-family: 'Source Sans Pro';
    font-style: normal;
}

.input-group-amount, .input-group-amount div, .input-group-amount input {
    background-color: #EEE;
    border-radius: 0px;
    border: 0;
    height:40px !important;
    line-height: 40px !important;
    color: #005970;
    font-size: 20px;
    font-family: 'Source Sans Pro';
    box-shadow:transparent !important;
}

.btn-importo:hover,.btn-importo.active {
    color: #FFF;
    background-color: #005970;
}

#donaoramodal .modal-body .subtitle.subtitle-dati {
    margin-top:10px;
    font-size: 22px;
}

.form-group label {
    color:#005970;
    font-weight: normal;
    font-family: 'Source Sans Pro';
    font-size: 16px;
}

.form-group label span {
    color:#B6192B;
}

p.field-required {
    color:#005970;
    font-weight: normal;
    font-family: 'Source Sans Pro';
    font-size: 12px;
}

p.field-required span{
    color:#B6192B;
}

.step-2 {
    display: none;
}

input.error {
    border-color:#B6192B !important;
}

button.dona-ora-cc {
    height:44px;
    background-color: #B6192B;
    color:#FFF;
    text-align: center;
    padding:5px 10px;
    font-size:22px;
    border:0;
    width: 100%;
    margin-top:10px;
}

button.dona-ora-paypal {
    height:44px;
    background-color: #005970;
    color:#FFF;
    text-align: center;
    padding:5px 10px;
    font-size:22px;
    border:0;
    width: 100%;
    margin-top:10px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}



@media (max-width: 768px) {
    #slider-description p.description {
        padding:0 40px;
    }
    .logo {
        width:150px;
        height: auto;
        padding-top:22px;
    }
    #come-accedere p {
        text-align: center;
    }
    #come-accedere p.h3 {
        text-align: center;
    }

    #come-accedere img {
        text-align: center;
        margin:0 auto;
        display: block;
        margin-bottom:20px;
    }

    footer p {
        text-align: center;
    }

    .come-aiutiamo-content.border {
        border: 0;
    }
}

@media only screen and (max-width: 600px) {
    body {
        background-color: #FFF;
    }
    #slider h1 {
        font-size:25px;
        padding-top: 10px;
    }

    #slider h2 {
        font-size:22px;
    }

    #slider-description p.title {
        font-size: 25px;
    }

    #slider-description p.description {
        font-size:18px;
    }

    .carousel-inner {
        padding: 0 20px;
    }

    .circle-content {
        bottom: -30px;
        left: -10px;
    }
    .circle-content img {
        width:60px;
    }
    #news .circle-content p {
        width:60px;
        height:60px;
        font-size: 100px;
        top:-20px;
    }

    #news p.description {
        padding:0 50px;
    }
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}
.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}
.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}
.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}
.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}
.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}
.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}
.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}
.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}
@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    height:100vh;
    width:100%;
    background-color: #000;
    position: fixed;
    z-index:100000;
    opacity: 0.5;
    display:none;
    top:0;
}

.loading .lds-roller {
    position:absolute;
    left:50%;
    top:50%;
    margin-left:-50px;
    margin-top:-50px;

}


/* aggiunte camilla */



#owl-news .glyphicon-chevron-right, #owl-news .glyphicon-chevron-left {
    color: #CD2E26;
    font-size:25px;
}



#owl-news .owl-nav .owl-prev{
    position:absolute;
    left:-40px;
    top:30%;
    
}

#owl-news .owl-nav .owl-prev:hover, #owl-news .owl-nav .owl-next:hover{
    background-color:transparent;
    
}

#owl-news .owl-nav .owl-next{
    position:absolute;
    right:-40px;
    top:30%;
}

#owl-news .owl-dots{
    margin-bottom:20px;
}

#textModal .logo-container{
    text-align:center;
    margin-bottom:40px;
}

#textModal .logo-modal{
    width:130px;
    
    
}

#textModal h5{
    font-size:25px;
    color:#005970;
    text-align:center;

}

#textModal .modal-header{
    background-color:rgba(182,182,182, 0.2);
    border-bottom:none;

}

#textModal .modal-header .subtitle{
    color: #005970;
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
    line-height:30px;
}

#textModal .modal-body{
    background-color:#005970;
    padding-top:30px;
    padding-bottom:30px;
    
}



#textModal .modal-header, #textModal .modal-body{
    padding-left:50px;
    padding-right:50px;

    
}

#textModal .modal-body .subtitle{
    color: #fff;
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
    line-height:30px;
    margin-bottom:30px;
}

#textModal .modal-body .text{
    color: #fff;
    text-align: center;
   
}

.pop-text{
    cursor: pointer;
}

@media only screen and (max-width: 992px) {
    
    #owl-news .owl-nav .owl-prev{
    position:absolute;
    left:-5%;
    top:20%;
    
}

#owl-news .owl-nav .owl-next{
    position:absolute;
    right:-5%;
    top:20%;
}
    
    #owl-news{
        width:90%;
        margin:0 auto;
    }
    
    
}