.popup-window{
    display:none;
    background-color:#fff;
    position:fixed;
    top:40px;
    left:0em;
    right:0em;
    bottom:0em;
    max-height: 96%;
    min-height: 96%;
    width:80%;
    overflow-y:auto;
    overflow-x:hidden;
    padding: 10px 20px;
    margin:auto;
    border:1px solid #ececec;
    box-shadow: 0 0 200px 2000px rgba(0,0,0,0.7);
    z-index:1000;
    
}
.fr-popup, .fr-popup.fr-active {
    z-index:10000 !important;
}
.popup-window .popup-window-header{

    background-color:transparent;
    height:28px;
    width:calc(100% - 0.4em);
    padding:0 3px; 
    margin:0.2em !important;
    border-bottom: 2px solid #2c3e50;
    text-indent:5px;
    font-weight:bold;
}
.popup-close-button{
    float: right;
   /* margin: -5px 2px;*/
    /*padding: 3px 4px 0 4px;*/
    width: 25px;
    height: 25px;
}
.popup-close-button:before {
    /*content: "\e014";*/
    position: absolute;
    left: 1px;
    top:2px;
}
.popup-content{
    padding:1em;
}




#pdfEditor {
    min-width:90%;
    margin:auto;
}
#pdfEditorToolbar{
    background-color:#fafafa;
    border-radius:3px;
    margin:0 auto 20px auto;
    padding:0;
    height:34px;
    line-height:34px;
    max-width:700px;
    position:relative;
}
#PDFContainer {
    max-width:1120px;
    width:auto;
    min-height:1600px;
    height:auto;
    background-color:#fff;
    border:1px solid #bbb;
    position:relative; 
    margin:auto;
	overflow:hidden;
}
#PDFContainer .background-image-loader {
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    margin:auto;
}
#pdfEditorToolbar .btn-pdf-toolbar span{
    margin:0;
    padding:0;
}
#pdfEditorToolbar .select-pdf-toolbar {
    height:30px;
    min-width:30px;
    padding:0 2em 0 2px;
    margin:2px;
    border-radius:4px;
    background-color:#fafafa;
    color:#333;
    border-left:1px solid #ccc;
    border-top:1px solid #ccc;
    border-bottom:1px solid transparent;
    border-right:1px solid transparent;
    box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 4px 0;
    display:inline-block;
    position:relative;
    top:-11px;
	max-width:180px;
}
#pdfEditorToolbar .select-shortcode-block {
	display:inline-block;
	width:50px;
	position:relative;
}
#pdfEditorToolbar .btn-pdf-insert-textblock{
	z-index:10;
	/*border-right:0 !important;*/
	box-shadow:none  !important;
	border-radius:4px 0 0 4px  !important;
}
#pdfEditorToolbar .select-shortcode-toolbar {
    height:30px;
    min-width:45px;
    padding:0 2em 0 2px;
    margin:2px;
    border-radius:4px;
    background-color:#fafafa;
    color:#333;
    border-left:1px solid #ccc;
    border-top:1px solid #ccc;
    border-bottom:1px solid transparent;
    border-right:1px solid transparent;
    box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 4px 0;
    display:inline-block;
    position:absolute;
    left:0;
	top:-9px;
	max-width:45px;
	z-index:9;
	
}
#pdfEditorToolbar .btn-pdf-toolbar {
    padding:0;
    height:30px;
    width:30px;
    margin:2px;
    text-align:center;
    border-radius:4px;
    background-color:#fafafa;
    color:#333;
    border-left:1px solid #ccc;
    border-top:1px solid #ccc;
    border-bottom:1px solid transparent;
    border-right:1px solid transparent;
    box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 4px 0;
    display:inline-block;
    position:relative;
    top:-9px;
}
#pdfEditorToolbar .btn-pdf-toolbar.pressed {
    background-color:#eee;
    box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.4);
    top:-8px;
    
}
#pdfEditorToolbar .btn-pdf-toolbar:hover {
    color:navy;
    background-color:#eee;
    cursor:pointer;
    
}
#pdfEditorToolbar .separator {
    width:0;
    display:inline-block;
    height:32px;
    margin-top:1px;
    border-width:0 1px;
    border-style:solid;
    border-color:transparent #fff transparent #ccc;
}
#PDFContainer .pdfTextValueField {
    background:transparent;
    outline:1px dashed #999 !important;
    border:0 !important;
    box-shadow:none;
    height:auto;
    display:inline !important;
    position:absolute !important;
    left:0;
    top:0;
    color:#aaa; 
    font-size:12pt;
    font-family:Helvetica, Arial, sans-serif;
    padding:0;
    line-height:1em;
    width:auto !important;
    min-width:2em;
	max-width:1120px;
	max-height: 1600px;
	background-repeat:no-repeat;
}
#PDFContainer .pdfTextValueField[data-type="image"] {
	z-index:0 !important;
}
#PDFContainer .pdfTextValueField[data-type="text"] {
	z-index:10;
}

