/* settings */
.db-elmas-1C-settings .cubestats-toggler {
    margin: 0 -30px 30px;
    padding: 0 15px;
    text-align: left;
}

.db-elmas-1C-settings .cubestats-toggler .cubestats-toggler__item {
    font-size: 16px;
}

.db-elmas-1C-settings .cubestats-toggler .cubestats-toggler__item.active {
    color: #158fd2;
}

.db-elmas-1C-settings_section {
    border-bottom: 1px solid #dcdcdc;
    padding: 20px 30px 30px;
    margin: 0 -30px;
}

.db-elmas-1C-settings .widget_settings_block__descr .db-elmas-1C-settings_section:first-child {
    padding-top: 0;
}

.db-elmas-1C-settings .widget-settings__wrap-desc-space {
    padding-bottom: 120px;
    position: relative;
}

.db-elmas-1C-settings_label {
    text-align: center;
    margin: 0 0 20px;
    padding: 0 15px;
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.db-elmas-1C-settings_items {
    text-align: center;
    margin: 0 -10px;
    overflow: hidden;
}

.db-elmas-1C-settings_item {
    box-sizing: border-box;
    padding: 0 10px;
    float: left;
    width: 33.33%;
}

.db-elmas-1C-settings_item_icon {
    margin: 0 0 10px;
    font-size: 32px;
    color: #158fd2;
}

.db-elmas-1C-settings_item_text {
    font-size: 14px;
    color: #999999;
}

.db-elmas-1C-settings_text_center {
    text-align: center;
}

.db-elmas-1C-settings_elements li span {
    font-weight: 700;
}

.db-elmas-1C-settings_link {
    display: inline-block;
    margin: 10px 0 0 15px;
    color: #158fd2;
}

.db-elmas-1C-settings_youtube_player {
    position: relative;
    width: 445px;
    height: 250px;
    margin: auto;
    cursor: pointer;
}

.db-elmas-1C-settings_youtube_player img {
    margin: 0 auto;
    display: block;
    max-width: 100%;
}

.db-elmas-1C-settings_youtube_player.pristine::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -15px;
    margin-left: -25px;
    height: 0;
    width: 0;
    border-left: 50px solid purple;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    transition: opacity .2s ease;
}

.db-elmas-1C-settings_youtube_player.pristine:hover::before {
    opacity: .7;
}

.db-elmas-1C-settings_payment_info {
    text-align: center;
    margin: 10px 0 0;
}

.db-elmas-1C-settings_payment_info_text {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
    font-weight: 700;
    color: #999999;
}

.db-elmas-1C-settings_payment_info_text.payed {
    color: #749e42;
}

.db-elmas-1C-settings_payment_info_text.error {
    color: #ff7779;
}

.db-elmas-1C-settings .widget_settings_block__fields {
    margin-left: -5px;
    margin-right: -5px;
}

.db-elmas-1C-settings .widget_settings_block__item_field {
    box-sizing: border-box;
    padding: 0 5px;
    float: left;
    width: 33.33%;
}

.db-elmas-1C-settings .widget_settings_block__input_field {
    display: block;
}

.db-elmas-1C-settings .widget_settings_block__input_field .text-input {
    width: 100%;
}

.db-elmas-1C-settings_clr {
    clear: both;
}

.db-elmas-1C-settings .widget_settings_block__confirm {
    margin: 15px 5px 0;
}

.db-elmas-1C-settings .widget_settings_block__confirm .control-checkbox__text {
    max-width: 560px;
    color: #999999;
}

.db-elmas-1C-settings .widget_settings_block__controls {
    margin: 20px 5px 0;
}

.db-elmas-1C-settings_common_settings_footer {
    border-top: 1px solid #d3d7d8;
    padding: 15px 20px 20px;
    background: #f0f0f0;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.db-elmas-1C-settings_common_settings_footer_title {
    margin: 0 0 15px;
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
}

.db-elmas-1C-settings_common_settings_footer_table {
    display: table;
    width: 100%;
}

.db-elmas-1C-settings_common_settings_footer_table div {
    display: table-cell;
    vertical-align: middle;
}

.db-elmas-1C-settings_common_settings_footer_table a {
    text-decoration: none;
    font-size: 16px;
    color: #158fd2;
}

