.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:1000px;
    height:100%;


    display:block;
    margin: 10px;
}
#main{
    display:table;
    /* width:100%; */
    height:100%;
    margin-right: auto;
    margin-left : auto;

}
#entire{
    /* display:table; */
    margin: 0 auto;
}
#leftad{
    margin-top:80px;
    display:table-cell;
    float:left;
    width:200px;
    height:830px;
    border: 2px solid #aaa;
}
header{
    font-size: 25px;
    color: rgb(0, 0, 0);

    text-shadow:0 0 10px rgb(255, 255, 255);

    font-weight:bold;
    margin-left:2em;

    padding-top:25px;
    padding-bottom:5px;
}
#topcontainer{
    border: 1px solid #ccc;
    /* border :4px solid rgb(43, 68, 209); */
    padding: 10px 20px 20px 20px;
    border-radius:10px;
    background-color: white;
    /* box-shadow: 0px 0px 10px 0px #bf4fff; */
}
#chatvue{
    width:1000px;
}
body{
    background-image: url(images/background.jpg);
    background-size:cover;
    background-repeat: repeat-y;

}
#chatlog{
    width:100%;
    height:600px;

    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;
}
#sendtextbox:focus{
    outline:none;
}

#textblock{
    width:100%;

    vertical-align: middle;
}
#sendblock{
    width:2em;

    right:6px;
    top:6px;
}
#sendblock>button{
    border-radius:30px;
    width:3em;
    height:3em;
}
.ui{
    display: inline-flex;
    vertical-align: middle;
}
.uibutton{
    width:150px;
    height:50px;
    color:white;
    font-weight: bold;
}
#chatactivatebutton{
    background-color:rgb(74, 160, 74);
}
#chatdeactivatebutton{
    background-color:rgb(255, 104, 104);
}
#bottombox{
    margin-top:10px;
    
    width:100%;
    overflow: hidden;
}
#chatlog-bottom{
    position: relative;
    height:1px;
    overflow: visible;
}

#iconblock{
    position:absolute;
    width:98%;
    top:-160px;
    pointer-events: none;
}

#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:150px;
    height:150px;
}
#myicon:hover{
    text-decoration: underline;
    color:rgb(61, 177, 197);
    cursor:pointer;
}
#myicontext{
    position: absolute;
}

#profileblock{
    position:absolute;
    width:98%;
    top:-280px;
    pointer-events: none;
}
.profile{
    width:130px;
    height:70px;
    border: 2px solid #ccc;
    padding:10px;
    font-size:13.5px;
    word-break: break-all;
    overflow:hidden;
    color:#333;
    border-bottom: solid 10px rgb(230 230 230);
}

.notmatch{
    /* border: 2px solid #eee;
    border-bottom: solid 10px rgb(230 230 230);
    background-color:rgb(255, 255, 255);
    box-shadow: 0px 0px 10px 0px #bf4fff; */
    opacity:0.3;
}

.profile>textarea{
    resize: none;
    width:130px;
    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: relative;
    bottom:20px;
    margin-left:180px;
    color:#888;
}
#chatlog{
    overflow-y:scroll;
    position: relative;
}
#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: 1em;
    font-size:1.5em;
}
.mymessage{
    margin-right: 150px;
    margin-left: auto;
    border-radius: 20px;
    width: 300px;

    background-color: rgb(102, 153, 221);
    color:white;
    padding:0.4em 1.5em;
    word-break: break-all;
    box-shadow: 5px 5px 5px -5px rgb(51, 38, 170);
}
.matchusermessage{
    margin-right: auto;
    margin-left:150px;
    border-radius: 20px;
    width: 300px;
    background-color: rgb(206, 206, 206);
    color:#333333;
    padding:0.4em 1.5em;
    word-break: break-all;
    box-shadow: 5px 5px 5px -5px gray;

}
.systemmessage{
    width: 550px;
    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:98%;
}
.url{
    font-size:0.8em;
    color:rgb(4, 65, 122);
}
.url:hover{
    font-size:0.8em;
    color:rgb(5, 126, 156);
    
}

footer{

    margin-top:20px;
    margin-left:10px;
    margin-right:10px;
    margin-bottom:20px;
    height:20px;
    border: 3px solid #ccc;
    vertical-align: middle;
    padding:10px;
    text-align:right;
    

}

footer>a{
    color:#333;
}
header > a{
    color:black;
    text-decoration-line:none;
}
header > a:hover{
    color:black;
    text-decoration-line:underline;
}