body {
    /* font-family: verdana, geneva, sans-serif!important; */
    /* font-family: 'Roboto', sans-serif!important; */
    font-family: 'Rubik', sans-serif!important;
}

a {
    text-decoration: none!important;
}


/******** COLOR **********/

:root {
    /* --main-bg-color: #fe0000; */
    --main-bg-color: #DA291C;
}

.pulicolor {
    color: var(--main-bg-color);
}

.bg-pulicolor {
    background-color: var(--main-bg-color);
}

.br-pulicolor {
    border-color: var(--main-bg-color)!important;
}

b {
    color: var(--main-bg-color)!important;
}


/* #pa b {
    color: white !important;
} */


/******* ID *********/

#page-top {
    /* display: none; */
}

#slogan1,
#slogan2,
#btnslogan1,
#btnslogan2,
#btnnews {
    /* display: none; */
    opacity: 0.0;
}

#slogan1 {
    padding-bottom: 10px;
}


/************* FOOTER *********/

footer.footer .social-link {
    background-color: var(--main-bg-color)!important;
    font-size: 1.7rem!important;
}

footer.footer {
    padding-top: 3rem!important;
}

.small {
    font-size: 85%!important;
}

#cookies {
    background-color: lightslategray;
}


/********* IMMAGINI **********/

.logo {
    max-width: 600px;
    width: 100%;
}

.img-chisiamo {
    max-width: 400px;
    width: 100%;
}

.logomenù {
    max-width: 150px;
    width: 100%;
    text-align: left!important;
}

.numverdi {
    max-width: 200px;
    width: 100%;
}

.news {
    max-width: 500px;
    width: 100%;
    /* opacity: 0.0; */
}

.newsthumb {
    max-width: 200px;
    width: 100%;
    /* opacity: 0.0; */
}

.underlined {
    text-decoration: underline!important;
}


/********  TEXT **********/

.slogan {
    font-family: 'Oregano';
}


/********  PULSANTI  **************/

.btn-primary {
    color: var(--main-bg-color)!important;
    background-color: white!important;
    border-color: var(--main-bg-color)!important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus,
.btn-primary.active.focus,
.btn-primary.active:visited,
.btn-primary.active:hover {
    background-color: var(--main-bg-color)!important;
    color: white!important;
    border-color: white!important;
    outline: none !important;
    box-shadow: none;
}


/********  COUNTER  ***********/

.counter {
    width: 70%;
}


/*******  CARUSEL ***********/

.carusel-paragr {
    padding-top: 10%;
    /* text-align: center; */
}

.carusel-text {
    text-align: justify;
}

.carusel-img {
    margin-top: 2%;
    text-align: center;
}

.carousel-indicators li {
    background-color: var(--main-bg-color)!important;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fe0000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
    position: absolute!important;
    top: 100%!important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fe0000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
    position: absolute!important;
    top: 100%!important;
}

.carousel-indicators {
    position: absolute!important;
    top: 100%!important;
}

.fade {
    /* opacity: 0; */
    -webkit-transition: opacity 0.30s linear;
    -moz-transition: opacity 0.30s linear;
    -ms-transition: opacity 0.30s linear;
    -o-transition: opacity 0.30s linear;
    transition: opacity 0.30s linear;
}

.email {
    color: black!important;
}


/******** MENU' ********/

#sidebar-wrapper {
    background-color: var(--main-bg-color)!important;
}

#mainNav {
    display: block;
}

.nav-link {
    color: var(--main-bg-color)!important;
}


/******* SEZIONI ************/

.masthead {
    top: 60px;
}

.othertoppage {
    top: 60px;
}

.servicepage {
    background-color: #f8f9fa !important;
}

.sect-chisiamo {
    /* background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)), url(../img/small/bg_0000.jpg); */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.sect-scrivici {
    width: 100%;
    max-width: 500px!important;
}

.infolegali p {
    margin-bottom: 0;
}

.infolegali a {
    color: black!important;
}

#contatti {
    padding-bottom: 3rem!important;
}

.form-group .fa {
    color: var(--main-bg-color)!important;
}

.privacy {
    font-size: 0.7rem;
    font-style: italic;
}

