@font-face {
  font-family: 'Journal';
  src: url('journal.eot');
  src: url('journal.eot?#iefix') format('embedded-opentype'), url('journal.woff') format('woff'), url('journal.ttf') format('truetype'), url('journal.svg#JournalRegular') format('svg');
  font-weight: normal;
  font-style: normal;
}


/* ======================================== MAIN BLOCKS ======================================== */

html {cursor: default}
body {color: #362B36}
body {font-family: 'Open Sans', sans-serif}

/* fix for issue with shifting body content when modal dialog openes 
  http://stackoverflow.com/questions/19337238/twitter-bootstrap-modal-pushes-html-content-to-the-left */
body {
  overflow-y: scroll;
}
body.modal-open {
  overflow-y: scroll;
  margin: 0;
}
.modal {
  overflow: auto;
}

.signPageBackground{background: #EAEAEA}

#mainwrapper {margin-top: 42px; position: relative}
#mainwrapper .row .fa.fa-file-text {margin-right: 3px}

.container {width: 100%}

/* prevent Chrome outline */
*:focus {outline: 0}

/* placeholder text in fields */
::placeholder {color: #A0A0A0; opacity: 1}  /* Chrome, Firefox, Opera, Safari 10.1+ */
:-ms-input-placeholder {color: #A0A0A0}     /* Internet Explorer 10-11 */
::-ms-input-placeholder {color: #A0A0A0}    /* Microsoft Edge */


/* ======================================== NAVIGATION ======================================== */

.navbar {
  height: 42px;
  min-height: 41px;
  border-style: solid;
  border-width: 0 0 1px;
  border-color: #2694E8;
  color: #ffffff;
  /*padding-top: 5px;*/
  background-color: #3BAAE3;
}
.navbar .container {
  /*min-width: 360px;*/
  max-width: 780px;
}
.navbar .logo {
  /*float: left;*/
  max-height: 36px;
}
.navbar .btn {
  /*float: right;*/
  font-size: 14.4px;
  font-weight: 500;
}
.navBarEmbedded {
  border-color: #B5B5B5;
  background: #D3D3D3;
  color: black;
}

.navBarEmbedded .moreButton button, .navBarEmbedded .moreButton button:hover{
  /*color: black !important;*/
}


/* ======================================== BUTTONS ======================================== */

.buttonsBlock {
  position: absolute;
  width: 200px;
  background: white;
  border-right: 1px solid #D5D5D5;
  background-color: #FAFAFA;
}

.buttonsBlock {
  height: calc(100% + 38px);
  top: -38px;
  padding-bottom: 25px;
  overflow-y: auto;
  overflow-x: hidden;
}

/*hide on touch devices*/
.touch-device .buttonsBlock {
  visibility: hidden;
}

.buttonsBlock.authorButtons {
  visibility: visible;
}

.buttonBlock {
  float: left;
  background-color: transparent;
  padding: 25px 15px 0px 15px;
  width: 100%;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  z-index: 1;
}

.buttonBlock button {
}

/*inactive state of button at left menu*/

.buttonBlock .btn-mode {
  color: #4E4E4E;
  border: none;
  border-radius: 0;
}

.buttonBlock .btn-mode:hover {
  background: rgba(128, 128, 128, 0.125);
  background-color: rgba(128, 128, 128, 0.125);
  color: #4E4E4E;
}

/*active state of button at left menu*/

.buttonBlock .btn:active,
.buttonBlock .btn-mode.btn-primary,
.buttonBlock .btn-mode.btn-primary:hover,
.buttonBlock .btn-mode.btn-primary:focus,
.buttonBlock .btn-mode.btn-primary:focus:hover {
  background: rgba(128, 128, 128, 0.25) !important;
  background-color: rgba(128, 128, 128, 0.25) !important;
  color: #4E4E4E !important;
}

/*border for both states*/
.buttonBlock .btn:active,
.buttonBlock .btn-mode:hover,
.buttonBlock .btn-mode.btn-primary:focus,
.buttonBlock .btn-mode.btn-primary:focus:hover {
  border: none !important;
  border-radius: 0 !important;
}

.buttonBlockMargin {
  margin-left: 200px;
}

.buttonBlock button {
  text-transform: capitalize;
  font-size: 14.4px;
  font-weight: 400;
  text-align: left;
  border: none;
  background-color: transparent;
  position: relative;
  left: -20px;
  width: 205px;
  padding-left: 20px;
}

.buttonBlock button img {
  height: 26px;
  width: 26px;
  vertical-align: middle;
  margin: 1px 10px 1px 4px;
  padding: 4px;
  border-radius: 2px;
  background: #C8C8C8;
  opacity: 0.75;
}

.buttonBlock button.btn-primary img {
  background: #B4B4B4;
}

.buttonBlock button img.p-t-5 {
	padding-top: 5px;
}

.buttonBlock button img.p-b-5 {
	padding-bottom: 5px;
}

.p-t-10 {
  padding-top: 10px !important;
}

.p-t-8 {
  padding-top: 8px;
}

.p-t-5 {
  padding-top: 5px !important;
}

.p-r-0 {
  padding-right: 0;
}

.p-l-6 {
  padding-left: 10px;
}

/*
.buttonBlock .btn-primary img {
  border: 1px solid #000000a0;
}
*/

.ds-navbar {
  /*padding-left: 4px;*/
  /*padding-right: 4px;*/
  /*overflow: hidden;*/
}

.toolbarText {
  max-height: 35px;
}

@media (max-width: 340px) {
  .toolbarText {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
}


/*for hamburger, which is visible only on touch devices*/
.touch-device .hamburger-padding {
  /*padding-right: 42px;*/
}


.ds-navbar-page-alignment {
  margin: auto;
  max-width: 100%;
}

.buttonBlockPadding,
.ds-navbar.buttonBlockPadding,
.ds-toolbar.buttonBlockPadding {
  padding-left: 200px !important;
}

@media (max-width: 767px) {
  .buttonBlockPadding {
    padding-left: 0px !important;
  }
}

.ds-navbar-left {
  /*height: 30px;*/
  /*float: left;*/
  /*position: absolute;*/
  /*left: 14px;*/
  /*top: 12px;*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 767px) {
  .ds-navbar-left {
    font-size: 12px;
  }
}

.ds-navbar-right {
  float: right;
}

.ds-navbar-right .sign-button {
  margin-left: 16px;
}

/*on touch devices buttons block should be visible only in 'author' mode*/
.touch-device .buttonBlockMargin {
  margin-left: unset;
}

.touch-device .buttonBlockMargin.authorButtons {
  margin-left: 200px;
}

.touch-device .ds-navbar.buttonBlockPadding {
  padding-left: unset;
}

.touch-device .ds-navbar.buttonBlockPadding.authorButtons {
  padding-left: 200px;
}


@media (max-width: 639px) {
  /*no padding on small devices (in author & non-author mode)*/
  .ds-navbar.buttonBlockPadding,
  .ds-navbar.buttonBlockPadding.authorButtons {
    padding-left: unset;
  }
}

@media (max-width: 361px) {
  /*reduce logo on narrow devices*/
  .ds-navbar-left {
    width: 142px;
  }

  .ds-navbar-left .logo{
    transform: scale(0.7);
    transform-origin: 0;
  }
  .ds-navbar-right {
  }
}

.buttonBlock .header {
  font-size: 14.4px;
  font-weight: 500;
  text-align: left;
  margin-top: 0px;
  margin-bottom: 10px;
  padding-right: 10px;
  text-transform: uppercase;
  cursor: pointer;
  color: #4D4D4D;
}

.buttonBlock .subheader {
  font-size: 13px;
  text-align: center;
  margin-bottom: 5px;
  padding-right: 10px;
  cursor: pointer;
}

.buttonBlock hr {
  margin-top: 10px;
  margin-bottom: 15px;
  border-top: 1px solid #E5E5E5;
}


.buttonBlock .buttonsCollapsed:before {
  display: inline-block;
  vertical-align: -.12em;
  margin-left: .255em;
  margin-right: .3em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: .3em solid transparent;
  border-left: .3em solid transparent;
}


.buttonBlock .buttonsShown:before {
  display: inline-block;
  margin-left: .255em;
  margin-right: .3em;
  vertical-align: .15em;
  content: "";
  border-top: .3em solid transparent;
  border-right: .3em solid transparent;
  border-bottom: .3em solid transparent;
  border-left: .3em solid;
}

.roleBlockItem {
  display: block;
  margin-bottom: 5px;
  white-space: nowrap;
}

.roleColor {
  width: 15px;
  height: 15px;
  float: left;
  margin-left: 0px;
  margin-right: 8px;
  margin-top: 3px;
  border-radius: 2px;
  border: 1px solid #A0A0A0;
}

.roleBlockItem .roleName {
  margin-left: 7px;
  width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* standard button */
.btn {                    /* blue on light blue */
  padding: 4px 9px;
  border-radius: 2px;
  color: #2779AA;
  background: #EDF5F9;
  font-weight: 500;
  border: 1px solid #AED0EA;
  text-transform: uppercase;
}
.btn:hover, .btn:hover:focus {  /* when hover blue on white */
  background: #FFF;
  color: #2779AA
}
.btn:focus, .btn:active:focus, .btn.active:focus {  /* when focus no outline */
  outline: 0;
}
.btn:focus {  /* when focus blue on light blue (like normal button) */
  background: #EDF5F9;
  color: #2779AA;
}
.btn:active, .btn:active:hover {   /* when active white on blue */
  background: #3BAAE3;
  color: #FFF;
  outline: 0;
  background-image: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* primary button */
.btn-primary {            /* white on blue */
  background: #3BAAE3;
  color: #FFF;
  border: 1px solid #74B2E2;
  min-width: 100px;
}
.btn-primary:hover, .btn-primary:hover:focus
 {
  background: #FFF;      /* when hover blue on white */
  color: #2779AA;
  border: 1px solid #AED0EA;
}
.btn-primary:focus {     /* when focus white on blue (like normal button) */
  background: #3BAAE3;
  color: #FFF;
  border: 1px solid #74B2E2;
}
.btn-primary:active, .btn-primary:active:hover {   /* when active white on blue */
  background-color: #3BAAE3;
  color: #FFF;
  border: 1px solid #74B2E2;
}

/* button for switching modes */
.btn-mode {
  display: block;
  width: 100%;
}
.btn-mode.btn-primary:hover, .btn-mode.btn-primary:hover:focus {  /* when hover over primary - no color changes */
/*
  background: #3BAAE3;
  color: #FFF;
*/
}

/* success button */
.btn-success {
  background: #FF6923;
  color: #FFF;
  border: 1px solid #2694E8;
  min-width: 100px;
  min-height: 28px;
}
.btn-success:hover, .btn-success:hover:focus {
  color: #FF6923;
  background: #FFF;
  border: 1px solid #2694E8;
}
.btn-success:focus {     /* when focus white on blue (like normal button) */
  background: #FF6923;
  color: #FFF;
  border: 1px solid #2694E8;
}
.btn-success:active, .btn-success:active:hover {   /* when active white on blue */
  background: #FF6923;
  color: #FFF;
  border: 1px solid #2694E8;
}

/* button 'DONE' */
/* turn off hover effect on mobile (touch) devices, because the button is always 'hover' after clicking on it */
@media (max-width: 992px) {
  .btn-done:hover, .btn-done:hover:focus {
    color: #FFF;
    background: #FF6923;
  }
  .btn-done-embedded:hover, .btn-done-embedded:hover:focus {
    color: #FFF;
    background: #3BAAE3;
  }
}

/* large button */
.btn-large {min-width: 100px}

/* close button */
.btn-close {
  font-size: 26px;
  font-weight: 500;
  opacity: 1;
  color: #0070a3;
}
.digisign-popover .btn-close {
  color: black;
}

.btn-removesig {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 15px;
  height: 15px;
  transform-origin: 10% 90%;
  cursor: pointer;
  visibility: hidden;
  border-radius: 50%;
  /* highlight for better testing */
  /*box-shadow: inset 0px 0px 0px 1px blue;*/
}
.touch-device .btn-removesig {
  top: -8px;
  right: -8px;
  transform: scale(2.4);
}

.btn-removesig >.btn-removesig-inner {
  width: 100%;
  height: 100%;
  color: #6b6b6b;
  background-color: #f0f0f0;
  border: 1px solid #a0a0a0;
  border-radius: 50%;
  position: absolute;
}

.touch-device .btn-removesig >.btn-removesig-inner {
  width: 13px;
  height: 13px;
  bottom: 0;
}

.btn-removesig >.btn-removesig-inner:before, .btn-removesig >.btn-removesig-inner:after {
  position: absolute;
  left: 6px;
  top: 3px;
  content: ' ';
  height: 7px;
  width: 1px;
  background-color: #5b5b5b;
}
.touch-device .btn-removesig >.btn-removesig-inner:before, .touch-device .btn-removesig >.btn-removesig-inner:after {
  left: 5px;
  top: 2px;
  content: ' ';
  height: 7px;
  width: 1px;
}
.btn-removesig >.btn-removesig-inner:before {
  transform: rotate(45deg);
}
.btn-removesig >.btn-removesig-inner:after {
  transform: rotate(-45deg);
}

/* ======================================== DOCUMENT PAGE ======================================== */

.page-wrapper {
  position: relative;
}

.pageNumber {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  margin: 4px auto 16px auto;
}

.page {
  /*border: 1px solid #D5D5D5;*/
  margin: 0px auto 0px auto;
  padding: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pageEmbedded {
  border: 1px solid #B5B5B5;
}
/*.page.loading {*/
  /*background: #FFFFFF;*/
/*}*/
.loadingcontainer {
  position: absolute;
  /*top: 0;*/
  /*bottom: 0;*/
  left: 0;
  right: 0;
  /*display: flex;*/
  background: white;
  margin: auto;
  z-index: 0;
  background-position-y: center;
  background-position-x: center;
  background-repeat: no-repeat;
  background-image: url("../img/page_loading.gif");
}


/* angular ui fix */
.nav,
.pagination,
.carousel,
.panel-title a {
  cursor: pointer;
}
/*.loading {*/
  /*background: #FFFFFF;*/
/*}*/
/*.loaded {*/
  /*background-size: cover;*/
  /*background-position: center center;*/
/*}*/


/* ======================================== FIELDS ======================================== */


/* DRAGGABLE */

.draggable {
  position: absolute;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: top;
  zoom: 1;
  background-color: rgba(28, 164, 255, 0.2);
  border: 1px solid transparent;
  border-radius: 1px;
  line-height: 1;
  cursor: pointer;
}

.draggable.readonlyField {
    background: transparent;
    background-color: transparent;
}


.previewTextFieldBackground {
  background-color: rgba(28, 164, 255, 0.2);
}
.draggable img {
  width: 100%;
}

.draggable input, textarea {
  width: 100%;
  height: 100%;
  max-height:100%;
  max-width:100%;
  font-family: Arial;
  border: none;
  background: transparent;
  outline: none;
  color: #000;
  padding: 0px;
  margin: 0px;
  resize: none;
  overflow: hidden;

  letter-spacing: inherit;
  font-family: inherit;
  letter-spacing: inherit;
  margin-left: inherit;
  text-align: inherit;

  /*overflow-wrap: anywhere;*/
  /*word-break: break-word;*/
}

.whitespaceNowrap {
  white-space: nowrap;
}

.previewTextField {
  color: #000;
}
.draggable input::-ms-clear, textarea::-ms-clear
{
    display: none;
}

.draggable:hover .btn-removesig, .draggableField:hover .btn-removesig,
.draggable:hover .ui-resizable-nw, .draggableField:hover .ui-resizable-nw,
.draggable:hover .ui-resizable-sw, .draggableField:hover .ui-resizable-sw,
.draggable:hover .ui-resizable-se, .draggableField:hover .ui-resizable-se,
/*.draggable:active .btn-removesig, .draggableField:active .btn-removesig,*/
/*.draggable:active .ui-resizable-nw, .draggableField:active .ui-resizable-nw,*/
/*.draggable:active .ui-resizable-sw, .draggableField:active .ui-resizable-sw,*/
/*.draggable:active .ui-resizable-se, .draggableField:active .ui-resizable-se,*/
/*.draggable:focus .btn-removesig, .draggableField:focus .btn-removesig,*/
/*.draggable:focus .ui-resizable-nw, .draggableField:focus .ui-resizable-nw,*/
/*.draggable:focus .ui-resizable-sw, .draggableField:focus .ui-resizable-sw,*/
/*.draggable:focus .ui-resizable-se, .draggableField:focus .ui-resizable-se,*/
.draggable.active .btn-removesig, .draggableField.active .btn-removesig,
.draggable.active .ui-resizable-nw, .draggableField.active .ui-resizable-nw,
.draggable.active .ui-resizable-sw, .draggableField.active .ui-resizable-sw,
.draggable.active .ui-resizable-se, .draggableField.active .ui-resizable-se,
/*[id|="textField"]:focus ~ .btn-removesig,*/
/*[id|="textField"]:focus ~ .ui-resizable-nw,*/
/*[id|="textField"]:focus ~ .ui-resizable-sw,*/
/*[id|="textField"]:focus ~ .ui-resizable-se,*/
.checkboxImage:focus ~ .ui-resizable-se,
.radioImage:focus ~ .ui-resizable-se{
  visibility: visible;
}


/* DRAGGABLE FIELDS */

.draggableField {
    position: absolute;
    display: -moz-inline-stack;
    vertical-align: middle;
    zoom: 1;
    background-color: rgba(28, 164, 255, 0.4);
    cursor: move;
    display: block;
    border-radius: 1px;
}

.draggableField:hover {
  cursor: pointer;
}

.draggableField.ui-draggable-dragging {
  cursor: move !important;
}

.draggableFieldTransparent {
    background-color: transparent;
    border: 0;
}

.draggableFieldDisabled {
    cursor: auto;
}

.draggableFieldToFill {
    cursor: pointer;
}

.draggableFieldIsNotRequired {
    background-color: rgba(28, 164, 255, 0.2);
}

.draggableField .fieldOuterContent {
    display: block;
    width: inherit;
    height: inherit;
    overflow: hidden;
}
.draggableField .fieldInnerContent {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: inherit;
    height: inherit;
    cursor: pointer;
}

.draggableField .fieldInnerContentDate {
    vertical-align: bottom;
    text-align: left;
}

.draggableField .fieldLabel {
    font-size: 0.8em;
    color: #444;
  letter-spacing: 1px;
    width: inherit;
}

.draggableField .fieldRole {
    overflow: hidden;
}

.draggableField .fieldSignInput {
    line-height: 1.3em;
    /*display: inline-block; !* required for word breaking *!*/
    /*-ms-word-break: break-all; !* old IE support *!*/
    /*word-break: break-all; !* for IE and FF *!*/
    /*word-break: break-word; !* for Chrome *!*/
}

.draggableField .fieldDateValue {
    background-color: rgba(28, 164, 255, 0.2);
    display: inline-block;
    line-height: 1;
    font-family: Arial;
    white-space: nowrap;
    padding: 0 1px 2px; /* top -0; left/right - 1px; bottom - 2px.*/
}

.hiddenElement {
    visibility: hidden;
}

.textFieldMove {
  cursor: move;
}

.signatureInner {
  width: 100%;
  height: 100%;
}

.imageSignatureInner {
  line-height: 0;
}

@keyframes blink {
  0% { opacity: 1 }
  50% { opacity: 0 }
  100% { opacity: 1 }
}
@-webkit-keyframes blink {
  0% { opacity: 1 }
  50% { opacity: 0 }
  100% { opacity: 1 }
}
.blinkingField {
  -webkit-animation: blink 700ms linear infinite;
  -moz-animation: blink 700ms linear infinite;
  animation: blink 700ms linear infinite;
}

/* FOCUSED CHECKBOX FIELDS */

/*.draggable.checkboxField:focus {*/
  /*border: 1px dotted #333; */
/*}*/
/*.draggableField.checkboxField:focus {*/
  /*border: 1px dotted #333;*/
/*}*/

/* HANDLE TO RESIZE FIELDS */

.ui-resizable-handle {
  position: absolute;
  display: block;
  font-size: 0.1px;
  background: #fff;
  border: 1px solid #a0a0a0;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  z-index: auto !important;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
  display: none;
}
.ui-resizable-n {
  cursor: n-resize;
  height: 10px;
  width: 100%;
  top: -5px;
  left: 0;
}
.ui-resizable-s {
  cursor: s-resize;
  height: 10px;
  width: 100%;
  bottom: -5px;
  left: 0;
}
.ui-resizable-e {
  cursor: e-resize;
  width: 10px;
  right: -5px;
  top: 0;
  height: 100%;
}
.ui-resizable-w {
  cursor: w-resize;
  width: 10px;
  left: -5px;
  top: 0;
  height: 100%;
}
.ui-resizable-se {
  cursor: se-resize;
  right: -12px;
  bottom: -12px;
  transform-origin: 10% 10%;
}
.ui-resizable-sw {
  cursor: sw-resize;
  left: -12px;
  bottom: -12px;
  transform-origin: 90% 10%;
}
.ui-resizable-nw {
  cursor: nw-resize;
  left: -12px;
  top: -12px;
  transform-origin: 90% 90%;
}
.ui-resizable-ne {
  cursor: ne-resize;
  right: -12px;
  top: -12px;
  transform-origin: 10% 90%;
}

.touch-device .ui-resizable-se, .touch-device .ui-resizable-sw {
  bottom: -16px;
}
.touch-device .ui-resizable-sw, .touch-device .ui-resizable-nw {
  left: -16px;
}
.touch-device .ui-resizable-nw, .touch-device .ui-resizable-ne {
  top: -16px;
}
.touch-device .ui-resizable-ne, .touch-device .ui-resizable-se {
  right: -16px;
}
.ui-resizable-nw, .ui-resizable-sw, .ui-resizable-se {
  visibility: hidden;
}
.ui-rotatable-handle {
  background: #f5dc58;
  border: 1px solid #FFF;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-border-radius: 5px;
  cursor: pointer;
  height: 10px;
  left: 50%;
  margin: 0 0 0 -5px;
  position: absolute;
  top: -5px;
  width: 10px;
}
.ui-rotatable-handle.ui-draggable-dragging {
  visibility: hidden;
}
.nopadding {
  padding: 0 !important;
  margin: 0 !important;
}
.center {
  display: table-cell;
  vertical-align: middle;
  float: none;
}


/* ======================================== CURSORS======================================== */

/* English */
.ds-cursor.sigcursor {
  cursor: url("static/img/cursor_sig.cur"), url("../img/cursor_sig.cur"), auto; /* IE */
  cursor: url("../img/cursor_sig.png") 0 0, url("../img/cursor_sig.cur"), auto; /* others and Edge */
}

.ds-cursor.textcursor {
  cursor: url("static/img/cursor_text.cur"), url("../img/cursor_text.cur"), auto;
  cursor: url("../img/cursor_text.png") 0 0, url("../img/cursor_text.cur"), auto;
}

.ds-cursor.datecursor {
  cursor: url("static/img/cursor_date.cur"), url("../img/cursor_date.cur"), auto;
  cursor: url("../img/cursor_date.png") 0 0, url("../img/cursor_date.cur"), auto;
}

.ds-cursor.initialscursor {
  cursor: url("static/img/cursor_initials.cur"), url("../img/cursor_initials.cur"), auto;
  cursor: url("../img/cursor_initials.png") 0 0, url("../img/cursor_initials.cur"), auto;
}

.ds-cursor.checkcursor {
  cursor: url("static/img/cursor_check.cur"), url("../img/cursor_check.cur"), auto;
  cursor: url("../img/cursor_check.png") 0 0, url("../img/cursor_check.cur"), auto;
}

.ds-cursor.signfieldcursor {
  cursor: url("static/img/cursor_sig_field.cur"), url("../img/cursor_sig_field.cur"), auto;
  cursor: url("../img/cursor_sig_field.png") 0 0, url("../img/cursor_sig_field.cur"), auto;
}

.ds-cursor.datefieldcursor {
  cursor: url("static/img/cursor_date_field.cur"), url("../img/cursor_date_field.cur"), auto;
  cursor: url("../img/cursor_date_field.png") 0 0, url("../img/cursor_date_field.cur"), auto;
}

.ds-cursor.textfieldcursor {
  cursor: url("static/img/cursor_text_field.cur"), url("../img/cursor_text_field.cur"), auto;
  cursor: url("../img/cursor_text_field.png") 0 0, url("../img/cursor_text_field.cur"), auto;
}

.ds-cursor.titlefieldcursor {
  cursor: url("static/img/cursor_title_field.cur"), url("../img/cursor_title_field.cur"), auto;
  cursor: url("../img/cursor_title_field.png") 0 0, url("../img/cursor_title_field.cur"), auto;
}

.ds-cursor.namefieldcursor {
  cursor: url("static/img/cursor_name_field.cur"), url("../img/cursor_name_field.cur"), auto;
  cursor: url("../img/cursor_name_field.png") 0 0, url("../img/cursor_name_field.cur"), auto;
}

.ds-cursor.companyfieldcursor {
  cursor: url("static/img/cursor_company_field.cur"), url("../img/cursor_company_field.cur"), auto;
  cursor: url("../img/cursor_company_field.png") 0 0, url("../img/cursor_company_field.cur"), auto;
}

.ds-cursor.emailfieldcursor {
  cursor: url("static/img/cursor_email_field.cur"), url("../img/cursor_email_field.cur"), auto;
  cursor: url("../img/cursor_email_field.png") 0 0, url("../img/cursor_email_field.cur"), auto;
}

.ds-cursor.initialsfieldcursor {
  cursor: url("static/img/cursor_initials_field.cur"), url("../img/cursor_initials_field.cur"), auto;
  cursor: url("../img/cursor_initials_field.png") 0 0, url("../img/cursor_initials_field.cur"), auto;
}

.ds-cursor.checkboxfieldcursor {
  cursor: url("static/img/cursor_checkbox_field.cur"), url("../img/cursor_checkbox_field.cur"), auto;
  cursor: url("../img/cursor_checkbox_field.png") 0 0, url("../img/cursor_checkbox_field.cur"), auto;
}

.ds-cursor.radiofieldcursor {
  cursor: url("static/img/cursor_radio_field.cur"), url("../img/cursor_radio_field.cur"), auto;
  cursor: url("../img/cursor_radio_field.png") 0 0, url("../img/cursor_radio_field.cur"), auto;
}

.ds-cursor.dropdownfieldcursor {
  cursor: url("static/img/cursor_dropdown_field.cur"), url("../img/cursor_dropdown_field.cur"), auto;
  cursor: url("../img/cursor_dropdown_field.png") 0 0, url("../img/cursor_dropdown_field.cur"), auto;
}

.ds-cursor.attachmentfieldcursor {
  cursor: url("static/img/cursor_attachment_field.cur"), url("../img/cursor_attachment_field.cur"), auto;
  cursor: url("../img/cursor_attachment_field.png") 0 0, url("../img/cursor_attachment_field.cur"), auto;
}

/* German */
.ds-cursor.de.sigcursor {
  cursor: url("static/img/cursor_sig_de.cur"), url("../img/cursor_sig_de.cur"), auto;
  cursor: url("../img/cursor_sig_de.png") 0 0, url("../img/cursor_sig_de.cur"), auto;
}

.ds-cursor.de.textcursor {
  cursor: url("static/img/cursor_text_de.cur"), url("../img/cursor_text_de.cur"), auto; /* IE */
  cursor: url("../img/cursor_text_de.png") 0 0, url("../img/cursor_text_de.cur"), auto;  /* others and Edge */
}

.ds-cursor.de.datecursor {
  cursor: url("static/img/cursor_date_de.cur"), url("../img/cursor_date_de.cur"), auto;
  cursor: url("../img/cursor_date_de.png") 0 0, url("../img/cursor_date_de.cur"), auto;
}

.ds-cursor.de.initialscursor {
  cursor: url("static/img/cursor_initials_de.cur"), url("../img/cursor_initials_de.cur"), auto;
  cursor: url("../img/cursor_initials_de.png") 0 0, url("../img/cursor_initials_de.cur"), auto;
}

.ds-cursor.de.checkcursor {
  cursor: url("static/img/cursor_check_de.cur"), url("../img/cursor_check_de.cur"), auto;
  cursor: url("../img/cursor_check_de.png") 0 0, url("../img/cursor_check_de.cur"), auto;
}

.ds-cursor.de.signfieldcursor {
  cursor: url("static/img/cursor_sig_field_de.cur"), url("../img/cursor_sig_field_de.cur"), auto;
  cursor: url("../img/cursor_sig_field_de.png") 0 0, url("../img/cursor_sig_field_de.cur"), auto;
}

.ds-cursor.de.datefieldcursor {
  cursor: url("static/img/cursor_date_field_de.cur"), url("../img/cursor_date_field_de.cur"), auto;
  cursor: url("../img/cursor_date_field_de.png") 0 0, url("../img/cursor_date_field_de.cur"), auto;
}

.ds-cursor.de.textfieldcursor {
  cursor: url("static/img/cursor_text_field_de.cur"), url("../img/cursor_text_field_de.cur"), auto;
  cursor: url("../img/cursor_text_field_de.png") 0 0, url("../img/cursor_text_field_de.cur"), auto;
}

.ds-cursor.de.titlefieldcursor {
  cursor: url("static/img/cursor_title_field_de.cur"), url("../img/cursor_title_field_de.cur"), auto;
  cursor: url("../img/cursor_title_field_de.png") 0 0, url("../img/cursor_title_field_de.cur"), auto;
}

.ds-cursor.de.namefieldcursor {
  cursor: url("static/img/cursor_name_field_de.cur"), url("../img/cursor_name_field_de.cur"), auto;
  cursor: url("../img/cursor_name_field_de.png") 0 0, url("../img/cursor_name_field_de.cur"), auto;
}

.ds-cursor.de.companyfieldcursor {
  cursor: url("static/img/cursor_company_field_de.cur"), url("../img/cursor_company_field_de.cur"), auto;
  cursor: url("../img/cursor_company_field_de.png") 0 0, url("../img/cursor_company_field_de.cur"), auto;
}

.ds-cursor.de.emailfieldcursor {
  cursor: url("static/img/cursor_email_field_de.cur"), url("../img/cursor_email_field_de.cur"), auto;
  cursor: url("../img/cursor_email_field_de.png") 0 0, url("../img/cursor_email_field_de.cur"), auto;
}

.ds-cursor.de.initialsfieldcursor {
  cursor: url("static/img/cursor_initials_field_de.cur"), url("../img/cursor_initials_field_de.cur"), auto;
  cursor: url("../img/cursor_initials_field_de.png") 0 0, url("../img/cursor_initials_field_de.cur"), auto;
}

.ds-cursor.de.checkboxfieldcursor {
  cursor: url("static/img/cursor_checkbox_field_de.cur"), url("../img/cursor_checkbox_field_de.cur"), auto;
  cursor: url("../img/cursor_checkbox_field_de.png") 0 0, url("../img/cursor_checkbox_field_de.cur"), auto;
}

.ds-cursor.de.radiofieldcursor {
  cursor: url("static/img/cursor_radio_field_de.cur"), url("../img/cursor_radio_field_de.cur"), auto;
  cursor: url("../img/cursor_radio_field_de.png") 0 0, url("../img/cursor_radio_field_de.cur"), auto;
}

.ds-cursor.de.dropdownfieldcursor {
  cursor: url("static/img/cursor_dropdown_field_de.cur"), url("../img/cursor_dropdown_field_de.cur"), auto;
  cursor: url("../img/cursor_dropdown_field_de.png") 0 0, url("../img/cursor_dropdown_field_de.cur"), auto;
}

.ds-cursor.de.attachmentfieldcursor {
  cursor: url("static/img/cursor_attachment_field_de.cur"), url("../img/cursor_attachment_field_de.cur"), auto;
  cursor: url("../img/cursor_attachment_field_de.png") 0 0, url("../img/cursor_attachment_field_de.cur"), auto;
}

/* ======================================== MODAL DIALOGS ======================================== */

.modal-backdrop {
  background: url("../img/modalbg.png");
}
.modal-backdrop.in {
  opacity: 0.8;
}

.modal.fade .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.modal-content .modal-header {
  height: 275px;
  overflow: hidden;
  padding: 10px 10px 0px 10px;
  cursor: pointer;
  background: url("../img/modalheader_small.png") 50% top repeat-x;
  border-radius: 2px 2px 0 0;
  border-bottom: none;
}
.modal-content .modal-header h3.modal-title {
  color: #0070a3;
  font-size: 14px;
  line-height: 14px;
}
.modal-content .nav > li > a {
  padding: 5px 10px;
}
.modal-content .tab-content {
  padding-top: 20px;
  position: relative;
}
.single-tab {
  height: 100%;
}
.tab-content.single-tab {
  padding-top: 0;
}

.tab-content.single-tab .signature-text-input{
  margin-top: 20px;
}

.modal-content .tab-content .uploadwrapper {
  /*padding-top: 66px;*/
}
.tab-upload-wrapper-flex {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tab-draw-wrapper-flex {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.modal-content .tab-content .hiddenfile {
  width: 0px;
  height: 0px;
  overflow: hidden;
}
/*.modal-content .tab-content .col-md-4 {*/
  /*padding-left: 10px;*/
  /*padding-right: 10px;*/
/*}*/
/*.modal-content .tab-content .col-md-4:first-child {*/
  /*padding-left: 15px;*/
  /*padding-right: 0px;*/
/*}*/
/*.modal-content .tab-content .col-md-4:last-child {*/
  /*padding-left: 0px;*/
  /*padding-right: 15px;*/
/*}*/
.modal-content .tab-content .removeuploadbtn {
  position: absolute;
  top: 5px;
  right: 5px;
  text-decoration: underline;
  color: #000000 !important;
  text-transform: uppercase;
}
.modal-content .tab-content .textinput {
  margin: 0px;
}
.modal-content .tab-content .preview {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  height: 100%;
  display: block;
  /*word-wrap:break-word;*/
  cursor: pointer;
  padding: 12px 10px;
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 36px;
  border: 1px solid #aed0ea;
  border-radius: 2px;
}
.modal-content .tab-content .preview.active {
  border: 1px solid #aed0ea;
  background: #e0f2ff;
}
.modal-content .tab-content .clearButton {
  position: absolute;
  display: block;
  top: 2px;
  right: 8px;
}

.modal-content .tab-content .clearButton a {
  color: #000000 !important;
  text-decoration: underline;
  text-transform: uppercase;
}
.modal-content .tab-content .sigPad {
  width: auto !important;
  height: 200px;
  background: #fafafa;
}
.modal-content .tab-content .sigPad .sigWrapper.current {
  /*border-color: #e5e5e5;*/
  /*float: left;*/
}
.sigPad-h-center {
  max-width: 90vw;
  height: 200px;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  position: relative;
}

.sigPad-v-bottom {
  border: solid 1px #e5e5e5;
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
  margin-top: 8px;
  margin-bottom: 8px;
}

.xIco {
  position: absolute;
  bottom: 5px;
  left: 8px;
  display: inline-block;
  cursor: default;
}
.modal-content .tab-content .sigPad .pad {
  /*top: 5px;*/
}
.modal-content .modal-footer {
  background: url("../img/bgmodal.png") 50% top repeat-x;
  border-radius: 0 0 2px 2px;
  padding: 15px;
}
.modalDialogButtonsFooter {
    background: #FFF;
    border-radius: 0 0 2px 2px;
    padding: 20px;
}

/* radius of dialogs */
.modal-content {
  border-radius: 2px;
}

/* radius of fields */
.form-control {
  border-radius: 2px;
  border-color: #AED0EA;
  color: #362B36;
}

/* tabs */
.nav-tabs > li > a {
  border-radius: 2px 2px 0 0;
  font-weight: 500;
  text-transform: uppercase;
}

/* backdrop (background behind modal dialog) */
.modal-backdrop {
    background: #444444;
}
.modal-backdrop.in {
    opacity: 0.4;
    filter: alpha(opacity=40);
}


/* iOS fix (https://github.com/twbs/bootstrap/issues/9023) */
.modal-ios {
    position: absolute;
    overflow: visible
}

.checkboxImage, .checkboxImage img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.checkboxImage img {
  display: block;
  height: 100%;
  width: 100%;
}
.radioImage, .radioImage img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.radioImage img {
  display: block;
  height: 100%;
  width: 100%;
}


/* CSS checkboxes (generated from http://www.csscheckbox.com/css-checkbox-generator.php) */

input[type=checkbox].css-checkbox {
  position: absolute;
  z-index: -1000;
  left: -1000px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

input[type=checkbox].css-checkbox+label.css-label {
  padding-left: 25px;
  padding-right: 5px;
  height: 18px;
  display: inline-block;
  line-height: 18px;
  background-repeat: no-repeat;
  background-position: 0 0;
  vertical-align: middle;
  cursor: pointer;
}


input[type=checkbox].css-checkbox:checked+label.css-label {
  background-position: 0 -18px;
}

label.css-label {
  background-image: url(../img/css_checkbox.png);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* label */
label {
  display: inline-block;
  margin-bottom: 0px;
  font-weight: normal;
}


/* ======================================== SIGNATURE PAD ======================================== */

/* centers modal dialog horizontally and vertically */
.signatureDialog .modal-dialog {
  width: 900px;
  margin-left: -450px;
  position: absolute;
  left: 50%;
  height: 346px;
  top: 50%;
  margin-top: -174px;
}

.nav-tabs {
  padding-top: 1px;
  border-bottom-color: #ddd;
}

.signature {
  overflow: hidden;
  cursor: move;
  position: absolute;
  width: 100px;
  height: 60px;
  background-size: 100px 60px;
  top: 0;
  left: 0;
}

canvas {
  position: relative;
}
canvas#uploadcanvas {
  max-height: 220px;
}

.modal-content .modal-header {
  height: calc(100% - 61px);
}

.modal-header .tabset {
  height: 100%;
}

.modal-header .tabset .tab-content {
  height: calc(100% - 32px);
}

.modal-header .tabset .tab-content .tab-pane {
  height: 100%;
}

.digisign-tab-content {
  height: 100%;
}

.modal-content .tab-content .sigPad .sigWrapper.current {
  float: unset;
  height: 200px;
}

.signatureDialog .modal-content {
  height: 100%;
}

.signatureDialog  .modal-footer {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}



/* FONTS IN TEXT TAB */

.cedarville_cursive {
  font-family: 'Cedarville Cursive', cursive;
}
.kristi {
  font-family: 'Kristi', cursive;
}
.mr_dafoe {
  font-family: 'Mr Dafoe', cursive;
}
.sacramento {
  font-family: 'Sacramento', cursive;
}
.montez {
  font-family: 'Montez', cursive;
}
.reenie_beanie {
  font-family: 'Reenie Beanie', cursive;
}

/* ======================================== FIELD PROPERTIES DIALOG ======================================== */

.sigPad {
  margin: 0;
  padding: 0;
  width: 502px;
}
.sigPad label {
  display: block;
  margin: 0 0 0.515em;
  padding: 0;
  color: #000;
  font: italic normal 1em/1.375 Georgia, Times, serif;
}
.sigPad label.error {
  color: #f33;
}
.sigPad input {
  margin: 0;
  padding: 0.2em 0;
  width: 198px;
  border: 1px solid #666;
  font-size: 1em;
}
.sigPad input.error {
  border-color: #f33;
}
.sigPad button {
  margin: 1em 0 0 0;
  padding: 0.6em 0.6em 0.7em;
  background-color: #ccc;
  border: 0;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: #555;
  font: bold 1em/1.375 sans-serif;
  text-align: left;
}
.sigPad button:hover {
  background-color: #333;
  color: #fff;
}
.sig {
  display: none;
}
.sigNav {
  display: none;
  height: 2.25em;
  margin: 0;
  padding: 0;
  position: relative;
  list-style-type: none;
}
.sigNav li {
  display: inline;
  float: left;
  margin: 0;
  padding: 0;
}
.sigNav a,
.sigNav a:link,
.sigNav a:visited {
  display: block;
  margin: 0;
  padding: 0 0.6em;
  border: 0;
  color: #333;
  font-weight: 500;
  line-height: 2.25em;
  text-decoration: underline;
}
.sigNav a.current,
.sigNav a.current:link,
.sigNav a.current:visited {
  background-color: #666;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  border-radius: 8px 8px 0 0;
  color: #fff;
  text-decoration: none;
}
.sigNav .typeIt a.current,
.sigNav .typeIt a.current:link,
.sigNav .typeIt a.current:visited {
  background-color: #ccc;
  color: #555;
}
.sigNav .clearButton {
  bottom: 0.2em;
  display: none;
  position: absolute;
  right: 0;
  font-size: 0.75em;
  line-height: 1.375;
}
.sigWrapper {
  clear: both;
  /*height: 55px;*/
  /*border: 1px solid #ccc;*/
  height: 200px;
}
.sigWrapper.current {
  /*border-color: #666;*/
}
.signed .sigWrapper {
  border: 0;
}
.pad {
  position: relative;

  -ms-touch-action: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.cursor0 {
    /**
    * For cross browser compatibility, this should be an absolute URL
    * In IE the cursor is relative to the HTML document
    * In all other browsers the cursor is relative to the CSS file
    *
    * http://www.useragentman.com/blog/2011/12/21/cross-browser-css-cursor-images-in-depth/
    */
    cursor: url("static/css/pen_0.cur"), url("pen_0.cur"), crosshair;
    /**
     * IE will ignore this line because of the hotspot position
     * Unfortunately we need this twice, because some browsers ignore the hotspot inside the .cur
     */
    cursor: url("pen_0.cur") 16 16, crosshair;
}
.cursor1 {
    cursor: url("static/css/pen_1.cur"), url("pen_1.cur"), crosshair;
    cursor: url("pen_1.cur") 16 16, crosshair;
}
.cursor2 {
    cursor: url("static/css/pen_2.cur"), url("pen_2.cur"), crosshair;
    cursor: url("pen_2.cur") 16 16, crosshair;
}
.typed {
  height: 55px;
  margin: 0;
  padding: 0 5px;
  position: absolute;
  z-index: 90;
  cursor: default;
  color: #145394;
  font: normal 1.875em/50px "Journal", Georgia, Times, serif;
}
.typeItDesc,
.drawItDesc {
  display: none;
  margin: 0.75em 0 0.515em;
  padding: 0.515em 0 0;
  border-top: 3px solid #ccc;
  color: #000;
  font: italic normal 1em/1.375 Georgia, Times, serif;
}
p.error {
  display: block;
  margin: 0.5em 0;
  padding: 0.4em;
  background-color: #f33;
  color: #fff;
  font-weight: 500;
}

/* ======================================== FIELD PROPERTIES DIALOG ======================================== */
.prefilled-text textarea {
  overflow-y: auto;
}

.signerRoleModalDialog {
  width: 400px;
  height: 200px;
  max-width: 100%;
  position: absolute;
  /*left: 50%;*/
  /*margin-left: -200px;*/
  margin-left: auto;
  margin-right: auto;
  top: calc(50% - 100px);
  /*margin-top: -100px;*/
}

/*ie 11 signer dialog issue*/
_:-ms-fullscreen, :root .signerRoleModalDialog {
  width: auto;
  height: auto;
}

_:-ms-fullscreen, :root .signerRoleModalDialog .modal-dialog {
  width: 400px;
  height: 161px;
}

_:-ms-fullscreen, :root .signerRoleModalDialog .modal-content {
  width: 400px;
  height: 161px;
}



/*-------------------   HEADER  ------------------*/

.modalFieldHeader {
    overflow: hidden;
    padding: 10px 15px 10px 15px;
    cursor: pointer;
    background: url("../img/modalheader_small.png") 50% top repeat-x #FFF;
    border-radius: 2px 2px 0 0;
    border-bottom: none;
}

.modalFieldHeader {
    /*border-bottom: 1px solid #e5e5e5;*/
}
.modalFieldHeader .close {
    margin-top: -2px;
}

.modalFieldHeader .header {
  float: left;
  font-weight: 500;
  padding-top: 3px;
  text-transform: uppercase;
}

/* checkbox */
input[type=checkbox].isRequiredCheckbox {
  position: absolute;
  z-index: -1000;
  left: -1000px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

input[type=checkbox].isRequiredCheckbox+label.isRequiredLabel {
  padding-left: 23px;
  height: 18px;
  display: inline-block;
  line-height: 18px;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 18px;
  vertical-align: middle;
  cursor: pointer;
}

input[type=checkbox].isRequiredCheckbox:checked+label.isRequiredLabel {
  background-position: 0 -18px;
}

label.isRequiredLabel {
  background-image: url(http://csscheckbox.com/checkboxes/u/csscheckbox_81bebde528292322eaf7c6ccbc6ad557.png);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*-------------------   ADD/RENAME SIGNER DIALOG  ------------------*/

.modalFieldNewRoleContent {
  padding: 0 20px;
}

.modalFieldNewRoleContent .roleInput {
  clear: both;
  padding-top: 20px;
}


/* ======================================== INFO DIALOG ======================================== */

.modalInfoDialog {
  padding-left: 5%;
  padding-right: 5%;
}

.modalInfoDialog .modal-dialog {
  position: static;
  height: 100%;
  width: 100%;
  max-width: 350px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

.modalInfoDialogWithFields .modal-dialog {
  /*margin-left: -84px;*/
}

.modalInfoDialogHeader {
    padding: 15px 15px 0 15px;
    border-bottom: 1px solid #e5e5e5;
}
.modalInfoDialogHeader .close {
    margin-top: -2px;
}
.modal-content .modalInfoDialogHeader {
    overflow: hidden;
    padding: 10px 15px 0px 15px;
    cursor: pointer;
    background: url("../img/modalheader_small.png") 50% top repeat-x #FFF;
    border-radius: 2px 2px 0 0;
    border-bottom: none;
}
.modal-content .modalInfoDialogHeader h3.modalInfoDialogHeader {
    color: #0070a3;
    font-size: 14px;
    line-height: 14px;
}
.modalInfoDialogHeader .header {
    float: left;
    font-weight: 500;
    padding-top: 3px;
    text-transform: uppercase;
}
.modalInfoDialogHeader .messageText {
    clear: both;
    padding-top: 20px;
}
.modalInfoDialogHeader .roleName {
    clear: both;
    font-weight: 500;
    padding-top: 5px;
}
.modalInfoDialogHeader .roleInput {
    padding-top: 5px;
}


/* ======================================== STATUS DIALOG ======================================== */

.statusDialog .modal-dialog {
    width: 260px;
    position: absolute;
    left: 50%;
    margin-left: -130px;
    height: 83px;
    top: 50%;
    margin-top: -42px;
}

.modal-content .modal-status-header {
    overflow: hidden;
    padding: 10px;
    background: url("../img/modalheader_small.png") 50% top repeat-x;
    border-radius: 2px 2px 0 0;
    border-bottom: none;
    font-weight: 500;
    text-transform: uppercase;
}

.modal-content .modal-status-content {
    padding: 15px;
}

/* ======================================== FOR ALL MODAL DIALOGS ========================================== */
.dialogEmbedded .modal-dialog {
    top: 35%;
}

/* ======================================== ERROR MESSAGES PRIMEFACES 5.3 STYLE ============================= */
.ui-widget {
    font-family: Lucida Grande, Lucida Sans, Arial, sans-serif;
    font-size: 1.1em;
}

.ui-widget .ui-widget {
    font-size: 1em;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: Lucida Grande, Lucida Sans, Arial, sans-serif;
    font-size: 1em;
}

.ui-widget, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
  font-family: "Open Sans",sans-serif;
}

.ui-corner-all {
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.ui-messages-info-detail,
.ui-messages-warn-detail,
.ui-messages-error-detail,
.ui-messages-fatal-detail,
.ui-message-info-detail,
.ui-message-warn-detail,
.ui-message-error-detail,
.ui-message-fatal-detail {
    margin-left: 5px;
}

.ui-messages-info-icon,
.ui-messages-warn-icon,
.ui-messages-error-icon,
.ui-messages-fatal-icon,
.ui-message-info-icon,
.ui-message-warn-icon,
.ui-message-error-icon,
.ui-message-fatal-icon {
    background: url("../img/messages.png") no-repeat;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    position: relative;
    margin-top: 1px;
}

.ui-message-error-icon {
    background-position: 0 -96px;
}

.ui-message-info-icon,
.ui-message-warn-icon,
.ui-message-error-icon,
.ui-message-fatal-icon {
    height: 16px;
    width: 16px;
    margin-top: 2px;
}

.ui-message-info,
.ui-message-error,
.ui-message-warn,
.ui-message-fatal {
    border: 1px solid;;
    margin-top: 10px;
    padding: 2px 5px;
}

.ui-messages-info-summary,
.ui-messages-warn-summary,
.ui-messages-error-summary,
.ui-messages-fatal-summary,
.ui-message-info-summary,
.ui-message-warn-summary,
.ui-message-error-summary,
.ui-message-fatal-summary {
    margin-left: 10px;
    font-weight: 500;
}

.ui-messages-error, .ui-message-error {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
}

.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error,
.ui-state-error:focus{
  border: 1px solid #cd0a0a;
}

.scalable-panel {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: solid 2px transparent; /* do not remove. otherwise sometimes we face weird issue on ipad in portrait orientation - document gets cutted from above in scaled mode*/
}

.scalable-panel-inner {
  position: relative;
}

.scalable-panel-content {
}

.digisign-popover {
  display: block;
  visibility: hidden;
  position: fixed;
  opacity: 0;
  transition: opacity 0.2s linear;
  max-width: 1024px;
  border-radius: 0;
  background-color: #fafafa;
  top: auto;
  z-index: 1031;
}

.digisign-popover.bottom .arrow:after {
  border-bottom-color: #fafafa;
}

.digisign-popover.top .arrow:after {
  border-top-color: #fafafa;
}

.digisign-popover.left .arrow:after {
  border-left-color: #fafafa;
}

.digisign-popover.right .arrow:after {
  border-right-color: #fafafa;
}


.digisign-popover .popover-inner {
  overflow-y: auto;
}

.digisign-popover-visible {
  visibility: visible;
  opacity: 1;
}

.digisign-doc-popup {
}

.popover-content {
  padding: 15px;
}

.digisign-doc-popup-items {
  width: 192px;
  /*padding-top: 5px;*/
}

.digisign-doc-popup-item {
  display: inline-block;
  width: 64px;
  height: 64px;
  padding-top: 12px;
  text-align: center;
}

.digisign-doc-popup-item {
  color: black;
}

.digisign-doc-popup-item:hover {
  /*color: #2779AA;*/
}

.digisign-doc-popup-item i {
  height: 25px;
  font-size: 24px;
}

.digisign-doc-popup-item .text {
  font-size: 10px;
  font-weight: 500;
}

.digisign-doc-popup-item img{
  height: 25px;
}

.m-t-15 {
  margin-top: 15px;
}

.m-t-8 {
  margin-top: 8px;
}

.m-t-0 {
  margin-top: 0;
}

.p-b-8 {
  padding-bottom: 8px;
}

.m-b-8 {
  margin-bottom: 8px;
}

.validation-err-msg {
  margin-bottom: 15px;
  margin-top: -8px;
}

/* dialogs on touch devices under 992px width */
@media (max-width: 992px) {
  /*asdf */
  .signatureDialog .modal-dialog {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    height: unset;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    position: absolute;
  }

  /*.signerRoleModalDialog {*/
  /*width: 100%;*/
  /*margin-left: 0;*/
  /*}*/
  /*.signerRoleModalDialog .modal-dialog {*/
  /*display: flex;*/
  /*flex-direction: column;*/
  /*justify-content: center;*/
  /*}*/
  /*.signerRoleModalDialog .modal-dialog .modal-content{*/
  /*overflow-y: auto;*/
  /*}*/
  .textEditModalDialog .modal-dialog {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 350px) {
  .modal-footer .left-side .greenColour, .modal-footer .left-side .blueColour {
    margin-left: 12px;
  }
}


@media (max-height: 360px) {
  .modal-content .tab-content .preview {
    padding: 2px 10px;
    font-size: 16px;
  }
}

.document-area {
  position: relative;
}

.ds-toolbar {
 height: 38px;
 padding-top: 4px;
 padding-bottom: 2px;
 background: transparent;
 display: flex;
 flex-direction: row;
 justify-content: center;
}

.ds-toolbar .btn-download {
  display: block;
  margin-right: 9px;
  margin-top: 3px;
  width: 28px;
  height: 28px;
}

.ds-toolbar .btn-download-container {
  border-right: solid 1px rgba(127,127,127,0.31);
}

.ds-toolbar .btn-download img {
  width: 20px;
  height: 20px;
  opacity: 0.75;
}

.ds-toolbar .btn-download,
.ds-toolbar .btn-download:hover {
    border: none;
}

.touch-device .buttonsBlock {
  top: 0;
  height:calc(100% + 8px);
  margin-top: -8px;
}

.touch-device .scalable-panel {
  margin-top: 8px;
}

.ds-toolbar .ds-scale-selector {
    display: block;
}

.fit-item {
    border-top: 0.5px solid  rgba(79,79,79,0.25);
}

.ds-select-wrapper {
  width: 100%;
}

.ds-select-wrapper .btn,
.ds-select-wrapper .btn.dropdown-toggle,
.ds-select-wrapper .btn:active,
.ds-select-wrapper .btn:hover,
.ds-select-wrapper .btn:focus,
.ds-select-wrapper .btn:focus:hover {
    font-weight: 400;
    color: #4e4e4e;
    box-shadow: none;
    background: transparent;
    border: none;
    text-transform: none;
    text-align: left;
    position: relative;
    padding-right: 12px;
    overflow: hidden;
}

.ds-select-wrapper li a {
    color: #4E4E4E;
    margin-left: 0px;
    margin-top: 8px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 8px;
}

.ds-select-wrapper li a.pl {
  padding-left: 32px;
}


.ds-select-wrapper li.selected a:before {
    content: '';
    width: 4px;
    height: 8px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 4px);
    left: 14px;
}


.ds-select-wrapper .caret {
  position: absolute;
  right: 0;
  top: calc(50% - 2px);
}

.ds-scale-selector {
    padding-left: 8px;
    margin-right: 16px;
}

/*to extend resize handler's area, but to keep his old view*/
.ui-resizable-handle {
  background-color: transparent;
  border: none;
  width: 16px;
  height: 16px;
}
.touch-device .ui-resizable-handle {
  width: 20px;
  height: 20px;
  transform: scale(2);
}

.ui-resizable-handle:before {
  display: block;
  content: "";
  background: white;
  border: 1px solid #a0a0a0;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
}

.ui-resizable-handle.ui-resizable-nw:before {
  right: 0;
  bottom: 0;
}

.ui-resizable-handle.ui-resizable-sw:before {
  right: 0;
  top: 0;
}

.ui-resizable-handle.ui-resizable-se:before {
  left: 0;
  top: 0;
}
.ds-hamburger {
  display: none;
  position: absolute;
  right: 8px;
  top: 5px;
  height: 30px;
}

.ds-hamburger .btn-group{
  height: 100%;
}

@media (max-width: 768px) {
  .ds-hamburger {
    display: block;
  }
}

.ds-hamburger .dropdown-menu {
  font-size: 14.4px;
  -webkit-transition: height 0.3s;
  -moz-transition: height 0.3s;
  -ms-transition: height 0.3s;
  -o-transition: height 0.3s;
  transition: height 0.3s;
  /*sometimes opacity does not get animated for unknown reasons*/
  /*-webkit-transition: height 0.3s, opacity 0.3s;*/
  /*-moz-transition: height 0.3s, opacity 0.3s;*/
  /*-ms-transition: height 0.3s, opacity 0.3s;*/
  /*-o-transition: height 0.3s, opacity 0.3s;*/
  /*transition: height 0.3s, opacity 0.3s;*/

  /*opacity: 0;*/
  /*height: 0;*/

  overflow: hidden;
}

.ds-hamburger .open>.dropdown-menu {

  /*display: flex;*/
  /*flex-direction: column;*/
  /*justify-content: center;*/
  /*align-content: center;*/
  /*text-align: left;*/


  /*left: 0;*/
  left: auto;
  width: 262px;
  right: 0;
  /*padding-left: 10px;*/
  /*padding-right: 10px;*/
  padding: 10px;
  /*position: fixed;*/
  border-radius: 0;
  /*top: 40px;*/
  /*border-top: 1px solid pink;*/
  border-left: none;
  border-right: none;
  /*background: rgb(249, 250, 251);*/
  background: white;
  overflow: hidden;

  /*opacity: 1;*/
  /*height: 96px;*/

}

.ds-hamburger .open>.dropdown-menu.en {

}

.ds-hamburger .open>.dropdown-menu li:not(:last-child) {
  margin-bottom: 8px;
}

.ds-hamburger img {
  width: 20px;
  height: 20px;
}

.ds-hamburger a {
  /*color: #4E4E4E;*/
}

.hamburger-menu {
  /*position: relative;*/
  /*padding-left: 1.25em;*/
}
.hamburger-menu:before {
  content: "";
  position: absolute;
  left: 25%;
  top: 8px;
  width: 50%;
  height: 2px;
  background: white;
  box-shadow: 0 5px 0 0 white, 0 10px 0 0 white;
}

button.hamburger-menu {
  padding: 2px;
  font-size: 20px;
  color: #4e4e4e;
  box-shadow: none;
  background: transparent;
  border: none;
  text-transform: none;
  width: 28px;
  height: 30px;
  border: 1px solid transparent;
}

.signerWelcomeDialog.dialogEmbedded button.hamburger-menu,
.signerWelcomeDialog.dialogEmbedded button.hamburger-menu:hover,
.signerWelcomeDialog.dialogEmbedded button.hamburger-menu:focus,
.signerWelcomeDialog.dialogEmbedded button.hamburger-menu:active,
.navBarEmbedded button.hamburger-menu,
.navBarEmbedded button.hamburger-menu:hover,
.navBarEmbedded button.hamburger-menu:focus,
.navBarEmbedded button.hamburger-menu:active {
  color: black;
}

.signerWelcomeDialog.dialogEmbedded button.hamburger-menu:before,
.navBarEmbedded button.hamburger-menu:before {
  background: black;
  box-shadow: 0 5px 0 0 black, 0 10px 0 0 black;
}



button.hamburger-menu,
button.hamburger-menu.dropdown-toggle,
button.hamburger-menu:active,
button.hamburger-menu:hover,
button.hamburger-menu:focus,
button.hamburger-menu:focus:hover {
  box-shadow: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  text-transform: none;
}


button.hamburger-menu[aria-expanded="true"]:focus {
  /*background: #4e4e4ef0;*/
  /*background: rgb(169,217,241);*/
  border: 0.5px solid lightgrey;
  border-radius: 2px;
}


.moreButton .btn-group.open .dropdown-toggle {
   -webkit-box-shadow: none !important;
   box-shadow: none !important;
}


.textEditModalDialog .modal-content {
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
}

/* ipad landscape */
@media (min-width: 1024px) {
  .textEditModalDialog .modal-dialog {
    width: 450px;
    position: absolute;
    left: 50%;
    height: 173px;
    top: 50%;
    margin-left: -225px;
    margin-top: -87px;
  }
}

.textEditDialogBody {
  margin-top: 12px;
  margin-bottom: 10px;
  height: calc(100% - 52px);
  position: relative;
  background: #fafafa;
}

.textEditDialogBody textarea {
  height: 100%;
}

.textEditDialogBody textarea::placeholder {
  text-transform: capitalize;
}

.textEditDialogBody button {
  display: none;
}


/*@media (max-height:175px) {*/

/*.textEditModalDialog .modal-content {*/
  /*height: unset;*/
  /*top: unset;*/
  /*bottom: unset;*/
/*}*/

.textEditDialog textarea{
  width: calc(100% - 130px);
  height: 100%;
  display: inline-block;
}

.textEditDialog.modal-header {
  height: 100%;
  padding: 4px;
  background: #fafafa;
}


.textEditDialog.modal-header .btn-primary {
  /*margin-top: -2px;*/
  height: 32px;
}

.textEditDialog.modal-header .btn-close {
  margin-top: 0px;
  height: 32px;
}

.textEditDialog.modal-footer {
  display: none;
}

.textEditDialog .signDialogHeader {
  display: none;
}

.textEditDialog .textEditDialogBody {
  position: static;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-content: center;
  margin-top: 0px;
  margin-bottom: 0px;
  /*padding-left: 8px;*/
  /*padding-right: 8px;*/
  padding: 6px;
  background: transparent;
}

.textEditDialogBody button {
  margin-left: 8px;
  /*margin-right: 8px;*/
  display: inline-block;
}
/*}*/

.ds-signature {
  position: absolute;
}

.ds-signature:focus {
  /*border: solid 1px yellow;*/
}

.ds-signature textarea:focus {
  /*background: cyan;*/
}


.measureText {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: Arial;
  position: fixed;
  visibility: hidden;
  /*visibility: visible;*/
  /*top: 0;*/
  /*z-index: 2000;*/
  height: auto;
  width: auto;
  white-space: pre;
  line-height: 100%;
  /*overflow-wrap: anywhere;*/
  /*word-break: break-word;*/
}


html.reset-all-cursors *
{
  cursor: inherit !important;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

}


.click-passthrough {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

.cursorMove {
  cursor: move;
}

.cover {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

.l-3 {
  left: 3px;
  /*for text wrapping. value found by experiment. we need to add that padding-right to textarea to make it displaying text
  in same way as div.measureText does it. w/o that padding div and textarea render text slightly differently. we can not use
  textarea to measure the text, because textarea does not grow vertically, it just enables scrolling. */
  /*padding-right: 7.5px;*/
}

/*_:-ms-fullscreen, :root .l-3 {*/
  /*padding-right: 5.5px;*/
/*}*/

.textField:focus {
  /*border: solid 1px red;*/
}

.ui-resizable-handle {
  /*border: solid 1px blue;*/
}

.signerWelcomeDialog {

}

.signerWelcomeDialog .modal-dialog {
  margin: 0;
  width: 100%;
  top: 0 !important;
}

.signerWelcomeDialog .modal-content {
  box-shadow: 0 3px 9px rgba(0,0,0,.5);
  border-color: #666;
}

.signerWelcomeDialog.dialogEmbedded .modal-content {
  box-shadow: none;
  border-color: #999;
}

.signerWelcomeDialog .modal-footer {
  text-align: left;
  background: none;
  padding: 0;
  border: none;
}

.signerWelcomeDialog .modal-footer > * {
  padding: 15px 6px 15px 0px;
}

.signerWelcomeDialog .logoPanelOuter {
  margin: auto;
  max-width: 1112px;
}

.signerWelcomeDialog .logoPanel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*<ie 11>*/
  align-content: flex-start;
  align-items: flex-start;
  /*</ie 11>*/
  max-width: 1150px;
  margin: auto;
  padding-left: 10px;
  padding-top: 15px;
  padding-bottom: 10px;
}

.signerWelcomeDialog .logoPanel img {
  max-width: 200px;
  max-height: 150px;
  /*width: 150px;*/
  /*height: 50px;*/
}

.signerWelcomeDialog .pleaseReviewPanel {
  padding-top: 0;
  font-size: 18px;
  font-weight: bold;
  color: #4E4E4E;
  margin: auto;
  max-width: 1150px;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.signerWelcomeDialog .buttonsPanelOuter {
  background: #3BAAE3;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-right: 6px;
  border-top: solid 1px #2694E8;
  border-bottom: solid 1px #2694E8;
}

.signerWelcomeDialog.dialogEmbedded .buttonsPanelOuter {
  border-color: #B5B5B5;
  background: #D3D3D3;
  color: black;
}

.signerWelcomeDialog .buttonsPanel {
  display: flex;
  color: white;
  flex-direction: row;
  margin: auto;
  max-width: 1150px;
  padding-left: 10px;
}

.signerWelcomeDialog.dialogEmbedded .buttonsPanel {
  color: black;
}

.signerWelcomeDialog.dialogEmbedded .moreButton button, .signerWelcomeDialog.dialogEmbedded .moreButton button:hover{
  color: black !important;
}


@media (max-width: 400px) {
  .signerWelcomeDialog .buttonsPanel {
    font-size: 12px;
  }
}

/*.signerWelcomeDialog .buttonsPanel */
.ds-hamburger {
  position: static;
  display: block;
}

/*.signerWelcomeDialog .buttonsPanel */
.ds-hamburger .dropdown-menu {
  /*top: 100%;*/
  margin-top: 0;
}


.signerWelcomeDialog #getStartedButton {
  margin-left: auto;
  font-size: inherit;
}

.signerWelcomeDialog #getStartedButton[disabled] {
  opacity: 0.8;
}

.signerWelcomeDialog .agreePanel {
  display: flex;
}

.signerWelcomeDialog .agreePanel *{
  margin: auto !important;
}

.signerWelcomeDialog .agreePanel label {
  display: flex !important;
  align-items: center;
}

.signerWelcomeDialog .agreePanel label.css-label {
  background-image: url(../img/css_checkbox_inv_blue.png);
}

.signerWelcomeDialog.dialogEmbedded .agreePanel label.css-label {
  background-image: url(../img/css_checkbox_inv.png);
}

@media (max-width: 340px) {
  .signerWelcomeDialog .agreePanel label.css-label {
    max-height: 35px;
    max-width: 170px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block !important;
  }
}

.moreButton {
  position: relative;
  height: 30px;
}

@media (max-width: 767px) {
  .moreButton button,
  .signerWelcomeDialog.dialogEmbedded .moreButton button,
  .signerWelcomeDialog.dialogEmbedded .moreButton button:hover,
  .navBarEmbedded .moreButton button,
  .navBarEmbedded .moreButton button:hover {
    color: transparent !important;
    overflow: hidden;
  }
}

/*@media (hover: hover), all and (-ms-high-contrast: none), (-ms-high-contrast: active) {*/
@media (min-width: 768px) {
  .moreButton {
    margin-left: 8px;
  }
  .moreButton button,
  .moreButton button:hover,
  .moreButton button:active,
  .moreButton button:focus {
    width: auto;
    font-size: inherit;
    font-weight: 500;
    color: white;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    border: none !important;
    text-transform: uppercase !important;
  }

  .moreButton button:before {
    display: none;
  }

  /*.ds-hamburger .open>.dropdown-menu {*/
    /*position: absolute;*/
    /*right: 0;*/
    /*left: auto;*/
  /*}*/
}

.ds-navbar {
  display: flex;
  /*background: #3BAAE3;*/
  /*color: white;*/
  height: 35px;
  /*overflow: hidden;*/
  flex-direction: row;
  width: 100%;
  max-width: 940px;
  margin: auto;
  padding-left: 10px;
  padding-right: 6px;
  padding-top: 5px;
}

.ds-navbar > * {
  margin-top: auto;
  margin-bottom: auto;
}

.ds-navbar #singButton {
  margin-left: auto;
  height: 30px;
}

.ds-navbar #moreButton {
  height: 30px;
}

.forwardDialog {
  display: flex !important;
  flex-direction: column;
}

.forwardDialog .modal-dialog {
  margin: auto;
  width: 400px;
  max-width: 90%;
  top: 0 !important;
}

@media (max-width : 599px) {
  .forwardDialog .modalFieldHeader {
    font-size: 12px;
    overflow: hidden;
  }

  .forwardDialog .modalFieldHeader .header{
    max-width: 90%;
  }
}

.forwardDialog textarea {
  height: 90px;
}

.forwardDialog .form-group label {
  margin-bottom: 8px;
}

@media (max-height: 320px) {
  .forwardDialog textarea {
    height: 50px;
  }
}


.capitalizeLabel .fieldSignInput, .capitalizeLabel .fieldRole {
  text-transform: capitalize;
}

#signatureTextInput::-ms-clear {
  display: none;
}

.m-b-0 {
  margin-bottom: 0;
}

.m-b-8 {
  margin-bottom: 8px;
}

.font-arial {
  font-family: Arial;
}

.dropdown-menu>li>a.ui-button-text {
  border: 1px solid #aed0ea;
  background: #EDF5F9 ;
  font-weight: 500;
  color: #2779aa;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  padding: 0.3em 1em ;
  cursor: pointer;
}

.dropdown-menu>li>a.ui-button-text:hover {
  background: white;
}

.signers-buttons {
	/*margin-top: 20px;*/
	/*margin-bottom: 20px;*/
}

.buttonsBlock .signers-buttons {
  margin-top: 20px;
  margin-bottom: 20px;
}

.signers-buttons .signers-list button,
.signers-buttons .signers-list button:active,
.signers-buttons .signers-list button:focus {
  left: 0;
  border-radius: 2px;
  padding-left: 8px;
  width: 100%;
  background: transparent !important;
  border: 1px solid #D5D5D5 !important;
}

.signers-buttons .signers-list button .caret {
  right: 8px;
}

.signers-buttons .signers-list .dropdown-menu {
  width: fit-content;
  padding: 0px;
}

.roleItem {
  width: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
}

button .roleItem {
  width: calc(100% - 8px);
}

.edit-signers-link {
	display: block;
  margin-top: 6px;
  margin-left: 4px;
  color: #4E4E4E;
  text-decoration: underline;
}

.editSignersDialog {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

.editSignersDialog .modal-dialog {
  margin-left: auto;
  margin-right: auto;
  width: 560px;
  max-width: 95%;
}

.editSignersDialog .modal-content {
  max-height: 100vh;
}

.editSignersDialog .modal-form {
  max-height: 95vh;
  overflow-y: auto;
}

.m-b-0 {
  margin-bottom: 0;
}

.signerPanel .signerName{
  display: flex;
  flex-direction: row;
  /* justify-content: center; */
  /* align-content: center; */
  align-items: center;
}

.signersPanel .row {
  margin-right: 0;
}

.signerName input:nth-of-type(2) {
  margin-left: 8px;
}

.signerPanel .deleteButtonImage {
  height: 18px;
  /*margin-left: 8px;*/
  cursor: pointer;
}

.signer-delete-icon-wrapper {
  display: flex;
  flex-direction: row;
  justify-items: flex-end;
  justify-content: flex-end;
}




@media (min-width: 520px) {

  .signer-email-field-wrapper input {
    width: calc(100% + 16px);
  }


}

.flex-break {
  flex-basis: 100%;
  height: 0;
}
.checkboxField {
  font-family: arial, Segoe UI Symbol;
}


.selection {
  position: absolute;
  border: dashed 1px grey;
  pointer-events: none;
}

.rot-90 {
  transform: rotate(90deg);
}

.rot-180 {
  transform: rotate(180deg);
}

.rot-270 {
  transform: rotate(270deg);
}

.alignButtons {
  border-left: solid 1px rgba(127,127,127,0.31);
  padding-left: 10px;
}

.alignButtons button{
  margin: 5px;
  padding: 0;
  border: none;
  background: none;
}
.alignButtons button img{
  height: 16px;
  width: 16px;
  opacity: 0.75;
}
.alignButtons.disabled button{
  opacity: 0.5;
}

html {
  -webkit-text-size-adjust: none;
  touch-action: manipulation;
}

#mainview {
  overflow: hidden;
}

.field-buttons button img,
.field-buttons button.btn-primary img,
.field-buttons button img:active,
.field-buttons button img:focus {
  background-color: rgba(28,164,255, 0.5);
}

.ds-dropdown-menu {
  position: fixed;
}

.ds-dropdown-values {
  position: fixed;
}

/*for ie 11*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .ds-dropdown-values {
        position: absolute;
    }
}

.ds-dropdown-values > li > a {
  padding-left: 8px;
}

.dropdown-options-label {
  margin-bottom: 8px;
}

.dropdown-field-filled {
  font-size: 15px !important;
  font-family: Arial;
  color: black !important;
  text-align: left;
  text-transform: none !important;
  bottom: 1.5px;
  letter-spacing: normal !important;
}

.dropdownFieldOptionsPanel textarea {
  /*border: solid 1px rgb(213, 213, 213);*/
  height: 70px;
  margin-bottom: 15px;
  overflow-y: auto;
}

.dropdownFieldOptionsPanel textarea::placeholder {
  text-indent: 0;
}

.dropdown-field.caret {
  position: absolute;
  right: 8px;
  top: calc(50% - 2px);
}

.dropdown-field-value {
  text-align: left;
}

.dropdown-field-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-left: 4px;
  padding-right: 18px;
}


.opacity0 {
  opacity: 0;
}

.d-none {
  display: none;
}

@media (min-width: 520px) {
    .ds-select-autocomplete-wrapper > ul {
        width: calc(100% + 6px);
    }
}

.ds-select-autocomplete-wrapper {
  position: initial;
}

.ds-select-autocomplete-wrapper {
    position: initial;
}

.ds-select-autocomplete-wrapper > ul>.active>a,
.ds-select-autocomplete-wrapper > ul>.active>a:hover,
.ds-select-autocomplete-wrapper > ul>.active>a:focus {
    color: #2779AA !important;
    background-color: #EDF5F9 !important;
}

.ds-select-autocomplete-wrapper > ul {
    width: auto;
    box-shadow: 0 5px 10px rgb(0 0 0 / 80%);
    max-height: 250px;
    overflow: auto;
    margin: 0!important;
    padding: 0 !important;
}

.ds-select-autocomplete-dropdown-item {
    padding: 3px 20px 3px 10px !important;
}

.ds-right-sidebar {
  position: absolute;
  height: calc(100% + 38px);
  width: 220px;
  padding: 25px 15px 0px 15px;
  top: -38px;
  right: -220px;
  border: 1px solid #D5D5D5;
  background-color: #FAFAFA;
  transition: all 0.3s ease;
  overflow: auto;
}

.ds-right-sidebar label {
  font-weight: normal;
}

.ds-right-sidebar .ds-api-id {
  font-size: 9px;
}

.ds-right-sidebar .ds-btn-close {
  font-size: 26px;
  font-weight: 500;
  opacity: 1;
  color: #362B36;
}

.ds-right-sidebar hr {
  margin-top: 10px;
  margin-bottom: 15px;
  border-top: 1px solid #E5E5E5;
}

.ds-right-sidebar .disabled-checkbox {
  opacity: 0.5;
}

.ds-right-sidebar .roleItem {
  min-width: 150px;
}

.ds-right-sidebar .fieldRoleHeader {
  text-transform: uppercase;
  font-weight: 500;
}

.ds-right-sidebar .m-b-0 {
  margin-bottom: 0 !important;
}

.ds-right-sidebar label.radioButtonsAmountSelect {
  position: relative;
  display: inline-block;
  font-weight: normal;
  vertical-align: middle;
  margin-bottom: 0;
  width: 55px;
}

.ds-right-sidebar label.radioButtonsAmountSelect select {
  padding: 4px;
  -webkit-appearance: none; /* for Apple devices */
}

.ds-right-sidebar .radioButtonsAmountSelect:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  color: #AED0EA;
  width: 24px;
  pointer-events: none;
  border-radius: 2px;
  border: 1px solid;
  background: #EDF5F9 url(../img/blue_arrow_down.png) no-repeat scroll 2px 8px;
}

.no-pointer-events .ds-right-sidebar .radioButtonsAmountSelect:after {
  content: none;
}

.ds-right-sidebar .radioButtonsAmountLabel {
  display: inline-block;
  margin: 8px;
}

.touch-device .ds-right-sidebar {
  top: 0;
  height: calc(100% + 8px);
  margin-top: -8px;
}

@keyframes showSidebar {
  0% {right:-220px}
  100% {right:0px}
}
.show-ds-right-sidebar {
  right: 0px;
  animation-name: showSidebar;
  animation-duration: 0.3s;
}

.ds-right-sidebar-hide-btn {
  position: absolute;
  right: 4px;
  top: 0;
}

.ds-right-sidebar .ds-properties-field-container {
  display: flex;
  flex-direction: column;
  align-items: start;
}


.ds-right-sidebar .ds-field-properties-dialog {
  width: 100%;
}

.sidebar-buttons-block {
  bottom: 0;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ds-right-sidebar .ds-field-properties-dialog > div {
  padding-bottom: 20px;
}

.ds-right-sidebar .ds-field-properties-dialog  img {
  height: 26px;
  width: 26px;
  vertical-align: middle;
  margin: 1px 10px 1px 4px;
  padding: 4px;
  border-radius: 2px;
  background: #C8C8C8;
  opacity: 0.75;
}

.ds-right-sidebar .sidebar-label-input {
  margin-right: 5%;
}

.ds-right-sidebar-signers-select .ds-dropdown-menu {
    left: unset !important;
    right: 15px;
}
