/* Minification failed. Returning unminified contents.
(274,28): run-time error CSS1039: Token not allowed after unary operator: '-green'
(1138,41): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(1140,37): run-time error CSS1039: Token not allowed after unary operator: '-primary'
 */

.costingSection {
    /*box-shadow: 0 3px 5px -1px hsl(0, 0%, 40%), inset 4px 1px 6px -8px black;*/
    /*box-shadow: none;*/
}

/*.costingSectionItem {
    margin-top: 0px;
    margin-left: 1px;
    margin-right: 1px;
    margin-bottom: 5px;
    color: black;
    border: 1px solid #ddd;
    border-left: 4px solid #ccc;
    border-right: 1px solid darkgrey;
    border-radius: 0px;
    background-color: white;    
    padding-left: 0px;
}

.costingSectionItem {
    margin-top: -2px;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 0px;
    
    color: black;
    border-left: 1px solid darkgrey;
    border-right: 1px solid darkgrey;
    border-radius: 0px;
    background-color: white;
    padding: 0px;
    padding-left: 0px;
}

.costingSectionText {
    border: none;
    font-family: 'Open Sans','Open Sans',montserrat, arvo;
    background-color: inherit;
    
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-color: lightgrey;
    border-width: 1px;
    margin-left: 0px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 7px;
    padding: 1px 1px 1px 1px;
    padding: 5px;
    border-radius: 0px;
    border-bottom: dotted 1px #eee;
    background-color: white;
}*/

.chevron2 {
    font-size: 3em;
    /*box-shadow: 0 3px 5px -1px hsl(0, 0%, 40%), inset 4px 1px 6px -8px black;*/
}

    .chevron2:hover {
        /*font-size: 1.5em;*/
        box-shadow: none;
    }

.chevron {
    /*border: solid 1px #ddd;
    background-color: #E8E8E8;
    color: #666;*/
    /*border-radius: 4px;*/
    /*box-shadow: 0 3px 5px -1px hsl(0, 0%, 40%), inset 4px 1px 6px -8px black;*/
    font-size: 16px;
}

    .chevron:hover {
        /*font-size: 14px;*/
        box-shadow: none;
    }

/*.cs1 {
    background-color: #fff;
}*/

.optionalAccepted {
    /*border-right: solid 1px green;
    border-top: solid 1px green;
    border-bottom: solid 1px green;*/
 /*   border: solid 1px green;
    border-left: solid 2px green;
    font-weight: bold;
    font-style:normal;*/
}

@keyframes border-pulsate {
    0% {
        background-color: rgba(0, 168, 255, 0);
    }

    50% {
        background-color: rgba(0, 168, 255, 0.5);
    }

    100% {
        background-color: rgba(0, 168, 255, 0);
    }
}

document-loader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    background: rgba(255, 255, 255, .975);
    width: 100vw;
    height: 100vh;
}

.document-loader-inner {
    position: relative;
    height: 100%;
    width: 100%;
}

.document-builder-startup-loader {
    position: absolute;
    top: calc(50% - 75px);
    left: calc(50% - 75px);
    border: 16px solid #401154;
    border-radius: 50%;
    border-top: 16px solid #a080ad;
    width: 150px;
    height: 150px;
    -webkit-animation: startUpSpin 2s linear infinite;
    animation: startUpSpin 2s linear infinite;
}

.document-builder-loader--fade-out {
    -webkit-animation: loaderFadeOut linear 2s 1 normal forwards;
    animation: loaderFadeOut linear 2s 1 normal forwards;
}

.document-builder-loader--hide {
    display: none;
}

#ElectronicSignatureSection .signature-box {
    padding: 20px;
    border: 1px solid blue;
    border-radius: 4px;
    background-color: white;
}

.page-inner-container {
    display: block;
    margin: 2px auto;
    background: transparent;
    border-radius: 4px;
    animation: border-pulsate 1s;
}

.CoverPageLogoTop {
    max-height: 140px;
    max-width: 200px;
}

