.profile-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.profile-block {
    flex: 1 1 32%;
    position: relative;
    border-radius: 3px;
    margin: 0 0.4375em 0.875em;
    overflow: hidden;
}

.profile--header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0 0.875em;
    margin-top: -24px;
}
.profile--header-underline {
    flex: 1 1 auto;
    height: 2px;
    background-color: #ffa500;
    box-sizing: border-box;
}

.profile-form-wrapper { overflow: hidden; padding: 0.4375em 0.875em;}

/* .user-profile {
    display: block;
    padding: 0.4375em 0.875em;
    background: #262739;
    border-radius: 3px;
}

.user-profile--group-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0.4375em -0.4375em;
}
.user-profile--group {
    flex: 1 1 45%;
    margin: 0.4375em;
}

.user-profile--group-caption {
    font-size: 1rem;
    color: #fff;
    padding: 5px 2px;
}
.user-profile--group-fullwidth {
    flex: 1 0 100%;
    margin: 0.4375em;
} */

.profile-block h1,
.profile-block h2 {
     color: #fff;
     margin: 0.875rem 0.875rem;
     background: transparent;
}

.profile-block h1 { font-size: 1.25rem; }
.profile-block h2 { font-size: 1rem; }

.profile--item { display: flex; align-items: center; justify-content: space-between; min-height: 38px; margin: 3px 0; border-radius: 3px; height: 52px; padding: 0 14px; }

.profile--item > input[type="text"],
.profile--item > input[type="password"],
.profile--item > select {
    flex: 0 1 60%;
    min-width: 60%;
    position: relative;
    border: none;
    border-radius: 3px;
    height: 2.375rem;
    color: #fff;
    font-size: 1rem;
    margin: 0.5rem 0;
    box-sizing: border-box;
    box-shadow: inset 1px 1px 3px #000;
    border: 1px solid #262739;
    padding: 0 0.5rem;
    -webkit-appearance: none; 
    -moz-appearance: none; 
    padding: 0 0.5em;
}

.profile--item select { 
    border-radius: 3px; 
    background: url('../images/icons/icon-expand-filters.svg') no-repeat; 
    background-position: calc(100% - 10px); 
    background-size: 16px 16px; 
    cursor: pointer;
}

.profile--item select::-ms-expand {
    display: none;
}

.profile--item input[disabled] {
    color: #7788a2;
    font-style: italic;
    font-weight: 400;
    background: url("../images/icons/icon-lock.svg") no-repeat;
    background-position: calc(100% - 10px);
    background-size: 16px 16px;
}
body[dir='rtl'] .profile--item input[disabled] {
    background-position: 10px;
}
.profile--item select[disabled] { color: #7788a2; font-style: italic; font-weight: 400; background: url("../images/icons/icon-lock.svg") no-repeat; background-position: calc(100% - 10px); background-size: 16px 16px; }

body[dir='rtl'] .profile--item select[disabled] {
    background-position: 10px;
}
.profile--item-select {
    position: relative;
}

.profile--item label { flex: 1 1 auto; color: #cecfee; padding-right: 0.875em; white-space: normal; }

.profile-icon-help { cursor: pointer; position: relative; width: 32px; height: 32px; background: url("../images/icons/icon-help.svg") no-repeat; background-size: 32px 32px; }

.profile--tfa-form-confirmation { }
#user_settings_tfa_phone_send_code_wrapper { display: none; }
#user_settings_tfa_need_phone_verification { display: none; }
#user_settings_tfa_secret_wrapper { display: none; }
#user_settings_tfa_phone_code_wrapper { display: none; }

.profile--tfa-phone-confirmation > div {
    margin-bottom: 2px;
}
.profile--tfa-need-phone-verification {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25em 1em;
}
.profile--tfa-need-phone-verification span { color: #cecfee; }
.profile--tfa-phone-verify-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #c2c2c2;
    border-radius: 5px;
    padding: 1em 0.875em;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

.profile--tfa-phone-send-code-wrapper,
.profile--tfa-phone-code-wrapper,
.profile--tfa-secret-wrapper { padding: 1em; color: #cecfee; min-height: 34px; border-radius: 3px; }
.profile--tfa-phone-code-caption {
    color: #cecfee;
    position: absolute;
    top: -0.6em;
}

.profile--tfa-description { display: block; font-size: 0.8em; padding: 1em 0; }
.profile--tfa-secret-description { display: block; font-size: 1em; color: #cecfee; }
.profile--tfa-secret-description-qr { display: block; text-align: center; }
.profile--tfa-qr-code { position: relative; }
.profile--tfa-secret { text-align: center; padding: 0.5em 0; }
.profile--tfa-secret a { color: #5CB8CC!important; text-decoration: underline; text-align: center; font-size: 1.2em; }

.profile--buttons-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin: 0 -0.5em;
}
.profile--buttons-wrapper > input {
    width: 100%;
    margin: 0 0.5em;
}
.profile--button,
.profile--button-gray {
    padding: 0.4375em 1.25em;
    margin: 0.4375em 0;
    border-radius: 3px;
    cursor: pointer;
    -webkit-appearance: none;
}
.profile--button {
    background-color: #ffa500;
    border: 1px solid #ffa500;
    color: #303030;
}
.profile--button-gray {
    background-color: transparent;
    color: #cecfee;
    border: 1px solid #cecfee;
}

.slidercheck, .slidercheck-green {
    position: relative;
    display: block;
    cursor: pointer;
}

.slidercheck-green label {
    padding-right: unset!important;
}

.slidercheck input, .slidercheck-green input {
    float: left;
    visibility: hidden;
}

.slidercheck input + label, .slidercheck-green input + label {
    width: 50px;
    border-radius: 10px;
    background-color: #333;
    height: 20px;
    position: relative;
    display: block;
}

.slidercheck input + label:before, .slidercheck-green input + label:before, .slidercheck input + label:after, .slidercheck-green input + label:after {
    content: "";
    position: absolute;
    top:0px;
    left:0px;
    bottom:0px;
    display:block;
}

.slidercheck input + label:before, .slidercheck-green input + label:before {
    right: 0px;
    background-color: #262739;
    border-radius: 10px;
    transition: background 0.4s;
    box-shadow: inset 0px 1px 1px #000;
}

.slidercheck input + label:after, .slidercheck-green input + label:after {
    width: 22px;
    height: 14px;
    background-color: #e1e1e1;
    border-radius: 100%;
    transition: margin 0.4s;
    top: 3px;
    left: 3px;
    border-radius: 10px;
    box-shadow: 1px 1px 2px #121212;
    cursor: pointer;
}

.slidercheck input:checked + label:before {
    background-color: #ffa500;
}

.slidercheck-green input:checked + label:before {
    background-color: #00c600;
}

.slidercheck input:checked + label:after, .slidercheck-green input:checked + label:after {
    margin-left: 22px;
    box-shadow: -1px 1px 2px #121212;
}
