.clearfix:after {
    content: " "; /* Older browser do not support empty content */
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

::-ms-clear { display: none; }

input[type=text]::-ms-clear {  display: none; width : 0; height: 0; }
input[type=text]::-ms-reveal {  display: none; width : 0; height: 0; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }


* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.col1-layout {
    border: 0;
    background: none;
    margin: 0;
    min-height: inherit;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

input {
    background-image: none;
}

input.input-text, textarea {
    background-image: none;
}

select {
    background-image: none;
}

.page {
    width: 100%;
}

.wrapper {
    background: #fff;
    padding-bottom: 0px;
}

.col1-layout .col-main .page-title {
    margin-top: 0;
}

.col1-layout .col-main {
    padding: 0;
}
a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* remove grey background color from focused link on ios devices */
}
h1, h2 {
    text-transform: capitalize;
}

a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

button:hover, button:active, button:focus {
    border: none;
    outline:none;
    left: 0;
    top:0;
}

.main.col1-layout {
    -webkit-transition: margin-top .4s ease-in-out;
    transition: margin-top .4s ease-in-out;
}

#messages_product_view {
    margin: 0;
    position: relative;
    z-index: 9999;
}

#global-messages-background {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 101;
}

#global-messages {
    z-index: 102;
    position: fixed;
    width: 700px;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 0 60px;
}

#messages_product_view #global-messages,
#messages_product_view #global-messages-background {
    display: none;
}

#global-messages .warning,
#global-messages .success,
#global-messages .notice,
#global-messages .error {
    color: #000000;
    font-family: "MillerDisplayLight";
    font-size: 30px;
    font-weight: normal;
    line-height: 30px;
    padding: 40px 20px;
    display: block;
    text-align: center;
}

#global-messages li  {
    margin: 0;
    padding: 0;
    clear: both;
    display: block;
}

#global-messages li#global-mess-closer {
    width: 20px;
    height: 20px;
    background-image: url(../../images/alpenrestyling/svg/lj-close-white.svg);
    background-size: 20px 20px;
    position: absolute;
    top: -40px;
    right: 0;
    content: "";
    cursor: pointer;
}

#global-messages li ul li:first-child,
#global-messages li ul li:last-child {
    margin: 0;
    border-top: 1px solid #CBCBCB;
}

#global-messages li ul li span {
    width: 100%;
    margin: 0 auto;
    display: block;
    padding: 40px;
    max-width: 500px;
    font-family: "TheinhardtLight";
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    font-weight: normal;
}

#global-messages li ul li a {
    width: calc(100% - 40px);
    padding: 0 20px;
    background: none;
    color: #fff;
    text-transform: uppercase;
    font-family: 'TheinhardtLight';
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 45px;
    height: 45px;
    text-align: center;
    display: block;
    text-decoration: none;
    background-color: #000;
    max-width: 380px;
    margin: 0 auto;
    margin-bottom: 40px;
    margin-top: 40px;
}

input[type="checkbox"] {
    position: relative;
    height: 0;
    width: 0;
    margin-top: 0px;
    background-color: #000;
    border: 0 !important;
}

input[type="checkbox"]:after {
    position: absolute;
    content: " ";
    width: 15px;
    height: 15px;
    top: 0;
    left: 0;
    background: url("../../images/alpenrestyling/svg/lj-checkbox.svg") no-repeat #fff;
    background-size: 15px 15px;
    cursor: pointer;
}

input[type="checkbox"]:checked:after {
    width:15px;
    height:15px;
    top: 0;
    left: 0;
    background: url("../../images/alpenrestyling/svg/lj-checkbox-active.svg") no-repeat #fff;
    background-size: 15px 15px;
}

.product-label {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 125px; 
    z-index: 1;
}

.product-label img {
    width: 125px; 
}

@media screen and (min-width: 1025px) {
    body:not(.header-background-transparent) .main.col1-layout {
        margin-top: 139px;
    }
}

@media screen and (max-width: 1024px) {
    a, small, span, form, label, li {
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
    .wrapper .page .main {
        margin-top: 68px;
        overflow: hidden;
    }
    .wrapper .page .main.ios-11.hidden {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        margin-bottom: 0;
        overflow: hidden;
        opacity: 0;
        -webkit-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }
}

@media screen and (min-width: 768px) {
    html, body, wrapper, page {
        min-width: 768px;
    }
}

@media screen and (max-width: 767px) {

    #global-messages {
        width: 310px;
        padding: 0 20px;
    }

    #global-messages li ul li span {
        padding: 30px 0;
    }

    #global-messages .warning, 
    #global-messages .success, 
    #global-messages .notice, 
    #global-messages .error {
        padding: 30px 0;
        font-size: 20px;
        font-family: "TheinhardtLight";
        line-height: 22px;
    }

    #global-messages li ul li a {
        margin-bottom: 60px;
    }

}