@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:100,100i,400,400i,700,700i&display=swap');

BODY {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.05rem;
    background-image: url(../../../../sites/default/files/main_bg.png);
    /*background-image: url(../../../../sites/default/files/body_bg_dark.jpg);*/
    background-position: bottom right;
    background-attachment: fixed;
    background-repeat: no-repeat;
    /*background-color: #0a0a23;*/
}

#block-mythemex-content {
    padding: 2em;
    background-color: #fffa; 
}


a {
    color: #203B78;
}

.btn-outline-mythemex {
    color: #99c3d3;
    background-color: transparent;
    background-image: none;
    border-color: #99c3d3;
}

.btn-outline-mythemex:hover {
    background-color: #99c3d3;
}

.header-bottom a.nav-link {
    font-weight: bold;
    padding: 1.5em !important;
    border-radius: 0px;
}

.header-bottom a.nav-link:hover {
    background-color: #203b78;
    color: white;
}


.container-fluid.header-top {
    background: #f2f2f288;
  }


#block-headersociallinks a.nav-link {
    background-color: unset;
    padding: 0px 5px;
    font-size: 2rem;
}

.dropdown-item a {
    border:none !important;
    color: #203b78 !important;
    text-decoration: none;
    text-shadow: none !important;
}

.dropdown-item.active,
a.active {
    background-color: #99CED3;
    /*color: #FDCE4B !important;*/
}




#header #search-block-form {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
  }


input[type="search"] {
    box-sizing: border-box;
}


#block-mythemex-content p {
    text-align: justify;
}



#header input[type="search"] {
    max-width: 200px;
    border-radius: 6px 0px 0px 6px;
    border-color: #203B78;
    background-color: #ffffff44;
}

#header input[type="search"]:focus {
    background-color: #ffffff;
}

#header input[type="submit"] {
    /*display: inline-block;*/
    background-color: #4b699d;
    border: 1px solid #203B78;
    color: white;
    border-radius: 0px 6px 6px 0px;

}



#header {
    position: sticky;
    /*padding-top: 10px;*/
    z-index: 1000;
    /*background-color: white;
    background-image: url(../../sites/default/files/body_bg.png);
    background-repeat: repeat-y;
    background-size: 100%;
    background-blend-mode: multiply;*/
}

#block-mythemex-sitebranding {
    margin: 20px;
    text-align: center;
}

#header .site-branding__logo img {
    max-width: 100%;
    max-height: 120px;
}

#header .navbar {
    padding: 0px;
}

#header nav.menu--main {
    padding: 0px;
}

/*
#header .header-bottom .navbar-nav {
    background-color: #729DBF;
}
*/

#header nav.menu--main a {
    color: white;
    text-shadow: 1px 1px 1px #000057;
    transition: ease-in;
    transition-duration: 0.1s;
    border-right: 1px dashed #fff5;
}

#header button.navbar-toggler {
    padding: 0.8em;
}



#header .header-bottom {
    background-color: #99c3d3dd;
    /*background-image: url(../../sites/default/files/body_bg.png);
    background-repeat: repeat-y;
    background-size: 100%;
    background-blend-mode: multiply; 
    background: linear-gradient(to right, #2fc4c4,#2fc4c499);*/
}

#header .header-bottom .container {
    background: linear-gradient(45deg,#4d6b9e, #203b78);
}

/*
#header .header-bottom-left,
#header .header-bottom-right {
    background-color: #4d6e9b;
}
*/


.carousel {
    background: linear-gradient(0deg, #14203c, #203b78);
}

.carousel > .row > .container {
    
}

.carousel #block-ifactcarouselblock {
    padding: 50px;
    color: white;
    
  }

  #block-views-block-consortium-block-1 h2,
#block-views-block-news-block-1 > h2 {
    text-align: center;
    font-weight: bold;
    color: #15223f;
  }

.carousel #block-ifactcarouselblock h1 {
    padding: 40px 40px 30px 0px;
    font-weight: bold;
}

.carousel #block-ifactcarouselblock h3 {
    padding: 0px 40px 50px 0px;
    color: #a7cbd9;
}

.container-fluid.breadcrumb-title {
    background: #c9e5e8;
  }

.breadcrumb {
    margin-top: 1.5em;
    padding-bottom: 1em;
    border-radius: 0px;
    border: 1px solid #99c3d3;
    border-left: 8px solid #99c3d3;
    background-color: #e9ecef66;
}

.container-fluid.breadcrumb-title .page-title {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #203b78;
  }

.view-consortium .view-content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.view-consortium .card {
    margin-bottom: 30px;
    border-radius: 0px;
    border: 0px;
    /*box-shadow: 0px 0px 5px #0000001f;*/
    border: 1px solid #99ced3;
}