.footerlink:hover,
.footerlink:active,
.footerlink:visited,
.footerlink:focus,
.footerlink.active.focus,
.footerlink.active:visited,
.footerlink.active:hover {
    text-decoration: underline!important;
    color: #6c757d!important;
}


/********** POPUP ***************/

.popup-box {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 2;
    /* Sit on top */
    margin: auto!important;
    /* left: 0; */
    top: 10%;
    /* width: 100%; */
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    /* background-color: rgb(0, 0, 0); */
    /* Fallback color */
    /* background-color: rgba(0, 0, 0, 0.4); */
    /* Black w/ opacity */
}

#cookiepol {
    position: fixed;
    bottom: 0%;
    background-color: #efefef;
    padding: 1rem;
    z-index: 1;
    display: none;
    font-size: 0.8rem;
    width: 100%;
}

.popup-box-news {
    /* width: 70%!important; */
    margin: auto!important;
}


/* Modal Content/Box */

.popup-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    margin: 5%;
    /* Could be more or less, depending on screen size */
}


/* The Close Button */

.popup-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.popup-close:hover,
.popup-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup-section {
    padding-top: 5% !important;
    padding-bottom: 5% !important;
}


/***** MAPPA**********/

.custom-google-map {
    width: 100%;
    height: 50vh;
    /* top: -50px; */
    border: none;
    clip-path: polygon(0 15%, 100% 15%, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(0 15%, 100% 15%, 100% 100%, 0% 100%);
    margin-top: -50px;
}


/*******  ORG-CHART ************/

.orgchartname {
    color: var(--main-bg-color)!important;
}

.orgcharttitle {
    font-style: italic;
}

#chart_div table {
    border-collapse: separate !important;
    -webkit-border-collapse: separate !important;
}


/* #chart_div td {
    vertical-align: top!important;
} */


/* #chart_div tr {
    height: 10px!important;
} */


/* #chart_div {
    width: 100%;
}
*/

.google-visualization-orgchart-table {
    margin: 0!important;
    width: 100px!important;
    /* max-width: 200px!important; */
}


/***********  VIDEO THUMB***************/

.video-list-thumbs {
    align-items: center;
}

.video-list-thumbs>li {
    margin-bottom: 2px;
    align-items: center;
}

.video-list-thumbs>li:last-child {
    align-items: center;
}

.video-list-thumbs>li>a {
    display: block;
    position: relative;
    background-color: #111;
    color: #fff;
    padding: 8px;
    align-items: center;
    border-radius: 3px transition: all 500ms ease-in-out;
    border-radius: 4px;
}

.video-list-thumbs>li>a:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    text-decoration: none
}

.video-list-thumbs h2 {
    bottom: 0;
    font-size: 14px;
    /* height: 33px; */
    margin: 8px 0 0;
}

.video-list-thumbs .glyphicon-play-circle {
    font-size: 60px;
    opacity: 0.6;
    position: absolute;
    margin: auto;
    right: 41%;
    top: 31%;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    transition: all 500ms ease-in-out;
}

.video-list-thumbs>li>a:hover .glyphicon-play-circle {
    color: #fff;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}

.video-list-thumbs .duration {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    left: 12px;
    line-height: 13px;
    /* padding: 2px 3px 1px; */
    /* position: absolute;
    top: 12px; */
    transition: all 500ms ease;
}

.video-list-thumbs>li>a:hover .duration {
    background-color: #000;
}

.video-img {
    width: 100%;
    height: 100%;
    /* max-height: 130px; */
    max-width: 250px;
}

.img-covid {
    width: 100%;
    height: 100%;
    /* max-height: 130px; */
    max-width: 150px;
}


/********* MEDIA *********/

@media only screen and (max-device-width: 400px) {
    .sect-chisiamo {
        background: linear-gradient(rgba(255, 255, 255), rgba(255, 255, 255));
    }
}

@media (max-device-width: 500px) {
    .content-section-heading h2 {
        font-size: 2rem!important;
    }
    .popup-box {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .video-list-thumbs .glyphicon-play-circle {
        font-size: 35px;
        right: 44%;
        top: 27%;
    }
    .video-list-thumbs h2 {
        bottom: 0;
        font-size: 12px;
        height: 22px;
        margin: 8px 0 0;
    }
}