/*GENERAL STYLES*/

body {
    font-size: 16px;
    background-color: #fff;
}

section {
    padding: 80px 0;
    position: relative;
}

h1,h2,h3 {
    font-weight: 700;
}

.bg-grey {
    background-color: #E9EDF1;
}

.title-area {
    margin-bottom: 30px;
}

.title-area h2 {
    font-size: 1.7em;
    margin-bottom: 20px;
}

.title-area p {
    color: #58708D;	
    font-size: 0.95em;	
    line-height: 22px;
    margin: 0;
}

.text-block p {
    line-height: 1.4em;
}

section h3 {
    color: #123C74;
    font-size: 1.1em;
    line-height: 18px;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 30px;
}

.buttons .btn:first-child {
    margin-right: 10px;
}

/*END GENERAL STYLES*/

.navbar-fixed-top {
    border-width: 0 !important;
}

header .background {
    background-image: linear-gradient(to right, rgba(12, 53, 102, .9) 40%, 
    rgba(12,53,102,.5)), url('/images/covid/bg-covid-19-blur.png');
    background-size: cover;
    border-bottom: 1px solid #CEDBE7;
    height: 480px;
    position: absolute;
    width: 100%;
}

header .wrapper {
    display: flex;
    flex-flow: row nowrap;
    padding-top: 80px;
}

header .hero-right {
    margin-left: 60px;
}

header h1 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
}

header p.sub-h1 {
    color: #ffffff;	
    font-weight: 500;	
    line-height: 22px;
    margin-top: 20px;
}

header .hero .buttons {
    justify-content: left;
}


header .newsfeed {
    width: 375px;
    box-shadow: 0 0 30px rgba(12, 53, 102, 0.2);
    border: none;
}

header .newsfeed .feed {
    max-height: 410px;
    overflow-y: scroll;
}

header .newsfeed .header span {
    font-size: 10px;
    display: block;
    margin-top: 2px;
}

header .newsfeed .header img {
    height: 15px;
}

header .newsfeed .feed .item:first-child {
    margin-top: 4px;
}

header .newsfeed .feed .item {
    border-bottom: 1px solid #e8e8e8;
    margin: 10px 0;
    padding: 5px 0 10px 0;
}

header .newsfeed .feed .item a {
    display: flex;
    flex-flow: row nowrap;
}

header .newsfeed .feed .item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

header .newsfeed .left .cover {
    width: 45px;
    height: 45px;
    overflow: hidden;
    border-radius: 50px;
}

header .newsfeed .left img {
    height: 100%;
    text-align: center;
    position: relative;
    left: -20%;
}

header .newsfeed .right ul {
    list-style: none;
    margin: 0 0 0 15px;
    padding: 0;
}

header .newsfeed .right ul .title {
    color: #123C74;
    font-weight: 700;
    font-size: 14px;
}

header .newsfeed .right ul .subtitle {
    font-size: 13px;
}

header .newsfeed .right ul .timestamp {
    font-size: 11px;
    text-transform: uppercase;
}

header .hero-right {
    margin-left: 60px;
}

header h1 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
}

header p.sub-h1 {
    color: #ffffff;	
    font-weight: 500;	
    line-height: 22px;
    margin-top: 20px;
}

header .hero .buttons {
    justify-content: left;
}

/*SECTIONS ABOUT*/

#about .cluster-bacs {
    position: absolute;
    right: 0;
    top: 150px;
}

#about .cluster-bacs .bac {
    position: absolute;
    right: 30px;
    width: 250px;
    top: -220px;
}

#about .cluster-bacs .bac.sm {
    right: 220px;
    width: 170px;
    top: -350px;
}

#about .cluster-bacs .bac.xs {
    width: 120px;
    right: 120px;
    top: -380px;
}

#about .buttons {
    justify-content: center;
}

#about .box-wrapper {
    box-shadow: 0 0 30px #ECEFF3;
    margin: 10px 0 30px 0;
    padding: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#about .box-wrapper .text-block {
    width: 33.33%;
    margin-right: 30px;
    padding-right: 30px;
    border-right: 1px dotted #CEDBE7;
}

#about .box-wrapper .text-block:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

#about .referrals {
    padding: 20px;
}

#about .referrals .logos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    opacity: .65;
    margin-top: 5px;
    justify-content: center;
}

#about .referrals .logos img {
    width: 150px;
    margin: 0 10px;
}

/*SECTION CHALLENGE*/

#challenge .title-area, #challenge .text-block {
    max-width: 70%;
}

#challenge .text-block {
    padding: 30px 0 0 0;
}

#challenge .challenge-navbar {
    border: 1px solid #CEDBE7;
    border-radius: 6px;
    background-color: #ffffff;
}

