/* h1 {
    font-size: 50px;
    font-weight: 900;
    line-height: 1.2;
} */

h1 {
    font-size: 100px;
    line-height: 90px;
    font-weight: 900 !important;
}

h1 span.bigBlue {
    color: #0c88e8;
    font-size: 100px;
    line-height: 90px;
    font-weight: 900;
    background: linear-gradient(to right, #0c88e8 0%, #004da4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-outlineRed,
.btn-outlineRed:visited {
    background-color: #ad0420 !important;
    color: #fff;
}

.btn-outlineRed:hover,
.btn-outlineRed:visited:hover {
    background-color: #000 !important;
    color: #fff;
}

.btn-outline-grey {
    color: #FFFFFF;
    border: 1px solid;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    border-color: #FFFFFF;
}

@media all and (max-width: 767px) {
    .mastheadcgn .header-content {
        margin-top: 80px;
    }
    .mastheadcgn .bigBlue,
    .mastheadcgn h1 {
        font-size: 60px;
        line-height: 1.2;
    }
    .mastheadcgn {
        background-size: cover !important;
        background-position-x: center !important;
        background-image: url(../img/bannerone-header-contabilita_bkg.jpg) !important;
    }
}

@media only screen and (max-width: 800px) {
    .mastheadcgn .header-content {
        margin-top: 100px;
    }
    .mastheadcgn {
        background-size: cover !important;
        background-position-x: center !important;
        background-image: url(../img/bannerone-header-contabilita_bkg.jpg) !important;
    }
}

@media only screen and (max-width: 500px) {
    .mastheadcgn .bigBlue,
    .mastheadcgn h1 {
        font-size: 40px;
        line-height: 1.2;
    }
    .mastheadcgn h1.mb-5 {
        margin-bottom: 20px!important;
    }
    .mastheadcgn h2 {
        font-size: 19px;
        line-height: 1.2;
    }
    .mastheadcgn .header-content {
        margin-top: 10px;
    }
    .mastheadcgn {
        background-size: cover !important;
        background-position-x: center !important;
        background-image: url(../img/bannerone-header-contabilita_bkg.jpg) !important;
    }
    .h-800 {
        max-height: 600px !important;
    }
    .mastheadcgn .col-lg-4.my-auto {
        margin: 0 !important;
        padding: 0 !important;
        visibility: hidden;
        display: none !important;
    }
}

h2 {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.4;
}

.sinistra {
    text-align: left;
    font-size: 16px;
    line-height: 1.7;
}

.logo {
    position: absolute;
    top: 3px;
    width: 150px;
}


/* 
.titoloherobox {
    font-weight: 900;
    font-size: 80px;
    line-height: 1em;
} */

.sottotitoloherobox {
    font-weight: 500;
    font-size: 25px;
    line-height: 1.4em;
}

.gradiente {
    background: #2a9cf4;
    /* Old browsers */
    background: -moz-linear-gradient(top, #2a9cf4 0%, #2679e0 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #2a9cf4 0%, #2679e0 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #2a9cf4 0%, #2679e0 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#2a9cf4', endColorstr='#2679e0', GradientType=0);
    /* IE6-9 */
}

.bianco {
    color: #ffffff;
}

.nero {
    color: #000000;
}

.grigio {
    color: #333333;
}

.grigioC {
    color: #444444;
}

.blu {
    color: #2a9cf4;
}

.cursore {
    cursor: default;
}

.posizionenavbar {
    margin-left: 180px;
}

#mainNav.navbar-shrink {
    background-color: rgba(0, 0, 0, .6);
    transition: all .2s;
}

#mainNav.navbar-shrink .navbar-nav>li>a,
#mainNav.navbar-shrink .navbar-nav>li>a:focus {
    color: #ffffff;
}

.mastheadcgn {
    background-image: url(../img/bannerone-header-Natale-2020-3-min.jpg) !important;
    /*background-image: url(../img/bannerone-header-contabilita_bkg.jpg) !important;
    background-image: url("../img/banner-software-contabilita.jpg"); */
    background-size: cover;
    background-position-x: center !important;
}

.carousel-caption {
    bottom: 10% !important;
}

.bggrigio {
    background-color: #f9f9f9;
}

.h-800 {
    height: 800px!important;
}

.fontawesomecgn {
    font-size: 48px;
    margin-top: 20px;
    margin-bottom: 20px;
}

section.cta-1 {
    /*background-image: url(../img/bg-cta-1.jpg);*/
    position: relative;
    padding: 250px 0;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

section.cta-2 {
    position: relative;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

section.cta-3 {
    background-image: url('../img/bg-cta-3.jpg');
    position: relative;
    padding: 250px 0;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


/* megamenu*/

#megamenu_cgn.navbarcgn {
    background-color: rgba( 0, 0, 0, 0.8);
    color: @ffffff;
    position: fixed;
    width: 100%;
    z-index: 999;
}

.navbar .mega-dropdown {
    position: static !important;
}

.navbar .dropdown-menu.mega-menu {
    width: 100%;
    border: none;
    border-radius: 0;
}


/*
.navbar .dropdown-menu.mega-menu.v-2 a {
    padding: 15px 10px 10px 35px;
}
*/

.navbar .dropdown-menu.mega-menu.v-2 a.news-title-2 {
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.5;
    -webkit-transition: .2s;
    transition: .2s;
    color: #fff !important;
}

.navbar .dropdown-menu.mega-menu.v-2 a.news-title-2:hover {
    color: #FDCC52 !important;
    text-decoration: none !important;
}

.navbar .dropdown-menu.mega-menu.v-2 .sub-menu ul {
    list-style: none;
}

.navbar .dropdown-menu.mega-menu.v-2 .sub-menu ul.caret-style li {
    -webkit-transition: .3s;
    transition: .3s;
}

.navbar .dropdown-menu.mega-menu.v-2 .sub-menu ul.caret-style li:hover {
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-transition: .3s;
    transition: .3s;
}


/*
.navbar .dropdown-menu.mega-menu.v-2 .sub-menu ul.caret-style li a:after {
font-family: "fontAwesome";
content: '\f0da';
position: absolute;
left: 0.5rem;
font-size: 12px;
top: 1rem;
}
*/

.navbar .dropdown-menu.mega-menu.v-2 .sub-menu a.menu-item {
    color: #333 !important;
}

.navbar .dropdown-menu.mega-menu.v-2 .sub-menu a.menu-item:hover {
    color: #222 !important;
}

.navbar .dropdown-menu.mega-menu.v-2 .sub-title {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid;
}

.navbar .dropdown-menu.mega-menu.v-2 .font-small {
    font-size: 0.85rem;
}

.vocecgn {
    text-decoration: none;
}


/* fix per mobile */

@media screen and (max-width: 25em) {
    .navbarcgn {
        background-color: #2a9cf4;
        color: @ffffff;
        position: static;
        width: 100%;
        z-index: 999;
    }
}


/* video background */

.contenitore-video {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 0 0;
}

.elemento-video {
    width: 100%
}

.opaco {
    opacity: 0.5;
}

.testo-video {
    color: #ffffff;
    padding: 20px 20px;
    position: relative;
    bottom: 290px;
}

.containervideocgn {
    max-width: 1140px;
    height: 100%;
    max-height: 641px;
    margin: 0 auto;
    margin-top: 50px;
}


/* fix per mobile */

@media screen and (max-width: 25em) {
    .containervideocgn {
        max-height: 400px;
    }
}

.divisore {
    border-bottom: 1px solid #ffffff;
    margin: 38px 0;
    width: 300px;
}


/*POPUP VideoAccademiaCGN con full width e controlli*/

.modal-dialog {
    width: 1000px;
    /* For responsive */
    max-width: 90%;
    min-width: 600px;
}

.modal-header {
    background-color: #000000;
    border: none;
    color: #ffffff;
}

.modal-body {
    padding: 0 0;
}

.modal-footer {
    background-color: #000000;
    border: none;
    color: #ffffff;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    background-color: #000000;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* add migliorie hp */

@media all and (max-width: 767px) {
    .mastheadcgn .header-content {
        margin-top: 80px;
    }
    .mastheadcgn .bigBlue,
    .mastheadcgn h1 {
        font-size: 60px;
        line-height: 1.2;
    }
    .mastheadcgn {
        background-size: cover !important;
        background-position-x: center !important;
        background-image: url(../img/bannerone-header-contabilita_bkg.jpg) !important;
    }
}

@media only screen and (max-width: 800px) {
    .mastheadcgn .header-content {
        margin-top: 100px;
    }
    .mastheadcgn {
        background-size: cover !important;
        background-position-x: center !important;
        background-image: url(../img/bannerone-header-contabilita_bkg.jpg) !important;
    }
}

@media only screen and (max-width: 500px) {
    .mastheadcgn .bigBlue,
    .mastheadcgn h1 {
        font-size: 40px;
        line-height: 1.2;
    }
    .mastheadcgn h1.mb-5 {
        margin-bottom: 20px!important;
    }
    .mastheadcgn h2 {
        font-size: 19px;
        line-height: 1.2;
    }
    .mastheadcgn .header-content {
        margin-top: 10px;
    }
    .mastheadcgn {
        background-size: cover !important;
        background-position-x: center !important;
        background-image: url(../img/bannerone-header-contabilita_bkg.jpg) !important;
    }
    .h-800 {
        max-height: 600px !important;
    }
    .mastheadcgn .col-lg-4.my-auto {
        margin: 0 !important;
        padding: 0 !important;
        visibility: hidden;
        display: none !important;
    }
}