/* page, body */

* {
    box-sizing: border-box;
    line-height: 1.2;
}

html {
    margin-top: 0 !important;
}

body {
    font-family: 'Arial', sans-serif;
    margin: -21px 0 0 0 !important;
    padding-top: 0 !important;
    color: #5f615e;
}

hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}


/* title */

h1, h2, h3 {
    color: #034d7f;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 16px;
}

h4 {
    font-size: 14px;
    font-weight: normal;
}

.small {
    font-size: 12px;
    line-height: 1;
}

#footer-wrapper h3 {
    color: #fff;
}

.footersub .widget_nav_menu {
    font-size: 14px;
    width: 20%;
}


/* header */

.site-title {
    overflow: hidden;
}

.header-all, #wrapper, #footer-wrapper, #menu-menu-1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 1030px;
}

#menu-menu-1 {
    width: 1030px;
}

.site-title img {
    max-width: 100%;
    border: none;
}

.site-title {
    overflow: hidden;
}

#header {
    background-color: #f8f8f6;
    padding-top: 20px;
    width: 100%;
}

#header nav {
    text-align: center;
    background-color: #356294;
    color: white;
    max-height: 40px
}

#header nav li, #header nav li a {
    max-height: 40px
}

#header nav ul {
    display: inline-block;
    max-width: 1030px;
    width: 100%;
    max-height: 40px
}


/* nav */

.navbar {
    bottom: 0;
    /*position: absolute;*/
    left: 0;
    right: 0;
}


/* main */

#wrapper {
    margin-top: 230px;
}

.circleboxesfront .inside-grid-column {
    padding: 0;
}

.circleboxesfront .inside-grid-column .wp-image-41 {
    margin-bottom: 63px;
    margin-left: 10px;
}

.inside-grid-column > h3 {
    width: 190px;
}

body > #wrapper > main, body > #header > .header-all, #footer-wrapper, #footer-last {
    padding-left: 15px;
    padding-right: 15px;
}

main {
    background-color: #f8f8f6;
    padding-top: 15px;
    padding: 15px 30px 20px !important;
    margin-bottom: 40px;
    display: block;
}

.slickslider {
    max-width: 450px;
    max-height: auto;
}

#text-5 {
    /*looks nasty*/
    /*border-left: 1px solid white;*/
}

.widget.widget_text {
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 0 15px;
}

#text-5 table {
    width: 100%;
}

.text-column-right {
    padding-left: 10px !important;
}

.text-column-left {
    padding-right: 10px !important;
}


/* footer */

footer {
    background-color: #5195e0;
    color: #ffffff;
}

footer .widget {
    display: inline-block;
    /*width: calc(50% - 31px);*/
    vertical-align: top;
}

.footersub a {
    color: #5195e0;
    font-weight: bold;
}

.textwidget td:last-child {
    padding-left: 15px;
}

.image-form .hp-wrap {
    display: none;
}

.phone-header {
    /*background-image: url("/wp-content/uploads/2016/05/smartphone.png");*/
    /*background-repeat: no-repeat;*/
    color: #F39200;
    float: right;
    font-size: 14px;
    line-height: 1.6;
    padding-bottom: 6px;
    padding-left: 60px;
    padding-top: 6px;
    font-weight: bold;
    line-height: 1.4;
}

#text-4 img {
    vertical-align: middle;
    margin-top: 7px;
    margin-bottom: 7px;
}

#text-5 {
    max-width: 400px;
}

#footer-wrapper td div, #footer-wrapper td {
    font-weight: bold;
    line-height: 1.5em;
}

#footer2nd-wrapper {
    background-color: #DDDDDD;
    font-size: 14px;
}

.footersub {
    margin-left: auto;
    margin-right: auto;
    max-width: 1030px;
    color: #808080;
    padding: 0 15px;
}


/*Ankaufsformular*/

.ankaufsform input {
    max-width: 100%;
    width: 370px;
}

.wpcf7-submit {
    background: #f39200 none repeat scroll 0 0;
    border: 0 none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2em;
    padding: 20px;
}

.wpcf7-submit:hover {
    cursor: pointer;
}

.ankaufsform {
    float: right;
    /*width: 100%;*/
    /*margin: 20px;*/
    background-color: #f8f8f6;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.20);
    position: relative;
    top: 15px;
}

input, select {
    line-height: 2.5;
}

span.wpcf7-list-item {
    display: block;
}

.formwrapper {
    text-align: center;
}

.formbox {
    display: inline-block;
    max-width: 900px;
    text-align: left;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.20);
}

