/* 128: Responsive / "initializr" - Trauringwelt 2015 */
@import "main.css";
@import "normalize.css";
@import "slicknav/slicknav.min.css";

/* Colors
blue = #01438f -> #013B7B
orange = #f07e01
*/

#top-logo {
    width:220px;
    max-width: 100%;
}
#top-logo img {
    width: 100%;
}

.header-container {
    z-index: 300;
}
.header-container header, #logo {
    position: relative;
}
.header-container h1.title {
    margin: 15px 0 15px 0;
}

#header {
    width: 100%;
    border-bottom: 4px solid #013B7B;
}
#header_img {
    position: relative;
    width: 100%;
    background-position: top left;
    background-color: transparent;
    background-repeat: no-repeat;
}

#text {
    padding: 10px 40px;
    font-size:1.15em;
    line-height: 1.4em;
    word-spacing: 2px;
}

.main h1 {
    font-size: 1.55em;
    padding-top: 10px;
    padding-bottom: 5px;
    color: #013B7B;
}

.main h2 {
    font-size: 1.2em;
    padding-top: 10px;
    padding-bottom: 5px;
    color: #013B7B;
}

.main h3 {
    font-size: 1.1em;
    padding-top: 0px;
    padding-bottom: 0px;
    color: #404040;
}

.footer-container {
    text-align: right;
    font-size: .9em;

}

.footer-container .wrapper {
    background: #404040;
}

.footer-container .wrapper * {
    padding-right:15px;
}

.main table {
    width: 100%;
    border-top: 1px solid #b2b2b2;
}

.main table td, .main table th {
    border-bottom: 1px solid #b2b2b2;
    padding: 5px 10px 5px 2px;
    vertical-align: top;
}

.main table th {
    background: #ececec;
    text-align: left;
    font-weight: bold;
}

.main table.noborder td,
.main table.noborder th {
    padding: 5px 10px 5px 2px;
}

#topExtraDiv {
    padding: 5px;
    min-height: 5px;
}
/* COLORS */

.main a:link, .main a:visited {
    color: #013B7B;
    text-decoration: none;
}

.main a:hover, .main a:active {
    color: #f07e01;
}

#footer a, #footer a:link, #footer a:visited {
    color: #b2b2b2;
    text-decoration: none;
    letter-spacing: 0;
    font-weight:normal;
}

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

#text div.contactform {
    padding: 10px 0;
}
.contactform button {
    color: #333;
    padding:5px;
}


.main span.left { float: left; margin: 6px 15px 6px 0;  }
.main span.right { float: right; margin: 6px 0 6px 15px; }
.main div.single { margin: 15px 0; }


/* Columns */

.main div.columns {
width: 100%;
}

.columns .col-text h1,
.columns .col-text h2,
.columns .col-text h3 {
margin-top:0;
}


/* Navigation */


.slicknav_nav {
    font-size: 1em;
    line-height: 1em;
}
.slicknav_nav a:hover {
    background-color: #013B7B;
    color: #fff;
}

.slicknav_menu {
    display:none;
    background: #706f6f;
    color: #ececec;
    font-size: 1em;
    line-height: 1em;
    z-index: 9999;
    position: fixed;
    width: 100%;
}

.slicknav_menu li {
    text-align: right;
}

.slicknav_nav ul {
    margin-right:14px;
}

.slicknav_menu .slicknav_menutxt {
}

.slicknav_nav .slicknav_arrow {
    font-size: 1.1em;
    margin: 0;
    padding: 5px 0 5px 12px;
}

.slicknav_nav ul a {
    margin-right:15px;
}

.slicknav_parent {
    font-weight: bold;
}

.slicknav_parent ul {
    font-weight: normal;
}

.header-container {
    position: relative;
}

.top-nav li.cat-0 {
    display: none;
}

.sec-nav {
    position: absolute;
    right: 0;
    top: 10px;
}

.sec-nav a, .sec-nav a:link, .sec-nav a:visited {
    color: #706f6f;
    text-decoration: none;
}

