.ui-slider .ui-slider-handle {
    z-index: 0;
}

.layers {
    position:absolute;
}



.widgetTextBox, .widgetsnBox {
    position: relative;
    left: 0;
    pointer-events: auto;
  
    width: 100%;
    padding:0 !important;

}

.widgetTextBoxContainer, .widgetsnBoxContainer, .widgetLogoContainer, .widgetBarContainer, .widgetBorderContainer  {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 1vh 1vw !important;
    background-color: lightgrey;
    border-radius: 5px;

}
/* 
.sliderlegend, .sliderOutput {
    text-align: center;

    margin-bottom: 0vh;
    letter-spacing: 0.15 normal;
    border:none !important;
    outline: none !important;
    border: 0;
    width:50%;
    padding-inline-start: 0;
    padding-inline-end: 0;
    font-family: Verdana, Arial, sans-serif;
  
    font-weight:normal;
    font-size: .9rem;



} */

 .sliderOutput {

    position:relative;
    display: inline-block;
    width: 7%;
    margin-left: 1%;
    font-weight: normal;
    font-size: .7rem;

 }



.slider {
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    width: 90%; /* Full-width */
    height: 10px; /* Specified height */
    background:darkgray; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
  }
  
  /* Mouse-over effects */
  .slider:hover {
    opacity: 1; /* Fully shown on mouse-over */
  }
  
  /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 25px; /* Set a specific slider handle width */
    height: 10px; /* Slider handle height */
    background: #04AA6D; /* Green background */
    cursor: pointer; /* Cursor on hover */
  }
  
  .slider::-moz-range-thumb {
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #04AA6D; /* Green background */
    cursor: pointer; /* Cursor on hover */
  }


.widgetLogoContainer, .fontcontainer{
    height: 15vh;
 
}

.widgetBarContainer, .widgetBorderContainer {

    height: 16vh; 
}

.widgetBorderContainer {
    height: 17vh; 

}

.widgetsnBoxContainer{
    height: 25vh;
 
}

.widgetTextGrid, .widgetsnGrid {
    height: 100%;
    width: 100%;
    display: grid;
    grid-gap: 5px;
    grid-template-rows: 35% 20% 35%; 
    grid-template-columns: repeat(2, 1fr);

}

.widgetBorderContent{
    height: 100%;
    width: 100%;
    display: grid;
    grid-gap: 5px;
   
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 49% 49%; 

}


.widgetsnGrid {
    grid-template-rows: 20% 20% 18% 35%; 

}

.widgetLogoContent {
    position:relative;
    height: 100%;
    width: 100%;
   
}

.borderContent {
    position:relative;
    height:100%;
    width:100%;
    pointer-events: none;
}

.fontContent{
    height:90%;
    display: grid;
    grid-gap: 5px;

    grid-template-columns: 6% 38.5% 38.5% 6% 6% .5%;
}

#dm-button-fontSelectFile, #dm-button-fontSelectOK, #dm-button-fontSelectCancel {
    position: relative;
    margin:auto;
    grid-column: 1;
}
#dm-button-fontSelect {
    position: relative;
    margin:auto;
    top:30%;
   



}

.qrintag{

    position:relative;
    height:100%;
    width:100%;
}
 
#fontFileSelected, #fontFileSelectedName {
    position: relative;
    width:90%;
    height: 75%;
    left: .5vw;
    top: .5vh;
 
    grid-column: 2

}

#fontFileSelectedName {

    grid-column: 3;
}

#fontFile {
    position: absolute;
    width:25%;
    height: 10%;
    right: 2%;
    top: 1.1%;
}

#dm-button-fontSelectOK{

    grid-column: 4;
    background-image: url("../product_images/check.png");
    background-size: 80%;
    background-position: center;

} 
#dm-button-fontSelectCancel{

    grid-column: 5;
    background-image: url("../product_images/cancel.png");
    background-size: 60%;
    background-position: center;
} 

#fontFileSelectedValue {
    position:absolute;
    top:-1%;
    left:1vw;
    font-size:1.5vh;
    line-height:3vh;
}



.widgettexttocutdiv {
    position:relative;
    grid-column: 1/ span 2;
    grid-row: 1;
    width:95%;
    top:2%;

    background-color: lightgrey;
    border-style:solid !important;
    border-width:1px !important;
    box-shadow: 1px 1px 2px #888888 !important;

}

.widgettexttocut {
    position:relative;
    height:90%;
    width:99%;
    margin:auto;
    resize:none;
    background-color: lightgrey;
    text-align: start !important;
    font-family: 'Times New Roman', serif;
    font-size:1rem;
    border:none !important;
    color:black !important;
}
.dialdiv, .dialheaderdiv {

    position:relative;
    margin:auto;
    top:0;

}

.dialheaderdiv{

    width:8vw;
    height:4.5vh;
    overflow-x:scroll;

}
.widgettexttoolbar, .widgetsntoolbar {
    grid-column: 1;
    grid-row: 2;
    width:20.5vh;
    position: relative;
}

.widgetsntoolbar {
    grid-row: 3;

}

.widgetFontSelect, .widgetBorderSelect {
    margin:auto;
    width: 20.5vh;
    height:90%;
}

.widgetBorderSelect {

    height: 3vh;
}

.widget-tag-border-style{

    width: 20vh;
    height: 2.9vh;
}

.widgetfontsize {
    position:relative;
    grid-column:1;
	grid-row:3;
    width: 24vh;
	margin:auto;
	height:6vh;
    margin-top:1vh;

}

.widgetlineheight {
    position:relative;
    grid-column:2;
	grid-row:3;
    width: 24vh;
	margin:auto;
	height:6vh;
    margin-top:1vh;

}

