/* reset */
/* @import url(https://fonts.googleapis.com/css?family=Roboto); */
@import url('https://webservices8.garmisch.net/webservices/googlefonts/css.php?family=Titillium+Web');

*
{
    margin     : 0;
    padding    : 0;
    box-sizing : border-box;
}

/* render html5 elements as block
   rendert html5 elemente als block  */

header, footer, section, aside, nav, article
{
    display : block;
}

article
{
    border        : 1px solid black;
    margin-bottom : 5px;
    padding       : 10px;
}

.description
{
    font-size    : 12px;
    margin-right : 10px;
}

.justify
{
    text-align   : justify;
    text-justify : inter-word;
}

.equal
{
    margin-bottom  : -99999px;
    padding-bottom : 99999px;
}

.equalheight
{
    overflow : hidden;
}

.error
{
    color : red;
}

body
{
    background-color : #e7e7e9;
    font-size        : 1em;
    font-family      : 'Titillium Web', 'Roboto', Arial;
    color            : #564b47;
}

pre, code
{
    font-size : 1.3em;
}

a
{
    color : #999;
}

a:visited
{
    color : #999;
}

a:hover
{
    color : #ccc;
}

a:active
{
    color : #000000;
}

h1
{
    font-size     : 1.8em;
    font-weight   : normal;
    margin        : 0 0 10px;
    border-bottom : 2pt solid #f9c212;
}

h2
{
    font-size     : 20px;
    margin        : 0px;
    margin-bottom : 3px;
}

h3
{
    font-size   : 1.38em;
    font-weight : normal;
    margin      : 0 0 10px;
}

.news_optionen
{
    margin-bottom : 10px;
}

a.button
{
    -webkit-border-radius : 4px;
    -moz-border-radius    : 4px;
    border-radius         : 4px;
    background            : none repeat scroll 0 0 #eee;
    border                : 1px solid #999;
    cursor                : pointer;
    padding               : 5px;
    color                 : #000;
    text-decoration       : none;
    float                 : left;
    margin                : 5px;
    margin-left           : 0px;

}

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

img.download
{
    vertical-align : middle;
}

img
{
    border : none;
}

ul
{

}

ul li
{
    margin-left : 20px;
}

/* ----------container zentriert das layout-------------- */

#container
{
    max-width        : 1000px;
    min-width        : 320px;
    margin           : 0 auto;
    background-color : #fff;
}

/* ----------header for logo-------------- */
.outheader
{
    width  : 100%;
    height : auto;
}

#top:after
{
    height     : 0;
    content    : ".";
    display    : block;
    clear      : both;
    visibility : hidden;
}

#top
{
    display  : block;
    position : relative;
}

#top header
{
    padding : 0px;
}

header img
{
    border  : 0;
    padding : 0 0 0px;
}

.logo2
{
    width  : 100%;
    height : 100px;
}

.mini, .menubutton
{
    display : none;
}

.menubutton a
{
    cursor : pointer;
}

/* new nav */
nav
{
    position : absolute;
    top      : 0px;
    right    : 20px;
}


nav ul:after
{
    height     : 0;
    content    : ".";
    display    : block;
    clear      : both;
    visibility : hidden;
}

nav ul
{
    list-style-type : none;
    float           : right;
}

nav li
{
    float  : left;
    margin : 0 3px 0 0;
}

nav a, nav a:visited
{
    background-color : #1b1840;
    color            : #FFFFFF;
    display          : block;
    padding          : 5px 20px;
    text-decoration  : none;
    transition       : all 0.5s linear;
    box-shadow       : 0 1px 3px #666666;
}


nav a:hover
{
    color            : #564b47;
    background-color : #f9c212;
}

nav a:active
{
    color : #000000;
}

nav a.selected
{
    color            : #fff;
    background-color : #f9c212;
}

/* ----------------- content--------------------- */
section:before
{
    height     : 0;
    content    : ".";
    display    : block;
    clear      : both;
    visibility : hidden;
}

