
/* -------------------------------------------------- */
/*    GLOBAL STUFF F                                   */
/* -------------------------------------------------- */


html, body, div, p, h1, h2, h3, h4, img, ul, li, a, dl, dt {
	margin: 0px;
	padding: 0px;
	border: 0px none;
}

body {
	font-family: 'Montserrat', sans-serif;
	text-align: left;
	font-size: 62.5%;  /* 1em = 10px , 1.4em = 14px */
	color: #757575;
	background:url(../img/bg.gif);
}

#all{
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

h1 {   
    font-size: 2em;
}

h1, h2, h3, p, .news-list-date, .newsnav a, .news-single-rightbox,
#mainnav a, #langnav ul li, #subnav a, #cont li, .news-backlink-wrap {
  font-size: 1.6em;
}

p,
#cont li{
    line-height: 1.4em;
}


a {
	text-decoration: none;
	color: #6395b9;
	transition: color 0.3s;
}


a:hover {
	color: #000;
}



/* -------------------------------------------------- */
/*    POSITIONING                                     */
/* -------------------------------------------------- */

#logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10em;
  background: #bdd1ec;
  /* margin-bottom: 1em; */
}

#langnav {
  display: block;
  position: absolute;
  top: 7.5em;
  /* bottom: 1em; */
  right: 0;
  width: 9em;
  height: 2em;
}
#social {
  position: absolute;
  top: 6.2em;
  right: 12em;
}

#logo > a{
  position: absolute;
  top: 0.4em;
  left: 2em;
  display: inline-block;
}

#leftcol {
  position: absolute;
  top: 11em;
  left: 0;
  /* width: 19em; */
  width: 30%;
}

#pid2 #teamimg {
  display: none;
}

#maincol {
  position:absolute;
  top: 11em;
  left: 31%;
  /* width: 70em; */
  width: 69%;
}





#contbox {
  overflow:hidden;
  /* padding-top:2em; */
  background: #FFF;
  border-bottom: 1px solid #FFF;
}

#minheight {
  /* width:2em; */
  /* height:38em; */
  /* float:left; */
  /* border-top: 1px solid #FFF; */
}

#subnav {
  float:left;
  display: none;
}
#subnav div{
  padding: 0px 3em 0px 1.5em;
}

#cont {
  width:31.5em;
  padding-bottom: 2em;
  padding-left: 2%;
  padding-top: 2em;
  width: 95%;
  float:left;
  /* border-top: 1px solid #FFF; */
}

#images {
  margin-left:3em;
  float:left;
  border-top: 1px solid #FFF;
}


#footer {
  clear:both;
  margin-top:1em;
  border-top: 1px solid #FFF;
  background: #FFF;
  padding: 0.5em 0px 0.5em 2em;
}


/* -------------------------------------------------- */
/*    NAVIGATION                                      */
/* -------------------------------------------------- */

#mainnav ul {
  list-style:none;
}

#mainnav a {
  display:block;
  /* text-align:right; */
  padding: 0.5em;
  margin-bottom: 0.4em;
  color: #000;
  background: #bdd1ec;
  font-weight: bold;
  padding-left: 1em;
  transition: color 0.3s, background 0.3s;
}


#mainnav a:hover, #mainnav a.active {
  background: #74a1c2;
  color: #fff;
}


#mainnav ul ul a{
  color: #6395b9; /*  7ae --leicht dunkler*/
  background: #FFF;
  /*font-weight: normal;*/
  padding-left: 2em;
}

#mainnav ul ul a:hover, #mainnav ul ul a.active{
  background: #CCC; /* hellblau e9f5ff ... vorher #66a5dd*/
  color: #FFF;
}

#mainnav ul ul ul{
    background-color: #FFF;
    margin-bottom: 0.8em;
}

#mainnav ul ul ul a{
  color: #777; /*  7ae --leicht dunkler*/
  background: #fff;
  font-weight: normal;
  padding-left: 4em;
  margin-bottom: 0;
}

#mainnav ul ul ul a:hover, #mainnav ul ul ul a.active{
  font-weight: bold;
  background: #fff;
  color: #888; 
}


#langnav ul {
  list-style:none;
}

#langnav ul li {
  display: block;
  text-align:right;
  color:  #FFF;
  font-weight: bold;
  float: left;
}


#subnav ul{
    width: 30em;
    font-weight: bold;
    list-style:disc;
}

#subnav li{
  padding-bottom:1.5em;
}
    
#subnav ul ul{
    list-style:none;
    font-weight: normal;
}

#subnav li li{
  padding-bottom: 0.2em;
}

#subnav a.active, #subnav a:hover {
    text-decoration: underline;
}

#subtitle,
#navtoggle {
	display: none;
}



