/* in iframe not needed for less */

* {
    /* outline: 1px dotted rgba(200, 0, 0, 0.75); */
}

body {
    width: 100%;
    overflow: hidden;
    font-family: Helvetica, Arial, sans-serif;
}

#flash {
    background: #fff;
    padding: 0px;
}

#login {
    width: 100%;
    padding: 0px 5px;
    margin: 0px;
    background: #fff;
    box-sizing: border-box;
    clear: both;
}

html {
    box-sizing: border-box;
    height: auto;
}

input{
    height: 42px;
    width: 100%;
    margin: 10px 0px 0px;
    box-sizing: border-box;
    padding: 10px 10px;
}

.submit {
    margin-top: 10px;
    text-align: center;
    height: 60px;
    line-height: 60px;
    width: 100%;
    background: #e4147e;
    margin:10px 0;
    padding: 0px;
    transition: 0.2s ease-in-out;
    position: relative;
}

.submit:hover {
    background: #e4147e;
    transition: 0.2s ease-in-out;
}


#flash p {
    font-size: 16px;
    font-weight: bold;
}

#flash  {
    visibility: hidden;
    height: 0px;
}

#ID-forgotten-password {
    display: block;
    margin: 24px 0 12px;
    text-align: center;
    text-decoration: none;
    color: #666666;
}

#ID-forgotten-password:hover {
    color: #e4147e; 
}

.ID-registerOnLoginModal {
    margin-top: 10px;
    text-align: center;
    height: 60px;
    line-height: 60px;
    width: 100%;
    background: #DDDDDD;
    margin:10px 0;
    padding: 0px;
    transition: 0.2s ease-in-out;
    position: relative;
}
.ID-registerOnLoginModal:hover {
    background: #CCCCCC;
    transition: 0.2s ease-in-out;
}

#ID-userRegister {
    width: 100%;
    height: 100%;
    /* display: block; */
    display: none;
    text-decoration: none;
    color: #666666;
    cursor: pointer;
}

/* new */
.login-reg-wrap {
    display: block;
    text-align: center;
    color: #666666;
}
#ID-userRegister-new {
    cursor: pointer;
    color: #004f91;
    text-decoration: underline;
    user-select: none;
}


.ID-plsSignIn {
   /*  display: inline-block; */
    max-height: 60px;
    padding-top: 10px;
    font-size: 15px;
    line-height: 24px;
}

.ID-plsSignIn-notName {
    display: inline;
    font-weight: bold;  
    font-size: 15px;
   /*  margin-left: 16px; */
    cursor: pointer;
}

.ID-plsSignIn-notName:hover{
    color: #e4147e;
}

#ID-toggle-pwd-off {
    height: 100%;
}

.ID-toggle-pwd-wrapper {
    min-height: 47px;
    max-height: 60px;
}

#ID-login-with-ref-title {
    text-align: center;
    display: block;
    margin: 20px auto 0px;
    color: #666666;
    user-select: none;
    position: relative;
}

#ID-login-with-ref {
    text-align: center;
    display: block;
    cursor: pointer;
    color: #004f91;
    text-decoration: underline;
    user-select: none;
    margin: 5px 0;
    /* height: 30px; */
    height: auto;
    position: relative;
}



/* form styles */

.ID-checkout-extra-fields .block label,
.ID-block-row .block label,
.block label 
{
    display: block !important;
    position: absolute;
    top: 20px;
    font-size: 16px !important;
    transition: 0.2s ease-in-out;
    padding: 0px 10px;
    /* pointer-events: none; */
    margin-top: 0px;
    color: #666666;
}

.ID-checkout-extra-fields .block label,
.ID-block-row .block label {
    pointer-events: none;
}

.ID-body-user-login .block label  {
    position: static;
    font-size: 0.88888888888889em !important;
    padding: 10px 0px 0px;
}

.ID-checkout-extra-fields .block label.error,
.ID-block-row .block label.error,
.block label.error {
    display: none !important;
}

.ID-checkout-extra-fields .block input label,
.ID-block-row .block input label,
.block input label {
    color: #ddd;
}

.ID-checkout-extra-fields .block input ~ label,
.ID-block-row .block input ~ label,
.block input ~ label {
    pointer-events: none;
}

.ID-checkout-extra-fields input:focus ~ label,
.ID-block-row .block input:focus ~ label,
.block input:focus ~ label {
    top: 0px;
    font-size: 12px !important;
    color: #004f91 !important;
}

.ID-checkout-extra-fields .block select:focus ~ label,
.ID-block-row .block select:focus ~ label,
.block select:focus ~ label {
    top: 0px;
    font-size: 12px !important;
    color: #004f91;
}

.ID-checkout-extra-fields .block.hasValue label,
.ID-block-row .block.hasValue label,
.block.hasValue label {
    top: 0px;
    font-size: 12px !important;
}

.ID-form-status {
    position: absolute;
    width: calc(0% - 1px);
    height: 2px;
    background: #004f91;
    top: 48px;
    left: 50%;
    transition: 0.15s linear;
}

/* HIGHLIGHTER ================================== */
/* active state */

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

input, select {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    margin-top: 8px;
    border: 0px solid #666666;
    border-bottom: 1px solid #b9b9b9;
    border-bottom-width: 1px;
    font-weight: bold;
    color: #004f91;
}


.block {
    position: relative;
} 

input:focus~.ID-form-status,
select:focus~.ID-form-status {
    background: #004f91;
    left: 0px;
    width: calc(100%);
}

.error .block label {
    color: red;
}

.error .block input:focus ~ label {
    color: red !important;
}

.ID-block-row {
    pointer-events: none;
}

.ID-block-row.ID-block-row-showNext {
    pointer-events: all;
}


/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover, 
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
      /* border: 1px solid #fff; */
      -webkit-text-fill-color: #01457f;
      -webkit-box-shadow: 0 0 0px 1000px #fff inset;
      transition: background-color 5000s ease-in-out 0s;
}

.ID-checkout-extra-fields h2 {
    display: none;
}

select option {
    background-color: #ffffff !important;
    color: #000 !important;
}

select:focus{
    background-color: #fff !important;
}

select:focus::-ms-value {
    color: #000 !important;
    background: #fff !important;
}

.ID-block-row.error input,
.block.ID-fieldHasValue-tick input {
    background-position: 98% 0% !important;
}

.ID-body-user-details select,
.ID-body-user-register select,
.ID-body-basket-checkout select {
    background-color: #fff !important;
    /* padding: 5px; */
    background: url(/static/images/backgrounds/down_black.png) no-repeat right #ddd;
    -webkit-appearance: none;
    background-position-x: calc(100% - 10px);
    background-position-y: calc(50% + 6px);
    transition: 0s !important;
    -moz-appearance: none;  /*Removes default style Firefox*/
}

.ID-body-user-details select::-ms-expand,
.ID-body-user-register select::-ms-expand,
.ID-body-basket-checkout select::-ms-expand {
    display: none;
}

.ID-checkout-extra-fields.error select,
.ID-checkout-extra-fields.valid select,
.ID-block-row.error select,
.ID-fieldHasValue-tick select {
    background-position-x: calc(100% - 30px);
}

/* form styles ends */

#login .block {
    margin-bottom: 15px;
}







