/* VARIABLE */
:root {
    --green: #99CC00;
    --gray : rgba(255, 255, 255, 0.5);
    --grayMedium : #FAFAFA;
    --blue : #004A8B
  }

/* TYPOGRAPHY
-------------------------------------------------------------- */
h1 {
    color: #110C2B;
    font-size: 2.000em; /* 26px */
}
h2 {
    color: #110C2B;
    font-size: 1.846em; /* 24px */
}
    .post h2 {
        color: #44c7f5;
    }
h3 {
    color: #110C2B;
    font-size: 1.538em; /* 20px */
}
h4 {
    color: #110C2B;
    font-size: 1.231em; /* 16px */
}

.home h4 a {
    color: #110C2B;
}

/* HEADER
-------------------------------------------------------------- */
header .row {
    display: flex;
    align-items: center;
}
header img:not(.logo){
    width: 100%;
    max-width: 160px;
}
header img.logo{
    width: 100%;
}

header .logo-eu-container{
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 1em;
}

header .logo-eu-container span {
    font-size: .85em;
}

header img.logo-eu{
    width: 100%;
    max-width: 60px;
    margin-right: 1em;
    height: 40px;
    display: block;
    flex-shrink: 0;
}

.members-login {
    margin-bottom: 20px;
    padding: 6px 0 14px;
    text-align: center;
    background: url(imgs/bg-login.png) no-repeat center top;
    background-size: 100%;
    background-size: contain;
    color: #fff;
}
.members-login a:hover {
    color: #f2f2f2;
}
.members-login a,
.members-login__link {
    color: #fff;
    /*visibility: hidden;*/
}


.navbar .dropdown-menu > li > a {
    padding: 10px 20px;
}
.navbar .dropdown-menu > li > a:hover,
.navbar .dropdown-menu > li > a:focus {
    color: #44c7f5;
}
.navbar .dropdown-menu>.active>a,
.navbar .dropdown-menu>.active>a:hover,
.navbar .dropdown-menu>.active>a:focus {
    background-color: #44c7f5;
    color: #fff;
}

.logo-eu {
    /*padding-top: 5%;*/
}


@media (min-width: 768px) {
    .sidebar-nav {
        padding: 9px 0;
    }

    .dropdown-menu .sub-menu {
        left: 100%;
        position: absolute;
        top: 0;
        visibility: hidden;
        margin-top: -1px;
    }

    .dropdown-menu li:hover .sub-menu {
        visibility: visible;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
        margin-top: 0;
    }

    .navbar .sub-menu:before {
        border-bottom: 7px solid transparent;
        border-left: none;
        border-right: 7px solid rgba(0, 0, 0, 0.2);
        border-top: 7px solid transparent;
        left: -7px;
        top: 10px;
    }
    .navbar .sub-menu:after {
        border-top: 6px solid transparent;
        border-left: none;
        border-right: 6px solid #fff;
        border-bottom: 6px solid transparent;
        left: 10px;
        top: 11px;
        left: -6px;
    }
}
@media (max-width: 767px) {

    .logged-in .members-header .signup, .members-header .social {
        display: none !important;
    }

}

@media (min-width:768px) and (max-width:991px) {

    .home .home-boxes.light .home-box{flex-direction: column; align-items: center; justify-content: center;}
    .home .home-boxes .home-box img {
        width: 70px;
        height: auto;
    }
    .home .home-boxes .home-box h4 {
        font-size: 1em !important;

    }
    .home-boxes .home-box > a {height: auto !important;}
    .home .home-boxes .home-box h4 img {
        width: 15px;
        height: auto;
    }
    .flexible-content.home section.slider .slider .slide .title {
        width: 100% !important;
        line-height: 1em;
    }
}
@media (max-width:767px) {
    header .navbar-default .navbar-nav > li {
        text-align: right;
        padding-right: 15px;
    }
    header .navbar-default .navbar-nav > li > a {
        padding: 7px 0;
        margin: 5px 0;
    }

    .home .cal-map {
        display: block;
    }

    .home .home-boxes{
        display: block;
    }

    .home .home-boxes .home-box,  .home .home-boxes.light .home-box{
        width: 90%;
        margin: 1em auto;
    }
    .home .home-boxes .home-box:last-child,  .home .home-boxes.light .home-box:last-child{
        width: 90%;
        margin: 1em auto;
    }

    .flexible-content.home section.slider .slider .slide .title {
        width: 100% !important;
        line-height: 1em;
    }

    .home .news-container.container, .home .news-container.container .events .home-event .event-meta  {display: block;}

    .home .cal-map .map {
        padding: 1.5em 0;
        width: 100%;
        height: 50vh;
    }
    .home .cal-map .calendar, .home .news-container .news, .home .news-container .events {
        padding: 1.5em 0;
        width: 100%;
    }
}




/* SIDE NAV
-------------------------------------------------------------- */
.navbar.navbar-side {
    background: none;
    border: 0;
} 
.navbar.navbar-side .navbar-collapse {
    border: 0;
    padding: 0;
}
@media (max-width:767px) {
    .navbar.navbar-side {
        background: #f7f7f7;
    }
    .navbar.navbar-side .navbar-collapse {
        padding: 0 15px;
     }
}

.menu {
    margin: 0;
    padding: 0;
}
    .menu li {
        list-style: none;
    }
        .menu li a {
            display: block;
            padding: 15px 5px;
            margin: 0;
            -webkit-transition: all 0.5s ease;
               -moz-transition: all 0.5s ease;
                 -o-transition: all 0.5s ease;
                    transition: all 0.5s ease;
            color: #004a8b;
            border-bottom: 2px solid #e2e2e2;
            font-size: 1.231em; /* 16px */
            position: relative;
        }
            .menu li.active > a,
            .menu li a:hover {
                color: #4ecaf6;
                border-bottom-color: #44c7f5;
            }
                .menu li.active > a:after {
                    font-family: FontAwesome;
                    content: "\f054";
                    color: #4ecaf6;
                    font-size: 12px;
                    position: absolute;
                    bottom: -12px;
                    right: -2px;
                }

    .menu .sub-menu {
        padding-left: 15px;
    }
        .menu .sub-menu li a {
            padding: 10px 5px;
            font-size: 1em; /* 13px */
        }
        .menu .sub-menu li.active > a {
            color: #4ecaf6;
            border-bottom-color: #44c7f5;
        }


/* NEWS PAGE
-------------------------------------------------------------- */
.news-item-top-left h3.col-title {
    color: #44c7f5;
    font-size: 2.000em;
}
.news-item-top-left a {
    //color: #004a8b;
    // color: #44c7f5;
    font-size: 1.5em;
}
.news-item-top-left a span {
    padding-top: 13px;
    display: block;
}
.news-item-top-left .rpwwt-post-date {
    color: #989898;
    font-size: 0.923em;
    display: block;
    padding: 10px 0;
}
.news-item-top-left a.btn-cyan {
    color: #fff;
    font-size: 13px;
}
.news-item-top-left img {
    padding-right: 20px;
    width: 33.33333333% !important;
    margin: 0 10px 0 0 !important;
}
.news-top-right h3,
.news-top-right .widget-area h3 {
    margin-top: 0;
    font-size: 1.5em;
}
.news-top-right .sidebar h3 {
    display: none;
}
.news-top-right .sidebar .widget-area.sidebar {
    padding-top: 0;
}
.news-newsletter,
.news-contact-email {
    position: relative;
}
.news-newsletter:after,
.news-contact-email:after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    height: 100%;
    width: 50px;
    background: #10517e;
    border-radius: 0 45px 5px 0;
}
.news-contact:after {
    background: #0087bd;
}
.news-newsletter a,
.news-contact-email a {
    background: #135E94;
    display: block;
    color: #fff;
    float: left;
    width: calc(100% - 20px);
    position: relative;
    clear: both;
    padding: 10px;
    font-size: 1.1em;
    border-radius: 0 45px 5px 0;
    z-index: 2;
}
.news-contact a {
    background: #00adef;
}
.news-newsletter a:hover {
    background: #004A8B;
}
.news-newsletter:hover:after {
    background: #002e57;
}
.news-contact a:hover {
    background: #009ad6;
}
.news-contact-email:hover:after {
    background: #0075a3;
}
.news-newsletter svg,
.news-contact svg {
    fill: #fff;
    max-width: 30px;
    float: left;
}
.news-newsletter span,
.news-contact span {
    float: left;
    margin: 6px 10px;
    width: calc(100% - 50px);
}
.news-connect {
    float: left;
    clear: both;
    width: 100%;
}
.news-connect .news-social {
    background: #F4F4F4;
    padding: 7px;
    display: inline-block
}
.news-connect .news-social a {
    font-size: 1.75em;
}
.news-connect .news-social a.n-tw {
    color: #4ECDF4;
}
.news-connect .news-social a.n-fb {
    color: #3D5996;
}
.news-connect .news-social a.n-yt {
    color: #CD3233;
}
.news-connect .news-social a.n-li {
    color: #1B76B2;
}
.news-connect .news-social a.n-gp {
    color: #CE4033;
}
.news-panel-resources ol {
    padding-left: 20px;
    line-height: 1.2;
}
.news-panel-resources li {
    padding-left: 5px;
    padding-bottom: 4px;
}
.news-panel-resources hr {
    margin: 10px 0;
}
.news-panel-resources a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .news-twitter {
        display: none;
    }
}

