@import url('../font/stylesheet.css');



/* This is the un-configurable part */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    font-family: 'montserratsemi_bold', sans-serif;
}

table {
    border: 0px
}

.backgroundiframe {
    z-index: 9999;
}

.mainMenu {
    display: inline-block;
    position: relative;
    width: auto;
    height: auto;
    max-width: 90%;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-bottom-left-radius: 6px;
    -moz-border-bottom-right-radius: 6px;
    box-shadow: inset 0 0 20px #D9D9D9, inset 0 20px 40px #fff, 0px 2px 10px rgba(0, 0, 0, 0.2);
    padding: 0px 10px 8px 10px;
    margin: 0;
}

.has-top-link .mainMenu {
    top: 29px;
}
/* CHECKPOINT - configurable  beyond this point */
.mainMenu h2 {
    height: 20px;
    text-align: center;
    font-family: 'montserratsemi_bold', sans-serif;
    font-size: 100%;
    margin: -0 -10px;
    padding: 5px 15px;
    *margin: -0 -5px;
    zoom: 1;
}

@media (max-width: 990px) {
    .mainMenu {
        margin-right: 0;
    }
}

.pageCount {
    position: absolute;
    top: 4px;
    right: 10px;
    font-weight: normal;
    padding-top: 4px;
    font-size: 0.8em;
    font-family: Helvetica, sans-serif;
}

.desktopLogo {
    margin-top: 4px;
    max-width: 100px;
    max-height: 40px;
    vertical-align: middle;
    padding: 0 5px;
    -webkit-filter: drop-shadow(1px 1px 2px rgba(247, 247, 247, 0.8));
    filter: drop-shadow(1px 1px 2px rgba(247, 247, 247, 0.8));
    transition: all 0.3s;
}

    .desktopLogo:hover {
        cursor: pointer
    }

.mainbuttonnav {
    padding: 0 4px;
}

img {
    border: none;
}

.spacer {
    width: 12px;
    display: inline-block;
    *display: inline;
}

.control {
    overflow: visible;
    padding: 0.5em 1em;
    margin: 10px 0 0 0;
    text-decoration: none;
    text-align: center;
    font-size: 10pt;
    font-family: 'montserratsemi_bold', sans-serif;
    font-weight: normal;
    cursor: pointer;
    outline: none;
    -moz-background-clip: padding;
    background-clip: padding-box;
    border-radius: 0.3em;
    vertical-align: middle;
    height: 45px;
    font-size: 14px;
    transition: all 0.3s, outline 0s;
}

    .control.text {
        height: 35px;
    }

    .control.nav {
        height: 45px;
        width: 45px;
        padding: 0;
        border-radius: 50%;
    }

    .control.submit {
        border-radius: 6px;
    }

    .control.lesspadding {
        padding: 1px 6px;
    }

        .control.lesspadding img {
            height: 20px;
        }

    .control.submit:after {
        content: "\2714";
        font-size: 10pt;
        width: 1em;
        padding-left: 6px;
        line-height: 10pt;
    }

#spanOnlineAttachments .control {
    height: 30px;
    font-size: 13px;
}

#spanOnlineAttachments {
    vertical-align: middle;
    margin-right: 43px;
}

button img {
    vertical-align: middle;
    width: 22px;
}

/* FF Unicode over-ride */

@-moz-document url-prefix() {
    .control.submit:after {
        content: "\2713";
        font-size: 8pt;
    }
}

.buttonGroup {
    display: inline-block;
    *display: inline;
    width: auto;
    position: relative;
    margin: 10px 0 0 0;
    padding: 0;
    vertical-align: middle;
    overflow: hidden;
    border-radius: 6px;
    *height: 45px;
    margin-left: 1px;
}

    .buttonGroup button {
        margin: 0;
        float: left;
        border-radius: 0;
        border-top: none;
        border-bottom: none;
        border-right: none;
        height: 45px;
        box-sizing: border-box;
    }

        .buttonGroup button:first-child {
            border-left: none;
        }

.hspacer {
    margin-top: 12px;
}

