/* CSS Document */

/* Fonts */
@font-face {
  font-family: OpenSans-Regular;
  src: url('../fonts/OpenSans/OpenSans-Regular.ttf'); 
}

/* Main Styles */

body {
	margin: 0;
	height: 100%;
	width: 100%;
	font-size:16px;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
	font-family: 'Roboto', sans-serif;
}

body.greyedOut:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	border-color: rgba(0,0,0,0.40);
}

*::-webkit-scrollbar-track
{
	border-radius: 0px;
	box-shadow: 1px 1px 5px -1px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(0, 0, 0, 0.025);
	background-color:#FDFDFD !important;
	border-top:0px !important;
	border-right:0px !important;
	border-bottom:0px !important;
}

*::-webkit-scrollbar
{
	width: 8px;
	background-color:#FDFDFD !important;
}

*::-webkit-scrollbar-thumb
{
	border-radius: 0px;
	background-color:#9c9c9c !important;
}

#dialogTemplate {
	display: none;
}

a.plainLink {
	text-decoration: none;
	color: inherit;
}

a.plainLink:hover {
	text-decoration: underline;
}

p {
	margin: 5px 0px;
    padding-left: 10px;
}

h2 {
    margin: 0px;
    font-size: 20px;
    font-weight: 900;
    padding: 6px 10px;
    color: #525252;
}

