table {
    border: 0px
}

iframe {
    border: 0px
}

/* Working down the page */

/* Web form link */

#divZHTML, .AccessibleLink {
    display: block;
    background: #E0E0E0;
    font-family: sans-serif, arial;
}

.AccessibleLink a, #divZHTML a {
    text-decoration: none;
	display: block;
	padding: 6px 10px;
	color: #212121;
}

.AccessibleLink a:hover, #divZHTML a:hover, .AccessibleLink a:focus, #divZHTML a:focus {
    text-decoration: underline;
}

.HiddenUntilFocused {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    z-index: 1000;
    overflow: hidden;
}
.HiddenUntilFocused a {
    height: 1px !important;
    width: 1px !important;
    padding: 0;
    margin: 0;
}
.HiddenUntilFocused a:focus {
    height: auto !important;
    width: auto !important;
    padding: 5px;
}

/* Header frame (and footer) */

#headeriframe, #footeriframe {
    position: relative;
    display: block;
}

/* The button container - and .f-nav floats it */

#TopControls {
  display: none;
}

.mainbuttonnav {
    padding-bottom: 18px;
    padding-top: 18px;
    width: 100%;
    transition: box-shadow 1s ease-out;
    height: auto;
}

.f-nav {
    z-index: 9999;
    position: fixed !important;
    background: rgba(255, 255, 255, 0.9) !important;
    max-width: 960px;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    margin-top: 0 !important;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width:700px) {
    .f-nav {
        display: none !important;
    }
}

.contentcontainer {
    position: relative;
    margin: 0 auto;
    background: #F2F2F2;
    overflow: visible;
}

/* For space between buttons */

.spacer {
    width: 12px;
    display: inline-block;
    *display: inline;
}

.space-after {
	margin-right: 12px !important;
}

/* Main button style (not Submit buttons) */
.control {
	max-width: 135px;
    width: 100%;
    color: #fff;
	background-color: #005462;
    margin-top: 6px;
    margin-bottom: 0;
    padding: 10px 12px 9px;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    line-height: 1.1875;
    height: 100%!important;
    font: 100% Verdana, Arial, Helvetica, sans-serif!important;
	font-size: 13px!important;		
}

#btnBack1 {
	background-color: rgb(255 255 255);
    color: #000;
    border: 2px solid #BED7DF;
}

.control:hover, .control:focus {
	background-color: #008196;
    border-color: #2F7000;
    outline: 2px solid transparent;
    -webkit-box-shadow: inset 0 0 0 1px #2F7000;
    box-shadow: inset 0 0 0 1px #2F7000;
}

.control:active, .control:focus {
  outline: 0 !important;
}

#btnBack1:hover, #btnBack1:focus {
	border-color: #2F7000 !important;
	background-color: #BED7DF;
}

#btnBack1 {
	margin-right: 3px;
}

#btnNext1 {
	margin-left: 3px;
}

/* Hide Back and Next for one-pager */
/*#btnBack1, #btnNext1{
	display: none;
}*/
#btnSubmit1 {
  display: block;
  margin: auto;
  margin-top: 25px;
}

/* Submit button style */
.controlsubmit {
	max-width: 344px;
    width: 100%;
    color: #fff;
    background-color: #005462;
    margin-top: 8px;
    padding: 10px 12px 9px;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    line-height: 1.1875;
    height: 100%!important;
    font: 100% Verdana, Arial, Helvetica, sans-serif!important;
	font-size: 13px!important;	
}

.controlsubmit:hover, .controlsubmit:focus {
	background-color: #008196;
    border-color: #2F7000;
    outline: 2px solid transparent;
    -webkit-box-shadow: inset 0 0 0 1px #2F7000;
    box-shadow: inset 0 0 0 1px #2F7000;
}
.controlsubmit:active, .controlsubmit:focus {
  outline: 0 !important;
}

