/*
- add your custom css here or use the theme designer in the demo online version
- save this file before you update to a newer version
*/

#footer .inside {
    padding: 0;
}

body, input[type="submit"], input.submit, button.submit {
    background: #004b93;
}

.ce_text p a:not(.button), nav.mainmenu ul li a:hover, nav.mainmenu ul a.trail, nav.mainmenu ul a.active, .widget-checkbox a, #off_canvas a:hover, #off_canvas a.active, #off_canvas a.trail {
    color: #004b93;
}

nav.mainmenu > ul li a {
    color: #666666;
}

#header {
    background: #fff;
}

#footer {
    border: none;
}

#bottom {
    background: #d5d6d9;
}

#stickyheader .inside {
    background: #d5d6d9;
    opacity: 1;
}

.logo {
    max-width: 100px;
    background-image: url('/files/happytexx/design/img/logo/logo_happytexx.png');
    background-size: 94px !important;
    background-position: left !important;
}

#stickyheader .logo, #stickyheader .logo-stanley-stella {
    background-size: 55px !important;
}

@media only screen and (max-width: 767px) {
    .logo {
        background-size: 63px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .logo {
        background-size: 80px !important;
    }
}

.menu-btn-inside .line:before, .menu-btn-inside .line:after, .menu-btn-inside .line {
    background: #666666;
}

#off_canvas {
    background: #fff;
}

.pushy {
    box-shadow: inset -10px 0 6px -9px rgba(0, 0, 0, .3);
}

#off_canvas .offcanvas_address, #off_canvas .offcanvas_address a {
    color: #666666;
}

.metaheader {
    display: none;
}

nav.mainmenu {
    background-color: #eeeeee;
    right: -15px;
    li {
        &.stanley-stella {
            text-indent: -99999px;
            width: 170px;
            background-image: url(/files/happytexx/design/img/logo/StanleyStella_OfficialDealer-Logo-1500px_Dark.png);
            background-size: 150px;
            background-position: center;
            border-left: 2px solid #666666;
        }
    }
}

@media only screen and (min-width: 299px) and (max-width: 1277px) {
    li {
        &.stanley-stella {
             text-indent: -99999px;
             width: 170px;
             height: 70px;
             background-image: url(/files/happytexx/design/img/logo/StanleyStella_OfficialDealer-Logo-1500px_Dark.png);
             background-size: 160px;
             background-position: center;
        }
    }
}

/* hinweistext */
.headerimage_content_text {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #004b93;
    padding: 10px 40px;
}

.headerimage_content_text p {
    margin: 0;
}

@media only screen and (max-width: 767px) {
    .headerimage_content_text {
        padding: 10px 20px;
    }
}

@media only screen and (max-width: 599px) {
    #header_after .headerimage_content_wrapper {
        position: static;
    }

    .headerimage_content_text {
        position: static;
        padding: 10px 0;
    }
}

/***** forms *****/

.form_anmeldung {
    max-width: 600px;
}

.form_anmeldung input, .form_anmeldung textarea, .form_anmeldung select {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid rgba(204, 204, 204, 1);
    background: rgba(204, 204, 204, 0.7);
}

.form_anmeldung .input-wrapper span.mandatory {
    display: inline;
    color: #c00;
}

.form_anmeldung .radio_container label span {
    display: inline;
}
.form_anmeldung .radio_container > span {
    position: relative;
    display: block;
}
.form_anmeldung .radio_container > span input[type=radio] {
    position: absolute;
    top: 6px;
    left: 0;
}
.form_anmeldung .radio_container > span label {
    display: block;
    padding: 0 0 0 20px;
}

.form_anmeldung .field-container .inside {
    display: flex;
    justify-content: space-between;
}

.form_anmeldung .field-container .inside label {
    display: block;
}
.form_anmeldung .field-container .inside .input-wrapper.select:first-of-type {
    width: 30%;
}
.form_anmeldung .field-container .inside .input-wrapper.select:nth-of-type(2) {
    width: 45%;
}
.form_anmeldung .field-container .inside .input-wrapper.select:last-of-type {
    width: 20%;
}
.form_anmeldung .submit_container input[type=submit] {
    background: #004b93;
}

@media screen and (max-width: 767px) {
    .form_anmeldung {
        max-width: none;
    }
}
@media screen and (max-width: 479px) {
    .form_anmeldung .field-container .inside {
        display: block;
    }
    .form_anmeldung .field-container .inside .input-wrapper.select {
        width: 100% !important;
    }
}

/***** cookiebar *****/

.cookiebar .cookiebar__text {
    margin: 0;
    padding: 0 0 0.5rem;
}

.cookiebar .cookiebar__button {
    background: #004b93;
}

.cookiebar a {
    color: white;
    text-decoration: underline;
}

.cookiebar a:hover {
    text-decoration: none;
}


/***** forms *****/

.ce_form #contact-simple input[type=text],
.ce_form #contact-simple input[type=email],
.ce_form #contact-simple textarea {
    margin-bottom: 1.875rem;
}
.ce_form #contact-simple fieldset {
    margin: 0;
}

@media only screen and (min-width: 299px) and (max-width: 1220px) {
    .logo-stanley-stella {
        display: none;
    }
}