h2.decorative {
		font-size: 20px;
    left: 12px;
    position: absolute;
    top: -18px;
    margin: 0px;
    padding: 8px 24px;
    color: #fff;
    box-shadow: 2px 3px 10px -2px #6d6d6d;
    border-radius: 2px;
    background: rgb(135,224,253);
    background: -moz-linear-gradient(left, rgba(135,224,253,1) 0%, rgba(83,203,241,1) 0%, rgba(5,171,224,1) 100%);
    background: -webkit-linear-gradient(left, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 0%,rgba(5,171,224,1) 100%);
    background: linear-gradient(to right, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 0%,rgba(5,171,224,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#05abe0',GradientType=1 );
}

h3 {
	margin: 0px;
    margin-bottom: 5px;
}

input[type="text"], input[type="number"], input[type="password"]  {
	 margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #FFF;
    border: thin solid #d0d0d0;
    border-radius: 1px;
    display: inline-block;
    font: inherit;
    line-height: 18px;
    padding: 5px 15px 5px 15px;
    font-weight: 100;
	min-height: 32px;
}

input[type="text"].wideInput, input[type="number"].wideInput, input[type="password"].wideInput, textarea.wideInput  {
	width: 320px;
}

input[type="text"].shortInput, input[type="number"].shortInput, input[type="password"].shortInput  {
	width: 120px;
}

input[type="text"]:disabled, input[type="number"]:disabled, input[type="password"]:disabled {
	background-color: #f1f1f1;
}

input[type="text"]:focus, input[type="number"]:focus, input[type="password"]:focus {
	border-bottom: 1.5px solid #00a1ff !important;
	outline: none;
}

input[type="text"].negative, input[type="number"].negative, input[type="password"].negative {
    border-bottom: 1.5px solid #cd5c5c !important;
    outline: none;
}

input.datepicker + label:after {
    content: '\f133';
    position: absolute;
    font-family: "Font Awesome 5 Pro";
    color: #5d5d5d;
    font-weight: bold;
    margin-left: -22px;
    margin-top: 8px;
}

textarea {
	font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-family: 'Roboto', sans-serif;
    padding: 5px;
}

textarea.fixedTextarea {
    width: 320px;
    box-sizing: border-box;
    min-height: 120px;
    position: relative;
    border: thin solid #d0d0d0;
    resize: vertical;
}

select:not([multiple]) {
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 3px;
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    padding: 5px 55px 5px 15px;
    background-image: 
		linear-gradient(45deg, transparent 50%, #7f7f7f 50%), 
		linear-gradient(135deg, #7f7f7f 50%, transparent 50%), 
		linear-gradient(to right, #ccc, #ccc);
    background-position: 
		calc(100% - 18px) 14px, 
		calc(100% - 14px) 14px, 
		calc(100% - 2.5em) 5px;
    background-size: 
		5px 5px, 
		5px 5px, 
		1px 1.5em;
	background-repeat: no-repeat;
	cursor: pointer;
}

select:not([multiple]):focus {
  background-image:
    linear-gradient(45deg, #79b2e0 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, #79b2e0 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 14px) 1em,
    calc(100% - 18px) 1em,
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
  border-color: #79b2e0;
  outline: 0;
}

input[type="checkbox"], input[type="radio"] {
  	position: absolute;
  	opacity: 0;
}

input[type="checkbox"] + label, input[type="radio"] + label {
  	position: relative;
  	cursor: pointer;
  	padding: 0;
	margin-right: 10px;
}

input[type="checkbox"] + label:before, input[type="radio"] + label:before {
  	content: '';
  	margin-right: 5px;
  	display: inline-block;
  	vertical-align: text-top;
  	width: 19px;
  	height: 19px;
  	background: #FFFFFF;
	border: 1px solid #d9d9d9;
}

input[type="checkbox"].negative + label:before {
	background: #cd5c5c;
}

input[type="checkbox"].negative:not(:hover):not(:checked) + label:after {
  	content: '\f00d';
 	position: absolute;
  	left: 5px;
  	top: 2px;
	color: #fff;
  	font-family: "Font Awesome 5 Pro";
}

input[type="radio"] + label:before {
	border-radius: 100%;
}

input[type="checkbox"]:hover + label:before, input[type="radio"]:hover + label:before {
  	background: #38a258;
}

input[type="checkbox"].negativeTick:hover + label:before, input[type="radio"].negativeTick:hover + label:before {
	background: #cd5c5c;
}

input[type="checkbox"]:focus + label:before, input[type="radio"]:focus + label:before {
  	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

input[type="checkbox"]:checked + label:before, input[type="radio"]:checked + label:before {
  	background: #38a258;
}

input[type="checkbox"].negativeTick:checked + label:before, input[type="radio"].negativeTick:checked + label:before {
  	background: #cd5c5c;
}

input[type="checkbox"]:disabled + label, input[type="radio"]:disabled + label {
  	color: #b8b8b8;
  	cursor: auto;
}

input[type="checkbox"]:disabled + label:before, input[type="radio"]:disabled + label:before {
  	box-shadow: none;
  	background: #ddd;
}

input[type="checkbox"]:checked + label:after, input[type="radio"]:checked + label:after {
    content: '\f00c';
    position: absolute;
    left: 3px;
    top: 3px;
    color: #fff;
    font-size: 14px;
    font-family: "Font Awesome 5 Pro";
}

/* General Styles */
.bold {
	font-weight: 800;
}

.tabSpace {
    width: 20px;
    display: inline-block;
}

.clearFix, .clearfix {
	overflow: auto;
}

.clearFix:after, .clearfix:after {
    content: "";
    clear: both;
    display: table;
}

.hidden {
	display: none;
}

.mobileOnly {
	display: none;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.left {
	float: left;
}

.right {
	float: right
}

.transparent {
	background-color: transparent !important;
	box-shadow: none !important;
}

.positiveText {
	color: #5ccd84;
}

.negativeText {
	color: #cd5c5c;
}

.pointer {
	cursor: pointer!important;
	min-width: 10px;
}

.flex {
	display: flex;
}

.flex.center {
	justify-content: center;
}

/* Admin Bar */

#adminBar {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
    height: 50px;
    background-color: #354558;
    z-index: 450;
	color: #fff;
}

#adminBar .siteSelector {
	height: 50px;
    box-sizing: border-box;
    padding: 6px;
}

#adminBar .adminButtons {
    padding: 15px;	
}

body.adminSite {
	margin-top: 50px;
}

body.adminSite #nav {
    height: calc(100% - 50px);
    top: auto;
}

/* Login */

#loginPage .loginContent {
    width: 300px;
    height: 320px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    background-color: #fff;
    box-shadow: 2px 2px 20px -5px;
	z-index: 100;
}

#loginPage .loginContent .loginHeader {
	background: rgb(57,193,211);
    background: -moz-linear-gradient(left, rgba(57,193,211,1) 0%, rgba(76,182,150,1) 100%);
    background: -webkit-linear-gradient(left, rgba(57,193,211,1) 0%,rgba(76,182,150,1) 100%);
    background: linear-gradient(to right, rgba(57,193,211,1) 0%,rgba(76,182,150,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#39c1d3', endColorstr='#4cb696',GradientType=1 );
	height: 70px;
    color: #fff;
    font-size: 40px;
    line-height: 70px;
    padding-left: 12px;
}

#loginPage .loginContent .loginBody {
	padding: 20px;
}

#loginPage .loginContent .loginBody label {
	display: block;
    font-size: 14px;
    color: #011e61;
}

 #loginPage .loginContent .loginBody input {
	width: 100%;
	margin-bottom: 20px;
	border: none;
	border-bottom: thin solid #d0d0d0;
}

#loginPage .loginContent .loginBody #loginButton {
    position: absolute;
    bottom: 15px;
    right: 10px;
    padding: 10px 22px;
}