.db-elmas-1C-settings_common_settings_footer_table div:nth-child(2) a {
    color: #444444;
}

.db-elmas-1C-settings_order_form input,
.db-elmas-1C-settings_order_form textarea {
    margin: 0 0 8px;
    width: 100%;
}

.db-elmas-1C-settings_order_form input.error {
    border-color: #f37575;
}

.db-elmas-1C-settings .setting-loader-wrapper {
    margin: 50px 0 0;
}

.db-elmas-1C-settings .custom_settings .setting-loader-wrapper {
    margin: 10px 0 15px;
    max-width: 278px;
}

.db-elmas-1C-settings .settings-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: block;
    position: static;
}

.db-elmas-1C-settings .cols {
    margin: 0 -15px;
}

.db-elmas-1C-settings_tab-users .cols {
    max-width: 500px;
}

.db-elmas-1C-settings .col {
    box-sizing: border-box;
    padding: 0 15px;
    float: left;
    width: 50%;
}

.db-elmas-1C-settings_tab-sheets .cols .col:nth-child(1) {
    width: 33%;
}

.db-elmas-1C-settings_tab-sheets .cols .col:nth-child(2) {
    width: 50%;
}

.db-elmas-1C-settings_tab-sheets .cols .col:nth-child(3) {
    width: 17%;
}

.db-elmas-1C-settings .cols .clr {
    clear: both;
}

.db-elmas-1C-settings .form-group {
    margin: 0 0 20px;
}

.db-elmas-1C-settings .form-group.mb0 {
    margin: 0;
}

.db-elmas-1C-settings .form-group__title {
    font-weight: 700;
}

.db-elmas-1C-settings .form-group__control {
    margin: 0 0 10px;
}

.db-elmas-1C-settings .form-group .form-group__control:last-child {
    margin: 0;
}

.db-elmas-1C-settings .form-group__control .text-input {
    width: 100%;
}

.db-elmas-1C-settings .form-group__control .control--select,
.db-elmas-1C-settings .form-group__control .control--suggest,
.db-elmas-1C-settings .form-group__control .checkboxes_dropdown {
    width: auto;
}

.db-elmas-1C-settings_tab-settings .form-googledrive-files {
    display: inline-block;
    margin-bottom: 10px;
    min-width: 320px;
    position: relative;
}

.db-elmas-1C-settings_tab-settings .list-googledrive-folders {
    display: inline-block;
    min-width: 320px;
}

.db-elmas-1C-settings_tab-settings .list-googledrive-folders .table .cell:last-child {
    text-align: right;
    font-size: 0;
}

.db-elmas-1C-settings_tab-settings .list-googledrive-folders li {
    margin-bottom: 5px;
}

.db-elmas-1C-settings_tab-settings .list-googledrive-folders li:last-child {
    margin-bottom: 0;
}

.db-elmas-1C-settings_tab-settings .list-googledrive-folders li a {
    display: inline-block;
}

.db-elmas-1C-settings_tab-settings .list-googledrive-folders .children {
    margin-top: 5px;
}

.db-elmas-1C-settings_tab-settings .list-googledrive-folders .table:hover {
    color: #158fd2;
}

#widget_settings__fields_wrapper.db-elmas-1C-settings_tab-description .widget_settings_block__item_field:first-child {
    margin: 0 0 20px;
    width: 100%;
}

#widget_settings__fields_wrapper.db-elmas-1C-settings_tab-description .widget_settings_block__item_field:first-child .widget_settings_block__input_field {
    display: flex;
}

#widget_settings__fields_wrapper.db-elmas-1C-settings_tab-description .widget_settings_block__item_field:first-child .widget_settings_block__input_field .control-radio__label:nth-child(n+2) {
    margin: 0 0 0 25px;
}

/* card */
.db-elmas-1C-card .card-widgets__widget__body {
	position: relative;
    padding: 0;
}

.db-elmas-1C-card .title-wrap {
    background-color: #000000;
    display: block;
    margin: auto;
    font-size: 13px;
}

.db-elmas-1C-card .wrapper {
    background: #fdec1b url(./images/back_color_yellow.png) no-repeat center;
    padding: 15px;
}

.db-elmas-1C-card .widget-wrap {
    padding: 0;
    font-size: 14px;
    min-height: 68px;
}

