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

        [Table of contents]

        0. General
        1. INDEX
        2. PROJECT
        3. TEAM
        4. BLOG
        5. NEWS
        6. GALLERY
        7. PUBLICATIONS
        8. CONTACT

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

/* General styles */
html,
body {
    height: 100%;
    min-height: 100vh;
    width: 100%;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 16px;
    background-color: #ffffff;
    color: #222;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold!important;
    margin: 0 0 1em;
}

h1 {
    margin-bottom: 50px;
}

hr {
    margin-top: 1em;
    margin-bottom: 1em;
}

a, a:hover {
    font-weight: bold;
    color: #822D74;
}

main {
    margin-top: 50px;
    margin-bottom: 50px;
}

section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.todo {
    border: 1px solid #f00;
    border-radius: 5px;
    padding-left: 5px;
}

.todo::after {
    content: "TODO ⚠️";
    font-size: small;
    font-weight: bold;
    color: #ff0!important;
    background-color: #f00!important;
    padding: 3px 5px;
    border-radius: 5px;
    margin-left: 5px;
}

.reverse-me, .reverse-me * {
    direction: rtl;
    unicode-bidi: bidi-override;
}

.parallax {
    margin: 50px 0;
    height: 400px;
    background-color: #a6a6a6;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 20px #000 inset;
}

.social-icons {
    text-align: center;
    margin-bottom: 0;
}

.social-icon {
    height: 2rem;
    width: 2rem;
    display: inline-block;
}

.social-icon.facebook {
    background-image: url(../images/icons/fb-32px.png);
}

.social-icon.twitter {
    background-image: url(../images/icons/tw-32px.png);
}

.social-icon.linkedin {
    background-image: url(../images/icons/in-32px.png);
}

.social-icon.google-scholar {
    background-image: url(../images/icons/gs-32px.png);
}

.ppp-label {
    display: inline-block;
    background-color: #666;
    color: #eee;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: small;
    font-weight: bold;
}
.ppp-label.ppp-large {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: large;
    margin: 20px 0 10px;
}
.ppp-label::after {
    content: "PPP"
}

.ppp-label.me-amputee {
    background-color: maroon;
    color: darkorange;
}
.ppp-label.me-amputee::after {
    content: "MeAmputee";
}

.ppp-label.lmic-limbs {
    background-color: darkslateblue;
    color: greenyellow;
}
.ppp-label.lmic-limbs::after {
    content: "LMIC Limbs";
}

.ppp-label.fit4purpose {
    background-color: gold;
    color: deeppink;
}
.ppp-label.fit4purpose::after {
    content: "Fit4Purpose";
}

/* Footer */
footer {
    background-color: #822D74;
    color: #fff;
    padding-top: 0.5rem;
    border-top: 2px solid #51C5C5;
}

footer .row {
        height: 2em;
}

footer h4 {
    color: black;
    margin-bottom: 50px;
}

footer a {
    font-weight: bold;
    color: #fff;
}
footer a:hover {
    color: #51C5C5;
    text-decoration: none;
}

.footer-links {
    margin-top: 0.5rem;
}

hr.light {
    width: 50%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #822D74;
}

div.footer-copyright {
        padding: 0.5rem 0 1rem !important;
}


/*---- HEADER IMAGE HEIGHTS FOR TEAM,BLOG,NEWS,GALLERY,PUBLICATIONS,CONTACT ----*/

div.div-height {}

/* -------------navbar ---------- */

.navbar {
    padding: 0;
    border-bottom: 2px solid #51C5C5;
    background-color: #822D74!important;
}


.navbar .navbar-nav > li a:hover,
.navbar .navbar-nav > li a:focus {
    color: #fff;
    padding-bottom: 7px;
    border-bottom: 2px solid #fff;
}

.navbar .navbar-nav > li a.active {
    color: #fff;
    padding-bottom: 5px;
    border-bottom: 2px solid #51C5C5;
}

a.nav-link {
    color: #fff!important;
}

a.nav-link.active {
    color: #51C5C5!important;
}

.nav-link {
    color: #fff;
    font-size: 1.2em !important;
}

.navbar-toggler:hover {
    opacity: 0.4;
}

