/*
    Author:   Martin Stettler (http://dieweberei.ch/)
    Version:  28012015
*/

/* ==========================================================================================================
   BASE STYLES
   ========================================================================================================== */
body {
    position: relative; /* for correct nav highlight */
    overflow-x: hidden;
    font-family: 'Source Sans Pro',Arial,sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #000;
}

li {
    list-style-type: none;
}

p {
    line-height: 1.5;
    padding-bottom: 18px;
    margin-bottom: 0;
}

p:last-child {
    padding-bottom: 0;
}

p strong {
    font-family: 'Source Sans Pro',Arial,sans-serif;
    font-weight: 400;
    color: #000;
}

a {
    color: #000000;
    text-decoration: underline;
    outline: 0;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #000;
    text-decoration: none;
    outline: 0;
}

a.dark {
    color: #000000;
    text-decoration: none;
}

a.dark:hover {
    color: #000;
    text-decoration: none;
}

a,
a:hover {
  -webkit-transition: color 0.5s;
  -moz-transition: color 0.5s;
  transition: color 0.5s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Source Sans Pro',Arial,sans-serif;
    font-weight: 300;
    line-height: 1.3;
    padding: 0;
    margin: 0;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

img {
    max-width: 100%;
    height: auto; }

.img-centered {
    margin: 0 auto;
}

.bg-light {
    background-color: #FFF;
}

.bg-c-1 {
    background-color: #BBB9A5;
}

.bg-c-2 {
    background-color: #CD3A86;
}

.bg-c-3 {
    background-color: #82A0AC;
}

/* old browsers */
.browsehappy {
  margin: 0.2em 0;
  background: #cc0033;
  color: #FFF;
  padding: 0.5em;
  margin-top: 145px;
}

.browsehappy a {
  color: #FFF;
  text-decoration: underline;
}

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

/* ==========================================================================================================
   CUSTOM GLOBAL STYLES
   ========================================================================================================== */

h1.section-heading,
h2.section-heading {
    text-transform: uppercase;
    font-size: 35px;
    font-weight: 300;
    color: #000;
    padding-top: 25px;
    padding-bottom: 15px;
}

@media (min-width:481px) {
    h1.section-heading,
    h2.section-heading {
        font-size: 45px;
        padding-bottom: 25px;
    }
}

h3 {
    color: #000;
    font-weight: 400;
    font-size: 18px;
}

h4 {
    font-weight: 400;
    font-size: 18px;
    color: #000000;
}

h5 {
    font-weight: 400;
    font-size: 15px;
    color: #000000;
}

/* not_found */
body.error-page {
    background-color: #CD3A86;
}

h6 {
    font-family: 'Source Sans Pro',Arial,sans-serif;
    font-weight: 300;
    font-size: 80px;
}

@media (max-width: 600px) {

    section.not-found {
        padding-top: 20px;
    }

    h6 {
        font-size: 50px;
    }
}

/* ==========================================================================================================
   LOGO STYLES
   ========================================================================================================== */

.logo {
    position: absolute;
    background: #FFF;
    top: 0;
    left: 50%;
    margin-left: -128px;
    width: 256px;
    padding: 20px;
}

@media (max-width: 767px) {

    .logo {
        width: 200px;
        margin-left: -100px;
        padding: 20px;
    }
}

/* ==========================================================================================================
   HEADER STYLES
   ========================================================================================================== */

header {
    position: relative;
    padding-top: 5px;
}

.arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  margin-left: -18px;
  width: 36px;
  color: #FFF;
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  opacity: 0.65;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

.arrow:hover {
  color: #FFF;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}

@media (max-width: 479px) {
    .arrow {
        display: none;
    }
}

/* ==========================================================================================================
   NAVIGATION STYLES
   ========================================================================================================== */

#navbar-all.affix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index:10;
}

.navbar-default {
    top: 0;
    margin-bottom: 0;
    background-color: #FFF; /* Full nav bg */
    min-height: 40px;
    border: 0;
    border-radius: 0;
}

.navbar-default .navbar-brand {
    font-family: 'Source Sans Pro',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: #FFF;
}

.navbar-toggle {
    background-color: #FFF;
    margin-top: 10px;
    margin-right: 15px;
    margin-bottom: 0px;
    border: 0;
    border-radius: 0;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #000;
}

.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #000000;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #FFF;
    border-color: #000000;
}