/* SIDE NEWS (PARTICIPATE & ABOUT US PAGES)
-------------------------------------------------------------- */
.sidebar-content {
    padding-top: 30px;
}
    .sidebar-content .sidebar-title {
        color: #fff;
        font-size: 1.385em; /* 18px */
        background-color: #004a8b;
        padding: 5px;
        margin-bottom: 10px;
        overflow: hidden;
    }
    .sidebar-content .sidebar-button {
        float: right;
        color: #fff;
        font-size: 12px;
        background: url(imgs/button-blue-small.png) no-repeat center left;
        padding: 5px 10px;
        margin: -5px;
        text-align: center;
        text-indent: 15px;
    }

    .sidebar-content .widget-title {
        display: none;
    }

    .sidebar-content .widget a {
        font-weight: bold;
    }

    .sidebar-content .rpwwt-post-date {
        position: absolute;
        top: 0;
        font-size: 0.923em; /* 12px */
        color:  #a4a4a4;
    }


    .sidebar-content .rpwwt-widget ul li {
        overflow: hidden;
        margin: 0;
        position: relative;
        padding-top: 19px;
        padding: 19px 5px 10px 5px;
        border-bottom: 1px solid #dcdcdc;
        margin-bottom: 10px;
        line-height: 1;
    }




/* CONTENT
-------------------------------------------------------------- */
.content-wrap {
    padding-top: 38px;
    background: url(imgs/bg-header.png) no-repeat center top;
}
blockquote,
.blockquote {
    border-left: 10px solid #44c7f5;
    padding: 5px 0 5px 15px;
    font-size: 1em;
}
    .blockquote.bq-darkblue {
        border-color: #004a8b;
    }
    .blockquote.bq-smallpad {
        padding: 5px 10px 5px 10px;
    }
.content {
    outline: 4px solid rgba(255,255,255,0.63);
    background: #fff;
}
    .post-meta {
        color: #989898;
        font-size: 0.923em; /* 12px */
        margin: 0;
    }
    .content-in h2 {
        margin-bottom: 20px;
    }
    .content-in p {
        margin: 0 0 15px;
    }
    .content-in a {
        text-decoration: underline;
        word-break: break-word;
    }
    .content-in ul,
    .content-in ol {
        padding-left: 20px;
    }
    .content-in ul {
        list-style: none;
    }
        .content-in ul > li:before {
            font-family: 'FontAwesome';
            content: '\f105';
            margin: 0 5px 0 -15px;
        }
    .content-in .nav-tabs {
        padding-left: 0;
        margin-top: 20px;
    }
        .content-in .nav-tabs li:before {
            display: none;
        }
        .content-in .nav-tabs a {
            text-decoration: none;
            font-weight: bold;
            border: 1px solid #ddd;
            background: #fff;
            border-bottom-color: #004a8b !important;

        }
            @media (max-width:767px) {
                .content-in .nav-tabs a {
                    border-bottom-color: #ddd !important;
                }
            }
        .content-in .nav-tabs li.active a,
        .content-in .nav-tabs li.active a:focus {
            background: #004a8b;
            color: #fff;
            border-color: #004a8b;
            border-bottom-color: #004a8b !important;
        }
    .content-in .tab-content {
        padding-top: 5px;
        padding-bottom: 10px;
    }
.link-block {
    color: #fff;
    display: block;
    margin-bottom: 10px;
    background: #004a8b;
    padding: 14px 30px 14px 10px;
    font-size: 14px;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    position: relative;
}
    .link-block:after {
        position: absolute;
        right: 13px;
        top: 0;
        bottom: 0;
        font-family: 'FontAwesome';
        content: '\f105';
        font-size: 16px;
        margin: auto;
        height: 20px;
    }
    .link-block:hover {
        color: #65d1f8;
    }
    .lb-1 {
        background-image: url(imgs/link-block-1.png);
    }
    .lb-2 {
        background-image: url(imgs/link-block-2.png);
    }
    .lb-3 {
        background-image: url(imgs/link-block-3.png);
    }
    .lb-4 {
        background-image: url(imgs/link-block-4.png);
    }


/* ARTICLE LIST
-------------------------------------------------------------- */
    .article-item {
        border-bottom: 1px solid #dcdcdc;
        padding-bottom: 15px;
        margin-bottom: 15px;
        overflow: hidden;
    }
    .article-title {
        margin-top: 0;
    } 
    .article-date {
        color: #989898;
        font-size: 0.923em; /* 12px */
        margin-bottom: 3px;
    }
    .article-list .thumbnail-wrap img {
        max-width: 100px;
    }




