h1 {
    font-size: 125%;
    color: #007198;
    margin: 0;
    margin-bottom: 10px;
}

h2,
h3,
h4,
h5,
h6 {
    /*color: #2c2c2c;*/
    color: #007198;
    
    font-weight: normal;
    font-size: 112.5%;
    margin-bottom: 10px;
}

#maincontent h2,
#maincontent h3,
#maincontent h4,
#maincontent h5,
#maincontent h6{
  /*color: #007198;*/
}

h1.tab:after,
h2.tab:after, 
h3.tab:after,
h4.tab:after,
h5.tab:after,
h6.tab:after {
    content: "";
    width: 0;
    height: 0;
    border-bottom: 30px solid #009cd1;
    border-right: 43px solid transparent;
    position: absolute;
    top: 0;
    right: -43px;
}

h1.tab,
h2.tab,
h3.tab,
h4.tab,
h5.tab,
h6.tab {
    background-color: #009CD1;
    color: #FFFFFF !important;
    display: inline-block;
    font-size: 1.2em;
    height: 30px;
    margin-bottom: 5px;
    padding: 6px 4px 0 16px;
    position: relative;
    text-transform: uppercase;
    font-size: 96%;
    font-weight: normal;
/* T. Schaefer, 2015-04-02, float aus none gesetzt
    float: left;*/
    float: none;
    clear: both;
/* T. Schaefer, 2016-08-10, z-index gesetzt, damit Links innerhalb der Ueberschriften klickbar sind, wenn diese von anderen Elementen ueberlagert werden */
    z-index: 1;
}

/* T. Schaefer, 2016-08-10, color fuer a innerhalb von h*.tab auf weiss gesetzt */
h1.tab > a,
h2.tab > a,
h3.tab > a,
h4.tab > a,
h5.tab > a,
h6.tab > a {
    color: #FFFFFF !important;
}

.ltab:before,
h1.ltab:before,
h2.ltab:before, 
h3.ltab:before,
h4.ltab:before,
h5.ltab:before,
h6.ltab:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 30px solid #009cd1;
    border-left: 43px solid transparent;
    position: absolute;
    top: 0;
    left: -43px;
    
}

.ltab.edge:after,
h1.ltab.edge:after,
h2.ltab.edge:after,
h3.ltab.edge:after,
h4.ltab.edge:after,
h5.ltab.edge:after,
h6.ltab.edge:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 7px solid #2c2c2c;
    border-right: 10px solid transparent;
    position: absolute;
    bottom: -7px;
    right: 0;
}

.ltab,
h1.ltab,
h2.ltab,
h3.ltab,
h4.ltab,
h5.ltab,
h6.ltab {
    background-color: #009CD1;
    color: #FFFFFF;
    display: inline-block;
    font-size: 1.2em;
    height: 30px;
    margin-bottom: 8px;
    padding: 6px 4px 0 16px;
    position: relative;
    text-transform: uppercase;
    font-size: 96%;
    font-weight: normal;
    border: none;
}

body.subpage #maincontent div.tab-header,
div.tab-header {
   width: 100%;
   float: left;
   background-color: white;
   margin: 0;
/* T. Schaefer, 2015-11-20, white-space hinzugefuegt, damit die Ueberschrift nicht umgebrochen wird */
   white-space: nowrap;
}

.header > .csc-header h1,
.header > .csc-header h2,
.header > .csc-header h3,
.header > .csc-header h4,
.header > .csc-header h5,
.header > .csc-header h6 {
	margin-bottom: 0;
}

#wrapper {
    width: 1105px;
    margin: auto;
}

header {
    position: relative;
    top: 1.5em;
/* T. Schaefer, 2016-11-30: height von 720 auf 700 reduziert, da auf der Startseite der Breadcrump entfernt wurde */
    height: 700px;
}

header .content {
    clear: both;
    display: block;
    height: 500px;
    margin-bottom: 1.5em;
    position: absolute;
    top: 143px;
    width: 100%;
}

header .logo_ptb {
    position: absolute;
    top: 21px;
/* T. Schaefer, 2015-05-13: z-index von 1 auf 2000 erhoeht, damit der PTB-Logo-Link immer funktioniert, auch wenn z.B. das Menue ausgeklappt ist */
    z-index: 2000;
}

/* Meta-Nav */

nav#metanav {
    position: absolute;
    right: 0;
    top: .25em;
    z-index: 1;
}

nav#metanav ul li {
    display: inline;
    background-color: #efefef;
    margin-left: 8px;
    padding: 4px 6px;
    height: 24px;
    overflow: hidden;
    float: left;
    font-size: 80%;
}

