html,
body {
    height: 100%;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    color: #333333;
}

div#main-content {
    padding: 50px 0;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

a {
    color: #000000;
}

a:hover {
    color: #2daae1;
    cursor: pointer;
    text-decoration: none;
}

a.blue {
    color: #2daae1;
}

a.nav-link:active {
    color: #2daae1 !important;
}

a.page-link {
    color: #2daae1 !important;
}

h1, h3, h4, .btn {
    font-weight: 300;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    padding: 0 0 10px;
    border-bottom: 6px solid #ffd144;
    display: inline-block;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

h2.news {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: normal !important;
    padding: 10px 0;
    text-transform: none;
    border-bottom: none;
    margin-bottom: 0.5rem;
    display: block;
}

h2.news a:hover {
    color: #5797d4 !important;
}

h6 {
    padding-top: 1.8rem;
    padding-bottom: 2rem;
}

.btn {
    border-radius: 0;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #000000;
    border-color: #000000;
}

.btn-primary:hover {
    background-color: #2daae1;
    border-color: #2daae1;
}

.btn-light {
    color: #4d5157;
    background-color: #eaeaea;
    border-color: #eaeaea;
}

.navbar {
    padding: 0 1rem 1rem;
    -o-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    -webkit-transition: all 0.1s ease;
    transition: all 0.1s ease;
    padding-bottom: 0;
}

.navbar.sticky {
    -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 4px 0 rgba(0, 0, 0, .1);
    background: #fff;
    padding-bottom: 0;
}

.navbar-light .navbar-nav .nav-link {
    color: #fff;
    text-transform: uppercase;
    font-size: .8rem;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.navbar.sticky .nav-link {
    color: #333;
}

.navbar.sticky .nav-link:hover {
    color: #777;
}

.navbar-brand {
    background: #fff;
    padding: 35px 10px;
}

.navbar-brand img {
    width: 90px;
}

.nav-item {
    position: relative;
}

#menu-lang.dropdown-menu {
    min-width: 2rem;
    border: none;
}

#menu-lang.dropdown-menu .dropdown-item {
    padding: 0.1rem 1rem;
}

#search.dropdown-toggle::after {
    display: none;
}

#search-field.dropdown-menu {
    min-width: 13rem;
    border-color: #f8f9fa;
    padding: .2rem 0;
    background: #f8f9fa;
}

.sticky #search-field.dropdown-menu {
    border-color: #dadada;
}

#search-field.dropdown-menu .form-control {
    border: none;
}

#top-social.navbar-nav .nav-link {
    padding-right: 0.1rem;
    padding-left: 1rem;
}

section#stats {
    background: #f1f2f2;
    padding: 2rem 0;
}

#stats .data {
    width: 160px;
    height: 160px;
    border-radius: 160px;
    text-align: center;
    background: #5797d4;
    display: inline-block;
    color: #fff;
    padding: 1.8rem 0 1.4rem;
}

#stats .data span {
    font-weight: 700;
    font-size: 1.8rem;
    display: block;
    line-height: 1.4rem;
}

#stats .data.yellow {
    background: #ffd144;
}

#stats .data.red {
    background: #ff6666;
}

#stats .data.green {
    background: #97c47a;
}

#stats .data img {
    height: 40px;
    margin-bottom: 15px;
}

section#news, section#events {
    padding: 3rem 0;
    border-bottom: 1px solid #dadada;
}

section#news small, section#events small {
    font-size: 90%;
}

section#news.borderTop, section#events.borderTop {
    border-top: 1px solid #dadada;
    border-bottom: 0;
}

section#project {
    padding: 3rem 0;
}

#events .event {
    margin-left: -200px;
    opacity: 0;
    -o-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.event {
    margin-bottom: 1rem;
}

.event h2 {
    font-size: 1.3rem;
    text-transform: none;
    border-bottom: none;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.data-event {
    background: #f1f2f2;
    padding: 0.5rem 1rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    text-align: center;
}

.data-event span {
    font-weight: 500;
    font-size: 2rem;
    display: block;
}

section#consortium {
    padding: 3rem 0 1rem;
}

.consortium-img {
    background: url(../images/consortium-group.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
    padding-top: 350px;
}

#partnersCarousel .carousel-inner .carousel-item.active,
#partnersCarousel .carousel-inner .carousel-item-next,
#partnersCarousel .carousel-inner .carousel-item-prev {
    display: flex;
}

#partnersCarousel .carousel-inner .carousel-item-right.active,
#partnersCarousel .carousel-inner .carousel-item-next {
    transform: translateX(25%);
}