/* -------------------------------------------------- */
/*    CONTENT                                         */
/* -------------------------------------------------- */

#cont {
	
}
#cont h1, #cont h2, #cont h3{
  padding-bottom: 1.1em;
}

#cont p{
  padding-bottom: 0.7em;
}
#cont a{
	/* text-decoration: underline; */
	color: #81B1CF;
	/* font-weight: bold; */
}

#cont a:hover{
    color: #4c3e12;
}


#cont a.mail {
  background: url(../img/link_mail.gif) no-repeat;
  background-position: 0 4px;
  padding-left: 15px;
}

#cont a.external-link-new-window, #cont a.external-link  {
  background: url(../img/link_blau.gif) no-repeat;
  background-position: 0px 2px;
  padding-left:12px;
}

#cont a.internal-link_unused {
  background: url(../img/link_braun.gif) no-repeat;
  background-position: 0px 2px;
  padding-left:12px;
}


#cont ul{
  padding-left: 1.5em;
  padding-bottom: 0.7em;
}

#cont li{
  padding-bottom: 0.4em;
}

#cont .important {
	color: #000;
	text-shadow: 0 0 3px #a0daff;
}


dl.csc-textpic-image img {
  display: block;
  padding-bottom: 1em;
}

figcaption.csc-textpic-caption {
    margin-top: 0.4em;
    font-size: 1.4em;
}

#cont .csc-default .csc-textpic-intext-right-nowrap .csc-textpic-text p.bodytext{
      width: 100%;
}


@media (min-width: 1200px){

    #cont .csc-default > p.bodytext,
    #cont .csc-default .csc-header{
      width: 70%;
    }

    #cont .csc-default > ul{
       width: calc(70% - 1.5em);
    }

}


@media (min-width: 900px) and (max-width: 1200px){

    #cont .csc-default > p.bodytext,
    #cont .csc-default .csc-header{
      width: 550px;
    }

    #cont .csc-default > ul{
       width: calc(550px - 1.5em);
    }
}


DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image { margin-bottom: 0px; }




#footer {
  height: 24px;
}
#footer p {
  float: left;
  line-height: 1.9em;
}
#footer > div {
  float: right;
  padding-right: 1.8em;
  margin-top: 0.3em;
}

/* -------------------------------------------------- */
/*    FRONTEND ADMIN                                  */
/* -------------------------------------------------- */

table {
  display:none;
}
form table {
  display:table; 
}






/* -------------------------------------------------- */
/*    NEWS                                            */
/* -------------------------------------------------- */

.rpid110 #contbox{
  /* background: transparent; */
  padding: 0;
  /* margin-left: -1px; */
}
.rpid110 #minheight {
  /* width: 1px; */
}
.rpid110 #footer {
  margin-top: 0;
}


.rpid110 .article, .news-single-item, .pager {
  background: #FFF;
  /* padding: 2em; */
  margin-bottom: 1em;
}

#cont ul.pager{
    margin-top: 2em;
    padding-left: 0;
}

.pager {
  overflow: hidden;
}


.pager li{
    width: 50%;
    float: left;
    list-style: none;
    position: relative;
    box-sizing: border-box;
}

.pager li span{
    position: absolute;
}

.pager li.previous{
    padding-left: 1em;
}

.pager li.previous span{
    left: 0;
}

.pager li.next{
    padding-right: 1em;
    text-align: right;
}

.pager li.next span{
    right: 0;
}


#cont .pager a {
  text-decoration: none;
}




#pid2 #minheight {
  height: 1em;
}

#c210 .news {
    background: url("/fileadmin/Resources/Public/img/bg.gif");
    margin: 1em -2.5em 0 -2em;
    padding-top: 1em;
    width: auto;
}

#c210 .news-list-view {
    background: none repeat scroll 0 0 white;
    padding: 1.5em 2em;
}

#c210 .news-list-view p{
  padding-bottom: 0;
}


.news-text-wrap {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  -o-column-count: 2;
  column-count: 2;

  -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  -o-column-gap: 2em;
  column-gap: 2em;
}


@media (min-width: 900px){

    #all{
        width: 100%;
        max-width: 120em;
    }

}



/*	##############
	MOBILE VERSION
	##############  */