nav#metanav ul li,
nav#metanav ul li a,
nav#metanav ul li label {
    color: #58595B;
    text-transform: uppercase;
    float: left;
}

nav#metanav ul li.active,
nav#metanav ul li:hover {
    background-color: #58595B;
    color: #efefef;
}

nav#metanav ul li:hover a,
nav#metanav ul li:hover label {
    color: #efefef;
}

nav#metanav ul li.icon {
    padding: 0;
    background-color: transparent;
}

nav#metanav ul li.search {
/* T. Schaefer, 2015-05-13, margin-left hinzugefuegt, da die Such-Seite jetzt im Meta-Menue, genauso wie Kontakt und Impressum angezeigt wird */
  margin-left: 0px;
}

nav#metanav ul li.search input[type='text'] {
    font-size: 90%;
    border: none;
/* T. Schaefer, 2016-09-16, padding von 2px 4px auf 0px 4px geaendert, damit  Unterlaengen nicht mehr abgeschnitten werden */
    padding: 0px 4px;
    height: 15px;
    float: left;
    margin: 0px 4px;
}
nav#metanav ul li.search input[type='image'] {
    height: 15px;   
    float: left;
  /*  background-color: #bcbcbc;    */
}

nav#metanav ul li a.searchlink.mobile {
	display: none;
}

/* Hauptnavigation */

nav#main {
    position: absolute;
    right: 0;
    top: 62px;
    z-index: 100;
}

nav#main > ul > li {
    float: left;
    display: inline;
}

nav#main > ul > li > a {
    background-color: #fff;
    color: #007198;
    float: left;
    height: 80px;
    margin-left: 10px;
/* T. Schaefer, 2015-12-02: padding von 32px 12px 0px auf 32px 10px 0px 8px geaendert, damit im Chrome keine ueberfluessigen Zeilenumbrueche entstehen */ 
    padding: 32px 10px 0px 8px;
    text-transform: uppercase;
    font-size: 87.5%;
/* T. Schaefer, 2015-05-12: max-width hingefuegt */
    max-width: 11.5em;
}

/* T. Schaefer, 2015-12-15: white-space fuer die Hauptmenueeintraege mit einem Ampersand eingefuegt, damit die Texte nicht umgebrochen werden */
nav#main > ul > li > a[href$="forschung-entwicklung.html"], nav#main > ul > li > a[href$="internationales-netzwerke.html"], nav#main > ul > li > a[href$="presseaktuelles.html"], 
nav#main > ul > li > a[href$="ueber-uns-karriere.html"], nav#main > ul > li > a[href$="ptb.html"], nav#main > ul > li > a[href$="research-development.html"], nav#main > ul > li > a[href$="about-us-career.html"] {
    white-space: nowrap;
}

nav#main > ul > li > a:hover,
nav#main > ul > li > a:focus,
nav#main > ul > li:hover > a {
    background-color: #007198;
    background: -webkit-linear-gradient(#007198, #0198cc);
    background: url("../assets/ptb-symbol.png") no-repeat, linear-gradient(#007198, #0198cc);
    color: #fff;
}

nav#main > ul > li > div.subcontent {
    display: none;
    background: linear-gradient(#0198CC, #06769D) repeat scroll 0 0 rgba(0, 0, 0, 0);
    position: absolute;
    right: 0;
    top: 80px;
    height: 464px;
    width: 1105px;
/* T. Schaefer, 2015-05-06, padding auf 15px reduziert */
    padding: 15px;
    z-index: 1;
}

nav#main > ul > li > a:focus ~ div.subcontent, 
nav#main > ul > li:hover > div.subcontent {
    display: block;
}

nav#main div.subcontent p,
nav#main div.subcontent h2,
nav#main div.subcontent li,
nav#main div.subcontent a {
    color: #fff;
}

nav#main div.subcontent a:hover {
    color: #eee;
}

nav#main > ul > li > div.subcontent h2 {
    font-size: 160%;
    line-height: 1.2em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    font-weight: normal;
    
}

nav#main div.subcontent .intro {
    width: 30%;
    float: left;
    
}

nav#main div.subcontent .intro p {
    font-size: 87.5%;
    border-right: 1px solid #FFFFFF;
    margin-right: 40px;
    padding-right: 20px;
}

nav#main div.subcontent .subnav {
    float: left;
    width: 70%;
