@import url('https://fonts.googleapis.com/css?family=Montserrat:200|Montserrat:300|Work+Sans:400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;1,100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');


html,
body {
    margin: 0;
    padding: 0;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

img {
    cursor: pointer;
}

body {
    font-family: Roboto, Arial, sans-serif;
    overflow: hidden;
}

canvas {
    /* width: 100vw; */
    /* height: 100vh; */
    padding: 0;
}

button {
    border: 1px solid gray;
    background-color: white;
    border-radius: 2px;

    /* transition: 0.2s; */
    margin: 0.25em;
}

button:hover {
    background-color: #f1f1f1;
}

input[type=color] {
    padding: 0;
    border: none;
    width: 1.5em;
    height: 1.75em;
    background: transparent;
    vertical-align: middle;
}

input[type=checkbox] {
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid black;
    width: 1em;
    height: 1em;
    border-radius: 2px;
    /* transition: 0.2s; */
    vertical-align: middle;
}

input[type=checkbox]:checked {
    background-color: orange;
    /* #0061ff */
}

input[type=text],
input[type=number] {
    font-family: Montserrat, Arial, sans-serif;
}

.toolbar {
    background: transparent;
    font-size: 1.15vh;
    /* width: 100vw; */
    height: 55vh;
    padding: 0.5em;

    position: fixed;
    bottom: 0;
    left: 0;

    opacity: 0.8;
    /* transition: 0.2s; */

    /* border-top:1px solid #000; */
    display: grid;
    grid-template-columns: max-content;

    top: calc(50% - 265px)
}

.toolbar h3 {
    font-size: 160%;
    width: 100%;
    text-align: center;
    font-family: "Work Sans Light", Arial, sans-serif;
    font-weight: 200;
}

.toolbar:hover {
    opacity: 1;
}

.hidden {
    /* left: 0vw; */
    /* bottom:-115px; */
    display: none;
}


.toolbar>div {
    height: 21vh;
    padding-top: 0;
    border: 1px solid #eee;
    padding: 2px;
}

.toolbar>div.scroll {
    overflow-y: auto;

}

.toolbar button.tool {
    width: 2.3em;
    height: 2.3em;
    box-shadow: 2px 2px 0px black;
    padding: 0.1em;
    margin: 0.25em;
    background: white;
    border: none;
}

.toolbar button.align {
    width: 4em;
    padding: 0.2em;
    background-color: white;
    font-size: 75%;
    border: none;
    margin-right: 8px
}

.toolbar button.palette {
    width: 1.8vh;
    height: 1.8vh;
    margin: 0.001px;
    padding: 0;
    border: none;
}

.toolbar img {
    width: 100%;
    height: 100%;
}

.toolbar .image-select button {
    width: 3em;
    height: 3em;
    background-color: transparent;
    border: 1px solid black;
    padding: 0;
    margin: 0.5em;
}

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    border-left-width: 0px;
    background: white;

}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 2px 12px;
    /* transition: 0.3s; */
    font-size: 17px;
    border: 1px solid transparent;

}

/* Change background color of buttons on hover */
.tab button:hover {
    /* background-color: #ddd; */
    border: 1px solid #ddd;
}

