* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box; /* Firefox */
}

html, body {
    max-width: 100%;
    height: 100%
}

a {
    outline: 0;
}

a img {
    border: none;
    width: 100%
}

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

input, textarea {
    resize: none;
    overflow: hidden;
    color: #4b4b4e;
    outline: none;
    font-family: 'Ubuntu','Helvetica','Verdana';
}

input[type="submit"] {
    color: white;
}

body {
    font-family: 'Ubuntu','Helvetica','Verdana';
    color: #4b4b4e; /* gray */
    background: #e7e7e3;
    padding: 0;
    margin: 0 auto;
    font-size: 14px;
    line-height: 140%
}

::-moz-selection, ::selection {
    background: #b7b7a8;
    color: #fff;
}

*::-moz-placeholder, 
*::-webkit-input-placeholder, 
*:-ms-input-placeholder {
    opacity: 1;
}

header, nav, section, article, aside, footer, hgroup {
    display: inline-block;
}

h1, h2, h3, h4 {
    font-weight: normal;
}

h3 {
    font-family: 'IntroRegular';
    font-size: 18px;
}

.placeholder, div.score {
    display: none;
}

div.ajax_load {
    width: 26px;
    height: 26px;
    background: url(../images/ajax-load.gif);
    display: none;
}

div.hallotoolbar {
    z-index: 1200; /* move it in front of the colorbox container */
}

#header_logo {
    display: block;
    background-image: url('../images/spiral.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    top: 0px;
    width: 100%;
    height: calc(100% - 59px);
    position: absolute;
    border-bottom: 4px solid #AC1B20;
}

#header_logo_inner {
    background: url('../images/logo_new_bright.png') no-repeat;
    width: 241px;
    height: 153px;
    position: fixed;
    z-index: 2;
    left: 15px;
    top: 15px;
}

.fixed_header #header_logo_inner {
    width: 111px;
}

.fixed_header #header_lang_eng, .fixed_header #header_lang_de {
    opacity: 1;
    box-shadow: none;
}

.fixed_header #header_logo span.tooltip {
    box-shadow: none;
}

#header_lang_eng a, #header_lang_de a {
    text-decoration: none;
    color: inherit;
}
 
#header_lang_eng, #header_lang_de {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #DADAD2;
    color: #AC1B20;
    text-align: center;
    line-height: 15px;
    padding-top: 7.5px;
    font-weight: bold;
    position: fixed;
    z-index: 4;
    right: 52px;
    top: 15px;
    cursor: pointer;
    box-shadow: 0 0 0.3em rgba(0, 0, 0, 0.3);
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    opacity: 0.8;
}
#header_lang_eng:hover, #header_lang_de:hover {
    opacity: 1;
    z-index: 5;
}

#header_logo span {
    display: none;
}

#header_lang_eng:hover span {
    display: block;
}
 
#header_lang_de.active:hover span, #header_lang_eng.active:hover span {
    display: none;
}

#header_lang_de:hover span, #header_lang_eng:hover span {
    display: block;
}

#header_logo span.arrow {
    position: absolute;
    top: 30px;
    right: 5px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #AC1B20;
    z-index: 55;
}

#header_logo span.tooltip {
    background-color: #AC1B20;
    position: absolute;
    top: 38px;
    right: -15px;
    width: auto;
    height: 25px;
    line-height: 25px;
    border-radius: 10px;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: 0 0 0.3em rgba(0, 0, 0, 0.3);
    z-index: 5;
}

#header_lang_de {
    right: 20px;
}

#header_lang_eng.active, #header_lang_de.active {
    background-color: #AC1B20;
    color: white;
    cursor: default;
}

#header_lang_eng.active a, #header_lang_de.active a {
    pointer-events: none;
    cursor: default;
}

#header_nav {
    display: block;
    background: #DADAD2;
    width: 100%;
    height: 59px;
    z-index: 2;
    position: absolute;
    bottom: 0px
}

#logo_nav {
    background: url('../images/logo_nav.png') no-repeat;
    float: left;
    width: 100px;
    height: 40px;
    margin-top: 10px;
    margin-left: 30px;
    display: none;
}

.fixed_header #header_nav {
    position: fixed;
    top: 0;
    z-index: 3
}

.fixed_header #logo_nav {
    display: block;
}

.nav-wrapper {
    position: relative;
    margin: 0 auto;
    
}

ul#nav-list {
    top: 0px;
    text-transform: uppercase;
    height: 59px;
    text-align: center;
}

ul#nav-list li {
    display: inline;
    list-style-type: none;
    vertical-align: middle;
}

ul#nav-list li a {
    cursor: pointer;
    color: #4b4b4e; /* gray */
    font-size: 1.5em;
    padding: 22px 10px 18px 10px;
    text-decoration: none;
    margin-right: 3%;
    max-width: 100px;
    display: inline-block;
    text-align: center;
}

@media (hover: hover) {
	ul#nav-list li a:hover {
	    color: #ffffff;
	}
}

ul#nav-list li.current a {
    color: #ffffff ;
    background-color: #AC1B20;
}