.loadbox {
    display: inline-block;
    *display: block;
    border-radius: 4px;
    padding: 8px 15px;
    margin-top: 14px;
    width: auto;
    *width: 218px;
}

    .loadbox img {
        display: block;
        margin-bottom: 6px;
    }

.loadtext {
    display: block;
    font: 12pt Arial;
    border: none;
}

.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;
    }

/* VF Creator Advert */
#vfcreator-container {
    transition: opacity 2s;
}

#vfcreator-taglines {
    font-size: 130%;
    font-family: 'montserratregular', sans-serif;
    transition: opacity 0.5s;
}

.footerreg {
    padding-right: 10px;
}

@media(max-width: 1100px) {
    .control {
        height: 35px;
    }

        .control.text {
            padding: 0.1em 0.5em;
            height: 30px;
        }

    .buttonGroup button {
        padding: 0.2em 0.5em;
        height: 35px
    }

    .buttonGroup img {
        height: 25px;
    }

    .control.nav {
        height: 40px;
        width: 40px;
    }

    .spacer {
        width: 5px;
    }
}

.mobileDropdown,
.importantButtons {
    display: inline-block;
    padding: 0;
    margin: 0;
    position: relative;
}

.desktopHidden {
    display: none;
}

.closeButton {
    position: absolute;
    top: 5px;
    right: 5px;
}

    .closeButton img {
        vertical-align: top;
        width: 35px;
    }

#noZoom {
    display: block;
    position: fixed;
    width: 100%;
    margin: 0;
    width: 100%;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    transform-origin: 0 0;
    transform-style: flat;
}

.smartphone #noZoom {
    position: relative;
}

#divViewer {
    margin-top: 120px;
}

.smartphone #divViewer {
    margin-top: 0px;
}

.has-top-link.smartphone #divViewer {
    margin-top: 0px;
}

@media(max-width: 1100px) {
    #divViewer {
        margin-top: 150px;
    }

    .has-top-link #divViewer {
        margin-top: 130px;
    }
}

@media (max-width: 924px) {
    #divViewer {
        margin-top: 150px;
    }

    .has-top-link #divViewer {
        margin-top: 179px;
    }
}

@media(max-width: 550px) {
    #divViewer {
        margin-top: 60px;
    }

    .has-top-link #divViewer {
        margin-top: 89px;
    }

    .mainMenu {
        display: block;
        max-width: 100%;
        top: 0px;
        left: 0;
        width: 100%;
        height: 45px;
        padding-bottom: 5px;
        padding-left: 0;
        padding-right: 0;
        border: none;
        border-radius: 0;
        background: rgb(238, 238, 238);
        background: -moz-linear-gradient(top, rgba(238, 238, 238, 1) 0%, rgba(204, 204, 204, 1) 100%);
        background: -webkit-linear-gradient(top, rgba(238, 238, 238, 1) 0%, rgba(204, 204, 204, 1) 100%);
        background: linear-gradient(to bottom, rgba(238, 238, 238, 1) 0%, rgba(204, 204, 204, 1) 100%);
        filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16), 0 2px 4px rgba(0, 0, 0, 0.23);
        z-index: 9999;
    }

    .mobileDropdown {
        display: block;
        margin: 0 auto;
        padding: 0 0 10px;
        border-bottom: 5px solid #666994;
        background: #FFFFFF;
        position: fixed;
        left: 0;
        top: -500px;
        width: 100%;
        transition: bottom 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.18);
    }

        .mobileDropdown.active {
            position: relative;
            top: 6px;
            margin-left: -4px;
            padding-right: 4px;
            padding-left: 4px;
        }

    .mobileLogo {
        position: absolute;
        max-height: 45px;
        max-width: 100px;
        top: 2px;
        right: 5px;
    }

    .pageCount {
        color: #212121;
        left: 5px;
        right: auto;
        font-family: 'montserratsemi_bold', sans-serif;
        font-size: 0.9em;
        width: 30%;
        text-align: left;
        padding: 0;
        text-shadow: none;
    }

    .desktopHidden {
        display: inline-block;
    }

    .importantButtons {
        display: block;
        margin: 5px auto;
    }

        .importantButtons button {
            margin-left: 5px;
            margin-right: 5px;
        }

    .spacer {
        display: none;
    }

    .control.nav {
        border: none;
        background: none;
        box-shadow: none;
        padding: 0 0 2px;
        margin: 5px 10px 0;
        transition: background 0.2s ease;
        border-radius: 10px;
        margin-top: 4px;
    }

        .control.nav:hover,
        .control.nav:active,
        .control.nav:focus {
            -webkit-focus-ring-color: none;
            outline: none;
            background: rgba(0, 0, 0, 0.1);
            -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
            -webkit-tap-highlight-color: transparent;
        }

        .control.nav img {
            height: 25px;
        }

    .desktopLogo,
    .mobileHidden,
    .mainMenu h2 {
        display: none;
    }

    #viewerwrapper {
        margin-bottom: 25px;
    }

    .has-top-link #viewerwrapper {
        margin-bottom: 50px
    }
}

