/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

.left {

float: left;

}

.right {

float: right;

}



/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * ../img/, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
../img/,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



body {
    background: #efefef /* url(../img//background.jpg) no-repeat left top */; 
    font-family: 'Open Sans', sans-serif;
    font-size:12px;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 14px;
}

ul {
	margin: 0 0 0 20px;
	padding: 0;
	
	}
	
li {
	
	
	list-style-type: disc}

p {
    margin: 0;
    padding: 8px ;
    color:#333;
    line-height: 22px;
  
}
../img/ {
    border: medium none;
}
br {
    margin: 5px 0;
}
a:link {
    color: #09F;
    text-decoration: underline;
}
a:visited {
    color: #09F;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
a:active {
    color: #09F;
    text-decoration: underline;
}
.clear {
    clear: both;
}
hr {
    color: #FFFFFF;
    opacity: 0.2;
}
select {
    margin: 0;
    padding: 0;
}
form {
    margin: 0;
    padding: 0;
}

h1 {
    color: #333;
    font-size: 28px;
	padding: 0 0 25px 5px;
	line-height: 25px;

    
}
h2 {
    color: #444;
    font-size: 18px;
    font-weight: bold;
    padding: 0 0 25px 5px
}
h3 {
    color: #666;
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 25px 5px
}
.clear {
    clear: both;
}


#wrapper {
    height: auto;
    margin: 0 auto;
    padding: 0;
    width: 100%;
	
}

.logo.mobile {

display:none;
padding: 5px;


}


.top-section {


   	margin: 0 auto;
    width: 100%;
    height: 600px;


}


.mid-section {

	
	height: auto;
	overflow: hidden;
   	margin: 0 auto;
    width: 100%;
    background-color: #fff;
     min-height: 1px;
    

}


.wrapper {
    width: 1028px;
    margin: 0 auto;
    padding: 60px 0 70px;
    height: auto;
    min-height: 1px;
}




.mid-section.arbeitsgebiet {

background-color: #e9ebef;


}


.mid-section.kontakt {

background-color: #666666;
height: auto;

}


.mid-section.kontakt h2 {

color: #fff;
font-size: 30px;
text-align: center;
padding: 50px 0 20px;
font-weight: normal;


}


.mid-section.arbeitsgebiet h2 {


}


.mid-section.kontakt .social {
    text-align: center;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 20px;
}


.telefon container {


    width: 100%;
     text-align: center;


}


.mid-section.impressum {


display:none;


}



.mid-section.kontakt .telefon {
   
	width: 200px;
    font-size: 18px;
    margin: 0 auto;
    
}

.mid-section.kontakt .nummer {
    float: left;
    font-size: 22px;
    line-height: 49px;
    padding-left: 5px;
}

.leistung-section {

   	margin: 0 auto;
    width: 100%;
    height: auto;	


}



.leistungen-text {



	display: block;
	padding-left: 10%;
	padding-top: 10%


}


.header_container {


width: 100%;

}


.header {

   /*  height: 190px; */
    margin: 0 auto;
    width: 100%;
    padding: 0 5px;
    background-color: #333;
 /*    opacity: 0.8; */
/*     -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; */

 

}


.header2 {


   /*  height: 190px; */
    margin: 0 auto;
    width: 100%;
    padding: 0 5px;
    background-color: #000;
 /*    opacity: 0.8; */
/*     -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; */



 

}


.header_cont1 {

	width: 1028px;
    margin: 0 auto;
    height: auto;

}

.header_cont2 {

 	width: 1028px;
    margin: 0 auto;
    background-color: #000;
    height: auto;

}



.background {

 
    background: url(../img/deafworldbg.jpg) no-repeat fixed center;
    color: white;
    height: 600px;
    margin: 0 auto;
    padding: 0;
    background-size: 100% 100%;
    transition: height 300ms ease 0s;
    width: 100%;
    
}




#fahnen {

    line-height: 22px;
    width: 97px;
    float: right;
    padding: 16px 0;
}


.russisch {

    background: transparent url(../img//russisch.gif) no-repeat;
		width: 38px;
		height: 17px;
		display: block;
		float: left;

}

.deutsch {

    background: transparent url(../img//deutsch.gif) no-repeat;
		width: 23px;
		height: 17px;
		display: block;
		float: left;

}




.social {


/* width: 97px; */
float: left;
padding: 12px 15px 0 0 ;

}


.logo {



		float: left;
		padding-top: 5%	;
		display: inline;
   		 max-width: 100%;
    	height: auto;
}


.hands {



		float: right;
		padding-top: 0%;
		padding-right: 10%;
		display: inline;
   		 max-width: 100%;
    	height: auto;
}


ul.leistungen {


color: #333;


}

ul.leistungen li {


padding: 5px;


}


.list-left {
    float: left;
    width: 45%;
    padding: 20px;
}






#kontakt-nummern {

padding: 18px 0 0 10px;
float: left;
font-size: 13px;


}

#kontakt-nummern ul {

margin: 0px;
padding: 0px;

}

#kontakt-nummern ul  li{

