/*
* grimm
* Created by : armedia
* website : www.armedia.de
*/


==================================================*/

@import url(poppins.css);

/* General
==================================================*/

html,
body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: #999;
    background: url(img/hhg.png) no-repeat;
    background-size: cover;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.no-padding [class^="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.main-container {
    padding: 100px 0;
}

.center {
    text-align: center;
}

a {
    -webkit-transition: all .3s;
    transition: all .3s
}

.box-logo i {
    -webkit-transition: all .3s;
    transition: all .3s
}

.uppercase {
    text-transform: uppercase;
}

.h-30 {
    height: 30px
}

.h-10 {
    height: 10px
}

.color {
    color: #007e6a;
    font-size: 11px;
}

a, a:hover, a:active, a:focus {text-decoration:none;}


/* typography
==================================================*/

h1 {
    color: #393939;
    font-size: 40px;
    text-transform: uppercase;
}
h1.front {
    font-size: 36px;
    line-height:1em;
}
h1.front span {
    font-size: 20px;
    line-height:1.2em;
    color: #007e6a;
    text-transform: none;
}

h3 {
    color: #393939;
}

h2, h4, h5 {
    color: #007e6a;
}

h2.big, h3.big {
    color: #393939;
    font-size: 40px;
    text-transform: uppercase;
}


#datenschutz ul ul{
    margin:0;
	margin-bottom: 24px;
}
#datenschutz ul ul li{
    list-style:circle;
	padding: 5px;
    margin-left:15px;
    line-height:1.8em;
}


/* preloader
==================================================*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f5f5f5;
    /* change if the mask should be a color other than white */
    z-index: 1000;
    /* makes sure it stays on top */
}

.pre-container {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 100px auto;
}

.double-bounce1,
.double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #007e6a;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: bounce 2.0s infinite ease-in-out;
    animation: bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes bounce {
    0%,
    100% {
        -webkit-transform: scale(0.0)
    }
    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }
    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}


/* headr
==================================================*/

.box-header {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    height: 50px;
    width: 100%;
    z-index: 3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
}

.box-header {
    height: 80px;
    background: transparent;
    box-shadow: none;
}

.box-header {
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.box-header.is-fixed {
    position: fixed;
    top: -80px;
    background-color: rgba(255, 255, 255, 0.96);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
}

.box-header.is-visible {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    border-bottom:0px solid #999;
}

.box-header.menu-is-open {
    background-color: rgba(255, 255, 255, 0.96);
}

.box-logo {
    display: block;
    padding: 20px 0;
}
.box-logo img:hover {
    background:rgb(0,160,116);
}
.box-logo a,.box-logo a:hover {
    text-decoration:none;
}
.box-logo a {
    padding:0 5px;
}

.box-logo a i {
    color:#000;
    font-size:40px;
}
.box-logo a:hover i {
    background-color: rgb(0,126, 116);
    color: #fff;
}

.box-primary-nav-trigger {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background-color: #fff;
    
}

.box-primary-nav-trigger .box-menu-text {
    color: #393939;
    text-transform: uppercase;
    font-weight: 700;
    display: none;
}

.box-primary-nav-trigger .box-menu-icon {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 18px;
    height: 2px;
    background-color: #393939;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    list-style: none;
}

.box-primary-nav-trigger .box-menu-icon::before,
.box-primary-nav-trigger .box-menu-icon:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #393939;
    right: 0;
    -webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
    -webkit-transition: top .3s, background-color 0s, -webkit-transform .3s;
    transition: top .3s, background-color 0s, -webkit-transform .3s;
    transition: transform .3s, top .3s, background-color 0s;
    transition: transform .3s, top .3s, background-color 0s, -webkit-transform .3s;
}

.box-primary-nav-trigger .box-menu-icon::before {
    top: -5px;
}

.box-primary-nav-trigger .box-menu-icon::after {
    top: 5px;
}

