
:root {
    --link-color: #00b7ff;
    --main-color: #249DCB;
    /*--second-color: #394374;*/
    --second-color: #3E4374;
    --bg-color: #112331;
    --text-color: #272727;
}


html, body {
    margin: 0;
    height: 100%;
}

body {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr;
    grid-template-areas: "main" "footer";
    grid-template-rows: 1fr 80px;
}

main {
    grid-area: main;
}

footer {
    grid-area: footer;
}

.text-light {
    color: #c2c2c2 !important;
  }

.font-bold {
    font-weight: 600;
}

.mw-80 {
    max-width: 80% !important;
  }
  
a {
    color: var(--link-color);
    text-decoration: none !important;
  }
a:hover {
    color: #005d81;
}  

img#logo {
    max-height: 2rem;
    margin-right: 1rem;
}

img#logo-big {
    max-height: 8rem;
    margin: 1rem 1rem 1rem 1rem;
}

img#ends-left {
    max-height: 2.5rem;
    max-width: 15vw;
    margin: 1.25rem 0.5rem 1.25rem 1rem;
}

img#ends-right {
    max-height: 2.5rem;
    max-width: 15vw;
    margin: 1rem 1rem 2rem 0.5rem;
}

header.masthead {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4rem);
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%), url("../assets/img/hero.jpg");*/
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.95) 98%, rgba(255, 255, 255, 1) 100%), url("../assets/img/hero.jpg");
    background-position: center 80%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    height: 105vh;
    min-height: 40rem;
}

header.masthead h1 {
    font-size: 2.5rem;
}

h1, .h1 {
    font-size: calc(1.5rem + 1.5vw) !important;
}

.h-99 {
    height: 99% !important;
}

.page-section {
padding: 2rem 0 2rem 0;
}

.bg-mast {
    background-color: #c4c4c4 !important;
    background: none;
}

.bg-light {
    background-color: #ffffff !important;
    /*background: linear-gradient(0deg, rgba(0, 183, 255, 0.5), rgba(0, 183, 255, 0)) !important;*/
}

.bg-dark {
    /*background-color: #e9e9e9 !important;*/
    background-color: var(--bg-color) !important;
    box-shadow: inset 0 0 99999px rgba(0, 0, 0, 0.9);
    /*background: -webkit-linear-gradient(135deg, rgba(0, 183, 255, 0.5), rgba(0, 183, 255, 0)) !important;*/
    /*background: linear-gradient(180deg, rgba(0, 183, 255, 0), rgba(0, 183, 255, 0.3), rgba(0, 183, 255, 0)) !important;*/
}

.text-highlight {
    /*color: #249DCB !important;*/
    color: #f8f9fa !important;
}

#navMenu {
    background: none;
    box-shadow: none;
    transition: 0.5s ease;
}

#navMenu .navbar-brand {
    color: #ffffff
}
#navMenu .navbar-secondary {
    color: #000000 !important;
}
#navMenu .navbar-nav .nav-item .nav-link {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 0.5rem;
}

#navMenu .navbar-nav .nav-item .nav-link:hover, #navMenu .navbar-nav .nav-item .nav-link.active {
    color: var(--link-color) !important;
}

#navMenu .nav-title-dark {
    color: #000000 !important;
}

#navMenu .navbar-brand {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 700;
}

#navMenu .navbar-nav .nav-item .nav-link-light {
    color: #cccccc;
}

#navMenu .navbar-nav .nav-item .nav-link-dark {
    color: #6c757d;
}

#navMenu .navbar-nav .nav-item .nav-link .nav-link-main {
    color: #c0c0c0 !important;
}

#navbarResponsive .navmenu-dark {
    background-color:rgba(0, 0, 0, 0.15);
}

#navbarResponsive .navmenu-light {
    background-color:rgba(255, 255, 255, 0.15);
}


.about-left {
    float: left;
    padding: 0 2em 2em 0;
}

.about-right {
    float: right;
    padding: 0 0 2em 2em;
}