.sec-nav a:hover, .sec-nav a:active {
    text-decoration: none;
    color: #fff;
    background-color: #013B7B;
}

/* Unternavi */

.sub-nav #text_2 {
    position: relative;
    height: 80px;
    background: #fff;
    z-index: 299;
    margin-top:2px;
}

.sub-nav .is-sticky #text_2 {
    border-top: 4px solid #013B7B;
    margin-top: 0;
}

.sub-nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: absolute;
    right:0;
    top:0;
    border-bottom: 3px solid #013B7B;
    background: #fff;
}

.sub-nav li {
    float: left;
    position: relative;
    padding: 10px 22px 10px 0px;
    margin: 0px;
    margin-right: 0;
    display: block;
    font-size: 1.55em;
    line-height: 1.1em;
}

.sub-nav a, .sub-nav a:link, .sub-nav a:visited {
    display: block;
    padding: 3px 6px 4px 28px;
    color: #013B7B;
    text-decoration: none;
    background: #fff url(arrow-orange.png) left 5px no-repeat;
}

.sub-nav a:hover, .sub-nav ul .sub-nav ul a:hover span {
    text-decoration: none;
    color: #fff;
    background: #f07e01 url(arrow-white.png) left 5px no-repeat;
}

.sub-nav ul a#navaktuell {
    text-decoration: none;
    color: #fff;
    background-color: #013B7B;
}

/* 2. Ebene */
.sub-nav ul ul {
    float: left;
    position: absolute;
    padding: 0 0 6px 5px;
    margin: 0; /*muss auf 0 sein, da sonst Unternavi nicht immer anwaehlbar*/
    left: 0;
    top: 20px;
    display: none; /*Unternavigation ausblenden */
    width: auto;
    min-width: 200px;
    z-index: 999;
    border: 0px #fff solid;
    background: #000;
    height: auto;
}

/* Unternavigation  einblenden */
.sub-nav ul li:hover ul {
    display: block;
    left: auto;
}

.sub-nav ul li ul li {
    float: left;
    position: relative; /*wichtig f�r IE 6, sonst Unternavi immer ganz links*/
    width: auto;
    margin: 0;
    padding: 0;
    height: auto;
}

.sub-nav ul li ul a, .sub-nav ul li ul a:link, .sub-nav ul li ul a:visited {
    width: auto;
    text-decoration: none;
    color: #b4b2b2;
    font-weight: normal;
    padding: 3px 5px 3px 5px;
    height: auto;
    cursor: pointer;
    z-index: 1000;
}

/* IE 6 */
.sub-nav ul li ul a:hover {
    color: #fff;
}

.sub-nav ul li ul a:hover span {
    text-decoration: none;
    color: #fff;
    background: transparent;
}

.sub-nav ul ul a#navaktuell {
    text-decoration: none;
    color: #fff;
    padding: 3px 5px 3px 5px;
}

.sub-nav ul ul a.navaktuell span {
    text-decoration: none;
    color: #fff;
}

/*Grafiken und Blindtext*/
.sub-nav h3.select span {
    display: none;
}

.sub-nav h3.navipunkte1 span {
    display: none;
}

/* Home Slider */

.nuvoSlider {
    position: absolute;
}

.nivoSlider {
    position: static;
    cursor: pointer;
}

#specialGallery{
    background: transparent;
    height:430px;
    width:1240px;
    padding:0;
    margin: 0;
    position:relative;
    top:0;
    z-index:99;
    max-width: 100%;
}

.nivo-caption {
    position:absolute;
    left:60%;
    top:60%;
    width: 40%;
    height: 14%;
    background: rgba(255,255,255,0.8);
    color: #013B7B;
    font-weight: bold;
    font-size: 2.3em;
    text-align: right;
    padding: 0.45em 0 0 0.45em;
    border-bottom: 2px solid #f07e01;
    overflow: visible;
    white-space: nowrap;
}
.nivo-caption p, .nivo-caption a {
    padding:0;
    margin:0;
    opacity: 1;
    background-color: transparent;
}
.nivo-caption a:hover {
    color: #013B7B;
}
.nivo-main-image {
    cursor: pointer;
}