.box-primary-nav-trigger .box-menu-icon.is-clicked {
    background-color: rgba(255, 255, 255, 0);
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::before,
.box-primary-nav-trigger .box-menu-icon.is-clicked::after {
    background-color: 393939;
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::before {
    top: 0;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::after {
    top: 0;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}

.box-primary-nav-trigger {
    width: 100px;
    padding-left: 1em;
    background-color: transparent;
    height: 30px;
    line-height: 30px;
    right: 10px;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.box-primary-nav-trigger .box-menu-text {
    display: inline-block;
}

.box-primary-nav-trigger .box-menu-icon {
    left: auto;
    right: 1em;
    -webkit-transform: translateX(0) translateY(-50%);
    transform: translateX(0) translateY(-50%);
}

.box-primary-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 126, 116, 0.96);
    z-index: 2;
    text-align: left;
    padding: 50px 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    list-style: none;
}

.box-primary-nav h1,.box-primary-nav p {
    color:#fff;
    margin-left:24px;
}
.box-primary-nav h1 {
    font-size:20px;
}

.box-primary-nav ul {
    list-style:none;
    padding:0;
    margin:0 0 24px 24px;
}

.box-primary-nav li {
    font-size: 32px;
    font-size: 2rem;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: .2em 0;
    text-transform: capitalize;
    border-bottom:1px solid #fff;
}

.box-primary-nav a {
    font-size: 26px;
    display: inline-block;
    padding: .4em 0em;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.box-primary-nav a:focus {
    outline: none;
}

.no-touch .box-primary-nav a:hover {
    text-decoration: none;
    color: #ddd;
}

.box-primary-nav .box-label {
    color: #007e6a;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 30px;
    margin: 2.4em 0 .8em;
}

.box-primary-nav .box-social {
    display: inline-block;
    margin: 10px .4em;
}

.box-primary-nav .box-social a {
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 30px
}

.box-primary-nav.is-visible {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.box-primary-nav {
    padding: 150px 0 0;
}

.box-primary-nav li {
    font-size: 18px;
}

header.box-header {width:100%;}
header.box-header .innen{
    position:relative;
    margin:0 auto;
    padding: 0 12px;
}


/* box-intro
==================================================*/

.box-intro {
    text-align: center;
    display: table;
    height: 50vh;
    width: 100%;
}

.box-intro .table-cell {
    display: table-cell;
    vertical-align: middle;
}

.box-intro em {
    font-style: normal;
    text-transform: uppercase
}

b i:first-child {
    color: #007e6a !important;
}

.box-intro h5 {
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #999;
    line-height: 1.7
}


/* mouse effect */

.mouse {
    position: relative;
    width: 22px;
    height: 42px;
    top: 40px;
    left: 50%;
    margin-left: -12px;
    border-radius: 15px;
    border: 2px solid #888;
    -webkit-animation: intro 1s;
    animation: intro 1s;
}

.scroll {
    display: block;
    width: 3px;
    height: 3px;
    margin: 6px auto;
    border-radius: 4px;
    background: #888;
    -webkit-animation: finger 2s infinite;
    animation: finger 2s infinite;
}

@-webkit-keyframes intro {
    0% {
        opacity: 0;
        -webkit-transform: translateY(40px);
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes intro {
    0% {
        opacity: 0;
        -webkit-transform: translateY(40px);
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes finger {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
}

@keyframes finger {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
}


/* text rotate */

.box-headline {
    font-size: 70px;
    line-height: 1.0;
}

.box-words-wrapper {
    display: inline-block;
    position: relative;
}

.box-words-wrapper b {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 0;
}
.box-words-wrapper{
    width:100%;
    border:0px solid #ccc;
    text-align:center;
}
.box-words-wrapper b{
    width:100%;
    max-width:1024px;
}

.box-words-wrapper b.is-visible {
    position: relative;
}

.no-js .box-words-wrapper b {
    opacity: 0;
}

.no-js .box-words-wrapper b.is-visible {
    opacity: 1;
}

.box-headline.rotate-2 .box-words-wrapper {
    -webkit-perspective: 300px;
    perspective: 300px;
}

.box-headline.rotate-2 i,
.box-headline.rotate-2 em {
    display: inline-block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.box-headline.rotate-2 b {
    opacity: 0;
}

.box-headline.rotate-2 i {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(-20px) rotateX(90deg);
    transform: translateZ(-20px) rotateX(90deg);
    opacity: 0;
}

.is-visible .box-headline.rotate-2 i {
    opacity: 1;
}

.box-headline.rotate-2 i.in {
    -webkit-animation: box-rotate-2-in 0.4s forwards;
    animation: box-rotate-2-in 0.4s forwards;
}

.box-headline.rotate-2 i.out {
    -webkit-animation: box-rotate-2-out 0.4s forwards;
    animation: box-rotate-2-out 0.4s forwards;
}

.box-headline.rotate-2 em {
    -webkit-transform: translateZ(20px);
    transform: translateZ(20px);
}

.no-csstransitions .box-headline.rotate-2 i {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    opacity: 0;
}

.no-csstransitions .box-headline.rotate-2 i em {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.no-csstransitions .box-headline.rotate-2 .is-visible i {
    opacity: 1;
}

@-webkit-keyframes box-rotate-2-in {
    0% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(90deg);
    }
    60% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(-10deg);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0deg);
    }
}

@keyframes box-rotate-2-in {
    0% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(90deg);
        transform: translateZ(-20px) rotateX(90deg);
    }
    60% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(-10deg);
        transform: translateZ(-20px) rotateX(-10deg);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0deg);
        transform: translateZ(-20px) rotateX(0deg);
    }
}

@-webkit-keyframes box-rotate-2-out {
    0% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0);
    }
    60% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-100deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-90deg);
    }
}