.smartphone .mainMenu {
    display: block;
    transform-origin: 0 0;
    transform-style: flat;
    max-width: 100%;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    padding-bottom: 5px;
    padding-left: 0;
    padding-right: 0;
    border: none;
    border-radius: 0;
    background: rgb(238, 238, 238);
    background: -moz-linear-gradient(top, rgba(238, 238, 238, 1) 0%, rgba(204, 204, 204, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(238, 238, 238, 1) 0%, rgba(204, 204, 204, 1) 100%);
    background: linear-gradient(to bottom, rgba(238, 238, 238, 1) 0%, rgba(204, 204, 204, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16), 0 2px 4px rgba(0, 0, 0, 0.23);
    z-index: 9999;
}

.smartphone .mobileDropdown {
    display: block;
    margin: 0 auto;
    padding: 0 0 10px;
    border-bottom: 5px solid #666994;
    background: #FFFFFF;
    position: fixed;
    left: 0;
    top: -500px;
    width: 100%;
    transition: botttom 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.18);
}

    .smartphone .mobileDropdown.active {
        position: relative;
        top: 7px;
        margin-left: -4px;
        padding-right: 4px;
        padding-left: 4px;
    }

/*.smartphone .mobileLogo {
    position: absolute;
    height: 45px;
    top: 2px;
    right: 5px;
}*/

.smartphone .pageCount {
    left: 5px;
    right: auto;
    font-family: 'montserratsemi_bold', sans-serif;
    font-size: 0.9em;
    width: 30%;
    text-align: left;
    padding: 0;
}

.smartphone .desktopHidden {
    display: inline-block;
}

.smartphone .importantButtons {
    display: block;
    margin: 5px auto;
}

    .smartphone .importantButtons button {
        margin-left: 5px;
        margin-right: 5px;
    }

.smartphone .spacer {
    display: none;
}

.smartphone .control.nav {
    border: none;
    background: none;
    box-shadow: none;
    padding: 0 0 2px;
    margin: 5px 10px 0;
    transition: background 0.2s ease;
    border-radius: 10px;
    margin-top: 4px;
}

    .smartphone .control.nav:hover,
    .smartphone .control.nav:active,
    .smartphone .control.nav:focus {
        -webkit-focus-ring-color: none;
        outline: none;
        background: rgba(0, 0, 0, 0.1);
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
        -webkit-tap-highlight-color: transparent;
    }

    .smartphone .control.nav img {
        height: 25px;
    }

.smartphone .desktopLogo,
.smartphone .mobileHidden,
.smartphone .mainMenu h2 {
    display: none;
}

.smartphone #viewerwrapper {
    margin-bottom: 15px;
}

.has-top-link.smartphone .mobileDropdown.active {
    position: relative;
    top: 7px;
    margin-left: -4px;
    padding-right: 4px;
    padding-left: 4px;
}

@media(min-width: 1101px) {
    .smartphone .mobileDropdown.active {
        top: 2px;
    }

    .has-top-link.smartphone .mobileDropdown.active {
        top: 2px;
    }
}

