@import '../config/variables.css';

.rightify { text-align: right; }
.leftify { text-align: left; }
.centerify { text-align: center; }
.fright { float: right; }
.fleft { float: left; }
.center { margin: 0 auto; }
.valign-top { vertical-align: top; }
.valign-middle { vertical-align: middle; }
.valign-bottom { vertical-align: bottom; }
.clearboth { clear: both; }
.print-only { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.p-top { top: 0; }
.p-bottom { bottom: 0; }
.p-right { right: 0; }
.p-left { left: 0; }
.z-index1 { z-index: 1; }
.blockify { display: block; }
.inlineify { display: inline; }
.inlineblockify { display: inline-block; }
.display-table {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.display-cell {
    display: table-cell;
    vertical-align: middle;
}
.fit-height { height: 100%; }
.overflowify { overflow: visible; }
.unoverflowify { overflow: hidden; }
.word-break { word-wrap: break-word; }
.no-break { white-space: nowrap; }
.truncate, .ellipsify {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.truncate-fade-2-lines {
    position: relative;
    height: 3em;
    line-height: 1.5em;
    overflow: hidden;
}
.truncate-fade-2-lines:after {
    content: '';
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 1.5em;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
}
.unselectify { user-select: none; }
.select-all { user-select: all; }
.opacity25 { opacity: 0.25; }
.opacity50 { opacity: 0.5; }
.opacity60 { opacity: 0.6; }
.opacity75 { opacity: 0.75; }
.roundify { border-radius: 2px; }
.clickable { cursor: pointer; }
.hidden { display: none !important; }
.invisible { visibility: hidden; }
.noselect {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-touch-callout: none;
    user-select: none;
}
.screen-reader-only{
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}
/* From h5bp */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}
.width-auto { width: auto; }
.no-border { border: 0 !important; }
.fixed { position: fixed; }
hr, .hr {
    border: 0;
    border-bottom: 1px solid var(--sardine);
    margin: 10px 0;
}
/* Modern clearfix */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}