.quoteEditPage {
    font-family: 'Open Sans';
    padding: 20px;
    border: solid 1px lightgrey;
    max-width: 25cm; /*A4: 21.0 x 29.7cm*/
    min-height: 30cm;
    position: relative;
    font-size: 1.1em;
    margin: 0 auto;
    border: solid 1px lightgrey;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 6px 7px 14px 0px hsla(0, 0%, 40%, 0.08);
    color: #333;
    font-weight: normal;
    min-height: 0;
    height: auto;
}

.clean-slider:hover {
    border: none;
}

.table .table {
    background-color: transparent;
}

.proposalPage1Outer {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.proposalPage1Middle {
    display: table-cell;
    vertical-align: middle;
}

.proposalPage1Inner {
    margin-left: auto;
    margin-right: auto;
    width: 400px;
}

.documentText {
    margin-bottom: 20px;
    margin-top: 0px;
    background-color: white;
    white-space: pre-wrap;
}

.previewGallery {
    height: auto;
    min-height: 100px;
    height: 100%;
}

.documentHeading {
    font-size: 1.2em;
    font-weight: bold;
    padding: 0px;
    margin-bottom: 10px;
    background-color: inherit;
}

.simple {
    background-color: inherit;
    padding: 0px 0px 10px 0px; /* no need to pad cos theres no border */
    margin-left: 0px;
    border: none;
}

.bordered {
    border: solid 1px #ddd;
    padding: 10px;
}

.checkBox {
    border: solid 1px #dfdfdf;
    width: 20px;
    height: 20px;
    display: inline-block;
    cursor: pointer;
    margin-right: 5px;
    margin-bottom: 0px;
    margin-top: 0px;
    border-radius: 10px;
    position: relative;
    bottom: -6px;
}

    .checkBox:hover {
        cursor: pointer;
        border: solid 2px #000;
    }

.contact_form_item:hover {
    background-color: #fafafa;
    cursor: pointer;
    box-shadow: 0 3px 5px -1px hsl(0, 0%, 40%), inset 4px 1px 6px -8px black;
}

.checked {
    background-color: #44bd32;
    background-color: var(--green);
    border: solid 2px #000;
}

.unchecked {
    background-color: white;
}

.bordered-top {
    border-top: solid 1px #ddd;
    padding: 10px;
    margin-right: 0px;
}

.bordered-bottom {
    border-bottom: solid 1px #ddd;
    padding: 10px;
}

.itemTotal {
    margin-right: -40px;
    float: right;
    text-align: right;
}

.documentPage {
    font-family: 'Open Sans';
    padding: 50px;
    border: solid 1px lightgrey;
    max-width: 21cm; /*A4: 21.0 x 29.7cm*/
    min-height: 29.7cm;
    position: relative;
    font-size: 1.1em;
    margin: 0 auto;
    border: solid 1px #aaa;
    background-color: #fff;
    box-shadow: 3px 3px 9px 0px hsla(0, 0%, 40%, 0.16);
    color: #333;
    font-weight: normal;
    /* word-wrap: break-word; */
}

    .documentPage.miniPreview {
        padding: 20px;
    }

    .documentPage.invoicePreview {
        width: calc((75vh / 100) * 70);
        min-height: 75vh;
    }

    .documentPage.templatePreview {
        width: calc((75vh / 100) * 70);
        min-height: 75vh;
    }

.documentPagePreview h1 {
    font-size: 2.6em !important;
}

.documentPagePreview h2 {
    font-size: 2.4em !important;
}

.documentPagePreview h3 {
    font-size: 2.2em !important;
}

.documentPagePreview h4 {
    font-size: 2em !important;
}

.documentPagePreview h5 {
    font-size: 1.8em !important;
}

.documentPagePreview h6 {
    font-size: 1.6em !important;
}


.documentPagePreview div, b {
    font-size: 1em !important;
}

.documentPagePreview p {
    font-size: 1em !important;
}

.documentPageLarge {
    padding: 40px;
    border: solid 1px lightgrey;
    width: 90%;
    max-width: 25cm;
    min-height: 26cm;
    position: relative;
    font-size: 1.1em;
    margin: 0 auto;
    border: solid 1px lightgrey;
    background-color: #fff;
    box-shadow: 0 3px 5px -1px hsl(0, 0%, 40%), inset 4px 1px 6px -8px black;
    color: #333;
    font-weight: normal;
    border-radius: 4px;
}

.contact_form_heading {
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: solid 1px #eee;
    display: block;
    margin-bottom: 5px;
    margin-top: 20px;
    padding-bottom: 5px;
}

.contact_form_section {
    margin-left: 0px;
    padding-left: 10px;
    background-color: #fff;
    color: #333;
    margin-top: 10px;
    border: solid 1px #eee;
    border-radius: 10px;
}


.contact_form_item {
    padding: 10px 0 0 10px;
    border: solid 1px #efefef;
    margin: 10px;
    background-color: #fff;
    min-height: 50px;
    max-height: 150px;
    height: 150px;
    font-size: 1em;
    color: #333;
    font-weight: bold;
}

    .contact_form_item input, .contact_form_heading input {
        max-width: 50px;
        border: solid 1px #ddd;
        padding: 5px;
        text-align: center;
        margin: 0;
        font-size: 0.8em;
    }

.contactFormDocumentPage {
    padding: 20px;
    border: solid 1px lightgrey;
    max-width: 21cm;
    min-height: 26cm;
    position: relative;
    font-size: 0.9em;
    margin: 0 auto;
    border: solid 1px lightgrey;
    background-color: #fff;
    box-shadow: 0 3px 5px -1px hsl(0, 0%, 40%), inset 4px 1px 6px -8px black;
    color: #333;
    font-weight: normal;
}

.documentPageTermsAndConditions {
    font-size: 1em;
    margin: 20px -30px -0px -15px;
    border-radius: 0px;
    bottom: 0px;
    padding-bottom: 40px;
    font-weight: normal;
    background-color: inherit;
}

.documentPageAddress {
    font-size: 1em;
    margin: -30px -30px 20px -30px;
    padding: 20px;
    padding-top: 20px;
    border-radius: 0px;
    background-color: #fff;
    font-weight: normal;
    background-color: inherit;
}

.logoTopCentered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 200px;

    /* need to stop this being overridden by .page-section, page-section img max-width 100%*/

    max-width: 250px !important;
    width: auto;
    border-bottom: solid 1px #eee;
    margin-bottom: 10px;
}

