/* Текстовое поле */
.input {
    position: relative;
    display: inline-block;
    padding: 0 8px;
    color: var(--black);
    font-size: 13px;
    border-radius: 3px;
    border: 1px solid #e4e4e4;
    outline: none;
    vertical-align: middle;
    -webkit-transition: border 0.5s ease-out;
    transition: border 0.5s ease-out;
}

input {
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    padding: 0 8px;
}

.input[type="file"],
.input[type="file"]:focus,
.input[type="file"]:active {
   padding-left: 0;
   border: none;
   background: transparent;
}

.input.m-transparent {
   border: 1px solid #e4e4e4;
   background-color: var(--light-grey);
}

.input.m-right {
   text-align: right;
   padding-right: 0.2em;
}

.input[dir="rtl"] {
   padding: 0 0.5em 0 0;
}
.input.m-bl, input.m-bl {
    border-radius: 3px 0 0 3px;
    margin-right: 0 !important;
    border-right: 0 !important;
}
.input.m-br, input.m-br {
    border-radius: 0 3px 3px 0;
}
input.m-bn {
    border-radius: 0 !important;
}

/*.input[readonly],
.input[readonly="readonly"],
.input[readonly]:focus,
.input[readonly="readonly"]:focus {
   cursor: no-drop;
   background: transparent;
   border-color: #e4e4e4;
}*/


/* Текстовое поле → Состояния */
.input:focus {
   background: #fff;
	border-color: #0f96da;
	-webkit-transition: none;
	transition: none;
	z-index: 2;
}

.input.m-error, .select.m-error  {
	border-color: #ED272F;
	z-index: 2;
}

.input[disabled] {
	opacity: 0.5;
}


.input[readonly]:focus {
   background: inherit;
   border-color: #c7c7c7;
}


/* Текстовое поле → Размеры */
.input.m-xs {
   height: 25px;
   font-size: 11px;
   /*line-height: 1.2rem;*/
}

.input.m-s {
   height: 30px;
   font-size: 13px;
   /*line-height: 1.6rem;*/
}

.input {
   /*height: 2.5rem;*/
   height: 30px;
   /*line-height: 2.5rem;*/
}

.input.m-l {
   /*height: 3rem;*/
   height: 35px;
   /*line-height: 3rem;*/
}

.input.m-xl {
   height: 35px;
   /*line-height: 4rem;*/
}

.input[type="number"].m-s {
   /*height: inherit;*/
   /*max-height: 1.6rem;*/
   /*line-height: calc(1.6rem - 1px);*/
}

.input[type="number"] {
    /*-webkit-appearance: none;*/
   /*height: inherit;*/
   /*max-height: 2.5rem;*/
   /*line-height: calc(2.5rem - 1px);*/
}

/* Текстовое поле → Статусы */
.input.m-notice {
	background: #f4eb97;
}


/* Текстовое поле Псевдоселект */
.input.m-pseudoselect {
   background-image: url(/img/design/table-darr.png);
   background-repeat: no-repeat;
   background-position: right center;
}