.db-elmas-1C-card .form-group__control {
    margin: 0 0 10px;
}

.db-elmas-1C-card .form-group .form-group__control:last-child {
    margin: 0;
}

.db-elmas-1C-card .form-group button i {
    margin-right: 5px;
}

.db-elmas-1C-input_error {
    color: #ff7779!important;
}

.db-elmas-1C-input-hidden {
    display: none!important;
}

/* db-elmas-1C-invoice_kp_form */
.db-elmas-1C-invoice_kp_form .modal-body {
    max-width: 1200px;
    width: 90%;
}

.db-elmas-1C-invoice_kp_form table {
    width: 100%;
}

.db-elmas-1C-invoice_kp_form th,
.db-elmas-1C-invoice_kp_form td {
    vertical-align: top;
    text-align: center;
    padding: 10px 5px;
    width: auto;
}

.db-elmas-1C-invoice_kp_form th {
    text-transform: uppercase;
    vertical-align: middle;
    font-size: 12px;
    color: #777777;
}

/*.db-elmas-1C-invoice_kp_form th[data-field-code="payment-phases"],*/
.db-elmas-1C-invoice_kp_form td[data-field-code="payment-phases"] {
    /*width: 80px;*/
    text-align: left;
}

.db-elmas-1C-invoice_kp_form td[data-field-code="payment-phases"] button {
    margin-left: 5px;
}

.db-elmas-1C-invoice_kp_form th[data-field-code="number"],
.db-elmas-1C-invoice_kp_form td[data-field-code="number"] {
    padding-left: 0;
}

.db-elmas-1C-invoice_kp_form td[data-field-code="number"] {
    line-height: 36px;
}

.db-elmas-1C-invoice_kp_form th[data-field-code="payments-date"],
.db-elmas-1C-invoice_kp_form td[data-field-code="payments-date"] {
    padding-right: 0;
}

.db-elmas-1C-invoice_kp_form td input {
    text-align: center;
    max-width: 100px;
}

.db-elmas-1C-invoice_kp_form td[data-field-code="risk-class"] input,
.db-elmas-1C-invoice_kp_form td[data-field-code="payment-phases"] input {
    max-width: 50px;
}

.db-elmas-1C-invoice_kp_form td[data-field-code="lead-time"] input,
.db-elmas-1C-invoice_kp_form td[data-field-code="invoice-date"] input,
.db-elmas-1C-invoice_kp_form td[data-field-code="payments-date"] input {
    max-width: 110px;
}

.db-elmas-1C-invoice_kp_form td .date_field_wrapper--calendar {
    margin-top: -12px;
}

.db-elmas-1C-invoice_kp_form .fa-file-text-o {
    color: #313942;
}

.db-elmas-1C-invoice_kp_form .fa-file-word-o {
    color: #2390cf;
}

.db-elmas-1C-invoice_kp_form .fa-file-pdf-o {
    color: #de475f;
}

/* db-elmas-1C-invoice_form */
.db-elmas-1C-invoice_form .modal-body,
.db-elmas-1C-created_invoices_form .modal-body {
    width: 1070px;
}

.db-elmas-1C-invoice_form .form-group {
    margin: 0 0 20px;
    position: relative;
    z-index: 103;
}

.db-elmas-1C-invoice_form .form-group .form-group__control {
  margin: 0 0 15px;
}

.db-elmas-1C-invoice_form .form-group .cols {
    margin: 0 -15px;
}

.db-elmas-1C-invoice_form .form-group .col {
    box-sizing: border-box;
    padding: 0 15px;
    float: left;
    width: 50%;
}

.db-elmas-1C-invoice_form .form-group .clr {
    clear: both;
}

.db-elmas-1C-invoice_form .form-group label {
    display: inline-block;
    padding: 0 15px 0 0;
    font-weight: 700;
    width: 115px;
}

.db-elmas-1C-invoice_form .form-group .text-input,
.db-elmas-1C-invoice_form .form-group .control--suggest,
.db-elmas-1C-invoice_form .form-group .control--select {
    display: inline-block;
    width: 280px;
}

.db-elmas-1C-invoice_form .form-group .date_field_wrapper--calendar {
    margin-top: -12px;
}

.db-elmas-1C-invoice_form .form-group .date_field_wrapper {
    width: 110px;
}