#PDFContainer .voucherBarcode {
    width: 84px !important;
    height: 34px !important;
    background-size:contain;
    background-repeat:no-repeat;
}
#PDFContainer .pdfImage {
    background:transparent;
    outline:1px dashed #999 !important;
    border:0 !important;
    box-shadow:none;
    height:auto;
    display:inline !important;
    position:absolute !important;
    left:0;
    top:0;
    padding:0;
    width:auto !important;
}
#PDFContainer .pdfImage::after{
    content: "\00d7";
    text-shadow:0 0 1px rgba(0,0,0,1), 0 0 3px #fff;
    color:#E00000;
    font-size:24px;
    position:absolute;
    right:-20px;
    top:-0.8em;
    width:24px;
    height:24px;
    cursor:pointer;
    font-weight:normal;
    padding-left:1px;
    font-style:normal !important;
    z-index: 100;
    
}
#PDFContainer .pdfImage:hover::after{
    text-shadow:0 0 1px rgba(0,0,0,1), 0 0 3px #fff;
    color:#f00;
    font-weight:bold;
}
#PDFContainer .pdfImage:hover {
    cursor:move;
}
#PDFContainer .pdfImage:focus {
     outline:1px dashed #000 !important;
     border:0 !important;
     box-shadow:none;
}


#PDFContainer .ean13barcode {
    background-image: url("../../../assets/images/barcode.png");

}
#PDFContainer .code128barcode {
    width: 134px !important;
    height: 44px !important;
    background-image: url("../../../assets/images/code128barcode.png");

}

#PDFContainer .pdfTextValueField::after{
    content: "\00d7";
    text-shadow:0 0 1px rgba(0,0,0,1), 0 0 3px #fff;
    color:#E00000;
    font-size:24px;
    position:absolute;
    right:-20px;
    top:-0.8em;
    width:24px;
    height:24px;
    cursor:pointer;
    font-weight:normal;
    padding-left:1px;
    font-style:normal !important;
    z-index: 100;
    
}
#PDFContainer .pdfTextValueField:hover::after{
    text-shadow:0 0 1px rgba(0,0,0,1), 0 0 3px #fff;

    color:#f00;
    font-weight:bold;
}
#PDFContainer .pdfTextValueField:hover {
    cursor:move;
}
#PDFContainer .pdfTextValueField:focus {
     outline:1px dashed #000 !important;
     border:0 !important;
     box-shadow:none;
}
#textValueEditContainer {
    position:absolute;
    right:2px;
    top:10px;
}
#pdfBackgroundImage {
    border-radius:0 !important;
	z-index:0;
}
.sp-replacer {
    background-color:transparent;
    height:10px;
    padding:0;
    border:0;
    height:32px;
    width:32px;
    position:relative;
    top:-2px;
    left:1px;
}
.sp-replacer:before {
    content:"\f1fc";
    font-family:FontAwesome;
}
.sp-dd{
    display:none;
}
.sp-preview {
    border:0;
    background-image:none;
}
.sp-preview-inner {
    height:10px;
    border:0;
}