/* 
Theme Name: BFUF Responsive
Theme URL: http://bfuf.se
Description: A custom made for Bfuf
Author: Klas Ehnemark
Author URI: http://bfuf.se
Version: 1.1

*/

/*   COMMON   */

* {
    padding: 0px;
    margin: 0px;
}

body {
    background-color: #fff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
}

:focus {
    outline: 0;
}

.strike_through {
    text-decoration: line-through;
}

.hidden {
    display: none;
}

.clear {
    clear: both;
}

.clear_after:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.nofloat {
    float: none !important;
}

ul.no_bullets {
    list-style: none;
}

a img {
    border: none !important;
}

a,
a:visited {
    color: #22628E;
}

/*	STYLES	*/

h1 {
    font-size: 28px;
    font-weight: normal;
    margin: 10px 0px 7px;
    line-height: 30px;
}

h2 {
    font-size: 22px;
    font-weight: normal;
    line-height: 30px;
}

h3 {
    font-size: 15px;
    line-height: 18px;
    margin: 7px 0px 4px;
}

h4 {
    font-size: 18px;
    font-weight: normal;
    line-height: 23px;
    margin: 7px 0px 25px;
}

h5 {}

h6 {}

p {
    margin-bottom: 25px;
}

ul {
    margin-left: 15px;
}

ul li {
    margin-bottom: 5px;
}

/*	ANIMATIONS	*/

.trans {
    transition: 0.2s;
    -moz-transition: 0.2s;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
}

/*	HEADER	*/

#header {
    text-align: center;
    width: 100%;
    overflow: hidden;
}

#header>img {
    width: 1157px;
}

#header .logo {
    display: none;
}

#header .logo img {
    width: 100%;
}

.page_background {
    background-color: #f3f3f3;
    min-height: 300px;
    border-bottom: 4px solid #81969b;
}

/*	MENUS	*/

.menu_row {
    height: 28px;
    width: 100%;
    background-color: #7d9096;
}

.menu_mobile {
    font-size: 14px;
    font-weight: bold;
    line-height: 28px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

.menu_mobile a {
    color: white;
    text-decoration: none;
    width: 100%;
    display: block;
}

.menu_mobile .fa {
    font-size: 52px;
    color: #7d9096;
    -webkit-text-stroke: 1px white;
    padding: 18px;
}

.menu_mobile .fa-close {
    font-size: 65px;
    color: white;
    background: #7d9096;
    -webkit-text-stroke: 9px #7d9096;
    padding: 10px;
    padding-left: 18px;
    padding-right: 18px;
}

.top_menu {
    display: block;
    max-width: 932px;
    margin: 0px auto;
    padding-left: 20px;
}

.top_menu li {
    float: left;
    padding: 0px 10px;
    font-size: 14px;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 0px;
}

.top_menu li:last-child {
    background-image: none;
}

.top_menu li a {
    color: #fdfeff;
    text-decoration: none;
    text-transform: uppercase;
}

.top_menu li.active {
    background-color: #66757b;
}

.top_menu li.active a {
    text-shadow: 0px 0px 19px rgba(255, 255, 255, 0.3);
    color: #fdfeff;
}

.top_menu li:hover a {
    text-shadow: 0px 0px 19px rgba(255, 255, 255, 0.3);
    color: #fdfeff;
}

.top_menu li.level1:last-child {
    float: right;
}

.top_menu li.level1:last-child span.level1 a {
    padding-right: 40px;
    background: url(images/english.png) no-repeat right;
}

#top_menu ul.submenu {
    display: none;
}

.sub_menu {
    font-family: Arial;
}

.sub_menu li {
    position: relative;
    padding: 9px 4px 9px 25px;
    border-bottom: 1px solid #ccdadf;
    margin-bottom: 0px;
}

.sub_menu li a:before {
    content: '>';
    display: block;
    position: absolute;
    left: 10px;
}

.sub_menu li a {
    color: #22628e;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
    -moz-transition: 0.2s;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
}

.sub_menu li:hover a {
    color: #000;
}

.sub_menu li.active a {
    color: #000;
    font-weight: bold;
}

