﻿@charset "utf-8";

:root {
    /* NOTE - there is also a value in code "Base_Colour_Opacity" which deals with colours passed through the code base which may also need changing in relation to the value below */
    --baseColourOpacity: 0.25;
    --numericColourOpacity: 0.45;
}

/*
	REF:	Pantone 299 [Light Blue]             REF:	Pantone 143 [Orange]
	HEX:	#00a1e0                              HEX:	#f6b436
	RGB:	0 161 224                            RGB:	246 180 54
	
	REF:	Pantone 375 [Light Green]            REF:	Pantone 289 [NAV Blue]
	HEX:	#94d600                              HEX:	#0a2240
	RGB:	148 214 0                            RGB:	10 34 64

	REF:	Pantone 249 [Purple]                 REF:	Pantone 185 [Warm Red]
	HEX:	#84286b                              HEX:	#ea002a
	RGB:	132 40 107                           RGB:	234 0 42

	REF:	Pantone 3145 [Teal]
	HEX:	#00758d
	RGB:	0 117 141
*/


/* Normalise */

*, *::after, *::before {
    box-sizing: border-box;
}

/*body {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
}*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after, q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Set colours */

/* Backgrounds */

.bg-light-blue {
    background-color: rgba(0,161,224,var(--baseColourOpacity));
}

.bg-light-green {
    background-color: rgba(148,214,0,var(--baseColourOpacity));
}

.bg-light-light-green {
    background-color: rgba(244,248,240,var(--baseColourOpacity));
}

.bg-transparent {
    background-color: rgba(0,0,0,0);
}

.bg-purple {
    background-color: rgba(132,40,107,var(--baseColourOpacity));
}

.bg-teal {
    background-color: rgba(0,117,141,var(--baseColourOpacity));
}

.bg-orange {
    background-color: rgba(246,180,54,var(--baseColourOpacity));
}

.bg-dark-blue {
    background-color: rgba(10,34,64,var(--baseColourOpacity));
}

.bg-red {
    background-color: rgba(234,0,42,var(--baseColourOpacity));
}

.bg-white {
    background-color: rgba(255,255,255,1);
}

.bg-orange {
    background-color: rgba(245,176,0,var(--baseColourOpacity));
}

/* Text */

.tc-light-blue {
    color: rgba(0,161,224,var(--baseColourOpacity));
}

.tc-light-green {
    color: rgba(148,214,0,var(--baseColourOpacity));
    /*color: rgba(148,214,0,1.00);*/
}

.tc-purple {
    color: rgba(132,40,107,var(--baseColourOpacity));
}

.tc-teal {
    color: rgba(0,117,141,var(--baseColourOpacity));
}

.tc-orange {
    color: rgba(246,180,54,var(--baseColourOpacity));
}

.tc-dark-blue {
    color: rgba(10,34,64,var(--baseColourOpacity));
}

.tc-red {
    color: rgba(234,0,42,var(--baseColourOpacity));
}

.tc-white {
    color: rgba(255,255,255,var(--baseColourOpacity));
}

/*
	Icons				Unicode				Icon
	-------------------------------------------------
		
	No Entry			\f05e  				fa-ban
	Bell  				\f0f3  				fa-bell
	Bullhorn			\f0a1  				fa-bullhorn
	Bolt				\f0e7				fa-bolt
	Book				\f02d				fa-book
	! Warning			\f071  				fa-warning
	Eye					\f06e  				fa-eye
	Eye Slashed			\f070  				fa-eye-slash
	Lock				\f023  				fa-lock
	Unlock				\f13e  				fa-unlock-alt
	Cog					\f013  				fa-cog
	Power				\f011  				fa-power-off
	Settings			\f0ad  				fa-wrench
	No Entry			\f05e  				
	
	
*/


/* Main styles */

body {
    background: rgba(244,248,240,1.00);
    /*background: rgba(0,161,224,1.00);*/
    font-family: Segoe UI, Myriad Pro, Myriad Std, Helvetica, DejaVu Sans, Arial, Verdana, sans-serif;
    line-height: 1.6;
    padding: 0;
    transition: all 0.5s ease 0s;
}



#progress-overlay {
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(222,225,255,.5);
}

    #progress-overlay .progress-panel {
        position: relative;
        top: 30%;
        left: 45%;
        background: #fff;
        width: 130px;
        height: 100px;
        text-align: center;
        padding-top: 20px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        background-color: #222;
        color: #fff;
    }

.sfdc-subform {
    background-color: rgba(244, 248, 240, 1);
    /*background-color: rgba(208, 240, 192, 1);*/
    /*background-color: rgba(0,161,224,1);*/
    font-family: Segoe UI, Myriad Pro, Myriad Std, Helvetica, DejaVu Sans, Arial, Verdana, sans-serif;
    line-height: 1.6;
    transition: all 0.5s ease 0s;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 0px;
    height: 100%;
    overflow-y: auto;
    overflow-y: auto;
    z-index: 5;
}

