html,
body {
    overflow: hidden;
}

body {
    background: #fff;
    color: #333;
    font-family: 'IBM Plex Sans KR', sans-serif;
}

button, #props-buttons, #list-user, #select-room, #func-buttons{
    font-family: 'IBM Plex Sans KR', sans-serif;
    font-weight:bold;
}

#login>.row,  #login>.row>.col, #login .section{
    height:auto;
}

#login .section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#login .section .inner {
    min-width: 370px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: solid 1px black;
    border-radius: 8px;
    background:#efefef;
    padding: 15px;
}

#container {
    position: fixed;
    left: 10px;
    bottom: 10px;
    transform-origin: left bottom;
    transform: scale(0.3);
    cursor: pointer;
    transition: transform .3s;
    background: #000;
    overflow: hidden;
    border-radius: 15px;
}

#container.open {
    transform: scale(1);
}

#container:hover>.inner {
    opacity: 0.75;
}

#container>.inner {
    position: relative;
    transform-origin: center center;
    transform: scaleX(-1);
}

#nav {
    position: absolute;
    left: 0;
    top: 0;
}

.point {
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    background: #ff0000;
}

#login {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #E95119;
    z-index: 99;
    overflow:auto;
}

#login>.inner {
    max-width:1000px;
    margin:0 auto;
}

#login p {
    margin-top: 20px;
}

#login p:first-child {
    margin-top: 0;
}

#login .btn,
#login .input {
    display: block;
}

#btn-open-shapes-data {
    margin-top: 15px;
}

#login .logo {
    padding:50px;
}

#login .logo img {
    width: 100%;
    height: auto;
}

.minicolors {
    width: 100% !important;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    margin: 10px 0;
}
.minicolors input {
    color: #efefef;
    height: 36px !important;
    width: 100% !important;
    box-sizing: border-box;
    padding-left: 34px !important;
}

.minicolors-theme-default .minicolors-swatch {
    top: 9px;
    left: 9px;
}

#labels {
    pointer-events: none;
}

.user-name {
    color: #efefefaa;
    border-radius: 5px;
    padding: 5px;
}

#ui {
    position: fixed;
    right: 15px;
    top: 5px;
}

#ui .btn {
    padding: 10px 15px;
    color: #333;
    background: #efefef;
}

#ui .btn:hover {
    background:#d4d4d4;
}

#btn-is-performing {
    /* border: solid 1px #ffffff; */
}

#btn-is-performing.active {
    background: #333;
    color: #efefef;
}

#func-buttons{
    display:none;
}
#func-buttons.visible{
    display:block;
}

#props-buttons {
    max-height: 350px;
    overflow-y: auto;
}

#props-buttons li {
    padding: 10px 15px;
    color: #333;
    border-radius: 10px;
    vertical-align: middle;
    margin-top: 5px;
    border: solid 1px #333;
    background:#efefef;
}

#props-buttons li.selected {
    background: #999;
    color:#ffffff;
}

#props-buttons li.selected .btn {
    color: #efefef;
}

#props-buttons li.selected .btn:hover {
    color: #efefef88;
}

#props-buttons li .btn {
    display: inline-block;
    width: auto;
    margin-left: 10px;
    padding:0;
    font-size:0;
    vertical-align: middle;
}
#props-buttons li .btn img{
    height:30px;
    width:auto;
}

#list-user {
    position: fixed;
    left: 15px;
    top: 15px;
    width: 150px;
    padding: 10px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
    color:#fff;
}

#list-user li {
    position: relative;
    margin-top: 5px;
    border: solid 1px transparent;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px 10px 5px 17px;
}

#list-user li:first-child {
    margin-top: 0;
}

#list-user li.is-performing:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

#list-user li.is-performing:after {
    content: "참여중";
    display: block;
    color: #fff;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

#btn-link{
    position: fixed;
    right: 15px;
    bottom: 15px;
    width:60px;
    height:60px;
    background:#efefef;
    padding:0;
    z-index: 100;
}
#popup-link {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background:#efefefdd;
    z-index: 100;
}
#popup-link .inner{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width:300px;
    background:#efefef;
    border:solid 1px #333;
    border-radius:8px;
    padding:20px 22px 20px;
}

#btn-qr {
    position: fixed;
    left: 15px;
    bottom: 15px;
    width:auto;
}
#popup-qr {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    color: #efefef66;
    z-index: 99;
}
#popup-qr .inner{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

#popup-qr .inner img{
    width:500px;
    height:auto;
}

#login .popup {
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background:#ffffffcc;
}

#popup-shapes-data>.inner{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 640px;
    padding: 20px;
    color: #333;
    border-radius: 10px;
    border: solid 1px #333;
    background: #fff;
}

.popup .textarea {
    margin-top: 15px;
    min-height: 150px;
    margin-bottom: 0;
}

.popup .textarea::placeholder {
    color:#ccc;
}

#prop-code-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 0 5px;
}

#prop-code-list::-webkit-scrollbar {
    width: 8px;
}

#prop-code-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.7);
}

#prop-code-list::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

#prop-code-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

#prop-code-list .textarea {
    min-height: 100px;
}

#prop-code-list li {
    position: relative;
    margin-top: 10px;
    border: solid 1px #333;
    border-radius: 6px;
    padding: 10px 7px;
}
#prop-code-list li:first-child{
    margin-top: 0px;
}
#prop-code-list li p {
    margin-top: 0;
}

#prop-code-list li .remove-item {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: solid 1px #333;
    color: #333;
}

.code-container {
    border-radius: 7px;
    padding: 15px;
    margin: 15px 0;
    border: solid 1px;
}

.code-container:first-child {
    margin-top: 0;
}

#prop-code>p {
    margin-bottom: 20px;
}

#btn-submit-shapes{
    max-width:200px;
    margin:auto;
}

#select-room {
    margin-top: 15px;
}

#select-room li {
    display: inline-block;
    margin-left: 5px;
    position: relative;
}

#select-room li:first-child {
    margin-left: 0;
}

#select-room input[type="radio"] {
    width: 70px;
    height: 35px;
    border-radius: 8px;
    border: solid 1px #333;
    box-shadow: 3px 4px 0px 0px #333;
    cursor: pointer;
    transition:all .3s;
}

#select-room input[type="radio"]:hover{
    background:rgba(0,0,0,0.1);
    box-shadow: 1px 1px 0px 0px #333;
}

#select-room input[type="radio"]+span {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    color: #333;
    pointer-events: none;
}

#select-room input[type="radio"]:checked {
    background: #333;
    box-shadow: 0px 0px 0px 0px #333;
}

#select-room input[type="radio"]:checked+span {
    color: #fff;
}

#select-part {
    position: absolute;
    right: 30px;
    top: 33px;
    font-size: 1em;
    width: 150px;
    height: 25px;
    border: solid 1px #333;
    border-radius: 5px;
}





@media screen and (min-width:768px) {
    #login .logo {
        position:absolute;
        left:50%;
        top:50%;
        transform:translate(-50%,-50%);
    }

    #login>.row,  #login>.row>.col, #login .section{
        height:100%;
    }
}
