/*
Theme Name: Maplan
Theme URI: maplan.de
Description: Template maplan.de
Author: Robin Geist
Author URI: fuse.de
*/

@import url(https://fonts.googleapis.com/css?family=Exo:400,500);
@font-face {
   font-family: 'Exo 2';
   src: url(font/exo.eot);
}

/* WP - SYLES */
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}

/***********/
/* GENERAL */
/***********/

.mobile {
    display: none;
}

img {
    border: none;
}

* {
    margin: 0;
    padding: 0;
    border: none;
}

body {
    background-image: url('images/body-bg.png');
    background-repeat: repeat-x;
    background-position: 0 0;
    background-color: #fff;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 12px;
    color: #666666;
}

div#wrapper {
    width: 970px;
    margin: 0 auto;
    position: relative;
}

div.clear {
    display: none;
    clear: both;
}

div.headline {
    position: absolute;
    margin-left: 230px;
    height: 70px;
    width: 730px;
    background-image: url(images/header-bg.png);
    background-position: 18px 33px;
    background-repeat: no-repeat;
}

div.headline h1 {
    margin: 10px 10px 10px 95px 
}

h1, h2 {
    font-family: 'Exo','Exo 2', sans-serif;
    font-weight: normal;
    font-size: 30px;
    color: #000;
}

a {
    color: #000;
    text-decoration: underline;
}

/**********/
/* HEADER */
/**********/

div#header {
    height: 150px;
}

div#header img.logo {
    float: right;
    margin: 15px 20px 0 0;
}

/* Navigation */
div#header ul.mainnav {
    float: left;
    margin: 118px 0 0 30px;
}

div#header ul.mainnav li {
    float: left;
    list-style: none;
    margin-left: 40px;
    padding: 4px 6px 4px;
}

div#header ul.mainnav li a {
    color: #000;
    text-decoration: none;
    font-size: 12px;
}

div#header ul.mainnav li.current_page_item, div#header ul.mainnav li.current_page_parent {
    background: #d7d7d7;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    font-weight: bold;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
}

div#header ul.mainnav li.hover {
    background: #d7d7d7;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
}

div#header ul.mainnav li.current_page_item ul.children li, div#header ul.mainnav li.current_page_parent ul.children li, div#header ul.mainnav li.hover ul.children li {
    background: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    font-weight: normal;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
}

div#header ul.mainnav li.current_page_parent ul.children li.current_page_item {
    font-weight: bold;
}

div#header ul.mainnav li.page_item_has_children ul.children li.hover {
    list-style-image: url('images/punkt_7.png');
    list-style-position: 2px;
}

div#header ul.mainnav li:first-child, div#header ul.mainnav css3-container:first-child + li {
    margin-left: 0;
}

div#header ul.mainnav ul.children {
    display: none;
    position: absolute;
    background: #d7d7d7;
    padding: 4px;
    -webkit-border-radius: 0px 5px 5px 5px;
    border-radius: 0px 5px 5px 5px;
    margin-left: -6px;
    z-index: 200;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
}

div#header ul.mainnav ul.children li {
    float: none;
    margin: 4px 4px 4px 20px;
    padding: 0;
}
    
div#header ul.mainnav ul.children li a {
    display: block;
}

/* Language Navigation */
div.mlp_language_box {
    float: right;
    margin-right: 15px;
    margin-top: 16px;
}

div.mlp_language_box ul li {
    float: left;
    margin-left: 13px;
}

/*****************/
/* CALLBACK */
/************/
div.callback {
    position: absolute;
    left: 0;
    top: 80px;
    z-index: 20;
}

/***********/
/* SIDEBAR */
/***********/

div#sidebar {
    float: left;
    width: 230px;
    position: relative;
    z-index: 0;
}

div#sidebar li {
    list-style: none;
}

div#sidebar div.entry {
    overflow: hidden;
    margin-bottom: 5px;
}

div#sidebar div.first-entry {
    -webkit-border-radius:13px 13px 0 0;
    border-radius: 13px 13px 0 0;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
}

div#sidebar div.last-entry {
    -webkit-border-radius:0 0 13px 13px;
    border-radius: 0 0 13px 13px;
    margin-bottom: 30px;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
    position: relative;
    z-index: 0;
}

div#sidebar div.last-entry div.content {
    -webkit-border-radius:0 0 13px 13px;
    border-radius: 0 0 13px 13px;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
    position: relative;
    z-index: 0;
}

div#sidebar div.first-entry div.img {
    height: 300px !important;
}

div#sidebar div.entry div.img {
    overflow: hidden;
    height: auto;
    width: 230px;
    display: flex;
}

div#sidebar div.first-entry div.img img {
    height: auto;
    width: 100%;
    -webkit-border-radius:13px 13px 0 0;
    border-radius:13px 13px 0 0;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
    position: relative;
    z-index: 0;
}

div#sidebar div.entry div.content {
    padding: 10px;
    font-size: 12px;
    background: #F2F2F2;
    margin-top: 5px;
}