ul#nav-list li#footer-nav-btn {
    display: none;
}

.nav_explain {
    position: relative;
    padding: 10px;
    top: 0;
    background-color: #AC1B20;
    color: #fff;
    display: table;
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer
}

.container_centered {
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
}

.container_centered .nav-wrapper, 
.container_centered .wrapper_explain, 
.container_centered .wrapper_testimonials {
    padding: 0 33px;
}

.container_centered .nav-wrapper {
    margin-bottom: 1em
}

.container_centered .wrapper_content {
    padding: 0 16px 0 17px;
}

.container_centered .wrapper_content .editable {
    text-align: center;
}

.container_centered .wrapper_content .editable article {
    text-align: left;
}

.container_centered .wrapper_testimonials, .container_centered .wrapper_content {
    margin-bottom: 50px
}

.section_container .wrapper_explain {
    padding-top: 40px;
    font-family: 'Ubuntu';
    font-size: 18px;
    line-height: 140%;
    max-width: 100%
}

.clearfix {
    clear: both;
}

#footer {
    display: none;
}

#main-wrapper {
    position: relative;
    width: 100%;
    top: 100%;
}

.section_container {
    border-bottom: 7px solid #DADAD2;
    background: #e7e7e3;
    width: 100%;
    min-width: 100%;
    position: relative;
    z-index: 1
}

#footer-container {
    height: auto;
}

#footer-container .container_centered {
    padding-bottom: 20px;
}

.section_wrapper {
    height: 100%;
    background: #e7e7e3;
    position: relative;
    z-index: 3
}

.section_container .wrapper_content {
    display: inline-block;
    clear: both;
}

#who-wrapper .wrapper_content {
    margin-top: 20px;
}

#midgard-bar div.workflows-holder, #midgard-bar div.custom_buttons {
    display: inline-block;
    width: 200px;
}
body #midgard-bar div.toolbarcontent-center {
    width: 400px;
}

button.midgard-create-add {
    position: absolute;
}

button.midgard-create-add .ui-button-text {
    padding: 0.2em 0.4em;
}

/* colorbox */
#cboxOverlay {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #777;
    opacity: .7 !important;
    z-index: 4;
}

#colorbox {
    z-index: 5;
    box-shadow: 0 0 170px rgba(0, 0, 0, .2);
    outline: none;
}

#cboxClose {
    display: none !important;
}

div.cb_content {
    display: none;
}

div.for_image {
    cursor: pointer;
    border: 5px solid rgba(255,255,255,0.7)
}

div.for_colorbox_content {
    width: auto;
    height: auto;
    padding: 5%;
    background: #e7e7e3;
    border: 5px solid #fff;
    display: flex;
    flex-direction: row
}
 
div.for_colorbox_content div.infos {
    padding-right: 6vmin;
    max-width:25%
}

div.for_colorbox_content .backbutton {
    width: 45px;
    height: 45px;
    margin-right: 10px;
    display: inline-block;
    background-image: url(../images/buttons/back.png);
}

div.for_colorbox_content .backbutton:hover {
    background-image: url(../images/buttons/back_on.png);
}

div.for_colorbox_content .visitwebsite {
    width: 45px;
    height: 45px;
    display: inline-block;
    margin-left: 10px;
    background-image: url(../images/buttons/visitwebsite.png);
}

div.for_colorbox_content .visitwebsite:hover {
    background-image: url(../images/buttons/visitwebsite_on.png);
}

div.for_colorbox_content div.infos h1 {
    font-size: 20px;
    color: #AC1B20;
    width: 215px;
    border-bottom: 1px solid #fff;
    padding-bottom: 2px;
    margin-bottom: 12px;
}

div.for_colorbox_content div.infos div.info_data {
    width: 205px;
    margin-bottom: 40px;
    line-height:140%
}

div.for_colorbox_content div.infos div.info_customer {
    height: 26px;
    text-transform: uppercase;
}

div.for_colorbox_content div.infos div.info_service {
    height: 163px;
    font-size: 13px;
}

div.for_colorbox_content div.infos div.info_data ul {
    margin-left: 14px;
}

div.for_colorbox_content div.infos div.back {
    margin-top: 0px;
    display: inline-block
}

div.for_colorbox_content div.infos div.website {
    margin-top: 0px;
    display: inline-block
}

div.for_colorbox_content div.images {
    padding: 10px;
    background-color: #e8e8e4;
    max-width: 75%;
    height: auto;
}

div.for_colorbox_content a.close {
    margin-top: 100%;
}

/*
 * Hi-Section
 * ---------------------------------------------------------------------------
 */

#hi-container {
	background-color: transparent;
	border: none;
	width: 100%;
	height: 100%;
	position: fixed;
}

#hi-container .section_wrapper {
	background-color: transparent;	
}

#hi-container .container_centered {
	height: calc(100% - 59px);
}

#hi-container #hi-wrapper {
	width: 100%;
	height: 100%;
}

#hi-container .wrapper_content {
	height: 100%;
	width: 100%;
	margin: 0;
	text-align: center;
}

