/**
 * "Yet Another Multicolumn Layout" - YAML CSS Framework
 *
 * default screen stylesheet - FULLPAGE-layout type layout
 *
 * @copyright       © 2005-2013, Dirk Jesse
 * @license         CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *                  YAML-CDL (http://www.yaml.de/license.html)
 * @link            http://www.yaml.de
 * @package         yaml
 * @version         4.1.2
 */
@media screen {
  body {
    overflow-y: scroll;
	background:#800000;
  }

  .ym-wrapper {
    max-width: 80em;
    margin: 0 auto;
  }

  /* fallback for missing media queries support*/
  body > header, body > nav, body > main, body > footer {
    min-width: 760px;
  }

  .ym-wbox {
    padding: 0 10px;
  }

  /* Basic Element Styling */
  header#header {
/*	background-image: -webkit-gradient(linear, left, right, color-stop(0%, #2f0000), color-stop(100%, #cc0000));
    background-image: -webkit-linear-gradient(left, #2f0000, #cc0000);
    background-image: -moz-linear-gradient(left, #2f0000, #cc0000);
    background-image: -ms-linear-gradient(left, #2f0000, #cc0000);
    background-image: linear-gradient(to right, #2f0000,#cc0000);
    background-color: #800000;
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FF2F0000', endColorstr='#FFCC0000');*/
	background:#800000 url(../../images/politische_themen2.jpg) top center no-repeat;
	background-size:cover;
    color: #FFFFFF;
	height:284px;
  }
  header#header .ym-wrapper {
	  background:url(../../images/hans-werner-sinn.png) top left no-repeat;
	  height:298px;
	  position:relative;
  }
  header#header h1 {
	width:557px;
	height:114px;
	background:url(../../images/hans_werner_sinn.png) no-repeat;
	margin:0 0 5px 0;
  }
    header#header h1 span {
    display:none;
  }
  header#header h2 {
	  color:#FFFFFF;
	  font-weight:400;
	  font-size:1em;
	  text-transform:uppercase;
	  margin:8px 0 0 16px;
  }
  #topnav {
	  position:absolute;
	  background:#510000;
	  left:50%;
	  top:0;
	  right:0;
	  z-index:100;
  }
  .logged-in #topnav {
	  top:65px;
  }
  .wrapper2 {
	  max-width:40em;
	  margin:0 auto 0 0;
  }
  .topbox {
	  padding:9px 10px 5px;
	  text-align:right;
  }
  .block#block-menu-menu-topmenue,
  .block#block-locale-language {
	  margin-bottom:0;
	  display:inline;
  }
  html.js .header__region div.contextual-links-wrapper {
    display: none;
}
.ym-searchform,
#search-block-form {
	padding:0;
}
#block-search-form {
	margin-bottom:0;
}
#search-block-form::before {
	content: "";
    display: table;
}
#search-block-form::after {
	    clear: both;
    content: ".";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}
input[type="search"],
#edit-search-block-form--2 {
	background:#E1E1E1;
	color:#444;
	font-size:0.875em;
	-webkit-appearance: none;
	border-radius:0;
	border:none;
	padding:8px;
	float:left;
	width:80%;
}
button.ym-searchbutton,
#edit-submit {
	background:#800000;
	border:none;
	float:right;
	color:#FFFFFF;
}
  nav {
    background: #E1E1E1;
  }

  main {
  background:#E1E1E1;
  }
  .node-publication.view-mode-full .field.field-name-body {
    margin-top: 1em;
}
.field-name-field-cover {
	float:left;
	margin:0 1em 1em 0;
}

  footer {
    background: #800000;
    color: #FFFFFF;
  }
  .ym-g17 {
    width: 17%;
  }
    .ym-g29 {
    width: 29%;
  }
    .ym-g71 {
    width: 71%;
  }
    .ym-g83 {
    width: 83%;
  }
