﻿/* Style colours
----------------------------------------- 

Base colour: #999999
Lowlight:    #777777
Highlight:   #383838

*/

/* Animation
----------------------------------------- */

.db-animate {
    -webkit-transition: all 0.2s ease-in; /* For Safari 3.1 to 6.0 */
    transition: all 0.2s ease-in;
}

/* Font overrides 
----------------------------------------- */
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

html, body, .igte_EditInContainer, .igte_TextArea, .ig_Control, .igte_Edit, .igte_EditWithButtons,
.igte_EditInContainer, .igte_Inner, .igdd_Control, .igdd_ControlArea, .igdd_ValueDisplay, .igdd_ValueDisplayDisabled,
.igdd_ListItem, .igmc_Control {
    font-family: 'Poppins', sans-serif;
    font-size: large;
    font-weight: normal !important;
}

/* Default Styling 
---------------------------------------------- */

h1 {
    color: #343434;
    font-weight: normal;
    font-size: 2rem;
}

h2 {
    color: #343434;
    font-weight: normal;
    font-size: 1.4rem;
}

h3 {
    color: #343434;
    font-weight: normal;
    font-size: 1.1rem;
}

h4 {
    color: #343434;
    font-weight: normal;
    font-size: 1.1rem;
}

h5 {
    color: #343434;
    font-weight: normal;
    font-size: 1.1rem;
}

h6 {
    color: #343434;
    font-weight: normal;
    font-size: 1rem;
    font-style: italic;
}

/* Layout
---------------------------------------------- */

.wrapper {
    display: flex;
    align-items: stretch;
}

.formHead {
    padding-left: 0;
    padding-right: 0;
    padding-top: 5px;
    padding-bottom: 0;
    margin-bottom: 10px;
    background-color: #fefefe;
}

.logo {
    width: 75%;
    margin-bottom: 25px;
}

/* Scrollbar
---------------------------------------------- */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #fefefe;
    border-left: solid 1px #fefefe;
    border-right: solid 1px #fefefe;
}

::-webkit-scrollbar-thumb {
    background: #999999;
    border-left: solid 1px #fefefe;
    border-right: solid 1px #fefefe;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #777777;
        border-left: solid 1px #fefefe;
        border-right: solid 1px #fefefe;
    }

/* Layout related styles
---------------------------------------------- */

.togglevisibility-hide {
    visibility: hidden;
    height: 0;
}

/* Report
---------------------------------------------- */

.report {
    width: 100%;
    min-height: calc(100vh - 100px);
    border: 0;
    margin-left: -20px;
    width: calc(100% + 20px);
}

/* Toaster
---------------------------------------------- */

.a-brave-little-toaster {
    z-index: 999;
    position: fixed;
    bottom: 19px;
    right: 19px;
}

.toast-header {
    background-color: #2bb673;
	color: white;
}

.toast-body {
    background-color: #2bb673;
	color: white;
}

/* Content
---------------------------------------------- */
#content {
    width: calc(100% - 275px);
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
    border: 0;
}

    #content.active {
        width: 100%;
    }

.formHTML {
    overflow-y: scroll
}

#formBackground {
    display: flex;
    align-items: stretch;
    padding: 20px;
    background-color: #fefefe;
}

#formContent, #formInfo {
    padding: 20px;
    background-color: #fefefe;
    min-height: 100vh;
    margin-bottom: -40px;
    transition: all 0.3s;
}

    #formInfo .container-fluid {
        padding: 0;
    }

/* Link overrides
----------------------------------------- */

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/* Box highlighting
----------------------------------------- */

/*div.box > span {
    border: solid 1px white;
    background-color: paleturquoise;
}*/


/* Box layout 
----------------------------------------- */

div .formPanel {
    background-color: white;
    border-radius: 5px;
    margin-top: 0px;
    margin-bottom: 30px;
    padding-top: 0px;
    padding-bottom: 10px;
    padding-left: 0;
    margin-left: -30px;
    margin-right: -30px;
}

.tab-content .formPanel {
    margin-bottom: 0px;
}

div .box > span {
    margin-top: 7px;
    display: block;
    min-height: 75px;
}

div.box span .label {
    display: block;
    color: #999999;
    font-size: small;
    padding-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}

div.box span span {
    display: inline-block;
    width: 100%;
}

/* Form styling
----------------------------------------- */

#formTitle {
    font-size: x-large;
}