.spacer {
    clear: right;
    clear: left;
}

@media screen and (max-width: 768px) {
    .about-left {
        float: none;
        display: block;
        margin: auto;
        padding: 5%;
    }
    .about-right {
        float: none;
        display: block;
        margin: auto;
        padding: 5%;
    }
}


#portfolio .portfolio-item {
    position: relative;
    display: block;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}
#portfolio .portfolio-item .portfolio-item-desc {
    padding: 0 2em 0 2em;
}
#portfolio .portfolio-item .portfolio-item-desc .project-category {
    text-transform: uppercase;
}
#portfolio .portfolio-item .portfolio-item-desc .project-name {
    font-size: 1.2rem;
    font-weight: 600;
}

#portfolio .portfolio-item .portfolio-item-desc {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    text-align: center;
    opacity: 0;
    color: #424242;
    background-color: rgba(255, 255, 255, 0.9);
    transition: opacity 0.5s ease;
    text-align: center;
}

#portfolio .portfolio-item:hover .portfolio-item-desc {
    opacity: 1;
}

#portfolio .portfolio-item img {
    max-height: auto;
    max-width: 100%;
    overflow: hidden;
}

hr.divider {
    height: 0.2rem;
    max-width: 3.25rem;
    margin: 1.5rem auto;
    /*background-color: var(--main-color);*/
    background-image: linear-gradient(to right, var(--main-color) 0%, var(--second-color) 100%);
    opacity: 1;
}

.feature-button {
    color: #fff;
    /*background-color: var(--link-color);
    border-color: var(--link-color);*/
    background-image: linear-gradient(to bottom right, var(--main-color) 0%, var(--second-color) 100%);
    transition: 0.5s ease;
    box-shadow: 0px 0.5rem 1rem rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 1.25rem 2.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 10rem;
}

.feature-button:disabled {
    color: #fff;
    background-color: #7edbff;
    border-color: #7edbff;
}

.feature-button:hover {
    color: #fff;
    /*background-color: var(--link-color);
    border-color: var(--link-color);*/
    transform: translateY(-0.75rem);
    box-shadow: 0px 1rem 2rem rgba(0, 0, 0, 0.15);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", "Open Sans", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    position: relative;
  }

.tooltip {
    position: absolute;
    z-index: 1080;
    display: block;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: 0.875rem;
    word-wrap: break-word;
    opacity: 0;
  }

  
.popover {
    position: absolute;
    top: 0;
    left: 0 /* rtl:ignore */;
    z-index: 1070;
    display: block;
    max-width: 276px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: 0.875rem;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
  }

#portfolio .container-fluid .portfolio-item .portfolio-item-desc .project-category, #portfolio .container-sm .portfolio-item .portfolio-item-desc .project-category, #portfolio .container-md .portfolio-item .portfolio-item-desc .project-category, #portfolio .container-lg .portfolio-item .portfolio-item-desc .project-category, #portfolio .container-xl .portfolio-item .portfolio-item-desc .project-category, #portfolio .container-xxl .portfolio-item .portfolio-item-desc .project-category {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
  }

.portfolio-img {
    height: 100%;
    display: block;
    margin: auto;
}


.main-timeline:before{
    content: '';
    background-color: #fff;
    height: 100%;
    width: 60%;
    box-shadow: 0 0 10px #333;
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: 10px;
}
.pub {
    background-color: #fff;
    text-align: left;
    width: 100%;
    padding: 2rem 0 0rem;
    margin: 0 auto;
    display: block;
}