.content {
	background:#FFFFFF;
	min-height:1040px;
}
  .ym-gbox {
    padding: 0 1.5em;
  }
  header#header .ym-g71 .ym-gbox {
	  padding:95px 10px 0 15px;
  }
    header#header .ym-g29 .ym-gbox {
	  padding:210px 10px 0 10px;
  }

  .ym-gbox-left {
    padding: 0 1.5em 0 0;
  }

  .ym-gbox-right {
    padding: 0 0 0 1.5em;
  }

  main nav .ym-gbox {
    padding: 3.25em 10px 1em 0;
  }
  main .content .ym-gbox {
    padding: 2.75em 30px 3em 30px;
  }
 main .content .view-front-videos .ym-gbox {
    padding: 0 0.3em;
  }

  main aside .ym-gbox {
    padding: 9em 0 1em 10px;
  }
    main aside .ym-gbox.start {
    padding: 3.25em 0 1em 10px;
  }
  main aside .view-latest-books .ym-gbox {
    padding: 0 0.2em;
  }
  .view-latest-books,
  .view-latest-book-extended {
	  font-size: 81.25%;
  }

  .view-latest-book-extended .views-field-field-cover {
	  display:inline-block;
	  float:left;
	  margin:0 20px 10px 0;
  }
  .block-twitter-block {
	  margin-bottom:0;
  }
  section.sidebar div.block {
	  clear:both;
  }

  footer .ym-g71 .ym-gbox {
    padding: 2.5em 30px 3em 30px;
  }

  footer .ym-g29 .ym-gbox {
    padding: 2.5em 10px 3em 10px;
  }

  section {
	  margin-bottom:3em;
  }
  section.start {
	  margin-top:0.5em;
  }
  section.second,
  #block-views-statements-block {
	  border-top:1px solid #800000;
	  padding-top:2.5em;
  }
  #block-views-news-eurokrise-block,
  #block-views-news-demographie-block,
  #block-views-news-energiewende-block,
  #block-views-news-streitkraefte-block,
  #block-views-news-geldtheorie-block {
	  border-bottom:1px solid #800000;
  }
  .mvideo {
	  float:left; width:30%;
  }
  .mvideo object {
	  max-width:100%;;
  }
  .videoinf {
	  float:right; width:65%;
  }
  .livevideoinf {
    margin-top: 1em;
}
.fr-video {
	position:relative;
}
.fr-video > span {
    background: #800000;
    bottom: 6px;
    color: #fff;
    padding: 3px;
    position: absolute;
    right: 0;
	font-size:81.25%;
}
.fr-video > img {
    border: 1px solid #444;
}
  #togglemenu,
  .subarrow,
  .menu .is-expanded .menu {
	display:none;
}
.menu .is-expanded.is-active-trail .menu {
	display: block;
}
#sliding-popup .popup-content {
    margin: 0 auto;
    max-width: 50%;
    display: inline-block;
    text-align: left;
    width: 100%;
	background:#FFF;
	border: 1px solid #800000;
	padding:14px;
}
	.sliding-popup-bottom {width: 50%;left:25%;bottom:0}
#sliding-popup .popup-content #popup-buttons button {
    background: #800000; color:#FFF; padding:10px;border:1px solid #333;margin-top:20px
}
	#sliding-popup .popup-content #popup-text {
    max-width: 80%;
}
	#sliding-popup .popup-content #popup-text p {
    font-size: .875rem;
    margin: 0 0 .5em 0;
}

.twin {
    padding: 10px;
    border: 1px solid #800000;
    color: #800000;
	cursor:pointer;
}
.shin {padding:2px 4px; color:#ffffff; background:#1da1f2;cursor:pointer;font-size:12px;border-radius:4px; display: inline-block}
.loader {
  border: 8px solid #800000;
  border-radius: 50%;
  border-top: 8px solid white;
  border-bottom: 8px solid white;
  width: 36px;
  height: 36px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

}
/* reset fallback values in modern browsers */
@media screen and (min-width: 0px) {
  body > header, body > nav, body > main, body > footer {
    min-width: 0;
  }
}
@media screen and (max-width: 1140px) {
	
input[type="search"] {
	width:70%;
}
}
@media screen and (max-width: 1024px) {
	
	header#header {
    height: 224px;
}
	header#header .ym-wrapper {
    background: rgba(0, 0, 0, 0) url("../../images/hans-werner-sinn.png") no-repeat scroll left top / 400px 235px;
    height: 235px;
}
header#header h1 {
	width:450px;
	height:92px;
	background:url(../../images/hans_werner_sinn_1024.png) no-repeat;
	}
	header#header .ym-g71 .ym-gbox {
	padding:75px 10px 0 15px;
  }
    header#header .ym-g29 .ym-gbox {
	  padding:170px 10px 0 10px;
  }