#block-views-block-consortium-block-1 .partner-logo-frontpage {
    padding: 20px;
    margin: 20px;
    border: 1px solid #dddddd;
    background-color: white;
}

#block-views-block-consortium-block-1 {
    margin-bottom: 80px;
    margin-top: 80px;
}

#block-views-block-consortium-block-1 .col-md-3 {
    text-align: center;
}

.card:hover {
    /*! transform: scale(1.02, 1.02); */
    transition: ease-in;
    transition-duration: 0.2s;
    box-shadow: 0px 0px 25px -5px #ccc;
  }

.view-consortium .card .card-body {
    background-color: #f1f1f1;
    color: #4d6e9b;
    padding: 0.5rem;
}

.view-consortium .card h5 {
    text-align: center;
    font-weight: bold;
}

.card img {
    max-width: 100%;
    padding: 30px;
}

.node--type-article .node__meta {
    text-align: right;
    /*padding-right: 40px;*/
    padding-top: 20px;
    padding-bottom: 20px;
}

.article-logo img,
.partner-logo img {
    padding: 1.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    height: auto;
}

.article-logo img {
    padding: 0px;
}

#block-views-block-news-block-1 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.block-news-entry {
    margin-bottom: 50px;
}

.block-news-entry p {
    text-align: justify;
}

.block-news-entry  .block-news-read-more {
    position: absolute;
    bottom: 0px;
    margin-bottom: -30px;
}

.view-news img {
    max-width: 100%;
    margin-right: 30px;
}

.view-news .views-row {
    padding: 30px;
    background: red;
    margin: 20px;
    background: white;
    border: 1px solid #f1f1f1;
  }

.addtoanyblock {
    margin-top:40px;
}

.partner-logo .field--name-field-partner-website {
    display: inline-block;
    padding-left: 10px;
}

.row.progress-box {
    border: 1px solid #99c3d3;
    background: #eaf5f9;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
}

.row.progress-box h4 {
    color: #203b78;
    padding-bottom: 15px;
    font-weight: bold;
}

.row.progress-box img {
    padding-right: 15px;
}

ul.timeline {
    list-style-type: none;
    position: relative;
}
ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}
ul.timeline > div > li {
    margin: 20px 0;
    padding-left: 20px;
    margin-bottom: 80px;
    background-color: white;
}
ul.timeline > div > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #99c3d3;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}


.row.content-bottom {
    background: #f2f2f288;
    padding: 50px;
}

.row.content-bottom #block-webform {
    padding: 30px 50px 10px 50px;
    background: #a7cbd9;
}

.row.content-bottom #block-webform h2 {
    text-align: center;
    font-weight: bold;
    color: #223d7a;
}

.row.content-bottom #block-webform .form-actions {
    text-align: center;
}

.row.content-bottom #block-webform .btn {
    padding: 5px 30px;
    background: #223d7a;
    color: white;
    border-color: #223d7a;
}
   

#footer {
    background-color: #181820e2;
    color: white;
    padding-top: 50px;
    padding-bottom: 50px;
}

#block-footer ul {
    text-align: right;
    width: 100%;
}

#block-footer a {
    color: white;
}

#block-eufunded {
    background: linear-gradient(45deg,#4d6b9e, #203b78);
    padding: 14px;
    padding-bottom: 1px;
    padding-right: 20px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    text-shadow: 1px 1px 1px #000057;
    margin: 0px 50px;
   }


#block-footersociallinks nav {
    font-size: 2rem;
    padding: 0px;
}

#block-footersociallinks nav .nav-link {
    margin: 0px;
    padding: 0px;
    padding-right: 1rem;
}

#block-footersociallinks nav a {
    color: white;
}

#block-footersociallinks nav a:hover {
    transform: translateY(-3px);
}
   

#footer .eu-flag {
    max-width: 110px;
    margin-right: 25px;
    margin-top: 3px;
    border-radius: 4px;
}

#footer-bottom {
    background-color: #181820;
    padding-top: 1rem;
    color: white;
}

#footer-bottom a {
    color: #4990ff;
}

.toolbar-oriented .toolbar-bar {
    z-index: 1002;
}

.caption > figcaption {
    display: table-caption;
    max-width: none;
    caption-side: bottom;
    text-align: center;
    font-size: small;
    font-weight: bold;
    color: #3b588f;
  }
  


@media (min-width: 1200px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
      max-width: 1400px;
    }
}

@media (max-width: 991px) {
    .search-block-form {
        display: none;
    } 

    a.nav-link {
        padding: 1em !important;
    }
}
  