input[type="checkbox"] {
    width: 34px;
    height: 33px;
    /*height: 49px;*/
    position: relative;
    top: 2px;
    /*top: 8px;*/
    /*accent-color: rgb(225, 244, 232);*/
    /*border: 2px solid Red;*/
}

/*input[type="checkbox"]:checked {
    accent-color: rgb(185, 227, 202);
}
*/
input[type="tel"] {
    border-bottom: none;
}

.sfdc-textbox .portal-texbox-number .fa {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 0;
}

.portal-texbox-number {
    position: absolute;
    top: 0px;
    bottom: 40px;
    left: 0px;
}

a.plus:active, a.minus:active {
    background-color: #3e8e41;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.sfdc-textbox-entry a {
    cursor: pointer;
    position: absolute;
    background: #191970;
    text-align: center;
    display: inline-block;
    width: 100%;
    left: 0;
    height: 34px;
    line-height: 20px;
    font-size: 50px;
    color: #fff;
    bottom: 0px;
}

.sfdc-textbox-entry button {
    cursor: pointer;
    position: absolute;
    text-align: center;
    display: inline-block;
    width: 100%;
    left: 0;
    height: 34px;
    line-height: 20px;
    font-size: 25px;
    color: #fff;
    bottom: 0px;
    border: 4px solid rgba(255, 255, 255, 0.25);
}

.sfdc-textbox-entry .minus {
    position: absolute;
    top: 38px;
    left: 0px;
    right: 0px;
}

.sfdc-textbox-entry .plus {
    position: absolute;
    display: inline-block;
    bottom: -4px;
    left: 0px;
    right: 0px;
}

a.minus {
    position: absolute;
    top: 38px;
    left: 0px;
    right: 0px;
}

a.plus {
    position: absolute;
    display: inline-block;
    bottom: -4px;
    left: 0px;
    right: 0px;
}



input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
}


.sfdc-subform-slide-open {
    background-color: rgba(244, 248, 240, 1);
    /*background-color: rgba(208, 240, 192, 1);*/
    /*background-color: rgba(0,161,224,1);*/
    transition: all 0.5s ease 0s;
    width: 100%;
    color: rgba(255,255,255,1);
}

#messageWindow-container {
    background-color: inherit;
}

#messageWindow-window {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 30px;
    transform: translate(-50%, -50%);
    background-color: rgba(10,34,64,1.00);
}

.sfdc-bodyfreeze {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

/*body.sfdc-bodyfreeze #aside-toggle {
    display: none;
}*/


.sfdc-form {
    transition: all 0.5s ease 0s;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 20px;
}

    .sfdc-form.aside-expandable {
        padding-left: 85px;
    }

        .sfdc-form.aside-expandable #aside-content-inner {
            padding-top: 125px;
        }

        .sfdc-form.aside-expandable .portal-panels-fixed {
            padding-right: 105px;
        }

    .sfdc-form.aside-open .portal-panels-fixed {
        padding-right: 290px;
    }


    .sfdc-form.aside-open {
        padding-left: 270px;
        transition: all 0.5s ease 0s;
    }

    .sfdc-form.action-open {
        padding-right: 270px;
    }

.portal-panels-fixed {
    transition: all 0.5s ease 0s;
    width: 100%;
    position: fixed;
    background-color: rgba(244,248,240,1.00);
    z-index: 2;
    padding-right: 35px;
    top: 0px;
}

a, a img {
    border: 0;
    text-decoration: none;
}

hr {
    border: 1px dashed rgba(255, 255, 255, 0.5);
    display: block;
    margin: 2em 0;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

.sfdc-button {
    /*padding-bottom: 15px;*/

}

.sfdc-button-skin {
    background-color: rgba(246,180,54,var(--baseColourOpacity));
}

/*.sfdc-grid-editor {
    position: relative;
    height: 1.6em;
}*/

.sfdc-grid-editor .sfdc-button {
    padding-bottom: 0;
}

.sfdc-button > button {
    /*border: 4px solid rgba(255, 255, 255, 0.25);*/
    border: 0 solid rgba(255,255,255,1.00);
    cursor: pointer;
    font-weight: 350;
    /*font-weight: 600;*/
    font-size: 1.25em;
    margin-bottom: 10px;
    padding-top: 0.6em;
    padding-bottom: 0.5em;
    color: rgba(0,0,0,1.00);
    /*color: rgba(255,255,255,1.00);*/
    display: inline-block;
    text-align: center;
    min-width: 200px;
    border-radius: 25px;
}

.sfdc-grid-editor > .sfdc-button > button {
    min-width: 30px;
    width: 30px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.sfdc-grid-editor > .k-numerictextbox {
    /*margin-left: 40px;
    margin-right: 10px;*/
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 18px;
    margin-top: 0;
    padding-bottom: 0;
    padding-top: 0;
    padding-left: 5px;
    padding-right: 5px;
}



header {
}

    header div#client-logo {
        text-align: right;
        padding: 0em 0em 2em;
        line-height: 0;
    }

        header div#client-logo img {
            background: #fff;
            display: inline-block;
            max-height: 120px;
            margin: 0;
            padding: 1em;
            width: auto;
        }

