/** style.css is the main stylesheet from the projekt it contains the similarities.
for example footer and header. it also contain the media querrys for the responsive
design
*/

.icon{
    width: 65px;
    float: left;
    margin-top: 10px;
    margin-left: 10px;
}

.subheaderHomepage{
    font-size: 30px;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 30px;
}

.din{
    color: #8C001F;
}

.wrapper #right  {
    position: absolute;
    right: 10px;
    top: 15px;
}

#px{
    margin-left: 10px;
    margin-right: 10px;
}

.fivepxleftPadding{
    margin-left: 5px;
    line-height:
}
#hideForm{
    display: none;

}
#hideSurf{
    display: none;

}
.withOutIcon{
    margin-left: 5px;
   /* padding-left: 5px;*/
}
b{
    font-weight: 800;
}

@font-face {
    font-family: notoSans;
    src: url(../font/NotoSans-Regular.ttf);
}

@font-face {
    font-family: notoSans-IE;
    src: url('../font/NotoSans-Regular.eot');
}

i {
    font-style:italic;
}

.strong{
    font-weight: 800;
}
#MarGearSvg{
    max-height: 300px;
    max-width: 400px;
}
.textBox{
    max-width: 600px;
}
/*
svg{
    width: 60px;
    height:60px
}
*/
html{
    height: 100%;
    font-family: notoSans, notoSans-IE;

}

noscript {
    font-size: 23px;
}
noscript a{
    color: blue;
}

body{

        font-family: notoSans, notoSans-IE;
        border-top:5px solid #8c001f;
        background:#FFF;;
        color:#333333;
        height: 100%;
}
#SubCat{
    display: block;
}
#page{
    position: relative;
    min-height: 100%;/*TODO*/

}
#pageContent{
     padding-bottom: 5px;
}
#pageContentIndex{
     padding-bottom: 55px;
}

/*
input{
        font-size:16px;
        padding: 7px;
        outline: 0;
        border: 0;
        width:250px;
        background: #EBE8DE;

}
input[type=submit]{
        width:auto;
        padding: 5px 18px;
        line-height:25px;
        text-shadow:none;
        cursor:pointer;
        box-shadow: none;
        background: #333333;
        color: #fff;
        Margin-right: 10px;
}
*/
p{
        margin:5px 0;
        line-height:25px;
}

a{
        text-decoration:none;
        color:inherit;
}

strong{
        font-weight:bold;
}


figcaption strong{
        padding-bottom:10px;
        margin: 2px 0;
        display:block;
}

figcaption{
        line-height: 32px;
        font-size:14px;
        width: 100%;
}

hr{
        background-color: #8C001F;
        border:0;
        height:1px;
        margin:20px 0;
}

/* HEADER */
.logo{
    height: 60px;
    margin-top: 20px;
    margin-bottom: -17px;

}
.language {
    width: 40px;
    height: 30px;
    margin-right: 5px;
    margin-top: -28px;
    float: right;
	visibility: visible;
}
.languageMobil {
    width: 40px;
    height: 30px;
    margin-right: 5px;
    margin-top: 30px;
    float: right;
}

header{
        position:relative;
        width:auto;
        max-width:900px;
        margin: 0 auto 5px auto;
}

header h1{
        margin:35px 0 0 0;
        font-size:55px;
        color:#8c001f;
}

header p{
        font-size:16px;
        color: #4A463B;
        margin-left:5px;
}
nav{
    font-size: 1.18em;
    z-index: 99;
    color: #FFF;
    max-width: 900px;
    margin-top: 30px;
}

nav ul{
    display: inline;
    list-style: none outside none;
}

nav ul li{
        float: left;
        width: 290px;
        height: 33px;;
}

nav ul li a{
    background-color: #CA002F;
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
    position: absolute;
    padding: 7px;
    width: 300px;
    text-align: center;

}

nav ul li a:hover{
        background-color: #89898b;

}

#mobileMenu{
    transition: top 0.25s ease-in-out;
}

#mobileMenu.up{
        position: fixed;
        top: -100px;
        left: 0;
        width: 100%;
        display:block;
}