@media (max-width: 900px){


	.news-text-wrap {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		-o-column-count: 1;
		column-count: 1;
	}


	#mainnav,
	#teamimg,
	#minheight {
		display: none;
	}

	#navtoggle {
		display: block;
	}

	#logo,
	#logo a,
	#leftcol,
	#maincol,
	#c210 .news-list-view,
	.rpid110 #cont,		/*	news	*/
	#footer {
		position: static;
		width: auto;
		height: auto;
	}

	#langnav {
		top: calc(1em + 2.5vw);
		right: 1.5em;;
		left: auto;
		width: auto;
		height: auto;
	}
  #social {
    top: calc(0.2em + 2.5vw);
    right: calc(5em + 8vw);
  }
	#logo {
		text-align: center;
	}
	#logo > a {
		position: static;
	}
	#logo img {
		position: static;
		height: calc(3em + 3vw);
		width: auto;
		margin-left: -2.5em;
	}

	#footer p {
		float: none;
		width: auto;
		margin: 0;
	}
	#subnav, #cont, #images {
		width: auto;
		padding: 0 3%;
		margin: 0;
	}
	#c210 .news {
		width: 100%;
	}

	#navtoggle {
		float: left;
		font-size: 2.8em;
		position: relative;
		top: 1.5vw;
	}
	#subnav div {
		padding-right: 0;
	}
	#subnav ul {
		width: auto;
	
	}
	#mainnav {
		background:url(../img/bg.gif);
		padding-top: 5%;
	}

	#mainnav a {
		text-align:left;
		padding-left: 5%;
	}

    #mainnav ul ul a{
        padding-left: 7%;
    }

    #mainnav ul ul ul a{
        padding-left: 9%;
    }

	#contbox {
		padding: 5% 2%;
	}

    #cont .csc-default .csc-textpic-intext-right-nowrap .csc-textpic-text p.bodytext{
          width: 80%;
    }

    div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap{
        float: none;
    }

    div.csc-textpic-intext-right .csc-textpic-imagewrap, div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap{
        margin-left: 0;
        margin-bottom: 1em;
    }

    .csc-textpic-intext-right-nowrap .csc-textpic-text{
        margin-right: auto;
    }

	#logo {
        padding: 1% 5%;		
	}
	#footer{
		padding: 5%;
	}

    .rpid110 .article {
        padding: 2% 5%;
    }

	#footer,
	#maincol {
		margin-top: 5%;
	}
	#c210 .news {
		padding-top: 5%;
		/* margin: 1em 0em 1em -2em; */
	}
	body {
		padding-bottom: 5%;
	}
	#subtitle {
		padding-left: 2em;
		position: relative;
	}
	#subtitle:before {
		content: '\f0a9';
		font-family: FontAwesome;
		font-size: 1.5em;
		position: absolute;
		left: 0;
		top: -0.05em;
	}
	#subtitle:hover:before {
		content: '\f0ab';
	}
	#subtitle.open:before {
		content: '\f0aa';
	}

	#subtitle {
		margin-bottom: 5%;	
	}


/*	#contbox figure, */
	#contbox img {
		width: 100% !important;
		height: auto !important;
	}
	
    #contbox img[src$=".svg"] {
        width: 70vw !important;
    }
}




@media (max-width: 500px){



	#logo,
	#leftcol,
	#maincol,
	.#c210 .news,
	.rpid110 #cont,		/*	news	*/
	#footer {
		position: static;
		width: auto;
		height: auto;
	}


	#langnav {

	}

	#subnav, #cont, #images,
	#footer p {
		float: none;
		width: auto;
		margin: 0;
	}
	#navtoggle {

	}
	#subnav div {
		padding-right: 0;
	}
	#subnav ul {
		width: auto;
	
	}

    #cont .csc-default .csc-textpic-intext-right-nowrap .csc-textpic-text p.bodytext{
          width: 80%;
    }


	#mainnav {
		background:url(../img/bg.gif);
		padding-top: 5%;
	}
	#mainnav a {
		text-align:left;
		padding-left: 5%;
	}
	#contbox,
	#footer,
	.rpid110 .article {
		padding: 5%;
	}
	#cont {
		padding: 0;
	}
	#footer,
	#maincol {
		margin-top: 5%;
	}
	#c210 .news {
		padding-top: 5%;
	}
	body {
		padding-bottom: 5%;
	}
	#subtitle {
		padding-left: 2em;
		position: relative;
	}
	#subtitle:before {
		content: '\f0a9';
		font-family: FontAwesome;
		font-size: 1.5em;
		position: absolute;
		left: 0;
		top: -0.05em;
	}
	#subtitle:hover:before {
		content: '\f0ab';
	}
	#subtitle.open:before {
		content: '\f0aa';
	}

	#subtitle {
		margin-bottom: 5%;	
	}


/*	#contbox figure, */
	#contbox img,
	#contbox object {
		width: 100% !important;
		height: auto !important;
	}
	
    #contbox img[src$=".svg"] {
        width: 90vw !important;
    }
}

@media (max-width: 460px){
  #social {
    top: calc(0.6em + 2.5vw);
  }
  #social img {
    width: 24px;
    height: 24px;
  }
  #langnav {
    right: 1.2em;
  }
  #langnav ul li {
    font-size:1.4em;
  }
 }