#hi-container .wrapper_content article {
	font-family: 'IntroRegular', 'Impact';
	font-size: 4em;
	line-height: 2em;
	/*width: 60%;*/
	width: 600px;
	height: 100%;
	color: white;
	display: inline-grid;
	align-content: center;
	margin-left: auto;
	margin-right: auto;
}

#hi-container .wrapper_content article h1 {
	font-size: 100%;
	line-height: 1.2;
	outline: none;
	text-align: left;
	margin-right: auto;
}

#hi-container .wrapper_content article h2 {
	font-size: 55%;
	border-top: 3px dashed #4e984e;
	clear: both;	
	text-align: left;
	margin-right: auto;
	width: 100%;
	line-height: 1.4;
	padding: 0.5em 0 0.5em 0;
}
#hi-container .wrapper_content article .more-wrapper {
	display: inline-flex;
	text-align: left;
	align-content: center;
}
#hi-wrapper .wrapper_content article .bulb_button {
	font-size: 34%;
	text-decoration: none;
	line-height: 1.2;
    color: white;
    display: inline-block;
    background-image: url(../images/hi/bulb-final.svg);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    padding: 0.7em 15% 0.7em 0;
	margin: auto;
	margin-left: 0;
	width: 65%
}
	
#hi-wrapper .bulb_button:hover {
	background-image: url(../images/hi/bulb-final.svg);
    opacity: 0.8;
}
	
#hi-wrapper .wrapper-hi-buttons {
	font-size: 30%;	
	line-height: 1;
	display: grid;
	padding-bottom: 1%;
	padding-left: 4%;
	width: 35%;
}
#hi-wrapper .wrapper-hi-buttons #hi-button-imprint,
#hi-wrapper .wrapper-hi-buttons #hi-button-privacy {
	background-color: transparent;
	color: white;
	border: none;
	text-align: left;
	font-family: inherit;
	font-size: 90%;
	text-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
	outline: none;
	cursor: pointer;
}

#hi-wrapper .wrapper-hi-buttons #hi-button-imprint:hover,
#hi-wrapper .wrapper-hi-buttons #hi-button-privacy:hover {
	background-color: #AC1B20;
	transition: background-color 0.7s;
}

/*
 * Width Media Query
 */
@media only screen and (max-width: 1280px) {
	#header_logo {
		background-attachment: scroll;
		position: fixed;
	}
	.fixed_header #header_logo_inner {
		display: none;
	}
	#footer-container {
		height: 100%;
	}
}

@media only screen and (max-width: 1024px) {
	#hi-container .wrapper_content article {
		font-size: 3em;
		width: 440px
	}
}
@media only screen and (max-width: 660px) {
	#hi-container .wrapper_content article {
		font-size: 2em;
		width: 300px;
	}
}
@media only screen and (max-width: 380px) {
	#hi-container .wrapper_content article {
		font-size: 2em;
		width: unset;
	}
	#hi-container .wrapper_content article h2 {
		font-size: 60%
	}
	#header_logo_inner {
		background-size: 50%;
	}
}

/*
 * Height Media Query
 */
@media only screen and (max-height: 720px) {
	#header_logo_inner {
		background-size: 65%;
	}
}
@media only screen and (max-height: 640px) {
	#header_logo_inner {
		background-size: 50%;
	}
}
@media only screen and (max-height: 480px) {
	#hi-container .wrapper_content article {
		font-size: 2em;
		width: 300px;
	}
	#hi-container .wrapper_content article h2 {
		font-size: 60%
	}
	#header_logo_inner {
		background-size: 40%
	}
}
@media only screen and (max-height: 320px) {
	#header_logo_inner {
		background-size: 40%;
	}
}

/*
 * Mixed Media Query
 */

@media only screen and 
(max-width: 520px) and
(max-height: 320px) {
	#header_logo_inner {
		background-size: 20%;
	}
}

/*
 * Hi-Section End
 * ---------------------------------------------------------------------------
 */

/* who */
#who-wrapper {
    margin-left: 0px;
}

#who-wrapper .wrapper_content  article {
    margin: 30px 16px 0 17px;
    vertical-align: top
}

#who-wrapper .profile-img {
    display: inline-block;
}

#who-wrapper .profile-img img {
    -webkit-transition: all .7s ease-out;
    -moz-transition: all .7s ease-out;
    -o-transition: all .7s ease-out;
    -ms-transition: all .7s ease-out;
    transition: all .7s ease-out;
    border: 5px solid rgba(255, 255, 255, 0.7);
    opacity: 0.75;
    width: 293px;
}

#who-wrapper article:hover .profile-img img {
    opacity: 1;
}

#who-wrapper .who-name {
    font-size: 16px;
    clear: both;
    margin-top: 11px;
    height: 18px;
    width: 286px;
}

#who-wrapper .who-role {
    font-size: 12px;
    display: inline-block;
    clear: both;
    margin-top: 7px;
    height: 16px;
    width: 286px;
}

/* what */
#what-wrapper .wrapper_content article {
    display: inline-block;
    vertical-align: top;
    margin: 70px 17px 0 16px;
    width: 293px;
    height: 330px;
}

