.model {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -99;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.5);
    opacity: 0;
    transition: 0.5s;
}
.model.active {
    z-index: 99;
    opacity: 1;
}
.model > div {
    position: relative;
    top: -10rem;
    max-width: 500px;
    width: 95%;
    background: #000000;
    border-radius: 10px;
    overflow: hidden;
    transition: top 0.5s;
    box-shadow: 0 0 5px #b60703;
}
.model.active > div {
    top: 0;
}
.model .model-title {
    position: relative;
    padding: 12px 0;
    font-size: 1.2rem;
    text-align: center;
    color: #ffffff;
    background-color: #b60703;
    background-image: -webkit-linear-gradient(top, #b60703, #980603, #6d0403);
}
.model .model-title #gameName {
    display: block;
    margin: 0 auto;
    width: 80%;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.model .model-back {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    border: none;
    border-radius: 0;
    outline: none;
}
.model .model-content {
    padding: 20px;
    color: #ffffff;
    box-sizing: border-box;
}
.model .model-flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    height: 40px;
    line-height: 40px;
}
.model .model-content  .title {
    width: 40%;
    text-align: right;
    font-size: 1rem;
}
.model .model-content  .text {
    width: 60%;
    font-size: 1rem;
}
.model .model-content  .text input {
    padding: 0 10px;
    width: 100%;
    height: 30px;
    color: #000000;
    box-sizing: border-box;
}
.model .model-content  .text input.error {
    border: 2px solid #d20000;
}
.model .model-btn {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}
.model .model-btn button {
    padding: 6px 0;
    width: 49%;
    color: #fff;
    border: 1px solid #d20000;
    background-color: #650202;
    background-image: -moz-linear-gradient(top, #b06262, #800404, #600202);
    background-image: -webkit-linear-gradient(top, #b06262, #800404, #600202);
    background: linear-gradient(top, #b06262, #800404, #600202);
    border-radius: 5px;
    transition: 0.3s;
}
.model .model-btn button:not(:first-child) {
    margin-left: 2%;
    border: 1px solid #c2b272;
    background-color: #704a0c;
    background-image: -moz-linear-gradient(top, #f9f2d2, #8b6721, #674106);
    background-image: -webkit-linear-gradient(top, #f9f2d2, #8b6721, #674106);
    background: linear-gradient(top, #f9f2d2, #8b6721, #674106);
}
.model .model-btn button:hover {
    opacity: .8;
}
.model .model-btn button:disabled {
    cursor: no-drop;
    opacity: .8;
    background-color: #6e6e6e;
    background-image: -moz-linear-gradient(top, #aaaaaa, #6e6e6e, #aaaaaa);
    background-image: -webkit-linear-gradient(top, #aaaaaa, #6e6e6e, #aaaaaa);
    background: linear-gradient(top, #aaaaaa, #6e6e6e, #aaaaaa);
    border: 1px solid #aaaaaa;
}
.model .model-btn .game_error_btn {
    background-color: #6e6e6e !important;
    background-image: -moz-linear-gradient(top, #aaaaaa, #6e6e6e, #aaaaaa) !important;
    background-image: -webkit-linear-gradient(top, #aaaaaa, #6e6e6e, #aaaaaa) !important;
    background: linear-gradient(top, #aaaaaa, #6e6e6e, #aaaaaa) !important;
    border: 1px solid #aaaaaa !important;
}
.model #gameTransferLoad {
    margin-top: 20px;
    display: none;
    width: 100%;
    height: 30px;
    font-size: 1rem;
    color: #ffffff;
    text-align: center;
}

/* extension */

#bulletinModal_block {
    max-width: 800px;
    background: #FFF;
}

#bulletinModal .model-back {
    right: 2%;
}

#bulletinModal .model-content {
    color: #000;
    display: flex;
    max-height: 450px;
    height: calc(95vh - 50px);
    padding: 0;
}

#bulletinModal .bulletin_list {
    width: 30%;
}

#bulletinModal .bulletin_nav {
    height: calc(100% - 40px);
    overflow-x: hidden;
    border-bottom: 1px solid #b60703;
}


#bulletinModal .bulletin_nav p {
    margin: 0;
    width: calc(100% - 50px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#bulletinModal .bulletin_nav > div.active {
    background: #ddd;
}

#bulletinModal .bulletin_nav > div {
    display: flex;
    align-items: center;
    min-height: 40px;
    border-bottom: 1px solid #b60703;
    cursor: pointer;
    padding: 0 5px;
}

#bulletinModal .bulletin_content {
    width: 70%;
    border-left: 1px solid #b60703;
    padding: 10px;
}

#bulletinModal .bulletin_content > div {
    display: none;
    height: 100%;
}

#bulletinModal .bulletin_content .title {
    text-align: revert;
    color: #b60703;
    font-size: 1.5rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #b60703;
    width: 100%;
    line-height: 1.7rem;
}

#bulletinModal .bulletin_content .date {
    text-align: right;
}

#bulletinModal .bulletin_ann {
    margin-right: 10px;
    padding: 3px 0;
    width: 40px;
    text-align: center;
    color: #FFF;
    /* border: #c19e79 1px solid; */
    background-color: #c19e79;
    border-radius: 5px;
}

#bulletinModal .bulletin_btn {
    height: 30px;
    line-height: 30px;
    margin: 5px 0;
}

#notShowModal {
    display: block;
    width: 145px;
    height: 32px;
    line-height: 30px;
    color: #fff;
    border-radius: 5px;
    border: 1px solid #d20000;
    background-color: #b60703;
    background-image: -webkit-linear-gradient(top, #b60703, #980603, #6d0403);
    margin: 0 auto;
}

#bulletinModal.active {
    z-index: 999;
    opacity: 1;
}