/*** fix 376 ***/
.field--name-field-phone,.field--name-field-phone-mobile{
    display: flex;
    max-width: 45%;
    width:auto;
}
span.or_phone{
    vertical-align: top;
    display: flex;
    margin-right: 1.5rem;
    margin-left: 1.5rem;
}
#edit-phone>.fieldset-wrapper,
#edit-phone>.fieldset__wrapper {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-start;
}
/*** ***/



#agreements-list div {
    margin-left: 20px;
}

#user-register-form div.js-form-type-checkbox {
    /*float: none;*/
}

.user_edit_form_div [id*="edit-role-change"],
.user_edit_form_div [id*="edit-status"] {
    display: none;
}

#user-register-form .input-box,
#user-form .input-box {
    display: inline-block;
    position: relative;
    padding-left: 0;
    margin-bottom: 0;
    margin-left: 5px;
    cursor: pointer;
    font-size: 14px;
    width: 25px;
    float: left;
}

.user-registration-type-live-registration-form .js-form-type-checkbox label,
#user-register-form .js-form-type-checkbox label,
#user-form .js-form-type-checkbox label {
    padding-top: 5px;
    margin-left: 50px;
}

.user-registration-type-live-registration-form .form-checkbox,
#user-register-form .form-checkbox,
#user-form .form-checkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 0;
}


/*
#edit-user-picture-wrapper{
    padding:0 !important;
    border:none !important;

}

#edit-user-picture-wrapper label{
    background:none;
    border:none;
    color: inherit;
    text-align:left;
    padding-left:0;
}
#edit-user-picture-wrapper img { width:50px; height:50px; }
#edit-user-picture-wrapper div.image-widget{
    display:inline-block;
    vertical-align: middle;
}
#edit-user-picture-wrapper input{
    float:right;
    margin-top:10px !important;
    margin-left:10px !important;
 }

#edit-user-picture-wrapper .file--image{
    display:inline-block;
    padding-top: 19px;
}
*/

select#user_profile_select,
select[id*="edit-field-gender"],
select#edit-field-jobfunction,
select#edit-field-address-0-address-country-code--2,
select#edit-preferred-langcode,
select#edit-timezone--2,
select#listed_company_select,
select[id*="edit-field-salutation"] {
    display: block;
    width: 100%;
    border-radius: 4px;
    font-family: Barlow-medium, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    height: 52px;
    display: block;
    padding: 1rem;
    font-size: 1rem;
    line-height: 16px;
    color: #1b1e24;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #c8d1da;
    -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}

#user-register-form .d-flex,
#user-form .d-flex {
    justify-content: space-between;
}

#user-register-form .d-flex>div,
#user-form .d-flex>div {
    margin-bottom: 0;
}

#user-register-form .form-text,
#user-form .form-text {
    margin-top: 0;
}

.user-registration-type-live-registration-form summary,
#user-register-form summary,
#user-form summary {
    display: none;
}

#user-register-form .form-managed-file,
#user-form .form-managed-file {
    display: flex;
    justify-content: space-between;
}

#user-register-form .form-managed-file>.custom-file-input,
#user-form .form-managed-file>.custom-file-input {
    width: 15%;
    opacity: 1;
}

#user-register-form .form-managed-file>.custom-file-input.preview,
#user-form .form-managed-file>.custom-file-input.preview {
    width: 100%;
}

#user-register-form .form-managed-file>.image-widget-data,
#user-form .form-managed-file>.image-widget-data {
    display: none;
}

#user-register-form .form-managed-file>.custom-file-label,
#user-form .form-managed-file>.custom-file-label {
    width: 85%;
    position: relative;
}

#user-register-form .form-managed-file>.image-preview img,
#user-form .form-managed-file>.image-preview img {
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
}
#user-form #ajax-wrapper > div > div > div > div.image-widget-data > span > a{
    color:transparent !important;
    display: block;
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#user-register-form #edit-user-picture-wrapper .alert,
#user-form #edit-user-picture-wrapper .alert {
    max-width: 100% !important;
}

#user-register-form .file,
#user-form .file {
    padding-left: 0;
}

#user-form #agreements {
    margin-top: 3rem
}

@media screen and (max-width:425px) {
    #user-form #edit-pass .d-flex {
        display: block !important;
    }
}


[id*="edit-field-gender"],
[id*="edit-field-salutation"],
[id*="edit-field-firstname"],
[id*="edit-field-middlename"],
[id*="edit-timezone"] {
    width: 45%;
}


.form-item-preferred-langcode {
    width: 45% !important;
}

.form-item-preferred-langcode .dropdown__vanilla {}

#user-form fieldset {
    padding: 0!important;
}

.user-registration-type-live-registration-form [id*="edit-field-gender"],
.user-registration-type-live-registration-form [id*="edit-field-salutation"],
.user-registration-type-live-registration-form [id*="edit-field-firstname"],
.user-registration-type-live-registration-form [id*="edit-field-middlename"],
.user-registration-type-live-registration-form [id*="edit-field-phone"],
.user-registration-type-live-registration-form [id*="edit-field-phone-mobile"],
.user-registration-type-live-registration-form [id*="edit-timezone"] {}

.user-registration-type-live-registration-form label {
    margin-bottom: .875rem;
}

.user-registration-type-live-registration-form .field--name-field-lastname,
.user-registration-type-live-registration-form .field--name-field-firstname {
    display: inline-block;
    width: 49.6%;
    margin-bottom: 0;
}

.user-registration-type-live-registration-form .field--type-address {
    display: flex;
    flex-direction: column;
}

.user-registration-type-live-registration-form .form-text {
    margin-top: 0px;
}

.user-registration-type-live-registration-form #edit-field-address-0-address,
.user-registration-type-live-registration-form #edit-field-address-0-address fieldset,
.user-registration-type-live-registration-form #edit-field-address-0-address-country-code {
    margin-bottom: 0;
}

.user-registration-type-live-registration-form .field--type-address>div:first-child {
    order: 2;
}

.user-registration-type-live-registration-form .d-flex {
    flex-direction: column;
}
.user-registration-type-live-registration-form .d-flex fieldset {
    order: 2;
}

.user-registration-type-live-registration-form #edit-timezone {
    width: 100%;
}

#user-register-form .form-managed-file .image-preview img:nth-child(2),
#user-form .form-managed-file .image-preview img:nth-child(2) {
    display: none;
}


/* FPLEXTOSLO-46 */

#edit-phone>.fieldset-wrapper,
#edit-phone>.fieldset__wrapper {
    margin-top: 8px;
}

#edit-field-phone-mobile-wrapper,
#edit-field-phone-wrapper,
#edit-field-phone-mobile-wrapper fieldset,
#edit-field-phone-wrapper fieldset {
    margin-bottom: 0px;
}

span.or_phone {
  text-align: center;
  margin-top: 52px;
}


/* FPLEXTOSLO-207 */

small#edit-phone--description {
    display: block;
}

/* FPLEXTWE-985 */

#password-policy-status .table tbody tr td:first-child,
#password-policy-status .table thead tr th:first-child {
    display: none;
}

fieldset#edit-phone {
    flex: unset !important;
}

span#awl_user_edit_description_label {
    font-size: 1rem !important;
}

/* TMA Cancel Account*/

.btn-cancelacc{
    margin-bottom: 5%;
}

#a-cancelacc {
    text-decoration: none;
}

#notallowed{
    cursor: not-allowed;
}