button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    margin: 0;
    color: inherit;
    font: inherit;
}

button[disabled] {
  cursor: default;
  opacity: 0.5;
}

.button {
    position: relative;
    display: inline-block;
    height: 30px;
    width: max-content;
    padding: 0 9px;
    margin: 10px;
    background-color: transparent;
    cursor: pointer;
    border-radius: 3px;
    transition: all .3s;
}

.button__text {
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1.5;
	font-size: 12px;
}

.button_no-margins {
    margin: 0;
}

.button:hover {
    box-shadow: 1px 1px 5px 0px rgba(35, 44, 58, 0.34);
}

.button_file .button__label {
    line-height: 2;
}

.button_file input {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    cursor: pointer;

    visibility: hidden;
    z-index: 99;
    outline: 0;
}

.button_primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.button_success {
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.button_secondary,
.button_secondary_fix {
    border: 1px solid var(--table-color);
    color: var(--table-color);
}

.button_secondary_choose {
    border: 0;
	background-color: var(--table-color);
    color: var(--white-color);
}

.button_danger {
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

.button_third {
    border: 1px solid var(--white-color);
    color: var(--white-color);
}

.button_icon {
    width: 20px;
    height: 20px;
    margin: 5px;
    padding: 0;
    border: none;
    color: var(--white-color);
}

.button_icon:hover {
    box-shadow: none;
	opacity: 0.8;
}

.button_icon .button__icon {
    position: relative;
    top: 0;
    left: 0;
}

.dropdown-list__clear .button__icon,
.gray_color {
	color: var(--gray-color);
}

.button__label {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.5;
    margin-top: 1px;
	white-space: nowrap;
}

.button_with-icon .button__label {
	padding-left: 25px;
}

.button__icon {
    position: absolute;
    left: 9px;
    top: 4px;
    display: block;
    min-width: 20px;
    width: 20px;
    height: 20px;
    background-size: 20px !important;
}

.button__icon_center {
    position: absolute;
    left: calc(50% - 10px);
    top: 4px;
    display: block;
    width: 20px;
    height: 20px;
    background-size: 20px !important;
}

.previous.button,
.next.button,
.btn-previous,
.btn-next {
    width: 30px;
}

.previous.button,
.btn-previous {
    border-radius: 3px 0px 0px 3px;
	margin: 0 !important;
}

.next.button,
.btn-next {
    border-radius: 0px 3px 3px 0px;
    border-left: 0;
	margin: 0 !important;
}

.next .button__icon {
    left: 4px;
}

.button__icon_rotate_90 {
    transform: rotate(90deg);
}

.button__icon_inverted {
    transform: rotate(180deg);
}

.previous.button, .next.button {
    width: 30px;
}

.previous.button {
    border-radius: 0 3px 3px 0;
    transform: rotate(180deg);
}

.next.button,
.btn-next {
    border-radius: 0 3px 3px 0;
    left: -1px;
}

.previous .button__icon,
.btn-previous .button__icon {
    left: 4px;
}

.next .button__icon,
.btn-next .button__icon {
    left: 4px;
}

.btn-previous .button__icon {
    transform: rotate(180deg);
}

#heatTableEditor th .button__icon {
    transform: rotate(270deg);
}

#heatTableEditor th .button__icon_inverted {
    transform: rotate(90deg);
}