*{
    padding:0;
    margin:0;
}
ul,ol,li{
    list-style: none;
}
a{
    text-decoration: none;
}
.message{
    display: flex;
    justify-content: flex-start;
    align-items:center;
    margin-bottom:20px;
    font-size:16px;
    border:1px solid black; 
    padding:10px 0;
}
.messageBox{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width:50%;
    margin-right:10px;
}
.topic{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width:50%;
    margin-right:10px;
}
.topic>span{
    width:33%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size:20px;
}
.messageBox>span{
    width:33%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.buttonBox button {
    margin:0 20px;
    font-size:16px;
    outline: none;
    cursor: pointer;
}
.buttonBox button.addToTree{
    background:blue;
    border:none;
    border-radius:4px;
    padding:5px 10px;
    box-shadow:0 0 3px rgba(0,0,0,0.5);
    color:white;
}
.buttonBox button.addToTree.warn{
    background: red;
    cursor: pointer;
}
.buttonBox button.addToTree.expire{
    background: rgb(163, 175, 50);
    cursor: not-allowed;
}
.buttonBox button.deleted.disabled,
.buttonBox button.addToTree.disabled{
    background: #ddd;
    cursor: not-allowed;
}
.buttonBox button.deleted{
    background:red;
    border:none;
    border-radius:4px;
    padding:5px 10px;
    box-shadow:0 0 3px rgba(0,0,0,0.5);
    color:white;
}
.buttonBox button:hover{
    color:black;
}
.buttonBox button.disabled:hover{
    color:white;
}   
.wrapper {
    position:fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
}
.inputWrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:30%;
    border:1px solid white;
}
.wrapper .inputRow  {
    color:white;
}
.wrapper .inputRow label,
.wrapper .inputRow input{
    font-size:20px;
}
.wrapper .row{
    display: inline-block;
    width:90%;
    text-align: center;
    margin:10px;    
}
.wrapper button{
    width:90%;
    height:2.5em;
    font-size:20px;
    background: white;
    border-radius: 5px;
}
.wrapper .row{
    display: inline-block;
}
.wrapper.active{
    display: none;
}
.wrapper .error{
    position: absolute;
    top:100%; left:0;
    color:red;
    display:none;
}
.wrapper .active{
    display: inline;
}
@media (max-width: 500px) {
    .topic{
        width:100%;
        margin-top:10px;
        margin-bottom:10px;
    }
    .topic>span{
        width:25%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-weight: bold;
        font-size:14px;
    }
    .message{
        flex-direction: column;
        margin-bottom:10px;
    }
    .messageBox{
        width:100%;
        margin-bottom:20px;
    }
    .inputWrapper{
        width:80%;
    }
}