/*!
 * Start Bootstrap - Modern Business (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */

* {
    border-radius: 0 !important;
}

html,
body {
    height: 100%;
    background: #FBFBF9;
}

body {
    font-family: 'Roboto', sans-serif;
}

h4 {
    color: #660099;
}

a {
    color: #660099;
}

a:hover {
    color: #660099;
}

#brandbar {
    background-color: #722f8c !important;
}

#brandbar .container {
    padding-top: 10px;
    padding-bottom: 10px;
}

#brandbar a {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.2px;
    text-decoration: none;
}

#brandbar a:hover {
    color: #ffffff;
    text-decoration: none;
}

.panel-heading {
    font-color: #000000;
    color: #000000;
}

.container-colored {
    background-color: #f2f1eb;
}

.press-mention {
    padding-top: 20px;
    padding-bottom: 20px;
}

.press-logo {
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    max-height: 40px;
    max-width: 100%;
}

.press-logo:hover {
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}

.pub-title {
    font-size: 22px;
    font-weight: 600;
}
.pub-authors {
    font-size: 16px;
    font-weight: 400;
}
.pub-info {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}
.pub-description {
    font-size: 14px;
    font-weight: 400;
}

.pub-list {
    margin-top: 10px;
}

.pub-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.pub-item:last-child {
    border-bottom: none;
}

.pub-media {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pub-body {
    flex: 1;
    min-width: 0;
}

.pub-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #2e2d29;
}