#mobileMenu.up3{
        position: fixed;
        top: -140px;
        left: 0;
        width: 100%;
        display:block;
}

#mobileMenu.down{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display:block;
}


#mobileMenu ul li{
        display:block;
        background-color:#8c001f;
        color: #fff;
        padding: 15px 0;
        letter-spacing: 0.1em;
        text-align: center;
        border-bottom: 1px solid #000;
}

.toggleMobile{
        display: none;
}
/* language Mobile */
#mobileMenuLang{
    transition: top 0.25s ease-in-out;
}

#mobileMenuLang.up{
        position: fixed;
       	top: -250px;
        left: 0;
        width: 100%;
        display:block;
}

#mobileMenuLang.down{
        position: fixed;
        top: 48px;
        left: 0;
        width: 100%;
        display:block;
		z-index:9;
}


#mobileMenuLang ul li{
        display:block;
        background-color:#8c001f;
        color: #fff;
        padding: 10px 0;
        letter-spacing: 0.1em;
        text-align: center;
        border-bottom: 1px solid #000;

}

.toggleMobileLang{
        display: none;
}

/* 3 COLUMNS */

#boxcontent{
        width:auto;
        max-width:900px;
        margin:0 auto;
        padding: 0px;
}

#boxcontent article{
    float: left;
    margin-right: 20px;
    font-size: 17px;
    width: 420px;

}

#boxcontent article h3{
        font-size:20px;
        margin-bottom:10px;

}

#boxcontent article img {
    margin: 30px 0px 15px;
    width: 200px;
    height: 150px;
}

#boxcontent article p{
        line-height:25px;
       margin-left: 15px;
}
/*
#slider_content1, #slider_content2, #slider_content3{
        line-height: 25px;
        width:350px;
        position:absolute;
        top:15%;
        left:15%;
        display:none;
        z-index:11;
}

#slider_content1 h3, #slider_content2 h3, #slider_content3 h3{
        color:#EBE8DE;
        font-size:25px;
        font-weight:bold;
        margin-bottom:10px;
        background-color:#89898b;
        padding:10px 15px;

        display:inline-block;
}

#slider_content1{
        display:block;
}

#slider_content1 p, #slider_content2 p, #slider_content3 p{
        margin:0 0 30px 0;
        color:#4a463b;
        background-color:#EBE8DE;
        padding:10px 15px;

}
*/
/* SPACER */

#spacer{
    width: auto;
    background-color: #8C001F;

    color: #FFF;
    font-size: 1.18em;
    height: 32px;
}

#spacer p{
        margin-top:22px;
        width:auto;
        position:absolute;
        left:50%;
        margin-left:-450px;
}

#spacer .search{
        margin-top:15px;
        width:auto;
        position:absolute;
        left:50%;
}


/* FOUR COLUMNS */

#four_columns, #text_columns{
        line-height:25px;
        clear:both;
        width:auto;
        max-width: 900px;
        margin:0 auto;
        margin-top: 20px;
        min-height: 455px;
}

#four_columns h2, #text_columns h3{
        font-size:20px;
        border-bottom: 1px solid #D6D0C1;
        padding: 20px 0;
        margin-bottom: 20px;

}
#ueberMahr{
        font-size:23px;
        border-bottom: 1px solid #D6D0C1;
        padding: 20px 0;
        margin-bottom: 20px;
        width: auto;
        max-width: 900px;
        margin: 0px auto;
        padding: 30px 0px 15px;
}

#four_columns .img-item{
        float:left;
        width: 24%;
}

#four_columns .img-item a{
        position:relative;
        display:block;
        text-align: center;
}

/* FOOTER */

footer{
        position:absolute;
        clear:both;
        width:100%;

        background:#89898B;
        bottom: 0px;
}

footer .wrapper{
        line-height:25px;
        margin: 0 auto;

        width:auto;
        max-width:900px;
        font-size:14px;
        position: relative;
        background:#9d9d9e;
}
footer .wrapper .column.midlist ul{
    text-align: center;
}