float: left;
list-style-type: none;
padding-right: 20px;

}

#kontakt-nummern ul li.last {
padding-right:0;
}




.blue {

color: #6699cc;
display: inline;
font-weight: bold;

}


.mob-nav ul {

float: right;
list-style-type: none;
display:none;


}


.mob-nav ul li  {

position: relative;
list-style-type: none;
font-size: 14px;

}

.mob-nav ul li a {

margin: 20px 0:
font-size: 14px;


}





ul.dropdown  {


display: none;
margin: 0;
padding: 0;

}




.mob-nav ul li .dropdown  {


/* display:none; */
position: absolute;
right: 0;
top: 0px;

}

.mob-nav ul li .dropdown li   {


background-color: #333;
padding: 10px;
color: #fff;

}




.mob-nav ul li .dropdown li a  {


color: #fff;
text-decoration: none;

}

.mob-nav ul li .dropdown li a:hover  {


text-decoration: underline;

}




#navigation {

/* width:402px; */
float: right;
height: auto;
font-size: 15px;


}

#navigation ul {

margin: 0px;
padding: 0px;

}

#navigation ul li {
    /* background: transparent url(../img//nav-bg.png) no-repeat; */
    /* width: 124px; */
    /* height: 34px; */
    float: left;
    list-style-type: none;
    text-align: center;
    padding: 16px;
    /* margin-right: 10px; */
}

#navigation ul  li a:link {

color: #fff;
text-decoration:none;

}

#navigation ul  li a:visited {
    color: #fff;
    text-decoration: underline;
}
#navigation ul  li a:hover {
    color: #fff;
    text-decoration: underline;
}

#navigation ul  li a:active {
    color: #fff;
    text-decoration: underline;
}




.text-box.ru {
    font-size: 13px;
    line-height: 22px;
    width: 37%;
}



	
 .text-box {
    font-size: 13px;
    line-height: 22px;
    width: 33%;
}


.text-box p {

	padding:  20px 0;
	color:#fff;
	
}


	
#box-container {

background: transparent url(../img//box-top.png) no-repeat top center;
width: 851px;
height: auto;

}

#box-inside {

width: 820px;
margin: 0 auto;
}

#box-bottom {

background: transparent url(../img//box-bottom.png) no-repeat;
width: 851px;
height: 32px;
}


.inside-left {

float: left;
width: 400px;
margin-right: 10px;

}

.inside-right {

float: left;
width: 400px;

}

#video-box {

background: transparent url(../img//video.jpg) no-repeat;
width: 380px;
height: 253px;
margin: 25px 0 0 20px;

}

#footer {
    display: block;
    height: auto;

    
}

#footer #copyright {
    float: right;
    padding: 15px;
    width: 100%;
    text-align: center;
    color: #fff;
    background-color: #000;
}



#footer .impressum {
    display: inline;
    cursor:pointer;

}

#footer .impressum:hover{
   text-decoration:underline;

}




 td {
                 text-align: left;
                }

                input
                {
                 margin: 0px;
                 background-color: #ededed;
                 border: 1px solid #FFF;
                 color: black;
                }
                textarea
                {
                 font-family: Arial, Tahoma;
                 border: 1px solid #FFF;
                 background-color: #ededed;
                 color : black;
				 width: 300px;
                }
                .mail { color: #fff; font-weight: bold;}









/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    ../img/ {
        page-break-inside: avoid;
    }

    ../img/ {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}



/* kontakt form */


.form-control{
	width: 350px;
	height: 40px;
	border: none;
	font-family: 'Lato', Arial, sans-serif;
	font-weight:400;
	font-size: 1em;
	text-align: center;
	margin:0;
	color:#fff;
	background: rgba(255, 255, 255, 0.65) none repeat scroll 0 0;
	border: 1px solid #fff;
-webkit-border-radius:0;
	-moz-border-radius:0;
	border-radius:0;
-webkit-appearance:none;
-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-moz-transition:all 0.3s; -webkit-transition:all 0.3s; -o-transition:all 0.3s; transition:all 0.3s;
	opacity: 0.8;
}

.form-control:hover{
	background: #fff;
	color:#6f91af;
}


.form-control.message {

	height: 80px;

}


.btn-default{

    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
    font-family: "Lato",Arial,sans-serif;
    font-size: 1em;
    font-weight: 400;
    height: 40px;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
    width: 210px;
    margin-top: 20px;
}


.btn-default:hover {
    background: #fff none repeat scroll 0 0;
    color: #6f91af;
}



.col-lg-2 {
    color: #fff;
    font-family: "Lato",Arial,sans-serif;
    font-style: normal;
    font-weight: 400;
    display:block;
    text-align: center;
    padding: 10px 0;
    text-transform:uppercase;
}


.cfg-contactform {
    width: 334px;
    margin: 71px auto 0;
    padding: 0px 2% 0 2%;
    text-transform: uppercase;
}

.hidden {

display: none;

}

#form-messages {

	width: 85%;
	margin: 50px auto;
	padding: 15px;
	color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    border: 1px solid transparent;
    border-radius: 4px;
	text-align: center;
	font-size: 18px;
}