#loginPage .loginContent .loginBody #loginError {
	width: calc(100% - 85px);
    font-size: 12px;
    margin-top: 24px;
    color: #cd5c5c;
	display: none;
}

#loginPage #footer {
	position: absolute;
    top: 0;
    bottom: 0px;
    left: 0;
    right: 0;
    margin: auto;
    line-height: 100vh;
    padding-top: 190px;
}

#loginPage .loginContent.success {
	height: 70px;
	transition: 2s;
}

#loginPage .loginContent.success .loginHeader {
	background: #5ccd84;	
	transition: 1s;
}

#loginPage .loginContent.success .loginBody {
	display: none;
}

/* Nav */

#nav {
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}

#nav > ul {
    width: 180px;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: all 0.3s ease;
 	background-color: #2c3846;
}

#nav > ul.navBottom {
    z-index: 200;
    position: absolute;
    bottom: 0px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
}

#nav > ul > li {
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    text-align: center;
    height: 40px;
	width: 100%;
    margin-top: -1px;
}

#nav > ul > li.menuTitle {
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-size: 18px;
    height: 50px;
	margin-bottom: 5px;
	cursor: pointer;
}

#nav > ul > li.current {
    background: rgb(57,193,211);
    background: -moz-linear-gradient(left, rgba(57,193,211,1) 0%, rgba(76,182,150,1) 100%);
    background: -webkit-linear-gradient(left, rgba(57,193,211,1) 0%,rgba(76,182,150,1) 100%);
    background: linear-gradient(to right, rgba(57,193,211,1) 0%,rgba(76,182,150,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#39c1d3', endColorstr='#4cb696',GradientType=1 );
    color: #fff !important;
    width: calc(100% + 3px);
    box-shadow: 0px 6px 20px -4px #060606;
}

#nav > ul > li.hover:hover {
	background-color: rgba(255, 255, 255, 0.1);	
}

#nav > ul > li > a {
	display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

#nav > ul > li.menuTitle a {
	line-height: 50px;	
	white-space: nowrap;
}

#nav > ul > li .icon:before {
    width: 60px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

#nav > ul > li.menuTitle .icon:before {
	color: rgba(255, 255, 255, 0.8);
    width: 40px;
    font-size: 20px;
}

#nav > ul > li.current .icon:before {
	color: #fff;
}

#nav > ul > li .titleLabel {
    position: absolute;
    left: 44px;
}

#nav > ul > li .label {
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 60px;
    margin: auto;
    font-size: 14px;
    height: 18px;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

#nav > ul > li.current .label {
	color: #fff;
}

#nav.collapsed > ul {
    width: 60px;
}

#nav.collapsed > ul > li .titleLabel {
	display: none;
}

#nav.collapsed > ul > li .label {
    display: none;
    opacity: 0;
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    font-size: 16px;
    margin: auto;
    height: 30px;
    line-height: 24px;
    box-sizing: border-box;
    padding: 4px 8px;
    margin-left: 20px;
    color: #000000;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    background-color: #fdfdfd;
    box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
}

#nav.collapsed > ul > li.menuTitle .icon:before {
	width: 60px;
}

/* Notification Bar */

.notificationBar {
    width: calc(100% - 10px);
    margin: 5px;
    padding: 12px;
    box-sizing: border-box;
    position: relative;
    background-color: #e0e0e0;
    color: #000;
    box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    font-weight: 800;
}

.notificationBar .notificationClose {
    position: absolute;
    top: 3px;
    right: 7px;
    color: #000;
    cursor: pointer;
}

.notificationBar.positive .notificationClose, .notificationBar.negative .notificationClose {
	color: #fff;
}

