.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    background:rgba(255, 255, 255, 0.3);
}

.modal_dialog{
    position:relative;
    width:450px;
    max-width:100%;
    margin:5% auto;
}

.modal_content{
    position:relative;
    padding:30px 45px 45px 45px;
}

.modal_header{
    padding:10px;
    text-align:center;
    position:relative;
}

.modal_close{
    position:absolute;
    right: -15px;
    top: 5px;
    background-color:transparent;

}



.modal_body{
padding:10px 25px;
}

.modal_footer{
padding:0 10px;
}

.form-input{
    width: 100%;
    border: 3px solid #996633;
    border-radius: 5px;
    height: 40px;
    font-family: 'Lobster', cursive;
    outline: none;
    max-width: 100%;
    text-align: center;
    font-size: 24px;
    color: #996633;
}

.error{
    color:#ff0000;
}

.form-input::placeholder{
   color: #996633; 
}
.form-input:focus, .form-input:active{
    outline:none;
}

.form-row{
    margin-bottom:10px;
}

.modal_title{
    margin:0;
    color: #996633;
    font-family: 'Lobster', cursive;
    font-size:36px;
    text-align:centerl
}

button{
    border:none;
    background:transparent;
    outline:none;
    cursor:pointer;
}

button:focus, button:active{
outline:none;
}

.modal_bg{
position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.modal_bg .img_modal_bg{
    max-width:100%;
    width:100%;
    height:100%;
}

.form-button{
    max-width:100%;
    width:200px;
}

.form-button img{
    width:100%;
    max-width:100%;
}

#game-loader.loader-block{
    background: rgba(252, 234, 196, .6);
    z-index: 999999;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right:0;
    bottom:0;
}

.loader-block .loader-wrapper{
height:100%;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}

.loader-wrapper .loader-content{
    align-self: center;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.loader-text{
    background:#fceac4;
    color:#996633;
    font-size:42px;
    padding: 10px 20px;
    border:3px solid #996633;
    border-radius: 10px;
    display: inline-block;
}

#game-notification.notification-block{
    background: rgba(252, 234, 196, .6);
    z-index: 999999;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right:0;
    bottom:0;
}

.notification-block .notification-wrapper{
height:100%;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}

.notification-wrapper .notification-content{
    align-self: center;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.notification-text{
    background:#fceac4;
    color:#996633;
    font-size:42px;
    padding: 10px 5px;
    border:3px solid #996633;
    border-radius: 10px;
    display: inline-block;
    max-width:90%;
    width:350px;
}

.success .notification-text{
    color:#68ae00;
    border-color:#68ae00;
}

.info .notification-text{
    color:#0a7ce5;
    border-color:#0a7ce5;
}

.danger .notification-text{
    color:#cf4033;
    border-color:#cf4033;
}

.warning .notification-text{
    color:#ff6600;
    border-color:#ff6600;
}

#game-share-block{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25px;
    text-align: center;
}

#btn_share_game{

}