/*
         ==============================================================
         Gestaltung / Programmierung: Kreativagentur Freudenschrei UG
         ==============================================================
         Grundfarben: #6a9b24 (Grün), #7ec01f (Grün hell), #f39500 (Orange), #fa6918 (Orange dunkel), #f2f2f2 (Grau Hell)
*/

/* Einstellungen */
:root {
         --main-font: 'Abel';
         --second-font: 'Open Sans';

         --main-color: #19A783;
         --second-color: #198797;

         --highlight-color: #f38400;

         --bg-color: #f2f2f2;
         --bg-color2: rgba(0,0,0,0.08);
         --bg-color3: rgba(0,0,0,0.10);

         --font-color: #343534;
         --font-color2: #000000;
         --font-color-light: #FFFFFF;
}


/* Links */
a:link, a:visited {
         font-family: var(--main-font);
         font-size: 1.0em;
         color: var(--main-color);
         font-weight: normal;
         text-decoration: none;
         padding-bottom: 1px;
         border-bottom: 2px #000000 dotted;
         transition: all 0.2s ease-in-out;
}

a:hover, .link:hover {
         color: var(--font-color2);
         text-decoration: none;
}

a.button:link, a.button:visited {
         display: inline-block;
         padding: 10px 40px 10px 20px;
         margin: 2px 0px;

         background: #ffffff url(../images/dot_next_color.png) calc(100% - 5px) center no-repeat;
         background-size: 40px auto;

         font-family: var(--main-font);
         text-align: left;
         font-size: 1.0em;
         font-weight: 600;
         text-shadow: rgba(0,0,0,0.0) 2px 2px 1px;
         color: var(--main-color);
         text-decoration:none;

         border: 2px var(--main-color) solid;
         -webkit-border-radius: 50px;
         -moz-border-radius: 50px;
         border-radius: 50px;
}
a.button span {
         font-family: var(--main-font);
         text-align: left;
         font-size: 1.0em;
         font-weight: 600;
         text-shadow: rgba(0,0,0,0.0) 2px 2px 1px;
         color: var(--main-color) !important;
         text-decoration:none;
}

a.button:hover {
         color: #FFFFFF;
         border: 2px var(--second-color) solid;
         background-color: var(--second-color);
         background-image: url(../images/dot_next.png);
         text-decoration:none;
}

a.button:hover span {
         color: #FFFFFF !important;
}

/* Allgemein */
html {
        border: 0px #FFFFFF solid;
         margin: 0px;
         padding: 0px;
         min-width: 320px;
         height: 100%;
}
body {
         background-color:#FFFFFF;
         background-image: url(../images/bg.jpg);
         background-size: 100%;
         background-attachment: fixed;
         background-position: center bottom;
         margin: 0px;
         padding: 0px;
         min-width: 320px;
}

body, div {
         font-family: 'Abel', Verdana;
         font-size: 1.1em;
         color: #3F3F3F;
         font-weight: normal;

         padding: 0px 0px 0px 0px;
         margin: 0px 0px 0px 0px;
}

/* Überschriften */
h1 {
         font-size: 1.6em;
         color: var(--main-color);
         font-weight: bold;
         margin: 0px 0px 0px 0px;
         text-align: center;
}

h2 {
         font-size: 1.4em;
         color: var(--second-color);
         font-weight: bold;
         margin: 0px 0px 20px 0px;
         text-align: center;
}

h3 {
        display: inline-block;
         margin: 5px 0px 5px 0px;
         padding: 3px 10px 3px 10px;

         font-size: 1.2em;
         color: #FFFFFF;
         font-weight: 700;
         text-shadow: rgba(0,0,0,0.2) 0px 0px 0px;

         background: #008967;
         cursor: pointer;
}

.kon { direction: rtl; unicode-bidi: bidi-override; text-align: left; }
.round { -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; }
.round_small { -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; }
.shadow { -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25); }

.a_l     { text-align: left; }
.a_c     { text-align: center; }
.a_r     { text-align: right; }

