/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
	color: #333;
	
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #ffffff;
	
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.btn {
  
  background:#2E816B;
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px; 

  color: #ffffff;
  font-size: 18px;
  padding: 10px 10px 10px 10px;
  text-decoration: none;
  width: 160px;
  text-align:center;

          -webkit-box-shadow: 0 5px 5px #aaa;
           -moz-box-shadow: 0 5px 5px #aaa;
                box-shadow: 0 5px 5px #aaa;
  
  
}

.btn a {color:#fff; text-decoration: none;}

.btn a:hover { text-decoration: none;}

.btn:hover {
  background: #2C3489;
  text-decoration: none;
}

.fa {
	color:#2E816B;
}

/* Design des Scroll-Buttons mit font-awesome 
   ------------------------------------------ */
   
.back-to-top {
	background:#444;
	position: fixed;
	bottom:20px;
	right:20px;
	padding:1em;
	color:#fff;
	opacity:10;
	-webkit-border-radius: 5;
	-moz-border-radius: 5;
	border-radius: 5px; 
}

	.footer-container {
        -webkit-box-shadow: 0 -5px 5px #aaa;
           -moz-box-shadow: 0 -5px 5px #aaa;
                box-shadow: 0 -5px 5px #aaa;
			
    }
	
		.main-container {
        -webkit-box-shadow: inset 0 5px 5px #aaa;
           -moz-box-shadow: inset 0 5px 5px #aaa;
                box-shadow: inset 0 5px 5px #aaa;
			
				
			
    }

.main-container {background-color: #eee;}




/* ===== Initializr Styles ==================================================
   ========================================================================== */

body {
    font: 16px/26px "Open Sans", sans-serif;
	color:#333;	

}

.wrapper {
    width: 90%;
    margin: 0 5%;
	
}

/* ==================================
    ALL: b and l
   ================================== */
   
.header-container {
  	padding-bottom:10px;
}

#head2 {display:none;}

#head3 {clear:both;padding-bottom:10px;text-align:right;}


.footer-container
 {
	
}

.main article {
	text-align:justify;
	font-size: 16px;
}


.header-container,
.footer-container
{
    
	
}

.footer-container ul {
    list-style: outside none none;
	padding:0px;
}


.title {
    color: white;
}

a {
	color: #5c74a2;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}




/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
	
}

nav a {
    display: block;
    margin-bottom: 1px;
	padding: 1px 0; 
    text-align: center;
    text-decoration: none;
    font-weight: bold;
	background-color: #2c3489;
	color: #ffffff;
	font-size: 15px;
	text-decoration: none;
	padding: 10px ; 
	padding-left: 6px ; 
	padding-right: 6px ; 
}

nav a:hover {
	color:#fff;
	background:#2E816B;
	text-decoration: none;
}


nav .active a { 
	color:#fff;
	background:#2E816B;
	text-decoration: none;
}

/* ==============
    MOBILE: Main
   ============== */

   body {
	font-size:1.0em;
   }
  
.header-container img { width:100%;}

.main article h1 {
    font-size: 1.5em;
	margin-top: 0px;
		text-align:left;
}

.main article h2 {
    font-size: 1.4em;
	font-weight: bold;
	text-align: left;
		
} 

.main {
    padding: 30px 0;

	}	
	


input{
	width: 100%;
	border: solid 1px #5C74A2;
}

input.submit{
	width: 100px;
	margin-top: 20px;
	border: solid 1px #5C74A2;
}

textarea {
	width: 100%;
	border: solid 1px #5C74A2;
}



.footer-container footer {
    padding: 20px 0; 
	font-weight: normal;
	font-size: 14px;
	}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */















/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 600px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */
   
      body {
	font-size:1.0em;
   }

   
   
   .header-container  #head { width:550px; padding:10px 0; float:left;}
   
.header-container  {border-bottom: 46px solid #2c3489; padding-bottom:0px;}
   
   .header-container  #head  img{ width:479px;}
   
	.main-container {
		padding-top:20px;
		background-color: #eee;
}

.main article {
	text-shadow: #c0c0c0 3px 3px 5px; 
	font-size: 16px;
}
	
	.btn  {    text-shadow: none; }
   
    nav {
    }
     
   
    nav a {
         float: left; 
		background-color: transparent;
        margin: 0 0.4%;
		font-size: 0.8em;
		margin-bottom: 10px; 
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

	
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */
		
   
    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
		
    }
}

/* ========================
    INTERMEDIATE 2 
   ======================== */


@media only screen and (min-width: 768px) { 

.main article h1 {
    font-size: 26px;
}

.main article h2 {
    font-size: 22px;
	font-weight: bold;
} 
 
    .main article {
        float: left;
    }

   
   
    nav a {
		font-size: 0.8em;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }


	input{
		
		}

	textarea {
		
		
	}
				
	.main iframe {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;

    }
	
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;

    }

	

}



@media only screen and (min-width: 1070px) { 


/* ====================
    WIDE: CSS3 Effects
	==================== */

 
	
   #head2 { display:inline;}
	#head3 {display:none;}
    
	
		nav a {
			 
			width: auto;
			}
	

	
	
	
/* ============
    WIDE: Menu
   ============ */
	
    nav {
		min-width:800px;

    }
	
	.wrapper {
		width:1000px;
		margin-left:auto;
		margin-right:auto;
	}

/* ============
    WIDE: Main
   ============ */

   
	.header-container  #head { width:500px; padding:10px 0; float: left;}
	.header-container  #head  img{ width:479px;}
	
    .main article {
        float: left;

		width:100%;
		
    }

	
}


@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */
   
   
    nav {
		
		
    }
	
		
	.wrapper {
		
 }	
	
		
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

	nav {display:none;}
	
	.header-container img { width:479px;}

	.main-container img {
	width:100%;
	max-width: 300px;
	float:left;
	padding-right: 15px;
	padding-bottom: 15px;
}
	
	
    a,
    a:visited {
        text-decoration: underline;
		
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}