::-moz-selection {
    background: #006BAC;
}

::selection {
    background: #006BAC;
}

body {
    color: #000;
}

.navbar-inverse {
    background-color: #FFF;
    -webkit-box-shadow: 0px 5px 26px -6px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0px 5px 26px -6px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 5px 26px -6px rgba(0, 0, 0, 0.35);
}

.navbar-nav>li.active {
    border-bottom: 2px solid #006BAC
}

.navbar-nav>li:hover {
    border-bottom: 2px solid #006BAC
}

.navbar-inverse .navbar-nav>li>a {
    color: #333333 !important;
}

.navbar-inverse .navbar-nav>li>a:hover {
    color: #333333 !important;
    display: block;
    -webkit-transition: all 100ms ease-in-out;
    -moz-transition: all 100ms ease-in-out;
    -o-transition: all 100ms ease-in-out;
    -ms-transition: all 100ms ease-in-out;
    transition: all 100ms ease-in-out;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.active>a:focus {
    color: #333333 !important;
}

.navbar-inverse .navbar-toggle {
    background: #58595B;
    border: none;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #5CC0FD;
}

.navbar-brand img {
    max-height: 75px
}

#sec1 {
    padding-top: 90px;
    padding-bottom: 0px;
}

.banner-content {
    clear: both;
    padding-top: 70px;
}

.banner-content h1 {
    font-weight: bold;
}

.form-title {
    background-color: #b1c9cd;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

.btn-submit {
    display: block;
    margin: 0 auto;
    background:#F28C28;
    color: #FFF;
    border-color: #F28C28;
    width: 100%;
    padding: 11px;
}

.btn-submit:hover {
    background: #58595B;
    color: #FFF;
}

.btn-transparent {
    background-color: #223D74;
    border: 2px solid #223D74;
    color: #fff;
    padding: 5px 20px;
}

.alert-info {
    color: #333333;
    background-color: #fff;
    border-color: #ccc;
    -webkit-box-shadow: 0px 0px 26px -6px rgba(0, 0, 0, 0.65);
    -moz-box-shadow: 0px 0px 26px -6px rgba(0, 0, 0, 0.65);
    box-shadow: 0px 0px 26px -6px rgba(0, 0, 0, 0.65);
}

h2,
h3,
h4,
h5,
h6 {
    line-height: 36px;


}

.orangeicon {
    color: #FFC945;
}

.popular .panel-heading {
    background: #208AEC;
    padding: 22px 0;
}

.popular .panel-heading h4 {
    background: #208AEC;
    color: #ffffff;
    /* line-height: 10px;*/
}

.popular .panel-body {
    background: #223D74;
}


.popular .panel-footer {
    background: #208AEC;
}

.blue {
    color: #223D74;
}

.banner-list li i {
    margin-right: 10px;
    color: #223D74;
}

.highlighted {
    background: #223D74;
    color: #FFF;
    padding: 3px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/* icone vantaggi*/
.line-font {
    font-size: 38px;
}



/*update x problemi con il responsive*/
@media only screen and (max-width: 368px) {

    /*problema della navigazione che spostava giù il logo e nascondeva l'inizio del testo*/
    .navbar-toggle {
        position: absolute;
        right: 0px;
    }

    #sec2 {
        padding-top: 40px;
    }

    #sec3 {
        padding-top: 0px;
    }

    .headline {
        margin-bottom: 0px;

    }
}

.panel-heading h4,
.panel-footer h4 {
    padding: 2px;
    line-height: 20px;

}

/*x fare andare a capo i pulsanti lunghi*/
.btn-submit {
    white-space: normal;
}

.progHr {
    margin-top: 20px;
    margin-bottom: 25px;
    border: 1px solid #2c5c3b;
}

#forum {
    width: 90%;
}

#slogan {
    width: 100%;
}

#desc_slogan {
    width: 135%;
}

.navbar-header {
    display: flex;
    align-items: center;
    max-height: 60px;
}

.img-responsive {
    transition: 1s;
}

.scroll-fixed-navbar .img-responsive {
    max-height: 70px;
}

#contact_mod {
    /*padding-left: 40px;*/
}

.headline h2 {
    color: #333333;
}

.headline h3 {
    color: #333333;
}

.headline p {
    color: #333333;
}

.testoMain {
    font-size: 18px;
    line-height: 30px;
    color: #333333;
}

a {
    color: #333333;
}

li {
    color: #333333;
}

.navbar-nav>li.active {
    border-bottom: 2px solid white;
}

.navbar-nav>li:hover {
    border-bottom: 2px solid #333333;
}

.testoMain b {
    font-size: 21px;
    line-height: 30px;
    color: #333333;
}

.testoStandard {
    font-size: 16px;
    line-height: 22px;
    color: #333333;
}

.smallText {
    font-size: 17px;
    line-height: 19px;
    color: #333333;
}

.testoStandard b {
    font-size: 18px;
    line-height: 22px;
}

#sec2 {
    padding-top: 60px;
}

.section {
    padding: 15px;
    padding-top: 80px;
}

#palazzo {
    width: 83%;
    margin: auto;
}

#testoPalace {
    line-height: 35px;
}

#main_slg .smallText {
    font-size: 18px;
    line-height: 18px;
    width: 250%;
    color: #2a5c39;
}

#flexFooter {
    display: flex;
    justify-content: space-between;
    margin: 100px;
    margin-top: 10px;
    margin-bottom: 20px;
}

#secondFlex {
    display: flex;
}

.lined {
    width: 1px;
    height: 70%;
    background-color: #adadad;
    margin: 20px;
}

.headline {
    padding-top: 20px;
    background-image: url('../images/fondino.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 991px) {
    #main_slg {
        margin-top: -40px;
    }

    .progHr {
        margin-top: 5px;
        margin-bottom: 10px;
    }

    #contact_mod {
        /*margin-top: 40px;*/
        padding-left: 15px;
    }

    .section {
        padding-top: 40px;
    }

    #testoPalace {
        line-height: 25px;
    }
}

@media screen and (max-width: 768px) {
    #main_slg {
        margin-top: -20px;
    }

    #forum {
        width: 70%;
        margin-left: 0px;
    }

    #slogan {
        width: 75%;
        margin-left: 0px;
    }

    #desc_slogan {
        width: 90%;
        margin-left: 0px;
    }

    .navbar-header {
        max-height: 80px;
    }

    .navbar-brand img {
        margin-top: 8px;
        max-height: 65px;
    }

    .navbar-toggle {
        position: absolute;
        right: 0px;
    }

    #palazzo {
        width: 100%;
    }

    #main_slg .smallText {
        width: 100%;
        font-size: 27px;
        line-height: 30px;
    }

    #flexFooter {
        margin: 10px;
        flex-direction: column;
    }

    #secondFlex {
        align-items: center;
        justify-content: center;
    }

    .lined {
        width: 1px;
        height: 70px;
        background-color: #adadad;
        margin: 20px;
    }

    .scroll-fixed-navbar .img-responsive {
        max-height: 65px;
    }

    .banner-content {
        padding-top: 15px;
    }
}

.navbar-fixed-top {
    /*background-image: url('https://www.progeo.net/pdm/images/...');*/
    background-color: #3c3e33;
    /*background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
}

.footer-sub {
    background-color: #649fa9;
}

/*.headline h2 {
    color: #b1c9cd;
}*/

/*.headline h3 {
    color: #b1c9cd;
}*/

#header li a {
    color: white !important;
}