@media(max-width: 375px) {
    .pageCount {
        width: 22%;
        font-size: 0.8em;
    }

    .control.nav {
        margin-left: 3px;
        margin-right: 3px;
    }
}

#imgLockWindow {
    z-index: 20;
}

/* ATTACHMENTS */
#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);
    background-color: white;
}

.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;
        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-delete a:focus {
                box-shadow: inset 0px 0px 0px 1px rgb(0, 0, 0);
                outline: 0;
            }

    .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;
    }

@media(max-width: 400px) {
    .empty-notification,
    .attachment-item .attachment-name,
    .attachment-item .attachment-delete {
        font-size: .8em;
    }
}

#divZHTML, .AccessibleLink {
    position: fixed;
    z-index: 200;
    left: 0px;
    top: 0px;
    display: block;
    background-color: #E0E0E0;
    width: 100%;
    color: white;
    font-family: 'montserratsemi_bold', sans-serif;
    font-size: 0.9em;
    border-top: 1px solid #C1C1C1;
    overflow: hidden; /* Added to prevent overflow of URL link on smaller window sizes */
}

.smartphone #divZHTML {
    position: relative;
}

/* DanS removed this, Dec 2021. Not sure what it is doing, but it was pushing the Web Form switcher down too far 
    .has-top-link.smartphone #divZHTML {
		top: 29px;
	}*/

#divZHTML a, .AccessibleLink a {
    display: block;
    width: 100%; /*causes overflow along axis so added "overflow: hidden" above*/
    height: 100%;
    padding: 5px;
    color: #000087;
    transition: 0.2s;
    text-decoration: none;
}

    #divZHTML a:hover, #divZHTML a:focus, .AccessibleLink a:hover, .AccessibleLink a:focus {
        color: #efefef;
        background-color: #606060;
    }


.HiddenUntilFocused {
    z-index: 1000;
}

    .HiddenUntilFocused a {
        height: 1px !important;
        width: 1px !important;
        padding: 0;
        margin: 0;
    }

        .HiddenUntilFocused a:focus {
            height: auto !important;
            width: auto !important;
            padding: 5px;
        }

/* AutoSave EFS Core */
#autoSaveContainer {
    font-family: Helvetica, Arial, sans-serif;
    color: #212121;
    font-size: 12pt;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

    #autoSaveContainer.hideReference #autoSaveFormReferenceContainer {
        display: none;
    }

#autoSaveDate {
    width: 50%;
    text-align: right;
}

#autoSaveContainer.hideReference #autoSaveDate {
    width: 100%;
    text-align: center;
}

#autoSaveFormReferenceContainer {
    width: 50%;
    text-align: left;
}

#autoSaveContainer .control {
    margin-top: 0;
    padding: 6px;
    height: auto;
    font-weight: normal;
    font-family: Helvetica, Arial, sans-serif;
}

#autoSaveFormReference {
    font-weight: bold;
    user-select: all;
    display: inline-block;
    padding: 6px;
}

#autoSaveDate {
    font-weight: normal;
    color: #6F6F6F;
    padding-right: 20px;
}

#autoSaveContainer a {
    text-decoration: underline;
    color: #212121;
    font-size: 90%;
}

    #autoSaveContainer a:hover, #autoSaveContainer a:focus {
        text-decoration: none;
        color: #565699;
    }




@media (min-width: 995px) {
    #divViewer {
        margin-top: 105px;
    }

    .has-top-link #divViewer {
        margin-top: 130px;
    }
}

@media(min-width: 1100px) {
    #divViewer {
        margin-top: 110px;
    }

    .has-top-link #divViewer {
        margin-top: 135px;
    }
}

/*
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;
}

.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;
}

@media (max-width: 700px) {
    #autoSaveContainer {
        flex-direction: column;
    }

    #autoSaveDate,
    #autoSaveFormReferenceContainer {
        width: 100% !important;
        text-align: center !important;
        padding-right: 0 !important;
    }
}