/**
 * Author: Cheon-Hwang Sanviriya
 **/


/**
 * colors:
 * primary: rgba(47,70,146, 1.0)
 * secondary: rgba(255,237,176, 1.0)
 * monochromatic -2: rgba(72,107,222, 1.0)
 * monochromatic -1: rgba(102,117,164, 1.0)
 * monochromatic +1: rgba(138,158,222, 1.0)
 * monochromatic +2: rgba(31,46,95, 1.0)
 *
 * box-shadow:
 * 0 1px 6px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.24);
 * 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
 **/

/**
 * common
 **/
body {
    font-family: 'Open Sans', sans-serif;
}

.h1,.h2,.h3 {
    font-family: 'Actor', sans-serif;
}

.featurette-divider {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
}


@media (min-width: 1200px) {
    .container {
        width: 1170px; /* ToDo Breite Inhalt im Desktop */
    }
}


/**
 * boostrap/navbar
 **/

.masthead {
    color: rgba(255, 255, 255, 1.0);
    background: rgba(47, 70, 146, 1.0);
    box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
    position: relative;
    z-index: 1;
}

.navbar {
    background: #485ea6;
    min-height: 0;
}

.navbar-collapse {
    box-shadow: none;
    -webkit-box-shadow: none;
}

@media (max-width: 767px) {
    /* xs */
    .navbar-collapse > .container {
        margin-left: -15px;
        margin-right: -15px;
        padding: 0;
    }
}

.nav-justified > li {
    vertical-align: middle;
}

.nav > li > a {
    position: static;
    color: rgba(255, 255, 255, 1.0);
    padding: 10px 15px; /* ToDO Mehr Abstand vertikal in der Navigation */
}


.nav > li > a:hover,
.nav > li > a:focus {
    color: rgba(255, 255, 255, 1.0);
    background: transparent;
}

@media (min-width: 768px) {
    .nav > li.active > a {
        color: rgba(255, 255, 255, 1.0);
        background: transparent;
    }
}

@media (max-width: 768px) {
    .nav > li.active > a {
       background-color: rgba(102,117,164, 1.0);
       /*background-color: rgba(138,158,222, 1.0);*/
    }
}


@media (min-width: 768px) {
    .nav > li > a:hover:after,
    .nav > li > a:focus:after,
    .nav > li.active > a:after {
        content: " ";
        background: rgba(255, 255, 255, 1.0);
        display: block;
        bottom: -1px;
        left: -1px;
        height: 3px;
        position: absolute;
        width: 100%;
    }
}

.m-content {
    margin-bottom: 3rem;
}

/**
 * m-page-footer
 **/


.m-page-footer {
    margin-top: 4rem;
}

/**
 * m-logo
 **/

.m-logo {
    color: rgba(255, 255, 255, 1.0);
    margin: 2rem 0 2.25rem 0; /* ToDo Mehr Abstand vertikal im HEader durch Logo Wert: OBEN RECHTS UNTEN LINKS */
    display: block;
    position: relative;
}

.m-logo__image {
    height: 6.25rem;
}

.m-logo__word {
    font-family: "Garamond Pro";
    font-size: 3.5rem;
    position: absolute;
    top: 0.5rem;
    left: 8rem;
}

.m-logo__claim {
    position: absolute;
    top: 4.5rem;
    left: 8rem;
}

.m-logo:hover,
.m-logo:focus {
    color: rgba(255, 255, 255, 1.0);
    text-decoration: none;
}

@media (max-width: 767px) { /* xs */
    .m-logo__word {
        font-size: 2.5rem;
    }
}

/**
 * featurette-image
 **/

@media (max-width: 768px) {
    .featurette-image {
        margin-bottom: 20px;
    }
}

/**
 * m-list
 **/

.m-list-bullets {
    margin-bottom: 1.5rem;
}

.m-list-bullets > li {
    margin-bottom: 6px; /* ToDo Abstand Listenpunkte */
}


@media (max-width: 768px) {
    .m-list-bullets {
        margin-bottom: 20px;
    }
}

/**
 * m-map
 **/

.m-map {
    margin-bottom: 1rem;
}

/**
 * m-contact
 **/

.m-contact {
    margin: 1.5rem 0 1.5rem;
    font-size: 0.9em;
    line-height: 2rem;
}

.m-contact a {
    color: rgba(255, 255, 255, 1.0);
    text-decoration: underline;
}

.m-contact .m-contact-anfahrt {
    text-decoration: none;
}

@media (max-width: 767px) { /* xs */
    .m-contact {
       margin-top: 4rem;
       text-align: center;
    }
}

/**
 * m-stage
 */


.m-stage {
    position: relative;
    margin-top: -20px;
    margin-bottom: 1.5rem;
}

.m-stage-item {
    width: 100%;
}

.m-stage-item a {
    display: block;
    padding: 2px;
    width: 160px;
    border-radius: 3px;
    position: absolute;
    bottom: 30px;
    background: #485ea6;
    color: #fff;
    left: 0;
    text-align: center;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.m-stage-item a:hover {
    text-decoration: none;
}

.m-stage:after,
.m-stage:before {
    content: " ";
    display: table;
    width:0;
    height: 0;
    clear: both;
}

.m-stage .rslides {
    position: relative;
    z-index: 0;
}

.m-stage .rslides_nav.prev,
.m-stage .rslides_nav.next {
    position: absolute;
    top: 50%;
    margin-top: -16px;
    background: rgba(255,255,255,0.4);
    z-index: 1;
    border-radius: 16px;
}

.m-stage .rslides_nav.prev {
    left: 10px;
    padding: 7px 7px 7px 13px;
}

.m-stage .rslides_nav.next {
    right: 10px;
    padding: 7px 13px 7px 7px;
}

.m-stage .rslides_nav.next i,
.m-stage .rslides_nav.prev i {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
}

.m-stage .rslides_nav.next i {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.m-stage .rslides_nav.prev i {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}



/**
 * api-google-maps
 **/

.api-google-maps {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}
.api-google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.m-maps .opt-in {

}
