﻿html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.system-wrapper {
    min-height: 100%;
    position: relative;
}

.system-content {
    padding-top: 0.5em;
    padding-bottom: 3em;
}

.system-foot {
    position: absolute;
    bottom: 0;
    width: 100%;
}

    .system-foot .subheader {
        margin-bottom: 0;
    }

.tb-column {
    text-align: center;
    align-items: center;
    display: flex !important;
    justify-content: center;    
    flex-direction: column;
}
    .tb-column.image {
        height: 300px;
        max-height: 300px;
    }

    .tb-column.LtoR {
        float: right;
    }

    .tb-column > div {
        width: 100%;
    }

        .tb-column > div > a {
            max-width: 60px;
        }

    .tb-column > img {
        height: auto;
        max-height: 225px;
        width: auto;
    }

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .tb-column {
        width: 100% !important;
    }

        .tb-column.image {
            height: auto;
            min-height: 0;
        }

        .tb-column.LtoR {
            float: none;
        }

        .tb-column > div {
            align-items: center;
            display: flex;
            justify-content: center;
        }
}

@media screen and (max-width: 39.9375em) {
    .tb-column {
        width: 100% !important;
    }

        .tb-column.image {
            height: auto;
            min-height: 0;
        }

        .tb-column.LtoR {
            float: none;
        }

        .tb-column > div {
            align-items: center;
            display: flex;
            justify-content: center;
        }
}

.title-bar {
    display: none;
}

.loading {
    background-color: rgba(128,128,128,0.5);
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 5;
}

.cssload-loader {
    width: 97px;
    height: 19px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
}

    .cssload-loader > div {
        content: " ";
        width: 19px;
        height: 19px;
        background: #1779ba;
        border-radius: 100%;
        position: absolute;
        animation: cssload-shift 2.3s linear infinite;
        -o-animation: cssload-shift 2.3s linear infinite;
        -ms-animation: cssload-shift 2.3s linear infinite;
        -webkit-animation: cssload-shift 2.3s linear infinite;
        -moz-animation: cssload-shift 2.3s linear infinite;
    }

        .cssload-loader > div:nth-of-type(1) {
            animation-delay: -0.46s;
            -o-animation-delay: -0.46s;
            -ms-animation-delay: -0.46s;
            -webkit-animation-delay: -0.46s;
            -moz-animation-delay: -0.46s;
        }

        .cssload-loader > div:nth-of-type(2) {
            animation-delay: -0.92s;
            -o-animation-delay: -0.92s;
            -ms-animation-delay: -0.92s;
            -webkit-animation-delay: -0.92s;
            -moz-animation-delay: -0.92s;
        }

        .cssload-loader > div:nth-of-type(3) {
            animation-delay: -1.38s;
            -o-animation-delay: -1.38s;
            -ms-animation-delay: -1.38s;
            -webkit-animation-delay: -1.38s;
            -moz-animation-delay: -1.38s;
        }

        .cssload-loader > div:nth-of-type(4) {
            animation-delay: -1.84s;
            -o-animation-delay: -1.84s;
            -ms-animation-delay: -1.84s;
            -webkit-animation-delay: -1.84s;
            -moz-animation-delay: -1.84s;
        }



@keyframes cssload-shift {
    0% {
        left: -58px;
        opacity: 0;
        background-color: #ffae00;
    }

    10% {
        left: 0;
        opacity: 1;
    }

    90% {
        left: 97px;
        opacity: 1;
    }

    100% {
        left: 156px;
        background-color: #cc4b37;
        opacity: 0;
    }
}

@-o-keyframes cssload-shift {
    0% {
        left: -58px;
        opacity: 0;
        background-color: #ffae00;
    }

    10% {
        left: 0;
        opacity: 1;
    }

    90% {
        left: 97px;
        opacity: 1;
    }

    100% {
        left: 156px;
        background-color: #cc4b37;
        opacity: 0;
    }
}

@-ms-keyframes cssload-shift {
    0% {
        left: -58px;
        opacity: 0;
        background-color: #ffae00;
    }

    10% {
        left: 0;
        opacity: 1;
    }

    90% {
        left: 97px;
        opacity: 1;
    }

    100% {
        left: 156px;
        background-color: #cc4b37;
        opacity: 0;
    }
}

@-webkit-keyframes cssload-shift {
    0% {
        left: -58px;
        opacity: 0;
        background-color: #ffae00;
    }

    10% {
        left: 0;
        opacity: 1;
    }

    90% {
        left: 97px;
        opacity: 1;
    }

    100% {
        left: 156px;
        background-color: #cc4b37;
        opacity: 0;
    }
}

@-moz-keyframes cssload-shift {
    0% {
        left: -58px;
        opacity: 0;
        background-color: #ffae00;
    }

    10% {
        left: 0;
        opacity: 1;
    }

    90% {
        left: 97px;
        opacity: 1;
    }

    100% {
        left: 156px;
        background-color: #cc4b37;
        opacity: 0;
    }
}

a.button {
    margin: 0 0 0 0;
}

.login {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-right: -50%;
    max-width: 334px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.recaptcha-block {
    position: fixed;
    z-index: 1;
}

.reveal-overlay {
    z-index: 65537;
}

div.mce-tinymce {
    margin: 0 0 1rem;
}

table tr td img {
    max-width: 300px;
}