.sub_menu li.sub_level_start a {
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    left: -15px;
}

.sub_menu li.sub_level_start a:before {
    content: '';
}


/*	PAGE	*/

.the_page {
    max-width: 932px;
    margin: 0px auto;
    padding-bottom: 10px;
}

.page_canvas {
    max-width: 914px;
    background-color: #fff;
    padding: 9px;
    margin: 25px 0px 35px;
    min-height: 450px;
}

.page_canvas .left {
    width: 182px;
    margin-right: 15px;
    float: left;
    padding-top: 15px;
}

.page_canvas .right {
    xfloat: right;
    xmax-width: 712px;
    width: 100%;
}

.page_canvas .right.wide {
    max-width: 914px;
}

.page_canvas .middle {
    max-width: 460px;
    float: left;
    padding: 15px 0px 15px 15px;
    overflow: hidden;
    background: white;
}

.page_canvas .right.wide .middle {
    max-width: 672px;
}

.page_canvas .middle.wide {
    max-width: 682px;
    float: none;
}

.page_canvas .middle.wide.newslist {
    max-width: 712px;
    margin-right: 0px;
}

.page_canvas .outer {
    max-width: 207px;
    float: right;
    padding: 25px 10px 0px;
    background: white;
}

.page_canvas .no_outer {
    padding: 25px 20px 0px 0px;
    position: relative;
    max-width: 690px;
    float: left;
}

.page_canvas .full_width {
    padding: 15px 0px 15px 15px;
    position: relative;
    max-width: 690px;
	margin-left: auto;
}

.page_canvas.application {
    min-height: inherit;
    padding-bottom: 20px;
}

/*	AKTUELLT	*/