.notificationBar.positive {
	background-color: #38a258;
    color: #fff;
    box-shadow: 1px 1px 2px 0px rgba(56, 162, 88, 0.20);
}

.notificationBar.negative {
	color: #fff;
    background-color: #cd5c5c;
    box-shadow: 1px 1px 2px 0px rgba(205, 92, 92, 0.20);
}

/* body */

#body.collapsed {
    margin-left: 60px;
    width: calc(100% - 60px);
}

#body {
    background-color: #f7f7f7;
    color: #444444;
    width: calc(100% - 185px);
    margin-left: 185px;
    box-sizing: border-box;
    transition: width 0.3s ease, margin 0.3s ease;
    position: relative;
    overflow-x: hidden;
	min-height: 100vh;
	padding-bottom: 65px;
}

.adminSite #body {
	min-height: calc(100vh - 60px);
}

/* Body General */

.buttonContainer {
	padding: 10px 5px;
}

/* Standard Container */

.container {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    min-height: 90px;
    margin-bottom: 28px;
}

.container:after {
    content: "";
    clear: both;
    display: table;
}

.containerSplit {
	display: flex;
	flex-wrap: wrap;
}

.containerSplit.halfContainer .container {
	width: calc(50% - 20px);
}

.containerSplit.thirdContainer .container {
	width: calc(33.33% - 20px);
}

.containerSplit.thirdContainer .container.twoThirds {
	width: calc(66.66% - 20px);
}

.containerSplit.quaterContainer .container {
	width: calc(25% - 20px);
}

.container.largeHeader h2 {
    border-bottom: 1px solid #b9b9b9;
    color: #5b5e65;
}

/* Key container */
.keyContainer {
    background-color: rgba(255, 247, 0, 0.28);
    padding: 10px;
    margin: 5px;
}

/* Content */
.contentSplit {
	width: 50%;
    float: left;
}

/* Table */

table.mainTable {
    width: 100%;
    border-collapse: collapse;
    margin: 0px;
}

table.mainTable thead tr th {
	color: #989898;
	text-align: left;
	font-weight: 500;
	padding: 10px 3px;
	border-bottom: 2px solid #e4e4e4;
	cursor: pointer;
	font-size: 12px;
}

table.mainTable thead tr.boldRow  th{
    color: #73b0d2;
    padding: 8px 10px;
    border-bottom: 2px solid #02a1ff;
    font-size: 14px;	
}

table.mainTable thead tr.tableFilterRow {
	display: none;
}

table.mainTable thead tr.tableFilterRow td {
    padding: 13px 0px;
    border-bottom: 2px solid #bbb;
	background-color: #ececec;
}

table.mainTable thead tr.tableFilterRow td input {
	width: 100%;
}

table.mainTable thead tr.tableFilterRow td:last-child input {
	width: calc(100% - 100px);
}

table.mainTable thead tr.tableFilterRow td:last-child a.button.filterSubmit {
	height: 32px;
    margin: 0px;
    float: right;
    background-color: #d65176;
    color: #fff;
    width: 99px;
    line-height: 32px;
    text-align: center;
}

table.mainTable tbody tr td {
	padding: 10px 3px;
	border-bottom: 1px solid #e4e4e4;
	font-size: 12px;
	cursor: pointer;
}

table.mainTable tbody tr:nth-child(even) td {
	background-color: #fbfbfb;
}

table.mainTable.noHover tbody tr td {
	cursor: default;
}

table.mainTable tbody tr.negativeRow td {
	background-color: rgba(255,0,0,0.1);
}

table.mainTable tbody tr.negativeRow.errorRow td {
	border-bottom: 20px solid;
}

table.mainTable tbody tr.highlighted td {
	background-color: rgba(250, 255, 0, 0.2);
}

table.mainTable .currencyColumn {
	text-align: right;
	padding-right: 7px;
}

table.mainTable:not(.noHover) tbody tr:hover td {
	background-color: rgba(0,0,0,0.03);
}
table.mainTable:not(.noHover) tbody tr.negativeRow:hover td {
	background-color: rgba(255,0,0,0.13);
}

table.mainTable tbody tr td:first-child,  #body table thead tr th:not(.sortColumn):first-child {
	padding-left: 12px;
}

