body {
  padding: 0px;
  margin: 0px;
}

html, body {
    height: 100%;
}

#frameStart {
  outline: none;
}

.iframewrapper {
  background: #FFFFFF;
  background-image: -webkit-linear-gradient(#f1f1f1, #FFFFFF);
  background-image: -o-linear-gradient(#f1f1f1, #FFFFFF);
  background-image: -moz-linear-gradient(#f1f1f1, #FFFFFF);
  background-image: linear-gradient(#f1f1f1, #FFFFFF);
  font-family: Arial, sans-serif;
  font-size: 12pt;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.iframewrapper p {
  padding: 5px 10px;
  text-align: center;
}

.iframewrapper h1 {
  text-align: center;
}

.iframewrapper li {
  margin-left: 10px;
}

.iframewrapper .centered {
    text-align: center;
}

.iframewrapper input[type="text"],
.iframewrapper input[type="email"],
.iframewrapper input[type="password"],
.iframewrapper input[type="number"] {
    padding: 4px;
    border-radius: 2px;
    border: 1px solid #a6a6a6;
    margin: 5px auto 15px;
    width: 90%;
}

.iframewrapper .somepadding {
  padding: 10px;
}

.greenbutton,
.iframewrapper input[type="button"] {
  text-align: center;
  margin: 0px 2px 0px 5px;
  padding: 8px 1.2em 9px 1.2em;
  font-size: 14px;
  font-weight: bold;
  outline: 0;
  transition: all 300ms ease-in-out 0s;
  height: 35px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  color: rgb(255 255 255);
  background-color: rgb(62, 131, 69);
  border: 2px solid rgb(62 131 69);
}

.greenbutton:hover,
.iframewrapper input[type="button"]:hover,
.greenbutton:focus,
.iframewrapper input[type="button"]:focus,
.greenbutton:active,
.iframewrapper input[type="button"]:active {
  box-shadow: rgb(119, 119, 119) 0px 2px 15px;
}

.greenbutton:hover,
.iframewrapper input[type="button"]:hover {
  background-color: rgb(46, 134, 57);
  border-color: rgb(19, 58, 25);
}

.greenbutton:focus,
.iframewrapper input[type="button"]:focus {
  color: rgb(0, 0, 0);
  background-color: rgb(255, 191, 71);
  border-color: rgb(0, 0, 0);
}

.greenbutton:active,
.iframewrapper input[type="button"]:active {
  color: rgb(42, 90, 49);
  background-color: rgb(161, 211, 166);
  border-color: rgb(42, 90, 49);
}

.standardbutton,
#closewindowbutton {
  overflow: visible;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  margin: 0px 2px 0px 5px;
  padding: 0em 1em;
  font-size: 14px;
  font-weight: bold;
  outline: 0;
  transition: all 300ms ease-in-out 0s;
  height: 30px;
  border-bottom: 2px solid #212121;
  text-decoration: none;
  border-radius: 4px;
  color: rgb(255, 255, 255) !important;
  background-color: rgb(97, 97, 97) !important;
  border: 2px solid rgb(97, 97, 97) !important;
}

.standardbutton:hover,
#closewindowbutton:hover,
.standardbutton:focus,
#closewindowbutton:focus,
.standardbutton:active,
#closewindowbutton:active {
  box-shadow: rgb(119, 119, 119) 0px 2px 15px;
}

.standardbutton:hover,
#closewindowbutton:hover {
  background-color: rgb(117, 117, 117) !important;
  border-color: rgb(61, 61, 61);
}

.standardbutton:focus,
#closewindowbutton:focus {
  color: rgb(0, 0, 0) !important;
  background-color: rgb(255, 191, 71) !important;
  border-color: rgb(0, 0, 0) !important;
}

.standardbutton:active,
#closewindowbutton:active {
  color: rgb(82, 82, 82) !important;
  background-color: rgb(196, 198, 202) !important;
  border-color: rgb(82, 82, 82);
}

.backgroundiframe {
  background: #2457b5;
  border: 1px solid #002363;
  border-radius: 2px;
  -webkit-box-shadow: 0px 5px 42px -15px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 5px 42px -15px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 0px 0px 82px -10px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 82px -10px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 82px -10px rgba(0, 0, 0, 0.75);
  animation: fadein 0.5s;
  -moz-animation: fadein 0.5s;
  -webkit-animation: fadein 0.5s;
}