input[type=submit], input[type=text], input[type=tel], input[type=email], input[type=file], textarea {
    width: 400px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select::-ms-expand{
    display: none;
}

input[type="file"] {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    box-shadow: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.plz-in {
    width: 110px !important;
}

.ort-in {
    width: 285px !important;
}

.strasse {
    width: 340px !important;
}

.hausnr {
    width: 55px !important;
}

@media screen and ( min-width: 50em) {
    #menu-menu-1 {
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background-color: transparent;
    }
    #menu-menu-1 li {
        float: left;
    }
    #menu-menu-1 li a {
        display: block;
        color: white;
        text-align: center;
        padding: 11px 16px;
        text-decoration: none;
    }
    #menu-menu-1 li a:hover:not(.active) {
        background-color: #5195e0;
    }
    #menu-menu-1 .current-menu-item {
        background-color: #5195e0;
    }
    .menu-item:last-child a {
        background-color: #F39200;
    }
    .menu-item:last-child a:hover {
        background-color: #f3a024 !important;
    }
    .menu-button {
        background: none;
        border: none;
    }
    .menu-button {
        display: none;
    }
}

@media screen and ( max-width: 40em) {
    .menu-item:last-child a {
        color: #F39200;
    }
    .menu-item:last-child a:hover {
        color: #f3a024 !important;
    }
    .site-title a, .phone-header {
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .phone-header {
        width: unset;
        text-align: center;
        padding: 15px;
    }
    .site-title a img {
        width: calc(100% - 80px);
    }
    .js .menu-button not(.active-button) {
        position: absolute;
        right: 20px;
        top: 40px;
    }
    .cbp-af-header {
        position: relative;
    }
    #wrapper {
        margin-top: 0;
    }
    input[type=text], input[type=tel], input[type=email], input[type=file], input[type=submit], textarea {
        width: 100% !important;
    }
    input[type=submit] {
        white-space: normal;
    }
    .plz-in, .strasse {
        margin-bottom: 5px;
    }
}

@media screen and ( max-width: 49.99em) {
    footer .widget {
        width: 100%;
    }
    #text-5 {
        border-left: 0px solid white;
    }
    .js .menu-button {
        display: block;
        background-color: #356294;
        border-radius: 4px;
        color: white;
        border: 0;
        padding: 5px;
        font-size: 24px;
        margin-right: auto;
        margin-left: auto;
        cursor: pointer;
    }
    .js .menu-button.active-button {
        background-color: #5195E0;
    }
    .menu-item {}
    .menu-item a, .menu-item a:hover {
        color: rgb(81, 149, 224);
    }
    #text-5 img {
        display: none;
    }
    /*.js .show-menu {*/
    /*float: right;*/
    /*padding: .8em;*/
    /*}*/
    .js .hide-menu {
        margin: 16px 0 0;
        width: 100%;
    }
    #header nav {
        text-align: center;
    }
    .js #header nav {
        height: 0;
        left: 0;
        overflow: hidden;
        /*position: absolute;*/
        top: -200px;
        width: 100%;
    }
    .active-menu #header nav {
        background-color: #F8F8F6;
        height: auto;
        overflow: visible;
        top: 0;
        -moz-transition: top 0.5s ease 0s;
        -webkit-transition: top 0.5s ease 0s;
        transition: top 0.5s ease 0s;
        z-index: 999;
        max-height: unset;
        padding: 0;
    }
    .active-menu ul {
        padding: 0;
    }
    #header nav ul li {
        margin-bottom: 4px;
        margin-top: 4px;
        padding-bottom: 4px;
        padding-top: 4px;
    }
    .cbp-af-header {
        position: relative;
    }
    #wrapper {
        margin-top: 0;
    }
    .image-form {
        padding: 0 !important;
    }
    .slick-slider {
        display: none;
    }
    .ankaufsform {
        float: none;
        position: absolute;
        margin: 0;
        left: 0;
        right: 0;
        box-shadow: none;
    }
    #header {
        height: unset;
    }
    .formbox {
        box-shadow: none;
        padding: 0;
    }
}

input, select, textarea {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #cccccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #606060;
    box-sizing: border-box;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}

input[type="checkbox"] {
    background-color: transparent;
    border-radius: 4px;
    border: none;
    box-shadow:none;
}

.slick-track {
    width: 1350px !important;
}

.slick-slide {
    height: 360px;
}

.star {
    color: red;
}

.benicons {
    text-align: center;
}

select {
    background-image: url("/wp-content/themes/ankaufbike/arrow.png");
    background-position: right center;
    background-repeat: no-repeat;
    min-width: 75px;
}

span.wpcf7-not-valid-tip {
    display: none !important;
}

div.wpcf7-validation-errors {
    border: 2px solid red;
}
.hidden {
    display: none;
}
.cbp-af-header.cbp-af-header-shrink, .cbp-af-header-shrink, .cbp-af-header, .cbp-af-header img {
    transition: all 0.25s cubic-bezier(0.175,0.885,0.32,1.175) !important;
}
.site-title img {
    width: 386px;
}
