* {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #FFFFFF;
}

body, html {
    height:100%;
    width:100%;
    cursor: crosshair;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select:none;
    user-select:none;
    -o-user-select:none;
    overscroll-behavior-x: none;
}

#title_bar {
    position: relative;
    width:100%;
    background-color: darkblue;
    color: cornflowerblue;
    height: 60px;
    line-height:60px;
    text-align: center;
}
#paypal {
    position: absolute;
    left: 20px;
    top: 6px;
}

#facebook {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1;
}
#main_content {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #666;
}
#floating_table {
    position: fixed;
    background-color: #00000082;
    color: #FFFFFF;
    border: 1px solid black;
    border-radius: 10px 0px 0px 10px;
    width: 400px;
    right: 0px;
    top: 100px;
    bottom: 100px;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 20px;
}
#floating_table table{
    position: relative;
    top:0;
    left:0;
    width: 380px;
    border-collapse: collapse;
    overflow: hidden;
    width: 100%;
}
#floating_table tr {
    height: 25px;
}
#floating_table th, #floating_table td {
    text-align: left;
    padding-left: 6px;
    box-sizing: border-box;
}
#floating_table thead {
    /*display: block;*/
}

#floating_table tbody {
    overflow-y: scroll;
}
#floating_table thead tr:nth-child(1) {
    background: #00000066;
    border-bottom: 1px solid black;
}
#floating_table tbody tr:nth-child(2n) {
    background: #00000020;
}
#floating_table .name_col {
    width: 40%
}
#floating_table .color_col {
    width: 12%
}
#floating_table .data_col {
    width: 24%
}
input {
    height: 25px;
    border: none;
    background: none;
    color: white;
    text-align: left;
    font-size: 20px;
}
input::placeholder {
    color:white;
    opacity: 0.7;
}
.hidden {
    display: none;
}
.full_screen {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}
#button_container {
    position: absolute;
    top: 30px;
}
.button {
    background-color: #00000082;
    position: relative;
    width: max-content;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 40px;
    border-radius: 20px;
    border: 1px solid #000000;
    margin-left: 15px;
    margin-top: 15px;
}
.button.touched {
    background-color: #FFFFFF33 !important;
}
.delete:after {
    content: "❌";
}
td .color {
    width: 16px;
    height: 16px;
    border: 1px solid black;
    border-radius: 5px;
}
.selected {
    background-color: #FFFFFF66 !important;
}
@media (hover: hover) {
    .hover:hover {
        background-color: #FFFFFF33 !important;
        cursor: pointer;
    }
}
#editor {
    position: absolute;
    width: 500px;
    margin-left: -250px;
    left: 50%;
    height: 30px;
    background: #00000066;
    border-radius: 0px 0px 10px 10px;
    border: 1px solid black;
    border-top: none;
}
#baseline_editor {
    display: none;
}
#baseline_editor * {
    float: left;
    line-height: 30px;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
    width: 33%;
    text-align: center;
}
#line_editor * {
    float: left;
    line-height: 30px;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
}
#line_name {
    width: 35%;
}
.input {
    text-align: center;
    border-bottom: 1px solid white;
}
#line_color {
    width: 10%;
}
.line_data {
    width: 25%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#line_delete {
    width: 5%;
}
.disabled {
    opacity: 0.5;
}
#color_picker {
    position: absolute;
    top: 160px;
    left: 15px;
    border-radius: 15px;
    border: 1px solid black;
    overflow: hidden;
}
#color_picker table {
    min-width: 200px;
    min-height: 200px;
    background: #000;
}
#color_picker td {
    border-radius: 15px;
}
.color_button {
    background: #fff;
    width: 40px;
    height: 22px;
    border-radius: 10px;
    border: 1px solid #000;
    margin-top: 3px;
}

/* mobile only */
@media only screen and (max-width: 600px) {
  #editor {
    width: 100%;
    left: 0;
    right: 0;
    margin: 0;
  }
}