@keyframes box-rotate-2-out {
    0% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0);
        transform: translateZ(-20px) rotateX(0);
    }
    60% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-100deg);
        transform: translateZ(-20px) rotateX(-100deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-90deg);
        transform: translateZ(-20px) rotateX(-90deg);
    }
}


/* first nav
==================================================*/


.first-nav ul {
    position: absolute;
    right:0;
    top:0;
    list-style: none;
    margin: 0;
    padding: 28px 0;
    display:inline-block;
}
.first-nav ul li {
    list-style: none;
    float:left;
    margin: 0;
    padding: 0 10px;
}


.first-nav ul li a {
    font-size: 14px;
    font-weight:bold;
    text-transform:uppercase;
    color:#666;
    display: block;
    margin: 0;
    padding: 0 5px;
    -webkit-transition: all .1s ease-in-out .1s;
    transition: all .1s ease-in-out .1s;
}

.first-nav ul li a:hover,
.first-nav ul li a:focus {
    text-decoration: none;
    color:#999;
}

.first-nav ul li a.active {
    color:#666;
    text-decoration: none;
    border-bottom:2px solid #999;
}



/* subnav
==================================================*/


.sub-nav ul {
    list-style: none;
    margin: 0;
}
.sub-nav ul li {
    list-style: none;
    margin: 0;
}

.sub-nav ul li a.topp {
    font-size: 20px;
    text-transform:uppercase;
}
.sub-nav ul li a.topp:hover {
    color:#999;
}

