/*.controlContainer > button.logon {*/
    /*color: #fff;*/
    /*border-color: transparent;*/
    /*background-image: none;*/
    /*opacity: 0.85;*/
    /*transition: opacity 0.3s ease;*/
    /*-webkit-transition: opacity 0.3s ease;*/
/*}*/

.easy .controlContainer > button.logon{
    font-size: 18px;
}

.controlContainer > button.logon:hover {
        opacity: 1;
    }

button.primary {
    padding: 10px 5px;
}

.mediaContainer {
    width: 60%;
}

#MainContainer {
    background: transparent;
    height: 100%;
    min-height: 700px;
}

.themedLogoWrapper {
    margin: 0 auto;
    padding: 5% 0;
}

.themedLargeLogo {
    display: block;
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
    width: auto;
    height: 70px;
}

.phone .themedLargeLogo {
    height: 60px;
}

.branding-v2.brandingUseT1LargeLogo .themedLargeLogo{
    height: 100px;
}

.phone.branding-v2.brandingUseT1LargeLogo .themedLargeLogo{
    height: 160px;
}


.logonContentContainer {
    box-sizing: border-box;
    transition: width 0.3s ease;
    background-color: rgba(255,255,255, 0.9);
    max-height: 100%;
    padding-bottom: 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.sideBySideView {
    background-color: #fff;
}

.sideBySideView .logonContentContainer {
    float: left;
}

.centreContent {
    margin: 0 auto;
    max-width: 420px;
}

.sbsContent .centreContent {
    width: 800px;
}

.culturesContent {
    background-color: #fff;
    position: relative;
    width:100%;
}
.culturesContent select{
    width: -webkit-fill-available;
}

.logonContent {
    background-color: #fff;
    position: relative;
}

.popupMsg {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}


form {
    position: relative;
}

.logonInputPanel form {
    min-height: 90px;
}

.centreContent > * {
    margin: 0 20px;
}

.sbsContent .logonInputPanel {
    width: 350px;
    display: inline-block;
    vertical-align: top;
}

.usingOAuthPanel.oAuthOnly {
    padding: 10px;
}

.usingOAuthPanel.buttons0 {
    display: none;
}

.logonContent h2 {
    font-weight: 600;
    line-height: 2em;
    margin: 10px 0;
}

.usingOAuthPanel {
    border-bottom: solid 1px rgba(0,0,0,0.1);
    padding-bottom: 25px;
}

#RegisterContainer .usingOAuthPanel {
    border: none;
}

.oAuthButtons {
    min-height: 30px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing:border-box;
}

.oAuthButtons > * {
    margin:5px 5px 0 0;
}

#LogonPanel {
    margin-top: 15px;
}

.controlContainer {
    margin: 0 auto;
    background-color: transparent;
}

.phone .controlContainer {
    background: none;
}

.phone #pageLayout {
    min-height: 100%;
}

.controlContainer input, .controlContainer select {
    width: 100%;
}

.noPlaceholder .controlContainer label[for] {
    z-index: 1;
    padding: 4px 8px;
    position: absolute;
    display: block;
}

.rememberMe.controlContainer label[for] {
    display: inline-block;
    line-height: 24px;
    white-space: nowrap;
    vertical-align: top;
}

.noPlaceholder .controlContainer input, .noPlaceholder .controlContainer select {
    padding-top: 16px;
}

    .noPlaceholder .controlContainer input[type=checkbox] {
        padding: 0;
    }

.rememberMe .icon16 {
    opacity: 0.6;
}

#RememberMeMsg {
    padding: 15px 0;
}

    #RememberMeMsg .popupShow {
        margin-top: 0;
        float: left;
        margin-right: 10px;
    }

.controlContainer > button {
    width: 100%;
    font-size: 1.2em;
}


input[type="checkbox"] {
    width: 18px;
    height: 24px;
    -webkit-appearance: checkbox;
    -ms-appearance: checkbox;
    margin-right: 5px;
}

.engagingStyle select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    padding: 2px 30px 2px 2px;
    border: none;
    outline: none !important;
    opacity: 0;
}

.notEmpty select{
    opacity: 1;
}