.sfdc-form {
    position: relative;
}

    .sfdc-form #page-title {
        color: rgba(255,255,255,1.00);
        text-align: center;
        padding-top: 0;
    }

        .sfdc-form #page-title h2 {
            font-size: 2.75em;
            font-weight: 100;
        }

        .sfdc-form #page-title h3 {
            font-size: 1.75em;
            font-weight: 600;
        }

    .sfdc-form > .sfdc-panel {
        border-bottom: 1px dashed rgba(255,255,255,0.5);
        padding: 2em 0;
    }

        .sfdc-form > .sfdc-panel:last-child {
            border-bottom: 0;
        }

/* Grid CSS */
.sfdc-grid {
    max-width: 100%;
    overflow-x: auto;
    box-shadow: none;
    border-radius: 0px;
}

    .sfdc-grid.sfdc-grid-fixedheight.k-grid .k-grid-content {
        min-height: 100px;
        max-height: 400px;
    }

    .sfdc-grid div.sfdc-grid-textbox {
        width: 97%; /* 100% */
        height: 100%;
        height: 1.6em;
    }

    .sfdc-grid div.sfdc-grid-textbox-left {
        text-align: left;
    }

.sfdc-grid-textbox-editable {
    /*border: 3px rgb(246, 249, 243) solid;*/
    border: 3px solid rgb(225, 244, 232);
    border-radius: 8px;
    background-color: rgba(252, 253, 250, 1.0);
    padding: 10px 0;
    /*font-size: 1.2em;*/
    width: 100%;
}


    .sfdc-grid .k-header.k-grid-toolbar {
        margin: 0;
        padding-bottom: 5px;
        padding-top: 5px;
    }

    .sfdc-grid table {
        border-bottom: 1px solid rgba(255,255,255,0.25);
        border-top: 1px solid rgba(255,255,255,0.25);
        color: rgba(0,0,0,1.00);
        /*color: rgba(255,255,255,1.00);*/
        text-align: center;
        width: 100%;
    }


        .sfdc-grid table thead,
        .sfdc-grid .k-grid-header,
        .sfdc-grid > .k-grid-toolbar {
            background-color: inherit;
        }

            /*.sfdc-grid table thead tr,
.sfdc-grid > table > tbody > .k-alt {
    background: inherit;
    border: inherit;
}*/
            .sfdc-grid table thead tr {
                background: rgba(255, 255, 255, 0.05) none repeat scroll 0 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.25);
            }

                .sfdc-grid table thead tr th {
                    background: rgba(255, 255, 255, 0.05) none repeat scroll 0 0;
                    padding: 1em !important;
                    border-width: 0px !important;
                    border-bottom: inherit !important;
                    border-top: inherit !important;
                    color: inherit !important;
                    /*text-align: inherit !important;*/
                    width: inherit !important;
                }


                    /*//:not(.sfdc-selectionlist-scrollable)*/

                    .sfdc-grid table thead tr th.selected,
                    .sfdc-grid table thead tr th:hover,
                    .sfdc-grid table thead tr th:focus {
                        background: rgba(255, 255, 255, 0.5) none repeat scroll 0 0;
                    }

                    .sfdc-grid table thead tr th a, 
                    .sfdc-grid table thead tr th div{
                        color: rgba(0,0,0,1.00) !important;
                        /*color: rgba(255,255,255,1.00) !important;*/
                        font-weight: 600 !important;
                    }


    .sfdc-grid > table > tbody > .k-alt,
    .sfdc-grid > table > tbody > tr,
    .sfdc-grid .k-grid-content > table > tbody > .k-alt,
    .sfdc-grid .k-grid-content > table > tbody > tr {
        border-bottom: 10px solid rgb(244, 248, 240,1.0);
        /*border-bottom: 1px dashed rgba(255,255,255,0.25);*/
        cursor: pointer;
        transition: 0.5s ease-in-out 0s;
        color: rgba(0,0,0,1);
        /*color: rgba(255,255,255,1);*/
        background: inherit;
        background-color: rgba(255,255,255,1.00);
    }

        .sfdc-grid > table > tbody > tr:last-child,
        .sfdc-grid .k-grid-content > table > tbody > tr:last-child {
            border-bottom: 0px !important;
        }