.loadFrameBottomButton {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  display: block;
  height: 1px !important;
  overflow: hidden;
  text-decoration: none;
  background-color: #2457b5;
  font-family: Arial, sans-serif;
  font-size: 12pt;
  color: white;
}
.loadFrameBottomButton:focus {
  height: auto !important;
}


.error {
    color: red;
    display: block;
    margin-bottom: 10px;
}

.error_hide {
    display: none;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes fadein {
  /* Firefox */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadein {
  /* Safari and Chrome */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-o-keyframes fadein {
  /* Opera */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#imgClose {
  cursor: pointer;
  border-style: none;
}
#imgClose:focus {
  outline: 2px dotted black;
}

.iframetitle {
  font-family: Arial;
  font-size: 24px;
  font-weight: 500;
  margin-top: 5px;
  color: #ffffff;
  padding-left: 7px;
  padding-right: 15px;
  padding-bottom: 5px;
}

.formhistorytable {
  border-collapse: collapse;
  border-color: #212121;
}

.iframeheader {
  font-size: 14pt;
  color: #000000;
}

.loadfromservertable {
  margin-top: 30px;
  background: #ffffff;
  border: 1px solid #212121;
  -webkit-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
}

.tablelocalsave {
  height: 100%;
  width: 100%;
  background: #ffffff;
  padding: 0px 3px 4px 3px;
  border: none;
  -webkit-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
  font-size: 12pt;
}

.addresslookupwrap {
  position: relative;
  margin: 10px;
  background: #ffffff;
  height: 240px;
  width: 460px;
  padding: 15px;
  border: 1px solid #E0E0E0;
}

.addresslookupwrap h3 {
  display: inline;
  border-bottom: 1px solid #E0E0E0;
  font-size: 1.5em;
}

#DivPageMenu1,
#DivPageMenu2 ,
#i4xl2,
#u6ua {
  font-family: sans-serif, arial;
  position: absolute;
  margin: 10px;
  display: none;
  text-align: left;
  width: 350px \9;
  min-width: 350px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
  -webkit-transition: visibility 0.3s, opacity 0.4s, z-index 0.4s ease-out;
  transition: visibility 0.3s, opacity 0.4s, z-index 0.4s ease-out;
  border: 1px solid #676666;
  opacity: 0;
  background: #FFFFFF;
  z-index: -1;
  visibility: hidden\9;
}

#DivPageMenu2.opened,
#DivPageMenu1.opened ,
#i4xl2.opened,
#u6ua.opened {
  opacity: 0;
  z-index: -1;
  display: none;
  visibility: hidden\9;
}

#DivPageMenu1.active,
#DivPageMenu2.active,
#i4xl2.active,
#u6ua.active {
  opacity: 1;
  z-index: 10;
  display: inline-block;
  visibility: visible\9;
}

#DivPageMenu1 ul,
#DivPageMenu2 ul ,
#i4xl2 ul,
#u6ua ul{
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
}

#DivPageMenu1 ul li,
#DivPageMenu2 ul li,
#i4xl2 ul li,
#u6ua ul li {
  display: block;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  min-height: 26px;
  height: 26px \9;
  color: #FAFAFA;
  background-color: rgb(142, 201, 249);
  transition: background-color .4s;
}

#DivPageMenu1 ul li:hover,
#DivPageMenu2 ul li:hover,
#i4xl2 ul li:hover,
#u6ua ul li:hover {
  background-color: rgb(53, 107, 189);
}

#DivPageMenu1 a,
#DivPageMenu2 a,
#i4xl2 a,
#u6ua a {
  display: block;
  color: #000000;
  text-decoration: none;
  padding: 0px 6px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
  -webkit-transition: color .4, text-shadow .4s;
  transition: color .4s, text-shadow .4s;
  padding: 4px 0 0 6px;
}

#DivPageMenu1 ul li:hover a,
#DivPageMenu2 ul li:hover a,
#i4xl2 ul li:hover a,
#u6ua ul li:hover a {
  color: #FAFAFA;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.pageSelectTitle {
  text-align: center;
  padding: 6px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  background: #FAFAFA;
  display: block;
  *width: 100%;
}

