﻿.reconnect-block {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: none;
    overflow: hidden;
    background-color: #fff;
    opacity: 0.8;
    text-align: center;
    font-weight: bold;
}

.inner-block {
    width: 450px;
    height: 250px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    margin: auto;
}

.image-block {
    width: 300px;
    height: 200px;
    display: block;
    margin: auto;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

/* 大事なのはここから↓ */

/* 正常状態はnoneでcomponents-reconnect-modalを表示しない */
.components-reconnect-hide {
    display: none;
}

/* コネクションロスト(リコネクティング)状態はcomponents-reconnect-modalをdisplay:blockで表示 */
.components-reconnect-show {
    display: none;
}

/* リコネクト タイムアウト状態はcomponents-reconnect-modalをdisplay:blockで表示 */
.components-reconnect-failed {
    display: block;
}


.components-reconnect-show .reconnect-wait {
    display: block;
}

.components-reconnect-failed .reconnect-wait {
    display: none;
}

.components-reconnect-show .reconnect-button {
    display: none;
}

.components-reconnect-failed .reconnect-button {
    display: block;
}