input[type="search"] {
	padding:8px;
	float:left;
}
}

@media screen and (max-width: 820px) {
  /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-1 */
  .linearize-level-1, .linearize-level-1 > [class*="ym-c"], .linearize-level-1 > [class*="ym-g"] {
    /* linearization for grids and columns module */
    display: block;
    float: none;
    padding: 0;
    margin: 0;
    width: auto !important;
  }
  .linearize-level-1 > [class*="ym-c"] > [class*="ym-cbox"], .linearize-level-1 > [class*="ym-g"] > [class*="ym-gbox"] {
    /* reset defined gutter values */
    margin: 0;
    /*padding: 0;*/
    /* optional for containing floats */
    overflow: hidden;
  }
  .content {
	  min-height:auto;
  }
  .ym-searchform,
  #search-block-form {
	  position:relative;
	  float:right;
  }
    .ym-wbox {
	  padding:0;
  }
  
main nav .ym-gbox {
    padding: 3.5em 10px 1em 10px;
}
    main .content .ym-gbox {
    padding: 3em 10px 1.5em 20px;
  }
    main aside .ym-gbox {
    padding: 3em 10px 1em 10px;
  }
    footer .ym-g71 .ym-gbox {
    padding: 1.5em 10px 1.5em 10px;
  }
    footer .ym-g29 .ym-gbox {
    padding: 0.5em 10px 1.5em 10px;
  }
  .ym-g17 {
	  width:25%;
  }
  .ym-g83 {
	  width:75%;
  }
  	header#header .ym-g71 .ym-gbox {
	padding:55px 10px 0 15px;
  }
    header#header .ym-g29 .ym-gbox {
	  padding:10px 10px 0 10px;
  }
  header#header h1 {
	width:380px;
	height:78px;
	background:url(../../images/hans_werner_sinn_800.png) no-repeat;
	}
	  input[type="search"],