table.mainTable thead th.sortColumn {
	font-weight: 800;
    color: #000;
	padding-left: 20px;
	border-color: #00a1ff;
}

table.mainTable thead th.sortColumn.sortDown:before {
	content: '\f175';
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    margin-left: -11px;
    margin-top: 2px;
}

table.mainTable thead th.sortColumn.sortUp:before {
	content: '\f176';
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    margin-left: -11px;
    margin-top: 2px;
}

table.mainTable.noClick td {
	cursor: default;
}

table.mainTable.noSort th {
	cursor: default;
}

table.mainTable .tableLoading {
	width: 100%;
    height: 200px;
}

.pagination {
	text-align: right;
	padding: 10px;
}

.pagination label {
	margin-left: 10px;	
}

.pagination span.pageChange {
	margin-left: 15px;	
	margin-right: 10px;	
	cursor: pointer;
}

.pagination span.pageChange.inactive {
	color: rgba(0, 0, 0, 0.5);
	cursor: default;
}

/* Vertical table */
table.verticalTable {
    width: 100%;
    border-collapse: collapse;
}

table.verticalTable tbody th {
	color: #73b0d2;
    font-weight: 500;
    padding: 8px 10px;
    border-right: 2px solid #02a1ff;
    cursor: pointer;
    font-size: 14px;
    text-align: right;
    width: 1%;
    white-space: nowrap;
}

table.verticalTable tbody td {
	padding: 8px 12px;
    font-size: 13px;
}

/* Table Row Colours */
table tbody td.Draft {
	background-color: rgba(249, 255, 163, 0.4) !important;
	padding-left: 10px !important;
}

table tbody td.Sent {
	background-color: rgba(177, 255, 163, 0.4) !important;
	padding-left: 10px !important;
}

table tbody td.Archived {
	background-color: rgba(255, 163, 163, 0.4) !important;
	padding-left: 10px !important;
}

table tbody td.neutral {
	background-color: rgba(249, 255, 163, 0.4) !important;
	padding-left: 10px !important;
}

table tbody td.positive {
	background-color: rgba(177, 255, 163, 0.4) !important;
	padding-left: 10px !important;
}

table tbody td.negative {
	background-color: rgba(255, 163, 163, 0.4) !important;
	padding-left: 10px !important;
}

/* email status colour */
table tbody td.emailStatus.draft {
	background-color: rgba(249, 255, 163, 0.4) !important;
}

table tbody td.emailStatus.readytosend {
	background-color: rgba(163, 221, 255, 0.4) !important;
}

table tbody td.emailStatus.sent {
	background-color: rgba(177, 255, 163, 0.4) !important;
}

/* Table row formatting */

tr.activityRow td {
	border-bottom: 3px solid #e4e4e4 !important;
}

tr.activityRow.positive {
	border-left: 3px solid #5ccd84;
}

tr.activityRow.neutral {
	border-left: 3px solid rgba(249, 255, 163, 1);
}

tr.activityRow.blue {
	border-left: 3px solid #2ca5d9;
}

tr.activityRow.negative {
	border-left: 3px solid rgba(255, 163, 163, 1);
}

/* Forms */