section#content
{
    float            : left;
    margin-top       : 10px;
    width            : 75%;
    padding          : 20px;
    background-color : #fff;
}

p, pre
{
    padding     : 0 0 20px;
    line-height : 1.5em;
}

ul
{
    list-style-type : none;
    line-height     : 1.5em;
}

article header
{
    padding : 0;
}

article footer
{
}

/* -------------- side infos ------------- */

aside
{
    margin-top       : 10px;
    background-color : #fff;

    padding          : 20px;
    float            : right;
    width            : 25%;
}

/* -----------footer--------------------------- */
footer.footer
{
    padding          : 20px;
    clear            : both;
    background-color : #1b1840;
    color            : #fff;
}

footer a
{
    color           : #999;
    text-decoration : none;
}

.footer-segment
{
    display        : inline-block;
    vertical-align : top;
    width          : 32%;
}

.clear
{
    clear : both;
}

article h2
{
    font-size     : 25px;
    margin        : 0px;
    margin-bottom : 3px;
}

header .news_subline
{
    font-size       : 17px;
    margin-bottom   : 3px;
    text-decoration : none;
}

a.titellink:link, a.titellink:visited, a.titellink:visited
{
    color           : #564b47;
    text-decoration : none;
}

a.titellink:hover
{
    color           : #564b47;
    text-decoration : underline;
}

.news_text_detail
{
    font-size : 12px;
}

.news_id
{
    font-size        : 12px;
    padding          : 2px;
    background-color : #f9c212;
    float            : right;
}

.news_article
{
    margin-top : 10px;

}

.news_image
{
    float        : left;
    margin-right : 15px;

}

.news_image img
{
    width  : 220px;
    height : 124px;
}

.news_youtube
{
    float  : left;
    width  : 220px;
    height : 124px;
}

.left_image
{
    float        : left;
    margin-right : 15px;
    width        : 220px;
}

.right_image
{
    float       : right;
    margin-left : 15px;
    width       : 220px;
}

.left_image img, .right_image img
{
    width : 220px;
}

.news_text, .news_text_preview
{
    font-size  : 15px;
    text-align : justify;
}

.images_weather li
{
    float         : left;
    width         : 215px;
    height        : 150px;
    font-size     : 10px;
    line-height   : 10px;
    margin-left   : 0px;
    margin        : 0px;
    padding       : 0px;
    margin-bottom : 5px;
}

.images_weather li img
{
    width  : 200px;
    height : auto;
}

h4
{
    background-color : #1b1840;
    letter-spacing   : 2px;
    line-height      : 30px;
    text-align       : center;
    color            : #FFF;
    margin-bottom    : 5px;
}

input[type=password]
{
    width      : 100%;
    padding    : 6px 10px;
    margin     : 8px 0;
    display    : inline-block;
    border     : 1px solid #ccc;
    box-sizing : border-box;
}

input[type=text],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select
{
    width      : 100%;
    padding    : 6px 10px;
    margin     : 8px 0;
    display    : inline-block;
    border     : 1px solid #ccc;
    resize     : vertical;
    box-sizing : border-box;

}

.news_info_upload
{
    padding : 6px 10px;
    margin  : 8px 0;
}

.news_info_description
{
    width        : 70%;
    padding      : 6px 10px;
    margin       : 8px 0;
    padding-left : 0;
}

#search
{
    width : 88%;
}

#search_button
{
    border      : 0;
    background  : url("http://www.extremwetter.tv/images/search.png") no-repeat;
    text-indent : -9999em;
    line-height : normal;
    width       : 9%;
    height      : 25px;
}

#user_plz
{
    width : 24%;
}

#user_ort
{
    width : 74.7%;
}

input[type="radio"],
input[type="checkbox"]
{
    margin : 0 4px 8px 0;
}

fieldset
{
    margin-bottom : 10px;
    border        : none;
}

legend
{
    font-size     : 1.4em;
    margin-bottom : 8px;
}

label
{
    display       : block;
    margin-bottom : 2px;
}