.success {
  padding: 1em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #468847;
  display: block!important;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.error {
  padding: 1em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #b94a48;
    display: block;
  background-color: #f2dede;
  border: 1px solid rgba(185, 74, 72, 0.3);
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}



#fahnen_mobile {

display:none;

}




/* MEDIA QUERIES */





/* Handheld. Handles both portrait and landscape. */
@media (min-width: 320px) and (max-width: 568px) {



#kontakt-nummern {


float:left;
width: 60%;
}


#kontakt-nummern ul li {


padding: 10px 0;
width: 70%;

}


.mob-nav {

margin-top: 20px;


}

#fahnen {

display:none;

}

#fahnen_mobile {

display:block;
float:right;
margin: 16px 12px 0 0;

}



.wrapper {
    width: 98%;
    margin: 0 auto;
    padding: 60px 0 70px;
}



.social {


margin-left: 2px;


}


.social img {


width: 80%;

}


.header_cont1 {

width: 98%;

}


.background {

 
    background: url(../img/deafworldbg.jpg) no-repeat top center #fff;
    color: white;
    max-height: 200px;
    margin: 0 auto;
    padding: 0;
    background-size: cover;
    transition: height 300ms ease 0s;
    width: auto;
    
}



.header_cont2 {

width: 98%;

}

a[href^=tel] { color: inherit; text-decoration: none; }








.text-box.ru {
    padding: 0;
    width: 98%;
    float: left;
    margin: 0;
    height: auto;
}




.text-box {

width: 98%;
padding: 0px;
margin: 0;
display: inline;
height: auto;
float:left;

}

.text-box p {
    padding: 5px 0;
    color: #fff;
}



#navigation {

display:none;

}

.mob-nav ul {


display:block;

}

.mob-nav {

float:right;


}


.form-control{
	width: 95%;

}



.logo {

display: none;


}

.logo.mobile {

display:block;
width: 80%;
height: auto;
padding: 5px;

}

.hands {

display:none;

}

.wrapper {

padding: 10px 0;

}


h1 {
    color: #333;
    font-size: 22px;

	line-height: 25px;

    
}

.leistung-section {


max-height: 200px;


}

.list-left {
    float: left;
    width: 90%;
    padding: 20px;
}

.cfg-contactform {
    width: auto;

}

.header {

padding: 10px 5px;


}


.header2 {

  padding: 0px 5px;

}   


}



/* Handheld. Handles both portrait and landscape. */
@media (min-width: 568px) and (max-width: 898px) {


.background {

 
    background: url(../img/1280x900_bg.jpg) no-repeat top center #fff;
    color: white;

    margin: 0 auto;
    padding: 0;
    background-size: cover;
    transition: height 300ms ease 0s;
    width: auto;
    
}


.header {

padding: 10px 5px;

}


.background {

height: 500px;


}


.social {

width: 100%;

}



#kontakt-nummern {

padding: 18px 0 0 10px;
float: left;
font-size: 13px;


}


.header_cont1 {

width: 98%;

}


.header_cont2 {

width: 98%;

}


#navigation {

display:none;

}

.mob-nav ul {


display:block;

}

.leistung-section {
    height: 500px;	
    max-height: 380px;

}

.wrapper {
    width: 98%;
    margin: 0 auto;
    padding: 30px 0 40px;
}



#kontakt-nummern {

padding: 18px 0 10px 2px;
float: left;
font-size: 13px;


}

.text-box.ru {
    padding: 0;
    width: 98%;
    float: left;
    margin: 0;
    height: auto;
}





.text-box {

width: 98%;
padding: 0px;
margin: 0;
display: inline;
height: auto;
float:left;

}

.text-box p {
    padding: 10px 5px;
    color: #fff;
}


.hands {


position:relative;
right: 2%;
top: 20%;
height: auto;
width: 30%;
}




}





/* Tablet. Handles both portrait and landscape. */
@media (min-width: 898px) and (max-width: 1028px) {



.background {

 
    background: url(../img/1280x900_bg.jpg) no-repeat top center #fff;
    color: white;

    margin: 0 auto;
    padding: 0;
    background-size: cover;
    transition: height 300ms ease 0s;
    width: auto;
    
}




.wrapper {
    width: 98%;
    margin: 0 auto;
    padding: 60px 0 70px;
}


#navigation {

display:block;

}

#navigation ul li {

font-size: 12px;

}


#kontakt-nummern {

font-size: 11px;


}


.text-box {
    font-size: 13px;
    line-height: 22px;
    width: 40%;
}


.header_cont1 {

width: 98%;

}

.header_cont2 {

width: 98%;

}



}


/* Tablet. Handles both portrait and landscape. */
@media (min-width: 1028px) and (max-width: 1920px) {


.logo {
    float: left;
    padding-top: 3%;
    display: inline;
    max-width: 100%;
    height: auto;
}

.header {

position: fixed;
z-index: 100;


}

.header2 {

padding-top: 50px;


}



}



}

