/*=================== style.css ===================*/ 

* {
    font-family: "Roboto Condensed", "Roboto", "trebuchet ms","Arial","sans-serif";
}
#tool_holder
{
    width: 100%;
    height: 500px;
    background-color: #535a60;
    position: relative;
    display: block;
    box-sizing: border-box;
    border-radius: 5px;
    overflow: hidden;
}

#top_menu
{
    position: relative;
    height: 10%;
    width: 100%;
    border-bottom: 1px solid #3f464d;
    background-color: #3f464d;
    box-sizing: border-box;
    /* padding: 0.5em; */
}

#bot_menu
{
    position: absolute;
    height: 12%;
    width: 100%;
    bottom: 0px;
    left: 0px;
    background-color: #3f464d;
    /* border-top: 1px solid #333; */
    box-sizing: border-box;
    z-index: 999;
}

.bot_menu_ct
{
    position: absolute;
    text-align: center;
    height: 9%;
    width: 100%;
    
    left: 0px;
    background-color: #2f353a;
    border-top: 1px solid #333;
    box-sizing: border-box;
    /* display: none; */
    transition: bottom 0.15s, opacity 0.15s;
    
    bottom:0;
    pointer-events: none;
    /* opacity: 0.5; */

    /* overflow-x: auto; */
}

.ctrl_open .bot_menu_ct
{
    bottom: 12%;
    pointer-events: all;
    /* opacity: 1.0; */
}

.bot_menu_items_holder
{
    display: block;
    height: 100%;
    text-align: center;
    user-select: none;
}

.fx_control_menu
{
    display: inline-block;
    /* border: 1px solid #dbdbdb; */
    box-sizing: border-box;
    width: 12%;
    top: 0;
    height: 100%;
    text-align: center;
    margin-right: 1px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 15px;
    background-color:transparent;
    color: white;
    position: relative;
    border-top-left-radius:0px;
    border-top-right-radius:0px;
    transition: background-color 0.15s;
    
}

/* .fx_control_spacer
{
    display: inline-block;
    border-left: 1px solid #dbdbdb;
    box-sizing: border-box;
    width: 2px;
    top: 0.5vh;
    height: 10.6vh;
} */


.fx_control_menu:hover
{
    background-color: rgba(0, 0, 0, 0.25);
}

.fx_control_menu.cur
{
    background-color: #2f353a;
}

.fx_control_menu .title
{
    position: absolute;
    bottom: 12%;
    left: 0px;
    width: 100%;
    text-align: center;
}


.fx_control_menu.cur .title
{
    color: #3ec6ff;
}

.fx_control_menu img
{
    top: 7px;
    width: 40%;
    height: auto;
}

.fx_control_menu.cur img
{
    filter:  brightness(0) saturate(100%) invert(60%) sepia(25%) saturate(1139%) hue-rotate(156deg) brightness(107%) contrast(101%);
}



/* .bot_tool_control:active
{
    background-color: red;
}

.bot_tool_control:focus
{
    background-color: green;
} */

.range_wrap
{
    position: relative;
    width:60%;
    top: 45%;
    display: block;
    margin: 0 auto;
}
.fx_control.slider
{
    width: 100%;
    position: relative;
    display: block;
}
.sl_out
{

    position: absolute;
    top: -51px;
    left: 10px;
    color: #fff;
    pointer-events: none;
    z-index: 999;
    /* opacity: 0; */
}

.bot_menu_ct.open .sl_out {opacity: 1;}
.range-value span{
    width: 40px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #3ec6ff;
    color: #fff;
    font-size: 18px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 4px;
  }
  .range-value span:before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid #3ec6ff;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    margin-top: -1px;
  }

.fx_control.combo
{
    width: 50%;
    height: 50%;
    position: relative;
    top: 25%;
    display: block;
    margin: 0 auto;
}

/*---- Button ----------------------------------------*/

.btnSimple
{
  border: none;
  -moz-border-radius: 4px;
  border-radius: 4px;
  /* display: block; */
  color: #fff !important;
  font-size: 15px;
  /* padding: 10px 10px; */
  width: 100%;
 
  outline: none;
  /* background-color: #4BBAEF; */
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
  cursor:pointer;
  
  -webkit-user-select: none; /* Chrome/Safari */        
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
  -o-user-select: none;
  user-select: none;
  font-weight:400;
  position: relative;

  display: inline-block;
  width: auto;
  height: 100%;
  padding: 0px 1.5em;
}

