.pwd-reset-box  {
  margin-top: 5%;
  overflow: auto;
  width: 100%;
  max-width: 600px;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #cfcfcf;
  display: inline-block;
  padding: 15px;
  text-align: left;
}
    
.pwd-form-control {
	border: 1px solid #757575;
}

.pwd-reset-mask-button {
	min-width: 30px;
	margin-top: auto;
        border-color: #757575;
}

.pwd-reset-box-new {
	margin-top: 5%;
	overflow: auto;
	width: 100%;
	max-width: 550px;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #DAD9DA;
	display: inline-block;
	text-align: left;
}

.pwd-reset-header-new {
	padding-left: 16px
}

.pwd-reset-body-new {
	max-width:486px;
	width:100%;
	margin-left:32px;
	margin-right:32px;
	margin-bottom:32px;
}

.pwd-reset-sub-body-new {
	width:100%;
	float:right;
}

.pwd-reset-footer-new {
	max-width: 486px;
	width: 100%;
	float:right;
	margin-bottom:32px;
	margin-right: 32px;
}

.pwd-cross-icon {
	padding-right:8px;
}

.pwd-success-icon {
	color: #1f8476;
	padding-right:8px;
}

.pwd-error-icon {
	color: #c83c36;
	padding-right: 8px;
}

.-polaris .pwd-error-icon {
	color: RGB(var(--now-color_alert--critical-3, 160, 48, 43));
}

.-polaris  .pwd-success-icon {
	color: RGB(var(--now-color_alert--positive-3, 30, 105, 34));
}

.invalid-password:focus {
	border-color: #c83c36;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #ffffff;
}

.valid-password:focus {
	border-color: #1f8476;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #1f8476;
}

.strength-bar {
	margin-top:3px;
	margin-bottom:0px;
	border-color:#bdc0c4;
	width:308px;
        margin-right:5px;
        float:left;
}

.pwd-reset-box .outputmsg_error {
	display: block;
}

.pwd-reset-box-new .outputmsg_error {
	display: block;
	padding-bottom:15px;
}

.pwd-rule {
	padding-top:8px;
}

.pwd-match {
	display:none;
	padding-bottom:8px;
}

.password-retype {
	width:100%;
	padding-top:8px;
}

.error-block {
	margin-top:5px;
	display:block;
	color: #c83c36;
}

.pwd-notification-box {
  overflow: auto;
  width: 100%;
  max-width: 600px;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #cfcfcf;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 50px;
  padding-top: 50px;
  margin-top: 5%;
  text-align: center;
}

.pwd-page-box {
	padding: 15px;
}

.pwd-change-box {
  overflow: auto;
  width: 100%;
  max-width: 600px;
  -webkit-overflow-scrolling: touch;
  border: 0 solid #cfcfcf;
  display: inline-block;
  padding: 10px;
  text-align: left;
}


.captcha-image {
  border: 1px solid #cfcfcf;
  margin-right: 20px;
}

.pwd-title {
	font-size: 16px;
	font-weight: bold;
	display: block;
	margin-top: 5px;
	margin-bottom: 12px;
}

.pwd-title-new {
	font-weight: bold;
	margin-top: 15px;
	margin-bottom:8px;
	font-size: 16px;
	line-height: 22px;
}

.lock-message {
	font-family: SourceSansPro, "Regular";
	font-size: 14px;
	line-height: 18px;
	margin-bottom:15px;
}

.pwd-subtitle {
	font-size: 13px;
	display: block;
	margin-bottom: 15px;
}

.pwd-section-title {
	font-size: 16px;
	font-weight: bold;
	display: block;
	margin-top: 5px;
	margin-bottom: 10px;
	padding-left: 3px;
	padding-right: 5px;
}

.pwd-section-subtitle {
	font-size: 13px;
	display: block;
	margin-bottom: 20px;
}