.formHead {
    max-height: 4rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.formHead button {
    margin-right: 0px;
    margin-left: 5px;
}

.formButtons {
    text-align: right;
    min-width: 300px !important;
    margin-right: -5px;
}

    .formButtons .delete {
        background-color: #b62b2b;
    }

    .formButtons .save {
        background-color: #2bb673;
    }

    .formButtons .delete:hover {
        background-color: #7c1d1d;
    }

    .formButtons .save:hover {
        background-color: #1d7c4e;
    }

.subtitle {
    min-height: unset !important;
    background-color: #cccccc;
    color: white;
    border-radius: 5px;
    padding: 10px;
    margin-top: 25px;
}

.error {
    background-color: #b62b2b;
    color: white;
    font-size: medium;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 3px;
    display: inline-block;
}

.errorTab {
    background-color: #b62b2b !important;
    color: white !important;
}

/* List styling
---------------------------------------------- */
.searchPanel {
}

.searchText {
    border-radius: 5px;
}

.searchPanel > div, .searchDropDowns > div {
    padding-left: 0;
    padding-bottom: 15px;
}

.igte_NullText {
	color: #999999 !important;
}

/* Grid Buttons
---------------------------------------------- */

.gridTop {
    margin-top: 15px;
    display: inline-block;
    width: calc( 100% + 15px);
}

    .gridTop ul {
        width: 100%;
    }

    .gridTop a {
        display: inline-block;
        border-radius: 5px;
        background-color: #999999;
        border: solid 1px #999999;
        color: white;
        vertical-align: top;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 10px;
        padding-right: 10px;
        margin-left: 0px;
        margin-right: 5px;
        margin-bottom: 5px;
        font-weight: normal;
        font-size: medium;
    }

        .gridTop a.float-right {
            margin-right: 0px;
        }


        .gridTop a:hover {
            background-color: #777777;
            border: solid 1px #777777;
            color: white;
            cursor: pointer;
        }

        .gridTop a[disabled] {
            color: gray;
        }

        .gridTop a[disabled] {
            background-color: gray;
            color: white;
            border: 1px solid gray;
        }

    .gridTop li.save a {
        background-color: #2bb673;
    }

        .gridTop li.save a:hover {
            background-color: #1d7c4e;
        }

.gridPager li a {
    border-bottom: solid 1px #CECECE;
    border-right: solid 1px #CECECE;
    border-left: solid 1px #FFFFFF;
    border-top: solid 1px #FFFFFF;
}


.gridPager .disabled {
    border-bottom: solid 1px #CECECE;
    border-right: solid 1px #CECECE;
    border-left: solid 1px #FFFFFF;
    border-top: solid 1px #FFFFFF;
}

.gridPagerTab {
    background-color: transparent !important;
    padding-left: 15px;
    padding-right: 25px;
}

    .gridPagerTab .searchDropDowns {
        text-align: left;
        border-bottom: solid 1px #999999;
        margin-bottom: 15px;
        margin-left: 0px;
        margin-right: -10px;
    }

.pagecontrols {
    margin-right: -10px;
}

.pagecontrols a {
    border-radius: 5px;
    display: inline-block;
    padding: 2px;
    margin: 0;
    border-bottom: solid 1px #CECECE;
    border-right: solid 1px #CECECE;
    border-left: solid 1px #FFFFFF;
    border-top: solid 1px #FFFFFF;
}

.pagecontrols .disabled {
    border: none;
}

.pagecontrols .disabled img {
    opacity: 0.2;
}


/* Grid search
---------------------------------------------- */

.gridSearch {
    display: none;
}

.view-form .gridSearch {
    display: inline;
}

    .view-form .gridSearch input {
        margin-right: 5px;
        margin-top: 0px;
        margin-bottom: 0px;
        padding-left: 5px;
        padding-top: 4px;
        padding-bottom: 3px;
        width: 100px;
        border: solid 1px #999999;
    }

        .view-form .gridSearch input::placeholder {
            color: #999999;
        }

/* Grid styling
---------------------------------------------- */
.gridPanel > div {
}

.gridHeader {
    background-color: #fefefe;
    color: #999999;
    vertical-align: bottom;
    font-weight: normal;
    font-size: small;
    border-top: none;
    border-bottom: none;
    border-left: solid 1px #fefefe;
    border-right: solid 1px #fefefe;
}

.igg_Control {
    border: none;
}

.ig_Header {
    background-color: #fefefe;
    color: #999999;
    background-image: none;
}

    .ig_Header > td {
        border-left: solid 1px #fefefe;
        border-bottom: solid 1px #f2f2f2 !important;
    }

.ig_Footer > td {
    border-left: solid 1px #fefefe;
}


.igg_Control {
    border: none;
}

.igg_Footer {
    background-image: none;
    background-color: White;
    padding: 0px;
    margin: 0px;
    vertical-align: top;
}

.igg_HeaderRowSelector {
    color: #999999;
    background-color: #fefefe !important;
    border-top: solid 1px #fefefe !important;
    border-bottom: solid 1px #f2f2f2 !important;
    border-right: solid 1px #fefefe !important;
    border-left: solid 1px #fefefe !important;
}

.igg_RowSelector {
    color: #999999;
    background-color: #e8e8e8;
    width: 15px;
    border-top: solid 1px #f2f2f2;
    border-bottom: solid 1px #f2f2f2;
    border-right: solid 1px #e8e8e8;
    border-left: solid 1px #e8e8e8;
}

.igg_FooterRowSelector {
    border-left: none;
    border-right: none !important;
}

.igg_FixedColumnSeparatorCssClass {
    width: 0px;
}

.igg_Pager {
    border: none;
    background-color: #fefefe;
    line-height: inherit;
    color: #555555;
    text-align: right;
}

tbody > tr.igg_Alt > td {
    background-color: white;
}

tbody.igg_Item > tr > td {
    height: 46px !important;
    padding: 10px;
    font-size: medium;
    line-height: 1.5em;
    white-space: nowrap;
    border-top: none;
    border-bottom: solid 1px #f2f2f2;
    border-left: solid 1px white;
}

tbody.igg_Item > tr:hover > td {
    background-color: white;
}

tbody > tr.igg_Alt:hover > td {
    background-color: white;
}

.igg_SelectedRowSelector {
	background-color: #777777 !important;
}

tbody > tr > td.igg_SelectedCell,
tbody > tr:hover > td.igg_SelectedCell,
tbody > tr.igg_UpdatedRow td.igg_SelectedCell {
    background-image: none;
    background-color: white;
    color: #444444;
}

tbody > tr > td.igg_ActiveCell {
    background-image: none;
	background-color: #ffffcc !important;
	color: #444444 !important;
}

    tbody > tr > td.igg_ActiveCell span {
		color: #444444 !important;
    }

.igg_Summary {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-size: small;
    vertical-align: middle;
    text-align: left;
    padding-left: 9px;
    padding-top: 9px;
    padding-bottom: 9px;
}

.igg_SummaryRow th {
    color: #999999;
    background-color: #fefefe;
    border-bottom: none;
    border-right: solid 1px #fefefe;
    border-top: none;
}

/*
.igg_SummaryRow {
    position: fixed;
    padding-bottom: 10px;
    background-color: #fefefe;
    bottom: 0px;
}

table[mkr=contentTbl] {
    padding-bottom: 15px;
}
*/

div[mkr=hScrBar] {
    position: fixed;
    bottom: 0;
    border-top: solid 1px white;
    border-bottom: solid 1px white;
}


.gridHeader img {
    /* float: right; */
}

    .gridHeader img[style] {
        padding-right: 2px;
    }

.igg_FixedColumnPinButtonCssClass {
    padding-right: 0px;
}

/* WebDataGrid Cell Styles
----------------------------------------------------------*/

tbody > tr > td .gridLink {
	cursor: pointer;
}

tbody > tr > td.wrap /* allow cell wrap */ {
    white-space: normal;
}

tbody > tr > td.no_separator /* no cell separator */ {
    border-left: solid 1px transparent;
}

tbody > tr > td.info /* info cell */ {
    font-style: italic;
	font-size: small;
}

tbody > tr > td.g_AR /* align right */ {
    text-align: right;
}

tbody > tr > td.g_AC /* align centre */ {
    text-align: center
}

tbody > tr > td.g_White /* White */ {
    background-color: white;
}

tbody > tr:hover > td.g_White {
    background-color: #D1495B;
}

tbody > tr > td.g_Red, tbody > tr > td.g_Red, .igg_Alt.igg_UpdatedRow td.g_Red /* Red */ {
    background-color: #D1495B;
    color: white;
}

tbody > tr:hover > td.g_Red {
    background-color: #D1495B;
	color: white;
}

tbody > tr:hover > td.g_Red.igg_ActiveCell {
	background-color: #ffffcc !important;
}

tbody > tr > td.g_Red .gridLink {
    color: white;
}

    tbody > tr > td.g_Red .gridLink:hover {
        color: white;
    }

tbody > tr > td.g_ReadOnly.g_Red /* Read Only */ {
    background-color: #D1495B !important;
    color: white !important;
}

tbody > tr > td.g_Orange, .igg_Alt.igg_UpdatedRow td.g_Orange /* Orange */ {
    background-color: #E78F42;
    color: white;
}

tbody > tr:hover > td.g_Orange {
    background-color: #E78F42;
	color: white;
}

tbody > tr:hover > td.g_Orange.igg_ActiveCell {
	background-color: #ffffcc !important;
}

tbody > tr > td.g_Orange .gridLink {
    color: white;
}

    tbody > tr > td.g_Orange .gridLink:hover {
        color: white;
    }

tbody > tr > td.g_ReadOnly.g_Orange /* Read Only */ {
    background-color: #E78F42 !important;
    color: white !important;
}

tbody > tr > td.g_Green /* Green */ {
    background-color: lightgreen;
}

tbody > tr:hover > td.g_Green {
    background-color: lightgreen !important;
}

tbody > tr:hover > td.g_Green.igg_ActiveCell {
	background-color: #ffffcc !important;
}

tbody > tr > td.g_Green .gridLink {
}

    tbody > tr > td.g_Green .gridLink:hover {
    }

tbody > tr > td.g_ReadOnly.g_Green /* Read Only */ {
    background-color: lightgreen !important;
}

tbody > tr > td.g_Blue, tbody > tr > td.g_Blue, .igg_Alt.igg_UpdatedRow td.g_Blue /* Blue */ {
    background-color: #66A3FF;
    color: white;
}

tbody > tr:hover > td.g_Blue {
    background-color: #66A3FF;
    color: white;
}

    tbody > tr:hover > td.g_Blue.igg_ActiveCell {
        background-color: #ffffcc !important;
    }

tbody > tr > td.g_Blue .gridLink {
    color: white;
}

    tbody > tr > td.g_Blue .gridLink:hover {
        color: white;
    }

tbody > tr > td.g_ReadOnly.g_Blue /* Read Only */ {
    background-color: #66A3FF !important;
    color: white !important;
}

tbody > tr > td.g_Grey, tbody > tr > td.g_Grey, .igg_Alt.igg_UpdatedRow td.g_Grey /* Grey */ {
    background-color: darkgrey;
    color: white;
}

tbody > tr:hover > td.g_Grey {
    background-color: darkgrey;
    color: white;
}

    tbody > tr:hover > td.g_Grey.igg_ActiveCell {
        background-color: #ffffcc !important;
    }

tbody > tr > td.g_Grey .gridLink {
    color: white;
}

    tbody > tr > td.g_Grey .gridLink:hover {
        color: white;
    }

tbody > tr > td.g_ReadOnly.g_Grey /* Read Only */ {
    background-color: darkgrey !important;
    color: white !important;
}

tbody > tr > td.g_Purple /* Purple */ {
    background-color: mediumpurple;
    color: white;
}

tbody > tr:hover > td.g_Purple {
    background-color: mediumpurple;
    color: white;
}

tbody > tr > td.g_Yellow /* Yellow */ {
    background-color: #F8F834;
}

tbody > tr:hover > td.g_Yellow {
    background-color: #F8F834;
}

tbody > tr > td.g_ReadOnly /* Read Only */ {
	background-color: #f0f0f0 !important;
	color: #444444 !important;
	border-bottom: solid 1px white;
}

tbody > tr > td.igg_ActiveCell.g_ReadOnly {
	background-color: #ffffcc !important;
	color: #444444 !important;
}

/* Item emphasis */

.emphasis1 {
    font-weight: 600;
}

.emphasis2 {
}

.emphasis3 {
    opacity: 0.7;
}


/* Zoom from list button
---------------------------------------------- */
tbody > tr > td.zoombutton {
    padding-left: 5px;
    text-align: center;
    vertical-align: middle;
    border-left: none;
    padding-top: 0;
    padding-bottom: 0;
	opacity: 1!important;
}

    tbody > tr > td.zoombutton span {
        display: inline-block;
        font-style: normal;
        font-size: medium;
        border-radius: 5px;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 6px;
        padding-right: 6px;
        background-color: #999999;
        color: white !important;
        border: none;
    }

        tbody > tr > td.zoombutton span:hover {
            background-color: #777777;
            cursor: pointer;
        }

/* list action button
---------------------------------------------- */

tbody > tr > td.actionbutton {
    vertical-align: middle;
    padding-top: 0;
    padding-bottom: 0;
}

tbody > tr > td.actionbutton input[type=submit] {
    font-style: normal;
    font-size: medium;
    border-radius: 5px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-top: 0;
    margin-bottom: 0;
    border: none;
	opacity: 1!important;
}

/* Zoom from form button
---------------------------------------------- */
    .zoombuttonform, .zoombuttonview, .zoombuttonemail {
    position: absolute;
    z-index: 2;
    display: block;
    background-color: transparent;
    color: #CCCCCC;
    height: 50px !important;
    width: 50px !important;
    line-height: 44px;
    margin-left: 13px;
    /*float: right;*/
	opacity: 1!important;
}

    .zoombuttonform:hover, .zoombuttonview:hover, .zoombuttonemail:hover {
        color: #777777 !important;
        cursor: pointer !important;
    }

    .zoombuttonform ~ input, .zoombuttonview ~ input, .zoombuttonemail ~ input {
        padding-left: 40px !important;
    }

/* Default submit button style
---------------------------------------------- */
input[type=submit], input[type=button], button, .file-upload-area .button, .btn-primary {
    display: inline-block;
    border-radius: 5px;
    background-color: #999999;
    border: solid 1px #999999;
    color: white;
    vertical-align: top;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-weight: normal;
    font-size: medium;
}

.btn-primary, .btn-secondary {
    padding: 8px 15px;
    font-size: large !important;
    }

.btn-secondary {
    background-color: #777777;
    border: solid 1px #777777;
    color: white;
    opacity: 0.7;
}

        .btn-secondary:hover {
            background-color: #777777;
            border: solid 1px #777777;
            color: white;
            opacity: 0.8;
        }

input[type=submit]:hover, input[type=button]:hover, button:hover, .file-upload-area .button:hover, .btn-primary:hover {
    background-color: #777777;
    border: solid 1px #777777;
    color: white;
    cursor: pointer;
}


/* Disabled control styles
---------------------------------------------- */

input[disabled], input[disabled="true"], 
textarea[disabled], textarea[disabled="true"],
.ig_Disabled {
    background-color: #f0f0f0;
    color: #444444 !important;
	opacity: 1;
}

    .ig_Disabled .igdd_ControlArea .igdd_DropDownButton {
        background-color: #f0f0f0;
        border-color: #f0f0f0;
    }

input[type=submit][disabled], input[type=button][disabled], button[disabled]
input [type=submit][disabled]:hover, input[type=button][disabled]:hover, button[disabled]:hover {
    background-color: #dddddd;
    border: 1px solid #dddddd !important;
    color: white !important;
    cursor: default;
}

.ig_Disabled .igdd_ControlArea .igdd_DropDownButton {
    background-color: #f0f0f0;
}

.igdd_ControlDisabled table {
    background-color: #f0f0f0;
}

.igte_ButtonDisabled {
    background-color: #f0f0f0 !important;
}

.igte_EditInContainer[disabled] {
    background-color: #f0f0f0 !important;
    width: 100% !important;
    border-radius: unset;
}

/* Remove outline on focus
-----------------------------------------------*/
*:focus {
    outline: none !important;
}

/* Custom Inputs
---------------------------------------------- */

input[type="checkbox"] + label {
    border-radius: 5px;
}

input[type='text'] {
    border-radius: 5px;
	max-height: 43px !important;
}

input[type='password'] {
    border-radius: 5px;
    max-height: 43px !important;
}

textarea {
    border-radius: 5px;
}

.pointer {
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.hiddenChild * {
    display: none !important;
}
 
/* Custom Checkbox
(thanks to http://www.inserthtml.com/2012/06/custom-form-radio-checkbox/)
---------------------------------------------- */

input[type="checkbox"] {
    width: 0;
    height: 0;
    clip: rect(0 0 0 0);
    position: absolute;
}

    input[type="checkbox"] + label {
        background-color: white;
        border: 1px solid #999999;
        padding-left: 21px;
        padding-right: 21px;
        padding-top: 21px;
        padding-bottom: 22px;
        display: inline-block;
        position: relative;
        margin-bottom: 0;
    }

        input[type="checkbox"] + label:hover, input[type="checkbox"]:checked + label:hover {
            background-color: white;
            border-color: #383838;
        }

    input[type="checkbox"]:checked + label {
        border: 1px solid #999999;
        color: #383838;
    }

        input[type="checkbox"]:checked + label:after {
            font-size: xx-large;
            content: '\2714';
            position: absolute;
            top: 0px;
            left: 0px;
            width: 100%;
            height: 100%;
            display: inline-block;
            vertical-align: middle;
            text-align: center;
            color: #555555;
        }

    input[type="checkbox"]:focus + label {
        border: 1px solid #383838;
    }

	span.aspNetDisabled input[type="checkbox"] + label,
	span.aspNetDisabled input[type="checkbox"]:focus + label,
	span.aspNetDisabled input[type="checkbox"]:hover + label {
		background-color: #f0f0f0;
		color: #444444 !important;
    }

tbody.igg_Item > tr > td.checkbox {
    text-align: center;
    padding: 0;
}

    tbody.igg_Item > tr > td.checkbox img {
        width: 30px;
        height: 30px;
    }

/* Sidebar
Thanks to: https://bootstrapious.com/p/bootstrap-sidebar
---------------------------------------------- */
#sidebar {
    width: 275px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #999999;
    color: #fff;
    transition: all 0.3s;
    overflow: auto;
}

    #sidebar .inner {
        display: none;
    }

    #sidebar.active {
        margin-left: -275px;
    }

    #sidebar .sidebar-header {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 10px;
        padding-right: 20px;
        background: #383838;
    }

        #sidebar .sidebar-header img {
            width: 225px;
        }

    #sidebar ul.components {
        /*padding: 20px 0;*/
        /*border-bottom: 1px solid #47748b;*/
        margin-bottom: 0px;
    }

    #sidebar ul p {
        color: #fff;
        padding: 10px;
    }

    #sidebar ul li a {
        width: 100%;
        padding: 10px;
        font-size: 1.1em;
        display: block;
        background-color: #777777;
    }

        #sidebar ul li a:hover {
            color: #fff;
            background: #383838;
        }

    #sidebar ul li.active > a {
        color: #fff;
        background: #383838;
    }

    #sidebar a.show {
        color: #fff;
        background: #777777;
    }

    #sidebar .dropdown-toggle::after {
        display: block;
        position: absolute;
        margin-top: -0.75rem;
        right: 20px;
    }

    #sidebar ul ul a {
        display: block;
        font-size: 0.9em !important;
        padding-left: 25px !important;
        background: #999999;
    }

    #sidebar ul ul ul a {
        display: block;
        font-size: 0.9em !important;
        padding-left: 40px !important;
        background: #999999;
    }

    #sidebar ul ul ul ul a {
        display: block;
        font-size: 0.9em !important;
        padding-left: 55px !important;
        background: #999999;
    }


    #sidebar ul.sidebar-buttons {
        padding-top: 20px;
        padding-bottom: 0px;
        padding-left: 10px;
        padding-right: 20px;
    }

        #sidebar ul.sidebar-buttons a {
            text-align: center;
            font-size: 0.9em !important;
            display: block;
            border-radius: 5px;
            margin-bottom: 5px;
        }