.buttonGroup {
	border-width: 1px;
	border-style: solid;
	border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(179, 179, 179);
	border-radius: 4px;
    display: inline-block;
    *display: inline;
    width: auto;
    position: relative;
    margin: 6px 0 0 0;
    padding: 0;
    vertical-align: middle;
    overflow: hidden;
    border-radius: 6px;
}

    .buttonGroup button {
        margin: 0;
        float: left;
        border-radius: 0;
        border-top: none;
        border-bottom: none;
        border-right: none;
        height: 20px;
        box-sizing: content-box;
    }

        .buttonGroup button:first-child {
            border-left: none;
        }

.lesspadding {
	padding: 4px 4px;
}

#btnZoomOut2 img, #btnZoomIn2 img {
	width: 21px;
	height: 21px;
}
		

/* Important position for floating menu. LEAVE */
/* Not sure if it is so important in EFS Core */

.floatmenupos {
    margin-top: 21px;
    /* IE 9- */
    margin-top: 53px \9;
    margin-left: -77px \9;
}

/* Styles main floating menu elements */

.menububble {
    position: relative;
    width: 350px;
    height: auto;
    padding-bottom: 4px;
    background: #ffffff;
    background: rgba(255, 255, 255, 0.9);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#e5ffffff, endColorstr=#e5ffffff);
    zoom: 1;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: #929292 solid 1px;
    /*opacity:0.95;*/
    box-shadow: 2px 2px 6px #BFBFBF;
    overflow: visible;
}

.menububble:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 0 15px 15px;
    border-color: #4B4B4B transparent;
    display: block;
    width: 0;
    z-index: 1;
    top: -15px;
    left: 30px;
}

.menububble:before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 0 15px 15px;
    border-color: #efefef transparent;
    display: block;
    width: 0;
    z-index: 0;
    top: -16px;
    left: 30px;
}


/* Styles header region of floating menu */

.menuhead {
    position: relative;
    width: 350px;
    height: 28px;
    padding-top: 6px;
    background: #4b4b4b;
    -webkit-border-radius: 10px 10px 0px 0px;
    -moz-border-radius: 10px 10px 0px 0px;
    border-radius: 7px 7px 0px 0px;
    border: #ffffff solid 0px;
    margin-bottom: 10px;
}


/* Styles page count within header region of floating menu */

.pagecount {
    font: 13pt Arial;
    color: #FFFFFF;
}


/* Sets vertical space between controls within floating menu */

.vertspacer {
    margin-bottom: 10px;
}

.hspacer {
    margin-top: 12px;
}



/* Autosave */

.AutoSaveHtmlContainer {
    padding: 30px 0;
}

.AutoSaveHtmlContainer hr {
    border: none;
    border-top: 1px solid #E0E0E0;
    display: block;
    margin: 20px auto;
    width: 30%;
}

#autosavecontainer {
    font-family: 'Open Sans', sans-serif, arial;
    color: #212121;
    font-size: 12pt;
}

.SaveRef1,
#DivAutoSaveID {
    padding-top: 20px;
    display: inline-block;
}

#DivAutoSaveID {
    -moz-user-select: all;
    -webkit-user-select: all;
    -ms-user-select: all;
    font-weight: bold;
}

.SpanAutoSaveTime {
    padding-left: 20px;
    font-weight: normal;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    color: #8C8C8C;
}

.footerreg{
	margin-top: -30px;
}

/* ATTACHMENTS */

/* Attachment colours */