.pub-year{
    /*color: #535353;*/
    color: var(--second-color);
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pub .citation {
    margin-bottom: 2rem;
}

/*.publist .pub:nth-child(even) .pub-year{ color: #3b7891; }(/
/*.publist .pub:nth-child(4n+3) .pub-year{ color: #009CE6; }
.publist .pub:nth-child(4n+4) .pub-year{ color: #B160BD; }*/

.tag {
    padding: 0.35em 0.65em 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.tag-paper {
    background-color:#2b4d7e;
}

.tag-viz {
    background-color:#726C89;
}

.tag-competition {
    background-color:#B7245C;
}

.tag-package {
    background-color:#277280;
}

.tag-blog {
    background-color:#c94a00;
}



.main-container {
    max-width: 840px !important;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.main-container h2, .main-container h3, .main-container h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#header {
    padding-top: 4rem;
}

h4.date {
    margin-bottom: 2rem !important;
    margin-top: 1rem !important;
}

.main-container p {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.main-container img {
    max-width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.section.level2 {
    margin-top: 2rem;
}

.main-container .nav-tabs {
    border-bottom: 1px solid #ddd;
}

.main-container .nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.main-container ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

ul.nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.tab-content>.tab-pane {
    display: none;
}

.tab-content>.active {
    display: block;
}

.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

.fade.in {
    opacity: 1;
}

.tabset .nav-tabs {
    border-bottom: 1px solid #ddd;
}

.tabset .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: #555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

.tabset .nav-tabs>li>a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

.tabset .nav>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

.tabset .nav-tabs>li {
    float: left;
    margin-bottom: -1px;
}

.tabset .nav>li {
    position: relative;
    display: block;
}

.tabset ol, ul {
    margin-top: 0;
    margin-bottom: 10px;
}

blockquote {
    padding: 0rem 1rem;
    margin: 0 2rem 0rem 2rem;
    font-size: 1em;
    border-left: 5px solid #eee;
}


#portfolio-filters {
    padding: 0;
    margin: 0 auto 1rem auto;
    list-style: none;
    text-align: center;
  }
#portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 0.5rem 0.75rem 0.5rem 0.75rem;
    font-size: 0.8em;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: #444444;
    margin: 0 0.1rem 0.5rem 0.1rem;
    transition: all 0.3s ease-in-out;
    border-radius: 30px;
  }
#portfolio-filters li.filter-active {
    color: #fff;
    background: #005d81;
  }
#portfolio-filters li:hover {
    color: #fff;
    background: #005d81;
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
}
#portfolio-filters li:last-child {
    margin-right: 0;
  }

.removed {
    /* Setting this to zero breaks the transition */
    flex-grow: 0.0000001;
    width: 0;
    height: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    pointer-events: none;
    cursor: default;
}


.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    height: 100%;
}


.modal-dialogx {
    min-width: 50vw;
    max-width: 90vw;
    max-height: 95%;
}

@media screen and (max-width: 640px) {
    .modal-dialogx {
        width: 90vw;
    }
}

@media screen and (min-width: 640px) and (max-width: 1600px) {
    .modal-dialogx {
        width: 70vw;
    }
}

@media screen and (min-width: 1600px) {
    .modal-dialogx {
        width: 50vw;
    }
}

.modal-content {
    background-color: #fefefe;
    margin: 10vh auto;
    padding: 2em;
    border: 1px solid #888;
}

.modal-button {
    position: relative;
    display: block;
    background-color: #ffffff;
    padding: 0;
    width: auto;
    max-width: 25em;
    /* margin: calc(100% - 25em); */
    height: 80%;
    border-radius: 10px;
}

.modal-button-inset {
    position: relative;
    display: block;
    padding: 0;
    width: calc(100% - 2em);
    height: 100%;
    margin: 1em 1em;
    border-radius: 10px;
    border: 2px solid #272727;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

    -moz-transition: border-color .5s ease-in-out;
    -o-transition: border-color .5s ease-in-out;
    -webkit-transition: border-color .5s ease-in-out;
    transition: border-color .5s ease-in-out;
}

.modal-button:hover .modal-button-inset {
    border-color: #ffffff;
    -moz-transition: border-color .5s ease-in-out;
    -o-transition: border-color .5s ease-in-out;
    -webkit-transition: border-color .5s ease-in-out;
    transition: border-color .5s ease-in-out;
}


