/*
Theme Name: Kosmos
Theme URI: http://www.raumfahrtagentur.org
Description: Kosmos is a custom theme for Raumfahrtagentur Berlin based on a 12 columnfluid grid-system.
Version: 23.42
Author: Kpt. Schwingwasser
Tags: blue, orange, fluid, two-columns
*/

/* ============================== */
/* ! Layout for desktop version   */
/* ============================== */

body {
  padding: 40px 0;
  background: #003257 url(images/background.png);
}

.container.header {
  margin-top: -180px;
}

.container.header .row.banner-fg {
  background: #004B82 url(images/logo_smaller.png) 40px center no-repeat;
  border-top: #1A5D8F 1px solid;
  border-left: #1A5D8F 1px solid;
  border-right: #1A5D8F 1px solid;
  border-bottom: #002E50 1px solid;
  -webkit-box-shadow: 0px 6px 10px #222;
  -moz-box-shadow: 0px 6px 10px #222;
  box-shadow: 0px 6px 10px #222;

  height: 148px;
  max-width: 1020px;
  z-index: 300;
  position: relative;
  overflow: visible;
}

.banner-bg {
  background: #084B81;
  border-top: #1A5D8F 1px solid;
  border-bottom: #002E50 1px solid;
  -webkit-box-shadow: 0px 8px 8px #222, 0 0 8px #222;
  -moz-box-shadow: 0px 8px 8px #222, 0 0 8px #222;
  box-shadow: 0px 8px 8px #222, 0 0 8px #222;
  height: 150px;
  width: 100%;
}

.banner-bg .row {
  position: relative;
  max-width: 1020px;
  height: 150px;
  background: url(images/left-edge.png), url(images/right-edge.png);
  background-position: left bottom, right bottom;
  background-repeat: no-repeat, no-repeat;
}

.banner-right {
  margin-left: 380px;
  height: 100%;
  text-align
}

.nav > ul {
  list-style: none;
  padding: 10px;
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  margin: 0 auto;
}

.nav ul li {
  display: inline;
  position: relative;
}

.nav > ul > li:last-child {
  padding-right: 4px;
}

.nav ul li a, .nav ul li a:visited, .nav ul li a:active {
  font-family: Museo300, sans-serif;
  font-size: 24px;
  margin: 8px;
  color: #d8d8d8;
  padding-bottom: 10px;
  text-decoration: none;
  text-shadow: #222 2px 2px 2px;
}