#what-wrapper .content {
    display: inline-block;
    width: 240px;
    height: 260px;
    margin-left: 57px;
    margin-top: 8px
}

#what-wrapper .title-wrapper {
    display: table-row;
    vertical-align: top;
    height: 45px;
}

#what-wrapper .title-wrapper h3 {
    display: table-cell;
    vertical-align: middle;
    padding-left: 12px;
}

#what-wrapper .title-wrapper .what-icon {
    display: inline-block;
    vertical-align: middle;
    width: 45px;
    height: 45px;
    margin-top: 0px;
    background: url('../images/buttons/what/sprite_whaticons.svg');
    background-repeat: no-repeat;
    background-size: 46px;
}

#what-wrapper .title-wrapper .frontenddevelopment-icon {
    background-position:  -1px -273px;
}

#what-wrapper .title-wrapper .webapplikationen-icon,
#what-wrapper .title-wrapper .webapplications-icon {
    background-position: -1px -54px;
}

#what-wrapper .title-wrapper .wartung_support-icon,
#what-wrapper .title-wrapper .maintenance_support-icon {
    background-position: -2px -224px;
}

#what-wrapper .title-wrapper .contentmanagement-icon {
    background-position: -1px -112px;
}

#what-wrapper .title-wrapper .consulting-icon {
    background-position: 0px -4px;
}

#what-wrapper .title-wrapper .payment_invoicing-icon {
    background-position: -1px -169px;
}

/* with */
#with-wrapper .wrapper_content .editable {
    margin-top: 70px;
}

#with-wrapper .title {
    margin-bottom: 12px;
}

#with-wrapper .wrapper_content article {
    display: inline-block;
    vertical-align: top;
    margin: 0 30px;
    width: 413px;
    height: 200px;
}

#with-wrapper .with-box .with-icon {
    display: inline-block;
    vertical-align: top;
    width: 80px;
    height: 80px;
    background: url('../images/buttons/with/sprite_withicons.svg');
    background-repeat: no-repeat;
}

#with-wrapper .with-box .coffee-icon {
    background-position: -323px 0px;
}

#with-wrapper .with-box .flash-icon {
    background-position: -1px 0px;
}

#with-wrapper .with-box .ghost-icon {
    background-position: -163px 0px;
}

#with-wrapper .with-box .heart-icon {
    background-position: -405px 0px;
}

#with-wrapper .with-box .puzzle-icon {
    background-position: -83px 0px;
}

#with-wrapper .with-box .speech-icon {
    background-position: -243px 0px;
}

#with-wrapper .with-box .content-wrapper {
    display: inline-block;
    margin-left: 20px;
    margin-top: 0px;
    width: 310px;
}

#for-wrapper .wrapper_content {
    margin-bottom: 0
}

#for-wrapper .wrapper_testimonials {
    clear: both;
    border-top: 2px solid #fff;
    margin-top: 35px;
    margin-right: 30px;
}

#for-wrapper .wrapper_testimonials article {
    display: inline-block;
    margin-top: 24px;
}

#for-wrapper .wrapper_content article {
    margin: 55px 17px 0 16px;
    vertical-align: top;
}

#for-wrapper .more {
    font-size: 16px;
    clear: both;
    margin-top: 11px;
    height: 18px;
    width: 286px;
}

#for-wrapper .more-what {
    font-size: 12px;
    display: inline-block;
    clear: both;
    margin-top: 7px;
    height: 16px;
    width: 286px;
}

#for-wrapper .content {
    display: inline-block;
    padding-top: 50px;
}

#for-wrapper div.for_content .name {
    display: inline-block;
    width: 100%;
    margin-bottom: 12px;
}

#for-wrapper div.for_content .service {
    display: inline-block;
    clear: both;
    width: 100%;
    height: 120px;
}

#for-wrapper div.for_image {
    position: relative;
    display: inline-block;
    width: 293px;
    height: 165px;
    filter: saturate(0);
    transition: filter .3s;
}

#for-wrapper div.for_image:hover {
	filter: saturate(1);
}

#for-wrapper div.for_image span {
    position: absolute;
    top: 102px;
    left: 92px;
    color: #fff;
    text-transform: uppercase;
}

/* where */
#where-container {
    border-bottom: none;
}

#where-wrapper div#where-top {
    clear: both;
    font-size: 20px;
    margin-bottom: 45px;
    margin-top: 60px;
    width: 100%;
    min-width: 100%;
    height: 50px;
    line-height: 140%;
}

#where-wrapper div#where-bottom {
    clear: both;
    width: 100%;
    min-width: 100%;
    text-align: center
}

#where-wrapper div.content {
    padding-top: 30px;
}

#where-wrapper #where-left {
    width: 485px;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    margin-left: 16px
}

#where-wrapper #where-right {
    margin-left: 23px;
    width: 456px;
    max-width: 80%;
    display: inline-block;
    vertical-align: top;
    text-align: left
}

#where-wrapper #where-map {
    background: url("../images/ccb_map.png");
    width: 454px;
    height: 351px;
    display: inline-block;
    border: 5px solid white;
    cursor: pointer;
    transition: border 1.0s;
}