#nuvoSlider img {
    position:absolute;
    padding: 0;
    margin: 0;
    display:none;
}

#nuvoSlider a {
    border:0;
    display:block;
}

.nivo-controlNav {
    position: absolute;
    bottom: 30px;
    width: 100%;
    z-index: 99;
    text-align: center;
    padding: 0;
}
.nivo-controlNav a {
    width:40px;
    height:40px;
    background:url(bullets.png) no-repeat;
    background-position:0 -40px;
    text-indent:-9999px;
    border:0;
    margin-right:0px;
    display: inline-block;
    margin: 0 5px;
}
.nivo-controlNav a.active {
    background-position:0 0;
}

@media screen and (max-width: 1240px) {
    .nivo-caption {
        left:50%;
        width: 50%;
    }
}

@media screen and (max-width: 767px) {
    .top-nav ul {
        display:none;
    }

    .slicknav_menu {
        display:block;
    }

    .footer-container {
        background-color: #404040;
    }

    body {
        font-size: 15px;
        line-height: 18px;
        word-spacing: 0;
    }

    .header-container {
        padding-top: 52px;
    }
}



@media screen and (min-width: 768px) {
    /*Navigation*/
    .top-nav {
        margin: 0;
    }

    .top-nav ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
        position: absolute;
        right:0;
        top:78px;
    }

    .top-nav li {
        float: left;
        position: relative;
        padding: 0 0 0 25px;
        margin: 0px;
        margin-right: 0;
        display: block;
        font-size: 1.6em;
    }

    .top-nav a, .top-nav a:link, .top-nav a:visited {
        padding: 0px 5px 0px 5px;
        color: #706f6f;
        text-decoration: none;
    }

    .top-nav a:hover, .top-nav ul .top-nav ul a:hover span {
        text-decoration: none;
        color: #fff;
        background-color: #013B7B;
    }

    .top-nav ul a#navaktuell {
        text-decoration: none;
        color: #fff;
        background-color: #013B7B;
    }

    .topExtraNav {
        font-size: 1.15em;
    }

    .topExtraNav a {
        padding: 2px 4px;
    }

    .topExtraNav a.navaktuell {
        color: #fff;
        background-color: #013B7B;
    }

    /* 2. Ebene */
    .top-nav ul ul {
        float: left;
        position: absolute;
        padding: 0 0 6px 5px;
        margin: 0; /*muss auf 0 sein, da sonst Unternavi nicht immer anwaehlbar*/
        left: 0;
        top: 20px;
        display: none; /*Unternavigation ausblenden */
        width: auto;
        min-width: 200px;
        z-index: 999;
        border: 0px #fff solid;
        background: #000;
        height: auto;
    }

    /* Unternavigation  einblenden */
    .top-nav ul li:hover ul {
        display: block;
        left: auto;
    }

    .top-nav ul li ul li {
        float: left;
        position: relative; /*wichtig f�r IE 6, sonst Unternavi immer ganz links*/
        width: auto;
        margin: 0;
        padding: 0;
        height: auto;
    }

    .top-nav ul li ul a, .top-nav ul li ul a:link, .top-nav ul li ul a:visited {
        width: auto;
        text-decoration: none;
        color: #404040;
        font-weight: normal;
        padding: 3px 5px 3px 5px;
        height: auto;
        cursor: pointer;
        z-index: 1000;
    }

    /* IE 6 */
    .top-nav ul li ul a:hover {
        color: #fff;
    }

    .top-nav ul li ul a:hover span {
        text-decoration: none;
        color: #fff;
        background: transparent;
    }

    .top-nav ul ul a#navaktuell {
        text-decoration: none;
        color: #fff;
        padding: 3px 5px 3px 5px;
    }

    .top-nav ul ul a.navaktuell span {
        text-decoration: none;
        color: #fff;
    }

    /*Grafiken und Blindtext*/
    .top-nav h3.select span {
        display: none;
    }

    .top-nav h3.navipunkte1 span {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .sub-nav #text_2 {
        height:40px;
    }

    .top-nav li {
        font-size: 1.15em;
        padding-left: 4px;
    }

    .sub-nav li {
        font-size: 1.15em;
        padding: 4px 8px 4px 0;
    }

    .sub-nav a, .sub-nav a:link, .sub-nav a:visited {
        padding: 3px 6px 4px 18px;
        /*background: #fff url("") left 5px no-repeat;*/
        background-size: 16px;
    }

    .sub-nav a:hover, .sub-nav ul .sub-nav ul a:hover span {
        /*background: #f07e01 url("") left 5px no-repeat;*/
    }

    .main h1 {
        font-size: 1.45em;
    }

    #top-logo {
        width:200px;
        max-width: 100%;
        padding-top:5px;
    }

    .header .logo, .header .logo:visited {
        left: 0px;
    }

    #text {
        padding: 10px 20px;
    }
    
    #specialGallery{
        font-size: 70%;
        height: auto;
        min-height: 1px;
    }

    .nivo-caption {
        width: 65%;
        left: 35%;
        height: 1.7em;
        top:45%;
        white-space: nowrap;
        overflow: visible;
    }

    .main div.single {
        width: 100%;
    }
    .main span.image {
        text-align: left;
    }
    .main img.single {
        max-width: 100%;
        height: auto;
    }
    .main img.floating {
        max-width: 100%;
        height: auto;
        float: none;
    }

    span.right, span.left {
        max-width: 40%;
    }

}