.navbar-toggler:focus {
    outline: 0;
}

.dropdown-submenu {
    margin: 0 5px;
    padding: 0 5px;
}

.dropdown-submenu:hover {
    background: #822D74;
}

.dropdown-submenu a {
    display: block;
}

.dropdown-submenu:hover a {
    background: #822D74;
    color: #fff;
}

li.dropdown-submenu a:hover,
li.dropdown-submenu a:focus,
li.dropdown-submenu a.active {
    text-decoration: none;
    border-bottom: none!important;
    padding-bottom: 0!important;
}

.btn {
    font-weight: normal;
    background-color: #822D74;
    color: #ffffff;
    margin: 20px 0;
}
.btn:hover,
.btn:focus {
    font-weight: normal;
    background-color: #B33E9F;
    color: #ffffff;
    box-shadow: 0 0 10px #000;

}

/*-----------
        INDEX
-----------*/

/* Page Header Image*/

.jumbotron {
    color: white;
    background-color: #a6a6a6;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
}

.jumbotron .container p {
    font-size: 30px;
}

.page-header h1,
.page-header p {
    text-shadow: 1px 1px 10px #000;
}

.header-img {
    background-color: #b0b0b0;
}

/* About Section */

/*-- Horizontal Line --*/
.container .hr1 {
    margin: 70px 0 70px 0;
}

/* Latest blog section */
.welcome {
    width: 75%;
    margin: 0 auto;
    padding-top: 50px;
}

.blog .card, .aims .card {
    height: 100%;
}

.hline {
    border-top: 2px solid #b4b4b4;
    width: 70%;
    margin-top: 0;
    margin-bottom: 2rem;
}

.news {
    margin-top: 50px;
}

#latest-blog {
    margin-top: 40px;
    margin-bottom: 150px;
}

#social-media .media a:hover {
    opacity: 0.7;
}

#social-media .space {
    padding: 10px;
}

#social-media {
    margin-bottom: 50px;
}

#social-media .card {
    border: none;
}

#social-media .card .header {
    padding-bottom: 20px;
}

#social-media .card .links {
    color: #0086b3;
    text-decoration: none;
}
#social-media .card .links:hover {
    opacity: 0.7;
}

#social-media .card .fb,
#social-media .card .tw {
    padding-top: 20px;
    padding-bottom: 20px;
}

/*--- PROJECT ---*/

.parallax2 {
    background-image: url("../images/gallery/image25.jpg");
}

.aims {
    margin-top: 50px;
    margin-bottom: 100px;
}

.project-funders {
    margin-bottom: 100px;
}

.project-funders a:hover {
    opacity: 0.7;
    color: #999999;
    text-decoration: none;
}

p.grant-reference a:hover {
    text-decoration: underline;
}

/*--- TEAM ---*/

.team .card {
    margin-bottom: 50px;
}

.card-title {
    font-size: 1.25em;
}

.card-body {
    padding: 0 1em 1em;
}

.card-text {
    text-align: center;
}

.team-members .card .card-body {
    height: 500px;
}

.scrollbar-ripe-malinka::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
    border-radius: 10px;
}

.scrollbar-ripe-malinka::-webkit-scrollbar {
    width: 12px;
    background-color: #f5f5f5;
}

.scrollbar-ripe-malinka::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-image: -webkit-linear-gradient(330deg, #c2bdcc 0%, #afadb3 100%);
    background-image: linear-gradient(120deg, #cac9d8 0%, #e5e2e5 100%);
}

.thin::-webkit-scrollbar {
    width: 6px;
}

/*--- BLOG ---*/

.blog .date {
    margin-bottom: 50px;
    font-weight: bold;
}

/*--- Styles for each blog in the blogs folder ---*/
.blog-image-div {
    margin-bottom: 100px;
}

/* --- GALLERY --- */

.ekko-gallery {
    margin: 0 0 50px;
}

.ekko-gallery a {
    display: inline-block;
    margin-top: 20px;
    border: 1px solid #666;
    box-shadow: 0 0 5px #333;
}

.ekko-gallery a:hover {
    transform: scale(1.03);
    transition: transform .2s;
    z-index: 9999;
}

.ekko-gallery img {
    display: inline-block;
    border: 8px solid #fff;
}

/* --- PUBLICATIONS ---*/

.publications img {
    margin-right: 50px;
}

/*--- CONTACT ---*/

.contactform {
    margin-top: 50px;
    margin-bottom: 50px;
}

#form-message .btn-send {
    margin-bottom: 20px;
}