#where-wrapper #where-map:hover {
    border: 5px solid #666;
}
#where-map .ct_button {
    display: inline-block;
    margin-top: 200px;
    margin-left: 250px;
    width: 18px;
    height: 40px;
    background: url(../images/buttons/ct_off.svg);
}

#where-map .ct_button:hover {
    background: url(../images/buttons/ct_on.svg);
}

#where-wrapper #where-map .ajax_load {
    margin-top: 116px;
    margin-left: -87px;
}

#where-infos {
    margin-top: 16px;
}

#where-infos p {
    font-size: 18px;
    height: 30px;
}

#where-infos a {
    text-decoration: none;
    color: #4b4b4e;
}

#where-infos a:hover {
    color: #AC1B20;
}

#where-infos p span {
    margin-right: 12px;
}

#where-infos span.red {
    color: #AC1B20;
}

form#contact input,
form#contact textarea {
    background-color: #e7e7e3;
    border: 5px solid #fff;
    padding: 10px;
    font-size: 14px;
    transition: border 0.7s;
    width: 450px;
}

form#contact .row :hover,
form#contact .row :focus {
    border: 5px solid #666666;
}

form#contact .row :focus {
    background-color: #f7f7f3;
}

form#contact.submitted :invalid{
	border-color: #ac1b20;
    box-shadow: none;
}

/*form#contact input.error,
form#contact textarea.error,
form#contact .row :invalid {
	border-color: #ac1b20;
    box-shadow: none;
}*/

form#contact input {
    height: 45px;
    box-shadow: none;
}
form#contact textarea {
    height: 217px;
    box-shadow: none;
}

form#contact input#contact_submit {
    outline: none;
    top: 16px;
    width: 62px;
    height: 42px;
    color: #5E5854;
    background: transparent;
}

form#contact .row_submit {
    position: relative;
    display: flex;
}

form#contact #contact-msg {
    position: absolute;
    top: 66px;
    left: 116px;
    width: 250px;
    border: none;
}

.error {
    color: #AC1B20;
}

.success {
    color: green;
}

form#contact input.success,
form#contact textarea.success {
    border-color: green;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
input:-moz-placeholder,
textarea:-moz-placeholder {
    color: #888080;
}

form#contact span.fb {
    margin-top: 3px;
    margin-left: 12px;
    display: none;
}

form#contact div.row {
    clear: both;
}

form#contact div.row_contact_name,
form#contact div.row_contact_email {
    margin-bottom: 22px;
}

form#contact div.row_contact_msg {
    margin-bottom: 10px;
}

form#contact div.ajax_load {
    position: absolute;
    top: 21px;
    left: 382px;
}

#form-extra {
    display: none;
}
/* Checkbox */
form#contact #contact-checkbox-wrapper,
form#contact #contact-checkbox-wrapper:focus {
	padding: 6px;
	width: 388px
}
form#contact #contact-checkbox-wrapper:hover,
form#contact #contact-checkbox + label:hover, 
form#contact #contact-checkbox-policy:hover,
form#contact #contact-checkbox-policy:focus {
	transition: none;
	border: none;
	background-color: transparent;
	color: inherit;
}
form#contact #contact-checkbox {
	display: none;
}
form#contact #contact-checkbox-policy {
	color: inherit;
}
form#contact #contact-checkbox-policy:hover {
	color: #AC1B20;
}
form#contact #contact-checkbox + label,
form#contact #contact-checkbox + label:focus {
	border: none;
	cursor: pointer;
}
form#contact #contact-checkbox + label:before {
	display: inline-block;
	color: white;
	font-family: FontAwesome;
	font-weight: bold;
	font-size: 1.5em;
	content: "\f096";
	letter-spacing: 10px;
}
form#contact #contact-checkbox:checked + label:before  {
	content: "\f046";
	letter-spacing: 7px;
}
form#contact #contact-checkbox:hover + label:before{
	color: #666666;
	transition: color 0.7s;
}
form#contact.submitted #contact-checkbox:invalid + label:before, 
form#contact.submitted #contact-checkbox:invalid + label{
	color: #ac1b20;
}

/* footer */
#footer-container {
    background: url('../images/bg/ccb_noise_dark.png') repeat;
    border-bottom: 0px;
    border-top: 4px solid #AC1B20;
    position: relative;
    z-index: 4
}

#footer-wrapper {
    color: #fff;
    background-color: transparent
}

#footer-top {
    vertical-align: top;
    margin-top: 12px;
}
#footer-nav {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 30px;
}

/* impressum */
#footer-impressum {
    display: inline-block;
    vertical-align: top;
    width: 13%;
    margin-left: 60px;
    margin-right: 15px;
}
#footer-container a:hover {
    color: #666;
    cursor: pointer;
}

/* social */
#footer-social {
    float: right;
    vertical-align: top;
    width: auto;
    margin-left: 75px;
    padding-right: 30px;
}

