html {
	background-color: #000;
    height: 100%; width: 100%;
}

body {
    padding: 0; margin: 0;
    width: 100%;
    font-family: 'Raleway', Helvetica Neue, sans-serif;
    font-size: 20px;
    font-weight: 100;
    min-width: 900px;
    height: 100%;
}

::selection {
	background: #badee0;
}
::-moz-selection {
	background: #a8d8a1;
}

a {
    font-style: italic;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
} a:hover {
    color: #ffd1c2;
} a:active {
    color: #fff0c2;
}

a .bg:hover {
    background-color: #111;
} a.bg:active {
    background-color: #000;
  }

.bg-wrapper {
}

.bg-wrapper .bgvid {
    position: fixed; right: 0; top: 0;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto; z-index: -100;
    background: url(/assets/bg.png) no-repeat;
    background-size: cover;
}

.noblur {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    -webkit-transition: -webkit-filter 2s linear, filter 2s linear; /* For Safari 3.1 to 6.0 */
    transition: -webkit-filter 2s linear, filter 2s linear;
}
.blur {
    -webkit-filter: blur(2px);
    filter: blur(2px);
    -webkit-transition: -webkit-filter 2s linear, filter 2s linear; /* For Safari 3.1 to 6.0 */
    transition: -webkit-filter 2s linear, filter 2s linear;
    /*filter: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter id="gaussian_blur"><feGaussianBlur in="SourceGraphic" stdDeviation="90" /></filter></defs></svg>#gaussian_blur');*/
}

.hue-0 {
    /*-webkit-filter: blur(0px) hue-rotate(0deg);*/
    /*filter: blur(0px) hue-rotate(0deg);*/
    -webkit-filter: hue-rotate(0deg);
    filter: hue-rotate(0deg);
    -webkit-transition: -webkit-filter 2s linear, filter 2s linear;
    transition: -webkit-filter 2s linear, filter 2s linear;
}
.hue-70 {
    /*-webkit-filter: blur(10px) hue-rotate(70deg);*/
    /*filter: blur(10px) hue-rotate(70deg);*/
    -webkit-filter:hue-rotate(70deg);
    filter: hue-rotate(70deg);
    -webkit-transition: -webkit-filter 2s linear, filter 2s linear; /* For Safari 3.1 to 6.0 */
    transition: -webkit-filter 2s linear, filter 2s linear;
}
.hue-140 {
    /*-webkit-filter: blur(10px) hue-rotate(140deg);*/
    /*filter: blur(10px) hue-rotate(140deg);*/
    -webkit-filter: hue-rotate(140deg);
    filter: hue-rotate(140deg);
    -webkit-transition: -webkit-filter 2s linear, filter 2s linear; /* For Safari 3.1 to 6.0 */
    transition: -webkit-filter 2s linear, filter 2s linear;
}
.hue-210 {
    /*-webkit-filter: blur(10px) hue-rotate(210deg);*/
    /*filter: blur(10px) hue-rotate(210deg);*/
    -webkit-filter: hue-rotate(210deg);
    filter: hue-rotate(210deg);
    -webkit-transition: -webkit-filter 2s linear, filter 2s linear; /* For Safari 3.1 to 6.0 */
    transition: -webkit-filter 2s linear, filter 2s linear;
}
.hue-280 {
    /*-webkit-filter: blur(10px) hue-rotate(280deg);*/
    /*filter: blur(10px) hue-rotate(280deg);*/
    -webkit-filter: hue-rotate(280deg);
    filter: hue-rotate(280deg);
    -webkit-transition: -webkit-filter 2s linear, filter 2s linear; /* For Safari 3.1 to 6.0 */
    transition: -webkit-filter 2s linear, filter 2s linear;
}

.greyscale {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
    filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale");
}

.blurgrey {
    -webkit-filter: blur(10px) grayscale(100%);
    -moz-filter: blur(10px) grayscale(100%);
    filter: blur(10px) grayscale(100%);
    filter: blur(10px) gray;
    filter: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter id="gaussian_blur"><feGaussianBlur in="SourceGraphic" stdDeviation="90" /></filter></defs></svg>#gaussian_blur') url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale");
}

.stroketext{
    color: #ddd;
    text-shadow: -1px -1px 0px #303030, 1px 1px 0px #303030, 1px -1px 0px #303030, -1px 1px 0px #303030;
}

.main {
    width: 70%;
    min-width: 900px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    /*color: #EAEAEA;*/
    color: #ffffff;
}