#challenge .challenge-navbar ul li.active a, #challenge .nav>li>a:hover {
    background-color: #0C3566 !important;
    color: #fff !important;
}

#challenge .challenge-navbar ul li a {
    border: 0;
    border-radius: 6px;
    color: #0C3566;
}

#challenge .ex-commitee {
    margin-top: 50px;
}

#challenge .ex-commitee .commitee {
    display: flex;
    flex-flow: row wrap;
    margin-top: 30px;
}

#challenge .commitee .item {
    display: flex;
    flex-direction: column;
    width: 20%;
    align-items: center;
    padding: 25px 15px;
    border-radius: 6px;
    box-shadow: rgba(12, 53, 102, 0.2) 0px 0px 30px;
    background-color: #fff;
}

#challenge .commitee .cover {
    border-radius: 100px;
    background-image: url('/images/covid/avatar-jordi-rafols.png');
    background-size: 120%;
    background-position: center center;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

#challenge .item ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

#challenge .item .profile .btn {
    margin-top: 20px;
}

/*SUPPORTERS SECTION*/

#supporters {
    padding-bottom: 40px;
}

#supporters .title-area .col-sm-5 {
    padding-left: 0;
}

#supporters .sponsor-block {
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
}

.sponsor-block .sponsor-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
}

.sponsor-block .sponsor-label img {
    margin-right: 8px;
    position: relative;
    z-index: 10;
}

.sponsor-block .sponsor-label img:nth-child(2){
    z-index: 11;
    margin-left: -13px;
}

#supporters .sponsor-block h3 {
    margin: 0;
}

#supporters .sponsor-block ul {
    margin-top: 20px;
}

#supporters .sponsor-block .buttons .btn {
    width: 100%;
}

/*GROUP SECTION*/

#navbar-tabs {
    padding: 80px 0 0;
    position: relative;
}

#navbar-tabs .navbar .navbar-default.tabs {
    background-color: transparent !important;
}

#navbar-tabs .navbar {
    min-height: auto;
    border: none;
}

#navbar-tabs .navbar .title-area {
    max-width: 640px;
    margin-bottom: 30px;
}

#navbar-tabs ul {
    flex-direction: row;
    justify-content: space-between;
}

#navbar-tabs-wrapper {
    padding: 30px 0 80px 0;
    border-bottom: 1px solid #CEDBE7;
    border-top: 1px solid #CEDBE7;
    position: relative;
}

#navbar-tabs-wrapper .pill-wrapper {
    display: flex;
    flex-direction: row;
    max-width: 880px;
    margin: 0 auto;
}

#navbar-tabs-wrapper .pill-wrapper .left {
    max-width: 300px;
    margin-right: 50px;
}

#navbar-tabs-wrapper .pill-wrapper .left p {
    margin-bottom: 10px;
}

#navbar-tabs-wrapper .pill-wrapper .left p:after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #CEDBE7;
    margin-top: 20px;
}

#navbar-tabs-wrapper .pill-wrapper .left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#navbar-tabs-wrapper .pill-wrapper .left ul li {
    padding: 7px 0;
}

#navbar-tabs-wrapper .pill-wrapper .left .buttons {
    margin-top: 10px;
}

#navbar-tabs-wrapper .pill-wrapper .left .buttons a {
    width: 100%;
}

#navbar-tabs-wrapper .pill-wrapper .right {
    flex: 1;
}

#navbar-tabs-wrapper .pill-wrapper .right .box.item:not(:last-child) {
    margin-bottom: 15px;
}

#navbar-tabs-wrapper .pill-wrapper .right .box.item .user-info, #navbar-tabs-wrapper .pill-wrapper .right .box.item .post-info {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#navbar-tabs-wrapper .pill-wrapper .right .box.item .user-info .user-meta {
    margin-left: 10px;
}

#navbar-tabs-wrapper .pill-wrapper .right .box.item .user-info .user-meta h3 {
    margin: 0;
}

#navbar-tabs-wrapper .pill-wrapper .right .box p:last-child {
    margin-bottom: 0;
}

#navbar-tabs-wrapper .pill-wrapper .right .box.item .post-info .post-text {
    margin-right: 20px;
    flex: 1;
}

#navbar-tabs-wrapper .pill-wrapper .right .box.item .post-info .post-img {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    border: 1px solid #CEDBE7;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#navbar-tabs-wrapper #organizations .pill-wrapper .right, #navbar-tabs-wrapper #experts .pill-wrapper .right {
    width: 100%;
}

#navbar-tabs-wrapper #organizations .pill-wrapper .right .grid, #navbar-tabs-wrapper #experts .pill-wrapper .right .grid {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    margin: -15px -15px 0 -15px;
}