.darkTheme {
    background-color: #000;
    color: #fff;
}

.lightTheme {
    background-color: #fcfcfc;
    color: #04010e;
}

/* Mobile display section! */
@media only screen and (min-device-width: 300px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    .documentPage {
        padding: 30px;
        border: solid 1px lightgrey;
        max-width: 16cm;

/*Disabled this as it makes documents look small and weird on ipads. Don't think there's any downside to this*/
/*        min-height: 22.6cm;*/

        position: relative;
        font-size: 1em;
        margin: 0 auto;
        margin-left: 0px;
        margin-right: 0px;
        border: solid 1px lightgrey;
        background-color: #fff;
        box-shadow: 3px 3px 9px 0px hsla(0, 0%, 40%, 0.16);
        color: #333;
        font-weight: normal;
        border-radius: 0px;
    }

    .documentPageAddress {
        margin: -30px -20px 20px -20px;
    }

    .quoteEditPage {
        padding: 20px 10px;
    }

    .documentPageLarge {
        padding: 30px 20px 30px 20px;
        min-height: 24cm;
        position: relative;
        font-size: 1em;
        background-color: #fff;
        box-shadow: none;
        color: #333;
        font-weight: normal;
        border: none;
        border-radius: 0px;
        width: 100%;
    }

    .contactFormDocumentPage {
        padding: 5px;
        border: solid 1px lightgrey;
        position: relative;
        font-size: 0.9em;
        margin: 0 auto;
        border: solid 1px lightgrey;
        background-color: #fff;
        box-shadow: 0 3px 5px -1px hsl(0, 0%, 40%), inset 4px 1px 6px -8px black;
        color: #333;
        font-weight: normal;
    }

    .documentPageTermsAndConditions {
        font-size: 1em;
        margin: 20px -30px -0px -15px;
        border-radius: 0px;
        bottom: 0px;
        padding-bottom: 40px;
        font-weight: normal;
        background-color: inherit;
    }

    .darkTheme {
        background-color: #04010e;
    }

    .CoverPageLargeText {
        font-size: 28px;
    }

    .CoverPageHeroText {
        font-size: 64px;
        font-weight: 700;
    }

    .CoverPageSubText {
        font-size: 36px;
        font-weight: 700;
    }

    .CoverPageLabel {
        font-size: 10px;
    }

    .LeftContentSection {
        padding-left: 10%;
    }

    .CoverPageLogoTop {
        max-height: 140px;
    }
}