.db-elmas-1C-invoice_form .form-group input[name="number"] {
    width: 122px;
}

.db-elmas-1C-invoice_form .form-group input[name="number"] ~ label {
    padding: 0 5px 0 15px;
    width: 20px;
}

.db-elmas-1C-invoice_form table {
    width: 100%;
}

.db-elmas-1C-invoice_form th,
.db-elmas-1C-invoice_form td {
    border: 1px solid #dbdedf;
    vertical-align: middle;
    text-align: center;
    padding: 10px;
    width: auto;
}

.db-elmas-1C-invoice_form th {
    text-transform: uppercase;
    font-size: 12px;
    color: #777777;
}

.db-elmas-1C-invoice_form td input {
    border-color: transparent;
    text-align: center;
    max-width: 100px;
}

.db-elmas-1C-invoice_form td input.error {
    border-color: #f37575;
}

.db-elmas-1C-invoice_form td[data-field-code="nomenclature"] {
    text-align: left;
}

.db-elmas-1C-invoice_form td[data-field-code="nomenclature"] input {
    text-align: left;
    max-width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    height: auto;
}

.db-elmas-1C-invoice_form td[data-field-code="nomenclature"] input:nth-child(2) {
    font-style: italic;
    width: 100%;
}

.db-elmas-1C-invoice_form table tbody tr:nth-last-child(3) td {
    text-align: left;
    padding: 10px 0;
    border: none;
}

.db-elmas-1C-invoice_form table tbody tr:nth-last-child(3) button {
    /*z-index: 101;*/
}

.db-elmas-1C-invoice_form table tbody tr:nth-last-child(3) .control--suggest {
    /*margin-top: -36px;*/
}

.db-elmas-1C-invoice_form table tbody tr:nth-last-child(3) .control--suggest .control--suggest--down-btn {
    /*display: none;*/
}

.db-elmas-1C-invoice_form table .button-delete {
    padding: 0;
}

.db-elmas-1C-nomenclature-list {
    margin: 5px 0 0;
    display: none;
}

.db-elmas-1C-nomenclature-group {
    border: 1px solid #dbdedf;
    margin-top: 5px;
}

.db-elmas-1C-nomenclature-group-title {
    position: relative;
    background: #f5f5f5;
    font-weight: 700;
    padding: 10px;
    cursor: pointer;
}

.db-elmas-1C-nomenclature-group-items {
    border-top: 1px solid #dbdedf!important;
    padding: 10px;
    display: none;
}

.db-elmas-1C-nomenclature-group-item {
    margin: 0 0 5px;
    cursor: pointer;
}

.db-elmas-1C-nomenclature-group-items .db-elmas-1C-nomenclature-group-item:last-child {
    margin-bottom: 0;
}

.db-elmas-1C-nomenclature-list input {
    border: 1px solid #dbdedf!important;
    text-align: left!important;
    max-width: 100%!important;
}

.db-elmas-1C-invoice_form table tbody tr:nth-last-child(3) i {
    margin-right: 5px;
}

.db-elmas-1C-invoice_form table tbody tr:nth-last-child(-n+2) td {
    font-weight: 700;
    padding: 5px 10px;
}

.db-elmas-1C-nomenclature_title {
    background: #f0f0f0;
    font-weight: 700;
    color: #2e3640;
}

/* db-elmas-1C-created_invoices_form */
.db-elmas-1C-created_invoices_form .modal-body {
    width: 940px;
}

.db-elmas-1C-created_invoices_form table {
    width: 100%;
}

.db-elmas-1C-created_invoices_form th,
.db-elmas-1C-created_invoices_form td {
    border: 1px solid #dbdedf;
    vertical-align: middle;
    text-align: center;
    padding: 10px;
    width: auto;
}

.db-elmas-1C-created_invoices_form th {
    text-transform: uppercase;
    font-size: 12px;
    color: #777777;
}

.db-elmas-1C-created_invoices_form tr td:first-child button {
    background: transparent;
    border: none;
    color: #2390cf;
    cursor: pointer;
}

.db-elmas-1C-created_invoices_form tr td:last-child {
    width: 15%;
}

.db-elmas-1C-created_invoices_form .fa-file-word-o {
    color: #2390cf;
}

.db-elmas-1C-created_invoices_form .fa-file-pdf-o {
    color: #de475f;
}