/*
small screen below 480px
Typography
Box Sizin
Styling Typography within the main and #articles
Images
Page- Structure
Wrapper
Empty Container
Banner at the head
Top Band Navigation
main div where the articles are contained
#articles where content is written or pictures are placed
2 articles columns besides each other  60% and 40%
Forms styling
Footer
social links styling
*/

/*------------------------------------*\
  Typography
\*------------------------------------*/
/* 62.5% sets the usual browser text rendition of 16px all to 10px, so rem are easy to calculate */
html {
/*font-size: 62.5%; */
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
-webkit-text-size-adjust: 62.5%;/* 2 */
-ms-text-size-adjust: 62.5%;/* 2 */
color: #404040;
background-color: #FFFFFF;
}


body{
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
color: #312D2E;
font-size: 1.2rem;
background-color: #FE6400;
}

h1{
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
color: #312D2E;
font-size: 2.6rem;
letter-spacing: -0.02em;
line-height: 1.15em;
font-weight: 700;
margin-top: 0px;
margin-bottom: 0.7em;
padding-top: 0px;
padding-bottom: 0px;
}

h2{
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
color: #312D2E;
font-size: 2.0rem;
letter-spacing: -0.02em;
line-height: 1.25em;
font-weight: 700;
margin-top: 0px;
margin-bottom: 0.65em;
padding-top: 0.8em;
padding-bottom: 0px;
}

h3{
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
color: #312D2E;
font-size: 2.1rem;
letter-spacing: -0.02em;
line-height: 1.30em;
font-weight: 700;
margin-top: 0px;
margin-bottom: 0.6em;
padding-top: 0.8em;
padding-bottom: 0px;
}

h4{
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
color: #404040;
font-size: 1.9rem;
line-height: 1.30em;
font-weight: 700;
margin-top: 0px;
margin-bottom: 0.55em;
padding-top: 0.6em;
padding-bottom: 0px;
}

h5{
  font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
  color: #404040;
  font-size: 1.8rem;
line-height: 1.30em;
font-weight: 700;
margin-top: 0px;
margin-bottom: 0.5em;
padding-top: 0px;
padding-bottom: 0px;
}

h6{
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
color: #404040;
font-size: 1.7rem;
line-height: 1.40em;
font-weight: 700;
margin-top: 0px;
margin-bottom: 0.5em;
padding-top: 0px;
padding-bottom: 0px;
}

p{
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
font-size: 1.6rem;
color: #404040;
padding-top: 0;
margin-top: 0;
margin-bottom: 1em;
line-height: 1.3em;
margin-top: 0px;
}

.text{
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
color: #404040;
font-size: 1.4rem;
line-height: 1.3em;
padding-top: 0;
margin-top: 0;
}

.textsmall{
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
color: #404040;
font-size: 0.9rem;
line-height: 1.0em;
padding-top: 0;
margin-top: 0;
}


pre{
  font-family: monospace;
}

blockquote:before{
content: '“';
top:  0;
left: 0;
opacity: 5;

}
blockquote:after{
content: '“';
bottom: 0;
left: 0;
opacity: 5;
}

a{
  color: #262626;
}

.list_indent{
margin-left: 1rem;
padding-right: 0;
}

/*----------------------------------------------------------------------------*\
  Styling Typography within the main and articles
  Padding clears an area around the content (inside the border) of an element
\*----------------------------------------------------------------------------*/

article{
padding-left: 0.5em;
padding-right: 0.5em;
}


/*------------------------------------*\
*	                                   *
*             Images                   *
*                                      *
\*------------------------------------*/

img {
max-width: 100%;
height: auto;
}


/*------------------------------------*\
*	                                    *
*             Page- Structure           *
*                                       *
\*------------------------------------*/
/*----------------------------------------------------------------------*\
  Wrapper around all boxes including header content aside footer bottom
\*----------------------------------------------------------------------*/
#wrapper {
margin: auto;
max-width: 480px;
min-height: 720px;
}

/*----------------------------------------------------------------------*\
  Banner at the head    with adddress
\*----------------------------------------------------------------------*/
#header {
background-color: #FE6400;
background-size: cover;
margin: 0px;
padding: 0px;
max-width: 420px;
}
#adddress{
position: relative;
left: 0px;
margin-right: 20px;
padding: 0px;
height: 100px;
width: 299px;
background-color: #2D2D2D;
float: left;
}

.adressbeschriftung{
margin: 5px;
font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif; /* 1 */
color: #FE6400;
font-size: 1.5rem;
}
#home{
  position: relative;
font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif; /* 1 */
color: #FE6400;
letter-spacing: -0.03rem;
text-align: right;
margin: 0rem;
}
#banner_picture{
display: none;
}

#logo_picture{
height: 60px;
float: left;
background-color: #FFFFFF;
margin-bottom: 5px;
}





/*----------------------------------------------------------------------*\
  main div where the articles are contained
\*----------------------------------------------------------------------*/
#main {
box-sizing: border-box;
float: left;
width: 80%;
}


/*----------------------------------------------------------------------*\
  #infobox with link to content + thumbnail-picture
\*----------------------------------------------------------------------*/

#infobox{
padding: 0.8rem;
height: 220px;
width: 310px;
float: left;
background-color: #2D2D2D;
/*margin-right: 27px;
margin-bottom: 27px;*/

margin-right: 0px;
margin-bottom: 0px;
border: solid;
border-width: 7px;
border-color: #FE6400;
}