#sidebarCollapse {
    -webkit-transition: all 0.15s ease-in; /* For Safari 3.1 to 6.0 */
    transition: all 0.15s ease-in;
    position: absolute;
    z-index: 999;
    top: 22px;
    left: 250px;
    width: 35px;
    padding: 5px;
    margin-right: 0;
	border: solid 1px transparent;
	background-color: rgba(170,170,170,1);
}

    #sidebarCollapse:hover {
        background-color: rgba(153,153,153,1);
    }

    #sidebarCollapse.active {
        left: -10px;
        background-color: rgba(153,153,153,0.25);
    }
    #sidebarCollapse:focus, #sidebarCollapse:hover {
        outline: none;
    }
    #sidebarCollapse.active:hover {
        background-color: rgba(153,153,153,1);
    }
    #sidebarCollapse.active:focus {
        background-color: rgba(153,153,153,0.25);
    }

    /*#formTitle {
    margin-left: -42px;
}

    #formTitle.active {
        margin-left: 0px;
    }*/

    #sidebarCollapse span.sidebarShow {
        display: none;
    }

    #sidebarCollapse span.sidebarHide {
        display: inline;
    }

    #sidebarCollapse.active span.sidebarShow {
        display: inline;
    }

    #sidebarCollapse.active span.sidebarHide {
        display: none;
    }