.engagingStyle select::-ms-expand {
    display: none;
}

.engagingStyle.dropdown .glyph {
    position: absolute;
    right: 5px;
    top: 5px;
    opacity: 0.6;
    pointer-events: none;
}




.logonBottomPanel {
    border-bottom: solid 1px rgba(0,0,0,0.1);
}


/*Textbox and checkbox styles*/


.tbcStyleContainer.engagingStyle {
    padding-bottom: 20px;
}

.engagingStyle > .textBoxControl {
    padding: 4px 0;
    display: block;
    min-width: 0;
    background-color: transparent;
}


.engagingStyle > .textBoxControl > .tbcEditorLabel {
    display: block;
    position: relative;
    font-size: 1.4em;
    top: 23px;
    left: 4px;
    opacity: 0.75;
    color: #656565;
    cursor: text;
    transform-origin: left;
    transition-property: transform;
    transition-duration: .2s;
    transition-timing-function: ease;
    -ms-transform-origin: left;
    -ms-transition-property: transform;
    -ms-transition-duration: .2s;
    -ms-transition-timing-function: ease;
    pointer-events: none;
}

.engagingStyle > .textBoxControl > .tbcEditorField {
    display: block;
    position: relative;
    white-space: nowrap;
    box-sizing: border-box;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgba(0, 0, 0, 0.25);
}

.tbcInputContainer, .readonlyTextBoxSpan {
    display: block;
    box-sizing: border-box;
    width: 100%;
    relative;
}


.tbcInputContainer, .tbcInputInnerContainer {
    position: relative;
}

.engagingStyle > .textBoxControl > .tbcEditorField > .tbcInputContainer > .tbcInputInnerContainer {
    height: 100%;
}

.engagingStyle > .textBoxControl > .tbcEditorField > .tbcInputContainer > .tbcInputInnerContainer, .engagingStyle > .textBoxControl > .tbcEditorField > .readonlyTextBoxSpan {
    box-sizing: border-box;
    padding: 2px 5px;
}


