@font-face {
    font-family: "oofont bold";
    src: url("/font/oofont-bold.ttf") format('truetype');
}
@font-face {
    font-family: "oofont headline";
    src: url("/font/oofont-headline.ttf") format('truetype');
}
@font-face {
    font-family: "oofont regular";
    src: url("/font/oofont-regular.ttf") format('truetype');
}
@font-face {
    font-family: "oofont text";
    src: url("/font/oofont-text.ttf") format('truetype');
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;    
}

body {
    font-family: "oofont regular", Arial, sans-serif;    
    color: #000;
    font-size: 1.2em;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

main {
    font-family: "oofont regular", Arial, sans-serif;    
}

h1, h2, h3, h4, h5, h6 {
    text-transform: none;
    font-family: "oofont headline", Arial, sans-serif;
    margin-bottom: 1.5rem;
}

b,
strong {
    font-weight: normal;
    font-family: "oofont bold", Arial, sans-serif;
}

a {
    color: #000000;
    text-decoration: none
}

a:hover,
a:focus {
    color: #f60311;
    text-decoration: underline
}

.big-hero-1 {
    font-size: 4rem;
    
}

.big-hero-2 {
    font-size: 3rem;
}

.big-hero-3 {
    font-size: 2.5rem;
}

.big-hero-4 {
    font-size: 2rem;
}

.lead {
    font-size: 1.6rem;
    line-height: 2.3rem;
    color: #000
}

.in-evidenza-1 {
    padding: 1.5rem;
    /*font-size: 2rem;
    line-height: 2.6rem;
    background-color: #f60311;
    color: #fff*/
    font-size: 1.5rem;
    line-height: 2.2rem;
    /*background-color: #f8f9fa;*/
    color: #000
}

.in-evidenza-2 {
    padding: 1.5rem;
    font-size: 1.5rem;
    line-height: 2.2rem;
    /*background-color: #f8f9fa;*/
    color: #000
}

.rosso-oobrain {
    color: #f60311 !important;
}

.bianco {
    color: #fff
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:disabled,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled):active
{
    color: #fff;
    background-color: #f60311;
    border-color: #f60311;
    text-transform: uppercase;
    font-family: "oofont bold", Arial, sans-serif;
}

.form-control {
    border: 1px solid #000;
    color: #000;
}

.bg-rosso-oobrain {
    background-color: #f60311
}

.bg-grigio {
    background-color: #f8f9fa
}

.bg-nero {
    background-color: #000
}

.bg-bianco {
    background-color: #fff
}

.read-more {
    color: #000
}

.font-color-white {
    color: #fff
}

.mt-6, .my-6 {
    margin-top: 3.5rem!important;
}

.mt-7, .my-7 {
    margin-top: 4rem!important;
}

.mt-8, .my-8 {
    margin-top: 4.5rem!important;
}

.mt-9, .my-9 {
    margin-top: 5rem!important;
}

.mb-6 {
    margin-bottom: 3.5rem!important;
}

.mb-7 {
    margin-bottom: 4rem!important;
}

.mb-8 {
    margin-bottom: 4.5rem!important;
}

.mb-9 {
    margin-bottom: 5rem!important;
}

.pt-6,
.py-6 {
  padding-top: 3.5rem !important;
}

.pt-7,
.py-7 {
  padding-top: 4rem !important;
}

.pt-8,
.py-8 {
  padding-top: 4.5rem !important;
}

.pt-9,
.py-9 {
  padding-top: 5rem !important;
}

.pb-6 {
  padding-bottom: 3.5rem !important;
}

.pb-7 {
  padding-bottom: 4rem !important;
}

.pb-8 {
  padding-bottom: 4.5rem !important;
}

.pb-9 {
  padding-bottom: 5rem !important;
}

.img-max-70 {
    max-width: 1200px;
    width: 70%;
}

.img-max-80 {
    max-width: 1200px;
    width: 80%;
}

.img-max-85 {
    max-width: 1200px;
    width: 85%;
}

.img-max-90 {
    max-width: 1200px;
    width: 90%;
}

.amicio-bar {
    height: 0.3rem;
    width: 70px;
    font-size: .75rem;
    background-color: #f60311
}

.opacity-08 {
    opacity: 0.9;
}

.trans-pageload__seq-2 {
    -webkit-transition: opacity .3s ease-in .2s,-webkit-transform .4s cubic-bezier(0,.8,.2,1) .2s;
    transition: opacity .3s ease-in .2s,-webkit-transform .4s cubic-bezier(0,.8,.2,1) .2s;
    transition: opacity .3s ease-in .2s,transform .4s cubic-bezier(0,.8,.2,1) .2s;
    transition: opacity .3s ease-in .2s,transform .4s cubic-bezier(0,.8,.2,1) .2s,-webkit-transform .4s cubic-bezier(0,.8,.2,1) .2s;
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

figcaption {    
    font-size: 1rem;
    text-align: right;
}

/* Header */
.header-page {
    margin-top: 13rem!important;
}

.big-idea {
    height: 90vh;
    min-height: 500px;
    background-image: url('/images/oobrain_rete-neurale.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position:relative;
    overflow:hidden;
}

.big-idea video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }

.big-idea .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
  }

.big-idea .container {
    position: relative;
    z-index: 2;
  }

/* Main */

main ul,
ul.red-disc {
    list-style: none;
}

main ul li::before,
ul.red-disc li::before {
    content: "•";
    color: #f60311;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

main ul.disc-none {
    list-style: none;
}

main ul.disc-none li::before {
    content: "";
    color: #f60311;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

main ol {list-style: none; counter-reset: li}
main ol li::before {content: "." counter(li); color: #f60311; display: inline-block; width: 1em; margin-left: -1.5em; margin-right: 0.5em; text-align: right; direction: rtl; }
main ol li {counter-increment: li}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {    
    margin-top: 3rem;
}

.main-content a,
form a {
    color: #000000;
    text-decoration: underline    
}

.main-content a:hover,
.main-content a:focus,
form a:hover,
form a:focus {
    color: #f60311;
    text-decoration: none
}

.main-content a.link-inverso {
    color: #000000;
    text-decoration: none
}

.main-content a.link-inverso:hover,
.main-content a.link-inverso:focus,
.main-content a.link-inverso:hover,
.main-content a.link-inverso:focus {
    color: #f60311;
    text-decoration: underline
}


.main-content {
    margin-top: 8rem!important;
    line-height: 1.9rem;
}

.main-content .blockquote-light {
    margin: 2rem 0rem;
    
}

.main-content blockquote {
    padding: 1rem 2rem 0rem 2rem!important;
}

.red-quotes {
    content: "“";
    font-size: 10rem;
    color: #f60311;
    line-height: 1;
    display: block;
    height: 0.4em;
    padding-left: 1rem;
}

/* Footer */

.footer {
    position: relative;
    padding-bottom: 1px;
    background-color: #000;
    color: #fff;
    font-size: 1.1rem;
}

.footer h3 {
    font-size: 1.5rem;
}

.footer a {
    color: #fff;
    text-decoration: underline
}

.footer a:hover {
    color: #f60311;
    text-decoration: none
}

/* Navbar */
.trans-header {
    transition: all 0.2s ease 0s;    
}

.collapsing {
    transition: height 0.25s ease;
}

.navbar-nav > li{
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.dropdown-menu {
    border: 0px solid;
    border-radius: 0;
}

/* Navbar BIANCA - Tutte le pagine */

.navbar-bianca a{
  color: #000;
  font-size: 1.1rem;
}

.navbar-bianca a:hover,
.navbar-bianca .dropdown-menu a:hover {
  color: #f60311;
}

a.navbar-bianca:hover, a.navbar-bianca:focus,
button.navbar-bianca:hover,
button.navbar-bianca:focus {
    background-color: #fff !important;
    border-color: rgba(255, 255, 255, 0);
    
}


.navbar-bianca .dropdown-menu,
.navbar-bianca .dropdown-menu a {
    background-color: #fff;
    color:#000;
    font-size: 1.1rem;
}

.navbar-bianca .navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0);
}

.navbar-bianca .navbar-toggler-icon {
    
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar NERA - Homepage */

.navbar-nera a{
  color: #fff;
  font-size: 1.1rem;
}

.navbar-nera a:hover,
.navbar-nera .dropdown-menu a:hover {
  color: #f60311;
}

.navbar-toggler:focus {
    outline: 0;
} 

a.navbar-nera:hover, a.navbar-nera:focus,
button.navbar-nera:hover,
button.navbar-nera:focus,
button.navbar-nera:active {
    background-color: #000 !important;
    border-color: rgba(0, 0, 0, 0);
}

.navbar-nera .dropdown-menu,
.navbar-nera .dropdown-menu a {
    background-color: #000;
    color:#fff;
    font-size: 1.1rem;
}

.navbar-nera .navbar-toggler {
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0);
}

.navbar-nera .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Senza categoria */

a.lnk-bianco {
    color: #fff;
    text-decoration: none
}

a.lnk-bianco:hover,
a.lnk-bianco:focus {
    color: #fff;
    text-decoration: none
}

/* Informativa cookie */

#informativa-breve-cookie_wrap {
    position:fixed;
    width:100%;
    /*height:100%;*/
    z-index:998;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    /*opacity: 0.9;
    filter: alpha(opacity=90);*/ /* For IE8 and earlier */
}
#informativa-breve-cookie {
    z-index:999;
    font-size: 1rem;
    padding: 10px;
    background-color:#000;
    color: #fff;
}
#informativa-breve-cookie a {
    color: #fff;
    text-decoration: underline;
}
#ok-cookie {
    margin: 0 10px;
    padding: 8px 16px;        
    background-color: #f60311;
    border-color: #f60311;
    color: #fff;
    border-color: #f60311;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor:pointer;
}
#ok-cookie:hover {             
    background-color: #f60311;
}

