/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain)
START
*/

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;
}

/* END
 http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain)
*/

a {
    text-decoration: none;
    color: #444444;
    outline: none;
}

a:hover {
    opacity: .7;
    transition: opacity ease .3;
    cursor: pointer;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

form input[type='checkbox'] {
    -webkit-appearance: none;
    -moz-appearance-moz- : none;
    width:22px;
    height: 22px;
    border: 1px solid silver !important;
    display: inline-block;
    border-radius: 3px;
    position: relative;
}

input[type=checkbox]:before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
}
input[type=checkbox]:checked:before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
}
input[type=checkbox]:checked:after {
    content: "";
    display: block;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    left: 6px;
}

input[type=checkbox]+label:active:before {
    transform: scale(0);
}

.preference form .additional-info label {
    margin: 0px;
    padding: 7px 0 0 0;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #9f9f9f;
}

.preference form input:valid:not([type=checkbox]):not([type=radio]),
.main-page form input:valid {
    border: 1px solid #008000;
}

.preference form input:invalid:hover,
.main-page form input:invalid:hover {
    border: 1px solid #444444;
}

.hidden {
    display: none;
}

.sucessful-reset-wrapper {
    display: none;
}

.main-content {
    display: block;
}

#cookie-message-container-text {
    display: inline-block;
}

.cookie-btns {
    display: inline;
    margin-left: 8px;
}

.skin-wrapper form {
    width: 45%;
    margin: 0 auto;
}

header {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 5px;
    display: block;
    background-color: #e6e9e9;
}

.logo-holder {
    width: 33%;
    max-width: 290px;
}

.logo {
    width: 100%;
    height: 40px;
    display: block;
    background: url(../assets/logo.png) 50% 50% no-repeat;
    background-size: contain;
    margin-top: 20px;
}

.sign-in-prompt {
    display: flex;
    flex-direction: row;
}


.sign-in-prompt p {
    margin-right: 5px;
}

.title-wrapper {
    background-color: #e6e9e9;
    position: relative;
}

.title-content {
    width: 40%;
    margin: 0 auto;
}

h1,
h3 {
    text-align: center;
}

h1:hover,
h2:hover,
h3:hover,
h4:hover,
h5:hover,
h6:hover {
    opacity: .7;
    transition: opacity ease-in .3s;
}

.title {
    text-transform: uppercase;
    color: #000;
    padding: 10px;
}

.main {
    font-size: 30px;
    font-weight: 700;
    padding-top: 80px;
}

.forgotten-pass .main,
.preference .main {
    padding: 95px 0;
}

.sub {
    font-size: 18px;
    padding-bottom: 70px;
}

main {
    width: 40%;
    margin: 0 auto;
}

.submitted main {
    padding-top: 90px;
}

.forgotten-pass main {
    padding-top: 95px;
}

main .intro-info {
    margin: 0 auto;
    padding-top: 40px;
    text-align: center;
    line-height: 1.2;
}

form section {
    font-size: 15px;
}

h4 {
    color: #000;
    font-size: 20px;
    padding: 5px 0;
    margin-top: 25px;
    font-weight: 700;
}

.confirmation h4 {
    margin: 25px 0 5px 0;
}

form label {
    display: block;
}

form .register-block label {
    margin-top: 35px;
}

form .register-block .g-recaptcha label {
    margin-top: 0px;
}