.number
{
    background-color : #5fcf80;
    color            : #fff;
    height           : 30px;
    width            : 30px;
    display          : inline-block;
    font-size        : 0.8em;
    margin-right     : 4px;
    line-height      : 30px;
    text-align       : center;
    text-shadow      : 0 1px 0 rgba(255, 255, 255, 0.2);
    border-radius    : 100%;
}

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

    form
    {
        max-width : 100%;
    }

}

button
{
    background-color : #4CAF50;
    color            : white;
    padding          : 8px 20px;
    margin           : 8px 0;
    border           : none;
    cursor           : pointer;
    width            : 100%;
}

button.login
{
    background-color : #f9c212;
    color            : white;
    padding          : 8px 20px;
    margin           : 8px 0;
    border           : none;
    cursor           : pointer;
    width            : 100%;
}

button.logout
{
    background-color : red;
    color            : white;
    padding          : 8px 20px;
    margin           : 8px 0;
    border           : none;
    cursor           : pointer;
    width            : 100%;
}

button.search
{
    background-color : #000;
    color            : white;
    padding          : 8px 20px;
    margin           : 8px 0;
    border           : none;
    cursor           : pointer;
    width            : 100%;
}

span.register
{
    float       : left;
    padding-top : 1px;
    font-size   : 12px;
}

span.forget
{
    float       : right;
    padding-top : 1px;
    font-size   : 12px;
}


/* -------------------- Media Queries -------------------- */


@media only screen and (max-width : 860px)
{
    #top header, nav
    {
        float         : none;
        margin-bottom : 30px;
        width         : 100%;
    }

    #top
    {
        padding : 0px;
    }

    nav
    {
        padding    : 0;
        margin-top : 15.7%;
        right      : 0;
    }

    nav ul
    {
        float : none;
    }

    nav li
    {
        float  : left;
        margin : 0;
        width  : 25%;
    }
}

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

    section#content
    {
        float   : none;
        width   : 100%;
        padding : 20px;
    }

    aside
    {
        padding : 20px;
        float   : none;
        width   : 100%;
    }

}


@media only screen and (max-width : 480px)
{

    #top header, nav
    {
        margin-bottom : 0px;
    }

    nav
    {
        margin-top    : 15.5%;
        right         : 0px;
        padding-right : 0px;
    }

    nav li
    {
        float   : none;
        margin  : 0;
        width   : 100%;
        display : block;
    }

    nav a
    {
        font-size : 1.2em;
        position  : relative;
    }

    nav a:not(.selected):after
    {
        content  : '»';
        position : absolute;
        right    : 10px;
    }

    .mini
    {
        display : block;
        /* 20% space rechts fuer .menubutton: */
        width   : 80%;
    }

    .menubutton
    {
        display  : block;
        position : absolute;
        right    : 20px;
        top      : 20px;
        z-index  : 400;
    }

    .maxi
    {
        display : none;
    }

    .news_image
    {
        float  : none;
        width  : 100%;
        height : auto;
        margin : 0px;
    }

    .news_youtube
    {
        display : none;
    }

    .news_text
    {
        display : inline-block;
    }

    .news_text_preview
    {
        display : none;
    }

    .news_image img
    {
        width  : 100%;
        height : auto;
        margin : 0px;
        clear  : both;
    }

    .left_image, .right_image
    {
        float  : none;
        width  : 100%;
        height : auto;
        margin : 0px;

    }

    .left_image img, .right_image img
    {
        width  : 100%;
        height : auto;
        margin : 0px;
        clear  : both;
    }

    .images_weather li
    {
        float         : none;
        display       : block;
        width         : 100%;
        height        : auto;
        font-size     : 11px;
        margin        : 0px;
        padding       : 0px;
        margin-bottom : 10px;
    }

    .images_weather li img
    {
        width  : 100%;
        height : auto;
    }

    .news_text, .news_text_preview
    {
        clear : both;
    }

    footer.footer
    {
        padding : 20px;
    }


}


aside, section#content
{
    padding-bottom : 10000px;
    margin-bottom  : -10000px
}   