#form-message .help-block.with-errors {
    color: #ff5050;
    margin-top: 5px;
    font-weight: bold;
    font-size: 80%;
    text-align: center;
}

.btn.disabled {
    background: #666;
}

.btn.disabled:hover {
    background: #999;
}

/*-- Styles for different size devices --*/

/* medium large */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .jumbotron {
        text-align: center;
        height: 350px;
    }

    .display-4 {
        padding-top: 30px;
        font-size: 50px;
    }

    .jumbotron .container p {
        font-size: 30px;
    }

    main h1{
        font-size: 30px;
    }

    #about {
        margin-bottom: 100px;
    }

    #latest-blog {
        margin-top: 40px;
        margin-bottom: 50px;
    }

    .parallax {
        height: 400px;
    }

    section {
        margin-bottom: 20px;
    }

    #latest-blog {
        margin-bottom: 10px;
    }

    main {
        margin-top: 100px;
        margin-bottom: 50px;
    }

    section {
        margin-bottom: 20px;

    }

    section .news {
        margin-top: 50px;
    }

    section .aims {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .welcome {
        width: 100%;
        margin: 0 auto;
        padding-top: 40px;
    }

    hr.hline {
        width: 70%;
    }

    hr.light {
        width: 80%;
    }

    .project-funders {
        margin-bottom: 100px;
    }

}

/* medium */
@media only screen and (min-width: 580px) and (max-width: 760px) {

    .jumbotron {
        height: 200px;
    }

    #about .btn {
        margin-bottom: 20px;
    }

    #about {
        margin-bottom: 50px;
    }

    #about .img-padding {
        padding-bottom: 20px;
    }

    #latest-blog {
        margin-top: 40px;
        margin-bottom: 50px;
    }

    #social-media {
        margin-bottom: 0;
    }

    .parallax {
        height: 300px;
    }

    .welcome {
        width: 100%;
        margin: 0 auto;
        padding-top: 40px;
    }

    .display-4 {
        padding-top: 30px;
        font-size: 35px;
    }

    .jumbotron .container p {
        font-size: 25px;
    }

    main .project-info h1{
        font-size: 25px;
    }

    .project-funders {
        margin-bottom: 100px;
    }

    h4 {
        font-size: 20px;
    }

    hr.hline {
        width: 60%;
    }

    hr.light {
        display: none;
    }
}

/* small */
@media only screen and (max-width: 576px) {

    main {
        margin-top: 100px;
        margin-bottom: 50px;
    }

    .jumbotron {
        text-align: center;
        height: 250px;
    }

    #about .btn {
        font-size: 15px;
        margin-bottom: 20px;
    }

    #about .img-padding {
        padding-bottom: 20px;
    }

    .display-4 {
        padding-top: 30px;
        font-size: 40px;
    }

    .jumbotron .container p {
        font-size: 20px;
    }

    main .project-info h1{
        font-size: 25px;
    }

    #about .about-project h2{
        font-size: 29px;
    }
    #about .about-project h6{
        font-size: 15px;
    }

    #about .about-us h2{
        font-size: 29px;
    }
    #about .about-us h6{
        font-size: 15px;
    }

    section {
        margin-bottom: 20px;
    }

    #latest-blog {
        margin-bottom: 10px;
    }

    section .news {
        margin-top: 50px;
    }

    .welcome {
        width: 100%;
        margin: 0 auto;
        padding-top: 40px;
    }

    .welcome .display-4 {
        font-size: 30px;
    }

    .parallax {
        background-attachment: scroll;
        height: 300px;
    }

    .project-funders {
        margin-bottom: 100px;
    }

    h4 {
        font-size: 20px;
    }

    hr.hline {
        width: 70%;
    }

    hr.light {
        display: none;
    }

}