.pwd-content {
	border: 1px inset #cfcfcf;
	line-height: 16px;
	text-align: left;
	margin: 5px;
	padding: 5px;
	padding-left: 20px ;
    display: inline-block;
}

.pwd-additional-info {
	margin-top: 10px;
	/*display: inline-block;*/
}

.pwd-request-reference {
	font-size: 130%;
	font-weight: bold;
	padding-left: 5px;
}

#new_password {
	background-color:#e6e9eb;
	border-style:groove;
	font-size: 24px;
	width:200px;
	margin-left: auto;
	margin-right: auto;
}

.-polaris #new_password {
	background-color: RGB(var(--now-color_background--tertiary, var(--now-color--neutral-2, 228, 230, 231)));
}

.pwd-enroll-box {
 	width: 100%;
 	-webkit-overflow-scrolling: touch;
 	border: 0 solid #cfcfcf;
 	display: inline-block;
 	text-align: left;
}

.pwd-enroll-section {
 	display: inline-block;
 	padding-bottom: 20px;
 	width: 100%;
}

.pwd-bottom-btn-bar {
	margin-top: 20px;
	margin-bottom: 20px;
}

.pwd-icon {
	font-size: 42px;
	margin-bottom: 20px;
	display: inline-block;
}

.pwd-icon-small {
	font-size: 12px;
	margin-bottom: 0px;
	display: inline-block;
}

.pwd-icon-success {
	color: #1f8476;
}

.pwd-icon-error {
	color: #c83c36;
}

.pwd-enroll-sms-devices tr, .pwd-enroll-email-devices tr {
	border: 0px;
	height: 36px;
}

.pwd-enroll-sms-devices th, .pwd-enroll-email-devices th {
	padding-left:10px;
	padding-right:10px;
	vertical-align: center;
	border-top: 0 solid #cbcbcb;
	border-bottom: 2px solid #cbcbcb;
}

.pwd-enroll-sms-devices td, .pwd-enroll-email-devices td {
	padding-left:10px;
	padding-right:10px;
	vertical-align: center;
	border-top: 1px solid #cbcbcb;
	border-bottom: 1px solid #cbcbcb;
}

.pwd-enroll-email-name-cell, .pwd-enroll-sms-name-cell {
	text-align: left;
	width: 300px
}

.pwd-enroll-sms-country-code-cell {
	text-align: left;
	width: 300px
}

.pwd-enroll-sms-phone-cell {
	text-align: left;
	width: 300px
}

.pwd-enroll-email-cell {
    text-align: left;
    width: 450px;
}

.pwd-enroll-sms-provider-cell {
	text-align: left;
	width: 300px
}

.pwd-add-device-dialog, .pwd-verify-device-dialog {
	max-width: 500px;
    width: 100%;
}

.pwd-modal-subtitle {
	text-align: left;
}

.pwd-dialog-header {
	width: 100%;
	font-size: 15px;
	font-weight: bold;
	margin-bottom: 5px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-bottom: 1px solid #cbcbcb;
	display: inline-block;
}

.pwd-dialog-body {
	width: 100%;
	border-bottom: 0px;
	display: inline-block;
}

.pwd-dialog-footer {
	width: 100%;
	margin-top: 5px;
	padding-top: 5px;
	padding-bottom: 5px;
	display: inline-block;
}

#strength-meter[aria-valuenow="0"] {
	background-color: #f95050; /* Same as progress-bar-danger */
}

.progress-bar-dark-green {
	background-color: #1f8476;
}

.progress-bar-green {
	background-color: #27C48A;
}

.progress-bar-yellow {
	background-color: #F1C774;
}

.progress-bar-orange {
	background-color: #FF924E;
}

.progress-bar-red {
	background-color: #DC143C;
}

.process-breadcrumb > li.disabled {
	border-bottom: 0px;
}

.process-breadcrumb > li > a.disabled {
   pointer-events: none;
   cursor: default;
}

#user_lock_state > i {
	margin-right: 10px;
	margin-left: 10px;
	font-size: 16px;
}

