/**
 * Theme: LampTech
 * Description: WordPress Theme Engine
 * Author: UPA-Webdesign
 * Author URI: http://www.upa-webdesign.de/
 */

*:after,
*:before,
* {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

/** Globales Zur�cksetzen aller HTML Elemente **/

body {
    color: #000;
    font-size: 14px;
    font-family: Arial, Helvetica, Serif;
    text-align: left;
    background: #fff;
}

#page_margins {
    width: 920px;
    margin: 10px auto 0;
}

/**
 * Kopfbereich / Header
 * @section     header
 */

#header {
    height: 141px;
    background: url(images/rounded_topleer.png) no-repeat scroll left top transparent;
}

#header h1 {
    padding: 20px 0 0;
    text-indent: -9999px;
    background: url(images/logo.gif) no-repeat scroll left top transparent;
    width: 530px;
    height: 125px;
}

#header span {
    padding: 0 20px 0;
    font-size: 16px;
    display: block;
    text-indent: -9999px;
    float: right;
}

/**
 * Hauptnavigation
 * @section     header
 */

/**
 * Navigation
 */
.qtrans_flag {
    height: 20px !important;
    width: 40px !important;
    padding: 5px;
    border-right: 1px solid #fff;
}

.qtrans_flag_de a {
    background: url("/wp-content/themes/basis/images/deutschland.jpg") no-repeat scroll 5px 0 transparent;
}

.qtrans_flag_en a {
    background: url("/wp-content/themes/basis/images/uk.jpg") no-repeat scroll 5px 0 transparent;
}

.qtrans_flag_fr a {
    background: url("/wp-content/themes/basis/images/france.jpg") no-repeat scroll 5px 0 transparent;
}

.qtrans_flag_es a {
    background: url("/wp-content/themes/basis/images/spanien.jpg") no-repeat scroll 5px 0 transparent;
}

.qtrans_flag_pt a {
    background: url("/wp-content/themes/basis/images/portugal.jpg") no-repeat scroll 5px 0 transparent;
}

.langs .langs-home a {
    background: url("/wp-content/themes/basis/images/haus.jpg") no-repeat scroll 5px 0px transparent;
    height: 30px;
    width: 50px;
}

/*a.qtrans_flag:hover {background:#0080ff;}*/

.langs {
    height: 35px;
    width: 100%;
    background: #003399;
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
}

.langs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.0;
}

.langs ul li {
    float: left;
    position: relative;
    margin: 0;
}

.langs li, .langs a {
    display: block;
    width: 50px;
    height: 30px;
    text-indent: -9999px;
}

.langs li:hover {
    background: #0080ff;
}

.menu a, .current_page_item a {
    color: #E2E2E2;
    cursor: pointer;
    line-height: 39px;
    padding: 0 20px;
}

.menu .current_page_item, .menu a:hover {
    background: #403B3C;
}

.menu li ul {
    background: #221E1F;
    margin: 0;
    padding: 0;
}

/** Superfish Menu **/
.sf-menu ul {
    position: absolute;
    top: -999em;
    width: 200px;
}

.sf-menu ul li {
    width: 200px;
}

.sf-menu li:hover {
    visibility: inherit;
}

.sf-menu li:hover ul {
    left: 0;
    top: 39px;
    z-index: 99;
}

/* Links in the sidebar */

#level1current {
    background-color: #292d97;
    color: #fff !important;
    padding: 4px;
}

#level2current {
    background-color: #292d97;
    color: #fff !important;
    padding: 2px;
}

#sidebar a:link,
#sidebar a:active,
#sidebar a:visited {
    text-decoration: none;
}

#sidebar a:hover {
    text-decoration: underline;
}

#sidebar .children li a,
#sidebar .children li a:visited {
    padding: 2px 2px 2px 0px;
    border: 0;
    color: #000000;
}

#sidebar .children li a:hover,
#sidebar .children li a:active {
    color: #000000;
}

/**
 * Haupt Content
 * @section     main
 */

#main {
    padding: 10px 0;
    background: #DFE2FF;
}

.page-id-177 #main {
    background: #003399;
}

.page-id-177 #content {
    width: 920px;
    color: #fff;
}

#content {
    float: right;
    padding: 0 0 15px;
    /*width: 720px;*/
}

#sidebar {
    float: left;
    padding: 10px 4px 0 10px;
    /*width: 180px;*/
}

#sidebar ul {
    margin: 10px 0;
}

#sidebar ul li {
    font-size: 90%;
    font-weight: bold;
    margin-top: 6px;
    padding: 0 0 0 4px;
    list-style: none outside none;
}

#footer {
    padding: 6px;
    color: #fff;
    background: url(images/rounded_bottom.png) no-repeat scroll left top transparent;
    height: 62px;
    border-top: 2px solid #D2D2D2;
}