/* Create an active/current tablink class */
.tab button.active svg {
    color: orange
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 12px 6px 12px 0;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

.tablinks {
    min-width: 35px;
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.FPS {
    text-align: left;
    font-size: 12px;
    /* color: blue; */
}

.clr-field,
.clr-field input {
    width: 100%;
}

.clr-field button {
    border: 1px solid black;
    border-radius: 0;

}

.optionDetails,
.Colors {
    border: 1px solid #eee;
    /* background-color: white; */
}

.stickyNote {
    width: 24px;
    background-color: white;
    height: 24px;
    padding: 0;
    /* border: 0 !important; */
    /* margin: 0 0 0 11px ; */
    box-shadow: none !important
}

.stickyNote img {
    width: 23px;
    height: 19px;
}

.toolbar_l {
    font-size: 1.15vh;
    padding: 0.5em;
    width: 50px;
    position: fixed;
    bottom: 0;
    left: 0;
    opacity: 1;
    /* transition: 0.2s; */
    height: 454px;
    width: 48px;
    filter: drop-shadow(0px 4px 4px rgba(198, 13, 13, 0.25));
    border-radius: 0px 10px 10px 0px;
    border: 1px solid #222222;
    margin-left: 1px;
    box-shadow: inset 10px 0 10px -7px #888888, 0 7px 9px -7px #888888;
    background-color: white;
}

.toolbar_l table {
    height: 100%;
    width: 100%;
    text-align: center;
    vertical-align: middle;
}

.toolbar_l table img {
    border: 1px solid transparent;
    height: 26px;
}

.Resize_down_right_light {
    background: url('../images/Untitled/Resize_down_right_light.png') no-repeat;
    background-position: bottom right;
}

.toolbar_l table img:hover {
    /* background-color: #fff; */
    cursor: pointer;
    opacity: 1;
}

.toolbar_b {
    border-top: 1px solid #888888;
    padding: 3px 3px 0px 3px;
    background-color: #f1f1f1;
    border-bottom: 5px solid #fff;
    position: fixed;
    width: 100%;
    bottom: -6px;
    height: 35px;
    background-color: white;
}

.toolbar_b_ac,
.toolbar_t_ac {
    font-size: 1.15vh;
    padding: 2.5px 7px 0 0;
    position: fixed;
    bottom: 0;
    opacity: 1;
    transition: 0.05s;
    height: 25px;
    width: 300px;
    border-radius: 6px 6px 0px 0px;
    border: 1px solid #222222;
    border-bottom-width: 0;
    box-shadow: inset 10px 0 10px -7px #888888;
    background-color: white;
}

.toolbar_t_ac>* {
    height: 100%;
}


.toolbar_b_ac table,
.toolbar_t_ac table {
    height: 100%;
    width: 100%;
    text-align: center;
    vertical-align: middle;


}


.toolbar_t_ac {
    border-radius: 0px 0px 6px 6px;
    top: 0;
    padding: 0px 0px 1.5px 0px;
    height: 34px;
    border-bottom-width: 1px;
}

.Resize_down_right_top {
    background: url('../images/Untitled/bottom/Polygon 2.png') no-repeat;
    background-position: top 0px right;
    width: 10px;
}

/* .Resize_down_right_top_h{
    background: url('../../images/Untitled/bottom/Polygon 2.png') no-repeat ;   
    background-position: top right;
    width: 10px;
    opacity: 1 !important;
} */
.hideme {
    height: 10px !important;
}


.hideme .Resize_down_right_top {
    background: url('../images/Untitled/bottom/Polygon 3.png') no-repeat;
}

.hideme img {
    height: 2px !important;
    opacity: 0;
}

.toolbar_b_ac table img:hover {
    /* background-color: #fff; */
    cursor: pointer;
    opacity: 1;
}


.tooltip_n {
    background-color: transparent;
    /* position: relative; */
    /* display: inline-block; */
    /* border-bottom: 1px dotted black; */
}

.tooltip_n .tooltiptext {
    visibility: hidden;
    min-width: 120px;
    background-color: yellow;
    color: black;
    text-align: center;
    border-radius: 0px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 5px;
    left: 110%;
    border-radius: 3px;
}

.tooltip_n .tooltiptext::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent transparent;
}

.tooltip_n:hover .tooltiptext {
    visibility: visible;
}


.hideme .tooltiptext {
    opacity: 0;
}



#brush_id,
#Shapes_id,
#file_id,
#image_id {
    border: 1px solid black;
    border-radius: 0 8px 8px 0 !important;
    min-width: 140px;
    color: black;
    height: 100px;
    text-align: center;
    border-radius: 0px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 122px;
    left: 104%;
    border-radius: 3px;
    visibility: hidden;
    background-color: white;
    z-index: 2;
}

#image_id {
    height: 320px;
    min-width: 215px;
    top: 208px;

}

#image_id td {
    text-align: left;
}

#Shapes_id {
    top: 262px !important;
    font-weight: bold;
    font-size: 11px;
    min-width: 125px;
}

#file_id {
    min-width: 50px;
    top: 435px;
    
}

#brush_id_t,
#brush_id,
.toolbar_t_ac {
    visibility: hidden;
}
.brush table {
    table-layout: auto;
 }
.brush td { 
    vertical-align: middle;
    text-align: right;
    /* min-width: 75px; */
}
.brush input[type=checkbox]{
    transition: 0s;
}

#brush_id td {
    vertical-align: middle;
    text-align: left;
}

#brush_id img {
    width: 26px;
    height: 26px;
}

.b_v {
    cursor: pointer;
}

.b_v img {
    width: 100% !important;
    height: 2px !important;
    cursor: pointer;
}

.form-select {
    padding: 0 13px;
    background-size: 9px 9px;
    font-size: 13px;
}

#text_id_t table td {
    border-right: 1px solid black;
    vertical-align: middle;
    text-align: center;

}

subTable table{
    height: 32px;
}
.subTable table td {
    border: 0px solid transparent !important;
    vertical-align: middle;
    text-align: center;
}

.subTable table img {
    width: 10px;
}

#color_id_t .clr-field {
    width: 84px;
}

.clr-field button {
    transition: 0s;
    height: calc(100% - 0.1px);
    /* border-width: 0; */
}

.noTransition {
    transition: 0s;
}

.cutInput {
    min-height: 24px;
    height: 11px;
    font-size: .575rem;
}
.aSelected{
    /* background-color: #EEE;
    padding: 7px 4px;
    border-radius: 2px;
    margin: 0 1px; */
    opacity: 1;
}
.bselected{
    /* text-shadow:1px 3px 1px #bbb */
    opacity: 1;
}
.cselected{
    /* box-shadow: inset 0px -2px 2px gray; */
    opacity: 1;
}
.dselected{
    /* box-shadow: -4px -3px 3px gray;;
    padding: 0px 3px; */
    opacity: 1;
}