.attachments-button-container {
	border: 1px solid #b3b3b3;
}
.attachments-button-container input[type="button"]:first-child {
   border-right: 1px solid #d1d1d1;
}
.attachments-button-container input[type="button"]:last-child {
   border-left: 1px solid #d1d1d1;
}
.attachments-button-container span {
	background-color: white;
	background-image: linear-gradient(#FFFFFF, #efefef);
}
.attachments-title {
	color: #000;
	border: 1px solid #999;
	background: #efefef;
	background: linear-gradient(to bottom, #ffffff 0%, #efefef 50%, #efefef 51%, #dedede 100%);
}
.attachment-item .attachment-delete a {
	background: #EF5350;
}
.attachment-item .attachment-delete a:hover, .attachment-item .attachment-delete a:focus {
	background: #E53935;
}

.attachments-drop-zone {
	border: 2px dashed #adadad;
}
.attachments-drop-zone.dragover {
	border: 2px dashed #000045;
}
.attachments-progress-bar > span {
	background-color  : #232323;
}

/* Non-colour things */

#spanOnlineAttachments {
    display: block;
    margin: 1em auto;
    /*width: 95%;
    max-width: 650px;*/
    text-align: center;
}

    #spanOnlineAttachments #tblAttachTable {
        width: 95%;
        max-width: 650px;
        margin: auto;
    }

.attachments-button-container {
    display: inline-block;
    overflow: hidden;
    border-radius: 3px;
}

    .attachments-button-container * {
        vertical-align: middle;
    }

    .attachments-button-container input[type="button"] {
        margin: 0;
        border: none;
        font-family: Arial, sans-serif;
        border-radius: 0;
        min-width: 225px;
        height: 30px;
    }

    .attachments-button-container span {
        padding: 1em;
        margin: 0;
        font-size: 0.9rem;
        font-weight: bold;
        font-family: Arial, sans-serif;
    }
	
@media(max-width: 700px) {
    .attachments-button-container {
        border: none;
        border-radius: 0;
    }

        .attachments-button-container input[type="button"] {
            border-right: 1px solid #d1d1d1;
            display: block;
            margin: 0.5em auto;
            border: 1px solid #d1d1d1;
            border-radius: 3px;
        }

        .attachments-button-container span {
            background: transparent;
            display: block;
            margin: 0.2em auto;
            padding: 0;
        }
}

#divAttachPanel {
    overflow: hidden;
}

#tblAttachTable {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.attachments-title {
    display: block;
    font-family: 'montserratsemi_bold', sans-serif;
    padding: 0.2em 0.6em;
    text-align: left;
}

.empty-notification {
    font-family: Arial, sans-serif;
    padding: 1em 0;
    color: #676767;
    font-style: italic;
    font-size: 1rem;
    border: 1px solid #adacac;
    border-top: none;
}

.attachment-item {
    display: block;
    position: relative;
    border: 1px solid #adacac;
    border-top: none;
    padding: 0.4em 0;
    overflow: hidden;
    text-align: left;
}

    .attachment-item .attachment-delete {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 15%;
        min-width: 75px;
        vertical-align: middle;
        text-align: center;
        font-family: arial, sans-serif;
        color: #F44336;
        line-height: 31px;
        border-left: 1px solid #F44336;
        transition: background 0.2s ease;
    }

        .attachment-item .attachment-delete a {
            text-decoration: none;
            display: flex;
            height: 100%;
            width: 100%;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            transition: color 0.2s ease;
        }

    .attachment-item .attachment-name {
        display: inline-block;
        padding-left: 1em;
        max-width: 60%;
        font-family: Arial, sans-serif;
        color: #464646;
    }

#divUploadStatus {
    display: block;
    margin: 0.8em auto;
    padding: 0.2em;
    font-family: Arial, sans-serif;
}

    #divUploadStatus a {
        margin: 0 0.2em;
        font-family: Arial, sans-serif;
        color: #EF5350;
    }

/* For attachments / resumable */

.attachments-drop-zone {
    display: inline-block;
    overflow: hidden;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    padding: 5px;
}
.attachments-drop-zone-text, .attachments-upload-success {
    padding-top: 10px;
    padding-bottom: 10px;
	font-family: Arial, sans-serif;
}
.attachments-resumable-buttons-container {
    margin-bottom: 5px;
}