#navbar-tabs-wrapper #organizations .pill-wrapper .right .box .bx-outter .profile-cover, #navbar-tabs-wrapper #experts .pill-wrapper .right .box .bx-outter .profile-cover {
    height: 60px;
    position: absolute;
    background-size: cover;
    top: 0;
    width: 100%;
    left: 0;
}

#navbar-tabs-wrapper #organizations .pill-wrapper .right .box .bx-outter, #navbar-tabs-wrapper #experts .pill-wrapper .right .box .bx-outter {
    border: none;
    padding: 0;
    text-align: center;
}

#navbar-tabs-wrapper #organizations .pill-wrapper .right .box .bx-outter .avatar-l {
    margin: 0 auto;
    background-color: white;
    position: relative;
    border-radius: 4px;
    width: 80px;
    height: 80px;
}

#navbar-tabs-wrapper #experts .pill-wrapper .right .box .bx-outter .avatar-l {
    margin: 0 auto;
    background-color: white;
    position: relative;
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

#navbar-tabs-wrapper #organizations .pill-wrapper .right .box .bx-outter .btn, #navbar-tabs-wrapper #experts .pill-wrapper .right .box .bx-outter .btn {
    width: 100%;
    margin-top: 10px
}

#navbar-tabs-wrapper #organizations .pill-wrapper .right .cta, #navbar-tabs-wrapper #experts .pill-wrapper .right .cta {
    text-align: left;
    margin-top: 7.5px;
}

/*FLOATING BUTTONS*/

.floatting-bar {
    position: fixed;
    right: 30px;
    bottom: 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: rgba(12, 53, 102, 0.2) 0px 0px 30px;
    padding: 3px 15px;
}

.floatting-bar .share-buttons {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.floatting-bar .share-buttons a img {
    width: 28px;
    margin: 10px;
}

/*FOOTER*/

footer p {
    padding: 20px 0;
    margin: 0;
}

@media (max-width: 768px){
    main {
        overflow: hidden;
    }
    
    header, section {
        padding: 45px 0;
    }
    header .wrapper {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 50px;
    }
    header .hero-right {
        margin-left: 0;
    }
    header h1 {
        font-size: 26px;
        line-height: 32px;
    }
    header .sub-h1 {
        font-size: 15px;
    }
    header .wrapper .newsfeed {
        width: 100%;
        margin-top: 30px;
    }
    header .newsfeed .feed {
        max-height: 300px;
    }
    .buttons {
        flex-direction: column;
    }
    .buttons .btn:first-child {
        margin-right: 0 !important;
    }
    .buttons a {
        width: 100%;
        margin-bottom: 10px;
    }
    #about .cluster-bacs {
        display: none;
    }
    #about .box-wrapper {
        flex-direction: column;
    }
    #about .box-wrapper .text-block {
        width: 100%;
        margin-right: 0;
        padding-right: 0;
        border-bottom: 1px dotted #CEDBE7;
        border-right: none;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    #about .box-wrapper .text-block:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
    }
    #challenge .stick {
        margin-top: 20px;
    }
    #challenge .right .well {
        flex-direction: column;
    }
    #challenge .right .well .left {
        margin-right: 0;
        width: 100%;
    }
    #challenge .right {
        width: 100%;
        margin-top: 15px;
    }
    #challenge .right .buttons a {
        margin-bottom: 0;
    }
    #challenge .right .text-block {
        padding-left: 0;
    }
    #challenge .commitee .item {
        width: 100%;
    }
    #navbar-tabs {
        padding-top: 45px;
    }
    #navbar-tabs-wrapper .pill-wrapper .left {
        display: none;
    }
    #navbar-tabs-wrapper .pill-wrapper .right {
        margin: 0 15px;
    }
    #navbar-tabs ul {
        flex-direction: column;
    }
    .navbar .navbar-default.tabs .nav-pills>li.active>a:after {
        display: none;
    }
    .navbar .navbar-default.tabs .nav-pills>li.active>a, .navbar .navbar-default.tabs .nav-pills>li.active>a:focus, .navbar .navbar-default.tabs .nav-pills>li.active>a:hover {
        font-weight: 700;
    }
}

@media (max-width: 1024px){
    #about .cluster-bacs .bac {
        position: absolute;
        width: 280px !important;
        right: -90px;
    }
    #about .cluster-bacs .bac.sm {
        position: absolute;
        right: 250px;
        width: 170px !important;
    }
    #about .cluster-bacs .bac.xs {
        position: absolute;
        width: 140px !important;
        right: 80px;
        top: -350px;
    }
}

.t-logos {
    display: flex;
    flex-direction: row;
    flex: 1;
    margin-bottom: 20px;
}

.t-logos:last-child {
    margin-bottom: 0;
}

.t-logos .logo {
    margin-right: 35px;
}
.t-logos > .logo:last-child{
    margin-right: 0px;
}

.t-logos img {
    display: flex;
    width: 100%;
}
