body {
    background: #f5f5f5;
    line-height: 14px;
    font-family: "PT Sans", Arial, sans-serif;
    color: #363b44;
}

.header,
.footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #fff;
    height: 50px;
}
.header{
    border-bottom: 1px solid #e8eaeb;
}
.footer{
    border-top: 1px solid #e8eaeb;
}
.box_wrapper {
    display: flex;
    font-size: 14px;
}
main {
    padding: 15px 0;
    min-height: calc(100% - 100px);
    position: relative;
}
.home {
    color: #007bff;
    cursor: pointer;
}
.modal {
    font-size: 15px;
    line-height: 20px;
}
.hidden{
    display:none !important;
}
.text-input {
    background: #fff;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    color: #363b44;
    height: 36px;
    padding: 8px 9px 7px;
    outline: none;
    line-height: normal;
    -webkit-user-select: text;
    user-select: text;
}
.text-input::placeholder{
    color: #92989b;
    opacity: .7
}
.left_column {
    padding-right: 10px;
}

.right_column {
    padding-left: 30px;
    text-align: right;
}

.center_column {
    flex-grow: 1;
    height: 100%;
    position: relative;
}
.body_container {
    display: flex;
    font-size: 14px;
}

.body_wrapper {
    margin: 10px 0;
}

.box {
    background: #fff;
    width: 100%;
    padding: 15px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e8eaeb;
    border-bottom: 1px solid #e8eaeb;
    border-left: 1px solid #e8eaeb;
    border-right: 1px solid #e8eaeb;
    border-radius: 2px;
}
.authorized .box {
    margin-left: 15px;
}
.menu-label {
    padding: 10px 15px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
}

.menu-label.active {
    background: #fff;
    color: #0057a9;
    border-color: #e8eaeb;
    border-radius: 2px;
}

.menu-label:hover {
    color: #0057a9;
}
.column {
    width: 50%;
}
.grids {
    display: flex;
    flex-direction: row;
    padding: 5px 2px;
    position: relative;
    border: 1px solid #e8eaeb;
    background: #f5f5f5;
    box-shadow: 0 2px 3px 0 rgb(0 0 0 / 7%);
}

.grid {
    margin-right: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
}

.table_row {
    align-items: stretch;
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #e8eaeb;
    background-color: #f5f5f5;
    border: 1px solid #e8eaeb;
    padding: 5px 10px;
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 16px;
}
.table_row:last-child {
    margin-bottom: 0;
}
.cells {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex: 1;
    max-width: 100%;
    padding: 5px 2px;
    position: relative;
    transition: all 25ms ease-in-out;
    -webkit-user-select: text;
    user-select: text;
    -moz-user-select: text;
}

.cell {
    color: #888;
    margin-right: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    align-items: center;
}
.cell div{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cell span {
    color: #363b44;
}
.cell a, .href {
    color: #0057a9;
}

.cell .deactive {
    text-decoration: line-through;
}
.widget {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
.flex_auto {
    flex: 0 0 auto;
    overflow: visible;
    min-width: 100px;
}
.flex_one {
    flex: 1;
}
.flex_two {
    flex: 2;
}
.flex_three {
    flex: 3;
}
.cell:last-child,
.grid:last-child{
    margin-right: 0;
}
#save_profile { 
    width: 400px;
}
.form_fields {
    align-items: stretch;
    display: flex;
    flex-direction: row;
    margin: 10px 0;
}
#save_profile .form_fields {
    align-items: center;
}
.field_name {
    box-sizing: border-box;
    padding-right: 16px;
    width: 138px;
    text-align: right;
}

.field_input {
    width: calc(100% - 100px);
}

.field_input .text-input {
    background: #fff;
    width: 100%;
}

.field_input .text-input[disabled=disabled] {
    border-color: transparent;
}

.form_fields.disabled,.form_fields.disabled .text-input {
    color: #92989b;
}
.content .table {
    margin: 0;
}
.content h1 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 400;
}

.form-header {
    margin-bottom: 15px;
}
.form-header p {
    color: #92989b;
    margin-bottom: 5px;
}
.form-header b {
    color: #363b44;
    font-weight: normal;
}
.text_color_green {
    color: #65a30d !important;
}
.text_color_red {
    color: #ef4444 !important;
}

.actions {
    position: absolute;
    right: 15px;
    top: 7px;
}

.actions .button-input {
    padding: 7px 10px;
}
.modal-default .field_name {
    text-align: left;
    width: 100px;
}
.modal-default .text-input {
    padding: 8px 10px;
    font-size: 13px;
    height: auto;
}
.modal-default .text-input.error {
    border-color: #ef4444;
}
.modal-default .chosen-single {
    padding: 6px 5px;
}

.text_right{
    text-align: right;
}

.full_width{
    width: 100%;
}

.disconnect_tg svg {
    fill: red;
    width: 8px;
    height: 8px;
}

.disconnect_tg {
    padding: 0px 5px;
    margin-left: 5px;
    cursor: pointer;
}
.field_input .href {
    padding-left: 9px;
}

.modal-add-clients .form_fields {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.modal-add-clients .field_name,
.modal-add-clients .field_input{
    width: 100%;
    text-align: left;
}

.modal-add-clients .href {
    padding: 0;
}
.modal-add-clients .href:hover {
    text-decoration: underline;
}
.button-input{
    white-space: nowrap;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid #e8eaeb;
    background: #fff;
    line-height: 14px;
    padding: 10px;
}
.button-input:active {
    transform: translateY(1px);
}
.button-input_blue {
    background: #4c8bf7;
    border: 1px solid #4077d6;
    color: #fff;
}

.notifications {
    position: fixed;
    right: 0;
    top: 0;
    padding: 15px;
    z-index: 1051;
}

.notification-wrapper {
    width: 320px;
    padding: 14px 16px;
    box-shadow: 0px 0px 8px 1px #0000001c;
    background-color: white;
    margin-bottom: 10px;
    align-items: center;
    border-radius: 4px;
    display: flex;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
}

.notification-wrapper:last-child {
    margin: 0;
}

.status_success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.status_warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc
}
.status_danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1
}

.icon_close {
  cursor: pointer;
  opacity: .6;
  position: relative;
  width: 10px;
  height: 10px;
  margin-left: 10px;
  display: block;
}

.icon_close::before,
.icon_close::after {position: absolute;content: '';height: 100%;width: 1px;background-color: #333;bottom: 0;}

.icon_close::before {
  transform: translate(-50%, 0%) rotate(45deg);
}

.icon_close::after {
  transform: translate(-50%, 0%) rotate(-45deg);
}
.field_telegram {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.field_telegram .icon_close:before,
.field_telegram .icon_close:after{
    background-color: red;
}

.control-checkbox {
    align-items: center;
    border: none;
    cursor: pointer;
    display: inline-flex;
    margin: 0 7px 0 0;
    padding: 0;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
}

.control-checkbox__text {
    display: inline-flex;
    font-size: 15px;
    line-height: 20px;
    margin: 0 0 0 7px;
}
.form-default {
    margin-top: 15px;
}

.form-default .button-input{
    width: 100%;
}
.form-default .form_fields {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.form-default .field_name{
    width: 100%;
    text-align: left;
    padding: 0;
    margin-bottom: 5px;
}

.form-default .field_input{
    width: 100%;
}

.container_small {
    max-width: 400px;
    width: 100%;
}

.form_links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}