.sub-nav ul li a {
    display: block;
    color: #60606e;
    padding: 0;
    margin: 0;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.sub-nav ul li a:hover,
.sub-nav ul li a:focus {
    text-decoration: none;
}

.sub-nav ul li a.active {
    margin-left: 0;
    padding: 0px;
    color: #ccc;
    text-decoration: none;
}

.sub-nav-main .logo img {
    width:100px;
    padding:10px 0;
}




/* portfolio section 2
==================================================*/

.categories-grid2 {
    
}

.categories-grid2 nav {
    margin-bottom: 10px;
    padding-bottom: 10px;
    display: block;
    border-bottom: 0px solid #999;
}

.categories-grid2 .categories ul  {
    text-align: justify; 
}


.categories-grid2 .categories ul li {
    list-style: none;
    margin: 0;
    float:left;
    margin-right: 5px;
}
.categories-grid2 .categories ul li:last-child {
}

.categories-grid2 .categories ul li a {
    font-size:12px;
    display: block;
    color: #666;
    padding: 0px 5px;
    margin: 0;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
    border: 0px solid #999;
    background: rgb(240,240,240);
}

.categories-grid2 .categories ul li a:hover,
.categories-grid2 .categories ul li a:focus {
    text-decoration: none;
    color: #fff;
    background: rgb(0,126,116);
}

.categories-grid2 .categories ul li a.active {
    margin-left: 0;
    text-decoration: none;
    color: #fff;
    background: rgb(0,126,116);
}



/* portfolio section
==================================================*/
.portfolio_container div {
    border: 1px solid #999;
    margin-bottom:25px;
    margin-right:2%;
    width: 48%;
}
.portfolio_container div i.bg {
    height: 200px;
    width:100%;
    display:block;
    background-size:cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.portfolio_container div h2,.portfolio_container div p{
    margin-left:24px;
    color:#000;
}
.portfolio_container div h2{
    font-size:16px;
}
.portfolio_container div h2 span{
    font-size:14px;
    text-transform:none;
    display:block;
    color:#999;
}
.portfolio_container div p{
    font-size:14px;
    color:#000;
}
.portfolio_container div p span{
    color:#000;
}



*/==================================================*/

.portfolio .categories-grid span {
    font-size: 30px;
    margin-bottom: 30px;
    display: block;
}

.portfolio .categories-grid .categories ul li {
    list-style: none;
    margin: 0;
}

.portfolio .categories-grid .categories ul li a {
    display: block;
    color: #999;
    padding: 0;
    margin: 0;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio .categories-grid .categories ul li a:hover,
.portfolio .categories-grid .categories ul li a:focus {
    text-decoration: none;
    color: rgb(0,126,116);
}

.portfolio .categories-grid .categories ul li a.active {
    margin-left: 0;
    padding: 0px;
    color: #aaa;
    text-decoration: none;
    color: rgb(0,126,116);
}

.portfolio_filter {
    padding-left: 0;
}



.portfolio_item {
    position: relative;
    overflow: hidden;
    display: block;
}

.portfolio_item img {
    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    width:100%;
    height:auto;
}

.portfolio_item:hover img {
    -webkit-filter: grayscale(80%); /* Safari 6.0 - 9.0 */
    filter: grayscale(80%);
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;

}

a.portfolio_item:hover {
    text-decoration:none;
}
a.portfolio_item:hover h1,a.portfolio_item:hover p,
a.portfolio_item:hover h2,a.portfolio_item:hover p{
    color: rgb(0,126,116);
}


.portfolio .categories-grid .categories ul li {
    float: none;
}

.portfolio .categories-grid .categories ul li a {
    padding: 0 ;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio_filter {
    padding-left: 0;
    display: inline-block;
    margin: 0 auto;
    text-align: left;
    margin-bottom: 0px;
}

.portfolio-inner {
    padding-bottom: 0 !important;
    padding-top: 10px;
}



.portfolio_container div div.dev{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    padding:10%;
    background: rgba(0,126,116,0.8);
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
    opacity:0;
}
.portfolio_container div a:hover div.dev,
.portfolio_container div a:focus div.dev{

    opacity:1;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

a.portfolio_item div.dev h1,
a.portfolio_item div.dev p,
a.portfolio_item div.dev h1 span{
    color: #fff;
    text-align:center;
    font-size:1.5em;
}

a.portfolio_item:hover div.dev h1,
a.portfolio_item:hover div.dev p,
a.portfolio_item:hover div.dev h1 span{
    color: #fff;
}


/* portfolio start link
==================================================*/

span.pfeil-start a{
    border: 0px solid #999;
    border-radius:50%;
    padding:0 20px;
    text-decoration:none;
    display:inline-block;
}
span.pfeil-start a:hover i{
    color: rgb(0,126,116);
}
span.pfeil-start a i{
    font-size:15px;
    color:#999;
}

span.pfeil-start2 a{
    border: 1px solid #999;
    border-radius:50%;
    padding:8px 16px;
    text-decoration:none;
    display:inline-block;
}
span.pfeil-start2 a:hover{
    background-color: rgba(0,126,116,0.1);
}
span.pfeil-start2 a i{
    font-size:16px;
    line-height:32px;
    color:#999;
}

section#spektrum {background:#f9f9f9;}

/* inhalt
==================================================*/

.inhalt {margin-bottom: 100px; margin-top:100px;}
.inhalt-next {padding-bottom: 100px; margin-top:0; padding-top:100px;}
.inhalt-start {margin-bottom: 100px; margin-top:50px;}
.inhalt-front {margin-bottom: 0px; margin-top:200px;}
.inhalt-head {margin-bottom: 10px; margin-top:50px;}
.pic-top img{width:100%;}
article {margin-bottom:50px; border-bottom:1px solid #999; padding-bottom:50px;}



ul.symbole {list-style:none; padding:0;}
ul.symbole li{ width:100%; display:block; padding:12px 0;}
ul.symbole li i{display:inline-block; margin-right:24px; float:left;}
ul.symbole li span{display:inline-block; font-size:14px; line-height:30px;padding:0;}

/* footer
==================================================*/

footer {
    padding:0;
    text-align: left;
    background: #f5f5f5;
}
footer a {
    display:block;
}
footer a:hover {
    text-decoration:none;
    color:#666;
}
footer .container{
    padding: 70px 0;
    text-align: left;
}

.copyright,.copyright a {
    color: #999;
    margin-bottom: 0;
}
.divider {
    content: " ";
    padding:10px 0;
    margin:13px 0;
    border-top:0px solid #999;
    display:-block;
    width:80&;
}

footer img {
    margin: 0 auto;
}
.map {
    background: url(../img/map.png) center center no-repeat;
    background-size:auto;
    min-height:400px;
}
.map img {
    width:100%;
}

.footer-bottom {
    text-align: left;
    background: #999;
}
.bottom {
    color: #ddd;
    margin-bottom: 0;
}

/* backto top
==================================================*/

.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 20px;
    line-height: 40px;
    font-size: 20px;
    right: 20px;
    text-align: center;
    color: #fff;
    background: rgba(0, 126, 116, 0.8);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
}

.cd-top.cd-fade-out {
    opacity: .5;
}

.no-touch .cd-top:hover,
.no-touch .cd-top:focus {
    background-color: #007e6a;
    opacity: 1;
    color: #fff;
    text-decoration:none;
}

/* start
==================================================*/

.top-bar-start {
    color: #333;
    padding-top:15%;
    height:100%;
    background: -webkit-linear-gradient( rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)), url(../img/front2.jpg);
    background: linear-gradient( rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)), url(../img/front2.jpg);
    background-size: cover;
    background-position: center center;
    text-align:center;
}

.top-bar-start h1 {
    font-size: 40px;
    line-height:1em;
}
.top-bar-start h1 span {
    font-size: 24px;
    line-height:1.2em;
    color: #007e6a;
    text-transform: none;
}
.top-bar-start h3 {
    font-size: 28px;
    line-height:1em;
    margin-bottom:100px;
}
/* About page
==================================================*/

.top-bar {
    color: #333;
    padding: 150px 0 150px;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    text-align: center;
}

.top-bar.buero{
    background: -webkit-linear-gradient( rgba(255, 255, 255, .8), rgba(255, 255, 255, .5)), url(../img/hero-tech.jpg);
    background: linear-gradient( rgba(255, 255, 255, .5), rgba(255, 255, 255, .8)), url(../img/hero-z2.jpg);
     background-attachment: fixed;
    background-size: cover;
    background-position: right center;
}
.top-bar.leistungen{
    background: -webkit-linear-gradient( rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)), url(../img/hero-tech.jpg);
    background: linear-gradient( rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)), url(../img/hero-tech.jpg);
     background-position: center center;
}
.top-bar.kontakt{
    background: -webkit-linear-gradient( rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)), url(../img/01.jpg);
    background: linear-gradient( rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)), url(../img/01.jpg);
    background-position: center center;
}
.top-bar.projekte{
    background: -webkit-linear-gradient( rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)), url(../img/front.jpg);
    background: linear-gradient( rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)), url(../img/front.jpg);
    background-position: center center;
}

