* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    direction: rtl;
    font-family: "SansIRAN";
}

.box {
    padding: 20px;
    text-align: center;
    border: 2px solid rgb(255, 255, 255);
    max-width: 600px;
    margin: 200px auto;
}

.box h2 {
    display: inline-block;
    color: rgb(234, 15, 161);
}

.box form {
    margin-top: 20px;
}

.box form input,
.box form button {
    font-family: "SansIRAN";
}

.box form input {
    outline: none;
    padding: 5px;
    width: 100%;
}

.box form button {
    outline: none;
    cursor: pointer;
    border: 0;
    background-color: rgb(234, 15, 161);
    padding: 10px 20px;
    color: #fff;
    margin-top: 10px;
    width: 100%;
}

.box form button:hover {
    background-color: rgb(92, 5, 63);
}

.error {
    color: red;
    margin: 10px 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.myBox {
    width: 100%;
    background-color: rgb(49, 49, 49);
    height: 600px;
    margin: 0 auto;
}

.title {
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    /*background-color: rgb(146, 62, 62);*/
    /*rgb(138, 43, 226);*/
    background-color: rgb(138, 43, 226);
}

.content {
    height: 450px;
    padding: 20px;
    overflow-y: scroll;
    /*background: red;*/
}

#myform {
    margin-top: 15px;
}
#myform textarea,
#myform input,
#myform button {
    padding: 5px;
    font-family: "SansIRAN";
}

#myform button {
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 15px;
    border: 0;
    outline: none;
    display: inline-block;
}

#myform input ,
#myform textarea
{
    width: 100%;
    /*margin: 10px 0;*/
    height: 60px;
    outline: none;
    padding: 10px;
}

.parham {
    color: rgb(171, 13, 171);
}

.myText {
    color: rgb(165, 165, 165);
}

@media screen and (max-width: 550px) {
    .box button {
        margin-top: 20px;
    }

    .box {
        width: auto;
    }
}


.time {
    font-size: 15px;
    color: #3eba0f;
    float: left;
}

.pm {
    background: #121111;
    background: #3e3939;
    padding: 20px 20px;
    margin: 10px;
}


.pm_text {
    display: inline-block;
    text-align: justify;
    /*margin: 5px 14px 0 0;*/
    width: 100%;
}
.imoji {
    width: 100px;
    margin-right: 30px;
    margin-top: 5px;
}

/*---------- Add Sticker ---------*/

.sticker-click {
    text-decoration: none;
    padding: 10px 20px;
    background-color: darkgreen;
    color: #fff;
    margin: 2px auto;
    width: 160px;
    display: inline-block;
    text-align: center;
}


#close-modal {
    text-decoration: none;
    padding: 10px 20px;
    background-color: darkgreen;
    color: #fff;
    margin: 20px;
    display: inline-block;
}

.modal-backdrop {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0);
    display: none;
}

.modal {
    width: 90%;
    height: 300px;
    background-color: rgb(255, 255, 255);
    margin: 20px auto;
    height: 600px;
    overflow-y: scroll;
}

.modal-header {
    border-bottom: 2px solid gainsboro;
}

.modal-header h3 {
    display: inline-block;
}

.modal-content {
    padding: 20px;
    text-align: center;
}

img.imageUP {
    width: 100% !important;
    height: auto;
}

.pm_text img {
    margin: 10px 0;
}

.myButton {
    text-align: center;
    padding: 10px 0;
}

.title {
    position: relative;
    overflow:hidden;
}

.endpm {
    /*float: left;*/
    margin-bottom: 10px;
    text-decoration: none;
    color: #fff;
    background: darkblue;
    /*position: absolute;*/
    /*left: 0;*/
    padding: 5px;
    display:block;
}

#myform {
     margin-top: 0; 
}

.myButton {
     padding: 0; 
}

.deletepm {
    text-decoration: none;
    float: left;
    position: relative;
    bottom: 10px;
    color: #efefef;
}