/* ROBOTO */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

/********* Stili per sovrascrivere il .css di bootstrap **************/

html,
body {
    height: 100%;
    font-weight: 400;
    position: relative;
    font-size: 18px;
    line-height: 1.6;
}

p {
    font-family: 'League Spartan', sans-serif;
}

.font14 {
    font-size: 14px;
}

a:hover,
a:focus {
    text-decoration: none;
}

.btn:hover,
.btn:focus,
.btn.focus {
    color: #fff;
    text-decoration: none;
    outline: none;
}

h1,
h2,
h3,
h4 {
    color: #2C6DA2;
}

h1 {
    font-weight: 100;
    text-align: center;
}

h2 {
    font-weight: 300;
    margin-top: 20px;
}

h3 {
    font-weight: 300;
    color: #3b3b3b;
    font-size: 26px;
}

h4 {
    font-weight: 600;
}

input[type="radio"],
input[type="checkbox"] {
    margin: 4px 0 0;
    height: 15px;
    margin-top: 1px \9;
    line-height: normal;
}

.green-bullet {
    padding: 0 0 10px 25px;
    margin: 0;
    /*list-style-type: none;*/
    list-style-image: url(https://www.cgn.it/cgn2015/cgn_view/cgn_images/v-bullet-list.png);
    line-height: 2.2;
}

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: normal;
}

.white {
    color: #fff;
}

.svg-icon {
    height: 64px;
}

.navbar-fixed-top {
    z-index: 15007;
}

#canvas {
    width: 100% !important;
}

footer {
    background-color: #263238;
    padding-top: 20px;
}

.table>tbody>tr>td,
.table>tfoot>tr>td {
    vertical-align: middle;
}

.footer.container-fluid {
    position: absolute;
    width: 100%;
    font-size: 12px;
    bottom: 0;
}

span span {
    display: none;
}

/* Vertical spacers */

.spacer10 {
    height: 10px;
    width: 100%;
    font-size: 0;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
}

.spacer25 {
    height: 25px;
    width: 100%;
    font-size: 0;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
    clear: both;
}

section {
    padding: 40px 0;
}

section:last-child {
    border-bottom: none;
}

.application {
    border-top: 1px solid #c1e1ec;
}

h2 span {
    font-size: 1.5em;
}

nav {
    padding: 10px;
}

.navbar a {
    color: #fff;
}

.navbar {
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.2s;
}

.navbar.active {
    background-color: rgba(0, 0, 0, 0.6);
    transition: all 0.2s;
}