.sfdc-grid:not(.sfdc-grid-hidehighlight) > table > tbody > tr.selected,
.sfdc-grid:not(.sfdc-grid-hidehighlight) > table > tbody > tr:hover,
.sfdc-grid:not(.sfdc-grid-hidehighlight) > table > tbody > tr:focus,
.sfdc-grid:not(.sfdc-grid-hidehighlight) > table > tbody > .k-state-selected,
.sfdc-grid:not(.sfdc-grid-hidehighlight) .k-grid-content > table > tbody > tr.selected,
.sfdc-grid:not(.sfdc-grid-hidehighlight) .k-grid-content > table > tbody > tr:hover,
.sfdc-grid:not(.sfdc-grid-hidehighlight) .k-grid-content > table > tbody > tr:focus,
.sfdc-grid:not(.sfdc-grid-hidehighlight) .k-grid-content > table > tbody > .k-state-selected {
    background-color: rgba(225, 244, 232, 1); /* green */
    /*background-color: rgba(255,255,255,1.00);*/
    /*border-bottom: 1px dashed rgba(0,161,224,1.00);*/
    color: rgba(0,0,0,1.00);
    /*color: rgba(0,161,224,1.00);*/
    box-shadow: none;
}

    .sfdc-grid.sfdc-grid-hidehighlight.k-grid tr:hover,
    .sfdc-grid.sfdc-grid-hidehighlight > table > tbody > tr.selected,
    .sfdc-grid.sfdc-grid-hidehighlight > table > tbody > tr:hover,
    .sfdc-grid.sfdc-grid-hidehighlight > table > tbody > tr:focus,
    .sfdc-grid.sfdc-grid-hidehighlight > table > tbody > .k-state-selected,
    .sfdc-grid.sfdc-grid-hidehighlight > table > tbody > tr.k-state-selected:hover td,
    .sfdc-grid.sfdc-grid-hidehighlight .k-grid-content > table > tbody > .k-state-selected,
    .sfdc-grid.sfdc-grid-hidehighlight .k-grid-content > table > tbody > tr:hover,
    .sfdc-grid.sfdc-grid-hidehighlight .k-grid-content > table > tbody > tr:hover.k-state-selected,
    .sfdc-grid.sfdc-grid-hidehighlight .k-grid-content > table > tbody > tr:focus,
    .sfdc-grid.sfdc-grid-hidehighlight .k-grid-content > table > tbody > .k-state-selected,
    .sfdc-grid.sfdc-grid-hidehighlight .k-grid-content > table > tbody > tr.k-state-selected:hover td {
        background-color: transparent;
    }

    .sfdc-grid > table > tbody > tr td,
    .sfdc-grid .k-grid-content > table > tbody > tr td {
        padding: 0.6em 0.2em;
        /*padding: 1em;*/
        border: inherit;
    }

.k-grid td.k-state-selected:hover, .k-grid tr.k-state-selected:hover td {
    background-color: rgba(225, 244, 232, 1);
    color: black;
}

.k-grid tbody > tr.k-state-selected td:first-child {
    border-left: solid rgba(65, 176, 110, 0.25);
    border-width: 7px;
    border-radius: 8px 0 0 8px;
}

.k-grid tbody > tr.k-state-selected td:last-child {
    border-right: solid rgba(65, 176, 110, 0.25);
    border-width: 7px;
    border-radius: 0 8px 8px 0;
}

.k-grid tbody > tr.k-state-selected td {
    border-top: solid rgba(65, 176, 110, 0.25);
    border-bottom: solid rgba(65, 176, 110, 0.25);
    border-width: 7px;
    border-radius: 0;
}

.k-numerictextbox {
    width: 80px;
}

aside {
    color: rgba(255,255,255,1.00);
    position: fixed;
    top: 0;
    height: 100%;
    transition: 0.5s ease-in-out 0s;
}

    aside.left {
        left: -245px;
    }

    aside.left.open {
        left: 0;
    }

    aside.right.open {
        right: 0;
    }

#aside-toggle {
    background-color: rgba(255, 255, 255, 1);
    color: rgba(10, 34, 64, 1);
    cursor: pointer;
    display: block;
    font-size: 1.5em;
    left: 0px;
    padding: 0.35em 0.75em;
    /*position: absolute;*/
    text-align: center;
    top: 25px;
    transition: all 0.5s ease-in-out 0s;
    position: fixed;
}

aside .sfdc-button.top {
    position: fixed;
    left: 160px;
    top: 25px;
    width: 60px;
    transition: all 0.5s ease-in-out 0s;
    opacity: 1;
}

    aside .sfdc-button.top button {
        min-width: 60px;
    }

.sfdc-form:not(.aside-open) .sfdc-button.top {
    opacity: 0;
    left: -70px;
}

#aside-toggle:hover, aside #aside-toggle:focus, aside #aside-toggle.selected {
    background-color: rgba(10, 34, 64, 1);
    color: rgba(255, 255, 255, 1);
}