.tbcInputInnerContainer > .logonInput {
    border: none;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.engagingStyle > .textBoxControl .logonInput {
    background: none;
}

.engagingStyle > .textBoxControl .logonInput, .engagingStyle > .textBoxControl .readonlyTextBoxSpan {
    font-size: 1.4em;
    line-height: 26px;
    color: #333;
}

.engagingStyle > .textBoxControl .logonInput:focus {
    outline: none;
    box-shadow: none;
}

.engagingStyle > .readonly.textBoxControl > .tbcEditorLabel,
.engagingStyle > .active.textBoxControl > .tbcEditorLabel,
.engagingStyle > .notEmpty.textBoxControl > .tbcEditorLabel,
.engagingStyle > .validationError.textBoxControl > .tbcEditorLabel {
    transform: scale(0.8) translateY(-32px);
    -ms-transform: scale(0.8) translateY(-32px);
    opacity: 0.65;
}


.engagingStyle > .flowCheckBox {
    display: block;
    box-sizing: border-box;
    position: relative;
    margin-top: 2px;
    /*padding-bottom: 10px;*/
}

    .engagingStyle > .flowCheckBox > .cbcEditorField {
        float: left;
        vertical-align: top;
        transition: transform 0.1s ease;
        -ms-transition: transform 0.1s ease;
    }


    .engagingStyle > .flowCheckBox.checked > .cbcEditorField {
        transform: scale(1.2);
        -ms-transform: scale(1.2);
    }



    .engagingStyle > .flowCheckBox > .cbcEditorField > input {
        visibility: hidden;
    }


    .engagingStyle > .flowCheckBox > .cbcEditorField:before {
        display: block;
        content: "\E066";
        font-family: iconGlyph;
        font-size: 0;
        text-align: center;
        line-height: 16px;
        width: 20px;
        height: 20px;
        border-style: solid;
        border-width: 2px;
        border-color: #8f8f8f;
        border-radius: 2px;
        margin: 8px 8px 8px 4px;
        background: linear-gradient(to bottom, rgba(255,255,255,1) 50%,rgba(245,245,245,1) 100%);
        box-shadow: inset 0 0 0 1px rgba(255,255,255,1);
        box-sizing: border-box;
        transition: font-size, color, 0.1s ease;
    }


    .engagingStyle > .flowCheckBox.editable:hover > .cbcEditorField:before,
    .engagingStyle > .flowCheckBox.editable:focus > .cbcEditorField:before {
        border-color: #333;
    }

    .engagingStyle > .flowCheckBox.checked > .cbcEditorField:before {
        content: "\E066";
        font-size: 16px;
    }

    .engagingStyle > .flowCheckBox.readonly > .cbcEditorField:before,
    .engagingStyle > .flowCheckBox.disabled > .cbcEditorField:before,
    .engagingStyle > .flowCheckBox.disabled > .cbcEditorLabel {
        opacity: 0.35;
    }


    .engagingStyle > .flowCheckBox > .cbcEditorLabel {
        display: block;
        padding: 8px 4px;
        font-size: 1.2em;
    }

.logonBottomPanel .engagingStyle > .flowCheckBox > .cbcEditorLabel {
    display: inline-block;
}

.flowCheckBox, .flowCheckBox label {
    cursor: pointer;
}

.engagingStyle > .flowCheckBox > .cbcEditorLabel > label {
    display: block;
    line-height: 20px;
    font-weight: 500;
    position: relative;
    color: #333;
}

.mediaLogoWrapper {
    padding-top: 60px;
    opacity: 0.5;
}


.controlContainer {
    border: none;
}

.logOnInput .controlContainer {
    display: block;
    /*font-size: 0.8em;*/
}

.logOnInput .editorField {
    display: block;
}


button.oAuth {
    display: block;
    position: relative;
    padding: 7px;
    margin: 0 auto;
    text-align: left;
    background-image: none;
    border-radius: 1px;
    border-color: transparent;
    height: 40px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: none;
    white-space: nowrap;
    background-color: white;
    float: left;
}

.buttonsN button.oAuth, .registerContainer button.oAuth {
    width: auto;
}

.buttons1 h2, .lblLogon {
    display: none;
}

.flex > div {
    flex-grow: 1;
}

.buttons1 .lblLogon {
    display: inline-block;
}


.buttonsN .buttonLabel {
    display: none;
}

button.logon, button.register {
    transition: background 0.3s ease;
    -webkit-transition: background 0.3s ease;
}

    button.logon.oAuth .icon24, button.register .icon24 {
        background-size: cover;
    }

button.oAuth {
    border-color: #000;
}

    button.oAuth.google {
        border-color: #4285F4;
    }

    button.oAuth.facebook {
        border-color: #47639E;
    }

    button.oAuth.saml {
        border-color: #440c5c;
    }

    button.oAuth.office {
        border-color: #ed3d01;
    }


.buttonsN button.oAuth:hover .buttonLabel {
    display: block;
    position: absolute;
    background-color: #fff;
    border: solid 1px rgba(0, 0, 0, 0.05);
    width: 100px;
    text-align: center;
    left: 50%;
    margin-left: -50px;
    padding: 2px 0;
    top: 41px;
    font-size: 0.8em;
}


button.logon[disabled] {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.buttonLabel {
    font-size: 1em;
    margin: 3px 5px;
    color: var(--ciaColourTextPrimary);
}

button.linkStyle {
    padding: 5px;
    font-size: 1em;
    width: auto;
}

    button.linkStyle:focus {
        box-shadow: none;
    }

#ValidationSummary {
    margin-bottom: 10px;
    max-height: 100px;
    overflow: auto;
}

.field-validation-error, .field-validation-valid {
    display: block;
    margin-top: 5px;
}

.validation-summary-errors > ul, .maintenanceMode {
    color: #E00000;
    background: #FCF8F8;
    padding: 5px;
}

.validation-summary-errors li, .maintenanceMode {
    background: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/16/orbredex.png?v=12.0.139.0') no-repeat 4px 2px;
    padding-left: 25px;
    line-height: 1.6em;
    display: block;
    text-align: left;
}

.validation-summary-errors a{
    text-decoration:underline;
}

.maintenanceMode {
    line-height: 1.5em;
    display: none;
    padding-top: 2px;
}

.hasMaintenanceMode .maintenanceMode {
    display: block;
}

.ariaText {
    position: absolute;
    height: 0;
    width: 0;
    top: -1000px;
    overflow: hidden;
}

#LogonPopupWrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: url("https://cdn.t1cloud.com/cianywhere/content/base/images/blackopac15.png?v=12.0.139.0");
    background: rgba(0, 0, 0, 0.5);
    z-index: 9001;
}