#footer p {
    margin: 0;
    font-size: 12px;
    text-align: center;
    color: #00BFFF;
}

.footermenu {
    width: 100%;
    text-align: center;
}

.footermenu ul {
    margin: 0;
    list-style-type: none;
}

.footermenu ul li {
    float: left;
    padding-left: 10px;
}

.footermenu a {
    line-height: 15px;
}

/**
 * Artikel / Seite
 * @section     content
 */
 


.article, .page, #comments {
    margin: 0 0 10px 0;
}

#content .entry {
    padding: 10px;
}

span.excerpt_more {
    padding: 10px 0;
    display: block;
}

/** article info box **/
.article .meta {
    border: 1px #ccc solid;
    margin: 6px 8px;
    padding: 6px;
}

.article .meta p {
    margin: 0;
}

.paddleft55 {
    padding-left: 55px;
}

.borderwhite2px {
    border: 2px solid #fff;
}

.frontpic {
    float: left;
    padding: 60px 0 50px 14px;
    width: 30%;
}

.frontpic a { color:#fff; }

.frontpic_m {
    float: left;
    padding: 60px 0 50px 14px;
    width: 30%;
}

.frontpic_r {
    float: right;
    padding: 60px 50px 50px 0;
    width: 30%;
}

.contenttext {
    float: left;
    width: 100%;
    padding-left: 60px;
}

.width100fl {
    float: left;
    width: 100%;
}

.left35 {
    float: left;
    width: 35%;
}

.left40 {
    float: left;
    width: 40%;
}

.left57 {
    float: left;
    width: 57%;
}

.left60 {
    float: left;
    width: 60%;
    margin: 20px 0 0 20px;
}

.bold {
    font-weight: bold;
}

.ptop10 {
    padding-top: 10px;
}

.ptop16 {
    padding-top: 16px;
}

.ptop60 {
    padding-top: 60px;
}

.pleft60 {
    padding-left: 60px;
}

.pleft95 {
    padding-left: 95px;
}

.pleft16 {
    padding-left: 16px;
}

.border0 {
    border: 0 !important;
}

.mright0mtop170 {
    margin-right: 0px;
    margin-top: 170px;
}

.mtop20 {
    margin-top: 20px;
}

.mtop25 {
    margin-top: 25px;
}

.mtop170 {
    margin-top: 170px;
}

.mtop430 {
    margin-top: 430px;
}

.mtop450 {
    margin-top: 450px;
}

.mright0 {
    margin-right: 0;
}

.mright20 {
    margin-right: 20px;
}

.mleft0 {
    margin-left: 0;
}

.mleft20 {
    margin-left: 20px;
}

.clearleft {
    clear: left;
}

/**
 * Widget
 * 
 * @section     sidebar
 */

.widget {
    margin: 0 0 10px 0;
}

span.widget-title {
    font-size: 18px;
}

.widget .entry {
}

.widget .bottom {
}

/**
 * Comment Section
 */

#comments {
}

/** kommentar schreiben **/
#comment_respond {
    background: #EFEFEF;
    padding: 10px;
}

#commentform label {
    width: 160px;
    display: inline-block;
    height: 20px;
}

#commentform input {
    height: 20px;
    border: 1px solid #ccc;
    width: 180px;
}

/**
 * Allgemeine Formatierung von HTML Elementen
 * @section     global
 */

p {
    line-height: 20px;
    margin: 10px 0;
    text-align: left;
}

/** code, pre, blockquote **/
code, pre, blockquote {
    font-family: Serif, Arial, Helvetica;
    font-size: 14px;
    color: #6b6b6b;
}

blockquote {
    border-bottom: 8px solid #6b6b6b;
    border-left: 8px solid #6b6b6b;
    padding: 4px 0 4px 10px;
    margin: 0 0 10px 12px;
}

pre, code {
    color: #0000ff;
    padding: 4px 0 4px 10px;
    margin: 0 0 10px 12px;
}

/* Positionierung von Elementen */
.alignleft {
    float: left;
    display: inline;
    margin-right: 12px;
    margin-bottom: 12px;
}

.alignright {
    float: right;
    display: inline;
    margin-left: 12px;
    margin-bottom: 12px;
}

.aligncenter {
	text-align:center;
	display:inline-block;
}

span.wpcf7-list-item {
    margin-left: 3px !important;
}

/**
 * WordPress Captions
 */
.wp-caption {
    display: block;
    clear: both;
    padding: 8px 0 8px 8px;
    border: 1px solid #ccc;
}

.wp-caption img {
    border: none;
    margin: 0;
    padding: 0;
}

.wp-caption-text {
    margin: 0;
    font-size: 10px;
    text-align: left;
    line-height: 10px;
}

/** LISTEN **/
ul, ol {
    margin: 15px 0;
}

li {
    margin: 0 0 0 10px;
}

