/**
 * UX components
 */

/**
 * Display titles
 */
.display-title {
	position: relative;
	display: block;
	margin: 0 auto;
	width: max-content;
}
.display-title h2 {
	position: relative;
	margin: 0;
    font-family: 'Assistant', 'Open Sans', Arial, sans-serif;
	font-weight: 600;
    color: var(--white);
    text-align: center;
}
.display-title h2 {
	font-size: 40px;
}
.display-title::before {
	content: '';
	position: absolute;
	top: -20%;
	left: -5%;
	width: 110%;
	height: 160%;
}
.display-title--create::before {
	background-color: var(--create);
	transform: rotate(1deg);
}

.display-title--prepare::before {
	background-color: var(--prepare);
	transform: rotate(-1deg);
}

.display-title--feedback::before {
	background-color: var(--feedback);
	transform: rotate(1deg);
}
.display-title--pending::before {
	background-color: var(--pending);
	transform: rotate(1deg);
}
.display-title--approved::before {
	background-color: var(--approved);
	transform: rotate(-1deg);
}
@media only screen and (max-width: 580px) {
    .display-title h2 {
        font-size: 32px;
    }
    .display-title::before {
	    height: 140%;
    }
}
@media only screen and (max-width: 380px) {
    .display-title {
	    width: min-content;
    }
    .display-title::before {
        top: -10%;
	    height: 120%;
    }
}

/**
 * LMU Notice
 */
.lmu-notice {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
}
.lmu-notice .fa {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}
 .lmu-notice--success .fa {
	color: #33A69A;
}
 .lmu-notice--warning .fa {
	color: #E75453;
}
.lmu-notice__content {
    margin: 0;
	text-wrap: pretty;
}

/**
 * Buttons
 */
.button {
	display: flex;
	align-items: center;
	column-gap: 0.5rem;
	justify-content: center;
	flex-wrap: nowrap;
	border: 0 none;
	border-radius: 0.25rem;
	background-color: #FFB4A8;
	background: linear-gradient(135deg, #F2A79B 0%, #FFB4A8 100%);
	font-weight: 600;
	font-size: 1.2rem;
	line-height: 1.2em;
	padding: 0.5rem 1rem;
	color: #4D4D4A;
	cursor: pointer;
	text-decoration: none !important;
	text-align: center;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
.button:hover {
	background-color: #FFC1B5;
	background: linear-gradient(135deg, #FFB4A8 0%, #FFC1B5 100%);
}

.button.button--inline {
	display: inline-block;
	min-width: 150px;
}

.button--green {
	background: #00746B;
	color: #fff;
}
.button--green:hover {
	background: #1A8E85;
}
.button--blue {
	background: var(--lmu-blue);
	color: #fff;
}
.button--blue:hover {
	background: var(--lmu-blue-hover);
}
.button--purple {
	background: #9b59b6;
	color: #fff;
}
.button--purple:hover {
	background: #82409D;
}
.button--grey {
	background: #b9b9b9;
}
.button--grey:hover {
	background: #c4c4c4;
}
.button.button--white {
	background: #ffffff;
	color: #393939;
}
.button.button--white:hover {
	background: #f2eded;
}
.button--pink {
	background-color: #ff7b7b;
	background: linear-gradient(135deg, #E66262 0%, #ff7b7b 100%);
	color: #fff !important;
}
.button--pink:hover {
	background-color: #E66262;
	background: linear-gradient(135deg, #CC4848 0%, #E66262 100%);
}
.button--danger {
	background: #c00000;
	color: #fff;
}
.button--danger:hover {
	background: #D22C00;
}
.button--black {
	background: #393939;
	color: #fff;
}
.button--black:hover {
	background: #535353;
}

/**
 * Arrow link
 */
.arrow-link {
	display: inline-flex;
	align-items: center;
	column-gap: 0.5rem;
	text-decoration: none;
	font-size: 20px;
}
.arrow-link > span {
	color: var(--text-color) !important;
	font-weight: 600;
	text-wrap: pretty;
}
.arrow-link > i.fa {
	position: relative;
	color: var(--text-color);
	transition: left 0.2s ease;
	left: 0;
}
.arrow-link:hover > i.fa {
	left: 0.2em;
}
.arrow-link--reverse > i.fa {
	transition: right 0.2s ease;
	left: unset !important;
	right: 0;
}
.arrow-link--reverse:hover > i.fa {
	right: 0.2em;;
}
.arrow-link--green > span,
.arrow-link > i.fa {
	color: var(--lmu-green) !important;
}

/**
 * LMU Support Banner
 */
.lmu-support-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	column-gap: 0.5rem;
	row-gap: 0.5rem;
	background-color: var(--lmu-peach);
	-webkit-box-shadow: 0 5px 10px 0 var(--grey-shadow);
	box-shadow: 0 5px 10px 0 var(--grey-shadow);
	padding: 0.5rem 1rem;
	line-height: 1.4em;
	text-align: center;
}
.lmu-support-banner * {
	color: var(--grey-dark) !important;
}
.lmu-support-banner i.fa {
	flex: 0 0 auto;
	font-size: 1.6rem;
}
.lmu-support-banner span:nth-of-type(1) {
	font-size: 1.2rem;
	font-weight: 700;
}
.lmu-support-banner span:nth-of-type(2) {
	font-size: 1rem;
	max-width: 300px;
	text-wrap: balance;
}

/**
 * Table
 */
table.lmu-table {
	border-collapse: collapse;
	background-color: var(--white);
}
table.lmu-table:not(:last-child) {
	margin-bottom: 2rem;
}
table.lmu-table th {
	border: var(--grey-dark) 1px solid;
	padding: 3px;
	font-size: 1rem;
	vertical-align: top;
	text-align: left;
	background-color: var(--grey-light);
	font-weight: bold;
}
table.sortable.lmu-table th {
	cursor: pointer;
}
table.lmu-table td {
	border: var(--grey-dark) 1px solid;
	padding: 3px;
	font-size: 1rem;
	vertical-align: top;
	text-align: left;
}
table.lmu-table .hidden-value {
	display: inline-block;
	text-indent: -999px;
	overflow: hidden;
}
table.lmu-table td small {
	font-size: 0.8em;
}