#footer-social a {
    display: block;
    width: 35px;
    height: 35px;
    margin-bottom: 16px;
    margin-left: 20px;
    background-repeat: no-repeat;
}

.circle {
    width: 40px;
    height: 40px;
    display:inline-block;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background: white;
}

.circle:hover {
    background:#666;
}

#footer-social a.fb {
    background-position: 0px 0px;
}

#footer-social a.fb:hover {
    background-position: 0px -94px;
}

#footer-social a.twitter {
    background-position: 0px -46px;
}

#footer-social a.twitter:hover {
    background-position: 0px -139px;
}

#footer-social .follow-text {
    padding-left: 20px;
    padding-bottom: 12px;
}

#footer-bottom {
    margin-top: 20px;
}

#footer-bottom .link {
    text-decoration: underline;
}

#footer-container a {
    text-decoration: none;
    color: white;
}
 
#footer-bottom a:hover {
    color: #AC1B20;
}

#footer-bottom .footer-item {
    width: 40%;
    vertical-align: top;
    display: inline-block;
    margin-left: 65px;
    margin-top: 30px;
    text-align: left;
}
#footer-bottom .footer-headline {
    text-transform: uppercase;
}

#footer-bottom .footer-content {
    margin-top: 18px;
}

#footer-bottom #footer-analytics {
    clear: both;
    width: 884px;
}

#footer-close {
    margin-right: 75px;
    margin-top: 40px;
    padding-bottom: 40px;
    text-align: right;
    text-transform: uppercase;
}


#footer-nav p {
    margin-left: 45px;
}

ul#footer-nav-list {
    padding-left: 45px;
    padding-top: 16px;
    list-style-type: none;
}

ul#footer-nav-list li {
    clear: both;
}

ul#footer-nav-list li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

ul#footer-nav-list li a.active,
ul#footer-nav-list li a:hover {
    color: #666;
}

/*
    Slideshow
*/
.slides_js {
    max-width: 100%;
    width: 620px;
}

/*
    Slides container
    Important:
    Set the width of your slides container
    Set to display none, prevents content flash
*/
/*
    Each slide
    Important:
    Set the width of your slides
    If height not specified height will be set by the slide content
    Set to display block
*/

/*
    Pagination
*/
.slidesjs-pagination {
    margin: 25px auto 0;
    width: 100px;
}

.slidesjs-pagination-item {
    float: left;
    margin: 0 5px;
    list-style: none;
}

.slidesjs-pagination-item a {
    float: left;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: white;
    overflow: hidden;
    text-indent: -999px;
}