a.logout,
a.logout:hover {
    background: #383838 !important;
    color: #fff !important;
}

/* Infragistics style overrides 
----------------------------------------- */
.igte_EditInContainer, .igte_TextArea, .igte_Edit, .igte_EditWithButtons, .ig_Control, .igdd_Control, .igdd_ControlArea, .igdd_ValueDisplay, .igdd_ValueDisplayDisabled {
    background-color: white;
    color: #555555;
}

.igte_Edit, .igte_EditWithButtons, .igdd_ControlArea, .igte_TextArea {
    border: solid 1px #999999;
}

    .igte_Edit:hover, .igte_EditWithButtons:hover, .igdd_ControlArea:hover, .igte_TextArea:hover,
    .igte_Edit:focus, .igte_EditWithButtons:focus, .igdd_ControlArea:focus, .igte_TextArea:focus {
        border: solid 1px #383838;
    }

/* Infragistics size and layout overrides 
----------------------------------------- */
.igte_Edit, .igte_EditWithButtons, .igte_TextArea {
    width: 100%;
}

.gridPanel .igte_Edit, .gridPanel .igte_EditWithButtons, .gridPanel .igte_TextArea {
    width: unset;
}

.igte_EditInContainer, .igte_Edit, .igte_TextArea {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.igte_Edit, .igdd_ControlArea, .igdd_ControlFocus, .igte_EditWithButtons {
    min-height: 45px !important;
	line-height: 41px;
}

.igdd_ListItem a {
    display: inline-block;
}

/* Dropdowns
---------------------------------------------- */

.igdd_ValueDisplay, .igdd_ValueDisplayDisabled {
    padding-left: 40px !important;
    padding-right: 10px !important;
}

.searchdropdown .igdd_ValueDisplay, .gridPanel .igdd_ValueDisplay, .searchdropdown .igdd_ValueDisplayDisabled {
    padding-left: 10px !important;
}

.igdd_ControlArea, .igte_EditWithButtons {
    border-collapse: separate;
    border-radius: 5px;
    border: solid 1px #999999;
}

.igte_Button {
    background-image: none;
}

.igdd_ControlArea, .igte_EditWithButtons {
    border-collapse: separate;
    border-radius: 5px;
    border: solid 1px #999999;
    overflow: hidden;
}

    .igdd_ControlArea.igdd_ValueDisplayFocus, .igte_EditWithButtons.igte_Button {
        border-collapse: separate;
        border-radius: 5px !important;
        border: solid 1px #383838;
    }

.dropdown, .igte_EditWithButtons, .igdd_ControlArea {
    border-radius: 5px;
}

    .igte_EditWithButtons td.igte_Button::before {
        content: url("../Images/Infragistics/DownArrow.png");
    }

    .igdd_ControlArea td.igdd_DropDownButton::before, .igdd_ControlFocus td.igdd_DropDownButton::before {
        content: url('../Images/Infragistics/DownArrowLowered.png');
    }

    .igdd_ControlArea td.igdd_DropDownButton, .igdd_ControlFocus td.igdd_DropDownButton, .igte_EditWithButtons td.igte_Button {
        /*position: relative;*/
        padding: 0px !important;
        background-color: white;
        color: #999999 !important;
        border: solid 0px #999999;
        text-align: center;
    }

    .igdd_ControlFocus td.igdd_DropDownButton, .igdd_ControlArea.ig_Hover td.igdd_DropDownButton, .igte_EditWithButtons td.igte_ButtonFocus, .igte_EditWithButtons td.igte_ButtonHover {
        background-color: white;
        color: #383838 !important;
        border: solid 0px #383838 !important;
    }

.igdd_ControlFocus, .igte_ButtonFocus, .igte_Focus {
    border-collapse: separate;
    border-radius: 5px;
    border: solid 1px #383838 !important;
    overflow: hidden;
}

    .igdd_ControlArea img, .igdd_ControlFocus img, .igte_EditWithButtons img.igte_ButtonImg {
        display: none;
    }

.igdd_ListItemHover {
    border: solid 1px #777777;
    background-color: #777777;
    color: white !important;
}

    .igdd_ListItemHover a {
        color: white !important;
    }

.igdd_ListItemSelected, .igdd_ListItemActive {
    border: solid 1px #999999;
    background-color: #999999;
    color: white !important;
}

    .igdd_ListItemSelected a, .igdd_ListItemActive a {
        color: white !important;
    }


.searchDropDowns .igdd_DropDownListContainer,
.formPanel .igdd_DropDownListContainer {
    width: 100%;
    height: 12rem !important;
    border-radius: 5px;
}

/*.igdd_DropDownListContainer {
    min-width: 300px !important;
}
*/

/* Self drop down
---------------------------------------------- */

.dropdownself {
    border-radius: 5px;
}

    .dropdownself .igdd_ValueDisplay, .dropdownself .igdd_ValueDisplayDisabled {
        padding-left: 10px !important;
    }

/* Zoom button width correction
---------------------------------------------- */

span.zoombuttonform, span.zoombuttonemail, span.zoombuttonview, span.zoombutton {
    width: auto !important;
}

/* Yes/No search toggle
(thanks to https://cssdeck.com/labs/ufct35ys5t)
---------------------------------------------- */

.toggle_radio {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

    .toggle_radio label, .toggle_option_slider {
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
    }

    .toggle_radio {
        position: relative;
        overflow: hidden;
        height: 45px;
        width: 100%;
        border: solid 1px #999999;
    }

    .toggle_radio > * {
        float: left;
    }

    .toggle_radio input[type=radio] {
        display: none;
    }

    .toggle_radio label {
        color: #555555;
        font-size: large;
        display: block;
        width: calc(33.3333% - 5px);
        height: 36px;
        margin: 2px 2px;
        padding-top: 6px;
        cursor: pointer;
        
        text-align: center;
        position: relative;
        z-index: 1;
    }

.toggle_option_slider {
    display: block;
    width: calc(33.3333% - 5px) !important;
    height: 36px;
    position: absolute;
    top: 4px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    -ms-transition: all .4s ease;
    transition: all .4s ease;
}

.toggle_option:checked + label {
    /*color: white !important;*/
}

.toggle_option.option_1:checked ~ .toggle_option_slider {
    background-color: #eee;
    border-left: solid 10px #fff;
    border-right: solid 10px #fff;
    border-top: solid 3px #fff;
    border-bottom: solid 3px #fff;
    left: 3px;
}

.toggle_option.option_2:checked ~ .toggle_option_slider {
    background-color: #eee;
    border-left: solid 10px #fff;
    border-right: solid 10px #fff;
    border-top: solid 3px #fff;
    border-bottom: solid 3px #fff;
    left: calc(33.3333% + 2px);
}

.toggle_option.option_3:checked ~ .toggle_option_slider {
    background-color: #eee;
    border-left: solid 10px #fff;
    border-right: solid 10px #fff;
    border-top: solid 3px #fff;
    border-bottom: solid 3px #fff;
    left: calc(66.6666% + 1px);
}


/* Calendar
---------------------------------------------- */
.igmc_Control {
    width: 450px;
    height: 400px;
}

.igmc_List {
    height: 290px;
    width: 446px;
}

.igmc_Item {
    font-size: 2em;
}

.igmc_MonthYear {
    font-size: 24px;
}

.igmc_NextPrev {
    font-size: 1.6em;
}

.igmc_Header {
    height: 60px;
    background-color: #383838;
}

.igmc_DOW {
    font-size: 22px;
    height: 60px;
}

.igmc_Day {
    font-size: 24px;
}

.igmc_Dayigmc._WeekendDay {
    font-size: 24px;
}

.igmc_Day.igmc_OtherMonthDay {
    font-size: 24px;
}

.igmc_Footer {
    font-size: 22px;
    height: 60px;
    background-color: #383838;
}

/* Tabs
----------------------------------------- */

.tab-buttons {
    background-color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-top: 30px;
    margin-bottom: 0px;
    padding-top: 15px;
    padding-bottom: 0px;
    margin-left: -30px;
    margin-right: -30px;
}

.tab-pane {
    background-color: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-top: 0px;
    margin-bottom: 30px;
    margin-left: -15px;
    margin-right: -15px;
    padding-top: 0px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

.nav-tabs {
    margin-bottom: 15px;
    border-bottom: 1px solid #999999;
}

    .nav-tabs .nav-link.active {
        background-color: #999999;
        color: white;
        border-bottom: 1px solid #999999;
    }

    .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
        background-color: #777777;
        color: white;
        border-bottom: 1px solid #777777;
    }

.dropdown-item:hover {
    background-color: #777777;
    color: white;
}

.dropdown-item.active {
    background-color: #999999;
    color: white;
}

/* Progress bar
---------------------------------------------- */

.igpb_Container {
    display: block !important;
    width: calc(100% - 20px) !important;
    margin-left: 10px;
    border: none;
}

.igpb_Background_Horiz {
    background-color: #f1f1f1;
}

.igpb_Fill_Horiz {
    background-image: none;
    background-color: #999999;
}

.igpb_BaseLabel {
    padding-left: 8px;
    padding-right: 8px;
}

/* Update progress spinner
---------------------------------------------- */

.updateProgress {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
}

    .updateProgress img {
        position: fixed;
        top: 0px;
        right: 20px;
        height: 64px;
    }

        .updateProgress img.form {
            top: 60px;
            right: 20px;
        }

.updateProgressImage {
    z-index: 999 !important;
    position: fixed;
    top: 0 !important;
    right: 0 !important;
    height: 64px;
}

.updateProgressImageForm {
    z-index: 999 !important;
    position: fixed;
    top: 60px !important;
    right: 0 !important;
    height: 64px;
}

.loginProgress img {
    height: 64px;
}


/* Stage functionality
---------------------------------------------- */
.stage {
    border-collapse: separate;
    border-radius: 5px;
    border: solid 1px #999999;
    min-height: 50px !important;
    padding-bottom: 3px;
}

.stagebutton {
    position: absolute;
    z-index: 2;
    display: inline-block;
    background-color: transparent !important;
    color: #999999 !important;
    height: 50px !important;
    width: 50px !important;
    line-height: 44px;
    margin-left: 13px;
    border: none !important;
}

    .stagebutton.right {
        margin-left: -30px;
    }

.stagelabel {
    display: inline-block;
    font-size: large;
    text-align: center;
    margin-top: 1px;
    padding-top: 6px;
    padding-bottom: 5px;
    padding-left: 40px;
    padding-right: 40px;
    min-height: 30px;
}

.stageprogress {
    display: block !important;
    padding-top: 2px !important;
    padding-bottom: 8px !important;
}

/* Report viewer
---------------------------------------------- */
#ReportViewer1_ctl05 div {
    background-color: white
}

/* Validator display handling
---------------------------------------------- */

.formerror {
    display: none !important;
}

    .formerror[style*=visible] {
        display: block !important;
        color: transparent;
        background-color: #b62b2b;
        border: 2px solid white;
        height: 10px;
        width: 100%;
    }

.griderror {
    display: none !important;
}

    .griderror[style*=visible] {
        display: block !important;
        color: transparent;
        background-color: #b62b2b;
        border: 0;
        height: 6px;
        width: calc(100% - 4px) !important;
		margin-left: 2px !important;
    }


/* Sticky scrolling
----------------------------------------- */

div.sticky, tbody.sticky {
    position: fixed;
    z-index: 999;
}

.sticky-parent {
    display: block
}

.ql-toolbar {
    position: -webkit-sticky;
    position: sticky;
    top: 45px;
    background-color: white !important;
    z-index: 999;
}

/* TODO    
.igg_Control tbody[mkr="headingArea"] {
    position: sticky;
    top: 60px;
    z-index: 999;
}*/

/* Ace code editor */

.ace_editor span {
    display: inline !important;
}

.ace-panel {
    width: 100%;
    font-size: 1rem;
    line-height: 1.2rem;
    margin-bottom: 20px;
}

/* Quill Html editor
---------------------------------------------- */
.ql-formats {
    width: inherit !important;
}

.ql-editor {
    min-height: calc(12rem + 24px);
    line-height: 1.2rem;
}

.ql-container {
    font-family: 'Poppins', sans-serif;
    font-size: large;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
	border-top: solid 1px #999999 !important;
	border-bottom: solid 1px #999999 !important;
	border-left: solid 1px #999999 !important;
	border-right: solid 1px #999999 !important;
	margin-bottom: 10px;
}

.ql-picker.ql-header {
    width: 150px !important;
    margin-top: -4px;	border-bottom: solid 1px #999999 !important;
	border: none !important;
}

.ql-picker {
	margin-top: -8px;
}

.ql-toolbar {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
	border-top: solid 1px #999999 !important;
	border-bottom: none !important;
	border-left: solid 1px #999999 !important;
	border-right: solid 1px #999999 !important;
}
.ql-container p, .ql-container ul, .ql-container ol, .ql-container blockquote, .ql-container pre,
.ql-container h1, .ql-container h2, .ql-container h3, .ql-container h4, .ql-container h5, .ql-container h6 {
    margin-bottom: 0.8rem !important;
}
.ql-container li {
    margin-bottom: 0.4rem !important;
}

.ql-editor span {
	display: inline !important;
}

.ql-editor pre.ql-syntax {
    background-color: #222222 !important;
}

.ql-container:hover {
	border: solid 1px #383838 !important;
}

.ql-disabled {
    background-color: #f0f0f0;
    color: #444444 !important;
}

.ql-editor ul, .ql-editor ol {
	padding-left: 0;
}
	
.ql-editor ul.task-list > li {
    pointer-events: none
}

    .ql-editor ul.task-list > li::before {
        color: #444444;
        border: 1px solid #444444;
        content: " ";
        font-size: 0.9rem;
        height: 1rem;
        line-height: 1;
        position: absolute;
        text-align: center;
        vertical-align: middle;
        width: 1rem;
        cursor: default;
        pointer-events: all
    }

	.ql-editor ul.task-list > li {
		background-color: rgb(255, 255, 204);
	}
    .ql-editor ul.task-list > li.checked {
		background-color: inherit;
		opacity: 0.5;
    }

        .ql-editor ul.task-list > li.checked::before {
            content: "✔";
        }

/* File Uploader
---------------------------------------------- */

.file-upload-area a {
    color: #369;
}

.file-upload-area .note {
    color: #ccc;
}

#file-drop-area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    width: 100%;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

    #file-drop-area.highlight {
        background-color: #ffffcc;
    }