.grecaptcha-badge { opacity:0;}
.g-recaptcha {margin-bottom: 20px;}
.g-recaptcha-invalid-feedback { margin-bottom: 20px;}
#oobrain-newsletter .alert-danger, #oobrain-newsletter .alert-success { font-size:1.1rem; border-color: transparent; }

@media(max-width:767px) {
    .mobile-mt-2 {
        margin-top: 2rem!important;
    }
    .mobile-mt-3 {
        margin-top: 2.5rem!important;
    }
    .mobile-mt-4 {
        margin-top: 3rem!important;
    }
    .mobile-mt-5 {
        margin-top: 3.5rem!important;
    }
    .mobile-mt-6 {
        margin-top: 4rem!important;
    }
    .mobile-mt-7 {
        margin-top: 4.5rem!important;
    }
    .read-more {
        color: #f60311
    }
    .big-hero-1 {
        font-size: 3.8rem;
    }
    .big-hero-2 {
        font-size: 2.8rem;
    }
    .big-hero-3 {
        font-size: 2.5rem;
    }
    
    .header-page {
        margin-top: 7rem!important;
    }
    
    .main-page {
        margin-top: 7rem!important;
        line-height: 1.9rem;
    }
    .red-quotes {
        font-size: 9rem;
        margin-left: -0.8rem;
    }
    .lead {
        font-size: 1.6rem;
        line-height: 2.3rem;
        color: #000
    }
}    
    
@media(min-width:768px) {
    .big-hero-1 {
        font-size: 4.5rem;
    }
    .lead {
        font-size: 1.6rem;
        line-height: 2.3rem;
        color: #000
    }
}

@media(min-width:992px) {

}

@media(min-width:1200px) {

}