.slidesjs-pagination-item a.active {	
	background-color: darkgray;    
}

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on April 26, 2012 */
@font-face {
    font-family: 'Ubuntu';
    src: url('webfonts/ubuntu-r-webfont.eot');
    src: url('webfonts/ubuntu-r-webfont.eot?#iefix') format('embedded-opentype'),
    url('webfonts/ubuntu-r-webfont.woff') format('woff'),
    url('webfonts/ubuntu-r-webfont.ttf') format('truetype'),
    url('webfonts/ubuntu-r-webfont.svg#UbuntuRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on April 16, 2013 */
@font-face {
    font-family: 'ubuntu_condensedregular';
    src: url('webfonts/ubuntu-c-webfont.eot');
    src: url('webfonts/ubuntu-c-webfont.eot?#iefix') format('embedded-opentype'),
    url('webfonts/ubuntu-c-webfont.woff') format('woff'),
    url('webfonts/ubuntu-c-webfont.ttf') format('truetype'),
    url('webfonts/ubuntu-c-webfont.svg#ubuntu_condensedregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on April 2, 2012 */
@font-face {
    font-family: 'IntroRegular';
    src: url('webfonts/intro-webfont.eot');
    src: url('webfonts/intro-webfont.eot?#iefix') format('embedded-opentype'),
    url('webfonts/intro-webfont.woff') format('woff'),
    url('webfonts/intro-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#cboxLoadedContent {
    overflow:hidden;
    display:inline-block;
}

@media (min-width: 1200px) {
    #header_logo {
        background-attachment: fixed;
    }
}

@media (max-width: 1024px) {
    #header_nav #logo_nav {
        display: none;
    }

    #where-wrapper #where-right {
        width: 70vw;
        margin-left: 0;
        margin-top: 70px;
    }

    #where-infos {
        text-align: left;
    }

    div.for_colorbox_content div.infos h1 { 
    	width: 100%
    }  
}

@media (max-width: 856px) {
    .nav-wrapper .nav_explain {
        font-size: .875em;
    }
}

@media (max-width: 787px) {
    .nav-wrapper .nav_explain {
        position: initial;
        margin: auto;
        padding: 5px 10px 5px 10px;
    }
   
    .container_centered .nav-wrapper, 
    .container_centered .wrapper_explain, 
    .container_centered .wrapper_testimonials {
        padding: 0;
    }

    #header_logo {
        width: 100%;
    }

    .nav-wrapper {
        width: 100%;
    }

    .nav-wrapper.explain {
        background-color: #AC1B20;
        width: 104%;
        margin-left: -2%;
        margin-right: -2%;
    }

    ul#nav-list {
        width: 95%;
        text-align: left;
    }

    ul#nav-list li {
        width: 100%;
    }

    ul#nav-list li a {
        width: 15%;
        font-size: 0.857em;
        margin-right: 0;
        padding: 22px 0px 18px 0px;
    }

    #header_lang_eng,
    #header_lang_de {
        width: 25px;
        height: 25px;
        font-size: 11px;
        line-height: 11px;
        padding-top: 8px;
        top: 17px;
        right: 47px;
    }

    #header_lang_de {
        right:20px;
    }

    #header_logo span.arrow {
        top: 25px;
    }

    #header_logo span.tooltip {
        top: 33px;
    }

    #main-wrapper {
        overflow-x: hidden;
    }

    .container_centered {
        width: 100%;
        text-align: left;
        padding-left: 2%;
        padding-right: 2%;
    }

    .section_container .wrapper_content,
    #who-wrapper .wrapper_content {
        margin: 0;
        padding: 5px;
    }

    .section_container .wrapper_explain {
        margin: 12px;
        font-size: 16px;
    }

    #what-wrapper .content {
        width: auto;
        height: auto;
    }

    #with-wrapper .with-box .content-wrapper {
        margin-left: 0;
        width: 100%;
    }

    #with-wrapper .wrapper_content article,
    #what-wrapper .wrapper_content article {
        max-width: 100%;
        width: 100%;
        margin: 20px 0px;
        height: auto;
    }

    #with-wrapper .wrapper_content article {
        text-align: center;
    }

    #for-wrapper .wrapper_testimonials,
    #for-wrapper .wrapper_testimonials article {
        width: 100%;
        padding-left: 5px;
        padding-right: 5px;
        margin-left: auto;
        margin-right: auto;
    }

    #where-wrapper {
        text-align: center;
    }

    #where-wrapper .wrapper_explain {
        text-align: left;
    }

    #where-wrapper .wrapper_content {
        margin: 0;
    }

    #where-wrapper #where-left {
        width: 100%;
        margin: 0;
    }

    #who-wrapper .wrapper_content article {
        margin: 20px 0px 20px 0px;
    }

    #who-wrapper .who-role {
        height: auto;
    }

    form#contact input,
    form#contact textarea,
    #where-wrapper #where-map {
        width: 100%;
    }

    #where-infos p {
        font-size: 15px;
    }

    #for-wrapper .wrapper_content article {
        margin: 20px 0 20px 0;
    }
    #footer-container {
        overflow-x: hidden;
    }

    #footer-bottom #footer-analytics {
        width: 100%;
    }

    #footer-bottom .footer-item {
        margin-left: 0px;
        padding: 5px;
        width: 100%;
    }

    #footer-nav p {
        margin-left: 15px;
    }

    ul#footer-nav-list {
        padding-left: 15px;
    }

    #footer-impressum {
        margin-right: auto;
        margin-left: 45px;
    }

    #footer-social {
        padding-right: 15px;
    }
    form#contact #contact-checkbox-wrapper {
		width: calc(100% - 62px);    
    }
    form#contact #contact-msg {
    	top: 86px;
    	left: 0;
    }
}

@media (max-width: 640px) {
    #header_lang_eng,
    #header_lang_de {
        top: 2px;
        right: 12px;
    }
    
    #header_lang_de {
        top:29px;
    }
}

/*Selector for Retina Display with ca. 2k x 1.5k resolution on 8inch 
  especially on safari.*/
@media only screen
and (orientation: portrait)
and (min-device-width: 768px)
and (max-device-width: 1024px) 
and (-webkit-min-device-pixel-ratio: 1) {
	.slidesjs-next.slidesjs-navigation,
	.slidesjs-previous.slidesjs-navigation {
		opacity: 1 !important;
	} 
	
    #with-wrapper .wrapper_content article {
        width:38%;
        display: inline-block;
        padding-right: 10px;
    }
	div.for_colorbox_content div.infos {
		max-width: 70%;
	}
}

@media screen
and (orientation: portrait) {
    #for-wrapper .wrapper_content article {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    #who-wrapper .wrapper_content article {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    #where-wrapper div#where-left {
        max-width: 90vw;
        display: inline-block;
    }
    
    #where-wrapper div#where-right {
        max-width: 70vw;
        margin-left:0px;
    }
}

#map {
    max-width:100%;
    border: 5px solid white;
    cursor: pointer;
    transition: border 1.0s;
}

#map:hover {
    border: 5px solid #666;
}

#cboxOverlay > * {
    max-width: 100vw;
}



canvas.mapboxgk-canvas {
    width: 250px; !important;
}

@media (max-width: 950px){
	 div.for_colorbox_content div.infos div.info_data{
	 	width: 100%;
	 }
	 div.for_colorbox_content div.infos {
	 	padding-right: 1vmin;
	 }
}

@media (max-height: 700px) {

	#cboxLoadedContent {
		max-height: 100vh;
		overflow-y: auto !important;
	}
}