.navbar-default .nav li a {
    font-family: 'Source Sans Pro',Arial,sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    color: #000;
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-decoration: none;
    text-align: center;
    background: transparent;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus {
    outline: 0;
    color: #46A3DB;
}

.navbar-default .navbar-nav > .active > a {
    border-radius: 0;
    color: #000;
    background-color: transparent !important;
}

.navbar-default.navbar-shrink .navbar-nav > .active > a:hover, /* for correct nav color after scrolling */
.navbar-default.navbar-shrink .navbar-nav > .active > a:focus {
    color: #000;
    background-color: transparent;
}

@media (min-width:768px) {

    .navbar-nav {    /* centered nav */
        float: none;
        margin: 0 auto;
        display: table;
        table-layout: fixed;
        padding: 0 !important;
    }

    .navbar-default {
        padding: 0;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }

    .nav {
        padding: 0;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }

    .navbar-toggle {
        margin-right: 0;
    }

    .navbar-default .navbar-nav > .active > a {
        border-radius: 3px;
    }
}

/* Change navbar breakpoint */
@media (max-width: 767px) {
    
    .navbar-default {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        margin: 3px auto 0 auto;
        background-color: transparent !important;
    }

    .navbar-header {
        float: none;
        padding: 0;
        margin: 0;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        box-shadow: none;
        border: none;
        background-color: transparent !important;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin: 0 auto;
        width: 210px;
        background: #FFF;
    }

    .navbar-nav > li {
        float: none;
        background-color: transparent !important;
    }

    .navbar-nav > li > a {
        padding: 10px 10px 10px 0;
        padding-bottom: 10px;
        background-color: transparent !important;
    }
}

/* ==========================================================================================================
   SECTION & ROW STYLES
   ========================================================================================================== */
.col-sm-8,
.not-found {
    text-align: center;
}

section {
    padding: 20px 0 40px 0;
}

section.bg-light {
    padding: 0;
}

header .full-image {
    padding-top: 40px;
} 

@media (min-width: 768px) {
  
    section {
        padding: 80px 0;
    }

  .full-image {
        padding: 40px;
    }  
}


ul.list-default {
    margin-bottom: 20px;
    padding: 0 0 0 1em;
    list-style: none;
}

ul.list-default li:before {
    content: ">";
    display: block;
    height: 0;
    width: 0;
    left: 0;
    top: 0;
    position: relative;
    color: #000000;
    margin: 0 auto;
    margin-left: 0;
}

/* Portfolio preview */

.portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

.portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    /* max-width: 400px; */
}

.portfolio-item .portfolio-link .portfolio-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: #909674;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

.portfolio-item .portfolio-link .portfolio-hover:hover {
    opacity: 1;
}

.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    position: absolute;
    top: 33%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 15px;
    color: #fff;
}

.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px;
}

.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.portfolio-item .portfolio-caption {
    margin: 0 auto;
    padding: 25px;
    max-width: 400px;
    text-align: center;
    background-color: #fff;
}

.portfolio-item .portfolio-caption h4 {
    margin: 0;
    text-transform: none;
}

.portfolio-item .portfolio-caption p {
    margin: 0;
    font-family: Arial,sans-serif;
    font-size: 16px;
    font-style: italic;
}

@media(min-width:767px) {

    .portfolio-item {
        margin: 0 0 30px;
    }
}

/* ==========================================================================================================
   FOOTER STYLES
   ========================================================================================================== */

footer {
    padding: 20px 0 40px 0;
    background-color: #FFFFFF !important;
}

@media (min-width: 768px) {
    footer {
        padding: 80px 0 50px 0;
    }
}

footer .imprint {
    padding-top: 25px;
    font-size: 14px;
}

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

footer a:hover,
footer a:focus {
    color: #82A0AC;
}

/* ==========================================================================================================
   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: #82A0AC; /* custom */
    color: #000000; /* custom */
}

.portfolio-modal .modal-content h2 {
    margin: 0;
    margin-bottom: 1px;
    font-size: 35px;
    text-transform: none;
    font-family: 'Source Sans Pro',Arial,sans-serif;
}

.portfolio-modal .modal-content p {
    margin-bottom: 10px;
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 10px;
    font-family: 'Source Sans Pro',Arial,sans-serif;
    font-size: 14px;
    padding-bottom: 10px;
}

.portfolio-modal .modal-content ul.list-default {
    margin-top: 0;
    margin-bottom: 30px;
}

.portfolio-modal .modal-content ul.list-default li p { /* is NEW and important! */
    margin-bottom: 0;
}

.portfolio-modal .modal-content img {
    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: #000000;
    -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: #000000;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.modal-styles h4,
.modal-styles ul.list-default li:before {
    color: #FFF;
}

.modal-styles a {
    color: #FFF;
    text-decoration: none;
}

.modal-styles a:hover,
.modal-styles a:active {
    color: #5f5f5f;
    text-decoration: none;
}

/* ==========================================================================================================
   SELECTION
   ========================================================================================================== */

::-moz-selection {
    text-shadow: none;
    background: #82A0AC;
    color: #FFF;
}

::selection {
    text-shadow: none;
    background: #82A0AC;
    color: #FFF;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #82A0AC;
}