.top-bar h1 {
    font-size: 60px;
    text-transform: uppercase;
    font-weight: 700;
    color: #999;
    line-height: 50px;
}

.top-bar p {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
    color: #777;
}

.top-bar p a {
    color: #777;
}

.top-bar p a:hover,
.top-bar p a:focus {
    color: #555;
    text-decoration: none;
}

.social-ul {
    list-style: none;
    display: inline-block;
    padding-left: 0;
}

.social-ul li {
    margin: 0 10px;
    float: left;
}

.social-ul li a {
    font-size: 25px;
    color: #555;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.social-ul li a:hover {
    color: #888;
}


/* Services page
==================================================*/

.size-50 {
    font-size: 50px;
}
.size-30 {
    font-size: 30px;
}

.service-box {
    margin-bottom: 30px;
}
.service-box p{
    padding-right:30px;
}

#leistungen .service-box {
    padding-bottom:30px;
    border-bottom:1px solid #999;
}

#leistungen .service-box p{
    padding-right:0px;
}

.service-box h3 {
    margin-top: 0;
}

.leistungen-start .service-box{
    padding-left:0;
}


/* contact page
==================================================*/

.details-text i {
    margin-right: 10px;
}

.textarea-contact {
    height: 200px;
    width: 100%;
    border: solid 1px rgba(0, 0, 0, .1);
    position: relative;
}

.textarea-contact textarea {
    height: 100%;
    width: 100%;
    border: 0;
    padding: 20px;
    background-color: transparent;
    float: left;
    z-index: 2;
    font-size: 14px;
    color: #9a9a9a;
    resize: none;
}

.textarea-contact > span {
    position: absolute;
    top: 20px;
    left: 20px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 12px;
    text-transform: uppercase;
    color: #cdcdcd;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    z-index: 1;
}

