.index-overlay-background-image {
    background: url(/resources/images/backgrounds/overlay-background-modem.jpg) center top no-repeat rgb(255, 255, 255);
}

.overlay-footer {
    position: relative;
    max-width: 840px;
    margin: 30px auto 0px auto;
}

.overlay-content-body .overlay-buttons input[type="button"] {
    margin: 10px;
}

#overlay-password-input {
    width: 220px;
    height: 22px;
    font-size: 14px;
}

#overlay-password-error {
    font-size: 16px;
    color: #cc0022;
}

.overlay-password-error-content {
    height: 29px;
}

img.overlay-password-error-content {
    width: 29px;
    vertical-align: middle;
}

/* Password with show/hide
 *
 * This comprises a div containing an input and an link. The link toggles
 * the input between type="password" and type="text". The border to the
 * input is suppressed and displayed around the div instead making the
 * link appear to be within in the input.
 */

div.password {
    display: inline-block;
    border: 2px solid #d3d3d3;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #fff;
    width: 220px;
    position: relative;
}

div.password.error {
    margin: 1px;
    border: 1px solid #cc0022;
    box-shadow: 0 0 5px #cc0022;
    outline-width: 0;
}

div.password.has-focus {
    border: 2px solid #000;
}

.password span {
    padding-top: 5px;
    padding-bottom: 5px;
    height: 22px;
    font-size: 18px;
}

.password input {
    border: none;
    padding-left: 0px;
    padding-right: 0px;
}

.password input:focus {
    outline: none;
}

.password-show-hide {
    cursor: pointer;
    color: #666;
    position: absolute;
    right: 5px;
    padding-top: 3px;
}

/* restore factory defaults style */

.overlay-close-button {
    position: absolute;
    top: 30px;
    right: 0px;
    cursor: pointer;
}

.overlay-close-button div {
    float: right;
    height: 35px;
    margin-left: 2px;
    padding: 5px 15px;
    font-size: 28px;
    color: #666;
    background: #fff;
}

.overlay-content-body p.credentials-heading {
    margin-bottom: 0px;
    color: #224499;
}

/* Guest network wizard */

#guest-wizard-ssid-validation-tick-icon, #guest-wizard-password-validation-tick-icon {
    width: 20px;
    height: 20px;
}

/* Fixed width so that content does not shift when error messages are added */

.guest-wizard-ssid-and-password-table .default-row .default-cell:first-child {
    width: 270px;
}

.guest-wizard-enable-duration-table {
    padding-left: 170px;
    max-width: calc(100% - 170px);
}

#guest-wizard-date-and-time-picker-container {
    background: initial;
}

#guest-wizard-date-and-time-picker-container input:nth-child(1) {
    margin-left: 35px;
    width: 150px;
}

#guest-wizard-date-and-time-picker-container input:nth-child(2) {
    width: 60px;
}

#date-time-error {
    margin-left: 35px;
}

.overlay-content.guest-wizard-content {
    position: initial;
}

.partial-overlay-overlay-content#guest-wizard-loading-spinner {
    position: initial;
    left: initial;
    top: initial;
    width: initial;
    height: initial;
    background: initial;
}

#guest-wizard-settings-updated-icon {
    height: 60px;
    width: 60px;
    margin-top: 15px;
    margin-bottom: 40px;
}

.wps-pairing-icon {
    height: 60px;
    width: 60px;
    margin-top: 15px;
    margin-bottom: 40px;
}

.wifi-config-wizard-icon {
    height: 60px;
    width: 60px;
    margin-top: 15px;
    margin-bottom: 40px;
}

.wifi-config-wizard-tick-icon {
    height: 20px;
    width: 20px;
    vertical-align: middle;
    margin-left: 10px;
    margin-right: 5px;
}

.action-button#guest-wizard-apply-settings-success-close-button {
    margin-bottom: 0px;
    margin-top: 60px;
}

a.wifi-config-change {
    padding-left: 10px;
    background: url(/resources/images/icons/arrow-blue.svg) no-repeat 0px 4px;
    background-size: 6px 10px;
    color: blue;
}

a.wifi-config-change:hover {
    background: url(/resources/images/icons/arrow-grey.svg) no-repeat 0px 4px;
    background-size: 6px 10px;
    color: violet;
}

.wifi-config-wizard-wifi-password-strength-bar-container {
    font-size: 18px;
}

.wifi-config-wizard-change-button {
    margin-left: 10px;
}

.wifi-config-setting {
    display: inline-block;
}

/* Diagnostic steps */

.diagnostic-wizard-step-status {
    position: relative;
    margin-bottom: 5px;
    border-radius: 5px;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.diagnostic-wizard-step-status .langHtml {
    display: inline-block;
    margin: 10px 5px 10px 35px;
}

.diagnostic-wizard-step-status .load-text {
    font-size: 32px;
}

.diagnostic-wizard-step-status.error {
    color: #cc0022;
}

.diagnostic-wizard-step-status.success {
    color: #11aa44;
}

.diagnostic-wizard-step-status img {
    position: absolute;
    top: 15%;
    width: 29px;
    height: 29px;
}

.diagnostic-wizard-result-status {
    font-size: 32px;
}

.diagnostic-wizard-result-status .error {
    color: #cc0022;
}

.diagnostic-wizard-result-status .success {
    color: #11aa44;
}

.diagnostic-wizard-explanatory-text {
    font-size: 20px;
}

.diagnostic-wizard-result-status img {
    width: 50px;
    height: 50px;
}

.diagnostic-wizard-check-list-header {
    position: relative;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 24px;
    color: #000;
    text-align: center;
}

.diagnostic-check-list-element {
    position: relative;
    margin-bottom: 5px;
    border-radius: 5px;
    font-size: 18px;
    color: #333;
    text-align: left;
}

.diagnostic-check-list-element img {
    width: 30px;
    height: 30px;
    position: absolute;
    left: 6px;
}

.diagnostic-check-list-element-number {
    color: #fff;
    position: absolute;
    top: 3px;
    width: 22px;
    text-align: center;
    font-size: 18px;
    border-radius: 30px;
    padding: 3px 3px;
    background-color: #999;
}

.diagnostic-check-list-element-text {
    position: relative;
    margin-top: 1px;
    left: 40px;
    font-size: 20px;
    color: #333;
    top: 4px;
}

.diagnostic-content {
    width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.diagnostic-content input[type=button].diagnostic-button.action-button {
    margin-top: 0;
    color: green;
    background: white;
    border: 1px solid #11aa44;
}

.diagnostic-content input[type=button].diagnostic-button.action-button:hover {
    background: whitesmoke;
}

.diagnostic-content input[type=button].diagnostic-button.action-button.in-progress {
    color: red;
    border-color: #cc0022;
}

.diagnostic-content #diagnostic-check-broadband-step {
    border-top: 1px solid #ddd;
    border-radius: 0;
    margin-top: 30px;
}

.diagnostic-content .diagnostic-wizard-step-status {
    text-align: start;
}
