html, body {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: 'Ubuntu', sans-serif !important;
    background-color: #FFF !important;
    color: #171543 !important;
}

header {
    width: 99%;
    margin-bottom: 20px;
}
/* LOGO */
.logo {
    height: 100px;
}

.logoSvg {
    height: 200px;
    float: left;
    margin-top: -40px;
    margin-bottom: -60px;
    margin-left: -100px;
}

@media screen and (max-width:497px) {
    .logo .text {
        height: 230px;
        margin-left: 2px;
        margin-top: -165px;
        margin-bottom: -60px;
    }
}

@media screen and (min-width:498px) {
    .logo .text {
        height: 230px;
        margin-left: -170px;
        margin-top: -70px;
        margin-bottom: -60px;
    }
}
/* BANNER */
.second-banner {
    height: calc(100vh - 140px);
}

.text-big {
    font-size: 60px;
    text-shadow: 2px 2px 4px #000000;
    color: white;
}

/* MENU */
#openNav {
    font-size: 50px;
    color: #262626;
    position: absolute;
    bottom: 20px;
    right: 15px;
}
.menuOpen {
    padding-top: 60px;
}
.menuOpen h3 {
    color: #FFF !important;
    padding-bottom: 10px;
    border-bottom: 4px solid #fe9805;
    width: 120px;
    margin: 0px auto;
    font-size: 35px;
}
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #171543;
    overflow-x: hidden;
    transition: 0.5s;
}
.overlay-content {
    position: relative;
    top: 5%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}
.overlay-content a:hover {
    color: #FFF !important;
    background-color: #2d2b55 !important;
}

@media screen and (max-width: 567px) {
    .overlay-footer {
        position: absolute;
        bottom: 20px;
        left: 20px;
    }
    /*.overlay-footer img {
        width: 60%;
    }*/
}

@media screen and (min-width: 568px) 
{
    .overlay-footer {
        position: absolute;
        bottom: 40px;
        left: 40px;
    }
    /*.overlay-footer img {
        width: 80%;
    }*/
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #fe9805;
    display: block;
    transition: 0.3s;
    font-weight: 500;
}
.overlay a:hover, .overlay a:focus {
    color: #2d2b55;
}
.overlay .closebtn {
    position: absolute;
    top: 0px;
    right: 45px;
    font-size: 100px;
    color: white;
}

@media screen and (max-width: 567px) {
    .overlay a {
        font-size: 24px;
        padding:2px !important;
    }
    .overlay-content {
        top:0px !important;
    }
    .overlay .closebtn {
        font-size: 45px;
        top: 15px;
        right: 35px;
    }
}
/* --- END MENU */

/* HOMEPAGE */
#bannerHomepage {
    background-color: #fe9805 !important;
    display: block;
}
@media screen and (max-width: 567px) {
    #bannerHomepage {
        background: url('/App_Themes/Upload/image/hprohub_1920x915px.jpg') no-repeat 52% 20%;
        background-size: cover;
        height: 100%;
    }
}

@media screen and (min-width: 568px) {
    #bannerHomepage {
        background: url('/App_Themes/Upload/image/hprohub_1920x915px.jpg') no-repeat center center;
        background-size: cover;
    }
}
@media screen and (max-width: 511px) {
    .div-text-finanziamenti {
        margin-top: 5px !important;
    }
}

@media screen and (max-width: 767px) {
    .col-text-right-banner {
        text-align: center;
        margin-top: 35px;
        border-top: 3px solid #FFCD7F;
    }
    .col-text-right-banner span {
        font-size: 35px;
    }
    .row-countup-banner {
        text-align: center;
    }
}

@media screen and (min-width: 768px) {
    #bannerHomepage {
        height: calc(100vh - 100px);
    }
    .row-text-right-banner {
        align-items: center !important;
        height: calc((100vh - 100px));
    }
    .col-text-right-banner {
        text-align: right;
    }
}

.text-banner-row {
    color: #FFF;
    text-shadow: 2px 2px 4px #000000;
}

@media screen and (max-width:997px) {
    .text-banner-row {
        font-size: 25px;
    }
}

@media screen and (min-width:998px) {
    .text-banner-row {
        font-size: 32px;
    }
}

.row-text-right-banner {
    color: #FFF;
    font-size: 50px;
}

.row-countup-banner {
    height: calc(((100vh - 100px) / 4) - 10px);
}

#bannerHomepageCountUp {
    background-color: #171543;
    margin-top: 40px;
    /*height: 300px;*/
    color: #FFF;
}

#bannerHomepageCountUp h3 {
    color: #FFF !important;
    padding-top: 40px !important;
}

@media screen and (max-width:992px) {
    #bannerHomepageCountUp h3 {
        font-size: 1.5rem;
    }
}

@media screen and (min-width:993px) {
    #bannerHomepageCountUp h3 {
        font-size: 1.75rem;
    }
}

#bannerHomepageCountUp div.counter {
    color: #fe9805 !important;
}


@media screen and (max-width:1199px) {
    #bannerHomepageCountUp div.counter {
        font-size: 4rem;
    }
}

@media screen and (min-width:1200px) {
    #bannerHomepageCountUp div.counter {
        font-size: 5rem;
    }
}

@media screen and (min-width:768px) and (max-width:992px) {
    #bannerHomepageCountUp div.counter {
        font-size: 3rem;
    }
}