.title_infobox{
font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
color: #FE6400;
font-size: 2.2rem;
margin-bottom: 5px;
}

.picture_infobox{
margin-bottom: 0.5rem;
margin-left: auto;
margin-right: auto;
display: block;
width: 200px;
height: 120px;
text-align: center;
}

.text_infobox{
  margin-bottom: 0.5rem;
font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
color: #FFFFFF;
font-size: 1.0rem;
overflow-wrap: break-word;
word-wrap: break-word;
hyphens: auto;
-webkit-line-break: loose;
}

#infobox-on-pages{
display: none;
}

#zusammenfassung{
padding: 1rem;
height: auto;
max-width: auto;
float: left;
background-color: #2D2D2D;
font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
color: #FFFFFF;
font-size: 1.1rem;
margin-right: 0px;
margin-bottom: 0px;
border: solid;
border-width: 6px;
border-color: #FE6400;
}
h1.zusammenfassung{
color: #FFFFFF;
}

#infobox-on-pages{
padding: 1rem;
height: 304px;
width: 254px;
float: left;
background-color: #2D2D2D;
margin-right: 0px;
margin-bottom: 0px;
border: solid;
border-width: 6px;
border-color: #FE6400;
}


/*------------------------------------*\
  Forms styling
\*------------------------------------*/

button{

font-weight: bold;
text-transform: uppercase;
color: #FFFFFF;
font-weight: bold;
background-color: #FE6400;
border: 1px solid #FE6400;
cursor: pointer; /* cursor: hand; for IE5 */
-moz-transition: background 0,3s ease;
-ms-transition: background 0,3s ease;
-chrome-transition: background 0,3s ease;
-webkit-transition: background 0,3s ease;
-o-transition: background 0,3s ease;
transition: background 0,3s ease;
}

button:hover {
-moz-box-shadow: 3px 3px 5px #999;
-ms-box-shadow: 3px 3px 5px #999;
-chrome-box-shadow: 3px 3px 5px #999;
-webkit-box-shadow: 3px 3px 5px #999;
-o-box-shadow: 3px 3px 5px #999;
box-shadow: 3px 3px 5px #999;


font-weight: bold;
text-transform: uppercase;
color: #FE6400;
font-weight: bold;
background-color: #FFFFFF;
border: 1px solid #FE6400;
}

/*------------------------------------*\
  Tables styling
\*------------------------------------*/

#table{
overflow-x:auto;
}

table{
float: left;
empty-cells: show;
caption-side: top;
border-spacing: 0.5rem;
border-collapse: separate;
background: #FE6400;
vertical-align: middle;
text-align: left;
table-layout: auto
}

td{
padding: 0.3rem;
text-align: left;
}

/*------------------------------------*\
  Footer
\*------------------------------------*/
footer {
background-color: #2D2D2D;
max-width: 1280px;
min-height: 36px;
clear: both;
}

#topbar-footer{
margin-left: 1rem;
}

/* --------- Copyright notice styling ************ */
#copyright{

float: left;
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
color: #FFFFFF;
padding: 0;
margin: 0;
font-size: 1.3rem;
text-indent: 0;
line-height: 40px;    /* fits the height: 36px; of the footer */
}

/* --------- footer Menu styling  footer-menu ************ */
#footer-menu {
float: right;
margin-left:1rem;
}

#footer-menu ul {
list-style-type: none;
padding: 0px;
margin: 0px;
}

#footer-menu ul li {
display: block;
float: left;
}

#footer-menu ul li a {
display: inline-block;   /* so shows the whole line height */
text-decoration: none;
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
color: #FFFFFF;
font-size: 1.2rem;
padding-left: 1rem;
padding-right: 1rem;
line-height: 40px;       /* fits the height: 36px; of the footer */
  }


#footer-menu a:link {
text-decoration: none;
color: #FFFFFF;
transition: color 0.25s linear;
transition: background-color 0.3s linear;
}

#footer-menu a:visited {
text-decoration: none;
color: #FFFFFF;
}
#footer-menu a:hover {
color: #FE6400;
background-color: #FFFFFF;
font-weight: bold;
}
#footer-menu a:active {
color: #FE6400;
background-color: #FFFFFF;
font-weight: bolder;
}

/*------------------------------------*\
  social links styling
\*------------------------------------*/
#social {
display: inline-block;
float: left;
margin-left:0rem;
}

#social ul {
list-style-type: none;
padding: 0px;
margin: 0px;
}

#social ul li {
display: block;
float: left;
}

#social ul li a {
display: inline-block;
text-decoration: none;
font-family: Helvetica, Tahoma, Verdana, Arial, sans-serif; /* 1 */
color: #FFFFFF;
font-size: 1.2rem;
background: none repeat scroll 0% 0% transparent;
padding-left: 1rem;
padding-right: 1rem;
line-height: 40px;       /* fits the whole height of the footer: 36 px; of the footer */
  }

#social a:link {
text-decoration: none;
color: #FFFFFF;
transition: color 0.25s linear;
transition: background-color 0.3s linear;
}

#social a:visited {
text-decoration: none;
color: #FFFFFF;
background-color: #FFFFFF;
}
#social a:hover {
color: #FE6400;
background-color: #FFFFFF;
font-weight: bolder;
}
#social a:active {
color: #FE6400;
background-color: #FFFFFF;
font-weight: bold;
}
