body {
    background: #92c85c;
    background-image: url(../img/header_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.pwrapper {

    display: flex;

    background: #92c85c;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    border: solid 2px #000;
    padding: 20px;
    margin: 100px;
    border-radius: 20px;
    box-shadow: 2px 2px 5px #00000057;
    width: 100%;
}

#reponse {
   /* background: #fff;*/
    height: 100%;

}

.device-content {
    width: 100%;
    height: 100%;
}

.screen {
    overflow:hidden;
}

.divs {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-wrapper {
    max-width: calc(100% - 230px);
    width: 100%;
}

/* ben182 
 * To control height you need little math:
 * Height 200px: 200 / 209.829619921363 * 100 = 
*/

/*.device-wrapper {
    width: 400.31542785758903px;
}*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400);

.containerx {
    height: 80%;
    padding: 40px 5px;
    overflow: hidden;
    overflow-y: scroll;
}

.message-blue {
    position: relative;
    margin-left: 20px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #A8DDFD;
   /* width: 88%;*/
    height:auto;
    text-align: left;
    font: 600 1em 'Open Sans', sans-serif;
    border: 1px solid #97C6E3;
    border-radius: 10px;
}

.message-orange {
    position: relative;
    margin-bottom: 10px;
    /* margin-left: calc(100% - 240px);*/
    padding: 10px;
    background-color: #f8e896;
    /* width: 92%;*/
    height: 50px;
    text-align: left;
    font: 400 .9em 'Open Sans', sans-serif;
    border: 1px solid #dfd087;
    border-radius: 10px;
    margin-right: 15px;
}

.message-content {
    padding: 0;
    margin: 0;
    color: #000;
    font-family: sans-serif;
}

.message-timestamp-right {
    position: absolute;
    font-size: .85em;
    font-weight: 300;
    bottom: 5px;
  
}

.message-timestamp-left {
    /* position: absolute; */
    font-size: .85em;
    font-weight: 700;
    bottom: 5px;
    left: 5px;
    text-align: right;
}

.message-blue:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 15px solid #A8DDFD;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    top: 0;
    left: -15px;
}

.message-blue:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 17px solid #97C6E3;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    top: -1px;
    left: -17px;
}

.message-orange:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 15px solid #f8e896;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    bottom: 0;
    right: -15px;
}

.message-orange:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 17px solid #dfd087;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    bottom: -1px;
    right: -17px;
}

#sendcmd {
    margin-top: 30px;
    box-shadow: 2px 2px 5px #000;
    background: white;
    color: #000;
    border: solid #256b3d;
    cursor: pointer;
}

.errorcmd {
    position: absolute;
    bottom: 50%;
    color: #fff;
    text-align: center;
    width: 100%;
    font-size: large;
}

.errorcmd span {
    color:yellow;
    font-size:xx-large;
    font-weight:600;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #031f2d;
    border-radius: 10px;
}


​