#user_lock_state > i.icon-locked {
	color: #c83c36;
}

#user_lock_state > i.icon-unlocked {
	color: #1f8476;
}

#user_lock_state > i.icon-alert {
	color: #99600f;
}

#user_lock_state > i.icon-loading {
	color: #666666;
}

.countrycode-dropdown-li {
   margin: 2px 2px;
   padding: 0 5px;
}

.countrycode-dropdown-li:hover{
	cursor: pointer;
}

.countrycode-dropdown-ul{
	height: auto; 
	max-height: 400px; 
	overflow-x: hidden; 
	width: 290px; 
	margin-left: 12.5%;
	padding: 15px 15px;
}

.countrycode-dropdown-li:hover, .countrycode-selected{
    padding: 0 2px;
    border-style: solid;
    border-width: 2px;
    border-color: #278efc;
}


.captcha-container-buttons{
display: grid;
row-gap: 1px;
}

.captcha-image-container {
        display: flex;
	padding-bottom: 10px;
}

.pwd-rule-desc {
    border-radius: 3px;
    border: 1px solid #BDC0C4;
    padding: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

#sysverb_send_code {
	margin-top: 8px;
	margin-bottom: 12px;
}

#captcha_form_group {
	margin-top: 15px;
}

.btn-pwd-submit {
	float: right;
	margin: 10px 0;
}

#sysverb_unlock_account {
	margin-right: 15px;
}

/* Responsive Design styling to improve mobile user experience 
	550px matches what a lot of heisenberg styles are using for max-width
*/
@media  (max-width: 550px) {

    /* vertical alignment of "send code" button on email/sms modals on enroll page */
    .pwd-enroll-box .modal-body .form-control,
    .pwd-send-enrollment-code {
        margin-top: 5px;
    }

	/* Improve vertical alignment of fields and labels on narrow view */
	.col-sm-12, .col-sm-3, .col-sm-9, .col-sm-4, .col-sm-8 {
		padding-left: 0;
		padding-right: 0;
	}

	/* Allow question and asterisk to appear on same line without break */
	label {
		display: inline;
	}

	/* ^^ These inline labels have very little space so add some space between label and field */
	.form-control {
		display: block;
		margin-top: 10px;
	}

    /* Fix the search button on the service desk page */
    #sys_display\.ref_sys_user {
        margin-top: inherit;
    }

	/* For 'Personal data verification' place the radio buttons vertically instead of horizontally */
	fieldset > span {
		display: block;
		margin-top: 10px;
	}

	#google_captcha {
		display: block !important;
	}

	/* Put captcha box below CAPTCHA label on small screens */
	#captcha_form_group > label {
		display: block; 
	}
}