/* NEWS TIMELINE
-------------------------------------------------------------- */
.timeline-news {
  background: -moz-linear-gradient(left, #fdfeff 0%, #e9f6fc 100%);
  background: -webkit-linear-gradient(left, #fdfeff 0%, #e9f6fc 100%);
  background: linear-gradient(to right, #fdfeff 0%, #e9f6fc 100%);
  overflow: hidden;
  position: relative;
  /* disable text select */
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none;
}
    .timeline-news:hover {
        cursor: move; /* fallback if grab cursor is unsupported */
        cursor: grab;
        cursor: -moz-grab;
        cursor: -webkit-grab;
    }
     /* (Optional) Apply a "closed-hand" cursor during drag operation. */
    .timeline-news:active {
        cursor: grabbing;
        cursor: -moz-grabbing;
        cursor: -webkit-grabbing;
    }
    .t-img-bg {
      background: url(https://rail-research.europa.eu/wp-content/uploads/2017/05/timeline-bg.jpg) repeat-x bottom left;
      margin-bottom: 0px;
      width: 1626px;
    }

    .t-in {
      height: 500px;
      width: 1626px;
    }
        .t-train  { /* old: + .t-train2 */
          width: 619px;
          height: 45px;
          left: -619px; /* old: -450px */
          position: absolute;
          z-index: 3;
          bottom: 90px;
          background: url(https://rail-research.europa.eu/wp-content/uploads/2017/05/timeline-train.png) no-repeat right bottom;
        }
            // .t-train {
            //     animation: stepmoveone 6s linear;
            //     animation-delay: 5s;
            //     animation-fill-mode: forwards;
            // }
            // .t-train2 {
            //     left: -619px;
            //     animation: stepmoveone2 3s linear;
            //     animation-delay: 11s;
            //     animation-fill-mode: forwards;
            // }
            // @keyframes stepmoveone {
            //     98% { opacity: 1; }
            //     100% { left: 92%; opacity: 0; }
            // }
            // @keyframes stepmoveone2 {
            //     100% { left: -450px; }
            // }

            .t-track {
              width: 100%;
              width: 1626px;
              height: 5px;
              background: #ABD042;
              position: absolute;
              bottom: 85px;
              z-index: 1;
            }
            .t-item-wrap {
                position: absolute;
                bottom: 20px;
                left: 0; //180px
            }
            .t-item {
              overflow: hidden;
              width: 150px;
              position: absolute;
              bottom: 0;
              left: 0;
              opacity: 0;
              z-index: 2;
            }
            .t-item-past {
                // opacity: 0.25;
                z-index: 0;
            }
            .t-title-wrap {
              float: left;
              clear: both;
              text-align: center;
              width: 100%;
            }
            .t-title a {
              color: #004a8b;
              font-size: 1.15em;
              text-decoration: none;
              cursor: default;
              pointer-events: none;
            }
            .t-location {
              font-size: 1.1em;
              color: #666;
            }
            .t-line {
              border-right: 2px dashed #004a8b;
              float: left;
              clear: both;
              width: 75px;
              margin: 10px 0;
            }
            .t-shape {
                float: left;
                width: 24px;
                height: 24px;
                border: 4px solid #004a8b;
                border-radius: 20px;
                clear: both;
                margin-left: 61px;
                margin-bottom: 8px;
                background: #fff;
            }
            .t-date {
              clear: both;
              float: left;
              line-height: .5;
              width: 100%;
              text-align: center;
            }
            .t-item:nth-child(odd) .t-line {
              height: 100px;
            }
            .t-item:nth-child(even) .t-line {
              height: 200px;
              border-right-color: #E5392F;
            }
            .t-item:nth-child(even) .t-title a {
              color: #E5392F;
            }
            .t-item:nth-child(even) .t-shape {
              border-color: #E5392F;
            }
@media (max-width: 768px) {
    .timeline-news {
        display: none;
    }
}

/* SEARCH FORM
-------------------------------------------------------------- */
.search-form {
    padding-bottom: 40px;
    overflow: hidden;
}

    .search-form__input {
        line-height: 45px;
        position: relative;
        float: right;
        width: 224px;
        height: 40px;
        padding: 0 10px 0 24px;
        text-decoration: none;
        color: #fff;
        color: #a0a0a0;
        border: 0;
        border-radius: 100px 0 0 10px;
        background: #fff;
        background: url(imgs/bg-search.png) no-repeat center left;
    }

    .search-form__label {
        text-indent: -9999px;
        display: none;
    }

    .search-form__submit {
        position: relative;
        float: right;
        width: 40px;
        height: 40px;
        color: #a7a7a7;
        border: 0;
        background: #fff;
        font-size: 1.25em;
    }
        .search-form__submit:after {
            position: absolute;
            top: 8px;
            left: 0;
            height: 24px;
            content: "";
            border-left: 1px solid #C7C7C7;
        }

/* SEARCH LIST
-------------------------------------------------------------- */
.search-list .pagination{
    display: block;
}
    .search-list .pagination .next,
    .search-list .pagination .prev,
    .search-list .pagination .page-numbers {
        font-size: 14px;
        font-weight: normal;
        line-height: 1.42857143;
        display: inline-block;
        margin-bottom: 0;
        padding: 6px 12px;
        cursor: pointer;
        -webkit-user-select: none;
           -moz-user-select: none;
            -ms-user-select: none;
                user-select: none;
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
        color: #333;
        border: 1px solid transparent;
        border-color: #ccc;
        border-radius: 4px;
        background-color: #fff;
        background-image: none;

        -ms-touch-action: manipulation;
            touch-action: manipulation;
    }
    .search-list .pagination .next:hover,
    .search-list .pagination .prev:hover,
    .search-list .pagination .page-numbers:hover {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

    .search-list .pagination .page-numbers.current {
        background-color: #e6e6e6;
    }

/* SLIDER
-------------------------------------------------------------- */
.slider {
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid rgba(255,255,255,0.63);
}
    .slider .slider-in {
        background: #fff;
    }
    .slider .rsImg {
        border-radius: 0;
    }

    /*.slider .rsUni .rsArrowIcn {
        font-family: FontAwesome;
        line-height: 52px;
        width: 50px;
        height: 50px;
        text-align: center;
        opacity: 0.8;
        color: #fff;
        border-radius: 100%;
        background: #ebebeb;
    }*/

        .slider .rsUni .rsArrowLeft .rsArrowIcn {
            margin-left: 0px;
        }
            /*.slider .rsUni .rsArrowLeft .rsArrowIcn:after {
                content: "\f053";
            }*/

        .slider .rsUni .rsArrowRight .rsArrowIcn {
            margin-left: -30px;
        }
            /*.slider .rsUni .rsArrowRight .rsArrowIcn:after {
                content: "\f054";
            }*/

        .slider .rsUni .rsBullet {
            width: 15px;
            height: 15px;
        }

        .slider .rsImg,
        .slider .rsVideoContainer,
        .slider .rsVideoContainer img.rsImg {
            width: 100% !important;
            height: auto !important;
        }


/* WIDGETS
-------------------------------------------------------------- */
.widgets-home {
    clear: both;
}
    .widgets-home img {
        max-width: 767px !important;
    }

.widget-area {
}
    .widget-area h3 {
        color: #004a8b;
        font-size: 2em; /* 26px */
    }
    .widget-area ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .widget-area ul li {
        padding: 5px 0;
        border-bottom: 1px solid #dcdcdc;
        margin: 0 0 0.5em;
        position: relative;
        padding-top: 15px;
    }
        .widget-area a {
            font-weight: bold;
        }
        .widget-area .rpwwt-post-date {
            color: #989898;
            font-size: 0.923em; /* 12px */
            position: absolute;
            top: 0;
            left: 0;
        }
        .widget-area .rpwwt-post-excerpt {
            line-height: 1.25;
        }

.widgets-home {
}
    .widgets-home .rpwwt-widget li {
        position: relative;
    }
        .widgets-home .rpwwt-post-title {
            background-color: #e5e5e5;
            color: #011a41;
            font-size: 1.231em; /* 16px */
            display: block;
            padding: 10px;
            bottom: 0;
            position: absolute;
            line-height: 1;
            min-height: 52px;
            width: 100%;
        }
        .widgets-home .rpwwt-post-date {
            position: absolute;
            bottom: 52px;
            color: #fff;
            display: block;
            background-color: #afafaf;
            padding: 5px 10px;
            font-size: 0.923em; /* 12px */
        }

.widgets-participate {
}
    .widgets-participate .rpwwt-widget li {
        float: left;
        width: 50%;
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 14px;
    }
        @media (max-width: 480px) {
            .widgets-participate .rpwwt-widget li {
                width: 100%;
            }
        }
        .widgets-participate .rpwwt-widget li a {
            position: relative;
            float: left;
            width: 100%;
        }
        .widgets-participate img {
            max-width: 410px !important;
            width: 100% !important;
            height: auto !important;
            max-height: 270px !important;
        }
        .widgets-participate .rpwwt-post-title {
            background-color: #e5e5e5;
            color: #011a41;
            font-size: 1.231em; /* 16px */
            display: block;
            padding: 10px;
            bottom: 0;
            position: absolute;
            line-height: 1;
            min-height: 52px;
            width: 100%;
            max-width: 410px;
        }
        .widgets-participate .rpwwt-post-date {
            position: absolute;
            bottom: 52px;
            color: #fff;
            display: block;
            background-color: #afafaf;
            padding: 5px 10px;
            font-size: 0.923em; /* 12px */
        }

/* 404 Page */
.error404-recent {
    border-top: 1px solid #dcdcdc;
    margin-top: 15px;
}
    .error404-recent h2 {
        color: #004a8b;
    }
    .error404-recent ul {
        padding: 0;
        margin: 5px 0 0 0;
        list-style: none;
    }
    .error404-recent li {
        padding-bottom: 10px;
    }


/* PROMOTER PAGE
-------------------------------------------------------------- */
.promoter-input {
    display: inline-block;
    padding: 7px;
}
.promoter-input input {
    margin-right: 5px;
}
.founders-list {

}


/* PROJECTS LIST PAGE
-------------------------------------------------------------- */
.matrix-view {
    display: none;
}
.list-view img {
    padding: 10px;
    background: #fff;
}

/* PROJECT PAGE
-------------------------------------------------------------- */
.project-img {
    max-width: 220px;
    border: 1px solid #f2f2f2;
    padding: 10px;
}

/* History - timeline
-------------------------------------------------------------- */
.timeline {
}
.timeline-items .lvl-one {
    list-style: none;
    padding: 0;
    margin: -20px 0 0 0;
    width: 100%;
}

.timeline-items .lvl-one > li {
    float: left;
    width: 14.2857%;
}

.timeline-items .lvl-one > li > a {
    text-align: center;
    display: block;
    padding: 10px;
    background: #0490AA;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    font-size: 1.5em;
    line-height: 1;
    transform: skew(5deg) rotate(5deg);
    outline: none;
}
.timeline-items .lvl-one > li:nth-child(even) > a {
    transform: skew(-5deg) rotate(-5deg);
}
.timeline-items .lvl-one > li:nth-child(2) > a {
    background: #02697E;
}
.timeline-items .lvl-one > li:nth-child(3) > a {
    background: #2a93cf;
}
.timeline-items .lvl-one > li:nth-child(4) > a {
    background: #145d9d;
}
.timeline-items .lvl-one > li:nth-child(5) > a {
    background: #343b4e;
}
.timeline-items .lvl-one > li:nth-child(6) > a {
    background: #12151f;
}
.timeline-items .lvl-one > li > a.year-selected,
.timeline-items .lvl-one > li > a:hover {
    background: #f1c230;
}
.timeline-items li:before {
    display: none;
}
.timeline-items .lvl-two {
    display: none;
    list-style: none;
    padding: 0;
    margin: -16px 0 0 0;
    margin-top: 0; /*fix from staging*/
    /*overflow: hidden;*/
    transform: skew(5deg) rotate(5deg);
    min-height: 150px;
    -webkit-transition: all 0.1s ease;
        -moz-transition: all 0.1s ease;
            -o-transition: all 0.1s ease;
            transition: all 0.1s ease;
}
.timeline-items .lvl-one > li:nth-child(even) .lvl-two {
    transform: skew(-5deg) rotate(-5deg);
}
.timeline-items .lvl-two li {
    width: 16.666%;
    /*float: left;*/
    padding: 20px 0 0 0;
    height: 100px;
    background: #e6e7e8;
    /*position: relative;*/
    position: absolute;
}
.timeline-items .lvl-two li:nth-child(2) {
    left: 16.666%
}
.timeline-items .lvl-two li:nth-child(3) {
    left: calc(16.666% * 2);
}
.timeline-items .lvl-two li:nth-child(4) {
    left: calc(16.666% * 3);
}
.timeline-items .lvl-two li:nth-child(5) {
    left: calc(16.666% * 4);
}
.timeline-items .lvl-two li:nth-child(6) {
    left: calc(16.666% * 5);
}
.timeline-items .lvl-two li:nth-child(even) {
    background: #f0f0f1;
}
.timeline-items .lvl-two li:hover,
.timeline-items a.year-selected ~ ul li.month-selected {
    background: #343b4e;
}
.timeline-items .lvl-two li:hover a,
.timeline-items a.year-selected ~ ul li.month-selected a {
    color: #fff;
}
.timeline-items .lvl-two li:nth-child(even):hover,
.timeline-items a.year-selected ~ ul li.month-selected:nth-child(even) {
    background: #12151f;
}
.timeline-items .lvl-two li:nth-child(even):hover a,
.timeline-items a.year-selected ~ ul li.month-selected:nth-child(even) a {
    color: #fff;
}
.timeline-items .lvl-two li div {
    display: none;
    width: 290px;
    /*top: 110px;*/
    left: 35px;
    position: absolute;
    padding: 10px;
    background: #fff;
    border: 1px solid #ececec;
}
.timeline-items .lvl-one > li:nth-child(odd) div {
    transform: skew(-5deg) rotate(-5deg);
}
.timeline-items .lvl-one > li:nth-child(even) div {
    transform: skew(5deg) rotate(5deg);
    top: 56px;
}
.timeline-items .lvl-one > li:nth-child(n+5) div {
    left: auto;
    right: 35px;
    top: 60px;
}
.timeline-items .lvl-one > li:nth-child(6) div {
    top: 25px;
}
.timeline-items .lvl-two li a {
    transform: rotate(-90deg);
    display: block;
    text-decoration: none;
    color: #000;
    width: 100px;
    padding-left: 10px;
    position: absolute;
    left: -38px;
    bottom: 40px;
    outline: none;
}
@media (max-width: 991px) {
    .timeline-items .lvl-two li a {
        left: -42px;
    }
    .timeline-items .lvl-two li div {
        width: 190px;
    }
}
@media (max-width: 768px) {
    .timeline-items .lvl-two li div {
        width: 150px;
    }
}
@media (max-width: 600px) {
    .timeline-items .lvl-two li div {
        width: 140px;
        left: 20px;
    }
}
@media (max-width: 459px) {
    .timeline {
        display: none;
    }
}

/* JU MEMBERS PAGE
-------------------------------------------------------------- */
.ju-members a {
    text-decoration: none;
}
    .ju-members a:hover{
        color: #44c7f5;
    }


/* ORGANIGRAM PAGE
-------------------------------------------------------------- */
.organigram {
    color: #fff;
    text-align: center;
}
    @media (max-width:767px) {
        .organigram {
            background: url(imgs/organigram-mobile-lines.png) no-repeat 140px 68px;
            background-size: initial;
        }
        .organigram > .row:first-child {
            margin-bottom: 7px;
        }
        .organigram > .row:first-child p {
            display: none;
        }
        .organigram .row-last {
            margin-top: -15px;
        }
    }
    .organigram .item--top,
    .organigram .item--left,
    .organigram .item--right {
        width: 240px;
        display: block;
    }
    .organigram .item--left,
    .organigram .item--right {
        font-size: 1.1em;
        line-height: 67px;
        height: 67px;
    }
    .organigram .item--top {
        font-size: 1.5em;
        line-height: 100px;
        background: url(imgs/organigram-top.png) no-repeat center;
        height: 100px;
        margin: auto;
    }
        @media (max-width:767px) {
            .organigram .item--top {
                margin: 0;
            }
        }

    .organigram .item--left {
        background: url(imgs/organigram-left.png) no-repeat center;
    }
    .organigram .item--right {
        background: url(imgs/organigram-right.png) no-repeat center;
    }
    .organigram .line--left,
    .organigram .line--right {
        height: 1px;
        width: 50%;
        border-top: 1px dotted #000;
        position: relative;
        margin: 20px 0;
    }
        @media (max-width:767px) {
            .organigram .line--left,
            .organigram .line--right {
                display: none;
            }
        }
    .organigram .line--left {
        float: right;

    }
        .organigram .line--left:after {
            content: "";
            display: block;
            height: 18px;
            border-left: 1px dotted #000;
            position: absolute;
            right: 0;
            bottom: 0;
        }
        .organigram .line--left:before {
            content: "";
            display: block;
            height: 17px;
            border-left: 1px dotted #000;
            position: absolute;
            left: 0;
        }
    .organigram .line--right {
        float: left;

    }
        .organigram .line--right:before {
            content: "";
            display: block;
            height: 17px;
            border-left: 1px dotted #000;
            position: absolute;
            left: 0;
            bottom: 0;
        }
        .organigram .line--right:after {
            content: "";
            display: block;
            height: 18px;
            border-left: 1px dotted #000;
            position: absolute;
            right: 0;
        }
    .organigram .line--middle {
        height: 17px;
        border-left: 1px dotted #000;
        width: 1px;
        margin: 3px auto -11px auto;
    }
        @media (max-width:767px) {
            .organigram .line--middle {
                display: none;
            }
        }
    .organigram a {
        color: #fff;
        text-decoration: none;
    }

/* new organigram */
.org-bg-blue {
    margin: 15px 0 15px 0;
    background: #1D75B8;
    color: #fff;
    padding: 10px 20px 20px 20px;
    position: relative;
}
.orb-box-blue {
    background: #2EA9DE;
    padding: 10px;
    border-radius: 4px;
    position: relative;
}
.org-blank {
    padding: 10px 5px;
}
.org-title {
    background: #1C1548;
    display: block;
    color: #fff;
    text-decoration: none !important;
    text-align: center;
    padding: 10px 5px;
    border-radius: 3px;
}
a.org-title:hover {
    color: #fff;
    background: #004A8B;
}
@media screen and (min-width: 768px) {
    .orb-box-blue {
        margin-top: 20px;
    }
    .orb-box-blue:before {
        content:"";
        width: 6.3%;
        margin: auto;
        position: absolute;
        left: -6.5%;
        border-left: 1px solid #fff;
    }
    .col-sm-4:nth-child(1) .orb-box-blue:after {
        content: "";
        width: 20px;
        margin: auto;
        top: 15%;
        position: absolute;
        right: -10px;
        border-top: 1px dashed #fff;
    }
    .col-sm-4:nth-child(2) .orb-box-blue:before, .col-sm-4:nth-child(3) .orb-box-blue:before {
        height: 100px;
        top: -40px;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }
    .org-title:hover {
        color: #fff;
        background: #1C1548;
    }
    .col-sm-6 .org-title:after {
        content: "";
        height: 30px;
        width: 1px;
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
        border-left: 1px solid #1C1548;
        bottom: -30px;
    }
    .col-sm-4 .org-title:after {
        content: "";
        width: 1px;
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
        border-left: 1px solid #fff;
    }
    .col-sm-4:nth-child(2) .org-title:after {
        height: 44px;
        top: -44px;
    }
    .col-sm-4 .org-title:before, .col-sm-4 .org-blank:before {
        content: "";
        height: 1px;
        margin: auto;
        position: absolute;
        border-top: 1px solid #fff;
        top: -20px;
    }
    .col-sm-4:nth-child(1) .org-blank:before {
        width: 20%;
        right: 0;
        border-left: 1px solid #fff;
        height: 42%;
    }
    .col-sm-4:nth-child(2) .org-title:before {
        width: 120%;
        left: -10%;
        right: 0;
    }
    .col-sm-4:nth-child(3) .org-title:before {
        width: 20%;
        left: 0;
        border-right: 1px solid #fff;
        height: 20px;
    }
}
@media screen and (max-width: 768px) {
    .org-bg-blue {
        padding: 20px 40px;
    }
    .org-bg-blue:before {
        content: "";
        width: 20px;
        margin: auto;
        position: absolute;
        left: 20px;
        top: 0;
        height: 69%;
        border-left: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }
    .org-bg-blue:after {
        content: "";
        width: 20px;
        margin: auto;
        position: absolute;
        left: 20px;
        top: 18%;
        height: 19.5%;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }
    .org-blank {
        display: none;
    }
    .col-sm-4 .org-title {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .col-sm-6 .org-title:after {
        content: "";
        height: 100%;
        width: 1px;
        margin: auto;
        position: absolute;
        left: 35px;
        border-left: 1px solid #1C1548;
        bottom: -100%;
    }
    .col-sm-4 .org-title:after {
        content: "";
        width: 20px;
        margin: auto;
        position: absolute;
        right: -5px;
        border: 1px solid #fff;
        border-left: 0;
        height: 55%;
        top: 13%;
    }
    .col-sm-4:nth-child(1) .orb-box-blue:after {
        content: "";
        width: 50px;
        margin: auto;
        position: absolute;
        right: -20px;
        border: 1px dashed #fff;
        border-left: 0;
        border-bottom: 0;
        height: 118%;
        top: 15%;
    }
}
.org-item {
   border: 1px solid #e2e2e2;
    margin-bottom: 13px;
    padding: 12px;
    border-radius: 4px;
}
.org-item .col-sm-9 a {
   font-weight: bold;
   font-size: 16px;
   text-decoration: none;
}
.org-item .row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
}


/* PARTICIPATE PAGE
-------------------------------------------------------------- */
.inno-pr {
    padding-top: 20px;
}
.inno-pr .btn {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 0;
    border-radius: 0;
    border: 0;
    background: #f4f4f4;
    font-weight: bold;
    font-size: 1.25em;
    border-bottom: 2px solid #ccc;
}
    .inno-pr .col-sm-2:nth-child(1) .btn {
        border-bottom-color: #FCC92D;
    }
    .inno-pr .col-sm-2:nth-child(2) .btn {
        border-bottom-color: #7CC04A;
    }
    .inno-pr .col-sm-2:nth-child(3) .btn {
        border-bottom-color: #ED5A31;
    }
    .inno-pr .col-sm-2:nth-child(4) .btn {
        border-bottom-color: #E33771;
    }
    .inno-pr .col-sm-2:nth-child(5) .btn {
        border-bottom-color: #662F8E;
    }
    .inno-pr .col-sm-4:nth-child(1) .btn {
        border-bottom-color: #50C9F3;
    }

/* EVENTS LIST + PAGE
-------------------------------------------------------------- */
.events-list {
}
    .events-list .ajde_evcal_calendar .evcal_month_line p {
        font-size: 1.538em; /* 20px */
        margin-top: 20px !important;
    }

.event-img img {
    width: 100%;
    margin-bottom: 20px;
}

/* EVENTS CALENDAR FOOTER
-------------------------------------------------------------- */
.footer-one--calendar .calendar_header {
    background: #004a8b;
    height: auto !important;
    margin-bottom: 0 !important;
}

.footer-one--calendar .evo_month_title {
    width: 100% !important;
    text-align: center !important;
    color: #fff !important;
    padding-bottom: 5px !important;
    height: 24px !important;
    text-transform: capitalize !important;
    position: relative;
}
    .footer-one--calendar .evo_month_title span {
        position: absolute;
        margin: auto;
        top: 1px;
        left: 0;
        right: 0;
        bottom: 0;
    }
.footer-one--calendar .evcal_event_title,
.footer-one--calendar .evcal_event_subtitle {
    text-transform: none !important;
}

.footer-one--calendar .evo_arrows {
    position: absolute !important;
    top: 12px;
    width: 100% !important;
    z-index: 1;
}

    .footer-one--calendar .evcal_arrows i {
        color: #004a8b !important;
    }

    .footer-one--calendar .evcal_btn_next {
        float: right !important;
    }
    .footer-one--calendar .evcal_btn_prev {
        float: left !important;
        margin-left: 0 !important;
    }

.footer-one--calendar .evo_fc_day.on_focus {
    border-top-color: #F7F7F7 !important;
}

.footer-one--calendar .evo_cal_above {
    position: absolute;
    right: 0;
    top: -32px;
}

.footer-one--calendar #eventon_loadbar_section {
    margin-top: 0 !important;
}

.footer-one--calendar .eventon_fullcal {
    padding: 5px 10px 10px;
}


/* FOOTER
-------------------------------------------------------------- */
.footer-one {
    padding-bottom: 90px;
    background: url(imgs/bg-footer.png) no-repeat center bottom;
    margin-top: 50px;
}

    .footer-one .col-sm-4 {
        padding-bottom: 10px;
        overflow: hidden;
    }

    .footer-one h3 {
        color: #004a8b;
    }

    .footer-one--calendar {
    }
        .footer-one--calendar .ajde_evcal_calendar {
            background-color: #fafafa;
            padding: 0;
        }
        .footer-one--calendar .calendar_header {
            padding: 14px 0 10px !important;
        }

    .footer-one--form {
        padding: 20px;
        background-color: #fafafa;
        color: #072a6b;
    }
        .footer-one--form .row {
            padding-bottom: 10px;
        }
        .footer-one--subtitle {
            color: #3c3c3c;
        }
        .footer-one--radios label {
            margin-right: 5px;
            font-weight: normal;
        }


.footer-two {

    margin-top: 60px;

}
    .footer-two p,
    .footer-two a {
        color: #6c6c6c;
    }
    .footer-two p {
        padding: 20px 0;
        margin: 0;
    }
    .footer-two a {
        text-decoration: underline;
    }


/* BREADCRUMBS
-------------------------------------------------------------- */
.breadcrumb {
    padding: 5px 0;
    margin: 0;
    background: none;
    border-bottom: 1px solid #e2e2e2;
}


/* HELPERS
-------------------------------------------------------------- */
.bg-gray-light {
    background-color: #f7f7f7;
}
.border-bottom-gray {
    border-bottom: 4px solid #e5e5e5;
}
.border-top-gray {
    border-top: 4px solid #e5e5e5;
}
.clear {
    clear: both;
}
.overflow-h {
    overflow: hidden;
}
.divider {
    border-bottom: 1px solid #e5e5e5;
    padding-top: 20px;
    margin-bottom: 20px;
    clear: both;
}
.img-wrap img {
    width: 100%;
    height: 100%;
}
img {
    max-width: 100%;
    height: auto;
}
.thumbnail-wrap img {
    max-width: 280px;
    height: 100%;
}
.pad-bot {
    padding-bottom: 20px;
}
.pad-hbot {
    padding-bottom: 10px;
}
.pad-top {
    padding-top: 20px;
}
.pad-htop {
    padding-top: 10px;
}
.pad-left {
    padding-left: 20px;
}
.pad-right {
    padding-right: 20px;
}
.space-bot {
    margin-bottom: 20px;
}
.space-hbot {
    margin-bottom: 10px;
}
.space-top {
    margin-top: 20px;
}
.space-htop {
    margin-top: 10px;
}
.space-left {
    margin-left: 20px;
}
.space-right {
    margin-right: 20px;
}
.width-full {
    width: 100%;
}
.text-center {
    text-align: center;
}
.text-deco-none {
    text-decoration: none !important;
}
.padded-list > li {
    padding-bottom: 15px;
}

@media (min-width: 768px) {
    .d-tright {
        text-align: right !important;
    }
    .d-tleft {
        text-align: left !important;
    }
}
@media (max-width: 767px) {
    .hide-u-767 {
        display: none;
    }
    .r-tright {
        text-align: right !important;
    }
    .r-tleft {
        text-align: left !important;
    }
}


/* BUTTONS
-------------------------------------------------------------- */
.btn {
    text-decoration: none !important;
}
.btn-blue,
input.btn-blue {
    color: #fff;
    background: url(imgs/button-blue.png) no-repeat left center;
    border: 0;
    border-radius: 0;
    padding: 0 15px 15px 35px;
    display: inline-block;
    height: 30px;
    text-shadow: none;
    box-shadow: 0 0 0;
    min-width: 150px;
    text-align: center;
    line-height: 30px;
    text-decoration: none !important;
}
    .btn-blue:hover,
    input.btn-blue:hover {
        background: url(imgs/button-blue.png) no-repeat left center;
        color: #fff;
    }

.btn-cyan {
    color: #fff;
    background: url(imgs/button-cyan.png) no-repeat left center;
    border: 0;
    border-radius: 0;
    padding: 0 0 0 15px;
    height: 24px;
    text-shadow: none;
    display: inline-block;
    box-shadow: 0 0 0;
    min-width: 150px;
    text-align: center;
    line-height: 24px;
    text-decoration: none !important;
}

.btn-gray {
    color: #fff;
    background: url(imgs/button-gray.png) no-repeat left center;
    border: 0;
    border-radius: 0;
    padding: 0 0 0 15px;
    height: 18px;
    text-shadow: none;
    display: inline-block;
    box-shadow: 0 0 0;
    min-width: 100px;
    text-align: center;
    line-height: 18px;
    text-decoration: none !important;
}





/* responsive table */

.responsive-table {
    width: 100%;
    margin-bottom: 1.5em;
}
@media (min-width: 48em) {

    .responsive-table {
        font-size: 0.9em;
    }
}
@media (min-width: 62em) {

    .responsive-table {
        font-size: 1em;
    }
}
.responsive-table thead {
    position: absolute;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
}
@media (min-width: 48em) {

    .responsive-table thead {
        position: relative;
        overflow: auto;
        clip: auto;
        width: auto;
        height: auto;
    }
}
.responsive-table thead th {
    font-weight: normal;
    color: white;
    border: 1px solid #004a8b;
    background-color: #004a8b;
}
.responsive-table thead th:first-of-type {
    text-align: left;
}
.responsive-table tbody,
.responsive-table tr,
.responsive-table th,
.responsive-table td {
    display: block;
    padding: 0;
    text-align: left;
    white-space: normal;
}
.responsive-table  tr.empty td {
    padding: 1px;
    background-color: #E6E6E6;
}
.responsive-table tbody tr td a:hover {
    color: #44c7f5;
}
.responsive-table img {
    max-width: 190px;
    display: inline-block;
    border: 1px solid #fff;
}

@media (min-width: 48em) {

    .responsive-table tr {
        display: table-row;
    }
}
.responsive-table th,
.responsive-table td {
    padding: 0.5em;
    vertical-align: middle;
}
@media (min-width: 30em) {

    .responsive-table th,
    .responsive-table td {
        padding: 0.75em 0.5em;
    }
}
@media (min-width: 48em) {

    .responsive-table th,
    .responsive-table td {
        display: table-cell;
        padding: 0.5em;
    }
    .responsive-table tbody tr {
        border-right: 0 !important;
        border-left: 0 !important;
    }
}
@media (max-width: 767px) {

    .responsive-table tr.empty,
    .responsive-table tr.empty td {
        border-color: #fff;
        background-color: #fff;
    }
    .responsive-table.ju-members img {
        display: block;
        margin: auto;
    }
}
@media (min-width: 767px) {
    .responsive-table tbody tr:hover,
    .responsive-table tbody tr:hover th,
    .responsive-table tbody .t-hover,
    .responsive-table tbody tr:hover a,
    .responsive-table tbody tr:hover th a,
    .responsive-table tbody .t-hover a,
    .responsive-table tbody .t-hover-s td:first-child,
    .responsive-table tbody .t-hover-s td:first-child a,
    .responsive-table tbody .t-hover-s td:nth-child(2),
    .responsive-table tbody .t-hover-s td:nth-child(2) a,
    .responsive-table tbody .t-hover-s th:nth-child(1),
    .responsive-table tbody .t-hover-s th:nth-child(1) a,
    .responsive-table tbody .t-hover-s th:nth-child(2),
    .responsive-table tbody .t-hover-s th:nth-child(2) a {
        background: #FAFAFA !important;
        // color: #44c7f5 !important;
    }
    .responsive-table tbody tr:hover img,
    .responsive-table tbody .t-hover img,
    .responsive-table tbody .t-hover-s td:first-child img {
        border-color: #f2f2f2;
    }
}
@media (min-width: 62em) {

    .responsive-table th,
    .responsive-table td {
        padding: 0.75em 0.5em;
    }
}
@media (min-width: 75em) {

    .responsive-table th,
    .responsive-table td {
        padding: 0.75em;
    }
}
.responsive-table caption {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 1em;
    text-align: center;
}
@media (min-width: 48em) {

    .responsive-table caption {
        font-size: 1.5em;
    }
}
.responsive-table tfoot {
    font-size: 0.8em;
    font-style: italic;
}
@media (min-width: 62em) {

    .responsive-table tfoot {
        font-size: 0.9em;
    }
}
@media (min-width: 48em) {

    .responsive-table tbody {
        display: table-row-group;
    }
}
.responsive-table tbody tr {
    margin-bottom: 1em;
    border: 2px solid #f5f5f5;
}
@media (min-width: 48em) {

    .responsive-table tbody tr {
        display: table-row;
        border-width: 1px;
    }
}
.responsive-table tbody tr:last-of-type {
    margin-bottom: 0;
}
@media (min-width: 48em) {

    .responsive-table tbody tr:nth-of-type(even) {
        /*background-color: #f5f5f5;*/
    }
}
.responsive-table tbody th[scope="row"] {
    color: white;
    background-color: #004a8b;
}
@media (min-width: 48em) {

    .responsive-table tbody th[scope="row"] {
        text-align: left;
        color: #5e5d52;
        background-color: transparent;
    }
}
.responsive-table tbody td {
    text-align: left;
}
@media (min-width: 30em) {

    .responsive-table tbody td {
        border-bottom: 1px solid #E6E6E6;
    }
}
@media (min-width: 48em) {

    .responsive-table tbody td {
        text-align: left;
    }
}
.responsive-table tbody td[data-type=currency] {
    text-align: right;
}
.responsive-table tbody td[data-title]:before {
    font-size: 0.8em;
    content: attr(data-title);
    color: rgba(94, 93, 82, 0.75);
    display: block;
}
@media (min-width: 30em) {

    .responsive-table tbody td[data-title]:before {
        font-size: 0.9em;
    }
}
@media (min-width: 48em) {

    .responsive-table tbody td[data-title]:before {
        content: none;
    }
}

/* r&i table */
.ri-table { }
.ri-table thead tr, .ri-table thead th { background: #f4f4f4; border-color: #f4f4f4; font-weight: bold; }
.ri-table thead tr th { border-top:  2px solid #f4f4f4; }
.ri-table thead tr th:nth-child(2) { border-top-color: #fcc92d; }
.ri-table thead tr th:nth-child(3) { border-top-color: #7cc04a; }
.ri-table thead tr th:nth-child(4) { border-top-color: #ed5a31; }
.ri-table thead tr th:nth-child(5) { border-top-color: #cc0000; }
.ri-table thead tr th:nth-child(6) { border-top-color: #662f8e; }
.ri-table thead tr th:nth-child(7) { border-top-color: #011a41; }
.ri-table thead tr th:nth-child(8) { border-top-color: #00ccff; }
.ri-table a { text-decoration: none; font-weight: bold; }
@media (min-width: 768px) {
    .ri-table th:nth-child(n+2), .ri-table td:nth-child(n+2) { text-align: center; line-height: 2em; }
    .ri-table thead tr th:nth-child(1) { width: 20%; }
    .ri-table thead tr th:nth-child(n+2) { width: 11.3%; }
    .ri-table tbody td { border-bottom-width: 2px; }
    .ri-table tbody tr:last-child td:nth-child(2) { border-bottom: 2px solid #fcc92d; }
    .ri-table tbody tr:last-child td:nth-child(3) { border-bottom: 2px solid #7cc04a; }
    .ri-table tbody tr:last-child td:nth-child(4) { border-bottom: 2px solid #ed5a31; }
    .ri-table tbody tr:last-child td:nth-child(5) { border-bottom: 2px solid #cc0000; }
    .ri-table tbody tr:last-child td:nth-child(6) { border-bottom: 2px solid #662f8e; }
    .ri-table tbody tr:last-child td:nth-child(7) { border-bottom: 2px solid #011a41; }
    .ri-table tbody tr:last-child td:nth-child(8) { border-bottom: 2px solid #00ccff; }
}


/* Responsive Video
-------------------------------------------------------------- */
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Pagination
-------------------------------------------------------------- */
.navigation.nav-archive ul {
    text-align: center;
}
.navigation.nav-archive li a,
.navigation.nav-archive li a:hover,
.navigation.nav-archive li.active a,
.navigation.nav-archive li.disabled {
    color: #fff;
    text-decoration:none;
    border: 1px solid #ccc;
    padding: 6px 10px;
}
.navigation.nav-archive li {
    display: inline;
}
.navigation.nav-archive li a,
.navigation.nav-archive li a:hover,
.navigation.nav-archive li.active a,
.navigation.nav-archive li.disabled {
    border-radius: 3px;
    cursor: pointer;
    color: #333;
    background-color: #fff;
    // margin: 5px 2px !important;
    display: inline-block;
}
.navigation.nav-archive li a:hover,
.navigation.nav-archive li.active a {
    background-color: #135e94;
    border-color: #135e94;
    color: #fff;
}
.navigation.nav-archive.row .pull-left,
.navigation.nav-archive.row .pull-right {
    margin: 0;
}


/* SITEMAP (PS AUTO SITEMAP PLUGIN)
-------------------------------------------------------------- */
#sitemap_list {
    padding: 0;
    margin: 0;
}
#sitemap_list a {
    text-decoration: underline;
}
#sitemap_list > li {
    list-style: none;
    padding: 0;
    margin-left: 0;
    margin-bottom: 20px;
}
#sitemap_list > li > a {
    font-size: 1.231em;
    line-height: 1.1em;
}
#sitemap_list .children,
#sitemap_list .page_item_has_children {
    padding-left: 20px;
}
#sitemap_list .page_item_has_children {
    padding-bottom: 5px;
}
#sitemap_list .children > li,
#sitemap_list .page_item_has_children > li {
    list-style: none;
    margin: 5px 0;
}
#sitemap_list .children > li:before,
#sitemap_list .page_item_has_children > li:before {
    font-family: 'FontAwesome';
    content: '\f105';
    margin: 0 5px 0 -15px;
}
#sitemap_list .posts_in_category {
    display: inline-block;
    margin-left: 5px;
}
#sitemap_list .posts_in_category a {
    text-decoration: none;
}
#sitemap_list .posts_in_category a:before {
    content: "(";
}
#sitemap_list .posts_in_category a:after {
    content: ")";
}

/* PLUGINS
-------------------------------------------------------------- */

/* AddThis Toolbox */
.addthis_toolbox {
    padding-top: 20px;
}


/* Boostrap Collapse Accordion
-------------------------------------------------------------- */
.panel-title a {
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    color: #004a8b;
}


/* Misc
-------------------------------------------------------------- */
.sidebar.align-fix {
    padding-top: 14px;
}

/* PRINT
-------------------------------------------------------------- */

@media print {
    header img.logo {
        width: 150px;
    }
    header a:after {
        display: none;
        text-align: center;
    }
    header .col-sm-3.col-xs-6 {
        width: 100%;
        text-align: center;
    }
    header > div:first-child,
    #searchform,
    .footer-one,
    footer p.pull-right,
    .addthis_toolbox,
    .navigation.pagination,
    a.btn[rel=prev],
    a.btn[rel=next],
    .widget-area.sidebar,
    .slider,
    .logo-eu,
    .sidebar-content,
    .timeline {
        display: none !important;
    }
    .container,
    .content .col-sm-8,
    .content-in {
        width: 100% !important;
    }
    .breadcrumb a:after {
        content: "";
    }
    .content-wrap {
        padding-top: 0;
    }
    .responsive-table td,
    .responsive-table th {
        display: table-cell !important;
    }
    .responsive-table tr {
        display: table-row !important;
    }
    .responsive-table img {
        width: 140px;
    }
    .responsive-table thead {
        position: relative;
        height: auto;
        width: auto;
    }
    .responsive-table td:before {
        content: "" !important;
    }
    .responsive-table tbody th[scope="row"] {
        background: #fff;
    }
    .responsive-table tbody {
        display: table-row-group;
    }
    .content-in .nav-tabs li.active a {
        text-align: left;
        display: block;
    }
    .content-in .nav-tabs li a {
        display: none;
    }
    .responsive-table tbody td {
        padding: 5px;
    }
    tr.row-title > td:first-child a:after {
        content: "" !important;
    }
    .responsive-table thead th {
        border-color: #E6E6E6;
    }
    .tab-content.space-bot {
       padding-bottom: 0;
    }
    footer .col-xs-6 {
        text-align: center;
        width: 100%;
    }
    .home .widget-area.sidebar {
        display: block;
    }
    .home .widgets-home {
        border-bottom: 4px solid #e5e5e5;
       padding-bottom: 30px;
    }
    .home .widgets-home .col-sm-6 {
        width: 50%;
        float: left;
    }
    .home .widgets-home .col-sm-6 .border-bottom-gray {
        border-bottom: 0;
    }
    .widgets-home .rpwwt-post-title,
    .widgets-home .rpwwt-post-date {
        position: relative;
        bottom: auto;
        float: left;
        clear: both;
    }
    .widgets-home .recent-posts-widget-with-thumbnails img {
        display: inline-block;
        height: auto;
        float: left;
        clear: both;
    }

}

/* TWN 
--------- */

.home-boxes {
    display: flex;
    flex-wrap: wrap;
    margin:  0 -1.75em;
}

.home-boxes .wrap--box{
    width: 100%;
    height: 25vh;
    padding:0 1.75em;
    border-radius: 5px;

}
.home-boxes .home-box{
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;

}

@media (min-width: 768px) { 
    .home-boxes .wrap--box {
        width: calc(100% / 2);
        margin: 1.75em 0;
    }
}

@media (min-width: 1024px) { 
    .home-boxes .wrap--box{
        width: calc(100% / 4);
        margin-bottom:1rem;
    }
} 

.home-boxes:not(.light) .home-box h4 a {
    font-size: 1.5em;
    color: white;   
    font-weight: 700;
    padding: .8em;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
}

.home-boxes .home-box h4 a:hover img {
    margin-left: 1.5em;
}

.home-boxes .home-box h4 {
    margin-bottom: 0;
    height: 100%;
    width: 100%;
    display: block;
}

.home-boxes.light .home-box {
    width: calc(33.33% - 2em);
    margin: 0 3em 0 0;
    border-radius: 5px;
    height: 17.5vh;
    box-shadow: 0px 1px 3px 1px rgba(0,0,0,.1);
    background: white !important; 
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0;
}

.home-boxes.light .home-box h4 {
    font-size: 1.25em;
    margin-bottom: 0;
}

.home-boxes.light .home-box h4 a{
    display: flex;
    padding-left: .5em;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.home-boxes.light .home-box > a {
    height: 100%;
    padding: .75em .75em .75em 1.25em;
    display: block;
}
.home-boxes.light .home-box > a img {
    height: 100%;
}
.home-boxes .home-box a img {
    transition: .3s all;
}

.home-boxes .wrap--box:last-child .home-box {
    /* margin-right: 0; */
    background: linear-gradient(to bottom, rgba(255,255,255,0.14) 10%, rgba(1,26,65,.7) 100%), url(images/our_innovations.png) center center no-repeat;
    background-size: cover;
}

.home-boxes .wrap--box:first-child .home-box{
    background: linear-gradient(to bottom, rgba(255,255,255,0.14) 10%, rgba(1,26,65,.7) 100%), url(images/box-1.png) center center no-repeat;
    background-size: cover;
}
.home-boxes .wrap--box:nth-child(2) .home-box{
    background: linear-gradient(to bottom, rgba(255,255,255,0.14) 10%, rgba(1,26,65,.7) 100%), url(images/box-2.png) center center no-repeat;
    background-size: cover;
}
.home-boxes .wrap--box:nth-child(3) .home-box{
    background: linear-gradient(to bottom, rgba(255,255,255,0.14) 10%, rgba(1,26,65,.7) 100%), url(images/box-3.png) center center no-repeat;
    background-size: cover;
}

.flexible-content.home {
    margin: 0;
}

.flexible-content.home section.slider {
    padding-top: 0;
    padding-bottom: 0;
}

.flexible-content.home section.slider .slider {
    margin-bottom: 0;
}

.flexible-content.home section.slider .slider .slide {
    position: relative;
    display: block;
    cursor: pointer;
}

.flexible-content.home section.slider .slider .slide > a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.flexible-content.home section.slider .slider .slide:after {
    display:block;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    left: 0;
    /*background-image: linear-gradient(to left, rgba(255,255,255,0.00) 0%, rgba(1,26,65,0.75) 100%);
    background-size: cover;*/
    pointer-events: none;
}

.flexible-content.home section.slider .slider .owl-dots {
    position: absolute;
    z-index: 999;
    right: 2em;
    bottom: 2em;
}

.flexible-content.home section.slider .slider .owl-dots .owl-dot.active span {
    background: #9DCC4E;
}

.flexible-content.home section.slider .slider .slide .title {
    z-index: 999;
    background: none;
    height: 100%;
    color: white;
    width: 50%;
    align-items: center;
    justify-content: flex-start;
    font-size: 3em;
    line-height: 1.1em;
}

.flexible-content.home section.slider .slider .slide video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.flexible-content.home section.slider .slider .slide .title div a {
    color: white;
}

.flexible-content.home section.slider .slider .slide .title div a.button {
    display: inline-block;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 2em;
    background: #9DCC4E;
    border-radius: 5px;
    color: rgba(1,26,65,1);
    padding: .25em 2em;
    text-transform: uppercase;
}

.flexible-content.home section.slider .slider .slide .title span {
    display: block;
    font-weight: 300;
    font-size: 2.5rem;
    margin-top: 1em;
    line-height: 1.75rem;
    font-weight: 500;
}

.home .news-container {
    display: flex;
    align-items: flex-start;
    margin-top: 4em;
}

.home .news {
    padding-right: 1.5em;
}

.home .events {
    padding-left: 1.5em;
}

.home .news, .home .events {
    width: 50%;
}

.news h2, .home .events h2, .cal-map .map h2  {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #110C2B;
    margin-bottom: 1em;
    margin-top: 0;
}



.home .news .home-post, .home .events .home-event {
    padding: .5em 1.5em;
    margin: 0 0 2em 0;
    box-shadow: 0px 1px 3px 1px rgba(0,0,0,.1);
    border-radius: 5px;
}

.news .home-post h3, .home .events .home-event h3 {
    margin-bottom: .5em;
}

.news .home-post h3 a, .home .events .home-event h3 a {
    color: #007CA3;
    font-size: 1.5rem;
}
.home .events .home-event h3 a {
    text-transform: uppercase;
}

.news .home-post .date {
    color: #9DCC4E;
    text-transform: uppercase;
    margin: 0 0 .5em 0;
}
.home .news .home-post .excerpt a {
    white-space: nowrap;
}
.home .events .home-event .event-meta {
    display: flex;
    justify-content: flex-start;
    margin: .5em 0;
}
.home .events .home-event .date {
    color: #9DCC4E;
    text-transform: uppercase;
    margin: 0 1.5em .5em 0;
}
.home .events .home-event .location {
    font-weight: 700;
    float-right;
}

.home .events .home-event .location img {
    margin-right: 1.5em;
    width: 15px;
}

.home-newsletter {
    font-weight: 400;
    font-size: .8em;
    color: white;
    cursor: pointer;
    display: inline-flex;
    padding: 0 2em;
}

.home-newsletter a {
    color: white;
    text-transform: uppercase;
}

.home-newsletter img {
    margin-left: 1em;
    width: 20px;
}

.home h4 {font-size: 1em;}
.home h4 img {
    margin-left: 1em;
    width: 20px;
}

.home .calendar {
    width: 33.33%;
}

.home .calendar .eventon_fullcal .eventon_fc_days .evo_fc_day.on_focus {
    background-color: #110C2B;
    color: #9DCC4E;
    font-weight: 700;
}

.home .calendar .ajde_evcal_calendar #evcal_head.calendar_header #evcal_cur {
    font-size: 2em;
}

.home .calendar .ajde_evcal_calendar #evcal_head.calendar_header #evcal_cur, .home .calendar .ajde_evcal_calendar .evcal_month_line p {
    color: #110C2B;
    font-family: 'Gotham';
}

.home .calendar .eventon_fullcal .eventon_fc_daynames .evo_fc_day{
    color: #110C2B;
    font-family: 'Gotham';
}

.home .calendar .eventon_fc_days .evo_fc_day {
    color: #110C2B;
    font-family: 'Gotham';
}
.home .calendar .eventon_fc_days, .eventon_fc_daynames, .home .calendar .eventon_fullcal .evo_fc_day.br, .home .calendar .eventon_fullcal .evo_fc_day.bb, .home .calendar .eventon_fullcal .evo_fc_day, .home .calendar .eventon_fc_days, .home .calendar .eventon_fc_daynames {
    border-color: #efefef;
}

.home .calendar .eventon_events_list {display: none;}

.home .calendar .eventon_fullcal {border: 0; padding: 0;}

.cal-map {
    display: flex;
    align-items: stretch;
    margin-top: 3em;
    margin-bottom: 3em;
}

.cal-map .calendar {
    padding-left: 1.5em;
}

.cal-map .map {
    padding-right: 1.5em;
}

.members-header {
    background: #011a41;
    padding: 0 1.5em;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.members-header .signup {
    align-self: stretch;
    display: flex;  
    align-items: center;
    transition: .3s all;
    background: #9DCC4E;
}

.members-header .signup a {
    color: #404040;
}

.members-header .signup a:hover {
    color: #040404;
}

.members-header .social{
    padding: 1em;
    background:#EFEFEF;
    display: flex;
}
.members-header a{
    color:white;
    padding: .5em 0;
    display: block;
}
.members-header a img{
    width: 25px;
    display: block;
    height: 25px;
    border-radius: 25px;
    margin-right: 1em;
    transition: .25s all;
}
.members-header a:hover{
    color:#9DCC4E;
}
.members-header a:hover img{
    transform: scale(1.05);
}
.members-header > a {
    margin-left: 2em;
}
.members-header .social a:last-child img{
    margin-right: 0em;
}


.home .map {  width:66.66%; flex-shrink: 0;}
.home #map {  width:100%; height: calc(100% - 3em);}
.home #map-info {
    column-count: 2;
    font-size:.90em;
    padding: 2em;
    column-gap: 4em;
    column-break-inside: avoid;
}
.home .city {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1em;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}
.home .city ul {
    margin-left: 2em;
    width: 75%;
    font-weight:300;
    font-size: 1em;
}
.home .city li {
}
.home h6 {
    margin: 2em 2em -2em;
    font-style: italic;
    font-weight: bold;
    padding:1em;
    border: 1px solid #ddd;
    display: inline-block;
}
.home h1 {
    text-transform: uppercase;
    color:#378DD8;
    padding:.5em;
    font-weight: bold;
    text-align: center;
}
.home .city h3 {
    width: 25%;
    margin:0;
    background: #DA3532;
    color: white;
    border-radius: 3px;
    padding: .5em;
    font-size: 1em;
    font-weight: 400;
    cursor: pointer;
    box-sizing: border-box;
    display: inline-block;
}
.home .city li.member {
    font-weight: bold;
    color: #0A0A26;
}
.home .country h2 {
    background: #378DD8;
    border-radius: 3px;
    color: white !important;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 1.25em;
    padding: .5em;
}

.home #map-info .country {
}
.home .marker {
    display: block;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
}
.home .mapboxgl-canvas-container {
    height: 60vh;
}
.home .mapboxgl-popup-content {
    padding: .5em 1em 2em;
    max-width: 500px;
}
.home .mapboxgl-popup-content h4 {
    margin: .5em 0;
}
.home .mapboxgl-popup-content ul {
    margin:0;
    padding:0;
    list-style-position:inside;
}

.footer-two {
    background-color: #110C2B;
    color: white;
    padding: 2em 0;
}


.footer-two .row{
    display: flex;
    align-items: flex-end;
}

.footer-two a, .footer-two p{
    color: white;
    text-decoration: none;
    margin: 0;
    padding: 0;
}
.footer-two .col-xs-4 p {
    font-weight: 500;
    font-size: .8em;
    text-transform: uppercase;
    line-height: .75em;
}

/* NAVBAR */ 
.navbar-collapse.collapse.in, .navbar-collapse.collapsing {
    padding-right: 0;
}
.navbar-collapse.collapse.in #menu-main-menu, .navbar-collapse.collapsing #menu-main-menu {
    display: block;
    margin: 7.5px 0 0 0;
}

.navbar-collapse.collapse.in #menu-main-menu li, .navbar-collapse.collapsing #menu-main-menu li {
    padding-right: 0;
}

/* Countdown for innovatide day*/

#countdown { 
  position: absolute;
	z-index: 100;
	top: 0;
	font-weight: 500;
	padding-top:30%;
	font-size: 40px;
	color: white;
	left: 35%;
	line-height: 60px;
}
@media  (max-width: 990px) {
	#countdown { 
			 padding-top: 30%;
			font-size: 25px;
			line-height: 30px;
	}
}
@media  (max-width: 550px) {
	#countdown { 
		  padding-top: 37%;
			font-size: 15px;
			line-height: 20px;
	}
}

@media  (max-width: 349px) {
	#countdown { 
		  padding-top: 50%;
			font-size: 12px;
			line-height: 15px;
	}
}

/******** DAC template *******/

/* contener for DAC template iframe*/
.page-template-template-dac .videos {
   display: flex;
   flex-wrap: wrap; 
}

@media  (max-width: 990px) {
  .page-template-template-dac .videos {
     flex-direction: column
  }
}
.page-template-template-dac div.video-container {
   width: calc(50% - 1em);
   margin-right: 1em;
   margin-bottom: 1em;
}

.page-template-template-dac div.video-container iframe {
   width: 100%;
   height: 300px;
   border-radius: 10px;
}
    

@media  (max-width: 990px) {
  .page-template-template-dac div.video-container {
     width: 100%;
  }
}

.page-template-template-dac .flexible-content section.carousel .carousel .slide {
  background-size: contain;
}

/* 
.page-template-template-dac .flexible-content section.carousel .carousel .owl-nav .owl-prev i ,
.page-template-template-dac .flexible-content section.carousel .carousel .owl-nav .owl-next i {
  color: #9DCC4E;
  font-size: 4em;
} 
*/
.page-template-template-dac .flexible-content section.carousel .carousel .owl-nav {
  width: 120%;
  left: -10%;
}

.page-template-template-dac .owl-carousel .owl-video-wrapper {
  background: #fff;
}



/* TWIITER */

.twitter{
    background: #FAFAFA;
    border-radius: 10px;
    padding: 0 2rem;
}

.twitter h3{
    padding: 2.5rem 0 2rem 0;
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: bold;
    font-size: 1.8em;
    text-align: center;
    line-height: 1.1;
    color: #004A8B;
    margin-top: 0;
}
.twitter .wrap--btn{
    display: flex;
    padding: 3rem 0 3.5rem 0;
}

.twitter .wrap--btn .btn-twn{
    margin: auto;
    /* display: block; */
    width: fit-content;
    height: 43px;
    line-height: 43px;
    background: #99CC00;
    border-radius: 6px;
    padding: 0 2rem;
    font-size:13px;
    color:white;
    font-weight: 700;
}

.twitter .wrap--btn .btn-twn:hover{
     color: #99CC00;
     background: white;
}