﻿/*
 *      style - index
 *
 *      author: Usher Chen (usherchen@gmail.com)
 *
 */


html, 
body {
    color: white;
    background-color: #2A2A2A;
}

p,
a,
input,
textarea,
select,
option,
button,
div,
span,
td {
    font-size: 14px;
    letter-spacing: 1px;
}

select,
input,
textarea {
    vertical-align: middle;
    
    height: 32px;
    min-height: 32px;
    padding: 0px 4px;
    
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    
    background-color: white;
}

input[type="range"] {
    cursor: pointer;
    accent-color: #FF671E;
}

textarea {
    resize: none;
}

button {
    vertical-align: middle;
    
    height: 32px;
    min-height: 32px;
    padding: 0px 20px;
    
    line-height: 26px;
    
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    
    background-color: white;
}

button.touchkey_type_dir, 
button.touchkey_type_act {
    background-color: #CCC;
    border-color: #CCC;
}

button:focus {
    border-color: #FF671E;
}

button.touchkey_type_dir img {
    display: inline-block;
    vertical-align: middle;
    
    height: 22px;
    width: auto;
}

button.touchkey_type_act img {
    display: inline-block;
    vertical-align: middle;
    
    height: 22px;
    width: auto;
    margin-right: 4px;
}

.uit_column.uit_s_icon img {
    width: auto;
    height: 32px;
}

.button_on {
    cursor: pointer;
    
    box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5);
    -webkit-box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5);
    -moz-box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5);
}

div.loading {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    
    justify-content: center;
    align-content: center;
    align-items: center;
    
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9998;
    
    width:100%;
    height:100%;
    
    background-color: black;
    opacity:0.4;
    -moz-opacity:0.4;
    -khtml-opacity: 0.4;
}

#page_header {
    width: 100%;
    
    border-bottom: solid 1px black;
    
    color: #CCC!important;
    background-color: #111;
}

#page_title,
#page_title > span {
    font-size: 16px;
}

#page_title_mobile {
    display: none;
}

#canvas_width_range {
    width: 15vw;
}

#viewport_value {
    position: absolute;
    bottom: 2px;
    right: 2px;
    z-index: 9997;
    
    color: gray;
    font-size: 8px;
}

#tool_area_wrap {
    padding: 8px;
}

#client_device_input {
    width: 180px;
}

.tool_area {
    display: inline-block;
    margin-right: 32px;
}

.tool_area_sub {
    display: inline-block;
    
    margin-bottom: 4px;
}

#output_message,
.tool_area button,
.tool_area input {
    margin: 2px;
}

#canvas_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

#client_screen_view_canvas {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    
    border: solid 16px black;
    border-radius: 16px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
}

#client_screen_view_canvas:focus {
    outline: solid 1px #FF671E;
}

#client_screen_view_canvas {
    background-color: wheat;
}

.click_circle {
    position: absolute;
    z-index: 9996;
    
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    background: radial-gradient(closest-side, #FF671E, transparent);
}