img      { border: 0px; }
.clear   { clear:both; line-height:0.0em; height: 0px; display: block; background-color: #FFDF00; }

.f_small   { font-size: 0.8em !important; }
.f_normal     { font-size: 1.0em !important; }
.f_big     { font-size: 1.2em !important; }
.f_bigger  { font-size: 1.4em !important; }

.block   { display:block; }
.inline-block   { display:inline-block; }
.inline   { display:inline; }

.hide    { display: none; }
.show    { display: block !important; }
.none    { opacity: 0.0; filter: alpha(opacity=0); }

/* Aufbau */
#wrapper { display: block; width: calc(100% - 40px); max-width: 1400px; height: auto; margin: 0px auto 0px auto; border: 0px #000000 solid; }

#header {}
#header .logo { margin: 50px auto 0px auto; width: calc(100% - 20px); max-width: 900px; min-height: 100px; }
#header .logo img { width: 100%; height: auto; }
#header .logo a { border-bottom: 0px #000000 dotted; }

#site { padding: 50px 0px; }
#site .projects { font-size: 0.8em; }
#site .projects .item { display: block; float: left; width: calc(25% - 60px); height: auto; margin: 10px; padding: 20px; background: #FFFFFF; cursor: pointer; text-align: left; }
#site .projects .item .image { display: block; width: 100%; margin-top: -25px; }
#site .projects .item .image img { width: 100%; height: auto; }
#site .projects .item span { position: relative; margin-top: 7px; margin-left: 5px; display: inline-block; padding: 1px 6px; background: rgba(250,250,250,0.9); color: rgba(0,0,0,0.5); font-size: 0.7em; text-transform: uppercase; }
#site .projects .item a.button { display: block; width: calc(100% - 60px - 4px); height: 20px; line-height: 22px; margin-top: 10px; font-size: 0.9em; overflow:hidden; }
#site .projects .item a.button span { display: none; font-size: 1.0em;  padding: 0px 0px; text-transform: none; background: rgba(250,250,250,0.0); }

#content { display: block; width: calc(100% - 60px); height: auto; margin: 30px 10px 10px 10px; padding: 20px; background: #FFFFFF; }
#content .text { display: none; font-size: 1.0em; }
#content .text:first-child{ display: block; }

#navi {
         position: fixed;
         top: 0px;
         width: calc(100% - 60px);
         height: auto;

         background-color: rgba(0,0,0,0.0);

         padding: 20px 30px;
         margin: 0px;
         text-align: right;
}

#navi .link {
        display: inline-block;
        position: relative;
         padding: 3px 15px;
         background: #FFFFFF;

         font-size: 0.9em;
         text-decoration: none;
         text-transform: uppercase;
         text-shadow: #FFFFFF 1px 1px 1px;

         border: 0px;
         -webkit-border-radius: 15px;
         -moz-border-radius: 15px;
         border-radius: 15px;
         cursor: pointer;
}
#navi .link:after {
        top: 100%;
        right: 20px;
        border: solid transparent;
        content: "";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(136, 183, 213, 0);
        border-top-color: #FFFFFF;
        border-width: 8px;
        margin-left: -8px;
}

#navi .link:hover { background: #008967; color: #FFFFFF; text-shadow: rgba(0,0,0,0.2) 1px 1px 1px; }
#navi .link:hover:after { border-top-color: #008967; }

.content {
         display: none;
         background: #FFFFFF;
         color: #000000;
         position: fixed;
         right: 0px;
         top: 0px;
         bottom: 0px;

         right: -320px;
         height: 100%;
         width: 280px;
         padding: 20px;

         border-left: 1px #AFAFAF solid;
         -webkit-box-shadow: inset 15px 0px 10px -15px rgba(0, 0, 0, 0.35);
        -moz-box-shadow:    inset 15px 0px 10px -15px rgba(0, 0, 0, 0.35);
        box-shadow:         inset 15px 0px 10px -15px rgba(0, 0, 0, 0.35);
}

.close {
        display: block;
         position: absolute;
         right: 20px;
         width: 32px;
         height: 32px;
         background: transparent url(../images/close.png) center center no-repeat;
         background-size: 32px 32px;
         cursor: pointer;
}



/* Media Querys */
@media (max-width: 1240px) {
         body { background-size: 200% auto; }
         #site .projects .item { width: calc(100% / 3 - 60px); margin: 10px; padding: 20px; }
         #site .projects .item a.button { width: calc(100% - 45px - 4px); padding: 10px 30px 10px 15px; }
}

@media (max-width: 920px) {
         body { background-size: 300% auto; }
         #site .projects .item { width: calc(100% / 3 - 60px); margin: 10px; padding: 20px; }
         #site .projects .item a.button { width: calc(100% - 20px - 4px); padding: 8px 10px 8px 10px; background-image: none; text-align: center; height: 30px; line-height: 20px; }
         #site .projects .item a.button b { display: none; }
         #site .projects .item a.button span { display: inline-block; }
         #content { font-size: 0.9em; }
}

@media (max-width: 720px) {
         #site .projects .item { width: calc(100% / 2 - 60px); margin: 10px; padding: 20px; }
}

@media (max-width: 560px) {
        #logo > img { display: none; }
         #logo {
                 background-image: url(../images/logo_transparent.png);
                 background-repeat: no-repeat;
                 background-position: top center;
                 background-size: 80%;
                 height: 400px;

         }
}