footer .wrapper .column.midlist ul li{
    display: inline-block;
    padding-bottom: 13px;
    text-align: center;

}
footer .wrapper .column.midlist ul li{
   color: white;

}
footer .wrapper .column.midlist ul li a:hover{
        color:#fff;
}

footer .wrapper .column h4{
        font-size: 16px;
        color: #FFF;
        padding: 5px 0px 0px;
        margin-bottom: 10px;
}

#copyright{
        background: #89898b;
        height: 60px;
        position:absolute;
        bottom:0;
        left:0;
        width:100%;
}
#copyright .wrapper{
        padding-top:20px;
        color: #5e5e5e;
        font-size:12px;
        position:relative;
}
#copyright .wrapper .social{
        position:absolute;
        right:0;
        top:25px;
}
#copyright .wrapper .social a{
        transition: opacity .25s ease;
        opacity: 0.3;
        margin-left: 12px;
        display:inline;
        float:left;
}
#copyright .wrapper .social a:hover{
        opacity: 0.7;
}
#copyright .wrapper a{
        color: #ABABAB;
}

#copyright .wrapper a:hover{
        color: #fff;
}

/* SKIPLINK */
.go-top{
        position: fixed;
        bottom: 2em;
        right: 2em;
        text-decoration: none;
        color: white;
        background-color: rgba(0, 0, 0, 0.3);
        font-size: 12px;
        padding: 1em;
        display: none;
}

.go-top:hover{
        background-color: rgba(0, 0, 0, 0.6);
}

/* MISC */
.clear{
        clear:both;
}
.hidden{
        position:absolute;
        clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
        clip: rect(1px, 1px, 1px, 1px);
}
.aboutMahr{
            width: 70%;
        }

/* MEDIA QUERIES FOR A RESPONSIVE LAYOUT */

@media (max-width: 915px)
{
        .icon{
            margin-top: 1px;
            margin-left: 1px;
        }
        #ueberMahr {
            float: none;
            margin: 30px auto 0px;
            width: 80%;
        }
        #text_columns{
            float: none;
            margin: 30px auto 0px;
            width: 80%;
        }

        #boxcontent article{
                float: none;
                margin: 30px auto 0 auto;
                width: 80%;
        }
        #spacer{
                font-size:15px;
        }
        #spacer .search{
                margin-top:19px;
                margin-right:-385px;
        }
        #spacer p{
                margin-left:-370px;
        }
        #four_columns{
                width: 100%;
        }

        #text_columns article.column1, #text_columns .column2{
                float:none;
                max-width: 500px;
                margin: 50px 50px 0 60px;
                vertical-align: middle;
        }
        .column2 .row{
                float:none;
                margin:0 0 40px 50px;
        }
         footer .wrapper{
        padding-left: 5px;
        }
        footer .wrapper .column{
                font-size: 12px;
                width: auto;
        }
        footer .wrapper .column.midlist ul li{
            display: inline-block;
            width: 23%;
            padding: 0px 3px 1px;

        }
        .aboutMahr{
            margin: 10px;
        }

        #boxcontent{
            padding: 0px 0 45px 0;
        }
        #ueberMahr {
            margin: 0px auto 20px;
            padding: 0px;
        }

}
@media (max-width: 900px){
    .bp-ac {
        left: 350px;
    }

    nav ul li {
        width: 31%;
        margin-left: 5px;
    }
    nav ul li a {
        text-align: center;
        width: 33%;
        padding: 7px;
		top: 93.5px;
    }
     footer{
        height: 0px;
        padding-bottom: 0px;
    }

}



@media (max-width: 765px){
        nav{
            margin-top: 23px;
        }
        .container{
                height:1px;
                top: -1500px;
        }
        header{
                height:120px;
        }

        #spacer{
            margin-top: -31px;
        }

        footer .wrapper{
                width: auto;
                margin: 0 auto;

        }
        footer .wrapper .column{
                margin-top:30px;
                float:none;
                font-size: 13px;
                width: auto;
        }

        footer .wrapper .social{
            display:none;
        }
        nav{
            width:99%;
        }
        .bp-ac {
            left: 240px;
        }

}