/*Mobile - IPhone 5, Galaxy S5*/
@media only screen and (min-device-width: 300px) and (max-device-width: 460px) {
    .documentPageLarge {
        padding: 30px 10px 30px 10px;
        border: solid 1px lightgrey;
        max-width: 21cm;
        position: relative;
        font-size: 1em;
        margin: 0 auto;
        margin-right: 0px;
        background-color: #fff;
        color: #333;
        font-weight: normal;
    }

    .documentPageLarge {
        padding: 20px 10px;
        min-height: 300px;
        position: relative;
        font-size: 1em;
        background-color: #fff;
        box-shadow: none;
        color: #333;
        border: none;
        font-weight: normal;
        border-bottom: solid 3px #eee;
        border-radius: 0px;
    }

    .contactFormDocumentPage {
        padding: 5px;
        border: solid 1px lightgrey;
        position: relative;
        font-size: 0.9em;
        margin: 0 auto;
        border: solid 1px lightgrey;
        background-color: #fff;
        box-shadow: 0 3px 5px -1px hsl(0, 0%, 40%), inset 4px 1px 6px -8px black;
        color: #333;
        font-weight: normal;
    }
}

.CoverPageLargeText {
    font-size: 28px;
}

.CoverPageHeroText {
    font-size: 64px;
    font-weight: 700;
}

.CoverPageSubText {
    font-size: 36px;
}

.CoverPageLabel {
    font-size: 14px;
}

.LeftContentSection {
    padding-left: 10%;
}

@media only screen and (min-device-width: 300px) and (max-device-width: 768px) {
    .documentPage {
        padding: 30px;
        border: solid 1px lightgrey;
        max-width: 20cm;
        min-height: 15.85cm;
        position: relative;
        font-size: 1em;
        margin: 0 auto;
        border: solid 1px lightgrey;
        background-color: #fff;
        box-shadow: 3px 3px 9px 0px hsla(0, 0%, 40%, 0.16);
        color: #333;
        font-weight: normal;
        border-radius: 0px;
        width: calc(100 / 23 * 21vw);
        min-height: calc(100 / 21 * 29.7vw);
        max-width: 21cm;
    }

    .CoverPageLargeText {
        font-size: 16px;
    }

    .CoverPageLabel {
        font-size: 14px;
    }

    .LeftContentSection {
        padding-left: 4%;
    }

    .CoverPageHeroText {
        font-size: 32px;
    }

    .CoverPageSubText {
        font-size: 16px;
        font-weight: 700;
    }

    .CoverPageLabel {
        font-size: 10px;
    }

    .CoverPageLogoTop {
        max-height: 60px;
    }
}


/* Ipad sized device */
@media only screen and (min-device-width: 700px) and (max-device-width: 1024px) {
    .documentPageLarge {
        padding: 30px;
        border-radius: 0px;
    }

    .CoverPageLargeText {
        font-size: 28px;
    }

    .CoverPageLabel {
        font-size: 18px;
    }

    .LeftContentSection {
        padding-left: 10%;
    }

    .CoverPageLogoTop {
        max-height: 60px;
    }
}