.widgetbordersize, .widgetborderposition, .borderRadius, .borderStyle {
    position:relative;

    width: 15vw;
	margin:auto;
	height:6vh;
    margin-top:1vh;

}

.widgetbordersize {

    grid-row: 1;
    grid-column:1;  
}

.widgetborderposition {
    grid-row: 1;
    grid-column:2;  
}

.borderRadius {
    grid-row: 2;
    grid-column:1; 

}

.borderStyle {
    grid-row: 2;
    grid-column:2; 

}

.snfontsize, .snlineheight {
    grid-row:4;

}

.widget-tag-bold {
    font-weight: bold;
      left:0;
      
}

.widget-tag-italic {
  font-style: italic;
  left:3vh;
  
}

.widget-tag-underline {
  text-decoration: underline;
  left:6vh;

}

.widget-tag-left{
    background-image: url("../product_images/dm-tag-just-left.png");
	left:9vh;

}

.widget-tag-center{
    background-image: url("../product_images/dm-tag-just-center.png");
    left:12vh;
    
}

.widget-tag-right{
    background-image: url("../product_images/dm-tag-just-right.png");
    left:15vh;
}

.widget-tag-justify{
    background-image: url("../product_images/dm-tag-just-justify.png");
	left:18vh;

}

.widgetfontslider-handle, .widgetlineslider-handle, .widgetbordersizeslider-handle, .widgetborderpositionlider-handle, .borderradius-handle {
    width: 2.1rem !important;
    height: 1.7rem !important;
    top: 50%;
    margin-top: -.4rem;
    text-align: center;
    line-height: 1.8rem;
    background-color: lightgray;
    font-size: .5rem;
    z-index:0;

}

.widgetfontslider, .widgetlineslider, .widgetbordersizeslider, .widgetborderpositionslider, .borderRadiusSlider  {
    position:absolute;
    top:1vh;
    background-color: darkgray;
    left:2%;
    border-style:solid;
    border-width: .5px;
    left:0;
	margin-left:1vh;
	width: 19vh;

}

.widgetbordersizeslider, .widgetborderpositionslider, .borderRadiusSlider  {

    width: 12vw;

}



.widget-tag-snap-icon, .widget-text-icon, .widget-braille-icon, .widget-csv-icon, .widget-img-icon, .widget-bar-icon, .widget-qr-icon, .widget-border-icon, .widget-font-icon  {
    position:absolute;
	height:2.5vh;
	width:2vw;
    line-height: 2.1vh;
    text-align: center;
   
    background-repeat: no-repeat;
	border-radius: 2px;
    background-size: contain;


}

.widget-tag-snap-icon {

    background-image: url("../product_images/snap-to-grid.png");
    height:2.1vh;
	width:1.5vw;

	left: -.5vw;
}

.widget-text-icon {
    background-image: url("../product_images/textIcon.png");
    height:2.5vh;
   
	right: 2vw;

}

.widget-font-icon {
    background-image: url("../product_images/font.png");
  

}

.widget-border-icon {
    background-image: url("../product_images/border.png");
   
	right: 2vw;

}

.widget-snap-icon-button { 
    position:absolute;
    top: 1vh;
    left: -.7vw;
    z-index: 100;
    background-color: lightgray !important;

    cursor:pointer !important;
}

.widget-braille-icon {
    background-image: url("../product_images/braille.png");
   
	right: 2vw;

}
.widget-csv-icon {
    background-image: url("../product_images/csv.png");
   
	right: 2vw;

}

.widget-img-icon {
    background-image: url("../product_images/image.png");
   
	right: 2vw;

}

.widget-bar-icon {
    background-image: url("../product_images/barcodeIcon.png");
   
	right: 2vw;

}

.widget-qr-icon {
    background-image: url("../product_images/qrcode.png");
   
	right: 2vw;

}

.snapcontainer {
    position:absolute;
    display:inline;
   /*  border-style:solid;
    border-width: 1px;
    border-radius: 5px; */
    left:1vw;
    width:6vw;

    line-height: 2.5vh;
    vertical-align: middle;
    background-color:lightgrey !important;

}

.widget-tag-snap-text {
    position:absolute;
	height:2.1vh;
	width:3vw;
    line-height: 2.1vh;
    text-align: center;
    left:1.5vw;
	border-radius: 2px;

}


.widget-tag-close {
    position:absolute;
	height:2.5vh;
	width:2.5vh;
    line-height: 2.1vh;
    text-align: center;
    float:right;
    right: 0;
    background-repeat: no-repeat;
	border-radius: 5px;
	background-color:lightgray;
    background-size: contain;
	margin-right: .5vw;
    cursor: pointer;

}

.widget-tag-close:hover {
    background-color: aqua !important;

}

.widgetHeader {
    text-align: center;
   
    box-sizing: border-box;
    border-radius: 5px;
    cursor: move;
    background-color:white;

}

.rotateButton{
    position: absolute;
    top:20%;
    left:20%;
    height: 2.5vh;
    width: 2.5vh;
    z-index: 100;
    border-radius: 5px;
    background-image: url("../product_images/rotate.png");
    background-size:70%, 70%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: lightgray;

}

.brailleButton{
    position: absolute;
    top:30%;
    left:95%;
    height: 2.5vh;
    width: 2.5vh;
    z-index: 100;
    border-radius: 5px;
    background-image: url("../product_images/braille.png");
    background-size:70%, 70%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: lightgray;

}

.rotateButton:hover, .brailleButton:hover{

    cursor: pointer;
    background-color: lightblue;


}

.dmwidget {

    margin:auto;

}