div#sidebar div.entry div.content p {
    margin-bottom: 10px
}

div#sidebar div.entry div.content p:last-child {
    margin-bottom: 0;
}

div#sidebar div.entry div.content table {
    width: 100%;
    margin: 20px 0 10px 0;
}

div#sidebar div.entry div.content table td {
    vertical-align: middle;
}

/***********/
/* CONTENT */
/***********/

div.content-wrap {
    width: 960px;
    position: relative;
    float: left;
    margin-top: 20px;
}

div#content {
    float: right;
    width: 725px;
}

div#content div.img {
    height: 230px;
    width: 100%;
    overflow: hidden;
    -webkit-border-radius: 0px 13px 0px 0px;
    border-radius: 0px 13px 0px 0px;
    margin-top: 70px;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
}

div#content div.img img {
    -webkit-border-radius: 0px 13px 0px 0px;
    border-radius: 0px 13px 0px 0px;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
}

div#content div.img img {
    min-height: 100%;
    min-width: 100%;
    height: auto;
    width: 100%;
}

div#content div.entry {
    background: #f2f2f2;
    display: table;
    margin-bottom: 5px;
    width: 725px;
    margin-top: 5px;
    padding-bottom: 15px;
}

div#content div.last-entry{
    -webkit-border-radius:0 0 13px 13px;
    border-radius: 0 0 13px 13px;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
}

div#content div.entry:last-child {
    margin-bottom: 30px;
}

div#content div.entry p {
    margin: 20px 15px 20px 30px;
}

div#content div.entry h2 {
    margin: 8px 10px;
}

div#content div.entry h3 {
    margin: 20px 30px;
    font-size: 14px;
    font-weight: bold;
}

div#content div.entry ul {
    margin: 20px 30px;
}

div#content div.entry p a img {
    margin: 0 5px;
}

div#content div.entry p a:first-child img {
    margin: 0 0 0 0px;
}

div#content div.entry p a:last-child img {
    margin: 0 0 0 0px;
}

/***************** General Table */

div#content div.entry table td p, div#content div.entry table td h3 {
    margin: 2px 10px 0px 0px;
    font-size: 12px;
}

div#content div.entry table {
    width: 665px;
    margin: 20px 30px;
}

div#content div.entry table tr td {
    padding-bottom: 5px;
    padding-right: 5px;
}

div#content div.entry table tr td:last-child {
    padding-right: 0px;
}

div#content div.entry table tr td img {
    max-width: 100%;
    height: auto;
}

/***************** Image Table */

div#content div.entry table.images td {
    vertical-align: top;
}
div#content div.entry table.images tr td:first-child {
    width: 100px;
    vertical-align: middle;
}

/***************** 2 Columns, Normal Table */

div#content div.entry table.normal td {
    vertical-align: top;
    width: 330px;
}

/***************** Download Table */

div#content div.entry table.downloads td:first-child {
    width: 35px;
}

/**********/
/* FOOTER */
/**********/

div#footer {
    width: 960px;
    display: table;
    /*border-top: 2px solid #f08b41;*/
    border-top: 2px solid #09509D;
}

div#footer div.menu-footer-navigation-container {
    margin: 13px auto;
    display: table;
}

div#footer ul#menu-footer-navigation li {
    float: left;
    list-style: none;
    padding: 0 13px;
    border-right: 1px solid #8f8f8f;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
}

div#footer ul#menu-footer-navigation li:last-child {
    padding-right: 0;
    border: none;
}

div#footer ul#menu-footer-navigation li:first-child {
    padding-left: 0;
}

div#footer ul#menu-footer-navigation li a {
    color: #000;
    text-decoration: none;
}

div#footer ul#menu-footer-navigation li:last-child a {
    color: #666666;
}

/* IMAGES Widget */
.widget_sp_image img {
    margin: 0 7px 20px 7px;
}

/*************/
/* Startpage */
/*************/

div.start-header-wrap {
    width: 960px;
    -webkit-border-radius:13px 13px 13px 13px;
    border-radius:13px 13px 13px 13px;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
    overflow: hidden;
    margin-bottom: 20px;
    -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
    margin-top: 20px;
    -pie-border-radius: 13px;
    height: 300px;
}

div.start-header-left {
    -webkit-border-radius:13px 0 0 50px;
    overflow: hidden;
    border-radius:13px 0 0 13px;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
    float: left;
    background: url('images/start-video-bg.png') 0 0 no-repeat;
    height: 300px;
    width: 230px;
}

div.start-header-right {
    overflow: hidden;
    float: right;
    -webkit-border-radius:0 13px 13px 0;
    border-radius:0 13px 13px 0;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
    width: 725px;
}

div.start-header-right div.overlay {
    position: absolute;
    right: 0;
    background-image: url("images/slider_corners.png");
    width: 12px;
    height: 300px;
    margin-right: 10px;
    top: auto;
    margin-top: -300px;
}