.previewGallery {
    height: auto;
    min-height: 300px;
    height: 100%;
}


.coverPageImage {
    background-image: url('https://www.financialfreedomblogger.com/wp-content/uploads/2014/12/freestockimagesforcommercialuse-skitterphoto.jpg');
    background-size: contain;
    height: 50%;
    width: 100%;
}

.coverPage {
    height: 100%;
}

.signature-pad {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10006;
    font-size: 10px;
    width: 100%;
    max-width: 700px;
    max-height: 460px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27);
    border-radius: 4px;
    padding: 16px;
}

.signature-pad--body {
    position: relative;
    border: 1px solid #f4f4f4;
    height: 380px;
}

    .signature-pad--body
    canvas {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: 4px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
    }

.signature-pad--footer {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
}

.signature-pad--actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 8px;
}

.preview-section {
    box-sizing: border-box;
}

.preview-section--not-full {
    padding-right: 10px;
}

.preview-section--full {
    clear: both;
    float: none;
    width: 100%;
}

.preview-section--quarter {
    width: 25%;
    float: left;
    padding-right: 5px;
}

.preview-section--third {
    width: 33.33%;
    float: left;
    padding-right: 5px;
}

.preview-section--half {
    width: 50%;
    float: left;
    padding-right: 5px;
}

.preview-section--two-thirds {
    width: 66.66%;
    float: left;
    padding-right: 5px;
}

.preview-section--three-quarters {
    width: 75%;
    float: left;
    padding-right: 5px;
}

.image-gallery-designer-row-container {
    display: flex;
    flex-wrap: wrap;
    clear: both;
    float: none;
    width: 100%;
}

.image-gallery-designer-row--left .image-gallery-designer-row-container {
    justify-content: flex-start;
}

.image-gallery-designer-row--right .image-gallery-designer-row-container {
    justify-content: flex-end;
}

.image-gallery-designer-row--central .image-gallery-designer-row-container {
    justify-content: center;
}

.image-gallery-designer-row--column-reverse .image-gallery-designer-row-container {
    flex-direction: column-reverse;
}

.image-gallery-designer-row--row-reverse .image-gallery-designer-row-container {
    flex-direction: row-reverse;
}

.image-gallery-designer-row--align-top .image-gallery-designer-row-container {
    align-items: flex-start;
}

.image-gallery-designer-row--align-central .image-gallery-designer-row-container {
    align-items: center;
}

.image-gallery-designer-row--align-bottom .image-gallery-designer-row-container {
    align-items: flex-end;
}

/* This is just here for the buttons to look good. */
.image-gallery-designer-column--preview {
    min-width: 0;
    position: relative;
}

/* This sucks, but it's for IE... 🙄 */
.image-gallery-designer-row-container--ie {
    max-width: 850px;
    margin: auto;
}

#document-pages,
#desktop-documentPages,
#mobile-documentPages {
    display: block;
}


@page {
    size: auto;
    margin-left: 2mm;
    margin-right: 2mm;
    margin-top: 2cm;
    margin-bottom: 2cm;
}

@page:first {
    margin-top: 2cm;
}


@page:bottom {
    @bottom-center {
        padding-top: 0;
    }
}

