/*!
 * Start Bootstrap - Agency Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */
/* ==========================================================================================================
   BASE STYLES
   ========================================================================================================== */
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,700italic);

body {
    overflow-x: hidden;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.5;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

h1 {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 40px;
    color: #70044D;
    line-height: 1.2 !important;
    margin: 30px 0 50px 0;
    padding: 0;
}

@media all and (min-width: 481px) {
    h1 {
        font-size: 54px;
    }
}

h1 em {
    font-size: 15px !important;
    color: #FFF;
}

@media (max-width: 991px) {
    h1 em {
        display: block;
    }
}

h2 {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 32px;
    color: #70044D;
    margin: 0;
    padding: 0;
}

h3 {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #70044D;
    margin: 0;
    padding: 0;
}

h4 {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 21px;
    color: #FFF;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
}

p {
    line-height: 1.5;
}

em {
    font-weight: 400;
}

@media (max-width: 768px) {
    p:last-child {
        padding-bottom: 30px;
    }
}

i {
    font-weight: 700;
    font-style: normal;
}

p + ul {
    margin-top: -10px;
}
ul.list-default {
    padding-left: 15px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #70044D;
    text-decoration: none;
}

a,
a:hover {
    -webkit-transition: color 0.5s;
    -moz-transition: color 0.5s;
    transition: color 0.5s;
}

.img-centered {
    margin: 0 auto;
}

.bg-light-green {
    background-color: #dfe4cc;
}

.bg-dark-green {
    background-color: #b3c495;
}

.bg-light-brown {
    background-color: #ece8df;
}

.bg-white {
    background-color: #FFF;
}

::-moz-selection {
    text-shadow: none;
    background: #999;
}

::selection {
    text-shadow: none;
    background: #999;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #cfc8b9;
}

.browsehappy {
    margin: 0.2em 0;
    background: #cc0033;
    color: #FFF;
    padding: 0.5em;
}

.browsehappy a {
    color: #FFF;
    text-decoration: underline;
}

.browsehappy a:hover {
    text-decoration: none;
}

/* ==========================================================================================================
   CUSTOM GLOBAL STYLES
   ========================================================================================================== */

/* CI-Colors
- light brown: #ece8df;
- dark brown: #cfc8b9;
- lightgreen: #dfe4cc;
- dark green: #b3c495;
- red: #70044D;
- orange: #db6823;
*/


/* ==========================================================================================================
   NAVIGATION STYLES
   ========================================================================================================== */
.navbar-default {
    background-color: #ece8df;
    opacity: 0.9;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    /* IE 8 hack */
}

.navbar-default .navbar-brand {
    font-family: 'Lato', Arial, sans-serif;
    color: #000;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:active,
.navbar-default .navbar-brand.active {
    color: #999;
}

.navbar-default .navbar-collapse {
    border-color: rgba(255, 255, 255, .02);
}

.navbar-default .navbar-toggle {
    border-color: #70044D;
    background-color: #70044D;
    margin-top: 15px;
    /* custom */
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #db6823;
    border-color: #db6823;
}

.navbar-default .nav {
    padding-left: 7.216494845361%;
    -webkit-transition: padding .3s;
    -moz-transition: padding .3s;
    transition: padding .3s;
}

.navbar-default .nav li a {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    color: #000;
    font-size: 18px;
    /* custom */
    text-decoration: none;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus {
    outline: 0;
    color: #70044D;
}

.navbar-default .navbar-nav>.active>a {
    border-radius: 0;
    color: #70044D;
    background-color: transparent;
}

.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #70044D;
    background-color: transparent;
}

/* Logo */
.navbar-header a span {
    display: block;
    text-indent: -9999px;
    width: 220px;
    height: 70px;
    background-image: url(../img/logo-hebamme-berner-oberland.svg);
    background-size: 220px 70px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

@media (min-width: 992px) {
    .navbar-header a span {
        width: 370px;
        height: 108px;
        background-size: 370px 108px;
    }
}

@media(min-width:769px) {

    /* nav padding */
    .navbar-default .nav {
        padding-top: 45px;
        padding-right: 7.446808510638%;
        /* 70/940 */
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }

    .navbar-default {
        padding: 13px 0;
        border: 0;
        background-color: #ece8df;
        opacity: 0.95;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=95)";
        /* IE 8 hack */
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }

    /* logo padding */
    .navbar-default .navbar-header {
        padding-left: 7.446808510638%;
        /* 70/940 */
    }

    .navbar-default .navbar-brand {
        font-size: 2em;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .navbar-default .navbar-nav>.active>a {
        border-radius: 3px;
    }

    .navbar-default.navbar-shrink {
        padding: 10px 0;
        background-color: #ece8df;
        opacity: 0.95;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=95)";
        /* IE 8 hack */
        -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.15);
        box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.15);
    }

    .navbar-default.navbar-shrink .navbar-brand span {
        width: 200px;
        height: 58px;
        background-size: 200px 58px;
    }

    .navbar-default.navbar-shrink .nav {
        padding-top: 20px;
    }

    .navbar-default .nav li a {
        font-size: 14px;
        /* custom */
    }
}