.sfdc-form.aside-open > #aside-toggle {
    left: 25px;
}


aside > div#aside-content {
    height: 100%;
}

aside > div > div#aside-content-inner {
    height: 100%;
    padding: 20px 20px 0px;
    width: 249px;
}

/* Clever Dynamics Image in lower left hand corner */
/*aside.left > div > div#aside-content-inner > div {
    background: url(../Images/cd-logo-7710-solid.svg) no-repeat bottom center / contain;
    background-size: 200px 180px;
    height: 100%;
}*/

aside div#additions-title {
    display: block;
    padding: 6em 0em 2em;
}

    aside div#additions-title h3 {
        font-weight: 600;
    }

    aside div#additions-title h4 {
        font-weight: 100;
        font-size: 1.5em;
        line-height: 1.4;
    }

aside nav {
    display: table;
    height: 100%;
    padding-bottom: 170px;
}

    aside nav ul li {
        margin-bottom: 1em;
    }


aside footer {
    color: rgba(255,255,255,0.5);
    font-size: 0.75em;
    margin-top: 2em;
}

input[type=hidden] {
    border: 0px;
    padding: 0px;
}

input {
    font-family: Segoe UI, Myriad Pro, Myriad Std, Helvetica, DejaVu Sans, Arial, Verdana, sans-serif;
    background: transparent;
    transition: all 0.5s ease-in-out 0s;
}
/*start*/
.sfdc-checkbox {
    display: inline-block;
    text-align: left;
}

    .sfdc-checkbox .sfdc-checkbox-entry {
        display: inline-block;
        width: 100%;
        position: relative;
    }

        .sfdc-checkbox .sfdc-checkbox-entry > span {
            display: inline-block;
            position: absolute;
            left: 0px;
            top: 5px;
        }


.sfdc-grid .sfdc-checkbox {
    min-height: inherit;
    display: inherit;
    text-align: inherit;
    width: inherit;
    padding: 0;
    border: 0;
    text-decoration: inherit;
    transition: inherit;
    word-break: inherit;
    position: inherit;
    margin-right: inherit;
    margin-bottom: inherit;
}
/*end*/

.sfdc-textbox-entry {
    display: inline-block;
    width: 100%;
    position: relative;
    background-color: white;
    border: 1px #94D600 solid;
    border-radius: 8px;
    font-size: 1.2em;
}

    .sfdc-textbox-entry > span:first-child {
        display: inline-block;
        position: absolute;
        left: 0px;
        top: 5px;
    }


    .sfdc-textbox-entry > .k-widget {
        display: inline-block;
        padding-left: 9px;
        padding-right: 5px;
        width: 100%;
        border: 0;
        border-bottom: 1px solid;
        line-height: inherit;
        box-sizing: border-box;
    }


    .sfdc-textbox-entry input {
        padding-left: 20px;
        width: 100%;
        border: 0 solid transparent;
        /*border: 0;*/
        /*border-bottom: 1px solid;*/
    }

    .sfdc-textbox-entry > .k-widget * {
        line-height: inherit !important;
        text-indent: inherit !important;
        padding: 0 !important;
        border: 0 !important;
        border-color: white !important;
        border-width: 0px !important;
        border-radius: 0px 0px !important;
        box-shadow: none !important;
    }


.sfdc-spinner {
    display: inline-block;
    text-align: left;
}

    .sfdc-spinner .sfdc-textbox-entry {
        display: inline-block;
        width: 100%;
        position: relative;
    }

        .sfdc-spinner .sfdc-textbox-entry > span {
            display: inline-block;
            position: absolute;
            left: 0px;
            top: 5px;
        }


    .sfdc-spinner select {
        padding-left: 20px;
        width: 100%;
        border: 0;
        border-bottom: 1px solid;
    }


.sfdc-text, .sfdc-html {
    color: black;
    /*color: white;*/
    font-size: 26px;
    margin-bottom: 10px;
}

    .sfdc-text.centre-horizontal {
        text-align: center
    }

img.centre-horizontal {
    margin: 0 auto;
    display: table;
}

.sfdc-text {
    display: block;
}

.sfdc-html {
    display: inline-block;
}

/*.sfdc-textbox input::before {
    content: "\0x23"
}*/

/*.sfdc-checkbox*/
/*start*/



.selection-tile, .sfdc-label, .sfdc-spinner, .sfdc-textbox, .sfdc-checkbox, .portal-keypad {
    display: inline-block;
    width: 150px;
    padding: 1em;
    border: 4px solid rgba(255,255,255,0);
    text-decoration: none;
    transition: all 0.25s ease-in-out 0.05s;
    word-break: loose;
    position: relative;
}
/*end*/
.selection-tile, .sfdc-label-click, .sfdc-textbox {
    cursor: pointer;
}