form input {
    margin-top: 10px;
    display: block;
    width: 100%;
    border: 1px solid #9f9f9f;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}

form .invalid-input {
    border: 1px solid #ff0000;
}

form .valid-input {
    border: 1px solid #008000;
}

form select {
    margin-top: 10px;
    display: block;
    width: 100%;
    border: 1px solid #9f9f9f;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}

form input::placeholder {
    opacity: .5;
    transition: opacity ease .3;
}

.row-half {
    display: inline-block;
    width: 42%;
}

.additional-info .row-half {
    margin-top: 20px;
    height: 4;
    width: 45%;
    display: inline-block;
}

.col-1 {
    width: 10%;
    display: inline-block;
    vertical-align: middle;
    padding: 15px;
}

.col-11 {
    width: 70%;
}

.col-1,
.col-11 {
    display: inline-block;
    vertical-align: middle;
}

.additional-info label {
    display: inline;
    text-align: left;
    margin: 0;
}

.additional-info input {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: 0 10px 0 0;
    background-color: transparent;
}

.btn-area {
    text-align: center;
    margin-left: 0;
}

form button {
    background-color: #f1f1f1;
    width: 53%;
    margin-top: 60px;
    border-radius: 10px;
    border: solid thin #444;
}

.login form button,
.forgotten-pass form button {
    margin-top: 50px;
}

.reset form button {
    margin: 30px 0 20px 0;
}

form button:hover,
form button label:hover {
    cursor: pointer;
    background-color: #444444;
    text-shadow: 1px 1px 1px #a5a5;
    transition: background-color ease-in .4s;
    color: #fff;
}

/* Fix for IE, standard styling makes that the text button is no longer visible */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    form button:hover,
    form button label:hover {
        cursor: pointer;
        background-color: #f1f1f1;
        text-shadow: 1px 1px 1px #a5a5;
        color: #444;
    }
 }


form button:hover {
    opacity: .8;
    transition: opacity ease-in .4s;
}

button:active {
    outline: none !important;
    border: none !important;
}

button:focus {
    outline: 0;
    cursor: pointer;
}

form button label {
    border: 1px solid black;
    text-transform: uppercase;
    color: #444;
    font-size: 13px;
    font-weight: 700;
    padding: 15px;
    border: none;
    margin: 0;
    line-height: 2.3;
    vertical-align: middle;
    letter-spacing: 0.1em;
    text-shadow: 1px 0 0 #a5a5;
}

footer {
    border-top: 1px solid #e6e9e9;
    margin-top: 95px;
    padding: 25px 20px;
    font-size: 13px;
    vertical-align: middle;
    bottom: 0;
    left: 0;
    right: 0;
}

footer nav,
footer ul li,
footer .logo {
    display: inline-block;
}

footer .logo {
    width: 80%;
}

footer nav {
    text-align: center;
    line-height: 2.2;
    vertical-align: middle;
}

footer a:hover,
form label:hover {
    color: #808080;
    font-weight: 500;
    transition: color ease-in .3s font-weight ease-in .2s;
}

footer .logo-holder {
    opacity: .3;
    display: inline-block;
}

footer .logo-holder:hover {
    opacity: 0.5;
    transition: opacity ease-in 0.3s;
}

footer .logo {
    background-image: url(../assets/logo.png);
    height: 30px;
    line-height: 2.2;
    vertical-align: middle;
}

footer a {
    color: #9f9f9f;
}

footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

footer li {
    padding-right: 18px;
}

footer li:after {
    content: ' |';
    position: relative;
    top: 0;
    left: 9px;
}

footer li:last-of-type:after {
    content: '';
    position: relative;
    top: 0;
    left: 9px;
}

.login footer {
    margin-top: 0;
    padding-top: 10px;
}

.prompt {
    text-transform: uppercase;
    display: block;
    font-weight: 700;
    text-align: left;
    margin-top: 20px;
}

img {
    margin-top: 95px;
}

.confirmation .register-block {
    text-align: center;
    margin-left: 0;
    line-height: 1.4;
    margin: 0 auto;
}

.contact-details {
    width: calc(100% - 560px);
    padding-top: 22px;
}

.contact-details ul {
    margin: 0 auto;
    text-align: center;
    width: 40%;
}

.content-wrapper.sucessful-reset-wrapper .register-block h4 {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.content-wrapper.sucessful-reset-wrapper .register-block h4+a {
    text-align: center;
}

.dialog-message-ok .msg-close-btn:hover {
    cursor: pointer;
}

.skin-wrapper.sign-up form .register-block {
    width: 94%;
    margin: 0 auto;
}
.skin-wrapper.sign-up form .register-block label {
    margin: 19px 0 0 0;
}
/* MEDIUM AND SMALL SCREENS STYLES */

@media only screen and (max-device-width: 550px) {
    header {
        flex-direction: column;
        padding: 25px 0;
    }

    .forgotten-pass main {
        margin-top: 0;
        padding-top: 20px;
    }

    .forgotten-pass form button {
        width: auto;
    }

    .sign-in-prompt {
        width: 100%;
        font-size: 16px;
        text-align: center;
        justify-content: center;
    }

    .contact-details ul {
        margin: 0;
    }

    footer .logo-holder,
    .contact-details {
        padding: 15px 0;
    }

    .main {
        padding-top: 60px;
    }

    .row-half {
        width: 100%;
    }

    .additional-info h4 {
        margin-bottom: 15px;
    }

    .contact-details ul li {
        padding-right: 14px;
    }

    .contact-details ul li:first-child {
        padding-left: 17px;
    }
}

@media only screen and (min-device-width: 760px) {
    .submitted main {
        padding-top: 90px;
    }

    .skin-wrapper {
        position: relative;
        box-sizing: border-box;
        height: 100%;
    }

    .skin-wrapper {
        position: relative;
    }

    footer {
        position: static;
    }
}

@media only screen and (min-device-width: 961px) {

    .skin-wrapper.login footer {
        padding-bottom: 20px;
        padding-top: 10px;
        bottom: 0px
    }

    .skin-wrapper.login {
        padding: 0;
    }

    .skin-wrapper main,
    .title-content {
        width: 75%;
    }

    .contact-details {
        width: 100%;
    }

    .contact-details ul {
        width: 70%;
        margin-left: -2%;
    }

    footer {
        left: 0;
        right: 0;
        bottom: 0;
    }
}

@media only screen and (min-device-width: 1159px) {
    .contact-details {
        width: calc(100% - 560px);
    }

    .contact-details ul {
        width: 40%;
        margin: 0 auto;
    }
}

@media only screen and (min-device-width: 760px) and (max-device-width: 960px) {

    .skin-wrapper main,
    .title-content {
        width: 85%;
    }

    .contact-details {
        width: 100%;
    }

    .contact-details ul {
        width: 70%;
        margin-left: 2%;
    }
}

@media only screen and (max-device-width: 759px) {
    .col-1 {
        position: relative;
    }
    .additional-info input[type='checkbox'][value='true']+span {
        position: absolute !important;
        top: 0;
        left: 0;
    }
    .skin-wrapper form {
        width: 90%;
        margin: 0 auto;
    }

    .additional-info .row-half {
        display: block;
        width: 100%;
    }

    .additional-info .row-half .col-11 {
        display: inline;
    }

    .skin-wrapper div.error-msg-wrapper {
        max-width: 80%;
        width:80% !important;
        top: 65%;
        left: 0 !important;
        right: 0;
        margin: 0 auto;
        text-align: center;
        padding: 0;
        max-height: 20%;
    }

    

    .error-msg-wrapper .error-message {
        width: 80%;
        margin: 0 auto;
        margin-top: 35px;
    }

    .dialog-message-ok {
        width: 60%;
    }

    .skin-wrapper {
        position: static;
        box-sizing: border-box;
        height: 100% !important;
        padding: 0;
    }

    .skin-wrapper footer {
        padding-bottom: 0px;
        padding-top: 0px;
    }

    .skin-wrapper main {
        width: 100%;
    }

    .title-content {
        width: 90%;
    }

    .main.title {
        font-size: 24px;
        ;
    }

    .logo-holder {
        text-align: center;
    }

    .intro-info a {
        display: block;
    }

    .submitted header .logo-holder,
    .preference header .logo-holder {
        margin: 0 auto;
    }

    .contact-details ul {
        margin: 0;
        font-size: 14px;
    }

    .contact-details ul li:first-child {
        padding-left: 30px;
    }

    footer {
        flex-direction: column;
        justify-content: center;
    }

    .logo-holder {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .row-half {
        width: 100%;
    }

    .register-block {
        margin: 0 auto;
    }

    .contact-details ul li {
        padding-right: 14px;
    }

    .contact-details ul li:after {
        left: 7px;
    }

    .contact-details ul li:first-child {
        padding-left: 17px;
    }

    .contact-details ul {
        padding: 0;
    }

    footer .logo {
        margin-top: 0;
    }

    .contact-details,
    .contact-details ul {
        width: 100%;
    }

    .contact-details a {
        padding: 20px 5px;
    }

    header,
    .logo-holder,
    .logo-holder+a,
    header .sign-in-prompt {
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }
}

/* LANDSCAPE STYLES */

@media only screen and (min-device-width: 768px) and (max-device-width: 1023px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .main-page form label {
        display: block;
    }

    .skin-wrapper main,
    .title-content,
    .row-half {
        display: block;
        width: 100%;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1200px) {
    .skin-wrapper div.error-msg-wrapper {
        min-width: 50%;
        top: 33%;
        left: 20%;
        max-width: 34%;
        padding: 25px 35px;
        max-height: 15% !important;
    }

    .error-msg-wrapper .error-message {
        margin-top: 36px;
        width: 67%;
        margin: 0 auto;
    }
}

@media only screen and (min-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {

    .skin-wrapper main,
    .title-content{
        width: 60%;
    }

    .skin-wrapper form {
        height: 100%;
        padding-bottom: 150px;
        width: 45%;
        margin: 0 auto;
    }

    footer {
        justify-content: flex-start;
    }

    .logo-holder {
        width: 100%;
        margin-left: 5px;
    }

    .row-half {
        display: inline-block;
        width: 44%;
    }
}

/* INTERNET EXPLORER STYLES */

/* *******************************************************
****************************************************** */

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {

    /* IE10+ CSS styles go here */

    html, body, .skin-wrapper, footer {
        width: 100%;
        box-sizing: border-box;
    }
  
    main {
        display: block;
    }

    .tick:after {
        content: "";
    }

    footer .contact-details ul {
        margin-left: -25%;
    }
.skin-wrapper.preference form input[type='checkbox'],
    .skin-wrapper.sign-up-no-pass form input[type='checkbox'],
    .skin-wrapper.sign-up form input[type='checkbox'] {
        box-shadow: 0px 1px 1px 1px silver;
    }

    .additional-info input[type='checkbox'][value='true']+span {
    position: absolute;
    z-index: 0;
    top: -20px;
    left: -50px;
}
   
    .skin-wrapper.forgotten-pass main.content-wrapper {
        padding: 120px 0 !important;
    }

    .skin-wrapper.forgotten-pass main.content-wrapper .register-block{
        padding-bottom: 80px !important;
    }
}

/* STYLES IE */
@media all and (max-width: 799px) and (-ms-high-contrast:active),
(-ms-high-contrast:none) {

    .skin-wrapper main {
        width: 100%;
        display: block;
    }

    .skin-wrapper form {
        width: 85% !important;
        margin: 0 auto !important;
    }

    .title-content {
        width: 90%;
    }

    .logo-holder {
        text-align: center;
        margin: 0 auto;
    }

    .contact-details ul {
        margin: 0;
        font-size: 14px;
        width: 100%;
    }

    .contact-details ul li:first-child {
        padding-left: 30px;
    }

    footer {
        display: block;
        flex-direction: column;
        width: 100%;
        /* margin-top: 50px; */
    }

    header .logo-holder {
        margin: 0 auto;
        width: 100%;
    }

    .preference header {
        display: block;
        text-align: left;
    }

    .sign-up header {
        display: block;
        margin: 0 auto;
    }

    .row-half {
        width: 100%;
    }

    header,
    .logo-holder,
    .logo-holder+a,
    header .sign-in-prompt {
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }

    .contact-details {
        display: inline-block;
    }

    /* skin-wrapper.preference form input[type='checkbox']+span {
        display: none;
    } */
}

@media all and (min-width: 800px) and (-ms-high-contrast:active),
(-ms-high-contrast:none) {

    .skin-wrapper main,
    .title-content {
        width: 100%;
    }

    footer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 50px;

    }

    footer .logo-holder {
        margin-left: -20px;
    }

    header .logo-holder {
        width: 22%;
        margin-left: 5px;
        display: inline-block;
        vertical-align: middle;
    }

    header .logo-holder a {
        margin-top: 15px;
    }

    .row-half {
        width: 80%;
    }

    .logo-holder .logo {
        display: inline-block;
    }

    .skin-wrapper form {
        width: 30% !important;
        margin: 0 auto;
    }

    header .logo-wrapper {
        width: 20%;
        text-align: right;
        max-width: auto;
    }

    header .sign-in-prompt,
    header .logo-holder+a {
        display: inline-block;
        text-align: right;
        width: 75%;
        vertical-align: middle;
    }

    header .logo-holder+a {
        width: 83%;
    }

    header .sign-in-prompt span,
    header .sign-in-prompt p {
        display: inline;
    }
}
.additional-info input[type='checkbox'][value='true'] {
    z-index: 1;
}

.additional-info input[type='checkbox'][value='true']+span {
    position: relative;
    z-index: 0;
}

/*Error and Ok messages*/

.skin-wrapper div.error-msg-wrapper {
    padding: 30px 20px;
    text-align: center;
    position: fixed;
    display: none;
    top: 200px;
    left: 25%;
    height: 0 !important;
    padding: 0;
    border: none;
    z-index: 18;
    width: 50%;
    background: #fff;
}

.skin-wrapper div.error-msg-wrapper .error-message {
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
    background: #fff;
    padding: 30px 15px;
    border: 1px solid #efefef;
    box-shadow: 3px 3px 1px 1px #d5d5d5;
}

.error-message p {
    line-height: 1.6;
}

.error-message p a {
    margin-left: 3px;
}

.error-message p a:hover,
.msg-btn:hover {
    cursor: pointer;
    opacity: .7;
}

.error-message:first-child {
    margin-top: 20px
}

#error-filed-msg-label {
    margin-top: 15px;
    color: #444444;
}

#cookie-message-container {
    padding: 30px 20px;
    text-align: center;
    background-color: #e6e9e9;
    color: #000;
    position: absolute;
    z-index: 999;
    bottom: 120px;
    width: 100%;
    box-sizing: border-box;
}


.msg-btn {
    position:relative;
    top:2.5em;
    display: flex;
    justify-content:flex-end;
    padding-right:4.5%;
}

.dialog-message-ok {
    display: none;
    padding: 40px 20px;
    text-align: center;
    line-height: 1.2;
    position: relative;
    top: 330px;
    background: white;
    border: 1px solid silver;
    box-shadow: 3px 3px 1px 1px #d5d5d5;
    width: 50%;
    margin: 0 auto;
}

.dialog-message-ok .msg-close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #444444;
}

/* ednd of error  and ok messages */


.skin-wrapper.confirmation {
    height: calc(100vh + 150px);
}

.skin-wrapper.reset {
    height: 100vh;
}
.skin-wrapper.login main.content-wrapper,
.skin-wrapper.login-no-pass main.content-wrapper {
    height: 45vh;
    padding-bottom: 90px;
}

.skin-wrapper.reset  main.content-wrapper {
    height: 31vh;
}

.skin-wrapper.submitted main.content-wrapper {
    height: 37vh;
}

.skin-wrapper.submitted main.content-wrapper .register-block {
   text-align: center;
}
.skin-wrapper.reset  footer{
   margin-top: 130px;
}
.skin-wrapper.forgotten-pass {
    position: static;
    height: 100vh;
}
.skin-wrapper.forgotten-pass main.content-wrapper {
    padding-bottom: 4%;
    padding-top: 3%;
    height: auto;
}

.skin-wrapper.forgotten-pass footer {
    padding: 19px 20px;
    margin-top: 0;
}
.skin-wrapper.reset main.content-wrapper form {
    width: 60%;
    margin: 0 auto;
}
.skin-wrapper.reset main.content-wrapper form label{
  margin-right: 0;
}
.skin-wrapper.forgotten-pass main.content-wrapper .register-block {
    width: 70%;
    margin: 0 auto;
}
.skin-wrapper.reset main.content-wrapper .register-block {
    width: 70%;
    margin: 0 auto;
}

.skin-wrapper.forgotten-pass main.content-wrapper .register-block label{
  margin-right: 0;
}

.skin-wrapper.preference main.content-wrapper .register-block,
.skin-wrapper.preference main.content-wrapper .additional-info {
    width: 100%;
    margin: 0 auto;
}

.skin-wrapper.preference main.content-wrapper .register-block label,
.skin-wrapper.preference main.content-wrapper .additional-info label {
  margin-right: 0;
}

.skin-wrapper.preference main.content-wrapper .additional-info {
    display: block;
}
/* tablet portrait */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

    .skin-wrapper.preference,
    .skin-wrapper.main-page {
        height: calc(100vh + 600px);
    }
}

/* laptop styles */

@media screen and (max-height: 1080px) and (orientation: landscape) {

    .skin-wrapper.preference footer,
    .skin-wrapper.main-page footer {
        padding: 10px 20px;
    }

    footer .logo-holder,
    .contact-details {
        padding: 0;
    }
}

form select.invalid-field:valid,
form select.invalid-field:invalid { /* we need something more specific to overwrite teh form 'form select:valid' style*/
    border: 1px solid #ff0000 !important;
}