div.start-video {
    margin: 20px 20px 0 20px;
    color: #fff;
    font-size: 15px;
}

div.start-video img {
    margin: 0 0 50px 0;
}

div.start-header-wrap div.textwidget{
    margin-top: 3px;
}

div#footer div.start-footer-links {
    margin: 23px auto 60px auto;
    display: table;
}

div#footer div.start-footer-links a img, div#footer div.start-footer-links img {
    margin-right: 28px;
    vertical-align: middle
}

div#footer div.start-footer-links a:last-child img {
    margin: 0;
}

div.start-content div.entry {
    width: 310px;
    margin-right: 15px;
    float: left;
    margin-bottom: 30px;
}

div.start-content div.entry:last-child {
    margin-right: 0;
}

div.start-content div.entry h2 {
    /*color: #ec6707;*/
    color: #09509D;
    margin: 0px 10px;
}

div.start-content div.entry p {
    -webkit-border-radius:13px;
    border-radius: 13px; 
    padding: 10px;
    font-size: 14px;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
}

/**** CHANGE Slideshow Styles */
div#wrapper div.start-header-right .slideshow_container_style-light .slideshow_next {
    background: url('images/arrow_r_on.png');
    right: -18px;
}

div#wrapper div.start-header-right .slideshow_container_style-light .slideshow_previous {
    background: url('images/arrow_l_on.png');
    left: -18px;
}

div#wrapper div.start-header-right .slideshow_container_style-light .slideshow_button {
    width: 78px;
    height: 86px;
    margin-top: -43px;
}

/**************/
/* Clear Page */
/**************/
div#wrapper.clear-page {
    width: 322px;
}

div#wrapper.clear-page img.logo {
    float: right;
}

div#wrapper.clear-page textarea {
    width:300px;
    height: 200px;
    resize: none;
}

div#wrapper.clear-page input[type=text],div#wrapper.clear-page input[type=email],div#wrapper.clear-page input[type=tel] {
    width: 296px;
}

body.clear-page div#footer {
    width: 340px;
}

body.clear-page div#footer ul#menu-footer-navigation li{
    float: none;
    border: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

body.clear-page div.clear-content div.header {
    width: 100%;
    height: 90px;
    margin: 20px 0;
}

div#wrapper.clear-page div.headline {
    float:left;
    position: relative;
    left: 0;
    top: 0;
    margin: 0;
    width: 200px;
    background: none;
    height: auto;
}

div#wrapper.clear-page div.first-entry {
    width: 200px;
    float: left;
    margin: 0;
    padding: 0;
}

div#wrapper.clear-page div.headline h1 {
    margin: 0;
}

div#wrapper.clear-page p{
    margin: 10px;
}

div#wrapper.clear-page span.wpcf7-not-valid-tip {
    background: none;
    border:none;
    font-size: inherit;
    left: 5px;
    padding: 0;
    position: absolute;
    top: 0;
    width: 300px;
    z-index: 100;
    color: red;
}

/* Machinepark */

div.machinepark-wrapper div.img {
    float: left;
    width: 230px;
    height: 250px;
    overflow: hidden;
    border-radius: 13px 13px 0 0;
    -webkit-border-radius:13px 13px 0 0;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
}

div.machinepark-wrapper div.img img {
    width: 100%;
    height: auto;
}

div.machinepark-wrapper div.header-text {
    float: right;
    background: #D7D7D7;
    float: right;
    height: 180px;
    margin-top: 70px;
    width: 725px;
    border-radius: 0 13px 0 0;
    -webkit-border-radius:0 13px 0 0;
    behavior: url(https://maplan.de/wp-content/themes/maplan/PIE-1.0.0/PIE.php);
    overflow: hidden;
}

div.machinepark-wrapper div.header-text img {
    width: 100%;
    height: auto;   
}

div.machinepark-wrapper div.header-text h2 {
    font-size: 16px;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    margin: 20px 30px 5px 30px;
    font-weight: bold;
}

div.machinepark-wrapper div.header-text p {
    margin: 5px 30px;
}

div#machine-content {
    margin-top: 5px;
    display: table;
    width: 960px;
    float: left;
    margin-bottom: 5px;
}

div#machine-content div.entry table.machines {
    width: 100%;
    color: #000;
}

div#machine-content div.entry table.machines td {
    padding: 10px;
    vertical-align: middle;
    text-align: center;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    background: #fafafc;
}

div#machine-content div.entry table.machines {
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    margin-bottom: 5px;
}

div#machine-content div.entry table.machines tbody tr:nth-child(2n+1) td {
    background: #dee1e6;
}

div#machine-content div.entry table.machines thead td {
    font-weight: bold;
    background: #a8b2be;
}

div.wpcf7 input {
    border: 1px solid #B7B7B7;
}

div.wpcf7 input[type=submit] {
    background: #B7B7B7;
    border: none;
    margin: 0;
    padding: 5px;
}