@font-face { font-family: "DINWeb"; src: url("https://www.cerave.com/-/media/themes/loreal/brandsites/cerave/us/cerave/fonts/dinweb_otf.otf") format("opentype"); } html, body { min-height: 100%; font-family: "DINWeb", "Helvetica Heue", sans-serif; color: #fff; font-size: 14px; } body { min-height: 100vh; background-size: cover; background-repeat: no-repeat; background-position: center center; background-attachment: fixed; background-image: url("http://image.mail.matrixprofessional.ca/lib/fe8c13737462067472/m/1/background-sample3.png"); } header, section, footer { width: 100%; margin: 0 auto; } label { color: #ffffff; font-size: 100%; } /* Errors */ label.error { color: red; } .wlcm-txt { text-align: center; margin-bottom: 40px; } .wlcm-txt h2 { font-size: 28px; margin: 0 0 8px; } .wlcm-txt p { margin-bottom: 10px; line-height: 1.25; font-size: 14px; } .footer-form p { font-size: 12px; } /* Header */ header { padding: 12px 0; background: white; height: 100px; } .logo { display: block; text-align: left; margin-bottom: 10px; margin-left: 10px; } .menu-links:hover { text-decoration: underline; } .lang, .lang:hover { color: #0e3353; font-weight: 500; font-size: 21px; padding: 23px 24px 46px; } .img-responsive { display: block; width: 100%; } .date-select{ width: 30%; display: inline-flex; margin-right: 10px; } .overlay{ background: rgba(0, 0, 0, 0.60); padding: 30px 20px; min-height: 100vh; } /* Form */ form.sub-form{ padding: 25px 10px 35px; } input[type='text'], input[type='text']:focus, input[type='email'], input[type='email']:focus, input[type='tel'], input[type='tel']:focus { display: block; box-sizing: border-box; width: 100%; height: auto; margin: 0; padding: 18px 0; border: none; border-radius: 0; background: transparent; box-shadow: none; font-size: 12px; line-height: 1.5; text-align: center; color: white; font-weight: bold; transition: box-shadow 0.5s, border-color 0.25s ease-in-out; -webkit-appearance: none; -moz-appearance: none; appearance: none; outline: none; } input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active, input:-webkit-autofill, textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus, textarea:-webkit-autofill:active, select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus, input:-webkit-autofill:active { border: none; -webkit-text-fill-color: #ffffff; transition: background-color 5000s ease-in-out 0s; } .input-border-bottom { border-bottom: 1px solid #FFFFFF !important; } .input-border-top { border-top: 1px solid #FFFFFF !important; } .custom-select { position: relative; margin: 0; margin-bottom: 30px; font-size: 12px; background-color: white; color: black; font-weight: bold; } /*style the arrow inside the select element:*/ .select-selected:after { font: normal normal normal 25px/1 FontAwesome; content: "\f106"; position: absolute; right: 14px; top: 5px; } /*point the arrow upwards when the select box is open (active):*/ .select-selected.select-arrow-active:after { content: "\f107"; } /*style the items (options), including the selected item:*/ .select-selected { } .select-arrow-active { background: white; } .select-items div, .select-selected { padding: 8px 0; cursor: pointer; text-transform: uppercase; } /*style items (options):*/ .select-items { position: absolute; background-color: white; top: 100%; left: 5%; right: 0; z-index: 99; width: 90%; padding: 8px 0; text-transform: uppercase; } /*hide the items when the select box is closed:*/ .select-hide { display: none; } .select-items div:hover, .same-as-selected { background-color: rgba(0, 0, 0, 0.1); } .checkbox-alignment { display: flex; justify-content: center; color: white; line-height: 1; font-size: 12px; } input[type='checkbox'] { margin: 5px 0; vertical-align: baseline; } input[type='checkbox'] + label { vertical-align: baseline; margin-bottom: 0; margin: 4px 0 0 11px; text-align: left; font-size: 11px; } .thankyou-display .button.expanded { margin-top: 10px; } #error-display { background-color: #ce0b10; display: none; margin-bottom: 15px; padding: 10px 0; width: 400px; } .button{ color: color; cursor: pointer; font-size: 12px; font-weight: 400; padding: 10px; margin: 20px 0; background: #007DC3; width: 100%; } .button:hover { text-decoration: underline; background: #007DC3; } .final-msg { text-transform: uppercase; } fieldset { margin-top: 30px; } @media only screen and (min-width: 1024px) { } @media only screen and (max-width: 1024px) { .lang, .lang:hover { color: #0e3353; font-weight: 500; font-size: 15px; padding: 7px; } header { height: 60px; } } @media only screen and (max-width: 414px) { .align-middle { display: none; } .logo { display: block; text-align: center; margin-left: auto; margin-right: auto; display: none; } .menu-links { display: inline-block; padding-left: 0px; padding-top: 10px; line-height: 20px; display: none; } } @media only screen and (min-width: 640px) { .overlay { border-radius: 10px; max-width: 380px; margin: 4em auto; height: auto; min-height: auto; } .title { margin: 0 auto 20px; } .align-middle { font-size: 14px; } } .box::-webkit-input-placeholder { color: white; } .box:-moz-placeholder { color: white; } .box::-moz-placeholder { color: white; } :-ms-input-placeholder { color: white; } .footer-form { margin-top: 30px; }