.attachments-progress-bar {        
    height     : 20px;
    transition : width 1s;
}
.attachments-progress-bar > span {
    height            : 100%;
    display           : block;
    overflow          : hidden;
    position          : relative;
    transition        : 500ms linear;
    -webkit-transition: 500ms linear;
}
.attachments-progress-bar > span:after {
    content          : "";
    top              : 0;
    left             : 0;
    right            : 0;
    bottom           : 0;
    z-index          : 1;
    position         : absolute;
    background-size  : 50px 50px;
    overflow         : hidden;
    animation        : stripes-move 1s linear infinite;
    -webkit-animation: stripes-move 1s linear infinite;
    background-image : -webkit-linear-gradient(135deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    background-image : linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
}
@-webkit-keyframes stripes-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes stripes-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

.attachments-progress-bar > span:after {
    -webkit-animation: stripes-move 2s linear infinite;
    animation        : stripes-move 2s linear infinite;
}

/* Style initial loading percentage box */

.loadbox {
    margin-top: 18px;
    margin-bottom: 22px;
    border: 1pt solid #BBBBBB;
    width: 220px;
    background: #F4F4F4;
    background-color: #F4F4F4;
    border-radius: 8px;
    padding: 9px 9px 14px 9px;
    background-image: linear-gradient(to bottom, #F4F4F4 0%, #CECECE 100%);
}


/* Style text within initial loading percentage box */

.loadtext {
    width: 120px;
    position: relative;
    padding-left: 11px;
    font: 13pt Arial;
    color: #272727;
}

/* VF Creator footer advert */

.vfViewerFooter {
    background: #E0E0E0;
    font-family: 'montserratsemi_bold', sans-serif;
    text-align: center;
    padding: 25px 5px;
    margin: 20px 0 0 0;
    border-top: 1px solid #C1C1C1;
    color: #231F20;
}

    .vfViewerFooter a {
        color: #231F20;
        text-decoration: none;
    }

    .vfViewerFooter h2 {
        text-shadow: 0 1px 1px #CBE4F8;
        margin: 5px;
        font-size: 14pt;
    }

/* Reduced dimensions for those that want less VF advert */
.vfViewerFooter.reduced img {
    height: 43px !important;
    width: 100px !important;
}
.vfViewerFooter.reduced p {
    margin: 0.5em;
}
.vfViewerFooter.reduced {
    padding: 5px;
}
	
/* VF Creator Advert */
#vfcreator-container {
    transition: opacity 2s;
}
#vfcreator-taglines {
    font-size: 130%;
    font-family: 'montserratregular', sans-serif;
    transition: opacity 0.5s;
}

/* Controls unicode tick symbol for submit button */

.controlsubmit:after {
    content: "\2714";
    font-size: 10pt;
    width: 1em;
    padding-left: 10px;
}

/* FF Unicode over-ride */

@-moz-document url-prefix() {
    .controlsubmit:after {
        content: "\2713";
        font-size: 8pt;
    }
}

/* Controls unicode menu symbol for menu button */

.menuicon:before {
    content: "\2630";
    font-size: 9pt;
    width: 1em;
    padding-right: 10px;
}

/* FF Unicode over-ride */

@-moz-document url-prefix() {
    .menuicon:before {
        font-size: 8pt;
    }
}
.backgroundiframe {
	background-color: #005462;
	border: 1px solid #005462;
}
.loadFrameBottomButton{
	background-color: #005462;
}

.inactivity-warning {
    text-align: center;
    color: #AF122A;
    box-shadow: rgba(0, 0, 0, 0.56) -2px 5px 12px 0px;
    width: 250px;
    height: 25px;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -150px;
    position: fixed;
    background-color: white;
    border: 5px solid #BED7DF;
    padding: 25px;
    font: 82% Verdana, Arial, Helvetica, sans-serif
}

.button-as-link {
  padding: 0;
  font: inherit;
  cursor: pointer;
  border: none;
  display: inline-block;
  text-decoration: underline;
  background-color: transparent;
  color: #005462;
}

.button-as-link:hover, .button-as-link:focus {
  text-decoration: none;
}