#edit-search-block-form--2 {
	width:75%;
}


}
@media screen and (max-width: 540px) {
  /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-2 */
  .linearize-level-2, .linearize-level-2 > [class*="ym-c"], .linearize-level-2 > [class*="ym-g"] {
    /* linearization for grids and columns module */
    display: block;
    float: none;
    padding: 0;
    margin: 0;
    width: auto !important;
  }
  .linearize-level-2 > [class*="ym-c"] > [class*="ym-cbox"], .linearize-level-2 > [class*="ym-g"] > [class*="ym-gbox"] {
    /* reset defined gutter values */
    margin: 0;
    padding: 0;
    /* optional for containing floats */
    overflow: hidden;
  }
  header#header {
	  height:168px;
	  background-image: -webkit-gradient(linear, left, right, color-stop(0%, #2f0000), color-stop(100%, #cc0000));
    background-image: -webkit-linear-gradient(left, #2f0000, #cc0000);
    background-image: -moz-linear-gradient(left, #2f0000, #cc0000);
    background-image: -ms-linear-gradient(left, #2f0000, #cc0000);
    background-image: linear-gradient(to right, #2f0000,#cc0000);
    background-color: #800000;
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FF2F0000', endColorstr='#FFCC0000');
  }
  header#header .ym-wrapper {
    background: rgba(0, 0, 0, 0) url("../../images/hans-werner-sinn.png") no-repeat scroll left top / 300px 176px;
    height: 176px;
}
header#header h1 {
	padding-top:0;
	width:190px;
	height:39px;
	background:url(../../images/hans_werner_sinn.png) top left no-repeat;
	background-size:contain;
	float:right;
	margin:0 10px 4px 0;
}
  header#header h2 {
	  margin:0 10px 0 0;
	  font-size:0.9em;
	  float:right;
	  width:100%;
	  text-align:right;
  }
  .ym-searchform,
  #search-block-form {
	  margin-left:0;
    padding: 10px 10px 0 0;
	float:right;
	position:relative;
  }
  input[type="search"] {
	float:left;
	width:auto;
}
  	header#header .ym-g71 .ym-gbox {
	padding:25px 10px 0 15px;
  }
    header#header .ym-g29 .ym-gbox {
	  padding:10px 10px 0 10px;
  }
  
  .linearize-level-2 > [class*="ym-g17"] {
    width: 100% !important;
  }
  nav.ym-g17 {
	  position:absolute;
	  top:46px;
  }
  .fr-video > span {
    left: 0;
}

  #topnav {
	  left:60px;
  }
    #nav1 {
	max-height:0;
	padding:0 10px; 
	transition:all 1s; 
    overflow:hidden;
    background: #800000;
	-webkit-transition: all 1s;
  }
  

  #togglemenu {
	display:block;
	z-index:200;
	background: #510000;
	padding:8px 0 8px 10px;
}

  #togglemenu a.shownav,
  #togglemenu a.hidenav {
	  height:30px;
	  display:block;
  }
  #togglemenu a.shownav {
	  background:url(../../images/menu.png) bottom left no-repeat;
  }
  #togglemenu a.hidenav {
	  background:url(../../images/menu.png) top left no-repeat;
  }

  #togglemenu a.hidenav {
	display:none;
}
#menu:target #nav1 {
	max-height: 350px;
	padding:10px;
	border-top:1px solid #ffffff;
	border-bottom:1px solid #ffffff;
}
#menu:target a.hidenav {
	display:block;
}
#menu:target a.shownav {
	display:none;
}
  nav li a {
	  color:#FFFFFF;
	  background:#800000;
	  text-decoration:none;
	  padding:0 2px 0 1px;
  }
  nav li a:hover,
  nav li a:focus {
    background: #000000;
    color: #FFFFFF;
    text-decoration: none;
  }
  nav li a.active ,
  .menu a.active {
	  color:#FFFFFF;
  }
  
  nav li li {
	  margin-left:0.5em;
	  margin-bottom:0;
  }
 nav li li a {
	  color:#FFFFFF;
	  background:none;
	  text-decoration:none;
	  padding:0 2px;
	  margin-left:0;
  }
  nav li li a:hover,
  nav li li a:focus {
    background: #000000;
    color:#FFFFFF;
    text-decoration: none;
  }

  nav li li a.active, .menu li li a.active {
    color: #CCCCCC;
}

h1 {
	font-size:1.75em;
}
.menu li.is-expanded {
	position:relative;
}
.subarrow {
        display: block;
		background:url(../../images/cross.png);
        /*border: 1px solid #FFF;*/
        height: 20px;
        width: 20px;
        position: absolute;
        top: 4px;
        right: 4px;
		/*border-radius:50%;*/
        cursor: pointer;
    }
.menu .is-expanded.navopen .subarrow {
	background:url(../../images/minus.png);
}

.menu .is-expanded .menu {
	display:block;
}

.menu .is-expanded.is-active-trail .menu li,
.menu .is-expanded .menu li {
    overflow:hidden;
    max-height:0;
	opacity:0;
    filter:alpha(opacity=0);
    -webkit-transition:all 0.5s;
    -moz-transition:all 0.5s;
    -o-transition:all 0.5s;
    transition:all 0.5s;
}
.menu .is-expanded.is-active-trail.navopen .menu li,
.menu .is-expanded.navopen .menu li {
    max-height:50px;
	opacity:1;
    filter:alpha(opacity=100);
	margin-bottom:0.3em;
}

}