/* ==========================================================================================================
   HEADER STYLES
   ========================================================================================================== */

header {
    padding-top: 100px;
    /* custom */
}

@media(min-width:769px) {

    header {
        padding-top: 121px;
        /* img below 105px, custom */
    }
}

@media(min-width:992px) {

    header {
        padding-top: 161px;
        /* img below 105px, custom */
    }
}

/* ==========================================================================================================
   SECTION & ROW STYLES
   ========================================================================================================== */

section {
    margin: 0 auto;
    max-width: 1170px;
    padding: 0;
}

header .row div {
    padding-bottom: 0;
}

@media all and (min-width:769px) {

    .row div {
        margin: 0;
        padding: 0 0 30px 0;
    }

    .side-space-left {
        padding: 0 0.531914893617% 0 7.446808510638% !important;
        /* 70/940 // 5/940 */
    }

    .side-space-right {
        padding: 0 7.446808510638% 0 0.531914893617% !important;
        /* 70/940 */
    }

    .side-space-large {
        padding: 0 7.446808510638% !important;
        /* 70/940 */
    }
}

.border-huge {
    border-top: 30px solid #FFF;
}

.double-border-huge {
    border-top: 30px solid #FFF;
    border-bottom: 30px solid #FFF;
}

.light-green {
    border-color: #dfe4cc;
}

.dark-green {
    border-color: #b3c495;
}

.light-brown {
    border-color: #ece8df;
}

.dark-brown {
    border-color: #cfc8b9;
}

.about-portrait {
    margin-bottom: 20px;
}

@media all and (max-width:768px) {
    .south-space {
        padding-bottom: 30px;
    }

    .full-width {
        padding: 0;
    }

    .flex-container {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .about-title {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column !important;
        flex-direction: column !important;
        -ms-flex-order: 0;
        order: 0;
        width: 100%;
    }

    .about-text {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column !important;
        flex-direction: column !important;
        -ms-flex-order: 2;
        order: 2;
    }

    .about-portrait {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column !important;
        flex-direction: column !important;
        -ms-flex-order: 1;
        order: 1;
    }
}


@media all and (min-width:992px) {
    .h1-padding {
        padding-left: 20%;
    }
}

strong {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 32px;
    color: #70044D;
}

/* ==========================================================================================================
   FOOTER STYLES
   ========================================================================================================== */

footer {
    padding-top: 25px;
    text-align: left;
}

footer,
footer a {
    color: #000;
}

a.red-link {
    color: #000;
    text-decoration: none;
}

a.red-link:hover,
a.red-link:focus,
a.red-link:active,
a.red-link.active {
    color: #70044D;
    text-decoration: none;
}

a.green-link {
    color: #b3c495;
    text-decoration: none;
}

a.green-link:hover,
a.green-link:focus,
a.green-link:active,
a.green-link.active {
    color: #000;
    text-decoration: none;
}

p.impressum {
    line-height: 3;
}

img.icon {
    width: 110px;
    height: auto;
}

/* ==========================================================================================================
   PORTFOLIO SHOWCASE STYLES
   ========================================================================================================== */

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    text-align: left;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: #FFF;
    /* custom */
    color: #000;
    /* custom */
}

.portfolio-modal .modal-content h2 {
    margin: 0;
    margin-bottom: 1px;
    font-size: 35px;
    text-transform: none;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 300;
}

.portfolio-modal .modal-content p {
    margin-bottom: 10px;
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 10px;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    padding-bottom: 10px;
}

.portfolio-modal .modal-content ul.list-inline {
    margin-top: 0;
    margin-bottom: 30px;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}

.portfolio-modal .close-modal:hover {
    opacity: .3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #70044D;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #70044D;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}