#content li {
    margin-left: 50px;
    line-height: 20px;
}

dl {
    margin: 1em 0;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0.5em 1em;
    padding: 0;
}

/** LINKS **/
a {
    color: #222222;
    text-decoration: none;
}

a:hover {
    color: #098AB4;
    text-decoration: underline;
}

#content a {
    text-decoration: underline;
}

#content a:hover {
    text-decoration: none;
}

#footer a, #footer a:visited {
    color: #00BFFF;
    text-decoration: underline;
}

#footer a:hover {
    text-decoration: none;
}

#sidebar a {
    color: #1A222A;
    border-bottom: medium none;
    font-size: 1em;
    line-height: 1.7;
    text-decoration: none;
}

#sidebar a:hover {
    text-decoration: underline;
}

/** Ueberschrift **/
h1, h2, h3, h4, h5, h6 {
    color: #231F20;
    font-family: Verdana, Helvetica, Arial;
    /*font-family:"Myriad Pro Cond","Trebuchet MS";*/
    font-weight: normal;
    letter-spacing: 1px;
    margin: 0 0 10px;
}

h1 {
    color: #194E80;
    font-family: Arial, Helvetica, Georgia, "Times New Roman", Times, serif;
    font-size: 1.6em;
    font-weight: bold;
    margin: 0 10px 0 0;
    padding: 10px 0 0 10px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 19px;
}

h4 {
    font-size: 17px
}

h5, h6 {
    font-size: 15px;
}

/**
 * Hinweise, Notizen, Warnungen
 */

.info {
    background: url("images/info.png") no-repeat scroll 10px 50% #78fe87;
    border: 2px solid #57b603;
    padding: 6px 6px 6px 60px;
}

.note {
    background: url("images/note.png") no-repeat scroll 10px 50% #fcfd88;
    border: 2px solid #cdcf00;
    padding: 6px 6px 6px 60px;
}

.warning {
    background: url("images/warning.png") no-repeat scroll 10px 50% #FFB5B5;
    border: 2px solid #c00000;
    padding: 6px 6px 6px 60px;
}

/**
 * Gallery Layout
 * @section     gallery_shortcode
 */
.gallery {
    margin: auto;
    overflow: hidden;
    width: 100%;
}

.gallery .gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
}

.gallery img {
    border: 2px solid #CFCFCF;
    margin: 0 8px;
}

.gallery .gallery-caption {
    margin-left: 0;
}

.gallery br {
    clear: both;
}

.vcard, .vcard * {
    font-size: 12px;
    line-height: 1;
    color: #00BFFF;
}

.vcard {
    width: 100%;
    text-align: center;
}

.vcard * {
    display: inline;
}

.content {
    margin: 0 75px;
}

.content h2,
.content h3 {
    color: #fff;
    letter-spacing: 0;
    margin-top: 3em;
}

.content h2.pagetitle {
    margin-top: 0;
}

.content p {
    text-align: justify;
}

.content strong {
    font-weight: normal;
}

.content a, .content a:hover, .content a:focus, .content a:active, .content a:visited {
    color: #00BFFF;
}

abbr {
    border: 0 none;
}

/**
 * Clearfix
 * s�ubern von float umgebung
 */
.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}

.clearfix {
    display: block;
}

/*** Responsiv ***/

* { 
    box-sizing: border-box; 
}

#page_margins {
    width: 960px;
    max-width: 100%;
}

#footer,
#header {
    background-size: 100% 100%;
}

#footer {
    height: auto;
}

#header h1 {
    background-size: 100% 100%;
    max-width: 60%;
}

#content {
    max-width: 100%;
}

.langs {
    height: auto;
    box-sizing: content-box;
}

.langs ul {
    box-sizing: inherit;
}

.langs ul li {
    box-sizing: inherit;
}

.wpcf7-textarea, 
.wpcf7-text {
    width: 100%;
}

@media all and (max-width: 767px) {
    .content {
        margin: 0 20px;
    }
    .pleft95 {
        padding-left: 20px;
    }
    .frontpic {
        padding: 10px;
    }
    .paddleft55 {
       padding: 0px;
       display: block;
       text-align: center;
       width: 100%;
    }
}

@media all and (max-width: 480px) {
    .content p {
        text-align: left;
    }
    .frontpic p:last-child {
        display: none;
    }
    .qtrans_flag {
        padding: 2px;
    }
    .wp-caption {
        padding: 8px;
        width: 100%!important;
    }
    .alignleft, 
    .alignright {
        float: none;
    }
    .left57,
    .left40,
    .left35,
    .left60 {
        float: none;
        width: 100%;
        margin: 0;
    }
    .mright0mtop170,
    .ptop10,
    .ptop60,
    .mtop170, 
    .mtop450 {
        padding-top: 0px;
        margin-top: 10px;
    }
}