.logonPopup {
    position: absolute;
    background: white;
    width: 60vw;
    left: 20vw;
    top: 20vh;
    text-align: justify;
}

.phone .logonPopup {
    width: auto;
    left: 5px;
    right: 5px;
}

#LogonPopupContent {
    padding: 0 20px;
    max-height: 50vh;
    min-height: 20vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    word-break: break-word;
}

.phone .logonPopup > header, .phone .logonPopup > footer {
    padding: 10px 20px;
}

.phone .logonPopup > header {
    font-size: 1.5em;
}

.phone .logonPopup > header button {
    display: none;
}

.phone #LogonPopupContent {
    color: black;
    max-height: 50vh;
}

.phone .logonPopup > .content {
    text-align: justify;
}

.popupShow {
    cursor: pointer;
}

.popupShow:hover {
    opacity: 1;
}

.popupMsgTitle {
    display: none;
}

.logonPopup .header {
    position: relative;
}

.logonPopup .close {
    position: absolute;
    top: 0;
    right: 0;
    margin: 5px;
}

.logonPopup h3 {
    font-weight: normal;
}


#LogonPopupContent {
    line-height: 1.4em;
}

.phone .portalLabels .separator {
    opacity: 0.5;
}

    .phone .portalLabels .separator:last-of-type {
        display: none;
    }



/****************IE 8 Support *********/

@media \0screen {

    .logonContent {
        border: solid 1px #afafaf;
    }

    .accessibilityContainer {
        display: none;
    }

    input[type="password"] {
        font-family: Helvetica, Arial, sans-serif;
    }

    input[type="checkbox"] {
        padding: 0;
        width: auto;
        height: auto;
    }
}

.phone #MainContainer {
    min-width: 100%;
}

.phone .centreContent {
    width: auto;
}

.regoContainer {
    min-height: 2em;
    padding-bottom: 30px;
}

#RegisterContainer{
    display: none;
}

.regoContainer.shown #lnkTnc{
    position: absolute;
    right: 0;
    bottom: 5px;
}

.regoContainer.shown #RegisterContainer{
    display: block;
}

.regoRightContent{
    float: right;
    text-align: right;
}

.mediaContainer {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/******* Footer **************/

#GlobalFooter .floatLeft {
    display: inline-block;
}

#GlobalFooter > .fixedWidth {
    float: none;
    min-width: 0;
}


.phone #GlobalFooter {
    line-height: 2em;
    font-size: 0.9em;
    text-align: center;
    margin-top: 10px;
    padding: 0;
}

    .phone #GlobalFooter .shellFG {
        color: #000000;
    }

    .phone #GlobalFooter .tagline {
        margin: 0;
    }

body.phone, body.easy {
    overflow-y: auto;
}


/*--Make the login panel responsive--*/

.responsiveLogin {
    background: none;
}

    .responsiveLogin #MainContainer {
        min-width: 0;
    }

    .responsiveLogin .logonContentContainer {
        padding: 0 5px;
    }

    .responsiveLogin .logonContent {
        width: auto;
        box-shadow: none;
        border: solid 1px rgba(0, 0, 0, 0.1);
        max-width: 415px;
        box-sizing: border-box;
    }

    .responsiveLogin #BtnChgPwd, .responsiveLogin .registerContainer, .responsiveLogin .accessibilityContainer, .responsiveLogin #MainContainer > footer {
        display: none;
    }



@media screen and (max-width: 320px) {

    .responsiveLogin .buttonsN h2 {
        display: block;
        text-align: center;
        padding: 2px;
    }

    .usingOAuthPanel > div {
        float: none;
    }
}