.nav ul ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 140px;
    z-index: 200;
    background: #004B82;
    background: -moz-linear-gradient(bottom, #003257, #004B82);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #003257),color-stop(1, #004B82));
    background: -webkit-linear-gradient(bottom, #003257, #004B82);
    background: -o-linear-gradient(bottom, #003257, #004B82);
    background: -ms-linear-gradient(bottom, #003257, #004B82);
    background: linear-gradient(bottom, #003257, #004B82);

    -webkit-box-shadow: 0px 6px 6px #222;
    -moz-box-shadow: 0px 6px 6px #222;
    box-shadow: 0px 6px 6px #222;

    -moz-border-radius: 0 0 3px 3px;
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;

    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.nav > ul ul {
    top: 30px;
    right: 0;
}

.nav ul li:hover > ul {
        opacity: 1;
        visibility: visible;
}

.nav ul ul ul {
        top: 0;
        left: 140px;
}

.nav ul ul li {
        float: none;
        display: block;
        border: 0;

        -moz-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
        -webkit-box-shadow: 0 1px 0 #004275, 0 2px 0 #002E50;
        box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}

.nav ul ul li:last-child {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
}

.nav ul ul a, .nav ul ul a:hover, .nav ul ul a:hover {
    padding: 8px 13px 5px 13px;
    margin: 0;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
    font-size: 20px;

    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.nav .current_page_item > a, .nav .current_page_ancestor > a {
  color: #E96433 !important;
}

.nav a:hover {
  text-shadow: #111 2px 2px 2px !important;
  color: #fff !important;
}

.content {
  position: relative;
}

.content.main .row {
  background: #003257;
  overflow: visible;
  height: 50px;
}

.content .row div {
  background: #f1f1f1;
}

.content .ninecol, .content .threecol {
    -webkit-box-shadow: 0px 6px 10px #222;
    -moz-box-shadow: 0px 6px 10px #222;
    box-shadow: 0px 6px 10px #222;
}

.content.footer {
  padding: 20px 0;
  clear: both;
}

.content.footer .padder {
  padding: 5px;
}

.content.footer .row {
  background: #f1f1f1;
}

.content.footer .row > div:first-child {
  text-align: left;
}

.content.footer .row > div {
  text-align: center;
}

.content.footer .row > div:last-child {
  text-align: right;
}

.padder {
  padding: 30px;
}

/*
 * Type
 */
@font-face {
  font-family: 'Museo300';
  src: url('css/Museo300-Regular-webfont.eot');
  src: url('css/Museo300-Regular-webfont.eot?iefix') format('eot'),
       url('css/Museo300-Regular-webfont.woff') format('woff'),
       url('css/Museo300-Regular-webfont.ttf') format('truetype'),
       url('css/Museo300-Regular-webfont.svg#webfontBsA9EFUC') format('svg');
  font-weight: normal;
  font-style: normal;
}

.content {
  color: #404040;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 14px;
}

.sidebar ul {
  list-style: none;
}

.sidebar div > ul > li:first-child {
  margin-top: 0;
}

.sidebar div > ul > li {
  margin-top: 20px;
}

.sidebar h2 {
  margin-left: -45px;
  padding-left: 25px;
  padding-right: 45px;
  display: inline-block;
  padding-top: 8px;
  padding-bottom: 15px;
  background: url(images/ribbon-tip.png) right top no-repeat, url(images/ribbon.png) left top no-repeat;
  color: #f1f1f1;
  font-family: Museo300, sans-serif;
  font-weight: lighter;
  letter-spacing: 0.1em;
  height: 32px;
  font-size: 26px;
}

.sidebar h2 a, .sidebar h2 a:visited, .sidebar h2 a:active {
  text-decoration: none;
  color: #f1f1f1;
}

.footer p {
  margin: 0;
}

a {
  color: #E96433;
}

a:visited {
  color: #F9A586;
}

p {
  margin-bottom: 20px;
}

h1, h2, h3, h4 {
  font-family: Museo300, sans-serif;
  font-weight: lighter;
}

h1 {
  margin-left: -45px;
  padding-left: 25px;
  padding-right: 45px;
  display: inline-block;
  padding-top: 8px;
  padding-bottom: 15px;
  background: url(images/ribbon-tip.png) right top no-repeat, url(images/ribbon.png) left top no-repeat;
  color: #f1f1f1;
  letter-spacing: 0.1em;
  height: 32px;
  font-size: 26px;
}

/*h2 {
  font-size: 20px;
  height: 26px;
  padding-top: 6px;
  background-position: right -4px, left -4;
}*/

h3, h4 {
  font-size: 14px;
  color: #202020;
}

h1 a, h1 a:visited, h1 a:active, h2 a, h2 a:visited, h2 a:active {
  color: #f1f1f1;
  text-decoration: none;
}


/* Smaller screens */

@media only screen and (max-width: 1023px) {
  .content {
  }

  .nav ul {
    right: 0;
  }

  .nav ul li {
    display: block;
  }

}

/* ============================= */
/* ! Layout for mobile version   */
/* ============================= */

@media handheld, only screen and (max-width: 767px) {
  body {
    padding: 0;
  }

  .container.header .row.banner-fg {
    background: #004B82 url(images/badge2.png) 40px center no-repeat;
  }

  .container.header {
    margin-top: -150px;
  }

  .content {
  }
  
  .banner-bg {
    display: hidden;
  }

  .nav ul {
    right: 0;
  }

  nav ul li {
    display: block;
  }

  .banner-right {
    margin-left: 200px;
    height: 100%;
  }

  h1, .sidebar h2 {
    margin-left: -65px;
  }
}
/* ========================================== */
/* ! Provide higher res assets for iPhone 4   */
/* ========================================== */

@media only screen and (-webkit-min-device-pixel-ratio: 2) { 

/*	.logo {
		background: url(logo2x.jpg) no-repeat;
		background-size: 212px 303px;
	}*/

}


/* Default lists from wp theme kubrik */

/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}
	
#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */

/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}
/* End Various Tags & Classes*/

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who wouldve
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */
	
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
	
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}
	
.alignleft {
	float: left
	}
/* End Images */