.rightcol_news {
    border: 1px solid #dbdbdb;
    padding: 9px;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#f2f2f2));
    background: -webkit-linear-gradient(top, #fff, #f2f2f2);
    background: -moz-linear-gradient(top, #fff, #f2f2f2);
    background: -ms-linear-gradient(top, #fff, #f2f2f2);
    background: -o-linear-gradient(top, #fff, #f2f2f2);
}

.rightcol_news h1 {
    color: #f1592a;
    font-size: 18px;
    border-bottom: 1px solid #dbdbdb;
    margin: 0px 0px 7px;
    padding-bottom: 7px;
}

.rightcol_news .news_item {
    line-height: 16px;
    margin-bottom: 15px;
}

.rightcol_news .news_item:last-child {
    margin-bottom: 0px;
}

.rightcol_news .news_item .date {
    font-size: 10px;
    line-height: 10px;
    font-weight: bold;
}

.rightcol_news .news_item a {
    color: #22628e;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

/*	FRONTPAGE		*/

.notice {
    min-height: 467px;
    max-width: 914px;
    border: 9px solid #fff;
    margin: 25px 0px;
    position: relative;
    background-color: #fff;
}

.notice .page {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
}

.notice .page.active {
    position: relative !important;
}

.notice .page img {
    width: 100%;
    height: auto;
}

.notice img.full_image {
    max-width: 914px;
}

.notice .hud {
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 30px;
    left: 30px;
    width: 260px;
    padding: 20px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.notice .hud h2 {
    font: 24px Sans-Serif !important;
    text-transform: uppercase;
    font-size: 38px;
    line-height: 1;
    padding: 0 0 10px 0;
    color: #01628c;
}

.notice .hud p {
    color: #000;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 0px;
}

.notice .hud .read_more {
    font-size: 12px;
    color: #eb8056;
    font-weight: bold;
    display: block;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    top: 5px;
}

.video-wrapper 									{ position: relative; padding-top: 56.25%; height: 0; background-color: #eee; }

.video-wrapper video, .video-wrapper iframe 	{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.frontpage_news {
    min-height: 179px;
    margin: 0px 0px 20px;
    display: flex;
}

.frontpage_news .news_item {
    max-width: 438px;
    min-height: 157px;
    padding: 9px;
	background-color: #fff;
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 990px) {
	.frontpage_news .news_item {
		width: 50%;
		box-sizing: inherit;
	}
}

.frontpage_news .news_item:first-child {
    margin-right: 20px;
}

.frontpage_news .attachment-thumbnail {
    float: left;
    margin-right: 9px;
}

.frontpage_news .date {
    font-size: 10px;
    line-height: 10px;
    font-weight: bold;
}

.frontpage_news h2 {
    margin: 5px 0px;
    font-size: 18px;
    line-height: 20px;
}

.frontpage_news h2 a {
    color: #01628c;
    font-weight: normal;
    text-decoration: none;
}

.frontpage_news p {
    font-size: 13px;
    margin-bottom: 0px;
    line-height: 1.5;
}

.frontpage_news .read_more {
    font-size: 12px;
    color: #eb8056;
    font-weight: bold;
    display: block;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
}

.frontpage_events {
    width: 100%;
    height: 36px;
    margin: 0px 0px 30px;
    background-color: #fff;
    clear: both;
}

.frontpage_events .inner {
    padding: 9px;
    position: relative;
}

.frontpage_events .scroller {
    margin-left: 135px;
    height: 18px;
    overflow: hidden;
    font-size: 13px;
}

.frontpage_events .event_item {
    display: none;
}

.frontpage_events .eevent_item.active {
    display: inline-block;
}

.frontpage_events p {
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.frontpage_events a {
    text-decoration: none;
}

.frontpage_events .read_more {
    font-size: 12px;
    color: #eb8056;
    font-weight: bold;
    display: block;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
    position: absolute;
    left: 9px;
    top: 9px;
}

/* PUBLICATIONS		*/

.pub-search {}

.pub-search-area {
    border: 1px solid #688691;
    background: #FFF;
    position: relative;
}

.pub-search-area .inner {
    padding: 10px 5px;
}

.pub-search-area .inactive-pub-cats {
    color: #666;
    font-size: 12px;
    margin-bottom: 2px;
}

.pub-query {
    width: 100%;
    font-size: 1.25em;
    border: none;
    margin: 0 5px;
}

.pub-query.no-query {
    color: #999;
}

.pub-search-area.has-cats .pub-query {
    margin-top: 8px;
}

.pub-search-area.has-cats .inner {
    padding-top: 0px;
}

.pub-search button {
    position: absolute;
    right: 10px;
    bottom: 7px;
    font-size: 20px;
    border: 0;
    background-color: #7d9096;
    border-radius: 100%;
    color: #fff;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.inactive-pub-cats {
    margin: 10px 0 0px;
}
.inactive-pub-cats.last {
    margin-bottom: 20px;
}

.pub-cats h3 {
    font-weight: normal;
}

.pub-cat {
    background-color: #7d9096;
    font-size: 14px;
    border-radius: 5px;
    height: 25px;
    padding: 0px 10px;
    display: inline-block;
    color: #fff;
    position: relative;
    margin-right: 3px;
    margin-bottom: 3px;
    line-height: 25px;
}

.active-pub-cats {
    background-color: rgba(125, 144, 150, 0.2);
}

.active-pub-cats .pub-cat .fa {
    cursor: pointer;
    color: #fff;
}

.pub-search-area.has-cats .active-pub-cats {
    padding: 5px;
}

.inactive-pub-cats .pub-cat {
    cursor: pointer;
}

.inactive-pub-cats .pub-cat .fa {
    display: none;
}

.inactive-pub-cats {
    display: none;
}

.inactive-pub-cats.has-cats {
    display: block;
}

#pub-search-results .spinner {
    width: 100%;
    text-align: center;
    font-size: 30px;
    color: #688691;
    margin-top: 130px;
}

.publications {
    padding-bottom: 30px;
}

.publications table {
    margin-top: 20px;
    font-size: 14px;
}

.publications th {
    color: #688691;
    text-align: left;
    padding: 10px 0px 2px;
    font-weight: normal;
    border-bottom: 1px solid #688691;
}

.publications th .fa {
    margin-left: 3px;
}

.publications th.orderable {
    cursor: pointer;
}

.publications td {
    vertical-align: top;
    border-bottom: 1px solid #ddd;
    margin: 0px;
    padding: 7px 5px 0 0;
    word-wrap: break-word;
}

.publications .title {
    width: 230px;
}

.publications .title .prefix {
    font-size: 11px;
    line-height: 1.3;
}

.publications .title .pub-cat {
    background-color: #eee;
    font-size: 11px;
    border-radius: 5px;
    padding: 2px 5px;
    display: inline;
    color: #666;
    position: relative;
    margin-right: 3px;
    cursor: pointer;
}

.publications .year {
    width: 40px;
}

.publications .project {
    width: 110px;
}

.publications .keywords {
    width: 110px;
}

.publications tbody .keywords {
    word-break: break-all;
    font-size: 11px;
    line-height: 1.2;
}

.publications .download {
    width: 100px;
}

.publication .download-alt {
    margin-top: 5px;
}

.publications .image {
    width: 100px;
    padding-right: 0px;
}

.publications .image img {
    width: 100px;
    height: auto;
}

.publications .searched-for {
    background-color: #eee;
    padding: 3px 5px;
    margin-top: 10px;
    font-size: 12px;
}

.publications .no-hits {
    color: #666;
    padding: 5px;
    font-size: 12px;
}

.publications table a {
    text-decoration: none;
}

.publications table td a:hover {
    text-decoration: underline;
}

.project-publication-link {
    margin: 10px 0;
    font-size: 12px;
}

.project-publication-link a {
    background-color: #eee;
    font-size: 14px;
    border-radius: 5px;
    padding: 4px 10px;
    display: inline;
    color: #666;
    position: relative;
    margin-right: 3px;
}

.publications.by-project .title {
    width: 325px;
}

.publications .project-sep {
    border-top: 1px solid #ccc;
    margin: 3px 0;
}

/*	SHORtCODES	*/

table.projects {
    font-size: 14px;
    line-height: 10px;
    width: 100%;
    margin: 20px 0px;
    line-height: 15px;
}

.no_outer table.projects {
    width: auto;
}

table.projects a {
    color: #22628e;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

table.projects thead {
    height: 30px;
    color: #fff;
    background-color: #eaeaea;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#a1b4ba), to(#7d9096));
    background: -webkit-linear-gradient(top, #a1b4ba, #7d9096);
    background: -moz-linear-gradient(top, #a1b4ba, #7d9096);
    background: -ms-linear-gradient(top, #a1b4ba, #7d9096);
    background: -o-linear-gradient(top, #a1b4ba, #7d9096);
    -moz-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
}

table.projects th {
    padding: 5px 15px 5px 5px;
    text-align: left;
    position: relative;
    cursor: pointer;
}

table.projects td {
    padding: 5px;
}

table.projects td:first-child {
    padding-top: 10px;
}

table.projects tr:hover td {
    background-color: #d4e1e5;
}

table.projects th.sorted:after {
    content: '\25b2';
    position: absolute;
    margin-left: 5px;
    color: #eee;
    font-size: 10px;
}

table.projects th.sorted.asc:after {
    content: '\25bc';
}

.project_meta {
    background-color: #7d9096;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#a1b4ba), to(#7d9096));
    background: -webkit-linear-gradient(top, #a1b4ba, #7d9096);
    background: -moz-linear-gradient(top, #a1b4ba, #7d9096);
    background: -ms-linear-gradient(top, #a1b4ba, #7d9096);
    background: -o-linear-gradient(top, #a1b4ba, #7d9096);
    padding: 9px;
    margin: 0px 0px 20px 0px;
    -moz-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.project_meta .header {
    position: relative;
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: 3px;
    color: #333;
    text-align: left;
    min-width: inherit;
}

.project_meta .text {
    font-weight: normal;
    font-size: 15px;
    text-transform: none;
    color: #fff;
    position: relative;
    top: -5px;
    margin-bottom: 3px;
}

.project_meta .text a {
    color: #fff;
}

.columns {
    -moz-column-width: 220px;
    -moz-column-gap: 25px;
    -webkit-column-width: 220px;
    -webkit-column-gap: 25px;
    column-width: 220px;
    column-gap: 25px;
}

.person {
    width: 170px;
    padding: 10px 20px;
    margin: 0px 20px 0px 0px;
    float: left;
	text-align: center;
	min-height: 268px; 
}

.person img {
    -moz-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
}

.person p {
    margin-bottom: 4px;
}

.person .title,
.person .credits {
    font-style: italic;
    font-size: 12px;
    line-height: 12px;
}

.person .telephone {
    font-size: 12px;
    line-height: 14px;
}

.puff.person {
    width: 207px;
    padding: 0px;
    float: none;
}

.outer .person {
    min-height: inherit;
    margin-bottom: 20px;
}

.news_blog {
    margin: 0px 0px 30px;
}

.news_blog .news_item {
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #CCDADF;
}

.passed-event {
    opacity: 0.5;
}

.future-event {}

.news_blog .date {
    font-size: 10px;
    line-height: 10px;
    font-weight: bold;
}

.news_blog h2 {
    margin: 5px 0px;
    font-size: 18px;
    line-height: 20px;
}

.news_blog h2 a {
    color: #01628c;
    font-weight: normal;
    text-decoration: none;
}

.news_blog p {
    font-size: 13px;
    margin-bottom: 0px;
    line-height: 1.5;
}

.news_blog .read_more {
    font-size: 12px;
    color: #eb8056;
    font-weight: bold;
    display: block;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
}

.news_blog img.size_thumbnail {
    float: left;
    margin: 0px 20px 0px 0px;
}

.news_blog .news_text {
    max-width: 680px;
}

.news_blog .news_text.below_page_head_image {
    margin-top: 5px;
}

ul.page-numbers {
    list-style: none;
    height: 40px;
    padding-left: 0px;
    margin: auto;
    display: inline-block;
}

ul.page-numbers li {
    margin: 0px 5px 10px 0;
    display: inline;
}

.news_event_item {
    border: 2px solid #81969b;
    overflow: hidden;
    padding: 10px;
    margin: 15px 0;
}

.event-categories {
    display: inline-block;
    background-color: #22628E;
    color: #fff;
    border-radius: 5px;
    padding: 0 5px;
    margin-right: 5px;
    font-size: 13px;
}

/*	FOOTER	*/

.footer {
    margin: 20px auto 80px auto;
    font-size: 12px;
    line-height: 18px;
    position: relative;
    max-width: 932px;
    padding-left: 20px;
}

.footer .invit {
    margin-bottom: 10px;
}

.footer p {
    margin-bottom: 0px;
}

.footer .about {
    max-width: 400px;
    margin: 0px;
}

.footer .about p:first-child {
    font-weight: bold;
}

.footer .about p.unwto {
    font-weight: normal;
    margin-top: 10px;
    font-size: 80%;
}

.footer .logos {
    position: absolute;
    right: 20px;
    bottom: 5px;
}

.footer .logos img {
    float: right;
    margin-left: 24px;
}

.footer .logos a:first-child img {}

.footer .logos a:last-child img {
    position: relative;
    top: 11px;
}


/* VIDEO */

.bfuf-videos {
	display: flex;
	flex-flow: row wrap;
	position: relative;
	max-width: 650px;
}

.bfuf-videos br {
	display: none;
}

a.bfuf-video { 
}

.bfuf-video {
	flex: 1 0 calc(50% - 12px);
	position: relative;
	width: 275px;
	margin-right: 12px;
}

.bfuf-video .img {
	max-width: 100%;
	background-size: cover;
	background-position-y: 50%;
	padding-top: 56.25%;
	position: relative;
}

.bfuf-video svg {
	width: 100px;
	height: 50px;
	top: calc(50% - 25px);
	position: absolute;
	left: calc(50% - 50px);
	opacity: 0.7;
}
.bfuf-video h5 {
	margin-top: 4px;
	margin-bottom: 12px;
}

#video-overlay  {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	display: none;
    align-items: center;
    justify-content: center;
}
#video-overlay.show {
	display: flex;
}
#video-overlay .inner {
	flex: 1;
	margin: 80px;
}
#video-overlay a[href="#close"] svg {
	position: absolute;
	top: 24px;
	right: 24px; 
	width: 48px; 
	height: 48px; 
}
#video-overlay .inner video {

}
#video-overlay .inner h3 {

}

@media (max-width: 767px) {
	.bfuf-videos {
		display: block;
		max-width: inherit;
	}
	.bfuf-video {
		flex: none;
		width: 100%;
		margin-right: 12px;
	}
	.page_canvas .full_width {
		float: none;
	}
}



/*	MISC	*/

.error404 {
    background-color: #a1b4ba;
    border: 9px solid #7d9096;
    padding: 25px 25px 0px;
    margin: 25px 0px;
}

.form mc4wp-form p {
    margin: 20px 0;
}

/*	RESPONSIVENESS	*/

.menu_mobile {
    display: none;
}

@media (max-width: 989px) {

    #header>img {
        margin-left: -120px;
    }

    .top_menu li {
        padding: 0px 10px;
    }

    .frontpage_news {
        display: block;
    }

    .frontpage_news .news_item:first-child {
        margin-right: 0px;
    }

    .frontpage_news .news_item {
        max-width: none;
        min-height: none;
        margin-bottom: 20px;
    }

    .the_page {
        padding: 15px;
        padding-top: 0px;
    }

    .notice {
        min-height: 360px;
    }

    .page_canvas .middle.wide, .page_canvas .middle.wide.newslist {
        max-width: 500px;
    }

    .page_canvas .no_outer {
        max-width: 490px;
    }

    .page_canvas .outer {
        padding-bottom: 10px;
        max-width: unset;
        width: calc(100% - 20px);
        float: left;
    }

    .page_canvas .outer > * {
        width: calc(100% - 20px);
        padding: 10px;
    }

    .sub_menu {
        margin-left: 5px;
    }

    .sub_menu li {
        padding: 3px 4px 3px 25px;
        border-bottom: 0px;
    }

}

@media (max-width: 767px), (max-height:380px) {

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 20px;
    }

    #header {
        height: 86px;
        border-bottom: 5px solid #7d9096;
    }

    #header>img {
        display: none;
    }

    #header .logo {
        display: block;
        width: 200px;
        position: absolute;
        top: 15px;
        left: 15px;
    }

    .top_menu li {
        position: relative;
    }

    #menu_row.collapsed #top_menu {
        display: none;
    }

    #menu_row.collapsed {
        height: 0px;
        overflow: hidden;
    }

    .notice {
        margin-left: -15px;
        margin-right: -15px;
        margin-top: 0px;
        min-height: 200px;
    }

    .notice .hud {
        position: relative;
        top: 0px;
        left: 0px;
        background: white;
        padding: 0px;
        margin: 10px;
        width: auto;
        display: block !important;
    }

    .notice .hud h2 {
        font-size: 18px !important;
    }

    .top_menu {
        padding-left: 40px;
        padding-right: 40px;
        margin-top: -3px;
        padding-bottom: 30px;
    }

    .top_menu li {
        float: none;
        background: none;
        border-bottom: 3px solid white;
        font-size: 18px;
        padding: 0px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .top_menu li.active {
        background-color: transparent;
    }

    .top_menu li.active a {
        text-shadow: none;
        color: #fdfeff;
    }

    .top_menu li.level1:last-child {
        float: none;
    }

    .top_menu li.level1:last-child span.level1 a {
        padding-right: 27px;
    }

    #top_menu ul.submenu {
        display: block;
    }

    #top_menu li.open ul.submenu, #top_menu li.active ul.submenu {
        border-top: 3px solid white;
    }

    #top_menu li.active ul.submenu {
        display: block;
    }

    #top_menu ul.submenu {
        position: absolute;
        list-style: none;
        margin: 0px;
        padding: 30px 0 0 0px;
        position: absolute;
        max-height: 0px;
        overflow: hidden;
        top: 5px;
        width: 40px;
        right: 0;
        cursor: pointer;
    }
    
    #top_menu li.open .submenu::after, #top_menu li.open .submenu::before {
        top: -34px;
    }
    
    #top_menu li .submenu:before {
        /* transform: rotate(90deg); */
    }
    
    #top_menu li .submenu::after, #top_menu li .submenu::before {
        content: '\f054';
        display: block;
        height: 22px;
        width: 22px;
        position: absolute;
        right: -8px;
        top: 4px;
        cursor: pointer;
        color: white;
        font-weight: normal;
        display: inline-block;
        font: normal normal normal 20px / 1 FontAwesome;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        transform: translate(0, 0);
        -webkit-text-stroke: 1px #7d9096;
    }

    #top_menu li.open .submenu::after, #top_menu li.open .submenu::before {
        content: '\f078';
        right: -3px;
    }

    #top_menu li.active .submenu, #top_menu li.open .submenu {
        max-height: 1000px;
        position: relative;
        padding-top: 0px;
        overflow: visible;
        width: 100%;
    }

    #top_menu li.active .submenu::after, #top_menu li.active .submenu::before {
        content: '';
    }

    #top_menu ul.submenu li {
        font-weight: normal;
        position: relative;
        padding: 6px 4px 5px 15px;
        margin-left: 20px;
    }
    
    #top_menu ul.submenu li:last-child {
        border-bottom: 0px;
    }
    
    #top_menu ul.submenu li a:before {
        content: '>';
        display: block;
        position: absolute;
        left: 0px;
    }
    
    ul.sub_menu {
        margin-left: 0px;
    }

    .sub_menu li {
        float: left;
        border: 0px !important;
        padding: 5px 14px 5px 0px !important;
    }

    .sub_menu li a:before {
        content: none !important;
    }

    .sub_menu li.sub_level_start a {
        font-size: 14px !important;
        left: 0px !important;
    }

    .menu_row {
        height: auto;
    }

    .menu_mobile {
        display: block;
        position: absolute;
        width: 88px;
        height: 88px;
        top: 0px;
        right: 0px;
        background: #7d9096;
        overflow: hidden;
    }

    .collapsed .menu_mobile {
        background: none;
    }

    .page_canvas .left {
        display: none;
        width: auto !important;
        padding-top: 0px;
        margin-bottom: 10px;
    }

    .puff {
        padding: 0px !important;
        width: 100% !important;
        top: 0px;
    }

    .puff h3 {
        margin-left: 10px;
    }

    .project_meta {
        -webkit-border-radius: 0px;
        border-radius: 0px;
        -moz-border-radius: 0px;
    }

    .page_canvas {
        padding: 0px;
        background-color: transparent;
        margin-bottom: 10px;
    }

    .page_canvas .middle {
        width: calc(100% - 22px);
        padding: 9px;
        padding-left: 13px;
        margin-bottom: 15px;
        max-width: unset !important;
    }

    .page_canvas .middle.wide.newslist {
        width: 100%;
    }

    .middle.wide.newslist {
        background-color: transparent;
        padding: 0px;
    }

    img.size-large {
        width: 100%;
        height: auto;
    }

    .page_canvas .right {
        float: left;
        width: 100%;
        background: white;
    }

    .page_canvas .no_outer {
        padding-left: 10px;
    }

    .page_canvas .outer {
        padding: 0px;
        width: 100%;
    }

    #bfuf_login_form {
        width: 100% !important;
    }

    .bfuf_boxform .field-row .text {
        float: none;
    }

    .bfuf_boxform .field-row .value {
        padding-left: 0px;
    }

    #bfuf_login_form #submit {
        left: 30px !important;
    }

    .login_info {
        left: 0px !important;
    }

    .footer .logos {
        position: absolute;
        right: unset;
        bottom: -50px;
        left: 0px;
    }

    .news_blog img.size_thumbnail {
        width: 90px;
        height: auto;
    }

    .news_blog .news_item {
        margin-bottom: 0px;
        padding: 15px;
        border-bottom: 18px solid #f3f3f3;
    }

    .publications .keywords, .publications .image, .publications .project {
        display: none;
    }

    .publications table {
        width: 100%;
    }

    table.projects .research_organization {
        display: none
    }

    .frontpage_news h2 {
        font-size: 15px;
    }

    .rightcol_news {
        border: 0px;
    }

    .passed-event {
        opacity: 1;
        color: #999;
    }

}