.sfdc-label-click {
    min-height: 110px;
}

.sfdc-label.sfdc-label-click {
    height: 150px;
    /*min-height: 60px;*/
}

.sfdc-label-html {
    width: 150px;
    height: 150px;
    position: absolute;
    left: 0px;
    top: 0px;
}

.sfdc-label-html img {
    width: 142px;
    height: 142px;
    position: absolute;
    left: 0px;
    top: 0px;
}

/* Any "label" placed in the top fixed panel will have their "note" field removed whether it has a value or not */
/*.portal-panels-fixed .sfdc-label:not(.sfdc-label-click) .note {
    height: 0px;
}
*/

.portal-panels-fixed .sfdc-label:not(.sfdc-label-click) .note .note-blank {
    height: 0px;
}

.sfdc-label .sfdc-label-click, .selection-tile {
    height: 150px;
}


.sfdc-label, .sfdc-textbox, .sfdc-checkbox, .sfdc-spinner, .portal-keypad {
    margin-right: 10px;
    margin-bottom: 10px;
}

    .sfdc-label .barcode {
        margin-top: 2px;
        margin-bottom: 20px;
    }
/*end*/
.selection-tile {
    margin-bottom: 4px;
}

    .selection-tile:hover, .selection-tile:focus, .selection-tile.k-state-selected {
        border-color: rgba(185, 227, 202, 0.75);
        background-color: rgba(225, 244, 232, 1.0);
        color: black;
    }

.sfdc-label {
    color: black;
}

    .sfdc-label:not(.sfdc-label-click) {
        min-height: 75px;
        background-color: transparent;
        /*color: black;*/
        padding: 0;
    }

    .sfdc-label:not(.sfdc-label-click) .k-grid-toolbar {
        width: 70px;
        margin-top: 4px;
    }

.tile-title {
    display: block;
    /*font-size: 0.8em;*/
    font-size: 1em;
    font-weight: 350;
    /*line-height: 1.2;*/
    /*min-height: 3.5em;*/
    min-height: 2em;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: black;
}

.note {
    display: block;
    font-weight: normal; /*600;*/
    /*font-weight: 600;*/
    /*font-size: 1.5em;*/
    font-size: 0.8em;
    /*position: absolute;*/
    /*bottom: 10px;*/
    /*right: 15px;*/
    text-align: left;
    text-align: center;
}

.sfdc-label-click .note {
    height: 65px;
    font-size: 1.2em;
}

.sfdc-label-click .tile-title {
    height: 65px;
    text-align: center;
    padding-top: 20px;
    font-size: 1.4em;
    text-overflow: ellipsis;
    overflow: hidden;
}

.sfdc-textbox-entry .note {
    font-size: 0.8em;
    text-align: left;
}

.sfdc-textbox .note {
    font-size: 1.2em; /*0.7em;*/
    margin-bottom: 8px;
    text-align: left;
    color: black;
}

.sfdc-textbox-entry .tile-title {
    text-align: left;
}

.sfdc-label:not(.sfdc-label-click) .note {
    font-size: 1.2em; /*0.8em;*/
    text-align: left;
    align-content: start;
    width: 100%;
    margin-bottom: 8px;
    /*padding-bottom: 9px;*/
    white-space: nowrap; /* note text on top of entrybox  */
    overflow: hidden;
    text-overflow: ellipsis; /*clip;*/
}

.sfdc-label:not(.sfdc-label-click) .tile-title {
    font-size: 1.2em;
    text-align: left;
    /*align-content: start;*/
    display: inline-block;
    width: 100%;
    position: relative;
    background-color: rgb(208, 240, 192, 0.3);
    border-width: 0;
    border-radius: 6px;
    padding-left: 9px;
    /* Not investigated why?*/
    padding-top: 3px;
    font-weight: 350;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
}

.sfdc-label-click-icon {
/*    background-image: url(/Content/Images/link-external-simple.png);
    background-repeat: no-repeat;
    background-size: 1.2em;
    background-position-x: 117px;
    background-position-y: 45px;
*/}


/* Clickable Icon - Same background colour as button - orange */
/* Formatting for displayable text in clickable label */
.sfdc-label-click-icon .single-value.tile-title {
    background-color: rgba(246,180,54,var(--baseColourOpacity));
    padding-right: 10px;
    padding-left: 19px;
    border-radius: 19px;

    font-size: 20px;
    font-family: Arial;
    font-weight: 350;
}
/*.sfdc-label-click-icon .single-value.tile-title {
    background-color: rgba(246,180,54,var(--baseColourOpacity));
    border-radius: 18px;
}
*/
/* Clickable Icon - With thick border (green) */
/*.sfdc-label-click-icon .single-value.tile-title {
    border: 3px solid rgba(65, 176, 110, 0.25);
    border-width: 3px;
}*/

