
/* devi-gmbh.de Stylesheets */

*, *:before, *:after 
{
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
 	margin: 0; padding: 0;
 }


html, body 
{
 	-webkit-font-smoothing: antialiased !important;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.004); 
	width: 100%;
	height: 100%;
	padding: 0;
}

body
{
/*	background-image: url(../images/content-bg.png);
*/	background-position: center;
	background-color: #fff;	
	font-family: sans-serif;
	margin: 0; padding: 0;
}

body#pg_datenschutz,
body#pg_impressum, 
body#pg_kontakt
{
	background-image: url(../images/studio.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('../fonts/open-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v15-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* noto-serif-sc-regular - latin */
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/noto-serif-sc-v2-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Noto Serif SC'), local('NotoSerifSC-Regular'),
       url('../fonts/noto-serif-sc-v2-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/noto-serif-sc-v2-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/noto-serif-sc-v2-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/noto-serif-sc-v2-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/noto-serif-sc-v2-latin-regular.svg#NotoSerifSC') format('svg'); /* Legacy iOS */
}


video
{
	background-color: transparent;
	background: transparent;
	width: 100%;
	max-height: 400px;
	
}
h1, h2, h3, p, ul
{
	font-family: 'Open Sans', sans-serif;
}

h1
{
	font-weight: normal;
	letter-spacing: 0.1em;
	padding: 0;
	margin: 20px 0 0 0;
	font-size: 24px;
	line-height: 1.2;
  	white-space: normal;	
}

@media screen and (min-width: 600px) 
{
	h1
	{
		font-size: 28px;
	}
}

@media screen and (min-width: 900px) 
{
	h1
	{
		font-size: 36px;
	}
}

h1.hero-text
{
	font-size: 24px;
}
@media screen and (min-width: 600px) 
{
	h1.hero-text
	{
		font-size: 30px;
	}
}
@media screen and (min-width: 800px) 
{
	h1.hero-text
	{
		font-size: 36px;
	}
}

h2
{
	margin: 10px 0 20px 0;
	font-weight: normal;
	font-size: 20px;
	padding: 0;
}
@media screen and (min-width: 900px) 
{
	h2
	{
		font-size: 24px;
	}
}

h2.hero-text
{
	font-size: 18px;
}

@media screen and (min-width: 900px) 
{
	.hero h2
	{
		font-size: 24px;
	}
}

h3
{
	margin: 10px 0 10px 0;
	font-weight: normal;
	color: #888;
	letter-spacing: 0.05em;
	font-size: 20px;
	padding: 0;	
}

h4
{
	margin: 10px 0 5px 0;
	color: #68829c;
	font-weight: normal;
	letter-spacing: 0.1em;
	font-size: 18px;
	padding: 0;
	line-height: 1.2;	
}

p
{
	color: #555;
	font-size: 16px;
	line-height: 1.5;
}

li
{
	color: #555;
	font-size: 16px;
}

@media screen and (min-width: 900px) 
{
	p, li
	{
		font-size: 18px;
	}
}

ul
{
	max-width: 98%;
}

.hr 
{
  background: #e0e0e0 none repeat scroll 0 0;
  border-left: 0px solid #446f39;
  border-right: 0px solid #446f39;
  clear: both;
  float: left;
  font-size: 1px;
  height: 1px;
  margin: 10px 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.column 
{
  display: inline-block;
  float: left;
  height: auto;
  margin: 0;
  padding: 0 2em 0 0;
  position: relative;
  width: auto;
  line-height: 1.5;
}
.clear 
{
	clear: both;
}


#pg_datenschutz .cto-inner p,
#pg_impressum .cto-inner p
{
	text-align: justify;
   text-justify: inter-word;
    	
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

/* Text helper */
.txt-red
{
	color: #de2525;
	color: #FF0000;	
}

#dbg
{
	position: fixed;
	top: 5px;
	right: 10px;
	font-size: 14px;
	z-index: 10000;
display:none;
}
#dbg p
{
	font-size: 14px;
}


#header_bg
{
	float: left;
	clear: none;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	text-align: center;
	position: relative;
	top: 0;
	z-index: 1000;
	
	background-color: #222;
/*	background-image: url(../images/content-bg.png);
	background-position: center;*/
}

#header_wrap
{
	width: inherit;
	max-width: 1400px;
	margin: 0 auto;
}

#logo_bg
{
	margin: 10px 1% 10px 1%;
}

@media screen and (min-width: 651px)
{
	#logo_bg
	{
		float: left;
		margin: 10px 1% 10px 1%;	
	}
}


#logo_bg img
{
/*	width: 32px;*/
	outline: 0;
	border: none;
}

.txt-white
{
	color: #fff;
}

.txt-black
{
	color: #333;
}

.txt-blue
{
	color: #06446f;
	color: #4f81b4;
}

.txt-center
{
	text-align: center;
}

.txt-left
{
	text-align: left;
}

.txt-bigger
{
	font-size: 120%;
}

.bg-white
{
	background-color: #fff;
}

#topnav
{
	float: none;
	clear: none;
	width: auto;
	margin: 10px 0 10px 0;
	padding: 0;
	font-family: sans-serif;
	font-family: 'Open Sans', sans-serif;	
	text-align: center;
	
}

@media screen and (min-width: 651px)
{
	#topnav
	{
		float: right;
		margin: 30px 10px 0 0;		
	}
}

@media screen and (min-width: 1501px)
{
	#topnav
	{
		float: right;
		margin: 30px 5% 0 0;		
	}
}

#topnav a
{
	margin: 0;
	color: #666;
	text-decoration: none;
	letter-spacing: 0.1em;
	font-weight: bold;
	padding: 5px;
	font-size: 0.8em;	
}

@media screen and (min-width: 651px)
{
	#topnav a
	{
		margin: 0 10px 0 10px;
		padding: 10px;
		font-size: 0.9em;	
	}	
}

@media screen and (min-width: 801px)
{
	#topnav a
	{
		font-size: 1.0em;	
	}	
}


#pg_home #topnav a#tn-home,
#pg_impressum #topnav a#tn-impressum,
#pg_kontakt #topnav a#tn-kontakt
{
	border: 1px solid #999;
	color: #999;
}



#content
{
	width: 100%;
	height: auto;
	clear: both;
/*	min-height: 550px;*/
	float: left;
	margin: 0;
	padding: 0;
/*	background-color: rgba(255,255,255,0.85); */

	position: relative;
	overflow: hidden;	
}

.cto-full
{
	width: 100%;
	height: auto;
	padding: 40px 0 40px 0;
	
	display: flex;
	align-items: center;
	justify-content: center;		
}

#pg_kontakt .cto-full
{
	display: block;
}

.cto-inner
{
	width: auto;
	height: auto;
	padding: 10px 0 10px 0;
	max-width: 96%;
}

@media screen and (min-width: 901px)
{
	#pg_impressum .cto-inner,
	#pg_datenschutz .cto-inner,
	#pg_home .cto-inner
	{
		margin: 0 auto;
		max-width: 800px;
	}
}
	
.cto-50-right
{
	float: right;
	width: 50%;
	height: auto;
	margin: 0 0 5px 0;
	padding: 40px 0 40px 0;
}
.cto-50-left
{
	float: left;
	width: 50%;
	height: auto;
	padding: 40px 0 40px 0;
}

#contact-addr
{
	clear: both;
	padding: 10px 0 20px 2%; 
	max-width: 96%;	
}

#contact-map
{
	max-width: 96%;
	margin: 0 auto;
	height: 400px;
	clear: both;	
	padding: 0; 
	
	background-image: url(../images/mapbg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	
	filter: grayscale(100%);
	 
-webkit-transition: 0.3s -webkit-filter linear;
-moz-transition: 0.3s -moz-filter linear;
-moz-transition: 0.3s filter linear;
-ms-transition: 0.3s -ms-filter linear;
-o-transition: 0.3s -o-filter linear;
transition: 0.3s filter linear, 0.3s -webkit-filter linear;	
}

#contact-map:hover
{
	filter: grayscale(0%);
}

@media screen and (min-width: 801px)
{
	#contact-map
	{
		clear: none;	
		float: left;
		width: 46%;
		margin: 0 0 20px 2%;
	}	
	#contact-addr
	{
		clear: none;	
		float: right;
		width: 48%;
		margin: 0 2% 0 0;
		padding: 0;
	}	
}

#gmap
{
	width: 100%;
	height: 400px;
}

.img-left
{
	float: left;
	margin-left: 20px;
	max-width: 80%;
}

.img-right
{
	float: right;
	margin-right: 20px;
	max-width: 80%;	
}


#text
{
	width: 96%;
	margin-left: 2%;		
	height: auto;
	padding-bottom: 20px;
	  	
	word-break: break-all;	
	word-wrap: break-word;		
	overflow-wrap: break-word;	
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

@media screen and (min-width: 601px) 
{
	#text
	{
		padding-left: 1%;		
	}	
}

@media screen and (min-width: 901px)
{
	#text
	{
		float: left;
		width: auto;
	}	
}
@media screen and (min-width: 1001px)
{
	#text
	{
		padding-left: 2%;
	}	
}
@media screen and (min-width: 1101px)
{
	#text
	{
		padding-left: 3%;
	}	
}

@media screen and (min-width: 1201px)
{
	#text
	{
		padding-left: 4%;
	}	
}
@media screen and (min-width: 1501px)
{
	#text
	{
		padding-left: 7%;
	}	
}

#text555 .column
{
	float: left;
	display: inline-block;
	width: 100%;
	padding: 0;
}

span.label
{
	display: inline-block;
	width: 5em;
}

span.label2
{
	display: inline-block;
	color: #888;
	font-weight: bold;
	letter-spacing: 0.05em;
	width: 5em;
}

#pg_datenschutz #text p
{
	text-align: justify;
 	text-align: justify;
   text-justify: inter-word;
    	
	word-break: break-all;	
	word-wrap: break-word;		
	overflow-wrap: break-word;	
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;

}

ul.checkmark
{
	clear: both;
	max-width: 98%;
	margin: 20px 0 20px 0;
	border-left: 6px double #eee;
	border-right: 6px double #eee;	
	list-style-type: none;
	list-style: none;
	white-space: normal;	
}
ul.checkmark li
{
	background-image: url(../images/checkmark.png);
	background-repeat: no-repeat;
	background-position: left 10px;
	padding: 0 0 0 30px;
	margin: 0 0 0 2%;
	line-height: 2.0;
	width: 96%;
	max-width: 98%;
	vertical-align: top;
	text-align: left;

}

ul.checkmark li span
{
	color: #555;
}

ul.deflist
{
	margin: 15px 0 15px 30px;
}
ul.deflist li
{
	list-style: circle;
	line-height: 1.6;
	color: #de2525;
	color: #333;
}

ul.deflist li span
{
	color: #555;
}


@media screen and (min-width: 401px)
{
	ul.checkmark
	{
		padding: 10px;
	}
}
@media screen and (min-width: 601px)
{
	ul.checkmark
	{
		padding: 10px;
		margin: 15px 0 15px 0;
	}
}



ul.brush
{
	display: inline-block;
	background: #f4f4f4;
	padding: 5px;
	width: 17em;
	max-width: 100%;	
	vertical-align: middle;
	margin: 10px 0 10px 0;

  box-shadow: 1px 1px 2px rgba(50, 50, 50, 0.1);		
}

@media screen and (min-width: 401px)
{
	ul.brush
	{
		padding: 10px;
		width: 22em;	
	}
}
@media screen and (min-width: 601px)
{
	ul.brush
	{
		padding: 10px;
		width: 24em;	
		margin: 15px 0 15px 0;
	}
}

ul.brush span
{
	float: right;
}

ul.brush img
{
	opacity: 0.6;
	cursor: pointer;
	vertical-align: middle;	
}

ul.brush img:hover
{
	opacity: 1.0;
}

ul.brush li
{
	background-image: url(../images/brush.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 0 0 0 28px;
	list-style: none;
	line-height: 2.0;
}

.spacer
{
	height: 10px;
	width: 100%;
	display: block;
	float: left;
	clear: both;	
}

.spacer-5
{
	height: 5px;
	width: 100%;
	display: block;
	float: left;
	clear: both;
}

.spacer-20
{
	height: 20px;
	width: 100%;
	display: block;
	float: left;
	clear: both;		
}

#footer
{
	background-color: #0d4973;
	background-color: #222;

	width: 100%;
	height: auto;
	min-height: 150px;
	
	padding: 10px 0 20px 0;
	font-family: 'Open Sans', sans-serif;	
	
	position: relative;
	clear: both;
	bottom: 0;
	font-size: 1.0em;
	overflow: hidden;
	
	color: #fff;
	
	border-top: 8px solid #555; 
}

#footer-nav
{  	
	margin-top: 30px;	
	text-align: center;
	line-height: 2;	
}


#footer-nav .ftr-br
{
	display: block;
	width: 100%;
	height: 0px;
	clear: both;
}

@media only screen and (min-width: 601px) 
{
	#footer-nav #break-1
	{
		display: none;
	}
	
	#ico-phone
	{
		margin: -4px 0 0 20px;
	}
}

@media only screen and (min-width: 1001px) 
{
	#footer-nav #break-2
	{
		display: none;
	}
	
	#ico-mail
	{
		margin: 0 0 0 40px;
	}
}

@media only screen and (min-width: 1501px) 
{
	#footer-nav 
	{
		width: auto;
		margin: 30px 50px 0 0;	
		line-height: 2.5;
		text-align: center;
	}	
}

#footer a, .ftr-static
{
	display: inline-block;
	font-size: 0.9em;
	margin: 0 0 0 0;
	padding: 0;
	color: #fff;
	text-decoration: none;
	letter-spacing: 0.05em;
	transition: all 0.3s;
	outline: 0;
}

#footer span.ftr-link
{
	text-decoration: none;
	padding-bottom: 3px;
	transition: all 0.3s;	
}

#footer span.ftr-link:hover
{
	border-bottom: 1px dotted #fff;
}

#footer p
{
	color: #333;
}

#footer a#fn-impressum
{
	padding-right: 20px;
}

#footer-nav img
{
	margin-right: 10px;
	vertical-align: middle;
}



.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  border-radius: 4px;
  outline: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.105);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.8) url(../images/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  z-index: 200;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-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;
  -moz-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 
{
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover 
{
  background-color: #0D4973;
  opacity: 1;
}
@media only screen and (min-width: 768px) 
{
  .cd-top 
  {
    right: 20px;
    bottom: 20px;
  }
}

@media only screen and (min-width: 1024px) 
{
  .cd-top 
  {
    height: 40px;
    width: 40px;
    right: 40px;
    bottom: 170px;
  }
}

.button
{
	display: block;
	background-color: #079769;
	background-color: #4178AE;
	color: #fff;
	border-radius: 4px;
	text-decoration: none;
	outline: 0;
	padding: 10px;
	width: 8em;
	text-align: center;
	vertical-align: middle;
	font-size: 20px;
	letter-spacing: 0.05em;
  	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.10);	   
  	transition: all 0.25s;	
}

.button img
{

	margin: -2px 0 0 5px;
}

.button:hover,
.button2:hover
{
	background-color: #2F5780;
  	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.20);	   	
}

.button2
{
	display: inline-block;
	float: none;
	background-color: #079769;
	background-color: #4178AE;
	color: #fff;
	border-radius: 4px;
	text-decoration: none;
	outline: 0;
	padding: 10px;
	width: 14em;
	text-align: center;
	vertical-align: middle;
	font-size: 20px;
	letter-spacing: 0.05em;
  	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.10);	   
  	transition: all 0.25s;	
  	cursor: pointer;
}
.button2 img
{
	float: right;
	margin: 3px 15px 0 0;
}
  

#cform
{
	width: auto;
	max-width: 96%;
	padding: 10px;
	background: #eee;
	margin: 0 auto;
	margin-bottom: 20px;
	margin-top: 20px;
	text-align: left;
	border-radius: 5px;
  	box-shadow: 0px 1px 4px 4px rgba(0, 0, 0, 0.070);	   	
}

@media screen and (min-width: 801px)
{
	#cform 
	{
		max-width: 600px;
	}
}

label
{
	display: block;
	float: left;
	clear: left;
	margin: 5px 0 0 3px;
	font-size: 14px;
}

::selection {
  background: #0e507e; /* WebKit/Blink Browsers #ffffd4*/
  color: #fff;  
}
::-moz-selection {
  background: #0e507e; /* Gecko Browsers */
  color: #fff;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #888;
  font-style: italic;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #888;
  font-style: italic;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #888;
  font-style: italic;
}
:-moz-placeholder { /* Firefox 18- */
  color: #888;
  font-style: italic;
}

input[type="text"],
textarea
{
	font-family: "Courier New", Courier, monospace;
	font-family: "Droid Sans Mono";	
	font-size: 16px;
	color: #555;
	padding: 5px;
	width: 100%;
	border: 1px solid #ddd;
	letter-spacing: 0.09em;
	margin-top: 3px;
}

textarea
{
	resize: vertical;
	min-height: 150px;
}

#cf-submit
{
	float: none;
	margin: 0 auto;
	margin-bottom: 10px;
	font-size: 15px;
	clear: both;
	display: block;
	color: #fff;
	border-radius: 4px;
	text-decoration: none;
	outline: 0;
	padding: 10px;
	width: 8em;
	text-align: center;
	vertical-align: middle;
	letter-spacing: 0.05em;
  	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.10);	   
  	transition: all 0.25s;	
	background-color: #4178AE;
	cursor: pointer;		
}

#cf-submit:hover
{
  	box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.30);	   	
	background-color: #2F5780;
}

#cform p
{
	font-size: 15px;
	padding: 5px;
}

label[for="chk-ds555"]
{
	display: inline-block;
	font-size: 15px;
	padding: 5px;
	margin: -10px 0 0 0;
	color: #555;
	font-family: 'Open Sans', sans-serif;	
}

input[type="checkbox"]
{
 position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;	
}

.chk-label 
{
	font-family: 'Open Sans', sans-serif;	
  	display: block;
  	position: relative;
  	padding-left: 5px;
  	margin-bottom: 5px;
  	margin-top: 0;
  	margin-left: 0;
  	cursor: pointer;
  	font-size: 16px;
  	color: #555555;
  	-webkit-user-select: none;
  	-moz-user-select: none;
  	-ms-user-select: none;
  	user-select: none;
}


.chkmark {
  position: absolute;
  top: 0;
  left: 120px;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 1px solid #bbb;
}

/* On mouse-over, add a grey background color */
.chk-label:hover input ~ .chkmark  {
  background-color: #bbb;
}

/* When the checkbox is checked, add a blue background */
.chk-label input:checked ~ .chkmark 
{
  background-color: #06446f;
  background-color: #de2525;
}

/* Create the checkmark/indicator (hidden when not checked) */
.chkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.chk-label input[type="checkbox"]:checked ~ .chkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.chk-label .chkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


.cfnogo
{
	background-color: #555;
	cursor: not-allowed;
}

.cfgo
{	
	background-color: #079769;
}  	

.cfgo:hover
{	
  	box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.30);	   	
	background-color: #057854;
}  	

select
{
	width: 100%;
	font-size: 15px; 
	color: #555; 
	padding:2px; 
	border-color: #f5f5f5;
	border-style: solid;
	background: #fff;
}

#frm-status
{
	display: none;
	background-image: url(../images/ico-warning.png);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 22px;
	padding: 4px 0 4px 30px !important;
}
