#mainNav .navbar-nav .nav-item .nav-link {
    font-size: 85%;
}

#mainNav {
    position: relative;
}

/* rettangolo in alto a sinistra */
#mainNav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;   /* larghezza rettangolo */
    height: 20px;   /* altezza rettangolo */
    background-color: #ffffff;
}

/* rettangolo in alto a destra */
#mainNav::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 20px;
    background-color: #ffffff;
}

footer {
    position: relative;
}

/* rettangolo bianco in basso a destra */
footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 90px;   /* larghezza rettangolo */
    height: 30px;   /* altezza rettangolo */
    background-color: #ffffff;
}

.top-bar__inner {
    max-width: 1200px;     /* crea lo spazio bianco a destra e sinistra */
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-muted-white {
    color: #FFFFFF;
}

.text-muted-beige {
    color: #E7D3BB;
}

.text-muted-dark {
    color: #363a3e;
}

section#features {
    background-color: #212529;
    background-image: url("../img/features_background.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

section#seeit_and_links {
    background-color: #212529;
    background-image: url("../img/see_it_background.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

section#contacts_info {
    background-color: #212529;
    background-image: url("../img/contacts_info.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

section#donation {
    /*background-color: #FFDD0E;*/
    background-color: #fed136;
}

.main-text-custom {
    position: absolute;
    top: 50px;
    width: 100%;
    color: #FFF;
}

.carousel-control-next, .carousel-control-prev {
    top: initial;
    bottom: 30px;
}

.carousel-item {
    height: 50vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.social-media-icons .fab {
    padding: 20px;
    font-size: 50px;
    width: 90px;
    border-radius: 50%;
    text-decoration: none;
    margin: 5px 2px;
}

.social-media-icons a:hover {
    opacity: 0.7;
    color: white;
}

.fa-heart  {
    color: #dd4b39;
}

.fa-facebook-f {
    background: #3B5998;
    color: white;
}

.fa-twitter {
    background: #55ACEE;
    color: white;
}

.fa-google {
    background: #dd4b39;
    color: white;
}

.fa-linkedin {
    background: #007bb5;
    color: white;
}

.fa-youtube {
    background: #bb0000;
    color: white;
}

.fa-instagram {
    background: #125688;
    color: white;
}

.fa-pinterest {
    background: #cb2027;
    color: white;
}

.fa-snapchat-ghost {
    background: #fffc00;
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.fa-skype {
    background: #00aff0;
    color: white;
}

.fa-android {
    background: #a4c639;
    color: white;
}

.fa-dribbble {
    background: #ea4c89;
    color: white;
}

.fa-vimeo-v {
    background: #45bbff;
    color: white;
}

.fa-tumblr {
    background: #2c4762;
    color: white;
}

.fa-vine {
    background: #00b489;
    color: white;
}

.fa-foursquare {
    background: #45bbff;
    color: white;
}

.fa-stumbleupon {
    background: #eb4924;
    color: white;
}

.fa-flickr {
    background: #f40083;
    color: white;
}

.fa-yahoo {
    background: #430297;
    color: white;
}

.fa-soundcloud {
    background: #ff5500;
    color: white;
}

.fa-reddit {
    background: #ff5700;
    color: white;
}

.fa-rss {
    background: #ff6600;
    color: white;
}

/*READMORE READLESS*/
#summary p.collapse:not(.show) {
    height: 142px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

#summary p.collapsing {
    min-height: 142px !important;
}

#summary .collapsed:after  {
    content: '+ Read More';
    color: #212529;
}

#summary a.withoutContent:after {
    content: '';
}

#summary a:not(.collapsed):after {
    content: '- Read Less';
    color: #212529;
}

#summary .collapsed:hover {
    background-color: #F7EDB5 !important;
    border-color: #F7EDB5 !important;
    border-radius: .25rem;
}

#summary a:not(.collapsed):hover {
    background-color: #F7EDB5 !important;
    border-color: #F7EDB5 !important;
    border-radius: .25rem;
}

/*----- ITALIAN -----*/

#summary-it p.collapse:not(.show) {
    height: 142px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

#summary-it p.collapsing {
    min-height: 142px !important;
}

#summary-it .collapsed:after  {
    content: '+ Continua a leggere';
    color: #212529;
}

#summary-it a.withoutContent:after {
    content: '';
}

#summary-it a:not(.collapsed):after {
    content: '- Nascondi';
    color: #212529;
}

#summary-it .collapsed:hover {
    background-color: #F7EDB5 !important;
    border-color: #F7EDB5 !important;
    border-radius: .25rem;
}

#summary-it a:not(.collapsed):hover {
    background-color: #F7EDB5 !important;
    border-color: #F7EDB5 !important;
    border-radius: .25rem;
}
/*-------------------*/

/*NEWSLETTER button*/
.list-group-item:focus, .list-group-item:hover {
    background-color: #fed136 !important;
    border-color: #fed136 !important;
    color: white;
}

/*.newsletter-btn {
    margin-top: 0px;
}*/

@media (max-width: 1025px) {
    header.masthead .intro-text .intro-heading {
        font-size: 55px;
    }
}

@media (max-width: 750px) {
    header.masthead .intro-text .intro-heading {
        font-size: 45px;
    }
}

@media (max-width: 680px) {
    header.masthead .intro-text .intro-heading {
        font-size: 35px;
    }
}

@media (max-width: 550px) {
    header.masthead .intro-text .intro-heading {
        font-size: 25px;
    }
}

footer span.copyright {
    line-height: 1px;
}

@media (max-width: 768px) {
    .newsletter-btn {
        margin-top: 80px;
    }
}

/*VIDEO button*/
@media (max-width: 768px) {
    .first-video {
        padding-bottom: 50px;
    }
}

.tight-section {
    padding-top:25px;
}

/*ABOUT column*/
@media (max-width: 768px) {
    .about-service {
        padding-bottom: 50px;
    }
}

/*LANGUAGES NAVBAR BUTTON*/
.languages-btn {
    border-left: 1px solid #373a3e;
    height: 55px;
}

@media (max-width: 768px) {
    .languages-btn {
        border-left: none;
        border-top: 1px solid #373a3e;
    }
}

.last-item-navbar {
    padding-top: 0px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .last-item-navbar {
        margin-right: 0px;
        padding-bottom: 20px;
    }
}

.dropdown-item {
    font-size: 95%;
    font-weight: 400;
    padding: 0.75em 0;
    letter-spacing: 1px;
    color: #212529;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.dropdown-item:hover {
    background-color: #fed136 !important;
    border-color: #fed136 !important;
}

.btn-subscribe-newsletter {
    background-color: #adadad !important;
    border-color: #adadad !important;
}

.btn-subscribe-newsletter:hover {
    background-color: #999999 !important;
    border-color: #999999 !important;
}

.custom-newsletter {
     width: 370px !important;
}

.custom-libro {
    width: 370px !important;
}

@media (min-width: 100px) {
    .modal-lg {
        max-width: 85%;
        margin: auto;
    }
}

@media (min-width: 700px) {
    .modal-lg {
        max-width: 70%;
    }
}

@media (min-width: 900px) {
    .modal-lg {
        max-width: 65%;
    }
}

@media (min-width: 1500px) {
    .modal-lg {
        max-width: 800px;
    }
}

.navbar-collapse.collapse.show {
    background-color: #FF8D19;
}

@media (max-width: 989px) {
    #mainNav::before {
        background-color: #FF8D19;
    }
    #mainNav::after {
        background-color: #FF8D19;
    }
}