/* Clickable label Green outline, button background colour and larger corner radius */
/*.sfdc-label-click-icon .single-value.tile-title {
    border-radius: 18px;
    border: 3px solid rgba(246,180,54,var(--baseColourOpacity));
    background-color: rgba(65, 176, 110, 0.25);
    border-width: 3px;
}
*/
/*.sfdc-label-click-icon .single-value.tile-title {
    border-radius: 18px;
    border: 3px solid rgba(65, 176, 110, 0.25);
    background-color: rgba(246,180,54,var(--baseColourOpacity));
    border-width: 3px;
}
*/

.sfdc-textbox {
    padding: 0;
}



.selection-tile .note {
    height: 65px;
    font-size: 1.1em;
}

.selection-tile .tile-title {
    height: 65px;
    text-align: center;
    padding-top: 20px;
    font-size: 1.1em;
    white-space: normal;
}

.sfdc-label.sfdc-label-click .single-value.note,
.sfdc-label.sfdc-label-click .single-value.tile-title {
    font-size: 1.2em;
    font-weight: normal;
    display: inline-block;
    height: auto; /*150px;*/
    text-align: center;
    vertical-align: middle;
    padding: 0;
    margin: 0;
    padding-top: 25px;
}

.sfdc-label.sfdc-label-click .single-value.note {
    /*background-color: lightcoral;*/
}

.sfdc-label.sfdc-label-click .single-value.tile-title {
    /*background-color: lightseagreen;*/
}

.sfdc-kendo-search {
    float: right;
    font-size: 1.2em;
    min-height: 2em !important;
    /*min-height: 35px !important;*/
    /*color: black;*/
    padding: 0;
    margin: 0;
    
    
}

.sfdc-textbox.sfdc-kendo-search {
    border: 3px rgb(225, 244, 232) solid;
    cursor: text;
    padding-left: 10px;
    width: 300px;
}

.sfdc-kendo-search-text {
    float: right;
    margin-top: 10px;
    margin-right: 10px;
}

.sfdc-kendo-title {
    float: left;
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    margin-right: 10px;
}

.display-none {
    display: none;
}

.k-autocomplete, .k-colorpicker, .k-combobox, .k-datepicker, .k-datetimepicker, .k-dropdown, .k-dropdowntree, 
.k-listbox, .k-multiselect, .k-numerictextbox, .k-selectbox, .k-textbox, .k-timepicker, .k-toolbar .k-split-button {
    /*width:6em;*/
}

.k-edit-cell .sfdc-grid-editor {
    
    /*border: 2px solid red;*/
    width: 100%;
}

.k-edit-cell .sfdc-grid-editor input {
    border: none;
    height: 45px;
    /*height: 3.3em;*/
    background-color: white;
    border-radius: 3px;
    width: 100%;
    padding: 0px 0px 0px 8px;
    margin-right: 30px;
    /*width: 90%;*/
}

.sfdc-grid > table >tbody > tr > td {
    height: 4em;
    /*background-color: palevioletred;*/
    vertical-align: middle;
}

.sfdc-grid-textbox-editable-text {
    /*border: 2px solid Green;*/
    /*border-radius: 8px;*/
    /*height: 100%;*/
    /*width: 100px;*/
}

.sfdc-grid-textbox-editable-text.sfdc-grid-editor {
    width: 90px;
    padding-left: 0px;
    padding-right: 0px;
}

.kendo-edit-numeric {
    width: 150px;
}

.increment-number {
    width: 28px;
    height: 28px;
    /*background-color: rgba(148,214,0,var(--numericColourOpacity));*/
    border-radius: 14px;
    margin: 6px 0 0 1px;
    padding: 0 0 0 0;
    /*padding-top: 20px;*/
}

.minus-number {
}

.plus-number {
}

.increment-number-div {
    width: 40px;
    height: 60px;
    padding: 20px 0 0 0;
}

.increment-number-background-div {
    width: 40px;
    height: 40px;
    /*height: 4em;*/
    /*margin-top: 20px;*/
    background-color: rgb(185, 227, 202);
    border-radius: 20px;
}


.increment-number-div-left {
    left: 0px;
}
.increment-number-div-right {
    right: 0px;
}

.k-primary.k-button {
    background-color: rgba(245,176,0,var(--baseColourOpacity));
    color: black;
}

.k-grid-toolbar, .k-grouping-header {
    padding: 0;
}

@media screen and (max-width: 550px) {
    header {
        margin-top: 110px;
    }

        header div#client-logo {
            text-align: center;
        }

    section#content > div#nav-bottom, section#content > div#nav-bottom > div {
        float: none;
        display: block;
        width: 100% !important;
    }

    a.button, button {
        display: block;
        padding: 1em 1em 1em 1em;
        width: 100%;
    }
}

.k-numeric-wrap.k-state-focused {
    box-shadow: none;
    border: none;
}