#partnersCarousel .carousel-inner .carousel-item-left.active,
#partnersCarousel .carousel-inner .carousel-item-prev {
    transform: translateX(-25%);
}

#partnersCarousel .carousel-inner .carousel-item-right,
#partnersCarousel .carousel-inner .carousel-item-left {
    transform: translateX(0);
}

#partnersCarousel .carousel-control-next, #partnersCarousel .carousel-control-prev {
    width: 5%;
    bottom: 40px;
}

#partnersCarousel .carousel-control-next {
    right: -30px;
}

#partnersCarousel .carousel-control-prev {
    left: -30px;
}

#partnersCarousel .carousel-control-next-icon, #partnersCarousel .carousel-control-prev-icon {
    background-image: url(../images/fdx-gray.png);
    width: 50px;
    height: 80px;
    background-size: 70%;
}

#partnersCarousel .carousel-control-prev-icon {
    background-image: url(../images/fsx-gray.png);
}

#partnersCarousel .carousel-item img {
    height: 90px;
    width: 131px;
    margin-bottom: 30px;
}

section#legal {
    padding: 3rem 0;
    font-size: 0.9rem;
    border-top: 1px solid #dadada;
}

section#legal img {
    width: 75px;
}

.carousel-caption {
    bottom: 210px;
    background: rgba(87, 151, 212, 0.9);
    width: 680px;
    padding: 0 20px;
}

.carousel-caption p {
    color: #fff;
    z-index: 1020;
    padding-top: 20px;
    font-size: 1.7rem;
    text-align: center
}

.carousel-caption p a {
    color: #fff;
}

.carousel-caption.green {
    background: rgba(151, 196, 122, 0.9);
}

.carousel-control-next-icon {
    background-image: url(../images/fdx.png);
    width: 50px;
    height: 80px
}

.carousel-control-prev-icon {
    background-image: url(../images/fsx.png);
    width: 50px;
    height: 80px
}

#page-header {
    padding: 16rem 0 1.5rem;
}

#page-header.project {
    background: url(../images/project.jpg) center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#page-header.technologies {
    background: url(../images/technologies.jpg) center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#page-header.consortium {
    background: url(../images/consortium.jpg) center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#page-header.news {
    background: url(../images/news.jpg) center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#page-header.events {
    background: url(../images/events.jpg) center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#page-header.contact {
    background: url(../images/contact.jpg) center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#page-header.newsletter {
    background: url(../images/newsletter.jpg) center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#page-header.downloads {
    background: url(../images/downloads.jpg) center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#page-header #page-title {
    background: rgba(87, 151, 212, 0.9);
    padding: 0 0.5rem;
}

#page-header h1 {
    font-size: 2.6rem;
    font-weight: 500;
    color: #fff;
    padding: 1rem 0;
    margin-bottom: 0;
}

.breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 2rem 0 2rem 0;
    margin-bottom: 0;
    list-style: none;
    background-color: transparent !important;
    border-radius: 0 !important;
    float: right;
}

ol.breadcrumb a {
    color: #ffd144;
}

ol.breadcrumb a:hover {
    color: #fedf81;
}

.breadcrumb-item.active,
ol.breadcrumb .breadcrumb_last {
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #fff !important;
}

#main-content h2 {
    padding-top: 2rem;
}

#main-content h2:first-child {
    padding-top: 0;
}

label {
    font-size: 0.9rem;
}

label, span.wpcf7-list-item-label {
    font-size: 0.9rem;
}

#map {
    background: #e9eaea;
    padding-bottom: 20px;
}

.partner .btn.collapsed .fa-angle-up:before {
    content: "\f107" !important;
}

.border-right {
    border-right: 1px solid #ededed;
}

.bg-gray {
    background: #f3f2f2;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.page-link {
    border-color: #dadada;
}

.share {
    border-top: 3px solid #ffd144;
    border-bottom: 1px solid #dadada;
    padding: 1.8rem 0 1rem;
    margin-bottom: 2rem;
}

.doc-item {
    border-bottom: 1px solid #dadada;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.doc-item:last-child {
    border-bottom: none;
}

.form-control {
    border-radius: 0;
    background: #f8f9fa;
    border: 1px solid #cccccc;
}

#footer {
    padding: 3rem 0 1rem;
    background: #5797d4;
    color: #fff;
}

#footer h4 {
    font-weight: 700;
    margin-bottom: 1.8rem;
}

