/* *{
    outline: 1px solid #f00;
} */
.twitterbutton{
    background-color: #55acee;

    color: #fff;
    padding:7px 10px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.75em;
}
.twitterbutton:hover{
    filter: brightness(110%);
}

#chatcontainer{
    display:table-cell;
    float:left;
    width:100%;
    height:100%;


    display:block;

}
#main{
    display:table;
    width:100%;
    height:70%;
    margin-right: 0;
    margin-left : 0;

}
#entire{
    /* display:table; */
    margin: 0 auto;
    width: 100%;
    height: 100%;

}
#leftad{
    margin-top:80px;
    display:table-cell;
    float:left;
    width:200px;
    height:830px;
    border: 2px solid #aaa;
}
header{
    font-size:0.5em;
    color: rgb(0, 0, 0);

    text-shadow:0 0 10px rgb(255, 255, 255);

    font-weight:bold;


    padding-bottom:5px;
}
#topcontainer{
    border: 1px solid #ccc;
    /* border :4px solid rgb(43, 68, 209); */
    /* width:100vw; */
    /* padding: 0 20px; */
    width:100%;
    border-radius:10px;
    background-color: white;
    height:350px;
    display: inline-block;
    position: relative;
}
#chatvue{
    height:100%;
    position: relative;
}
body{
    background-image: url(images/background.jpg);
    background-size:cover;
    background-repeat: repeat-y;
    /* width:95%; */
    height:100vw;
    margin:10px;
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
}
html{
    height:100vw;
}
#chatlog{
    width:100%;


    background-color: #fff;
    
}

.sendvalidation{
    color:rgb(255, 0, 0);
}
#sendtextbox{
    width:100%;
    padding:13px 20px;
    border-radius:30px;
    font-size:1.2em;
    border: 2px solid black;
    box-sizing:border-box;
    
}
#sendtextbox:focus{
    outline:none;
}

#textblock{
    width:100%;
    box-sizing: border-box;
    /* position:fixed;
    bottom:20px;
    z-index: 20; */
    
}


.uibutton{
    width:100px;
    height:50px;
    color:white;
    font-weight: bold;
    font-size:10px;

}
#chatactivatebutton{
    background-color:rgb(74, 160, 74);
}
#chatdeactivatebutton{
    background-color:rgb(255, 104, 104);
}

#chatlog-bottom{
    /* position: sticky; */
    /* background-color: white; */
    display:block;
    position: relative;
}

#iconblock{

    width:98%;
    display:block;
    pointer-events: none;
    position: relative;
}

#matchusericon{
    /* border: 2px solid #ccc; */
    display: inline;
    border-radius:60px;
}
#myicon{
    float:right;
    display: flex;
    justify-content: center;
    align-items: center;

    pointer-events: auto;

    color:cadetblue;
}
.icon{
    border-radius:75px;
    border: 2px solid rgb(230, 230, 230);
    object-fit:cover;

    width:100px;
    height:100px;
}
#myicon:hover{
    text-decoration: underline;
    color:rgb(61, 177, 197);
    cursor:pointer;
}
#myicontext{
    position: absolute;
    display:none;
}

#profileblock{
    display:block;
    float:left;
    position: relative;
    width:100%;
    pointer-events: none;
    margin-top:20px;
    margin-bottom:5px;
}
div.spacer{
    height:1px;
}
.profile{
    width:40%;
    height:70px;
    border: 2px solid #ccc;

    font-size:13.5px;
    word-break: break-all;
    overflow:hidden;
    color:#333;
    border-bottom: solid 10px rgb(230 230 230);
}

.notmatch{
    opacity:0.3;
}

.profile>textarea{
    resize: none;
    width:100%;
    height:75px;

    font-size:13.5px;
    word-break: break-all;
    overflow: hidden;
    color:#333;  
    border:0px;
    line-height:normal;
    font-family :Meiryo;
}
.profile>textarea::placeholder{
    font-size:13.5px;
    color:rgb(182, 182, 182);
    font-weight: bold;
}

#matchuserprofile{
    float:left;

}


#myprofile{
    pointer-events: auto;
    float:right;
    /* display:flex; */
}
.inputting{
    position: absolute;
    bottom:200px;
    margin-left:5px;
    color:#888;
    font-size:0.7em;
}
#chatlog{
    overflow-y:scroll;
    position: relative;
    height:100%;

}
#chatlog::-webkit-scrollbar {
    width: 10px;
}
#chatlog::-webkit-scrollbar-track {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
  }
#chatlog::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 50, .5);
    border-radius: 10px;
    box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
  }

.hide {
    display: none;
}
.message{
    margin: 0.5em;
    font-size:0.8em;
    line-height: 1.1em;
}
.mymessage{
    width: 90%;
    border-radius: 15px;
    margin: 0 auto;

    background-color: rgb(102, 153, 221);
    color:white;
    padding:1em;
    word-break: break-all;
    box-shadow: 0px 5px 5px -5px gray;
}
.matchusermessage{

    width: 90%;
    border-radius: 15px;
    margin: 0 auto;
    background-color: rgb(206, 206, 206);
    color:#333333;
    padding:1em;
    word-break: break-all;
    box-shadow: 0px 5px 5px -5px gray;

}
.systemmessage{
    width: 90%;
    border-radius: 10px;
    margin: 0 auto;
    background-color: rgb(255 232 173);
    box-shadow: 0px 5px 5px -5px gray;
    padding:1em;
    white-space:pre-line;
    z-index:10;
}
.initsystemmessage{
    width: 90%;
    border-radius: 10px;
    margin: 0 auto;
    background-color: rgb(255 232 173);
    box-shadow: 0px 5px 5px -5px gray;
    padding:1em;

    
}

.messageimage{
    width:100%;
}
#controlblock {
    padding-top:20px;
}
#controlblock > span{
    padding:7px;
    width:35px;
    height:35px;
}
.controlicon{
    vertical-align:middle;
    width:30px;
    height:30px;
    cursor: pointer;
    border: 0px;
}
.controlicon:hover{
    filter: brightness(200%);
}
.controlicon:disabled{
    filter: brightness(300%);
}
.controlicon:focus{
    outline:none;
}
.vline{
    border-left: 2px solid rgb(177, 177, 177);

    margin-left:30px;
}
hr.spacer{
    background-color: #fff;
	border-top: 2px dashed #8c8b8b;
    width:100%;
}
.url{
    font-size:0.8em;
    color:rgb(4, 65, 122);
}
.url:hover{
    font-size:0.8em;
    color:rgb(5, 126, 156);
    
}

footer{
    /* border-style: solid none none none; */
    /* position:sticky; */
    /* display:block; */
    width:100%;
    margin-top:30px;
    border: 3px solid #ccc;
    vertical-align: middle;
    padding:10px;
    margin-bottom: 150px;
    position: relative;
    font-size:smaller;
    box-sizing: border-box;
}

footer>a{
    color:#333;
}

header > a{
    color:black;
    text-decoration-line:none;
    width:100%;
}
header > a:hover{
    color:black;
    text-decoration-line:underline;
}
#bottombox{
    /* position: fixed; */
    width:100%;
    position:fixed;
    bottom:0px;
    left:0px;
    z-index: 20;
    background-color:white;
    margin:0px;
    padding:0px;
    padding-bottom: 20px;
    /* background-color:white; */


}