@media screen and (max-width: 440px) {
    form.aside-open section#content, form.aside-open header {
        display: none;
    }

    form.aside-open aside, body.aside-open aside > div > div#aside-content-inner {
        width: 100%;
    }

        body.aside-open aside > div > div#aside-content-inner > div {
            background-size: 50% auto;
            transition: all 0.2s ease 0s;
        }

    section .display-tiles ul li {
        display: block;
        margin-right: 0;
    }

        section .display-tiles ul li a.tile, aside ul li a.tile {
            text-align: center;
            width: 100%;
        }
}




/* Additional CSS */


#sfdc-selection-grid-additem {
    float: left;
}


#sfdc-selection-grid-removeitem {
    float: right;
}

.sfdc-grid {
    background-color: inherit;
    border-width: 0px;
}

.sfdc-selectiontiles > div > div {
    background-color: inherit;
    border: 0px;
}

.sfdc-selectiontiles {
    box-shadow: none;
    display: inline-block;
}

.sfdc-selection-tiles-listview > * {
    vertical-align: top;
}

.sfdc-selection-tiles-listview {
    box-shadow: none;
}


/* Panels */

.sfdc-panel > * {
    /* Remove spacing between inline elements */
    word-spacing: -0.26em;
}

.sfdc-panel > div > * {
    word-spacing: 0em;
    vertical-align: top;
}

.sfdc-panel-3-columns {
    /*white-space: nowrap;*/
}

    .sfdc-panel-3-columns .sfdc-panel-left {
        float: left;
        width: 20%;
    }

    .sfdc-panel-3-columns .sfdc-panel-middle {
        float: none;
        margin: 0 20% 0 20%;
    }

    .sfdc-panel-3-columns .sfdc-panel-right {
        float: right;
        width: 20%;
        text-align: right;
    }

.sfdc-panel-2-columns {
    /*white-space: nowrap;*/
}


    .sfdc-panel-2-columns .sfdc-panel-left {
        float: left;
        width: 80%;
    }

    .sfdc-panel-2-columns .sfdc-panel-middle {
        display: none;
        width: 0px;
        height: 0px;
    }

    .sfdc-panel-2-columns .sfdc-panel-right {
        float: right;
        width: 20%;
        text-align: right;
    }

.sfdc-panel-2-columns {
    /*white-space: nowrap;*/
}


.sfdc-panel-1-column .sfdc-panel-left {
    display: none;
}

.sfdc-panel-1-column .sfdc-panel-middle {
}

.sfdc-panel-1-column .sfdc-panel-right {
    display: none;
}

.sfdc-panel-fullscreen {
    position: fixed;
    top: -30px;
    bottom: -30px;
    right: 0px;
    left: 0px;
    transition: all 0.5s ease 0s;
}

    .sfdc-panel-fullscreen .sfdc-panel-left {
        display: none;
    }

    .sfdc-panel-fullscreen .sfdc-panel-middle {
        height: 100%;
    }

    .sfdc-panel-fullscreen .sfdc-panel-right {
        display: none;
    }

.sfdc-form.aside-expandable .sfdc-panel-fullscreen {
    left: 70px;
}

.sfdc-form.aside-open .sfdc-panel-fullscreen {
    left: 250px;
}


#messageWindow-container {
    background-color: rgba(0,0,0,0.7);
    /*background-color: rgba(234,0,42,0.9);*/
}

.sfdc-error-message {
    background-color: transparent !important;
    padding: 0px;
    text-align: center;
}

    .sfdc-error-message > span {
        display: inline-block;
        font-size: 2em;
        padding-bottom: 2em;
    }

.sfdc-resource > iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
}


.portal-align-bottom {
    display: table-row;
    vertical-align: bottom;
    height: 1px;
}

.tile-icon {
    display: block;
    font-size: 90px;
    position: relative;
}

    .tile-icon i {
        display: inline-block;
        position: absolute;
        top: 0px;
        left: 15px;
    }

.sfdc-pdf #the-canvas {
    padding-top: 1.5em;
}

.portal-guage {
    padding: 0;
    position: relative;
}

    .portal-guage .portal-guage-container {
        display: block;
        position: absolute;
        left: -4px;
    }


.portal-keypad {
}

.portal-keypad-panel > button {
    border: 4px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    font-weight: 600;
    font-size: 1.25em;
    margin-bottom: 10px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    color: rgba(255,255,255,1.00);
    display: inline-block;
    text-align: center;
    min-width: 50px;
}

.portal-keypad-col1, .portal-keypad-col2 {
    margin-right: 4px;
}

.portal-keypad .sfdc-textbox-entry {
    text-align: left;
}

.portal-align-inner-right {
    float: right;
}

/* This removes the black outline for an input field - maybe this should go further up towards the top of the file */
input:focus {
    outline: none;
}