.main #content {
    float: left;
    margin-top: 200px;
    width: 80%;
    font-family: 'Raleway', Helvetica Neue, sans-serif;
    font-size: 16px;
    font-weight: 100;
    margin-bottom: 200px;
}

.main .home-back {
    font-size: 30px;
    text-decoration: none;
    background-color: #303030;
}

.main #content .intro-text {
    font-size: 100px;
    letter-spacing: -1px;
    text-transform: uppercase;
    font-weight: 300;
    font-family: 'Alegreya Sans SC', Helvetica Neue, sans-serif;
}

#intro span {
    font-size: 20px;
}

.main .bg {
    padding: 4px 8px 4px 8px;
    background-color: #303030;
}

.main #intro-nav .bg {
    padding: 4px 10px 4px 8px;
    /*background-color: rgba(0,0,0,0.3);*/
    background-color: #303030;
} .main #intro-nav .bg:hover {
    background-color: #222;
} .main #intro-nav .bg:active {
    background-color: #000;
}

.intro-element {
    margin-bottom: 20px;
}
.intro-element a img {
    width: 400px;
    margin-top: 10px;
}
.intro-element a{
    opacity: 0.9;
} .intro-element a:hover {
    opacity: 1.0;
} .intro-element a:active {
    opacity: 1.0;
}

.main #intro-nav {
    float: left;
    margin-top: 230px;
    width: 20%;
    text-align: right;
    font-size: 16px;
}

.main #intro-nav .selected {
    font-weight: bolder;
}

#content p {
    padding: 8px 12px 8px 12px;
    text-align: justify;
}

#content p a {
    font-weight: bolder;
    font-style: normal;
}

#content span a {
    font-weight: bolder;
}

#pubs .pub {
    float: left;
    margin-bottom: 50px;
}
#pubs .pub-im-wrap {
    width: 100%;
}
#pubs .pub-label-wrap {
    width: 100%;
    min-height: 56px;
}
#pubs .pub .pub-im {
    height: 150px;
    border: 2px #303030 solid;
    margin: 0;
    padding: 0;
    margin-left: 56px;
    margin-bottom: 2px;
}
#pubs .pub .pub-label {
    font-family: 'Alegreya Sans SC', "Helvetica Neue", sans-serif;
    font-size: 20px;
    float: left;
    margin: 0;
}
#pubs .pub .pub-label-span-wrap {
    width: 100%;
    min-height: 32px;
    min-width: 600px;
}
#pubs .pub .pub-authors {
    font-size: 14px;
    float: left;
    max-width: 620px;
}
#pubs .pdf-link {
}
#pubs .pdf-link img {
    background-color: #ddd;
    border: 2px #303030 solid;
    height: 52px;
    float: left;
    margin-bottom: 20px;
} #pubs .pdf-link img:hover {
    background-color: #eee;
    border-color: #111;
} #pubs .pdf-link img:active {
    background-color: #fff;
    border-color: #000;
}


#projects .project {
    margin-top: 50px;
    width: 100%;
    height: 100%;
    float: left;
}
#projects .title {
    float: left;
    width: 550px;
    margin-top: 4px;
}
#projects .project .title a,  #projects .project .title span{
    margin-left: 5px;
    font-family: 'Alegreya Sans SC', "Helvetica Neue", sans-serif;
    font-size: 40px;
    color: #303030;
    background-color: #ddd;
    border: 2px #303030 solid;
    padding: 2px 10px 2px 10px;
    font-weight: bold;
} #projects .project .title a:hover {
    color: #111;
    background-color: #eee;
    border-color: #111;
} #projects .project .title a:active {
    color: #000;
    background-color: #fff;
    border-color: #000;
}

#projects .project .description{
    float: left;
    font-family: 'Raleway', "Helvetica Neue", sans-serif;
    color: #303030;
    background-color: #ddd;
    border: 2px #303030 solid;
    padding: 10px 0px 20px 0px;
    font-weight: 300;
    margin-top: 10px;
    width: 541px;
    margin-left: 5px;
}
#projects .project .description p {
    margin-top: 10px;
    margin-bottom: 0px;
    padding-top: 0;
    padding-bottom: 0;
}

#projects .project .image {
    float: left;
    margin-left: 5px;
    margin-top: 10px;
    margin-bottom: -7px;
}
#projects .project .image img {
    width: 250px;
    border: #303030 2px solid;
    margin-bottom: 0px;
}

#projects .project .fullwidth {
    width: 795px !important;
}

#projects .project .description a {
    color: #303030;
    font-weight: bold;
    font-size: 18px;
} #projects .project .description a:hover {
    color: #111;
    text-decoration: underline;
} #projects .project .description a:active {
    color: #000;
}