@media screen and (max-width: 400px) {
    #GlobalFooter .floatLeft, #GlobalFooter .floatRight {
        float: none;
        margin: 0;
        padding: 0;
        display: block;
    }
}


@media screen and (max-width: 1024px) {

    #MainContainer {
        min-width: auto;
    }

    .logonContentContainer {
        width: 100% !important;
    }


    #MainContainer > footer {
        width: 100%;
    }

    .mediaContainer {
        display: none;
    }
}




@media screen and (max-height: 1024px) {

    body {
        min-height: 500px;
        overflow-y: auto;
    }
}

@media screen and (max-width: 700px) {
    .width50Perc {
        width: 100%;
    }

    .regoRightContent {
        float: none;
        text-align: left;
    }

    #lnkTnc{
        margin-top: 0px;
        display: block;
    }
}

.information {
    background: #F8FCF8 no-repeat 4px 4px;
    padding: 5px;
    line-height: 1.5em;
    display: block;
    border-radius: 3px;
    color: #008500;
    border: 1px solid #B7DEB7;
    text-align: left;
    margin-bottom: 10px;
    font-size: 1em;
    word-wrap: break-word;
}

.durationSpinner {
    display: none;
}

.easy input:focus {
    outline: none;
}

#GlobalFooter {
    position: absolute;
    bottom: 0;
    left:0;
    right:0;
}


/** Accessibility styles */
.easy #GlobalFooter{
    display: none;
}

.easy .logonPopup header, .easy .logonPopup footer {
    padding: 20px;
}

.easy .logonPopup .content {
    color: black;
    text-align: left;
}

.easy #MainContainer{
    position: relative;
}


.easy *{
    opacity:1 !important;
}

.logOffButton {
    background: none!important;
    border: none;
    padding: 0!important;
    text-decoration: underline;
    cursor: pointer;
    color: var(--ciaColourThemePrimaryAction);
}

#ChangePassword.logonContentContainer {
    height:100%;
}

.sideBySideContainer .logonContentContainer {
    overflow: hidden;
}

.phone #pageLayout {
    background-color: white;
}

#ChangePassword form {
    width: 90%;
    margin: 0 auto;
}

#ChangePassword .themedLogoWrapper {
    padding-bottom: 10%;
}

#ChangePassword .logonContent {
    max-width: 40%;
    height: 100%;
}

@media screen and (max-width: 800px) {
    #ChangePassword .logonContent {
        max-width: 100%;
    }
}

.portraitMode #ChangePassword .logonContent {
    max-width: 100%;
}


.phone #ChangePassword .logonContent {
    max-width: 100%;
}


#ChangePassword h2 {
    font-size: 1.1em;
    opacity: 0.8;
    margin: 10px 0;
    line-height: 1.5em;
    margin-top: 10px;
    text-align: left;
    word-break: break-word;
    font-weight:normal;
}

#ChangePassword .logonContent {
    box-shadow: 0px 1px 2px #c2c0c0;
}

.phone #ChangePassword .logonContent {
    box-shadow: none;
}

#ChangePassword h1 {
    font-size: 1.3em;
    font-weight: normal;
}

#ChangePassword .usingOAuthPanel h2 {
    margin: 2px;
}

.g-recaptcha > div {
    margin: 0 auto;
    margin-top: 20px;
}

.accessAreaSection {
    margin-top:20px;
}

.hintTextContainer {
    position: absolute;
    left: 50px;
    right: 50px;
    top: 35px;
    visibility: hidden;
    transition: transform 0.3s ease-in-out;
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transform: scaleY(0);
    -webkit-transform: scaleY(0);
    z-index: 1;
}
.active .hintTextContainer {
    visibility: visible;
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
}

.hintTextContainer .hintText {
    font-size: 0.9em;
    line-height: 1.3em;
    white-space: pre-wrap;
    margin: 5px;
}

.hintTextContainer .tarw {
    position: absolute;
    left: 50%;
    margin-left: -12px;
    top: -10px;
}

.hintTextContainer .larw {
    position: absolute;
    top: 50%;
    margin-top: -12px;
    left: -10px;
    display: none;
}

/* accessibility styles */
body.easy #pageLayout{
    height: 100%;
}