.border-right {
    border-right: 1px solid #fff;
}

.modal-content {
    border-radius: 0;
}

.modal-body h2 {
    font-size: 1.5rem;
}

.modal-header {
    border-bottom: none;
}

#footer ul {
    padding-top: 5rem;
}

#footer ul a {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
}

#footer ul a:hover {
    color: #deebf7;
}

#scrollUp {
    bottom: 20px;
    right: 20px;
    height: 50px;
    width: 50px;
    background: url(../images/scroll-up.png) no-repeat;
}

.navbar-light .navbar-toggler {
    color: #000;
    border-color: #000;
}

.navbar-toggler {
    background-color: #000;
    border: 1px solid #000;
    border-radius: 0;
}

.navbar-light .navbar-toggler-icon {
    background-image: url(../images/ico-menu.png);
}

/*--------------------------------*/

@media (min-width: 767px) and (max-width: 1199px) {
    #intro {
        padding-bottom: 0;
    }

    .carousel-caption {
        bottom: 90px;
    }

    #project {
        padding: 40px 0;
    }
}

@media (max-width: 1199px) {
    .h4, h4 {
        font-size: 1.2rem;
    }

}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .8rem;
        padding-left: .8rem;
    }

    #docType {
        text-align: right;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-brand {
        padding: 30px 10px;
    }

    .navbar-brand img {
        width: 70px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .6rem;
        padding-left: .6rem;
    }

    .navbar-light .navbar-nav .nav-link {
        font-size: 0.8rem;
    }

    .consortium-img {
        padding-top: 250px;
    }

    #page-header {
        padding: 12rem 0 1.5rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        background: #fff;
    }

    .navbar-brand {
        padding: 15px 10px;
    }

    .navbar-brand img {
        width: 70px;
    }

    .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid #ddd;
    }

    .nav-item span {
        text-align: left;
        top: 20px;
        left: 0;
    }

    .navbar-nav .nav-link {
        padding-left: 15px;
    }

    .navbar-light .navbar-nav .nav-link {
        color: #333;
    }

    .navbar-light .navbar-nav .nav-link:hover {
        color: #777;
    }

    #menu-lang.dropdown-menu .dropdown-item {
        font-size: 0.8rem;
        color: #777;
    }

    .carousel-caption {
        bottom: 50px;
        width: 500px;
    }

    .carousel-caption p {
        font-size: 1.3rem;
    }

    .carousel-control-next, .carousel-control-prev {
        top: 40px;
    }

    .carousel-control-next-icon, .carousel-control-prev-icon {
        width: 38px;
        height: 60px;
    }

    #stats .data {
        width: 130px;
        height: 130px;
        border-radius: 130px;
        padding: 1.1rem 0;
    }

    #stats .data img {
        height: 35px;
        margin-bottom: 10px;
    }

    .consortium-img {
        padding-top: 180px;
    }

    #partnersCarousel .carousel-control-next, #partnersCarousel .carousel-control-prev {
        bottom: 70px;
    }

    #page-header {
        padding: 10rem 0 1.5rem;
    }

    #page-header h1 {
        font-size: 2rem;
    }

    .breadcrumb {
        padding: 1.5rem 0 1.5rem 0;
    }
}

@media (max-width: 767px) {
    #intro {
        padding-top: 80px;
        padding-bottom: 0;
    }

    .carousel-caption {
        bottom: 60px;
        width: 450px;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }
}

@media (min-width: 767px) and (max-width: 992px) {
    .container {
        max-width: 700px;
    }

    .list-unstyled {
        padding-left: 10px;
        line-height: 1.5rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        bottom: 40px;
        width: 350px;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .carousel-control-next-icon, .carousel-control-prev-icon {
        display: none;
    }

    #stats .data {
        margin-bottom: 1.5rem;
    }

    #partnersCarousel .carousel-item img {
        height: 90px;
    }

    h2 {
        font-size: 1.6rem;
    }

    #page-header h1 {
        font-size: 1.6rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    #main-content h2:first-child {
        padding-top: 2rem;
    }

    #footer .col-sm-6.border-right {
        border-right: none !important;
        border-bottom: 1px solid #fff;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

}

.search-result {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.search-result h2 {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: normal !important;
    padding: 10px 0;
    text-transform: none;
    border-bottom: none;
    margin-bottom: 0.5rem;
    display: block;
    padding-top: 1rem !important;
}

.search-result h2 a:hover {
    color: #5797d4 !important;
}

span.category {
    text-transform: uppercase;
    color: #6c757d;
}