﻿
/* get rid of those system borders being generated for A tags */
a:active {
    outline:none;
}

.alignVertically {
    display: flex !important;
    align-items: center;
}

.centerElement {
    text-align: center;
    margin: 0 auto;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.clearBoth {
    clear: both;
}

.clearLeft {
    clear: left;
}

.clearRight {
    clear: right;
}

.scrollable{
    overflow:auto;
}

.margin {
    margin: var(--main-spacing)
}

.padding {
    padding: var(--main-spacing)
}

.noBorder {
    border: none;
}

.border {
    border: 1px solid var(--main-light-grey);
}

.hover:hover {
    opacity: 0.86;
}

.largeFont {
    font-size: 1.1em;
}

.smallFont {
    font-size: calc(0.9em * var(--x, 1));
}

.largeFont {
    font-size: calc(1.1em * var(--x, 1));
}

.x2 {
    --x: 2;
}

.x3 {
    --x: 3;
}

.x4 {
    --x: 4;
}

.bold {
    font-weight:bold;
}

.italic {
    font-style: italic;
}

.textAlignLeft {
    text-align: left;
}

.textAlignCenter, .center {
    text-align: center;
}

.lineThrough {
    text-decoration: line-through;
}


.displayInLine {
    display: inline-block;
}

.hide {
    visibility: hidden;
    display: none;
}

.underline {
    text-decoration: underline;
}

.fullWidth{
    width:100%;
}

.invert {
    filter: invert(100%);
}

.whiteBackground {
    background-color: white;
}

.clearAfter:after {
    clear: both;
    display: table;
    content: '';
}

.pointer {
    cursor: pointer;
}

.grabCursor{
    cursor:grab;
}

.moveable:hover {
    box-shadow:0px 0px 5px #000;
    cursor: move;
}

@keyframes highlightKeyframes {
    0% {
        background: #ffc;
    }

    100% {
        background: none;
    }
}

.highlightQuickly {
    animation: highlightKeyframes 1s;
}