﻿button:hover{
    cursor: pointer;
}
button.standard {
    border-radius: 5px;
    margin: 5px;
    margin-bottom: 0;
    height: 40px;
    z-index: 1;
    font-size: 1rem;
}

button.infocentre {
    border-radius: 5px;
    position: relative;
    min-height: 40px;
    font-size: 1rem;
    width: calc(100% - 5px);
    z-index: 1;
    background-color: rgb(255,255,255);
    color: var(--theme-colour);
    border-color: var(--theme-colour);
    margin-top: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 2.35rem;
    text-align: left;
}
    button.standard.ellipsis {
        white-space: nowrap;
        -o-text-overflow: ellipsis;
        -ms-text-overflow: ellipsis;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    button.standard.align-left {
        text-align: left;
        padding-left: 10px;
    }
    button.standard.full-width {
        width: calc(100% - 10px);
        text-align: center;
        min-height: 35px;
        margin: 0;
        margin-top: 2px;
        margin-left: 5px;
    }
    .body button.standard.full-width {
        width: auto;
    }
    button.standard:disabled:hover {
        cursor: not-allowed;
    }
    button.standard.outline, button.standard.outline:disabled:hover {
        background-color: rgb(255,255,255);
        color: var(--theme-colour);
        border-color: var(--theme-colour);
    }
        button.standard.outline:hover {
            color: rgb(255,255,255);
            background-color: var(--theme-colour);
        }
        button.standard.outline.inline {
            display: inline-block;
        }
        button.standard.blue, button.standard.blue:disabled:hover {
            color: rgb(255,255,255);
            background-color: rgb(43,87,151);
            border-color: rgb(43,87,151);
        }

        button.standard.blue:hover {
            background-color: rgb(45,137,239);
            border-color: rgb(45,137,239);
        }

    button.standard.purple, button.standard.purple:disabled:hover {
        color: rgb(255,255,255);
        background-color: var(--theme-colour);
        border-color: var(--theme-colour);
    }

        button.standard.purple:hover {
            background-color: var(--highlight-colour);
            border-color: var(--highlight-colour);
        }

    button.standard.green, button.standard.green:disabled:hover {
        color: rgb(255,255,255);
        background-color: rgb(30,113,69);
        border-color: rgb(30,113,69);
    }

        button.standard.green:hover {
            background-color: rgb(0,163,0);
            border-color: rgb(0,163,0);
        }

    button.standard.red, button.standard.red:disabled:hover {
        color: rgb(255,255,255);
        background-color: rgb(185,29,71);
        border-color: rgb(185,29,71);
    }

        button.standard.red:hover {
            background-color: rgb(238,17,17);
            border-color: rgb(238,17,17);
        }

button.invisible {
    border: none;
    background-color: transparent;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: transparent;
    cursor: pointer;
    z-index: 2;
}

button.is-link, .hidden-checkbox + label.is-link {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    color: rgb(45,137,239);
    background-color: transparent;
    border: none;
    user-select: none;
    direction: ltr;
    padding: 6px 12px;
    min-height: 40px;
    font-size: 0.95rem;
    z-index: 1;
}

    button.is-link:hover, .hidden-checkbox + label.is-link:hover {
        border: solid 1px rgb(45,137,239);
    }

    button.is-link.no-border:hover, .hidden-checkbox + label.is-link:hover {
        border: none;
    }

    button.is-link:disabled, .hidden-checkbox + label.is-link:disabled {
        cursor: not-allowed;
        color: rgba(29,29,29, 0.5);
        pointer-events: none;
    }

button.calendar {
    background-size: 32px;
    background-repeat: no-repeat;
    background-position-x: 2px;
    background-position-y: 1px;
    background-color: var(--theme-colour);
    border-radius: 3px;
    margin: 5px;
    margin-bottom: 0;
    height: 40px;
    width: 40px;
    z-index: 1;
    display: inline-block;
}

button.is-link, .hidden-checkbox + label.is-link {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    color: rgb(45,137,239);
    background-color: transparent;
    border: none;
    user-select: none;
    direction: ltr;
    padding: 4px 12px;
    font-size: 0.95rem;
    z-index: 1;
    margin: 2px;
    min-height: 0;
}

    button.is-link:hover, .hidden-checkbox + label.is-link:hover {
        border: solid 1px rgb(45,137,239);
    }

    button.is-link.no-border:hover, .hidden-checkbox + label.is-link:hover {
        border: none;
    }

    button.is-link:disabled, .hidden-checkbox + label.is-link:disabled {
        cursor: not-allowed;
        color: rgba(29,29,29, 0.5);
        pointer-events: none;
    }

    button.is-link.white, .hidden-checkbox + label.is-link.white {
        color: rgb(255,255,255);
    }

        button.is-link.white:hover, .hidden-checkbox + label.is-link.white:hover {
            border: solid 2px rgb(255,255,255);
            border-radius: 5px;
        }
button.standard.half-height {
    height: 17px;
}
    button.standard.half-height.top {
        border-radius: 3px 3px 0 0;
    }
button.standard.half-height.bottom {
    margin-top: 24px;
    border-radius: 0 0 3px 3px;
}
    button.standard.half-height.bottom.down::before {
        position: relative;
        top: -9px;
        content: "";
        display: inline-block;
        width: 0.4em;
        height: 0.4em;
        border-right: 0.2em solid rgb(255,255,255);
        border-top: 0.2em solid rgb(255,255,255);
        transform: rotate(135deg);
        margin: auto;
    }

    button.standard.half-height.top.up::before {
        position: relative;
        top: -4px;
        content: "";
        display: inline-block;
        width: 0.4em;
        height: 0.4em;
        border-right: 0.2em solid rgb(255,255,255);
        border-top: 0.2em solid rgb(255,255,255);
        transform: rotate(-45deg);
        margin: auto;
    }