.input-contact {
    height: 40px;
    width: 100%;
    border: solid 1px rgba(0, 0, 0, .1);
    position: relative;
    margin-bottom: 30px;
}

.input-contact input[type="text"] {
    height: 100%;
    width: 100%;
    border: 0;
    padding: 0 20px;
    float: left;
    position: relative;
    background-color: transparent;
    z-index: 2;
    font-size: 14px;
    color: #9a9a9a;
}

.input-contact > span {
    position: absolute;
    top: 50%;
    left: 20px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 12px;
    text-transform: uppercase;
    color: #cdcdcd;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    z-index: 1;
}

.input-contact > span.active,
.textarea-contact > span.active {
    color: #007e6a;
    font-size: 10px;
    top: 0px;
    left: 5px;
    background-color: #fff;
    padding: 5px
}

input:focus,
textarea:focus {
    outline: none;
}

.contact-info {
    margin-top: 20px;
}

.contact-info i {
    height: 30px;
    width: 30px;
    display: inline-block;
    background: #007e6a;
    text-align: center;
    line-height: 33px;
    margin-right: 10px;
    color: #fff;
    font-size: 21px;
}

.contact-info p {
    display: inline-block;
    margin-right: 20px;
}

.btn-box {
    background: #007e6a;
    padding: 10px 50px;
    border-radius: 0;
    color: #fff;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.btn-box:hover,
.btn-box:focus {
    background: #F5B700;
    color: #fff;
}


/* single project page
==================================================*/

.cat-ul {
    padding-left: 0;
    list-style: none
}

.cat-ul li i {
    margin-right: 10px;
    color: #007e6a;
}


/* Responsive media queries
==================================================*/

@media (max-width: 991px) {
    .sub-nav-main {
        display:none;
    }
    .categories-grid2 {
        display:inherit;
    }
    .portfolio .categories-grid span {
        margin-bottom: 0;
        text-align: center;
        width: 100%;
    }
    .portfolio .categories-grid .categories ul li {
        text-align: center;
    }
    .portfolio .categories-grid .categories ul li a {
        margin-left: 0;
    }
    .col-md-6 h3 {
        margin-top: 30px;
    }
    .sub-nav-main li.cat {
        display:none;
    }
    footer div.col-md-4 {padding-bottom:24px; }
}

@media only screen and (max-width: 670px) {
    .box-primary-nav-trigger{display: inline-block;}
    .first-nav ul {display:none;}
    
    .box-headline {
        font-size: 100px;
    }
    .box-intro h5 {
        font-size: 12px;
    }
    .box-primary-nav ul {
        margin-top:24px;
    }
    .box-primary-nav a {
        padding: 5px 1em;
        font-size: 14px;
    }
    .box-primary-nav {
        padding: 80px 0 0;
    }
    .box-primary-nav .box-social a {
        font-size: 23px;
    }
    .top-bar h1 {
        font-size: 40px;
        line-height: 30px;
    }
    .portfolio .categories-grid .categories ul li {
        float: none;
    }
    
    .box-header {
    background-color: rgba(255, 255, 255, 0.96);
        position:fixed;
        height:70px;
}
    .box-logo {
    display: block;
    padding: 20px 0;
}

.box-logo a {
    padding:0;
}

.box-logo a i {
    color:#000;
    font-size:30px;
}
    
    


    
}

@media only screen and (max-width: 520px) {
    .box-headline {
        font-size: 80px;
    }
    .box-intro h5 {
        font-size: 12px;
    }
    .main-container {
        padding: 50px 0;
    }
    .portfolio_container  span {
    font-size: 14px;

}
    .portfolio_container div {
    border: 1px solid #999;
    margin-bottom:25px;
    margin-right:0;
    width: 96%;
}

.portfolio_container div h1,
    .portfolio_container div h2{
    font-size:14px;
}
.portfolio_container div h1 span,
    .portfolio_container div h2 span{
    font-size:12px;
}
.portfolio_container div p{
    font-size:12px;
}
    .categories-grid2 {display:none;}

}

@media only screen and (max-width: 420px) {
    .box-headline {
        font-size: 50px;
    }
    .box-intro h5 {
        font-size: 12px;
    }
    h1,h2 {
        font-size: 24px;
        line-height: 24px;
    }
    .top-bar h1 {
        font-size: 24px;
        line-height: 24px;
    }
}