.navbar-brand {
    display: block;
    float: left;
    padding: 0px 15px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.navbar-brand img {
    display: block;
    padding-top: 12px;
    width: 120px;
    /*height: 50px;*/
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    vertical-align: middle;
}

nav {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Labels */

@-webkit-keyframes moveUpFromDown {
    from {
        -webkit-transform: translateY(100%);
    }

    to {
        -webkit-transform: translateY(0);
    }
}

@keyframes moveUpFromDown {
    from {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* Next question button */

.next {
    position: absolute;
    right: 0;
    bottom: 1.85em;
    display: block;
    padding: 0;
    width: 2em;
    height: 2em;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    opacity: 1;
    z-index: 100;
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    -webkit-transform: translateX(-20%);
    transform: translateX(-20%);
    pointer-events: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.next:hover {
    color: rgba(0, 0, 0, 0.5);
}

.next::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "\e600";
    text-transform: none;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    font-family: "icomoon";
    line-height: 2;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.next.show {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    pointer-events: auto;
}

input[type="text"]::-ms-clear {
    display: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}


#container,
.push {
    -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
    -moz-transition: -moz-transform 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
    -o-transition: -o-transform 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
    transition: transform 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
}

/* Site Overlay */

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Example Media Query */

.content {
    clear: both;
    margin-top: 1em;
}

/* Custom panels RRR */

.card {
    padding-top: 20px;
    margin: 10px 0 20px 0;
    background-color: rgba(214, 224, 226, 0.2);
    border: 1px solid #ebebeb;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/**** Stili moduli *********/

/** .head utilizzato per i <p> titolo dei paragrafi **/

.head {
    font-weight: 700;
}

/* nasconi le etichette */
.formCGN label {
    display: none;
}

@-webkit-keyframes moveUpFromDown {
    from {
        -webkit-transform: translateY(100%);
    }

    to {
        -webkit-transform: translateY(0);
    }
}

@keyframes moveUpFromDown {
    from {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* Next question button */

.next {
    position: absolute;
    right: 0;
    bottom: 2em;
    display: block;
    padding: 0;
    width: 2em;
    height: 2em;
    border: none;
    background: none;
    color: rgba(0, 0, 0, 0.4);
    text-align: center;
    opacity: 0;
    z-index: 100;
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    -webkit-transform: translateX(-20%);
    transform: translateX(-20%);
    pointer-events: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.next:hover {
    color: rgba(0, 0, 0, 0.5);
}

.next::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "\e600";
    text-transform: none;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    font-family: "icomoon";
    line-height: 2;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.next.show {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    pointer-events: auto;
}

input[type="text"]::-ms-clear {
    display: none;
}

@media (max-width: 767px) {
    .img-responsive {
        margin: 0 auto;
        max-width: 100%;
    }
}

@media screen and (max-width: 992px) {

    h2 {
        font-size: 2em;
    }

    h2 span {
        font-size: 1em;
    }
}

@media screen and (min-width: 993px) {
    h2 {
        font-size: 2.5em;
    }
}

@media screen and (max-width: 767px) {

    h1 {
        font-size: 1.7em;
    }

    .footer.container-fluid {
        font-size: 9px;
    }
}

@media screen and (max-width: 480px) {
    h2 {
        font-size: 1.9em;
    }

    .form-control {
        width: 100%;
    }

    .navbar-brand {
        padding: 0;
    }

    .footer.container-fluid {
        font-size: 8px;
    }
}

/* Style new menu */

.navbar-brand {
    position: fixed;
}

/* General style */

.nav>li>a {
    position: inherit;
    display: inherit;
    padding: 0;
    color: #dadada;
}

.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: none;
    background-color: transparent;
    color: #2C6DA2;
}

figure img {
    width: 100%;
}

.container-fluid.content {
    height: 100%;
    padding: 0px;
}

/* Media Query */

@media only screen and (max-width: 320px) {
    .row.menu {
        overflow: scroll;
    }

    .container-fluid.content {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 399999999999;
        margin-top: 0px;
    }

    /* Sidebar */
    figure {
        width: 50%;
        float: left;
        margin-top: 5px;
        background: url(../cgn_images/logo-cgn.png);
        height: 40px;
        background-repeat: no-repeat;
        background-size: contain;
    }

    figure img {
        display: none;
    }

    /* Aziende section */
    .aziende {
        overflow: hidden;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati {
        background: url(../cgn_images/privati.jpg);
        background-size: cover;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        background: url(../cgn_images/aziende.jpg);
        background-size: cover;
    }

    /* Second Column */
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        height: auto;
        padding: 0px;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati .privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda .azienda {
        height: 100%;
    }

    /* Privati */

    .link {
        line-height: 40px;
        font-size: 36px;
        font-weight: 300;
        margin-bottom: 25px;
        transition: all 1s ease;
    }
}

@media only screen and (min-width: 321px) and (max-width: 375px) {
    .container-fluid.content {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 399999999999;
        margin-top: 0px;
    }

    /* Sidebar */
    figure {
        width: 50%;
        float: left;
        margin-top: 5px;
        background: url(../cgn_images/logo-cgn.png);
        height: 40px;
        background-repeat: no-repeat;
        background-size: contain;
    }

    figure img {
        display: none;
    }

    /* Button Associati */

    .row.menu {
        overflow: scroll;
    }

    /* Aziende section */
    .aziende {
        overflow: hidden;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati {
        background: url(../cgn_images/privati.jpg);
        background-size: cover;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        background: url(../cgn_images/aziende.jpg);
        background-size: cover;
    }

    /* Second Column */
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        height: auto;
        padding: 0px;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati .privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda .azienda {
        height: 100%;
    }

    /* Privati */

    .link {
        line-height: inherit;
        font-size: 36px;
        font-weight: 300;
        transition: all 1s ease;
    }
}

@media only screen and (min-width: 376px) and (max-width: 425px) {
    .container-fluid.content {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 399999999999;
        margin-top: 0px;
    }

    /* Sidebar */
    figure {
        width: 40%;
        float: left;
        margin-top: 5px;
        background: url(../cgn_images/logo-cgn.png);
        height: 40px;
        background-repeat: no-repeat;
        background-size: contain;
    }

    figure img {
        display: none;
    }

    .row.menu {
        overflow: scroll;
    }

    /* Aziende section */
    .aziende {
        overflow: hidden;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati {
        background: url(../cgn_images/privati.jpg);
        background-size: cover;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        background: url(../cgn_images/aziende.jpg);
        background-size: cover;
    }

    /* Second Column */
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        height: auto;
        padding: 0px;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati .privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda .azienda {
        height: 100%;
    }

    /* Privati */

    .link {
        line-height: inherit;
        font-size: 36px;
        font-weight: 300;
        transition: all 1s ease;
    }
}

@media only screen and (min-width: 426px) and (max-width: 768px) {
    /* Sidebar */
    figure {
        width: 30%;
        display: inline-block !important;
        margin-top: 25px;
        margin-left: 80px;
        margin-right: 30px;
    }

    /* Aziende section */
    .aziende {
        overflow: hidden;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati {
        background: url(../cgn_images/privati.jpg);
        background-size: cover;
        background-position-y: -140px;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        background: url(../cgn_images/aziende.jpg);
        background-size: cover;
    }

    /* Second Column */
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        height: auto;
        padding: 0px;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati .privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda .azienda {
        height: 100%;
    }

    /* Privati */

    .link {
        line-height: inherit;
        font-size: 36px;
        font-weight: 300;
        transition: all 1s ease;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1199px) {
    /* Sidebar */
    figure {
        width: 25%;
        margin: 20px 5px 5px 70px;
        float: left;
    }

    /* Aziende section */
    .aziende {
        overflow: hidden;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati {
        background: url(../cgn_images/privati.jpg);
        background-size: cover;
        background-position-y: -140px;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        background: url(../cgn_images/aziende.jpg);
        background-size: cover;
    }

    /* Second Column */
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        height: auto;
        padding: 0px;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati .privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda .azienda {
        height: 100%;
    }

    /* Privati */

    .link {
        line-height: inherit;
        font-size: 36px;
        font-weight: 300;
        transition: all 1s ease;
    }
}

@media only screen and (min-width: 1200px) {

    /* Sidebar */
    figure {
        width: 70%;
        margin: 50px auto;
    }

    /* Privati section */
    #privati {
        overflow: hidden;
    }

    #privati .link {
        padding-top: 22vh;
        visibility: visible;
        text-align: center;
    }

    /* Aziende section */
    #azienda {
        overflow: hidden;
    }

    #azienda .link {
        padding-bottom: 2vh;
    }

    #azienda .link {
        padding-top: 22vh;
        visibility: visible;
        text-align: center;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati {
        background: url(../cgn_images/privati.jpg);
        background-size: cover;
        background-position: bottom center;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        background: url(../cgn_images/aziende.jpg);
        background-size: cover;
    }

    /* Animation */

    #privati:hover .privati .link {
        padding-top: 2vh;
    }

    #azienda:hover .azienda .link {
        padding-top: 17vh;
    }

    /* Second Column */

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati {
        border-right: 1px solid #ccc;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda {
        height: 45%;
        padding: 0px;
    }

    .col-lg-6.col-md-12.col-sm-12.col-xs-12.privati .privati,
    .col-lg-6.col-md-12.col-sm-12.col-xs-12.azienda .azienda {
        height: 100%;
    }

    .link {
        font-size: 36px;
        font-weight: 300;
        transition: all 1s ease;
    }
}

.row.content .container {
    text-align: center;
}

.row.content .container .center {
    position: relative;
    padding-top: 24px;
}

.row.content .container .center h2 {
    font-size: 39px;
    display: inline-block;
    background-color: #fff;
    width: auto;
    z-index: 42;
    padding-left: 15px;
    padding-right: 15px;
    color: #008dcf;
    text-transform: uppercase;
}

@media only screen and (max-width: 767px) {

    .label_privacy {
        width: 315px;
        float: left;
        text-align: left;
    }
}

.vocecgn {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 5px;
}

@media screen and (max-width: 900px) {
    #menu_principale {
        font-size: 16px;
    }
}

.sinistra {
    min-width: 180px;
}


/* TITOLI PAGINE H1, H2 */

@media only screen and (max-width: 767px) {

    h2 {
        font-size: 25px;
        margin-top: 45px;
    }
}

@media only screen and (max-width: 767px) {}

footer .row {
    font-size: 15px;
}

footer .head {
    font-size: 17px;
    font-weight: bold;
    color: #ffffff !important;
}

/** Personalizzazioni luciano */
.label_privacy {
    display: inline;
}


form h4 {
    text-align: center;
    color: #555;
}


#g-recaptcha-response {
    display: block !important;
    position: absolute;
    margin: -78px 0 0 0 !important;
    width: 302px !important;
    height: 76px !important;
    z-index: -999999;
    opacity: 0;
}