@media (max-width: 780px) {
	
	.slidesjs-next.slidesjs-navigation::before,
	.slidesjs-previous.slidesjs-navigation::before {
		opacity: 1 !important;
	} 
	
    div.for_colorbox_content {
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        padding: 1%;
    }
    
    div.for_colorbox_content div.infos {
        max-width:70%;
        vertical-align: middle;
        text-align: center;
        order: 2;
        margin: auto;
    }

    div.for_colorbox_content div.infos div.info_data {
        margin: 0;
        height: auto;
        padding-bottom: 1%;
        width: 100%;
   	}
    
    div.for_colorbox_content div.infos h1 {
    	display: inline-block;
    	width: 100%;
    }
    
    div.for_colorbox_content.h1 {
    	width: 100%;
    }
    
    div.for_colorbox_content div.images {
        order: 1;
        max-width: 100%;
        height:20%;
    }
	
    .slidesjs-control, .slidesjs-container {
        padding: 0;
        margin: 0;
        height: 55vmin !important;
    }
    
   	.slidesjs-next.slidesjs-navigation::before {
    	border-width: 1.1vmin 1.1vmin 0 0 !important;
    }
    
	.slidesjs-previous.slidesjs-navigation::before{
    	border-width: 0 0 1.1vmin 1.1vmin !important;
    }
    .slides_js {
    	height: 2;
    	width: 1;
    }
}
/*
 * Cookie Notifier
 * ---------------------------------------------------------------------------
 */
 
 div.cookie-wrapper {
 	z-index: 20;
 	position: fixed;
 	display: none;
 	bottom: 5%;
 	right: 0;
 	height: auto;
 	width: 70%;
 	font-size: 1em;
 	box-shadow: 0 0 30px rgba(0, 0, 0, .3);
 }
 
div.cookie-wrapper.cookie-transition {
	right: -200vw;
	transition: right 1s;
}
 
 div.cookie-content {	
 	width: 100%;
 	height: 100%;
 	display: flex;	
 	background-color: #AC1B20;
 	color: white;
 	align-items: center;
 	justify-content: center;
 }
 
 div.cookie-content #cookie-button,
 div.cookie-content #cookie-button-info,  
 div.cookie-content #cookie-text {
 	padding: 1em;
 	margin: 0.5em;
 	line-height: 1.1em;
 }
 
 div.cookie-content #cookie-button,
 div.cookie-content #cookie-button-info {
 	display: inline-block;
	border: solid;
	border-width: 5px;
	border-color: white;
	color: #5E5854;
 	background: #d7d7d3;
 	padding: 0.6em;
	margin-right: 2em;
	transition: border 0.7s;
 }
 
 div.cookie-content #cookie-button:hover,
 div.cookie-content #cookie-button-info:hover {
	border-color: #38383a;
}
 
@media (max-width: 1024px) {
	div.cookie-wrapper {
		right: 0;
		bottom: 0;
		width: 100%;
	}
	div.cookie-content #cookie-button,
	div.cookie-content #cookie-button-info { 
		margin-right: 2%;
		line-height: 1em;
	}
}
@media (max-width: 640px){
	div.cookie-content {
		display: grid;
		justify-items: center;
	}
	div.cookie-content #cookie-button,
	div.cookie-content #cookie-button-info {
		width: 50%;
	}
}
/* ---------------------------------------------------------------------------
 * Cookie Notifier End
 */


/*
 * Slide Buttons, transparent squares, height of parent
 */
.slidesjs-next.slidesjs-navigation, 
.slidesjs-previous.slidesjs-navigation {
	width: 30%;
	height: 100%;
	top:0;
	margin: 0;
	position: absolute;
	vertical-align: middle;
	z-index: 100;
	text-indent: -999px;
}

/*
 * Shared attributes of Arrows on Slide Buttons 
 */
.slidesjs-next.slidesjs-navigation::before,
.slidesjs-previous.slidesjs-navigation::before {
	content: "";
	z-index: 1000;
	top: 45%;
	position: absolute;
	width: 4vmin;
	height: 4vmin;
	color: darkred;
	opacity: 0;	
	border: solid darkred;
	transform: rotate(45deg);
}

.slidesjs-next.slidesjs-navigation::before{
	right: 20%;
	border-width: 0.8vmin 0.8vmin 0 0;
}

.slidesjs-previous.slidesjs-navigation::before {
	left: 20%;
	border-width: 0 0 0.8vmin 0.8vmin;	
}

.slidesjs-next.slidesjs-navigation:hover::before,
.slidesjs-previous.slidesjs-navigation:hover::before {
	opacity: 0.8;
}

.slidesjs-next.slidesjs-navigation {
	right: 0;
}

.slidesjs-previous.slidesjs-navigation {
	left: 0;
}


.slidesjs-control, .slidesjs-container { 
    max-width: 100%;
    height: auto;
    display: inline-flex;
    color: red;
}

.for_colorbox_content {
    max-width: 100vw;
    height: auto
}

div.slidesjs-slide {
    max-width: 100%;
    height: auto
}

div.slides_js {
    display: inline; /* required by documentation. */
}

div.images {
    margin: 0 auto;
}