.file-upload-area p {
    margin-top: 10px;
}

#file-upload-gallery {
    margin-top: 10px;
}

    #file-upload-gallery img {
        width: 150px;
        margin-bottom: 10px;
        margin-right: 10px;
        vertical-align: middle;
    }

#fileElem {
    display: none;
}

.file-upload-area progress {
    width: 100%;
}

/* Safari fixes 
---------------------------------------------- */

input:not([type=checkbox]):not([type=radio]) {
	-webkit-appearance: none;
}

/* Media queries
---------------------------------------------- */
    @media (max-width: 600px) {
        /*#DeleteButton {
        display: none;
    }*/
        #sidebar {
        margin-left: 0px;
    }

        #sidebar.active {
            margin-left: -275px;
        }

    /*#sidebarCollapse {
        left: 218px;
    }

    #sidebarCollapse.active {
        left: 0px;
    }*/

    #content {
        width: 100%;
    }

    /* Calendar
    ---------------------------------------------- */

    .igmc_Control {
        width: 400px;
        height: 350px;
    }

    .igmc_List {
        height: 200px;
        width: 300px;
    }

    .igmc_Item {
        font-size: 1.5em;
    }

    .igmc_MonthYear {
        font-size: 16px;
    }

    .igmc_NextPrev {
        font-size: 1.066em;
    }

    .igmc_Header {
        height: 50px;
        background-color: #383838;
    }

    .igmc_DOW {
        font-size: 15px;
        height: 50px;
    }

    .igmc_Day {
        font-size: 16px;
    }

    .igmc_Dayigmc._WeekendDay {
        font-size: 16px;
    }

    .igmc_Day.igmc_OtherMonthDay {
        font-size: 16px;
    }

    .igmc_Footer {
        font-size: 15px;
        height: 50px;
        background-color: #383838;
    }
}

/*
Import window
-------------------------------------------------- */

.gridPager .modal-content {
    text-align: left;
}

.importgrid {
    overflow: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    /* max-width: 300px; */
    display: block;
    width: 100%;
    border: solid 1px #dddddd;
}

/*
Media queries
-------------------------------------------------- */

@media (max-width: 360px) {
    #sidebar a.accordion-heading.toggle {
        font-size: 1.1em !important;
	}
}

/*@media (max-width: 768px) {
    #sidebar {
        margin-left: -275px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #content {
        width: 100%;
    }

        #content.active {
            width: calc(100% - 275px);
        }

    #sidebarCollapse span {
        display: none;
    }
}*/