/* Arbitrary ... these fixes aren't really necessary above 480px */
@media (max-width: 480px) {
    /*
        Fixes for enrollment page, especially the tables on sms/email enrollment
    */

    /* Space reduction so the modals on the enroll page will not require scrolling for most phones */
    .pwd-enroll-box .modal-header {
        padding: 10px 10px 5px 10px;
    }

    .pwd-enroll-box .modal-body {
        padding: 0 10px 5px 10px;
    }

    .pwd-enroll-email-devices table, .pwd-enroll-sms-devices table {
        table-layout: fixed;
    }

    .pwd-enroll-email-devices td, .pwd-enroll-sms-devices td,
    .pwd-enroll-email-devices th, .pwd-enroll-sms-devices th {
        padding-left: 6px;
        padding-right: 6px;
        width: auto;
    }

    /* Hide "name" and "provider" columns */
    .pwd-enroll-sms-devices td:nth-of-type(3),
    .pwd-enroll-sms-devices th:nth-of-type(3),
    .pwd-enroll-sms-devices td:nth-of-type(5),
    .pwd-enroll-sms-devices th:nth-of-type(5),
    .pwd-enroll-email-devices td:nth-of-type(2),
    .pwd-enroll-email-devices th:nth-of-type(2) {
        display: none;
    }

    /* Hide "Authorized" column header */
    .pwd-enroll-sms-devices th:nth-of-type(1),
    .pwd-enroll-email-devices th:nth-of-type(1) {
        /* using visibility: hidden causes the border to disappear in chrome
            text-indent 100% shows part of the text in firefox so let's turn it up to 11!!!
           workaround found here: https://stackoverflow.com/questions/12783419/hide-text-with-css-best-practice */
        text-indent: 1100%;
        white-space: nowrap;
        overflow: hidden;
        max-width: 0;
    }

    /* Truncate email address or phone number, but reveal on tap */
    .pwd-enroll-sms-devices td:nth-of-type(4) span,
    .pwd-enroll-email-devices td:nth-of-type(3) span {
        position: relative;
        display: inline-block;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pwd-enroll-sms-devices td:nth-of-type(4),
    .pwd-enroll-email-devices td:nth-of-type(3) {
        max-width: calc(100vw - 180px);
    }

    .pwd-enroll-sms-devices td:nth-of-type(4) span:hover,
    .pwd-enroll-email-devices td:nth-of-type(3) span:hover {
        width: auto;
        background-color: #FDEEC5; /* color-yellow-lighter from styleguide */
    }
}

/* Cancel out heisenberg excessive field spacing for $pwd_new */
@media (max-width: 799px) {
	.form-group {
		margin-bottom: 5px !important;
	}
}

/* 600px is arbitrary. Nobody should be using 800x600 desktop resolution anymore */
@media  (max-height: 600px) {

    .pwd-reset-box, .pwd-notification-box {
        margin-top: 10px;
        padding: 10px;
    }
    
    .pwd-reset-box-new {
         margin-top: 10px;
     }

	#page_timing_div {
		display: none;
	}

	.btn-pwd-submit {
		margin: 5px 0;
	}
}

/* Above 550px width the heisenberg stylesheet makes contents of form-group floating, so the form-group element itself
	is not aware of their height making it have 0px height which causes padding issues. This fix makes the container
	have the correct height */
.form-group {
	overflow: hidden;
}

/* Used to show country code dropdown */
.show-overflow {
    overflow: visible;
}

.pwd-request-in-progress  .pwd_reset_in_progress_message {
     margin-top:20px;
}
.pwd-request-in-progress span{
    font-size: 25px;
}
.pwd-request-in-progress  h4 {
     display : inline;
     font-size : 15px;
     margin-right: 3px;
}

#error_msg_select {
margin-top: 8px;
}

.-polaris .help-block {
color: RGB(var(--now-color_alert--critical-3, 160, 48, 43));
}

.change-label {
    margin-top: 7px;
    left: -2px;
}

.process-select {
    padding-right: 17px;
}

[aria-disabled="true"] {
   opacity: 0.5;
   cursor: not-allowed;
}
.login-captcha-image {
  align-self: center;
}
.pwd-reset-mask-button.active {
    border-color: #6e7077;
}

.pwd-change-textbox-container {
       display:  flex;
 }

@media only screen and (max-width:992px){
    #captcha_button {
       height: 44px;
       width: 44px;
    }
   #mask_icon_retype, #mask_icon_new, 
   #mask_icon_old {
       	width: 50px;
    }
}

@media only screen and (max-width:550px) {
   .verify-btn {
        padding-right: inherit;
    }
   .pwd-change-mask-btn {
        margin-top: 10px;
    }
    .change-pwd-strength-bar {
	  width: 100%;
    }
}

@media only screen and (min-width:550px) {
   .change-pwd-submit-btn {
        margin-right: 10px;
    }
  .change-pwd-strength-bar {
        margin-left: 10px; 
        margin-right: 4px;
    }
}

.softpin-rules-container {
    margin-top: 10px;
}

.softpin-rules-list {
    padding-left: 20px;

}