@media (max-width: 655px){
    nav {
        width: 97%;
    }
    .nav{
            margin-top: 23px;
        }
	.bp-ac {
		left: 150px;
	}
}

@media (max-width: 600px){
        #SubCat{
            display: none;
        }
        header{
            margin-top: 40px;
            text-align: center;
            height: 5px;
        }
        #spacer{
                height:80px;
                position: fixed;
                top: 0;
                width:100%;
                z-index: 9;
                background-color:#8c001f;
        }
        #four_columns{
                width:auto;
        }

        #four_columns .img-item{
                width: 24%;

        }
        #four_columns h2{
                margin: 0 0px;
        }
        .column2 .row{
                margin: 0 0 40px 10px;
                width:auto;
        }

        input{
                width:auto;
        }
        #mobileMenu{
                display: none;
                z-index: 999;
        }
	#mobileLangLangMenu{
		z-index: 999;
	}
        .toggleMobile {
            position: fixed;
            top: 10px;
            left: 10px;
            display: block;
            width: 30px;
            height: 30px;
            cursor: pointer;
            z-index: 9999;
            background-color: #FFF;
        }

		  .toggleMobileLang {
            position: fixed;
            top: 10px;
            right: 10px;
            display: block;
            width: 30px;
            height: 30px;
            cursor: pointer;
            z-index: 99;
            background-color: #FFF;
        }

        header nav{
                display:none;
        }

       header h1 {
           font-size: 30px;
           margin-top: 10px;

           position: absolute;
           left: 5px;
           top: 8px;
       }

    header p{
        margin-left: 60px;
        font-size:14px;
    }

    footer .wrapper .column.midlist ul li{
        display: inline;
        }

   .logo{
        width: 50px;
        height: 32px;
        margin-top: -36px;
        position: fixed;
        left: 50px;
        z-index: 99;
   }
   .language {
      margin-right: 0px;
	   margin-top: 0px;
	   float: none;
	}

	#languageHomepage {
		visibility: hidden;
	}

    #boxcontent article{
        border: 2px solid;
        background-color: #FFF;
        padding-top: 5px;
        float: left;
        margin: 30px auto 0px 15px;
        width: 45%;
        margin-left: 15px;

    }
    .form-control {
        position: fixed;
        top: 5px;
        left: 110px;
        width:50%;
        z-index: 99;

    }
    .bp-autocomplete-dropdown {
        position: fixed;
        left: 110px;
        top: 45px;
        width: 50%;

    }
    .hidden600{
        visibility: hidden;
    }
	h3{
		margin-left: 15px;
	}
	#boxcontent article img {
		margin: 30px 15px 15px;
	}
}
@media (max-width: 550px){
    #boxcontent article {
        float: left;
        width: 40%;
    }
    #boxcontent article img {
        width: 150px;
        height: 100px;
    }
	.aboutMahr {
		width: 95%;
	}
}

@media (max-width: 380px){
    figcaption {
        line-height: 12px;
        font-size: 12px;
    }
}

@media (max-width: 450px){
     #boxcontent article img {
        margin: 15px 19px;
        width: 100px;
        height: 75px;
     }
}


@media (max-width: 400px){
    .logo{
        margin-left: 0%;
    }
    #text_columns{
        float: none;
        margin: 30px auto 0px;
        width: 95%;
    }
    #rrrmm{
        padding: 5px 2px;
    }
}
@media(max-width: 350px){
    .toggleMobile {
        left:5px;
    }
    .logo{
        left: 37px;
    }
    .form-control{
        left: 90px;
    }
    .language{
        top: 13px;
        margin: 0px;
    }
    .bp-autocomplete-dropdown {
        left: 90px;
    }
    #boxcontent article img {
        margin: 15px 19px;
        width: 100px;
        height: 75px;
    }
    #boxcontent article {
        float: left;
        width: 42%;
    }
}
@media(min-width: 600px){
    #marFormAll:hover {
        color:#fff;
        background-color:#89898B;
    }
}

a:active, a:focus {outline: none;}
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#inline{
    display: inline;
}