.pub-publication,
.pub-authors {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.pub-image {
    flex: 0 0 200px;
    text-align: center;
}

.pub-image img {
    width: 200px;
    height: auto;
    border: 1px solid #e2e2e2;
    background: #fff;
}

.pub-item .btn-links .btn {
    margin-right: 6px;
    margin-bottom: 6px;
}

.pub-item .btn-links {
    margin-top: 6px;
}

.research-list {
    margin-top: 10px;
}

.research-item {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.research-item:last-child {
    border-bottom: none;
}

.research-media {
    display: flex;
    align-items: center;
    gap: 20px;
}

.research-body {
    flex: 1;
    min-width: 0;
}

.research-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2e2d29;
}

.research-description {
    font-size: 14px;
    color: #444;
    margin: 0;
}

.research-description + .research-description {
    margin-top: 10px;
}

.research-image {
    flex: 0 0 200px;
    text-align: center;
}

.research-image img {
    width: 200px;
    height: auto;
    border: 1px solid #e2e2e2;
    background: #fff;
}

@media (max-width: 767px) {
    .pub-media {
        flex-direction: column;
        align-items: flex-start;
    }

    .pub-image {
        width: 100%;
        text-align: left;
    }

    .pub-image img {
        width: 100%;
        max-width: 260px;
    }

    .research-media {
        flex-direction: column;
        align-items: flex-start;
    }

    .research-image {
        width: 100%;
        text-align: left;
    }

    .research-image img {
        width: 100%;
        max-width: 260px;
    }
}

.view-list-item {
    display: flow-root;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.view-list-item:last-child {
    border-bottom: none;
}

.pub-icon {
    float: left;
    width: 24px;
    margin-top: 3px;
    color: #660099;
    font-size: 16px;
}

.article-title {
    display: block;
    margin-left: 28px;
    font-size: 18px;
    font-weight: 600;
    color: #2e2d29;
}

.publication,
.publication-date,
.article-metadata,
.btn-links {
    margin-left: 28px;
}

.publication,
.publication-date,
.article-metadata {
    font-size: 14px;
    margin-top: 4px;
}

.btn-links {
    margin-top: 8px;
}

.btn-links .btn {
    margin-right: 6px;
    margin-bottom: 6px;
}

.br .br-top-10 {
    display: block;
    margin: 10px 0;
}

.press-box {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.press-box a:hover {
    vertical-align: top;
    display: inline-block;
    *display: inline;
    zoom: 1;
    text-decoration: none;
}

.stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}

.img-portfolio {
    max-width: 60%;
    margin-bottom: 30px;
}

.about-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.about-row .col-md-6 {
    float: none;
    width: 50%;
}

.about-row .about-text {
    width: 55%;
}

.about-row .about-image {
    width: 45%;
}

.about-row .img-portfolio {
    margin-bottom: 0;
    max-width: 100%;
    width: 100%;
}

.about-row .text-center {
    text-align: center;
}

@media (max-width: 767px) {
    .about-row {
        display: block;
    }

    .about-row .col-md-6 {
        width: 100%;
        float: none;
    }

    .about-row .about-text,
    .about-row .about-image {
        width: 100%;
    }
}

.img-hover:hover {
    opacity: 0.8;
}

.project-highlights .project-item {
    text-align: center;
}

.project-highlights .project-thumb {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.project-highlights .project-caption {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .project-highlights .project-thumb {
        height: 200px;
    }
}


.img-seen-hover, .hover_img_switch:hover .img-seen-default{
     display:none
}

.img-seen-default, .hover_img_switch:hover .img-seen-hover{
      display:block
}

.hover_img_switch .img-seen-default {
  z-index: 9999;
  transition: opacity .5s linear;
  cursor: pointer;
}

/* When we hover the figure element, the block with .swap-on-hover, we want to use > so the front-image is going to have opacity of 0, which means it will be hidden, to the back image will show */
.hover_img_switch:hover > .img-seen-default{
  opacity: 0;
}

.navbar {
    background-color: #f2f1eb;
    margin-bottom: 0;
    height: 72px;
}

.navbar-default .navbar-brand {
    color: #2e2d29;
    font-weight: 200;
    font-size: 28px;
    line-height: 36px;
    padding-top: 18px;
    padding-bottom: 18px;
}

@media (max-width: 767px) {
    .navbar-default .navbar-brand {
    font-size: 20px;
    line-height: 28px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}


.navbar-default .navbar-text {
    color: #2e2d29;
    font-weight: 200;
    font-size: 22px;
}

.navbar-default .navbar-nav > li > a {
    color: #2e2d29;
    font-weight: 400;
    font-size: 22px;
    line-height: 36px;
    padding-top: 18px;
    padding-bottom: 18px;
    background-color: #f2f1eb;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #660099;
    background-color: #f2f1eb;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #660099;
    background-color: #f2f1eb;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: #000;
}

/* Home Page Carousel */

header.carousel {
    height: 40%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}


@media only screen and (max-width: 767px) {
    .brand-logo {
        width: 45px;
        height: 45px;
        margin-right: 0;
        border-right: none;
    }
}

.author {
    display: inline-block;
    text-align: center;
    margin-right: 5px;
    font-weight: bold;
    width: 150px;
}

.author img {
    width: 125px;
}

.section-header-first {
    padding-bottom: 9px;
    margin: 0 0 20px;
    border-bottom: 1px solid #eee;
}

.section-header {
    padding-bottom: 9px;
    margin: 20px 0 20px;
    border-bottom: 1px solid #eee;
}

.section-header-dark {
    padding-bottom: 9px;
    margin: 20px 0 20px;
    border-bottom: 1px solid #dfdfdf;
}

.page-header-people {
    padding-bottom: -5px;
    margin: 20px 0 20px;
    border-bottom: 1px solid #eee;
}

.page-header-people-dark {
    padding-bottom: -5px;
    margin: 20px 0 20px;
    border-bottom: 1px solid #ccc;
}

.page-header-dark {
  padding-bottom: 9px;
  margin: 20px 0 20px;
  border-bottom: 1px solid #ccc;
  font-size: 38px;
  line-height: 1.2;
}

h1.page-header {
    font-size: 38px;
    line-height: 1.2;
}

h2.page-header {
    font-size: 38px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    h1.page-header {
        font-size: 32px;
    }

    h2.page-header {
        font-size: 32px;
    }

    .page-header-dark {
        font-size: 32px;
    }
}

.brand-sitename-title {
    font-size: 24px;
    line-height: 45px;
    margin-bottom: -20px;
}

.people-section-title {
    font-size: 30px;
    line-height: 45px;
    margin-bottom: -20px;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

footer {
    margin: 50px 0;
}

/* Responsive Styles */

@media (max-width: 767px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}

.mar-top-5 {
    margin-top: 5px;
}

.mar-top-10 {
    margin-top: 10px;
}

.mar-top-15 {
    margin-top: 15px;
}

.mar-top-20 {
    margin-top: 20px;
}

.mar-top-25 {
    margin-top: 25px;
}

.mar-top-30 {
    margin-top: 30px;
}

.mar-bot-5 {
    margin-bottom: 5px;
}

.mar-bot-10 {
    margin-bottom: 10px;
}

.mar-bot-15 {
    margin-bottom: 15px;
}

.mar-bot-20 {
    margin-bottom: 20px;
}

.mar-bot-25 {
    margin-bottom: 25px;
}

.mar-bot-30 {
    margin-bottom: 30px;
}

.mar-bot-45 {
    margin-bottom: 45px;
}

.news-list {
    font-size: 16px;
    font-weight: 400;
    line-height: 200%;
}

/* People page image sizing */
.people-page .person-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.people-page .person-card .img-portfolio {
    width: 100%;
    max-width: 260px;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto 15px;
    border-radius: 4px;
}