@media print {

    #_hj_poll_container {
        display: none;
    }

    .itemRowOptional, .itemRow, .keep-together {
        page-break-inside: avoid;
    }

    #drift-widget {
        visibility: hidden;
    }

    .optionalBlock {
        border: none;
    }

    div > #root {
        visibility: hidden;
    }

    .widget-container, .widget-container-mobile {
        visibility: hidden;
    }

    #tawkchat-minified-box {
        border: 0 none;
        padding: 0;
        margin: 0;
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 999995;
        text-align: left;
        font-size: 16px;
        visibility: hidden;
        display: none;
    }

    .round #tawkchat-status-text-container a#maximizeChat, .round #tawkchat-status-text-container a#maximizeChat #tawkchat-status-icon {
        height: 100%;
        width: 100%;
        color: inherit;
        text-decoration: none;
        outline: 0;
        visibility: hidden;
        display: none;
    }

    .round #tawkchat-status-text-container {
        margin-left: 1px;
        border-radius: 50%;
        height: 60px;
        width: 60px;
        -webkit-box-shadow: 0 4px 5px -1px rgba(0,0,0,0.5);
        -moz-box-shadow: 0 4px 5px -1px rgba(0,0,0,0.5);
        box-shadow: 0 4px 5px -1px rgba(0,0,0,0.5);
        visibility: hidden;
        display: none;
    }


    .eager-side-nav-button {
        visibility: hidden;
        display: none;
    }

    .pageHeading, .pageHeadingFixed, .navPageHeadingFixed {
        visibility: hidden;
    }

        .pageHeading .btn {
            margin-top: 10px;
        }

    .pageHeadingSecondary {
        visibility: hidden;
    }

    #sidebar {
        visibility: hidden;
    }

    #tawkchat-minified-box {
        visibility: hidden;
    }

    .documentPageLabel {
        visibility: hidden;
    }

    .documentPage {
        border: none;
        margin: 0 auto;
        box-shadow: none;
        padding: 0px;
        margin-top: 0px;
    }

    .view {
        margin: -20px;
        padding: 0px;
        border: none;
    }

    .documentPageTermsAndConditions {
        padding: 0px;
    }

    .break-before {
        page-break-before: always;
    }

    .ng-hide {
        display: block !important;
    }

    .ng-show {
        display: block !important;
    }
}

.helpSection {
    background-color: #fafafa;
    margin: 10px;
    padding: 20px;
    border-radius: 4px;
    line-height: 2em;
}

.affix {
    overflow: auto;
}

.help_thumbnail {
    height: 50px;
    width: auto;
    border-radius: 4px;
}

.help_screenshot {
    padding: 10px;
    height: auto;
    width: 300px;
    display: block;
    border-radius: 4px;
    /*max-width: 100%;*/
}

/*for dialogs*/
.help_screenshot-small {
    padding: 10px;
    max-height: 100px;
    width: auto;
    border-radius: 4px;
    /*max-width: 100%;*/
}

/*for larger pics*/
.help_screenshot-large {
    padding: 10px;
    height: auto;
    width: 100%;
    border-radius: 4px;
    /*max-width: 100%;*/
}

/*for largest images*/

.help_screenshot-full {
    padding: 10px;
    height: auto;
    width: 100%;
    border-radius: 4px;
    /*max-width: 100%;*/
}

.paragraph {
    /*border-left: solid 1px #f0f0f0;*/
    margin: 10px 0px 0px 0px;
}

    .paragraph > p {
        margin-top: 10px;
        margin-bottom: 10px;
    }

.paraHeader {
    font-size: 1.4em;
    font-weight: bold;
    color: #666;
}

.helpBody {
    border-right: solid 1px #ddd;
    color: #666;
}

.helpIndex {
    overflow: auto;
}

@media (min-width: 768px) {
}

.helpIndex ul {
    margin-left: -40px;
}

    .helpIndex ul ul {
        margin-left: -45px;
    }

    .helpIndex ul li {
        list-style-type: square;
        font-weight: bold;
        padding: 5px;
        margin-left: 0px;
    }

        .helpIndex ul li :hover {
            text-decoration: none;
        }

        .helpIndex ul li li:hover {
            border-left: solid 2px var(--primary);
            border-left-color: #3f51b5;
            border-left-color: var(--primary);
            background-color: #fafafa;
            text-decoration: none;
        }

    .helpIndex ul li {
        font-weight: bold;
        font-size: 1.2em;
        list-style-type: none;
    }

        .helpIndex ul li li {
            list-style-type: none;
            font-weight: normal;
            font-size: 0.8em;
        }