.btnSimple:hover
{
	text-decoration:none;
	background-color: rgba(0, 0, 0, 0.25);
}

.btnSimple:active
{
	top:1px;
}

#btnOpen input {display: none;}

.btnSimple span
{
    height: 0.9em;
    position: relative;
    top: calc(50% - 0.55em);
    text-align: center;
    width: 100%;
    left: 0px;
    font-size: 1.1em;
    padding-left: 1.9em;
}

.icons
{
    display: inline-block;
    background-repeat: no-repeat;
    width: 2.4em;
    height: 1em;
    position: absolute;
    left: 0em;
    top: 0.1em;
}


.clr_white {filter: invert(100%) sepia(57%) saturate(523%) hue-rotate(180deg) brightness(114%) contrast(101%);}


.fx_ctrl_icon
{
    position: absolute;
    width: 50%;
    height: 50%;
    display: block;
}
.img_svg 
{
    height: 35px;
    width: auto;
    position: relative;
    top: 17px;
}

.ct_but
{
    display: inline-block;
    color: #1f2224;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    height: 36px;
    font-size: 16px;
    line-height: 37px;
    transition: background-color 0.15s;
    background-color: #3dc5ff;
    user-select: none;
    padding: 0 19px;
    margin-left: 8px;
}

.ct_but:hover{
    background-color: rgb(142, 218, 251);
}

.lst_but
{
    display: inline-block;
    color: white;
    border: 3px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    height: 36px;
    font-size: 16px;
    line-height: 37px;
    transition: background-color 0.15s;
    background-color: transparent;
    user-select: none;
    width: 15%;
}

/* .lst_but:hover{
    border: 0.5vh solid #6d7985;
} */
.lst_but.cur{
    border: 3px solid #3ec6ff;
}
.list_but_hold
{
    position: relative;
    top: 10%;
    width: 60%;
}
.lst_but:hover
{
    background-color: rgba(0, 0, 0, 0.25);
}

#viewCanvas
{
    image-rendering: optimizequality;
    image-rendering: crisp-edges;
}

.zoomPanel
{
    position: absolute;
    right: 10px;
    display: block;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    background-color: #3f464d;
    bottom: calc(12% + 10px);
    color: #fff;
    line-height: 45px;
    text-align: center;
    padding: 4px;
    transition: width 0.15s, opacity 0.15s, bottom 0.15s;
    overflow: hidden;
    opacity: 0.5;
    box-sizing: border-box;
    user-select: none;
}

.zoomPanel:hover
{
    opacity:1; 
}

button {display: inline-block;}

.range_wrap_zoom
{
    position: relative;
    width: 59%;
    top: -6%;
    display: inline-block;
    margin: 0 auto;
}



.zoomPanel.open
{
    width: 225px;
    opacity: 1;
}

.ctrl_open .zoomPanel
{
    bottom: calc(21% + 10px);
}



input[type=range], .slider {
    appearance: none;
    height: 4px;
    background: #6d7783;
    outline: none;
    border-radius: 4px;
  }

input[type=range]::-webkit-slider-thumb, .slide::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    border-radius:20px;
    width: 20px; /* Set a specific slider handle width */
    height: 20px; /* Slider handle height */
    background: #2f353a; /* Green background */
    cursor: pointer; /* Cursor on hover */
    border: 3px solid #3ec6ff;
  }
  input[type=range]::-webkit-slider-thumb:hover
  {
    background: #495057; 
  }

.gui_zoom
{
    position: relative;
    width: 20%;
    cursor: pointer;
    height: 100%;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
}

.open .gui_zoom:hover {background:rgba(0, 0, 0, 0.25)}

.gui_zoom img
{
    width: 22px;
    position: relative;
    top: 1px;
    height: auto;
}

.zoomPanel.close .gz_open {display: none;}
.zoomPanel.close .gz_close {display: inline-block;}
.zoomPanel.open  .gz_open {display: inline-block;}
.zoomPanel.open  .gz_close {display: none;}

.compare_panel
{
    position: absolute;
    left: 10px;
    display: block;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    background-color: #3f464d;
    top: calc(10% + 10px);
    color: #fff;
    line-height: 45px;
    text-align: center;
    padding: 5px;
    transition: background-color 0.15s, bottom 0.15s, opacity 0.15s;
    overflow: hidden;
    opacity: 0.5;
    box-sizing: border-box;
}
.ctrl_open .compare_panel
{
    bottom: calc(21% + 10px);
}

