@keyframes fadeBackground {
    from {
        opacity: 0.1;
    }

    to {
        opacity: 1;
    }
}

.activity_SHOW_finished {
    background-image: url('../image/chequered-flag-finish-show.jpg');
    animation: fadeBackground 0.4s infinite alternate;
    border-radius: 4px;
}

.activity_finished {
    background-image: url('../image/checkered-flag-finish.png');
}

.activity_stopped {
    background-image: url('../image/traffic_light_yellow.png');
}

.activity_prepared {
    background-image: url('../image/traffic_light_red.png');
}

.activity_running {
    background-image: url('../image/traffic_light_green.png');
}

.activity_red {
    background-image: url('../image/flag-red.png');
}

.activity_yellow {
    background-image: url('../image/flag-yellow.png');
}

.activity_locked {
    background-image: url(./image/locked.png);
}

/* --------              Mobile   ---------     */
@media all and (max-width: 40em) {
.disconnected
 {
    background-image: url('../image/wlan-93-70-disconnected.png');
    background-size: 100% 100%;
    background-repeat:no-repeat;
    float:left;
    width: 47px;
    height: 35px;
}
.activity_logo
 {
    background-image: url('../image/megatiming.png');
    background-size: 100% 100%;    
    background-repeat:no-repeat;    
    float:left;
    height: 15vw;
    width: 20vw;
}
}
/* ------     Desktop   Laptop   Tablet -------     */
@media all and (min-width: 40em) {
.disconnected
 {
    background-image: url('../image/wlan-93-70-disconnected.png');
    background-size: 100% 100%;
    background-repeat:no-repeat;
    float:left;
    width: 93px;
    height: 70px;
}
.activity_logo
 {
    background-image: url('../image/megatiming.png');
    background-size: 100% 100%;    
    background-repeat:no-repeat;    
    float:left;
    width: 93px;
    height: 70px;
}
}

.dropin {
    text-align:left;
    color:white;
    width:100%;
}
.activitygroup {
    text-align:left;
    color:white;
    width:100%;
}
.activityheader {
    position: relative;
    margin: 2px;
    padding: 1px;
    width: 100%;
    float: left;
    text-align: center;
    align-items: center;
}
.activity_live
{
    background-image: url('../image/live.png');
    background-size: 100% 100%;
    background-repeat:no-repeat;
    float:left;
}
.activity_next
{
    background-image: url('../image/next.png');
    background-size: 100% 100%;
    background-repeat:no-repeat;
    float:left;
}
.activity_last
{
    background-image: url('../image/last.png');
    background-size: 100% 100%;    
    background-repeat:no-repeat;    
    float:left;
}
.activity_history {
    background-image: url('../image/history.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    float: left;
}

/* ------     Desktop Laptop Tablet  -------     */
@media all and (min-width: 40em) {
    .activity_livenextlast_size {
        width: 111px;
        height: 70px;
    }
    .activity_top {
        visibility: visible;
    }
    .activity_nexrow {
        display: none;
    }
    .activity {
        position: absolute;
        top: 50%;
        left: 111px; /*   111 from  activity_livenextlast_size*/
        transform: translate(0, -50%); /*   111 from  activity_livenextlast_size*/
        width: 45%;
        float: left;
        font-size: 175.0%;
        font-weight: 600;
    }
    .completed {
        margin-right: 2vw;
        text-align: right;
        width: 30%;
        float: right;
        font-size: 275.0%;
        font-weight: 1000;
    }
    .activity_size {
        background-size: 100% 100%;
        background-repeat: no-repeat;
        width: 60px;
        height: 70px;
        float: right;
    }
}
/* --------              Mobile   ---------     */
@media all and (max-width: 40em) {
    .activity_livenextlast_size {
        width: 24vw;
        height: 15vw;
    }
    .activity_top {
        display: none;
    }
    .activity_nexrow {
        visibility: visible;
        clear: left;
        text-align: center;
        width: 100%;
    }
    .activity {
        float: left;
        font-size: 7vw;
        font-weight: 500;
    }
    .completed {
        margin: 1vw;
        padding: 1vw;
        text-align: right;
        width: 43vw;
        float: right;
        font-size: 8vw;
        font-weight: 700;
        font-family: sans-serif;
    }
    .activity_size {
        background-size: 100% 100%;
        background-repeat: no-repeat;
        float: right;
        width: 11vw;
        height: 12.83vw;
    }
}

@media (any-hover: hover) {
.flag_hover {
    filter: invert(15%) grayscale(15%);
}
.flag_hover:hover
{
    filter: invert(0%) grayscale(0%) brightness(110%) saturate(140%);
}
}

@media all and (min-width: 45em) {
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .flag_size
{
    width: 112px;
    height: 132px;
    background: none;
    background-size: 100% 100%;
    background-repeat:no-repeat;
}

}
/* --------              Mobile   ---------     */
@media all and (max-width: 45em) {
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .flag_size
{
    width: 56px;
    height: 66px;
    background: none;
    background-size: 100% 100%;
    background-repeat:no-repeat;
}
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .stopped_flag
{
    background-image: url('../image/traffic_light_yellow.png');
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .red_flag
{
    background-image: url('../image/flag-red.png');
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .yellow_flag {
    background-image: url('../image/flag-yellow.png');
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .restart_flag {
    background-image: url('../image/stop.png');
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .running_flag
{
    background-image: url('../image/traffic_light_green.png');
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .finish_flag
{
    background-image: url('../image/checkered-flag-finish.png');
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .running_flag_dropin {
    background-image: url('../image/traffic_light_green_dropin.png');
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .journal_message
{
    background-image: url('../image/journal_message.png');
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .journal_message_remove
{
    background-image: url('../image/journal_message_remove.png');
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .back_button {
    background-image: url('../image/back_button.png');
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .screen1x {
    background-image: url('../image/screen1x.png');
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .screen2x {
    background-image: url('../image/screen2x.png');
}

.ui-dialog .ui-dialog-content {
	border: 0;
	padding: 20px;
    font-size:18px;
    color:#B0B0B0;
    background-color: #303030;
	overflow: auto;
}
