// -----------------------------------------------------------------------------
// This file contains all application-wide Sass placeholders.
// -----------------------------------------------------------------------------

// PLACEHOLDERS
$green-main: es-color(green);

%menu-item {
	display: flex;
    align-items: center;
    font-size: $font-size-m;
    color: $green-main;
    text-transform: uppercase;
}
%size-l {
	height: 44px;
	line-height: 44px;
}
%size-m {
	height: 32px;
	line-height: 33px;
}
%size-s {
	height: 24px;
	line-height: 25px;
}

// Flexbox justify content
%flex-center {
	display: flex;
    justify-content: space-between;
    align-items: center;
}

// truncate text
%break-word {
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

// Input and Label PLACEHOLDERS
%label {
	position: absolute;
	left: 14px;
	top: 7px;
	color: es-color(black, 6);
	transition: 0.2s ease all;
	z-index: 2;
	background: $white;
}
%input-wrap {
	position: relative;
    width: 100%;
}
%input {
	position: relative;
	padding: 0 30px 0 14px;
	color: es-color(black, 11);
	border: solid 1px es-color(black, 6);
	border-radius: $btn-radius;
	height: $min-height-m;
	width: 100%;
	line-height: 33px;
	background-color: rgba(0, 0, 0, 0);
	z-index: 3;
	margin-bottom: 18px;
}
%input-focus {
	border: solid 1px $green-main;
	z-index: 1;
}
%label-focus {
	top: -8px;
	padding: 0px 3px;
	font-size: 12px;
	color: $green-main;
}