.compare_panel:hover {opacity: 1;}
.compare_panel.on
{
    background-color: #3ec6ff;
    opacity: 1;
}

.gui_comapre
{
    width: 100%;
    cursor: pointer;
    height: 100%;
    background: transparent;
    border: none;
    color: #fff;
    user-select: none;
}

.gui_comapre img
{
    width: 17px;
    position: relative;
    top: 1px;
    height: auto;
}

.gui_zoom[k="open"]{position: relative;left: 4px;}
.gui_zoom[k="open"] img {    width: 29px;    left: -13px;    top: 1px;}
.gui_zoom[k="fit"] {   top: -1px;}
.gui_zoom[k="fit"] img{    transform: scale(0.9) translateY(2px);}

.btnSimple[k="open"] {width:160px;padding: 0;}
.btnSimple[k="open"] img{position: absolute;    transform: scale(0.5) translate(-30px, -0.4em);}

.btnSimple[k="save"] {width:160px;padding:0px; position: relative;right:0px;float: right; text-decoration:none}
.btnSimple[k="save"] img{position: absolute;transform: scale(0.5) translate(-30px, -0.4em);}


.no_scroll
{
    height: 100%;
    overflow: hidden;
    width: calc(100% - 15px);
}

.no_scroll::after
{
    content: " ";
    position: fixed;
    display: block;
    background-color: #f1f1f1;
    width: 15px;
    height: 100%;
    top: 0;
    right: 0px;
}



#of_dd_region {
    display: none;
    width: 200px;
    box-sizing: border-box;
    height: 160px;
    border: 3px solid #d0dfe9;
    color: #d6dfe9;
    border-radius: 11px;
    text-align: center;
    line-height: 160px;
    font-size: 18px;
    border-style: dashed;
    padding: 0 10px;
    position: absolute;
    top: calc(50% - 30px);
    left: 50%;
    transform: translate(-50%, 0px);
    user-select: none;
    background-color: transparent;
    /* display: flex !important; */
    justify-content: center;
    align-items: center;
}
#of_dd_region.over
{
    border-color:#3ec6ff;
    color: #3ec6ff;
    background-color: #3d4042;
}

#of_dd_region.done
{
    border-color: #c2f998;
    color: #c2f998;
    background-color: #3d4042;
}

.gui_sp_or
{
    content: "OR";
    position: absolute;
    display: none;
    text-align: center;
    width: 100%;
    font-size: 15px;
    opacity: 0.85;
    top: calc(50% - 66px);
    left: 0px;
    color: #d0dfe9;
}
#empty_tool_name {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff14;
    width: 100%;
    height: 50px;
    color: white;
    /* display: none; */
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
}
#empty_upload
{
    position: absolute;
    top: calc(50% - 130px);
    left: calc(50% - 100px);
    background-color: #3d4042;
    width: 200px;
    height: 50px;
    color: #fff;
    display: none;
    border-radius: 4px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    transition: background-color 0.15s;
    user-select: none;
}
#empty_upload:hover { background-color: #222324;}




.no_image .zoomPanel,
.no_image #top_menu,
.no_image #bot_menu,
.no_image .compare_panel,
.no_image .bot_menu_ct,
.no_image .btnSimple[k="save"],
.no_image .btnSimple[k="open"],
.no_image #viewCanvas
{
    display: none;
}

.no_image #of_dd_region,
.no_image #empty_upload,
.no_image .gui_sp_or
{display: block;}


.tl_loading
{
    font-size: 3em;position: absolute;top: calc(50% - 1em);left: 0px;text-align: center;color: #fff;width: 100%;
}

.MD_MOBILE
{
    /* position: fixed !important;
    top:0px !important;
    left: 0px !important;
    width: 100% !important;
    height: 100% !important; */
}

#hdr_render_pr {    
    /* width: 150px; */
    margin: 4px auto 0;
    color: white;
    font-size: 14px;
}
#hdr_render_pr span {
    line-height: 35px;
}
.hdr_cancel{
    margin: 2px;
    top: -10px;
    position: relative;
    font-size: 28px;
    cursor: pointer;
    display: inline-block;
    opacity: 0.70;
}
.hdr_cancel:hover {opacity: 1.0;}