.pageSelectCloseButton {
  width: 30px;
  position: absolute;
  top: -16px;
  right: -16px;
  cursor: pointer;
  z-index: 10;
}
.pageSelectCloseButton:focus {
  outline: 2px dotted black;
}

/* Monty added for custom alerts, v basic for the moment */
.vfOverlay {
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    visibility: hidden;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
}

.vfOverlay.active {
    visibility: visible;
    opacity: 1;
}

.vfNotification {
    position: fixed;
    top: 5%;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #FAFAFA;
    width: 90%;
    max-width: 370px;
    box-sizing: border-box;
    padding: 20px 10px;
    border-radius: 3px;
    font-size: 1em;
    line-height: 140%;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 1.5px 4px rgba(0, 0, 0, .24), 0 1.5px 6px rgba(0, 0, 0, .12);
    opacity: 0;
    transform: translateY(-500px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    font-family: sans-serif;
}
.vfNotification p {
	margin: 0 auto 20px;
}

.vfNotification.active {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
}

.vfNotification button {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 25px;
    font-size: 0.8em;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #bbb;
    cursor: pointer;
    box-sizing: border-box;
    color: #212121;
    background: transparent;
}

.vfNotification button:hover {
    border-color: #212121;
}

.vfNotification.confirm button {
  margin-left: 1em;
  margin-right: 1em;
}
.vfNotification.confirm button:nth-child(2) {
  margin-left: 0;
  margin-right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.vfNotification.confirm button:nth-child(3) {
  margin-left: 0;
  margin-right: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.vfNotification button:active,
.vfNotification button:focus {
    outline: none;
    background: #f0f0f0;
    border-color: #212121;
    outline: 1px black solid;
}

.iframewrapper select {
    padding: 4px;
    border-radius: 2px;
    border: 1px solid #a6a6a6;
    margin: 5px auto 15px;
    width: 80%;
}

/* This is used in EFS Core for the embedded Esign iframe */
.hide {
  /*visibility: hidden;*/
  display: none;
}

#esignIFrame {
  display: block; /* This removes vertical scrollbars because an iframe is normally inline */
  height: 100%;
  width: 100%;
  border:0;
}

.vf-modal {
  display: block;
  
  /* Overridden by media queries below */
  width: 800px;
  max-width: 100%;
  
  height: 500px;
  max-height: 100%;
  
  position: fixed;
  
  z-index: 10000;
  
  left: 50%;
  top: 50%;
  
  /* Use this for centering if unknown width/height */
  /* http://shouldiprefix.com/#transforms */

  /* Specify the origin here, as we apply scaling if required in the js */
  -webkit-transform-origin: top left;
  -moz-transform-origin: top left;
  transform-origin: top left;

  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  /* If known, negative margins are probably better (less chance of blurry text). */
  /* margin: -200px 0 0 -200px; */
  
  background: white;
  box-shadow: 0 0 70px 10px rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 850px) {
  .vf-modal {
    width: 600px;
  }
}
@media only screen and (max-width: 650px) {
  .vf-modal {
    width: 400px;
  }
}
@media only screen and (max-width: 450px) {
  .vf-modal {
    width: 98%;
    height: 95%;
  }
}

.modal-guts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 0;
}

/* A nice close icon */
.vf-modal .close {
  position: absolute;
  right: -35px;
  top: -35px;
  width: 32px;
  height: 32px;
  opacity: 0.5;
}
.vf-modal .close:hover {
  opacity: 1;
}
.vf-modal .close:before, .vf-modal .close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 2px;
  background-color: #fff;
}
.vf-modal .close:before {
  /* http://shouldiprefix.com/#transforms */
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.vf-modal .close:after {
  /* http://shouldiprefix.com/#transforms */
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
/* END A nice close icon */

.hide {
  display: none;
}

#pageMessagesWithinFormDiv {
  width: auto;
  flex-direction: column;
}

#pageMessagesWithinFormDiv button {
  height: auto;
  font-family: Helvetica, Arial, sans-serif;
}

#pageMessagesWithinFormDiv p {
  margin: 5px 0;
}

.inactivity-warning, #pageMessagesWithinFormDiv {
  width: 300px;
  padding: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f0f9ff;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  color: #333;
  font-size: 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  z-index: 10000;
}