/*
Template name: Fluid Solution
Template URI: http://templates.arcsin.se/fluid-solution-website-template/
Release date: 2006-09-06
Last updated: 2009-08-08
Description: Totally liquid three-column layout, clean and simple.
Author: Viktor Persson
Author URI: http://arcsin.se/

This template is licensed under a Creative Commons Attribution 2.5 License:
http://templates.arcsin.se/license/
*/
/*
   Reset
------------------------------------------------------------------- */

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
code,
del,
dfn,
em,
img,
q,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
textarea,
input,
select {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
caption,
th,
td {
    text-align: left;
    font-weight: normal;
}
table,
td,
th {
    vertical-align: middle;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}
blockquote,
q {
    quotes: "" "";
}
a img {
    border: none;
}
:focus {
    outline: 0;
}

/*
   Standard Elements
------------------------------------------------------------------- */

a {
    text-decoration: none;
}
body {
    /*background: linear-gradient(to top left, red , blue);*/

    background: #F5F5FB;
    color: #444;
    font: normal 10px "Lucida Sans Unicode", Verdana, sans-serif;
    padding-top: 40px;
}
p,
code,
ul {
    font-size: 20px;
    padding-bottom: 0px;
}
ul {
    margin-bottom: 0px;
}
h1 {
    font-size: 1.4em;
}
code {
    background: url('img/bgcode.gif');
    border: 1px solid #F0F0F0;
    border-left: 6px solid #F06;
    color: #444;
    display: block;
    font: normal 1.1em "Lucida Sans Unicode", serif;
    margin-bottom: 12px;
    padding: 8px 10px;
    white-space: pre;
}
blockquote {
    background: #FBFCF5;
    border-bottom: 1px solid #EED;
    border-top: 1px solid #EED;
    color: #444;
    display: block;
    font: normal 0.9em Verdana, sans-serif;
    margin-bottom: 12px;
    padding: 12px;
}
h1,
h2,
h3,
h4 {
    font: normal 1.2vw "Trebuchet MS", sans-serif;
    color: #F06;
}
/* misc */

.clearer {
    clear: both;
}

/*
   Layout
------------------------------------------------------------------- */

/* header */

.header {
    background: url('img/stripes.gif') no-repeat;
    background-size: 4vw;
    border-bottom: 1px solid #EEE;
    height: 7.5vw;
    margin-bottom: 1.75vw;
}
.header h1 {
    color: #222;
    font: normal 5em sans-serif;
    margin-top: 40px;
    text-align: center;
    font-size: 2.5vw;
}
.header h2 {
    border-top: 1px solid #EEE;
    color: #666;
    text-align: right;
}
.header h2 span {
    background: #222;
    color: #EEE;
    padding: 0 6px;
}

/* left side (main content) */

.main-left {
    margin-top: 0;
    margin-right: 20vw;
    margin-bottom: 20px;
    margin-left: 3%;
}
.content .descr {
    color: #06F;
    font-size: 1.2em;
    margin-bottom: 6px;
}
.content li {
    margin-left: 18px;
    font-size: 1.0vw;
}
.space {
    margin: 10px 0;
}
.list-teaching {
    margin-top: 0.2vw;
}
.list-publications {
    margin-bottom: 0.6vw;
}
div h2.title-publications {
     margin-top: 1.5vw;
}
.content h1 {
    font-size: 1.5vw;
    margin-bottom: 40px;
    color: #3a3a99;
}
.content h2 {
    color: #7070da;
    font-size: 1.25vw;
    margin-bottom: 20px;
    margin-top: 20px;
}
.content a,
.footer a {
    color: #C71585;
    text-decoration: none;
}
.content a:hover,
.footer a:hover {
    /*color: #444;*/

    border-bottom: 1px solid #C71585;
}
.content p {
    font-size: 1.0vw;
    margin-bottom: 5px;
}
/* nav & subnavigation */

.nav,
.main-right {
    margin-bottom: 20px;
    position: absolute;
    top: 40px;
}

/* navigation */

.nav {
    right: 23%;
    text-align: center;
    width: 17%;
}
.nav .logo {
    border-bottom: 1px solid #EEE;
    border-top: 1px solid #EEE;
    height: 159px;
}
.nav h1 {
    color: #F60;
    margin: 12px 0;
}
.nav li {
    border-bottom: 1px solid #EEE;
}
.nav li a {
    color: #888;
    display: block;
    font: normal 1.4em serif;
    padding: 8px 0;
}
.nav li a:hover {
    background: #FAFAFA;
    color: #F06;
}
/* subnav */

.main-right {
    background: #222;
    right: 3%;
    width: 15vw;
    margin-top: 40px;
    position: fixed;
}
.subnav {
    padding: 0px 0.6vw 0px;
}
.subnav h1 {
    color: #9999D6;
    font-size: 1.1vw;
    height: 1.5vw;
    padding: 0px 0.4vw 0.4vw;
}
.subnav h1 a {
    color: #9999D6;
}
.subnav h1 a:hover {
    border-bottom: 1px solid #9999D6
}
.subnav ul {
    margin: 0 0 16px;
    padding: 0;
}
.subnav li {
    list-style: none;
    margin: 0;
    border-bottom: 1px solid #333;
}
.subnav li a {
    color: #777;
    display: block;
    padding: 0.2vw 0.3vw 0.2vw 0.4vw;
    text-decoration: none;
    font-size: 0.9vw;
    height: 1.3vw;
}
.subnav li a:hover {
    color: #DDD;
}

/* round edges */

.roundtl,
.roundtr,
.roundbl,
.roundbr {
    background: url('img/round.gif');
    height: 16px;
    width: 14px;
}
.roundtl,
.roundbl {
    float: left;
}
.roundtr,
.roundbr {
    float: right;
}
.roundtr {
    background-position: right top;
}
.roundbr {
    background-position: right bottom;
}
.roundbl {
    background-position: left bottom;
}

/* footer */

.footer {
    color: #666;
    border-top: 1px solid #EEE;
    font: normal 1em Verdana, sans-serif;
    margin-top: 0;
    margin-right: 20vw;
    margin-bottom: 20px;
    margin-left: 3%;
    padding: 8px 6px;
    font-size: 0.5vw;
}
.footer .right,
.footer .right a {
    color: #AAA;
}
.footer .right a:hover {
    color: #333;
}
/* Floats */

.left,
.alignleft {
    float: left;
}
.right,
.alignright {
    float: right;
}
.clear,
.clearer {
    clear: both;
}
.clearer {
    display: block;
    font-size: 0;
    line-height: 0;
    height: 0;
}

/* remove the scrollbar */

/*html {
  overflow-y: scroll;
}*/

/* Customize button style (http://www.bestcssbuttongenerator.com/) */

.myButton {
    -moz-box-shadow: inset 0px 39px 0px -24px #F5F5FB;
    -webkit-box-shadow: inset 0px 39px 0px -24px #F5F5FB;
    box-shadow: inset 0px 39px 0px -24px #F5F5FB;
    background-color: #F5F5FB;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #F5F5FB;
    display: inline-block;
    cursor: pointer;
    color: #F5F5FB;
    font-family: Arial;
    font-size: 15px;
    padding: 6px 15px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #F5F5FB;
}
.myButton:hover {
    background-color: #F5F5FB;
}
.myButton:active {
    position: relative;
    top: 1px;
}

/* Collapsing buttons */

figure {
    margin: 0
}
img {
    vertical-align: middle
}
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto
}
.img-rounded {
    border-radius: 6px
}
.img-thumbnail {
    padding: 4px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    display: inline-block;
    max-width: 100%;
    height: auto
}
.img-circle {
    border-radius: 50%
}
hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto
}
[role="button"] {
    cursor: pointer
}
.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear
}
.fade.in {
    opacity: 1
}
.collapse {
    display: none
}
.collapse.in {
    display: block
}
tr.collapse.in {
    display: table-row
}
tbody.collapse.in {
    display: table-row-group
}
.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transition-property: height, visibility;
    -o-transition-property: height, visibility;
    transition-property: height, visibility;
    -webkit-transition-duration: .35s;
    -o-transition-duration: .35s;
    transition-duration: .35s;
    -webkit-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    transition-timing-function: ease
}
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table
}
.clearfix:after {
    clear: both
}
.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.pull-right {
    float: right !important
}
.pull-left {
    float: left !important
}
.hide {
    display: none !important
}
.show {
    display: block !important
}
.invisible {
    visibility: hidden
}
.text-hide {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0
}
.hidden {
    display: none !important
}
.affix {
    position: fixed
}

/* Video container */

.video_container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* image grid layout */

.row {
  display: flex;
  /*flex-wrap: wrap;*/
  padding: 0 4px;
}

/* Create two equal columns that sits next to each other */
.column {
  flex: 50%;
  max-width: 50%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

.column video {
  margin-top: 8px;
  vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */
/*@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}*/

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
/*@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
} */