/* general */

* {
    font-family: 'Open Sans', sans-serif;
}

.t3-mainbody {
    min-height: 765px;
}


/* h titles */

h1 {
    font-weight: bold;
}


/* hide megamenu logo */

.hide {
    display: none;
}


/* logo resize and align */

.logo-img {
    width: 150px !important;
    padding-top: 10px !important;
    padding-right: 5px;
}

.navbar-header img .logo-img {
    width: 150px !important;
    padding-top: 10px !important;
}

.logo-image span {
    vertical-align: middle;
    text-transform: uppercase;
}

.logo-image a:hover {
    text-decoration: none;
}


/* align navigation to the right  */

.t3-mainnav .t3-navbar {
    padding-left: 0;
    padding-right: 0;
    float: right;
}


/* login icon */

nav li .custom-menu-icons img {
    width: 20px;
    margin-right: 10px;
    padding-top: 12px;
}


/* teaser section */

.view-home #enterSection {
    background-image: url(/images/custom/1920x1080_Advanzia_2019.jpg);
}

.view-home #enterSection a {
    border: 1px solid #1a2c5f;
    border-radius: 5px;
    width: 300px !important;
}

#enterSection a {
    width: 280px;
    background-color: #1a2c5f;
    padding-top: 0;
    padding-bottom: 0;
}

#enterSection a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.view-home #communitySection li,
.view-home #featuresSection li {
    cursor: default;
}


/* below teaser section */

.view-home body {
    background-image: none;
}

.view-home #communitySection li>[role=region],
.view-home #featuresSection li>[role=region] {
    background-color: #d1d5df;
    color: #1a2c5f;
}

img.home-icons {
    width: 128px;
    margin-top: 21px;
}


/* footer copyright */

.t3-copyright {
    background: #e8e9ef;
}


/* buttons styles */

.layout-default.task-submit form button.btn-primary,
.view-login form button.btn-primary,
.view-registration form button.btn-primary,
.view-reset form button.btn-primary {
    width: 280px;
    height: 42px;
    border-radius: 5px !important;
    background-color: #1a2c5f;
    border: 1px solid #1a2c5f;
    font-size: 20px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 42px;
}


/* headline teaser area */

.com_apiportal .head {
    background-color: #1a2c5f;
    background-image: none;
}


/* content headline teaser area */

.com_content .head {
    background-color: #1a2c5f;
    position: relative;
    width: 100%;
    min-height: 111px;
}


/* api page */

.apis .api-icon img {
    width: 160px;
}

.apis[data-view=tiles] .api-icon img {
    max-height: 100%;
    width: 85px;
    padding-top: 35px;
}


/* api menu */

.api-menu {
    z-index: 2;
}

.api-menu .container {
    padding-left: 0px;
}


/* footer menu */

.footer-menu {
    display: flex;
    justify-content: center;
}


/* custom adv article page */

.t3-mainnav.clearfix.adv-article {
    margin-top: 20px;
    margin-bottom: 50px;
    border: none;
}

.article-title,
.article-header h1 {
    margin: 0 auto 20px auto;
    color: #fff;
    padding-left: 7px;
    padding-right: 7px;
    position: relative;
}


/* cookies policy */

#redim-cookiehint-bottom .cookiebuttons {
    text-align: center;
}

#redim-cookiehint-bottom #redim-cookiehint {
    text-align: center;
    ;
}


/* Desktop 1170px */

@media screen and (max-width: 1170px) {
    .t3-mainnav .t3-navbar-collapse {
        margin-top: 12px;
        background: #e8e9ef;
        opacity: 0.8;
    }
    .nav>li>a>img {
        width: 30px;
    }
    .api-menu .container ul {
        display: flex;
        justify-content: center;
    }
}


/* Tablet 970px */

@media screen and (max-width: 970px) {
    .logo.logo-image {
        padding-left: 5%;
    }
    ul.nav.navbar-nav.level0 {
        text-align: center;
    }
}


/* Other Fix 990px */

@media screen and (max-width: 990px) {
    ul.nav.navbar-nav.level0 {
        text-align: center;
    }
  .api-menu {
    display: none !important;
}
  nav ul:first-of-type {
    display: none !important;
}
}


/* Mobile 768px */

@media screen and (max-width: 768px) {
    .logo-image span {
        display: none;
    }
}

/* Screens more than 989px */
@media screen and (min-width: 990px) {
  nav.t3-navbar.navbar-collapse.collapse div:nth-of-type(2) {
    display: none !important;
}
}