﻿.widgets-container {
    display: grid;
    grid-auto-rows: 320px;
    grid-auto-flow: row dense;
    row-gap: 6px;
    width: 100%;
    margin-bottom: 10px;
}

.widget-container {
    padding: 0px 3px;
}

    .widget-container .widget {
        background-color: white;
        border: 1px solid #999;
        border-radius: 5px;
        height: 100%;
    }

        .widget-container .widget .widget-title {
            background-color: #ccc;
            color: #666;
            font-size: 1.2em;
            font-weight: bold;
            padding: 3px 10px;
            border-radius: 5px 5px 0 0;
            width: 100%;
            white-space: nowrap;
        }

            .widget-container .widget .widget-title a {
                text-decoration: none;
                color: inherit;
            }

                .widget-container .widget .widget-title a:hover {
                    text-decoration: none;
                    color: #000;
                }

        .widget-container .widget .widget-content {
            padding: 5px;
            overflow: auto;
            height: calc(100% - 35px);
        }

        .widget-container .widget .eventtabs {
            padding-top: 5px;
        }

        .widget-container .widget .widget-error,
        .widget-container .widget .widget-message {
            padding: 5px 10px;
            font-size: 1.2em;
            font-weight: bold;
        }

        .widget-container .widget .widget-error {
            background-color: #FFDEE4;
            color: #931C1E;
        }

        .widget-container .widget .widget-message {
            background-color: #D4FCDF;
            color: #058729;
        }

        .widget-container .widget .widget-data {
            padding: 5px;
        }

        .widget-container .widget .widecontrolcontainer .widecontrolheader {
            width: 120px;
            min-width: 125px;
            vertical-align: middle;
        }

        .widget-container .widget .widecontrolcontainer.with-textbox .widecontrolheader {
            height: 27px;
            line-height: 27px;
        }

        .widget-container .widget .widecontrolcontainer .widecontrolarea {
            width: calc(100% - 160px);
            max-width: calc(100% - 125px);
        }

.widget-man-row {
    display: block;
    margin: 3px 0;
    height: 28px;
    line-height: 28px;
    vertical-align: middle;
}

.widget-man-name {
    display: inline-block;
    width: 130px;
}

.widget-man-pos {
    display: inline-block;
    width: 30px;
    text-align: center;
}

.widget-man-vis {
    display: inline-block;
    width: 55px;
    text-align: center;
}

.widget-man-size {
    display: inline-block;
    width: 55px;
    text-align: center;
}

.LargeLinkButton {
    background-color: #ecf0f5;
    border: #c9c9c9 1px solid;
    border-radius: 4px;
    color: #424242;
    display: inline-block;
    font-style: normal;
    font-family: Verdana;
    font-size: 1.2rem;
    font-weight: bold;
    width: 160px;
    height: 90px;
    margin: 5px;
    padding: 10px 8px;
    text-align: center;
    text-transform: none;
    text-decoration: none !important;
    white-space: nowrap;
    word-spacing: normal;
}

    .LargeLinkButton span {
        color: #777;
        display: block;
        font-size: 5rem;
    }



@media screen and (max-width: 768px) {
    .widget .widecontrolcontainer .widecontrolheader, .widget .widecontrolcontainer .widecontrolarea {
        width: 100%;
        max-width: none;
    }
}

.widget-notify {
    position: absolute;
    width: 100%;
    bottom: 1px;
    padding: 3px;
    border-radius: 3px;
    background-color: green;
    color: white;
    font-weight: 700;
}

.widget-notifyfade {
    animation: fadeOut 4s;
    opacity: 0;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