/* T. Schaefer, 2015-10-28: -moz-column-gap, -webkit-column-gap und column-gap von 4em auf 1em reduziert, damit lange Zeilen im Menue nicht umgebrochen werden */
    -moz-column-count: 2;
    -moz-column-gap: 1em;
    
    -webkit-column-count: 2;
    -webkit-column-gap: 1em;
    
    column-count: 2;
    column-gap: 1em;
}

nav#main div.subcontent .subnav > ul {
    width: 100%;
}

nav#main div.subcontent .subnav > ul > li {
    margin-left: 0;
/* T. Schaefer, 2016-05-23: margin-bottom von 8px auf 5px reduziert */
/* T. Schaefer, 2016-08-02: margin-bottom von 5px auf 2px reduziert */
    margin-bottom: 2px;
}

nav#main div.subcontent .subnav > ul > li > a {
    border-bottom: 1px dotted #FFFFFF;
   /*Battikh float: left;*/
    font-size: 120%;
    width: 100%;
    padding-bottom: 2px;
    margin-bottom: 4px;
}

nav#main div.subcontent .subnav > ul > li > ul {
    margin-left: 1em;
}

nav#main div.subcontent .subnav > ul > li > ul > li {
    font-size: 87.5%;
    line-height: 1.4em;
    margin-top: 3px;
}

/* Breadcrump */
nav#breadcrump {
    position: absolute;
    bottom: 50px;
    left: 0;
}

nav#breadcrump ul li {
    font-size: 81.25%;
    float: left;
    margin-right: 4px;
}


nav#breadcrump ul li:before {
    content: "> ";
}
nav#breadcrump ul li:first-child:before {
    content: none;
}
/* Social-Media */
#social-media {
    position: absolute;
    bottom: 68px;
    right: 0;
}

#social-media ul li {
    float: left;
    margin-left: 4px;
}

#social-media ul li a {
    background-color: #bcbcbc;
    float: left;
    height: 30px;
    width: 30px;
}
#social-media ul li a img {
    width: 100%;
    height: 100%;
}

#social-media ul li a:hover {
    background-color: #58595B;
}

/* Uhrzeit */

section#currenttime {
    bottom: 60px;
    color: #009CD1;
    font-size: 200%;
    position: absolute;
    right: 117px;
    font-weight: bold;
}

/* CONTENT */
#content {
    clear: both;
    margin-bottom: 16px;
}

/* FOOTER */ 


footer {
    clear: both;
}

footer > article,
footer > nav,
footer > section {
    float: left;
    clear: left;
    overflow: auto;
    width: 100%;
}

/* OVERVIEW */

footer .overview {
    
}

footer .overview nav {
    background-color: #efefef;
/* T. Schaefer, 2015-05-06, padding auf 15px reduziert */
    padding: 15px;
    overflow: auto;
    margin-bottom: .5em;
    clear: left;
}
footer .overview nav > ul {}
footer .overview nav > ul > li {
    float: left;
    width: 14%;
    margin-right: 24px;
    margin-bottom: 12px;
}
footer .overview nav > ul > li a {
    font-size: 81.125%;
    color: #58595b;
}
footer .overview nav > ul > li > a {
    color: #009CD1;
    display: table-cell;
    height: 32px;
    text-transform: uppercase;
    vertical-align: bottom;
}
footer .overview nav > ul > li > ul {
    margin-top: 12px;
}

footer .overview nav > ul > li > ul li {
    line-height: 1em;
    margin-bottom: .5em;
}

/* Pascal Zagermann, 2015-11-24, menuspacer ausblenden */
footer .overview nav > ul > li > ul > li.menuespacer {
	display: none;
}

/* PARTNER */ 

footer .partner {
    background-color: #efefef;
/* T. Schaefer, 2015-05-06, padding auf 15px reduziert */
    padding: 4px 15px;
    overflow: auto;
}

footer .partner > .inner {
    padding: 4px;
}
footer .partner img {
    float: left;
    margin-left: 16px;
}

footer .partner img#quest {
    margin-top: 4px;
    margin-left: 50px;
    height: 70px;
}

footer .partner img#igsm {
    height: 70px;
}

footer .partner ul {
    float: right;
    list-style-image: url('../assets/icons/ar-r-small-blue.gif');
}

footer .partner ul li a {
    font-size: 81.125%;
    color: #58595b;
}

footer nav.footer {
    background-color: #009cd1;
    overflow: auto;
    color: white;
    padding: 8px;
    text-transform: uppercase;
}

footer nav.footer .copyright {
    float: left;
    padding-top: 4px;
    font-size: 75%;
}

footer nav.footer ul {
    float: right;
}