ul.groupsList {
	padding-left: 30px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

ul.groupsList > li {
	width: 50%;
	margin-bottom: 20px;
	min-width: 200px;
}

ul.groupsList > li label {
	width: calc(100% - 5px);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.groupsList > li .unsubscribedDate {
	padding-left: 27px;
    padding-top: 5px;
    display: block;
    font-size: 10px;
}

.formContainer {
	margin-top: 20px;
	margin-bottom: 50px;
}

.formContainer .inputRow {
	display: flex;
	margin-bottom: 14px;
}

.formContainer .inputRow > *:first-child {
    width: 180px;
    font-size: 11px;
    color: #717171;
    font-weight: 600;
    padding-left: 18px;
    padding-top: 2px;
    text-align: left;
    padding-right: 40px;
    box-sizing: border-box;
}

.formContainer .inputRow > *:nth-child(2) {
	
}

.formContainer .inputRow p {
    margin: 0px;
    color: #1fa92a;
}


/* Buttons */

.button {
    margin: 0px 10px;
    padding: 2px 10px;
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 1px 1px 0px #a9a9a9;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	color: #000;
}

.button.circle {
	border-radius: 100%;
}

.button.medium {
	padding: 6px 12px;
}

.button.large {
    padding: 12px 30px;
    font-size: 20px;
    margin: 10px;
    display: inline-block;
}

.button.menuButton {
	margin: 10px 5px;
    display: inline-block;
    font-size: 16px;
    padding: 5px 11px;
}

.button.positive {
	color: #fff;
    background-color: #5ccd84;
}

.button.neutral {
	color: #fff;
    background-color: #cdaa5c;
}

.button.negative {
	color: #fff;
    background-color: #cd5c5c;
}

.button.blue {
    background-color: #2ca5d9;
    color: #fff;
}

.wideSimpleButton {
	text-align: center;
    width: calc(100% - 20px);
    display: block;
    background-color: #e6e6e6b8;
    margin: 10px;
    padding: 10px;
    box-sizing: border-box;
    color: #000;
    text-decoration: none;
}

/* Table menu bar */
.tableMenu {
	display: flex;
	flex-wrap: wrap;
	margin: 10px;
}

.tableMenu > .tableMenuGroup {
	display: flex;
}

.tableMenu > .tableMenuGroup > *:first-child {
	border-bottom-left-radius: 3px;
	border-top-left-radius: 3px;
}

.tableMenu > .tableMenuGroup > *:last-child {
	border-bottom-right-radius: 3px;
	border-top-right-radius: 3px;
}

/* Not a perfect solution as it only works for one element */
.tableMenu > .tableMenuGroup.justifyRight {
	margin-left: auto;
}

.tableMenu .tableMenuButton {
	padding: 5px 10px;
	background-color: #fff;
	color: #6b6b6b;
	border: 1px solid #b7b7b7;
	cursor: pointer;
	text-decoration: none;
} 

.tableMenu .tableMenuButton.lightMenuButton {
	background-color: #ececec;
}

.tableMenu .tableMenuButton > *:nth-child(2) {
	padding-left: 12px;
}

.tableMenu .tableMenuButton:hover {
    border-color: #7b7b7b;
    color: #151515;
    transition: 0.2s;
}

.tableMenu .tableMenuButton.open {
	border-color: #00a1ff;
}

.tableMenu .tableMenuButton.active > i {
	color: #00a1ff;
}

/* Filter Menu */

.filterMenu {
	width: calc(100% - 20px);
    background: #fff;
    color: #6b6b6b;
    border: 1px solid #b7b7b7;
    margin: 0 auto;
	position: relative;
	display: none;
	border-radius: 3px;
	margin-bottom: 15px;
}

.filterMenu:after, .filterMenu:before {
	bottom: 100%;
	left: 48px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.filterMenu:after {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #fff;
	border-width: 7px;
	margin-left: -10px;
}
.filterMenu:before {
	border-color: rgba(183, 183, 183, 0);
	border-bottom-color: #b7b7b7;
	border-width: 8px;
	margin-left: -11px;
}

.filterMenu .filterRow {
	width: calc(100% - 35px);
	margin-left: 35px;
	display: flex;
	border-bottom: 1px solid #e0e0e0;
}

.filterMenu .filterRow .filterTitle {
	margin-left: -25px;
	font-weight: bold;
	width: 85px;
	padding-top: 17px;
    color: #7b7b7b;
}

.filterDate, .filterInput, .filterCheckList {
    padding: 15px;
}

.filterDate span.dash {
	padding: 0 10px;
    font-size: 20px;
}

/* Filter Check List */

.filterMenu .filterCheckList {
	display: flex;
	flex-wrap: wrap;
}

.filterMenu .filterCheckList > div {
	min-width: 200px;
	flex-wrap: wrap;
	padding: 3px;
	padding-right: 40px;
}

.filterMenu .filterCheckList > div > input[type="checkbox"] + label:before {
	margin-right: 25px;
}

.filterMenu .filterCheckList > div > input[type="checkbox"]:checked + label:before, .filterMenu .filterCheckList > div > input[type="checkbox"]:hover + label:before {
	background: #02a1ff;
}

.filterMenu .filterActions {
	padding: 15px;
}

.filterMenu .filterActions .applyFilter {
    float: right;
    color: #02a1ff;
    margin-left: 20px;
    margin-right: 10px;
	cursor: pointer;
}

.filterMenu .filterActions .cancelFilter {
	float: right;
    color: #adadad;
	cursor: pointer;
}

.filterMenu .filterActions .clearFilter {
	color: #e84c4c;
	cursor: pointer;
}

/* Action Bar */

#actionBar {
    position: fixed;
    bottom: 0px;
    left: 180px;
    right: 0px;
    box-sizing: border-box;
    padding: 10px;
    box-shadow: 0px 0px 10px -1px #808080;
    background-color: #fff;
	transition: all 0.3s ease;
}

.adminContent #actionBar {
	left: 0;
}

#body.collapsed #actionBar {
	left: 60px;
}

