/*
based on: Animus and Developer templates
https://p.w3layouts.com/demos/animus/web/css/style.css
https://mostafizshamim.com/demo/developer/css/style.css
*/

/* normalizations */
/*
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

ul, ol, p {
    margin: 0;
}

/* Self Clearing Goodness */
.container:after { 
    content: "\0020"; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden; 
}

.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0; 
}
.row:after,
.clearfix:after {
    clear: both; 
}
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
*/



html, body {
    font-family: 'Open Sans', sans-serif;
    background: #fff;
}


.header {
    background: #556a7f;
    background-image: url('../images/mathieu2.jpg');
    background-size: cover;
}

.banner {
    padding: 2em 0;
    border-bottom: 1px solid #6f879a;
}

.logo {
    float: left;
    margin-left: 1em;
}

.logo a {
    color: #fff;
    display: block;
    font-size: 60%;
    font-weight: 300;
}

.head-nav {
    padding: 1em 0;
}

.head-nav ul {
    padding:0;
    margin: 0;
}


.nav-link {
    font-weight: 400;
    outline: none;
    color: #8ca9b9;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    text-shadow: 0 0 1px rgba(255,255,255,0.3);
}

.x-head-nav li{
    display: inline-block;
    margin: 0 .5em;
    outline: none;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    xfont-size: 16px;
}

.x-head-nav li a{
    position: relative;
    display: inline-block;
    outline: none;
    color: #8ca9b9;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    text-shadow: 0 0 1px rgba(255,255,255,0.3);
    font-size: 1em;
    x-margin: 0.8em 1.3em;
}

.xnav-link a:hover,
.xnav-link a:focus {
    outline: none;
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
    color:#fff;
}

.navbar-toggler {
    color: #fff;
}

.main {
    background: #f5f6f7;
}

.content {
    padding: 1em 4em;
}

.content > h1 {
    font-size: 2em;
    font-weight: bold;
    margin: 30px 0 60px;
    text-align: center;
    color: #444;
    text-transform: uppercase;
    line-height: 1;
}

.content > h2 {
    margin: 1em 0 0.5em;
}

.content img {
    box-shadow: 0 0 3px 1px rgb(204, 204, 204);
    border-radius: 3px 3px 3px 3px;
}

.content p {
    margin-bottom: 1em;
}

.content img.noborder {
    box-shadow: 0 0 3px 1px rgb(204, 204, 204);
    border: 0;
}

.content img.noshadow {
    box-shadow: none;
}

.content img.left {
    float: left;
    margin: 0 1em 1em 0;
}

.content img.right {
    float: right;
    margin: 0 0em 1em 1em;
}



.research-topic {
    margin-top: 1em;
    margin-bottom: 2em;
    text-align: left;
}

.research-topic:after {
    content: "\0020"; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden; 
    clear: both; 
}

.research-topic h1 {
    font-size: 1.2em;
    color: #556a7f;
    font-size: 1.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.research-topic img {
    xfloat: left;
    margin: 0.5em 1em 1em 0;
}

.research-topic a {
    background: url(../images/link-arrow.png) no-repeat -1px 5px;
    display: inline-block;
    padding: 0 0 0 13px;
    line-height: 20px;
    font-size: 1em;
    font-style: normal;
    color: #dc8e7f;
    font-weight: bold;
}

.research-topic a:active, 
.research-topic a:hover {
    outline: 0;
}

.research-topic a:hover {
    color: #736f72;
}
.research-topic a:focus,
.research-topic a:hover {
    color: #E74C3C;
    text-decoration: underline;
}



.people {
    margin: 0 100px;
    text-align: center;
}

.people li {
    display: inline-block;
    width: 160px;
    margin: 15px 25px;
    text-align: center;
    vertical-align: top;
    position: relative;
    top:0;left:0;
    transition: all 0.5s ease-out;
}

.people li:hover {
    transform: scale(1.1);
}
    

.people h3 {
    font-size: 120%;
    padding: 0.2em 0;
}

.people img {
    border-radius: 50%;
    width: 160px;
    height: 160px;
    border: 0px solid #ddd;
    box-shadow: none;
    object-fit: cover;
}

img.location,
.contact img.location {
    float: right;
    transform: rotate(15deg) translate(4em,-50px);
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.activity {
    display: block;
    width: 75%;
    box-shadow: 0 0 3px 1px rgb(204, 204, 204);
    border-radius: 3px 3px 3px 3px;
    text-decoration: none !important;
    margin: 1em auto;
    background-size: cover;
}

.activity.activity-projects {
    background-image: url('/files/projects.jpg');
}
.activity.activity-seminars {
    background-image: url('/files/seminars.jpg');
}
.activity.activity-meetings {
    background-image: url('/files/meetings.jpg');
}

.activity span.outer {
    display: inline-block;
    width: 50%;
    background-color: rgb(240,0,0);
    background-color: rgba(240,0,0,0.7);
    padding: 1.0em 2em 1.0em 0;
    margin: 3.5em 0;
}

.activity span.inner {
    display: inline-block;
    text-align: right;
    font-size: 2.5rem;
    color: #fff;
    padding: 0.1rem 0rem 0.1rem 6rem;
    border-bottom: 4px solid #fff;
}

.seminars .seminar {
    margin-bottom: 2em;
}
.seminars .seminar-title {
    font-size: 1.75rem;
}

.seminars .seminar-author {
    font-size: 1.75rem;
}

.seminars .seminar-date {
    font-weight: bold;
}

.seminar-location {
}

.seminar-location-caption {
    font-weight: bold;
}

.seminar-comment {
    white-space: pre-line;
}


.seminars-archive {
    list-style-type: none;
    margin: 0 0 2em 0;
    padding: 0; 
    text-align: center;
}

.seminars-archive li {
    display: inline-block;
    margin: 0 0.3em;
    padding: 0;
}


@media (max-width: 1199px) {  
.activity span.outer {margin: 3em 0;}
.activity span.inner {font-size: 2.2rem;}
.people{margin: 0 0; padding: 0 0;}
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 991px) {  
.activity {width: 100%;}
.activity span.outer {padding: 0.5em 2em 0.5em 0;}
.activity span.inner {padding: 0 0 0 6rem;}
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 767px) {
.activity span.outer {width: 75%; margin: 2.5em 0;}
}

/* bootstrap: sm devices (landscape phones, 576px and up) */
@media (max-width: 575px) { 
.activity span.outer {width: 80%;}
.activity span.inner {font-size: 2rem; }
.content{padding-right: 2em; padding-left: 2em;}
}

/* bootstrap: sm devices (landscape phones, 576px and up) */
@media (max-width: 480px) { 
.activity span.outer {width:100%; padding:0; margin:0;}
.activity span.inner {padding: 0 0 0 2em; font-size: 1.8rem; }
}

/* bootstrap: sm devices (landscape phones, 576px and up) */
@media (max-width: 380px) { 
.activity span.inner {xpadding: 0 1em; font-size: 1.3rem; }
}


/* xs devices */
@media (max-width: 575.98px) {
    body{font-size: 12px;}
}

/* sm devices */
@media (max-width: 767.98px) {
    body{font-size: 14px;}
}