/* BORDER GRADIENT */
#bannerHomepageCountUp div.borderCounter {
    border-width: 3px;
    border-right-style: solid;
    border-image: linear-gradient( to top, white, rgba(0, 0, 0, 0) ) 1 70%;
}

@media screen and (max-width:768px) {
    #bannerHomepageCountUp div.counter {
        border-width: 3px;
        border-bottom-style: solid;
        border-color: white;
    }
}
/* --- END --- */

/* BANNER IDEA */
.text-idea-sviluppare {
    text-shadow: 2px 2px 4px #000000;
}
#bannerIdeaSviluppare {
    margin-top: 50px;
    background-color: #fe9805 !important;
    color: #FFF;
    padding-top: 65px;
}

@media screen and (max-width: 577px) {
    #bannerIdeaSviluppare {
        height: 180px;
        font-size: 25px;
    }
    .background-image-big {
        background: none;
    }
}

@media screen and (min-width: 578px) {
    #bannerIdeaSviluppare {
        height: 180px;
        font-size: 30px;
    }
}

@media screen and (min-width: 768px) {
    .background-image-big {
        background: url('/App_Themes/Upload/image/lampadina_x_banner_CTA.png') no-repeat left center;
        margin-top: -65px;
        padding-top: 65px;
    }

    .text-idea-sviluppare {
        padding-left: 200px;
    }
}

@media screen and (max-width: 500px) {
    #bannerIdeaSviluppare {
        background: url('/App_Themes/Upload/image/lampadina_x_banner_CTA.png') no-repeat -45% center;
        background-size: contain;
    }
}

@media screen and (min-width: 501px) and (max-width: 600px) {
    #bannerIdeaSviluppare {
        background: url('/App_Themes/Upload/image/lampadina_x_banner_CTA.png') no-repeat -20% center;
        background-size: contain;
    }
}

@media screen and (min-width: 601px) and (max-width: 767px) {
    #bannerIdeaSviluppare {
        background: url('/App_Themes/Upload/image/lampadina_x_banner_CTA.png') no-repeat -15% center;
        background-size: contain;
    }
}

@media screen and (max-width: 767px) {

    .background-image-big {
        background: none;
    }

    .text-idea-sviluppare {
        padding-left: 40px;
        font-size:24px;
        padding-right: 0px !important;
        white-space: nowrap;
        
    }
    .img-servizi {
        max-width:50%;
        width:50%;
    }
}

.btn-contattaci {
    font-size: 20px !important;
}

.div-button-contatti {
    float: right;
}

@media screen and (max-width: 577px) {
    .div-button-contatti {
        margin-top: 10px;
    }
}

/* --- END HOMEPAGE */
/* GENERAL */
.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

a:hover {
    color: #fe9805 !important;
    text-decoration: none !important;
}

h1, h2 {
    font-size: 20px;
}

h3 {
    color: #fe9805 !important;
    padding-top: 20px;
    padding-bottom: 15px;
}

.fontIconFA {
    font-size: 24px !important;
}

.borderH1 {
    margin-top: 10px;
    width: 120px;
    border: 2px solid #fe9805 !important;
    height: 2px !important;
    margin-bottom: 20px;
}

.margin-bottom {
    margin-bottom: 20px;
}

.color-orange {
    color: #fe9805 !important;
}

.color-blue {
    color: #2d2b55 !important;
}

.bg-orange {
    background-color: #fe9805 !important;
}

.center-h3 {
    color: #FFF !important;
}

.border-title-h3 {
    border: 2px solid #FFCD7F !important;
    width: 120px;
    height: 2px !important;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

/* CONTATTI */
.google-maps {
    padding: 0px !important;
    margin: 0px !important;
}

.bg-white {
    background-color: #FFF !important;
}

.bg-grey {
    background-color: #F1F1F1 !important;
}

@media screen and (max-width:767px) {
    .form-contact {
        padding: 15px 0px;
        width: 100% !important;
    }
}

@media screen and (min-width:768px) {
    .form-contact {
        position: absolute;
        left: 50%;
        top: 20px;
    }
}

.form-control {
    border-radius: 20px !important;
}
.link-form {
    color: #FFF !important;
}
.link-form:hover {
    color: #2d2b55 !important;
}

.btn-invia {
    background-color: #171543 !important;
    border-radius: 10px !important;
    color: #FFF !important;
    padding: 5px 20px !important;
}

.background-form {
    border-radius: 20px;
    background-color: #fe9805;
    padding: 30px 30px 0px 30px;
}
.background-form h4 {
    color: #FFF !important;
    padding-bottom: 10px !important;
}

/* FOOTER */
footer {
    background-color: #171543;
    padding-top: 20px;
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 20px;
}
footer h3 {
    color: #fe9805;
    font-size: 1rem;
}
footer .menuFooter {
    margin-top: 1rem;
}
footer .menuFooter a {
    display: block;
}
footer a, footer p {
    color: #FFF;
}

.iconSocial {
    font-size: 40px;
}
.iconSocial i {
    margin-right: 10px;
}

.row-white {
    height: 2px;
    border: 1px solid #FFF;
    margin-bottom: 1rem;
    display: block;
}

@media screen and (max-width: 767px) {
    .social-footer {
        padding-top: 10px;
        text-align: left;
    }
}

@media screen and (min-width: 768px) {
    .social-footer {
        text-align: center;
    }
}