/* Styles for mobile devices (example: iphone, landscape mode) */
@media only screen and (min-width: 480px) and (max-width: 767px) {

    div.columns div.col_4 { /* wird einspaltig */
        float: none;
        margin-left:0;
        margin-right:0;
        border-left: 0;
        border-right: 0;
        width: 100%;
    }

    #top-logo {
        width:150px;
        max-width: 100%;
        padding-top:5px;
    }

    .sub-nav #text_2 {
        height:initial;
    }
    .sub-nav ul {
        position: inherit;
    }
    .sub-nav li {
        float: none;
    }

    table span.right, table span.left {
        max-width: inherit;
    }

}

/* Styles for mobile devices (example: iphone, portrait mode ) */
@media only screen and (max-width: 569px) {

    #top-logo {
        width:150px;
        max-width: 100%;
        padding-top:5px;
        padding-left:5px;
    }

    .sub-nav #text_2 {
        height:initial;
    }
    .sub-nav ul {
        position: inherit;
    }
    .sub-nav li {
        float: none;
    }

    table span.image img {
        max-width: 100px;
        height: auto;
    }

    table td, table th {
        font-size: 0.9em;
        line-height: 1.2em;
        word-spacing: 0;
    }

    .social_block { display: none; }

    .columns div.col_4,
    .columns div.col_3,
    .columns div.col_2_3,
    .wraper_typ .columns .col_4,
    .wraper_typ .columns .col_3,
    .wraper_typ .columns .col_2_3 { /* wird einspaltig */
        float: none;
        margin-left:0;
        margin-right:0;
        border-left: 0;
        border-right: 0;
        width: 98%;
        padding:0 1%;
    }

    .wraper_typ .columns {
        width:100%;
    }

    #specialGallery{
        padding: 0;
    }

    .nivo-controlNav {
        display: none;
    }

    .nivo-caption {
        font-size: 1.2em;
        padding: 2px;
        width:75%;
        left:25%;
    }

}

/* Styles for mobile devices (example: iphone, landscape mode) */
@media only screen and (max-width: 360px) {
    
    .nivo-caption {
        font-size: 1.4em;
        padding: 3px;
    }

    .main table td, .main table th {
        display: block;
        border: none;
    }

    table {
        border: none;
    }


}

.cat-0.isParent img.editHeader { display: none; }

.blau { color:#013B7B; }
.orange { color:#f07e01; }
.hellgrau { color: #eaeaea;}
.dunkelgrau { color: #404040; }


