/* CSS RESET */

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;
}
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;
}

/* REGISTRATION STYLES */

html, 
body {
    height: 100%;
}


body {
    min-height: 100%;
    font-family: "FrutigerLTStd-Roman", sans-serif;
    background-color:#efefef;
}

.registration_wrapper {
    display: flex;
    justify-content: center;
    align-items: center; 
    min-height:100vh; 
    margin:35px 0;
}

.registration_form {
    padding: 60px 32px 32px;
    max-width:100%;
    width: 520px;
    box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);
    background-color:white;
    position: relative;
}

.registration_form p {
    margin-bottom:10px;
}

header {
    width:100%;
    margin-bottom:25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.velux_images {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
}

header img:nth-child(3n) {
    page-break-after: always; /* CSS 2.1 syntax */
    break-after: always; /* New syntax */
}

.margin {
    margin-top: 25px;
    margin-bottom: 25px;
}

.mui-textfield label {
    top: -9px;
    left: 14px;
    background-color: white;
    width: unset;
    padding: 0px 3px;
}

.mui-textfield label a {
    color: rgba(0, 0, 0, 0.23);
}

.mui-textfield {
    min-height: 42px;
    margin-bottom: 10px;
    padding-top: unset;
    margin-top: 15px;
}

.mui-select {
    margin-bottom: 15px;
    margin-top: 15px;
}

.mui-form legend {
    margin-bottom: unset;
}

.mui-textfield--float-label > input:focus ~ label a, 
.mui-textfield--float-label > textarea:focus ~ label a {
    color: rgb(27, 55, 92);
}

.mui-textfield--float-label > input:focus ~ label, 
.mui-textfield--float-label > textarea:focus ~ label {
    color: rgb(27, 55, 92);
    top: -8px; 
}

.mui-textfield input:focus,
.mui-textfield input:active, 
.mui-textfield input:hover {
    border-color: rgb(27, 55, 92);
}

.mui-textfield p {
    font-size: 0.75rem;
    font-family: FrutigerLTStd-Roman;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05333em;
    margin-top: 10px;
}

.mui-textfield input {
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.23);
    font-size: 15px;
    padding: 10px 14px;
    height: unset !important;
    color: rgb(27, 55, 92);
}

.mui-select select {
    padding: 10px 0;
    height: unset !important;
    font-size: 15px;
    color: rgb(27, 55, 92);
}

.mui-select select:hover {
    border-color: rgb(27, 55, 92);
}

/*.mui-select select:focus,
.mui-select select:active {

}*/

.mui-select__menu {
    padding: unset;
}

button.mui-btn--primary {
    background-color: #1b375c;
    color: #fff;
    /*font-family: FrutigerLTCom-Bold;*/
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0.02857em;
    border-radius: 4px;
    text-transform: uppercase;
    font-family: "FrutigerLTStd-Bold", sans-serif;
}

button.mui-btn--primary:hover,
button.mui-btn--primary:active,
button.mui-btn--primary:focus {
    background-color: #001132; 
}

.mui-checkbox label {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    /*font-size: 22px;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mui-checkbox label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.mui-checkbox label .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: transparent;
    border: 2px solid rgba(0, 0, 0, 0.54);
    border-radius: 2px;
}

.mui-checkbox label input:checked ~ .checkmark {
    background-color: #00b6de;
    border: 2px solid #00b6de;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.mui-checkbox label input:checked ~ .checkmark:after {
    display: block;
}

.mui-checkbox label .checkmark:after {
    left: 6px;
    top: 0px;
    width: 5px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
} 

form.mui-form {
    margin-top: 20px;
}

header + p,
form > p {
    font-size: 0.75rem;
    font-family: FrutigerLTStd-Roman;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05333em;
}

header + p strong {
    font-weight: 700;
}

div.registration_form a.mailto {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 55px;
    width: 55px;
}

div.registration_form a.mailto svg {
    position:  absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
}

div.registration_form a.mailto:hover span {
    opacity: 0.04;
}

div.registration_form a.mailto span {
    background-color: rgb(0, 0, 0);
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: 50%;
    opacity: 0;
    transition: 200ms;
    cursor: pointer;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

header > img {
    width: 100%;
}

.mui-textfield.invalid input {
    border: 2px solid red !important;
}

.mui-select.invalid select {
    border-bottom: 2px solid red !important;
}

/* Responsive */

@media only screen and (min-width: 1921px) {

}

@media only screen and (max-width: 1920px) {

}

@media only screen and (max-width: 1599.98px) {

}

@media only screen and (max-width: 1399.98px) {

}

@media only screen and (max-width: 1199.98px) {

}

@media only screen and (max-width: 991.98px) {

}

@media only screen and (max-width: 767.98px) {

}

@media only screen and (max-width: 575.98px) {
    .registration_wrapper {
        margin: unset;
    }

    .registration_form {
        padding: 60px 25px 25px;
    }
}

@media only screen and (max-width: 499.98px) {
    .registration_form {
        padding: 70px 15px 15px;
    }

    div.registration_form a.mailto {
        top: 5px;
    }

    .mui-form legend,
    div.alert {
        font-size: 18px;
    }

    .mui-textfield input,
    form > .mui-checkbox > label,
    .mui-select select,
    .mui-select__menu {
        font-size: 14px;
        line-height: 1.3;
    }
}

@media only screen and (max-width: 449.98px) {

}

@media only screen and (max-width: 399.98px) {

}

@media only screen and (max-width: 349.98px) {
    header .velux_images img {
        height: 80px;
        width: 80px;
    }

    .mui-form legend,
    div.alert {
        font-size: 16px;
    }
}

@media only screen and (max-width: 319.98px) {

}