.btn-hover {
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: none;
    background-size: 300% 200%;

    border-radius: 5px;
    -moz-transition: color .5s ease-in-out, background-position .5s ease-in-out;
    -o-transition: color .5s ease-in-out, background-position .5s ease-in-out;
    -webkit-transition: color .5s ease-in-out, background-position .5s ease-in-out;
    transition: color .5s ease-in-out, background-position .5s ease-in-out;
}

.modal-button:hover .btn-hover {
    background-position: 99% 99%;
    color: #ffffff !important;
    -moz-transition: color .5s ease-in-out, background-position .5s ease-in-out;
    -o-transition: color .5s ease-in-out, background-position .5s ease-in-out;
    -webkit-transition: color .5s ease-in-out, background-position .5s ease-in-out;
    transition: color .5s ease-in-out, background-position .5s ease-in-out;
}

.btn-hover:focus {
    outline: none;
}

.btn-hover.color-0 {
    background-image: linear-gradient(to bottom right, #ffffff50, #ffffff75, #249ccb8c, #3e4374b2, #1f2564cc);
    /* box-shadow: 0 4px 15px 0 rgba(206, 245, 255, 0.75); */
}
.btn-hover.color-1 {
    background-image: linear-gradient(to right, #25aae1, #40e495, #30dd8a, #2bb673);
    box-shadow: 0 4px 15px 0 rgba(49, 196, 190, 0.75);
}
.btn-hover.color-2 {
    background-image: linear-gradient(to right, #f5ce62, #e43603, #fa7199, #e85a19);
    box-shadow: 0 4px 15px 0 rgba(229, 66, 10, 0.75);
}
.btn-hover.color-3 {
    background-image: linear-gradient(to right, #667eea, #764ba2, #6B8DD6, #8E37D7);
    box-shadow: 0 4px 15px 0 rgba(116, 79, 168, 0.75);
}
.btn-hover.color-4 {
    background-image: linear-gradient(to right, #fc6076, #ff9a44, #ef9d43, #e75516);
    box-shadow: 0 4px 15px 0 rgba(252, 104, 110, 0.75);
}
.btn-hover.color-5 {
    background-image: linear-gradient(to right, #0ba360, #3cba92, #30dd8a, #2bb673);
    box-shadow: 0 4px 15px 0 rgba(23, 168, 108, 0.75);
}
.btn-hover.color-6 {
    background-image: linear-gradient(to right, #009245, #FCEE21, #00A8C5, #D9E021);
    box-shadow: 0 4px 15px 0 rgba(83, 176, 57, 0.75);
}
.btn-hover.color-7 {
    background-image: linear-gradient(to right, #6253e1, #852D91, #A3A1FF, #F24645);
    box-shadow: 0 4px 15px 0 rgba(126, 52, 161, 0.75);
}
.btn-hover.color-8 {
    background-image: linear-gradient(to right, #29323c, #485563, #2b5876, #4e4376);
    box-shadow: 0 4px 15px 0 rgba(45, 54, 65, 0.75);
}
.btn-hover.color-9 {
    background-image: linear-gradient(to right, #25aae1, #4481eb, #04befe, #3f86ed);
    box-shadow: 0 4px 15px 0 rgba(65, 132, 234, 0.75);
}
.btn-hover.color-10 {
        background-image: linear-gradient(to right, #ed6ea0, #ec8c69, #f7186a , #FBB03B);
    box-shadow: 0 4px 15px 0 rgba(236, 116, 149, 0.75);
}
.btn-hover.color-11 {
       background-image: linear-gradient(to right, #eb3941, #f15e64, #e14e53, #e2373f);  box-shadow: 0 5px 15px rgba(242, 97, 103, .4);
}



.x-close {
    border: none;
    background: none;
    font-size: 2rem;
}

.long {
    width: 30%;
}

.wide {
    width: 70%;
    display: block;
    margin: auto auto;
}

.right {
    float: right;
    margin: 0 0 1em 2em;
}

.left {
    float: left;
    width: 30%;
    margin: 0 2em 1em 0;
}

.wrap {
    text-align: justify;
}