/* Progress */
#body .progressContainer {
	display: flex;
	flex-wrap: wrap;
}

#body .progressContainer .progressItem {
	width: 200px; 
	position: relative;
}

#body .progressContainer .progressItem:before {
	content: attr(value);
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	line-height: 200px;
}
						
#body .progressContainer .progressItem:after {
	content: attr(label);
	position: absolute;
	bottom: 40px;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	font-weight: bold;
}
						
#body .progressContainer .progressItem svg path {
  	stroke-width: 20px;
  	stroke-miterlimit: round;
  	transition: stroke-dashoffset 850ms ease-in-out;
}

/* Popup */

.popup {
	display: none; 
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 900;
    width: 100%;
    height: 100%;
}

.popup .popupContent {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    width: 480px;
    min-height: 200px;
    max-height: 80%;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin: auto;
}

.popup .popupContent .popupHead {
	margin-top: -1px;
    width: 100%;
    background: rgb(57,193,211);
    background: -moz-linear-gradient(left, rgba(57,193,211,1) 0%, rgba(76,182,150,1) 100%);
    background: -webkit-linear-gradient(left, rgba(57,193,211,1) 0%,rgba(76,182,150,1) 100%);
    background: linear-gradient(to right, rgba(57,193,211,1) 0%,rgba(76,182,150,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#39c1d3', endColorstr='#4cb696',GradientType=1 );
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 36px;
    color: #fff;
}

.popup .popupContent .popupHead.negative {
    background: rgb(255, 133, 133);
    background: -moz-linear-gradient(left, rgb(216, 49, 49) 1%, rgb(255, 133, 133) 100%);
    background: -webkit-linear-gradient(left, rgb(216, 49, 49) 1%,rgb(255, 133, 133) 100%);
    background: linear-gradient(to right, rgb(216, 49, 49) 1%,rgb(255, 133, 133) 100%);
}

.popup .popupContent .popupHead .popupTitle {
    line-height: 36px;
    font-size: 21px;
    padding-left: 16px;	
}

.popup .popupContent .popupHead .closePopup span {
    position: absolute;
    right: 10px;
    top: 6px;
    font-size: 14px;
    color: #ffffff;
    background-color: #de4747;
    border-radius: 100%;
    width: 22px;
    height: 22px;
    text-align: center;
    line-height: 22px;
    cursor: pointer;
}

.popup .popupContent .popupBody {
    height: calc(100% - 80px);
    overflow: auto;
}

.popup .popupContent .popupBody.noFooter {
	height: calc(100% - 40px);
}

.popup .popupContent .popupFooter {
    box-shadow: 0px -2px 20px -8px;
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 45px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 7px;
    box-sizing: border-box;
}

/* dialog UI */

body .ui-dialog {
	padding: 0px !important;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0px 99999px !important;
	z-index: 900;
}

body .ui-dialog:before {
	content: '';
	position: absolute;
}

body .ui-dialog .ui-widget-header {
    border: none !important;
    background: #54d2e0 !important;
}

body .ui-dialog .ui-dialog-titlebar-close {
	background-color: #ef7d7d !important;
    border-radius: 100% !important;
}

body .ui-dialog .ui-dialog-titlebar-close .ui-icon {
    background-image: url("/assets/js/jquery-ui/images/ui-icons_ffffff_256x240.png");
}

/* CSV popup */

.csvUploadBox {
    border: 1px dashed !important;
    width: 95%;
    margin-left: 2.5%;
    height: 400px;
    margin-top: 20px;
    border-radius: 10px;
    text-align: center;
    box-sizing: border-box;
    background-color: #fbfbfb;
	cursor: pointer;
}

.csvUploadBox > .dz-message {
	line-height: 290px;
}

/* Icons */

.deleteIcon.fa-trash {
	color: #cd5c5c;
	cursor: pointer;
}

.deleteIcon.fa-undo {
	color: #000;
	cursor: pointer;
}

/* Activity Box */

.activityBox {
	width: calc(100% - 20px);
    background-color: #dcdcdc;
    margin: 10px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.activityBox i {
	font-size: 20px;
	height: 44px;
	width: 44px;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.activityBox i:before {
	width: 100%;
    text-align: center;
}

.activityBox div {
	margin-left: 15px;
	font-weight: 100;
	flex-grow: 1;
}

.activityBox div h3 {
	font-size: 16px;
	margin-bottom: 1px;
}

.activityBox div p {
	padding: 0px;
	margin: 0px;
	font-size: 12px;
}

.activityBox > p {
	font-size: 15px;
}

.activityBox.new {
    color: #00529B;
    background-color: rgba(189, 229, 248, 0.5);
}
.activityBox.positive {
    color: #4F8A10;
    background-color: rgba(223, 242, 191, 0.5);
}
.activityBox.neutral {
    color: #9F6000;
    background-color: rgba(254, 239, 179, 0.5);
}
.activityBox.negative {
    color: #D8000C;
    background-color: rgba(255, 210, 210, 0.5);
}

/* Alert box */
.alert_info, .alert_success, .alert_warning, .alert_error {
	margin: 10px;
	padding: 10px;
	display: flex;
	align-items: center;
	position: relative;
	line-height: 20px;
	font-size: 12px;
}
.alert_info {
    color: #00529B;
    background-color: #BDE5F8;
}
.alert_success {
    color: #4F8A10;
    background-color: #DFF2BF;
}
.alert_warning {
    color: #9F6000;
    background-color: #FEEFB3;
}
.alert_error {
    color: #D8000C;
    background-color: #FFD2D2;
}
.alert_info i, .alert_success i, .alert_warning i, .alert_error i {
    margin-right: 10px;
    font-size: 20px;
    vertical-align:middle;
}

.alert_info.icon, .alert_success.icon, .alert_warning.icon, .alert_error.icon {
	padding-left: 50px;
}

.alert_info.icon:before, .alert_success.icon:before, .alert_warning.icon:before, .alert_error.icon:before {
    position: absolute;
    font-family: 'Font Awesome 5 Pro';
    left: 15px;
    font-size: 20px;
    font-weight: 100;
}

.alert_info.icon:before {
	content: '\f05a';
}

.alert_success.icon:before {
	content: '\f058';
} 

.alert_warning.icon:before {
	content: '\f06a';
} 

.alert_error.icon:before {
	content: '\f057';
}

/* Footer */

#footer {
	min-height: 0px;
    padding: 5px;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
}

#footer a {
	text-decoration: none;
	font-weight: bold;
	color: #444444;
}

/* Responsiveness */

/* Medium Screens */
@media only screen and (max-width : 1270px) {
	
	.containerSplit.halfContainer .container, .containerSplit.thirdContainer .container, .containerSplit.quaterContainer .container,  .containerSplit.thirdContainer .container.twoThirds {
		width: calc(100% - 10px);
	}
	
}

	
/* Small laptop screen/ landscape tablet and smaller */
@media only screen and (max-width : 1090px) {

	.contentSplit {
		width: 100%;
		float: none;
	}
	
}

/* Large Tablets and smaller */
@media only screen and (max-width : 760px) {
	
	/* Forms */
	.formContainer .inputRow {
		flex-wrap: wrap;
	}
	
}

/* Standard Tables and smaller */
@media only screen and (max-width : 590px) {
	
	/* Forms */
	.formContainer .inputRow > *:first-child {
		padding-left: 10px;
		width: 100%;
		margin-bottom: 7px;
	}
	
	.formContainer .inputRow > *:nth-child(2) {
		width: calc(100% - 10px);
		margin-left: 5px;
	}
	
}

/* Small Tablets and smaller */
@media only screen and (max-width : 475px) {
	
	.mobileOnly {
		display: block;
	}
	
}
	
/* Large Mobiles and smaller */
@media only screen and (max-width : 425px) {

	
}
	
/* Smallest Screens */
@media only screen and (max-width : 375px) {

}