body {
    font-family: Lato;
    font-size: 12pt;
}

h2 {
    font-size: 2.5rem;
}

.btn-primary {
    color: #fff;
    background-color: #27233a;
    border-color: #27233a;
}

.btn-primary:hover {
    color: #fff;
    background-color: #696388;
    border-color: #696388;
}

.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #696388;
    border-color: #696388;
    box-shadow: 0 0 0 .2rem #27233a77;
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: #27233a;
    border-color: #27233a;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #696388;
    border-color: #696388;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem #27233a77;
}

a {
    color: #999999;
}

a:hover {
    color: #bbbbbb;
    text-decoration: none;
}

nav img {
    height: 50px;
}

nav ul li {
    text-align: right;
}

.shadow {
    box-shadow: 0 .25rem 1rem rgba(0,0,0,.15)!important;
}

.masthead {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../assets/img/bgm.jpg)
}

.content ul {
    padding: 0 1em;
    list-style: none;
}

.content li::before { 
    content: "";
    border-color: transparent #befcc0;
    border-style: solid;
    border-width: 0.30em 0 0.30em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1rem;
    top: 1rem;
    position: relative;
}

header .row {
    background-color: #fffffffb;
}

header img {
    width: 100%;
}

header h1 {
    font-size: 2rem;
}

section img {
    width: 100%;
}

.bg-green {
    background-color: #e6fce7;
    color: #1d1d1b;
}

.index .svg-container svg {
    width: 480px;
}

.aree .svg-container {
}

.aree .svg-container svg {
    margin-bottom: 2rem;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.aree .svg-container .explanation {
    padding: 0 50px;
    background-color: #e6fce7;
    padding: 1.5rem;
    box-shadow: 0 .25rem 1rem rgba(0,0,0,.15);
}

.aree .svg-container .explanation h4 {
    font-weight: 600;
    text-align: center;
}

.resilience-index {
    margin-left:auto;
    margin-right: auto;
}

#dafne img {
    width: 75%;
}

#dafne p {
    font-size: 2rem;
    margin-bottom: 0;
}

#dafne .dafne-text {
    font-family: "Source Sans Pro";
    font-weight: 600;
    text-transform: uppercase;
    font-size: 3rem
}

.dafne-blue {
    color: #255891;
}

.dafne-lightblue {
    color: #1eaae5;
}

.bg-dafne {
    background-color: #efedf5;
}

#contattaci .orari {
    font-size: 1.5rem;
}

#contattaci .contact-info {
    font-size: 1.25rem;
}

#contattaci i {
    color: #ffffff;
    background-color: #87f08b;
    padding: 15px;
    border-radius: 50%;
}

.bg-footer {
    background-color: #27233a;
    color: #ffffff;
}


/*ARROW */
.arrow {
    text-align: center;
}

.arrow a {
    color: #ffffff;
    background-color: #87f08b;
    border-radius: 50%
}

.arrow a:hover {
    background-color: #c0fcc0;
}

.bounce {
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(-10px);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 25px;
    right: 30px;
    display:none;
}

@keyframes icon-up {
    0%, 50%, 100% {
        transform: translateY(0);
    }
    25%, 75% {
        transform: translateY(-6px);
    }
}

.back-to-top:hover {
    -moz-animation: icon-up 0.75s ease-out;
    -webkit-animation: icon-up 0.75s ease-out;
    animation: icon-up 0.75s ease-out;
}