/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
    /*font-weight: 400;*/
    font-family: 'titilliumregular', sans-serif!important;
}

body {
    font-size: 1em;
    font-family: 'titilliumregular', sans-serif!important;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

.body {
    font-family: 'titilliumregular', sans-serif!important;
}

html {
    font-size: 90%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
    /*font-family: 'Titillium Web', sans-serif!important;*/
}

p {
    line-height: 1.5em;
}

.dark-tiles {
    background-image: url(/assets/submaris/template/img/header-bg-tile.png);
}

.Logoleiste {
    height: 190px;
}

.wrapper {
    max-width: 1000px;
    width: 90%;
    padding: 0 0;
    margin: auto;
    position: relative;
}

.Logo {
    position: absolute;
    left: -379px;
    width: 1390px;
    height: 190px;
    background-image: url(/assets/submaris/template/img/title_trans_small.png);
    z-index: 1!important;
}

.Logo a {
    display: block;
    height: 160px;
    width: 300px;
    position: absolute;
    left: 400px;
    text-decoration: none;
}

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

.Untertitelbox {
    position: absolute;
    color: white;
    right: 0px;
    top: 22px;
    margin-right: 10px;
}

.Untertitel {
    font-size: 1.62em;
    font-weight: 600;
    font-family: 'titillium_bdbold';
    line-height: 1.2em;
    margin-bottom: 2px;
}

.Unteruntertitel {
    color: #999;
}

.navblock {
    padding-top: 137px;
}

ul.mainnav {
    box-shadow: 0 2px 5px rgba(0,0,0,.5);
    position: relative;
    float: right;
    border-radius: 16px;
    list-style-type: none; 
    margin: 0;
    padding: 0 14px;
    line-height: 32px;
    background-color: red;
    display: block;
    background: #426624; /* Old browsers */
    background: -webkit-gradient(linear, 0 0, 100% 0, from(#426624), color-stop(0.5, #1a5260), to(#213e5e));
    background: -webkit-linear-gradient(left, #426624 0%, #1a5260 50%, #213e5e 100%);
    background: -moz-linear-gradient(left, #426624 0%, #1a5260 50%, #213e5e 100%);
    background: -o-linear-gradient(left, #426624 0%, #1a5260 50%, #213e5e 100%);
    background: linear-gradient(left, #426624 0%, #1a5260 50%, #213e5e 100%)    ; 
    /* FF3.6+ */ /* Chrome,Safari4+ */ /* Chrome10+,Safari5.1+ */ /* Opera 11.10+ */ /* IE10+ */ /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#426624', endColorstr='#213e5e',GradientType=1 ); /* IE6-9 */
    z-index: 10;
}

ul.mainnav li {
    float: left;
    text-transform: uppercase;
    font-size: 80%;
    letter-spacing: 1px;
    line-height: 32px;
    margin: 0;
}

ul.mainnav li a {
    color: rgba(255,255,255,0.7);
    padding-left: 8px;
    padding-right: 8px;
    display: block !important;

    -webkit-transition: background .25s ease-in, color .25s ease-in, text-shadow .25s ease-in;
    -moz-transition: background .25s ease-in, color .25s ease-in, text-shadow .25s ease-in;
    -o-transition: background .25s ease-in, color .25s ease-in, text-shadow .25s ease-in;
    -ms-transition: background .25s ease-in, color .25s ease-in, text-shadow .25s ease-in;
    transition: background .25s ease-in, color .25s ease-in, text-shadow .25s ease-in;
}

ul.mainnav li a:hover,ul.mainnav li.active a {
    background-color: rgba(0,0,0,.3);
    text-decoration: none;
    color: white;
    text-shadow: 0 1px 1px #000;

    -webkit-transition: background .2s ease-out, color .2s ease-out, text-shadow .2s ease-out;
    -moz-transition: background .2s ease-out, color .2s ease-out, text-shadow .2s ease-out;
    -o-transition: background .2s ease-out, color .2s ease-out, text-shadow .2s ease-out;
    -ms-transition: background .2s ease-out, color .2s ease-out, text-shadow .2s ease-out;
    transition: background .2s ease-out, color .2s ease-out, text-shadow .2s ease-out;
}

.lt-ie9 ul.mainnav li a {
    color: #aaa;
}

.lt-ie9 ul.mainnav li a:hover {
    color: #fff;
}

.light-tiles {
    background-image: url(/assets/submaris/template/img/streifen-bg-tile.png);
}

.Cover {
    margin-bottom: 2em;
}

.no-margin {
    margin-bottom: 0!important;
}

.add-topmargin {
    margin-top: 20px;
}

.dark-tiles h2.cyan, .dark-tiles h2.green, .dark-tiles h2.blue {
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.light-tiles h2.cyan, .light-tiles h2.green, .light-tiles h2.blue {
    text-shadow: 1px 1px 2px rgba(255,255,255,.9);
}

h2.cyan, .cyan h1, .cyan h2, .cyan a, .blue a:hover {
    color: #1F94AD;
}
h2.green, .green h1, .green a, .cyan a:hover {
    color: #61A926;
}

h2.blue, .blue h1, .blue a, .green a:hover {
    color: #2B65A6;
}

a {
    text-decoration: none;
}


.dark-tiles {
    color: #ccc;
}

.angebot .units-row {
    padding-bottom: 1em;
    padding-top: 2em;
    margin-bottom: 3em;
}

.angebot.unten .units-row {
    margin-bottom: 0em;
    padding-bottom: 1em;
}

h1, h2, h3 {
    /*font-weight: 600;*/
    font-family: 'titilliumbold';
}

.maintext h2 {
    margin-bottom: 1.0em;
}

h2.subtitle {
    color: #818181;
    font-size: 1.25em;
    /*font-weight: 600;*/
    font-family: 'titilliumbold';
    margin-bottom: 1em;
    margin-top: .2em;

}

.maintext {
    margin-bottom: 3em;
}

.dark {
    background-color: #272727;
}

.dark .unit-50.links {
    padding-right: 1em;
} 

.dark .unit-50.rechts {
    padding: 2em 1em;
}

.dark h2 {
    color: white;
}

.dark p, .dark ul {
    color: #aaa;
}

.footerboxes {
    padding-top: 4em;
    color: #888;
}

.footerlogo {
    padding-bottom: 2em;
}

.centered {
    display: block!important;
    margin: 0 auto!important;
    text-align: center;
}

p.copyright {
    padding-bottom: 4em;
    color: #888;
}


#slides {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

#slides > div {
    margin: 0;
    padding: 2em 0em 1em 0em;
}

.Wechselgalerie .units-row {
    margin-bottom: 0;
    padding-bottom: 1.5em;
}

.pad2emtop {
    padding-top: 2em;
}

p.covertext {
    position: absolute;
    right: -20px
    top: -300px;
}

.titleimage {
    padding-top: 2em;
}

.covertext {
    position: absolute;
    color: white;
    bottom: 0%;
    right: 3%;
}

.covertitle {
    /*font-weight: 600;*/
    font-family: 'titilliumbold';

    font-size: 3.5em;
    text-shadow: 0 2px 8px rgb(0,0,0);
    line-height: 1.15em;
    margin-bottom: .2em;
}

.coversubtitle {
    /*font-weight: 600;*/
    font-family: 'titilliumbold';

    text-shadow: 0 1px 3px rgb(0,0,0);
}

.angebot a {
    /*font-weight: 700;*/
    font-family: "titillium_bdbold";
    text-decoration: none;
}

.angebot a:hover {
    color: white;
}

.angebot a img {
    -webkit-box-shadow: 0 0 0 white;
    box-shadow: 0 0 0 white;

    -webkit-transition: box-shadow .2s ease-in;
    -moz-transition: box-shadow .2s ease-in;
    -o-transition: box-shadow .2s ease-in;
    -ms-transition: box-shadow .2s ease-in;
    transition: box-shadow .2s ease-in;
    margin-bottom: 1em;
}

.angebot a:hover img {
    -webkit-box-shadow: 0 0 0 2px white, 0 5px 30px -5px black;
    box-shadow: 0 0 0 2px white, 0 5px 30px -5px black;

    -webkit-transition: box-shadow .2s ease-out;
    -moz-transition: box-shadow .2s ease-out;
    -o-transition: box-shadow .2s ease-out;
    -ms-transition: box-shadow .2s ease-out;
    transition: box-shadow .2s ease-out;
}

.sub {
    /*font-weight: 700;*/
    font-family: "titillium_bdbold";
    color:#888;
}
.maris {
    /*font-weight: 700;*/
    font-family: "titillium_bdbold";
    color: #333;
}

.dark-tiles .maris,
.dark .maris {
    color: #ddd ;
}

.right-align {
    text-align: right;
}

h1 {
    margin-bottom: 1.00em;
}

h2.subtitle {
    margin-top: -1.0em;
}

.maintext ul li {
    margin-top:.3em;
    margin-bottom: .3em;
}

.slidescaption {
    font-size: 1.1em;
}

b, strong {
    /*font-weight: 600;*/
    font-family: 'titilliumbold';
}

.footerboxes ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footerboxes ul li {
    margin-top: 0;
    margin-bottom: 1em;
}

.gal-item-active {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

.accordionButton {
    line-height: 1em;
}

.reflogo {
  margin-right: 20px;
}

.projektraster {
    position: relative;
    overflow: hidden;
}

.backdrop {
    width: 100%;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;

    -webkit-transition: opacity 0.6s ease-in;
    -moz-transition: opacity 0.6s ease-in;
    -o-transition: opacity 0.6s ease-in;
    -ms-transition: opacity 0.6s ease-in;
    transition: opacity 0.6s ease-in;
}

.backdrop:hover {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;

    -webkit-transition: opacity .1s ease-out;
    -moz-transition: opacity .1s ease-out;
    -o-transition: opacity .1s ease-out;
    -ms-transition: opacity .1s ease-out;
    transition: opacity .1s ease-out;
}

.overlay {
    font-size: 1.0em;
    line-height: 2em;
    z-index: 1000;
    /*font-weight: 700;*/
    font-family: "titillium_bdbold";
    position: absolute;
    padding: 5px 10px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    width: 100%;
    background-color: rgba(0,0,0,.6);
    bottom: 0;
    color: #fff;

    -webkit-transition: opacity 0.6s ease-out;
    -moz-transition: opacity 0.6s ease-out;
    -o-transition: opacity 0.6s ease-out;
    -ms-transition: opacity 0.6s ease-out;
    transition: opacity 0.6s ease-out;
}

.ie7 .overlay,
.ie8 .overlay {
  display: none;
}

a:hover .overlay {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;

    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -ms-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.ie7 a:hover .overlay,
.ie8 a:hover .overlay{
  display: block;
}

ul.projektliste {
    list-style-type: none;
    border-top:1px solid #ddd;
    padding: 0;
    margin: 0;
}

ul.projektliste li {
    border-bottom: 1px solid #ddd;
    line-height: 2.5em;
    margin: 0;
    padding: 0;
}

ul.projektliste li a {
    display: block;
    -webkit-transition: all .5s ease-out;
       -moz-transition: all .5s ease-out;
        -ms-transition: all .5s ease-out;
         -o-transition: all .5s ease-out;
            transition: all .5s ease-out;
}

ul.projektliste li a:hover {
    background: #eee;
    padding-left: 1em;
    -webkit-transition: all .20s ease-in;
       -moz-transition: all .20s ease-in;
        -ms-transition: all .20s ease-in;
         -o-transition: all .20s ease-in;
            transition: all .20s ease-in;
}

.bottom-margin {
    margin-bottom: 1em;
}

/*Anfang Accordion*/

.accordionwrapper:hover {
    background-color: #eee;
    -webkit-transition: all .2s ease-in;
       -moz-transition: all .2s ease-in;
        -ms-transition: all .2s ease-in;
         -o-transition: all .2s ease-in;
            transition: all .2s ease-in;
}

.accordionwrapper {
    -webkit-transition: all .2s ease-out;
       -moz-transition: all .2s ease-out;
        -ms-transition: all .2s ease-out;
         -o-transition: all .2s ease-out;
            transition: all .2s ease-out;
}

.accordion {
    border-bottom: 1px solid #ccc;;
}

.accordionButton { 
    margin: 0;    
    cursor: pointer;
    padding-top: 1em;
    padding-bottom: 1em;
    border-top: 1px solid #ccc;
    -webkit-transition: all .2s ease-in;
       -moz-transition: all .2s ease-in;
        -ms-transition: all .2s ease-in;
         -o-transition: all .2s ease-in;
            transition: all .2s ease-in;
}

.accordionTitle {
    font-family: "titillium_bdbold";
}

.accordionContent { 
    margin: 0;
    padding: 0 0 1em 0;
}

.accordionContentWrapper {
    margin: 1em 0 0 0;
    padding: 0;
}

.over {
    -webkit-transition: all .2s ease-out;
       -moz-transition: all .2s ease-out;
        -ms-transition: all .2s ease-out;
         -o-transition: all .2s ease-out;
            transition: all .2s ease-out;
}
  

/*Ende Accordion*/

.facebook {
    margin-bottom: 20px;
}

.twitter {
    margin-bottom: 20px;
}

.plus {
    margin-bottom: 20px;
}

.youtube {
margin-bottom: 20px;
}

.googleplusfollow {

}

.footerboxes h1 {
    font-size: 1em;
border-bottom: 1px solid #555;
padding-bottom: 1em;
color: #999;
/*font-weight: 400;*/
font-family: 'titilliumregular', sans-serif!important;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 1em;
}

.artikelbox {
    padding-top: 60px;
    border-top: 1px solid #aaa;
    margin-top: 60px;
}


 /*Media Queries*/

@media only screen and (max-width: 960px) {
    .Logo {
        background-image: url(/assets/submaris/template/img/title_trans_smaller.png);
    }
    ul.mainnav {
        box-shadow: 0 2px 5px rgba(0,0,0,.5);
        position: relative;
        float: right;
        border-radius: 16px;
        list-style-type: none; 
        margin: 0;
        padding: 0 22px;
        line-height: 32px;
        background-color: red;
        display: block;
        background: #426624; /* Old browsers */
        background: -webkit-gradient(linear, 0 0, 100% 0, from(#426624), color-stop(0.5, #1a5260), to(#213e5e));
        background: -webkit-linear-gradient(left, #426624 0%, #1a5260 50%, #213e5e 100%);
        background: -moz-linear-gradient(left, #426624 0%, #1a5260 50%, #213e5e 100%);
        background: -o-linear-gradient(left, #426624 0%, #1a5260 50%, #213e5e 100%);
        background: linear-gradient(left, #426624 0%, #1a5260 50%, #213e5e 100%)    ; 
        /* FF3.6+ */ /* Chrome,Safari4+ */ /* Chrome10+,Safari5.1+ */ /* Opera 11.10+ */ /* IE10+ */ /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#426624', endColorstr='#213e5e',GradientType=1 ); /* IE6-9 */
        z-index: 10;
    }
    p.covertitle {
        font-size: 32px
    }

}

@media only screen and (max-width: 767px) {
    .right-align {
        text-align: left;
    }
}


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

.Logo a {
    display: block;
    height: 90px;
    width: 160px;
    position: absolute;
    left: 380px;
    text-decoration: none;
    /*background-color: #fff;*/
}

    ul.mainnav {

    }

    .Untertitelbox {
        position: relative;
        padding-top: 107px;
    }

.Untertitel {
    font-size: 1.0em
}

.Unteruntertitel {
    font-size: .8em;
}
    .Logoleiste {
        height: 200px;
    }

    .Logo {
        background-position: 364px 1px;
        background-image: url(/assets/submaris/template/img/submaris-Logo_225.png);
        background-repeat: no-repeat;
        background-size: 200px;
        width: 550px;
    }

    .navblock {
        padding-top: 0;
        margin-top: -163px;
    }

    ul.mainnav {
        background: none;
        box-shadow: none;
        padding: 8px 0px 8px 10px;
    }

    ul.mainnav li {
        text-align: right;
        float: none;
        line-height: 21px;
        font-size: 0.8em;
        /*font-weight: 600;*/
        font-family: 'titilliumbold';

        padding: 0;
        margin: 0;
    }
    ul.mainnav li a {

        padding: 1px 5px 1px 5px;
        text-shadow: 1px 1px 1px #000;
    }
    ul.mainnav li.active a {
        background-color: transparent;
    }

    p.covertitle {
        font-size: 20px;
    }

    ul.mainnav li {
        margin-bottom: 10px;
    }

    .navblock {
        margin-top: -230px;
    }

    .Logoleiste {
        height: 260px;
    }

    .Untertitelbox {
        padding-top: 167px;
    }
}

.language-switcher {
    /*height: 0px;*/
}

.language {
    text-align: right;
}

.language a img {
    margin-top: 0.4em;
    margin-left: 0.4em;
}

.language a.active img,
.language a:hover img {
  -webkit-box-shadow: 0 0px 0 2px rgba(0,0,0,1), 0 0px 0 4px rgba(255,255,255,0.3);
  -moz-box-shadow: 0 0px 0 2px rgba(0,0,0,1), 0 0px 0 4px rgba(255,255,255,0.3);
  -ms-box-shadow: 0 0px 0 2px rgba(0,0,0,1), 0 0px 0 4px rgba(255,255,255,0.3);
  -o-box-shadow: 0 0px 0 2px rgba(0,0,0,1), 0 0px 0 4px rgba(255,255,255,0.3);
  box-shadow: 0 0px 0 2px rgba(0,0,0,1), 0 0px 0 4px rgba(255,255,255,0.3);
}

.units-row.language-switcher {
    margin-bottom: 0;
}

.black {
    background-color: #000;
}









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

.flex-video {
  position: relative;
  padding-top: 1.5625rem;
  padding-bottom: 67.5%;
  height: 0;
  margin-bottom: 3rem;
  overflow: hidden; }
  .flex-video.widescreen {
    padding-bottom: 56.34%; }
  .flex-video.vimeo {
    padding-top: 0; }
  .flex-video iframe,
  .flex-video object,
  .flex-video embed,
  .flex-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

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

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

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

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

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

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

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