footer nav.footer li {
    float: left;

    border-right: 1px solid white;
    padding: 0px 8px;
}
footer nav.footer li:last-child {
    border: none;
}

footer nav.footer li a {
    color: white;
    font-size: 75%;
}


/* black and white*/
.bw {
    -webkit-filter: grayscale(100%); 
    -webkit-filter: grayscale(1); 
    
    -moz-filter: grayscale(100%);
    filter: url('saturation.svg#grayscale');
    filter: gray; 
    filter: grayscale(100%);
}

.bw:hover {
    -webkit-filter: grayscale(0%); 
    -webkit-filter: grayscale(0); 
    
    -moz-filter: grayscale(0%);
    filter: url('saturation.svg#color');
    filter: none; 
    filter: grayscale(0%);
}


/* DIREKTEINTIEG */

nav#gateway {
    position: absolute;
    right: 0;
    bottom: 96px;
    z-index: 90;
}

nav#gateway h2 {
    font-size: 87.5%;
    text-transform: uppercase;
    padding-right: 42px;
    position: absolute;
    right: -10px;
    bottom: 0;
    cursor: pointer;
}

nav#gateway ul {
    background-color: rgba(255, 255, 255, 0.4);
    padding: 19px 0 52px 43px;
    width: 203px;
    float: left;
    display: none;
}

nav#gateway li a {
    width: 160px;
    height: 30px;
    position: relative;
    padding-top: 6px;
/* T. Schaefer, 2015-11-24, padding-left von 16px auf 8px reduziert, damit in der englischen Version die Texte nicht nach rechts rausragen */
    padding-left: 8px;
    margin-bottom: 5px;
    background-color: white;
    float: left;
    text-transform: uppercase;
    font-size: 87.5%;
/* T. Schaefer, 2015-12-02, white-space: nowrap hinzugefuegt */
    white-space: nowrap;
}

nav#gateway li:last-child a {
    margin-bottom: 0px;
}

nav#gateway li a:hover {
    background-color: #009cd1;
    color: #fff;
    width: 170px;
}

nav#gateway li a:hover:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 30px solid #009cd1;
    border-left: 43px solid transparent;
    position: absolute;
    top: 0;
    left: -43px;
}

nav#gateway li a:hover:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 7px solid #2c2c2c;
    border-right: 10px solid transparent;
    position: absolute;
    bottom: -7px;
    right: 0;
}


div.shadow {
    background-color: #FFFFFF;
    box-shadow: 0 5px 3px #666666;
    height: 1px;
    left: 0px;
    position: absolute;
    top: -5px;
    width: 100%;
    z-index: 40;
}

div.column-2 {
    -moz-column-count: 2;
    -moz-column-gap: 4em;
    
    -webkit-column-count: 2;
    -webkit-column-gap: 4em;
    
    column-count: 2;
    column-gap: 4em;
}

p.blue,
span.blue,
h1.blue,
h2.blue,
h3.blue,
h4.blue {
    color: #007198;
}

/* 08.05.2014 */

li.icon a span.icontext {
	display: none;
}

/* 20.05.2014 */

nav#gateway ul {
    padding: 19px 0 52px;
}

nav#gateway ul li  {
	padding-left: 43px;
}

nav#gateway ul li:hover{
	padding-left: 0px;
}

nav#gateway ul li:hover a{
	width: 203px;
	background-color: #fff;
	color: #007198;
}

nav#gateway li a:hover:before ,
nav#gateway li a:hover:after {
    content: "";
    width: 10px;
    height: 26px;
	
	border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
	position: absolute;
    top: 0;
	left: -14px;
	background-color: #000;
}

nav#gateway li a:hover:after {
	left: 190px;
}

nav#gateway li.gateway-15131 a:hover:before,
nav#gateway li.gateway-15131 a:hover:after {
	background-color: #b0c800;
}

nav#gateway li.gateway-15132 a:hover:before ,
nav#gateway li.gateway-15132 a:hover:after {
	background-color: #e7ae00;
}

nav#gateway li.gateway-15133 a:hover:before ,
nav#gateway li.gateway-15133 a:hover:after {
	background-color: #ab6160;
}

nav#gateway li.gateway-15134 a:hover:before ,
nav#gateway li.gateway-15134 a:hover:after {
	background-color: #5c6a77;
}

nav#gateway li.gateway-15135 a:hover:before ,
nav#gateway li.gateway-15135 a:hover:after {
	background-color: #336d81;
}

nav#gateway li.gateway-15136 a:hover:before ,
nav#gateway li.gateway-15136 a:hover:after {
	background-color: #004773;
}