
:root {
    --main-color-lighter-5: #f4f6f7;
    --main-color-lighter-4: #dee3e7;
    --main-color-lighter-3: #c8cfd6;
    --main-color-lighter-2-5: #708394;
    --main-color-lighter-2: #5a6f83;
    --main-color-lighter-1: #445c72;
    --main-color: #223f59;
    --main-color-darker-1: #1d364c;
    --main-color-darker-2: #1a3043;
    --main-color-darker-3: #17293a;
}

/*CSS RESET*/
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, em, img, ins, kbd, q, s, samp,
small, strike, strong, 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;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*CSS RESET END*/
* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	font-size: 16px;
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}
html {
    overflow-y: scroll;
    height: 100%;
    max-width: 100%;
}
body {
    height: 100%;
    max-width: 100%;
  	background-color: #d8d8d8;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	color: #223f59;
}
.contentWrapper {
    min-height: 100%;
    margin-bottom: -150px;
    padding-bottom: 150px;
}
.clear {
    clear: both;
}
a {
    text-decoration: none;
    color: #223f59;
}
a:hover {
    cursor: pointer;
}
b, strong {
    font-weight: bold;
}
p {
    padding: 10px 0px;
}
i {
    font-style: italic;
}
sub { 
    vertical-align: sub; 
    font-size: small; 
}
sup { 
    vertical-align: super; 
    font-size: small; 
}
ol, ul {
    padding: 10px 0px;
	margin-left: 25px;
}
hr {
    border: 0;
    border-bottom: 1px dashed #223f59;
}

#loadingOverlay {
    position: fixed;
    z-index: 998;
    overflow: none;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #FFF;
    opacity: 0.75;
    filter: alpha(opacity=75);
}

#loadingOverlaySpinner {
    position: fixed;
    color: #223f59;
    width: 50px;
    height: 50px;
    font-size: 50px;
    line-height: 50px;
    z-index: 999;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    animation: spin 3s linear infinite;
}

#loadingOverlayText {
    position: fixed;
    color: #223f59;
    width: 100%;
    font-size: 25px;
    line-height: 25px;
    z-index: 999;
    top: 50%;
    text-align: center;
    margin-top: 30px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*LOGIN*/
.login {
  	width: 400px;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto 50px auto;
}
.loginLogo {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}
.loginTitle {
    width: 100%;
    text-align: center;
    font-size: 30px;
    line-height: 30px;
    padding: 10px 0px;
    font-weight: bold;
}
.login p {
    width: 100%;
    padding: 10px;
    text-align: center;
    clear: both;
}
.loginError {
    width: 100%;
    padding: 10px;
    text-align: center;
    clear: both;
    color: red;
}
.loginSuccess {
    width: 100%;
    padding: 10px;
    text-align: center;
    clear: both;
    color: green;
}
.login h1 {
  	text-align: center;
  	color: #223f59;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #223f59;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 10px;
}
.login form .loginInner {
  	width: 90%;
  	margin: 0px auto;
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
}

.login form .formItem {
    display: flex;
  	flex-wrap: nowrap;
  	align-items: center;
  	width: 90%;
  	margin: 0px auto;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	margin-top: 10px;
  	width: 50px;
  	height: 50px;
  	background-color: #223f59;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #223f59;
  	margin-top: 10px;
  	padding: 0 15px;
}
.login .submitButton {
  	width: 100%;
  	padding: 15px;
 	margin-top: 30px;
  	background-color: #223f59;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login .submitButton:hover {
	background-color: #1d364c;
  	transition: background-color 0.2s;
}
.login .disabled {
    background: grey;
}
.login .disabled:hover {
    background: grey;
    cursor: default;
}
.captchaContainer {
    width: 100%;
    text-align: center;
}
.g-recaptcha {
    display: inline-block;
}
.login .loginLink {
    color: #223f59;
    text-decoration: none;
    margin-top: 10px;
}

.quickLoginButtons {
    width: 400px;
    margin: 20px auto;
    text-align: center;
}

.googleLoginButton {
    background: #223f59;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    color: white;
}
/* TEMPLATE */
.wrapper {
    width: 90%;
    margin: 0px auto;
}
.disabled {
    background: grey;
}
.disabled:hover {
    background: grey;
    cursor: default;
}
.errorText {
    color: red;
}
.centerText {
    width: 100%;
    text-align: center;
}
.largeText {
    font-weight: bold;
    font-size: 25px;
    line-height: 25px;
    padding: 20px 0px;
}

#topBar {
    position: relative;
	margin: 0 auto;
	width: 100%;
	min-height: 50px;
	background: #223f59;
	z-index: 100;
	padding-top: 10px;
}

#topBarWrapper {
	display: flex;
	margin: 0px auto;
	width: 90%;
	align-items: center;
}

#websiteTitle {
    flex-grow: 0;
	font-size: 24px;
	margin: 0;
	color: #ffffff;
	font-weight: bold;
}

#mainMenu {
    flex-grow: 1;
    padding-top: 10px;
}

#powerSearchContainer {
    flex-grow: 2;
    display: flex;
    width: 100%;
    padding-left: 10px;
}
#powerSearchIcon {
    color: #FFFFFF;
    padding: 10px 15px;
    font-size: 30px;
    background: #1d364c;
}
#powerSearchResults {
    width: 100%;
    box-sizing: border-box;
    background: #FFF;
    border: 1px solid #223f59;
    border-top: 0px;
    position: absolute;
    display: none;
    max-height: 800px;
    overflow-y: scroll;
    z-index: 1000;
}

#powerSearchResults h4 {
    width: 100%;
    box-sizing: border-box;
    color: #FFF;
    background: #223f59;
    padding: 10px;
}

.powerSearchResult {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-bottom: 1px dashed #223f59;
}

.sectionResults :last-child {
    border-bottom: none;
}

.powerSearchResult:hover {
    background: #dee3e7;
}
#userBtns {
    flex-grow: 1;
    flex-basis: 600px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.logoutBtn {
    flex-grow: 1;
    flex-basis: 100%;
    display: block;
    padding: 17.5px;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.logoutBtn:hover {
    background: #1d364c;
    cursor: pointer;
}

.logoutBtn .icon {
    padding: 2px 8px 0 0;
}

.profileBtn {
    flex-grow: 1;
    flex-basis: 100%;
    display: block;
    //width: 100%;
    padding: 17.5px;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.profileBtn:hover {
    background: #1d364c;
    cursor: pointer;
}

.profileBtn .icon {
    padding: 2px 8px 0 0;
}

.log {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: 12px;
    margin-bottom: 10px;
}

.log h3 {
    width: 100%;
    box-sizing: border-box;
    color: #FFF;
    background: #223f59;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

#mobileMenuIcon {
    flex-grow: 0;
    color: #FFF;
    font-size: 18px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    display: none;
}

#mobileMenuIcon:hover {
    background: #1d364c;
}

.dropDownMenu {
    display: block;
}

.dropDownMenu a {
    text-decoration: none;
}

.dropDownMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.dropDownMenu li {
    color: #fff;
    display: block;
    position: relative;
    text-decoration: none;
    transition-duration: 0.5s;
    padding: 0px;
    flex: 0 1 auto;
}
  
.dropDownMenu li a {
    display: block;
    padding: 17.5px;
    color: #fff;
    font-weight: bold;
}

.dropDownMenu li a .icon {
	padding: 2px 8px 0 0;
}

.dropDownMenu li:hover,
.dropDownMenu li:focus-within {
    background: #1d364c;
    cursor: pointer;
}

.dropDownMenu li ul li:hover,
.dropDownMenu li ul li:focus-within {
    background: #1a3043;
    cursor: pointer;
}

.dropDownMenu li:focus-within a {
    outline: none;
}

.dropDownMenu ul li ul {
    background: #1d364c;
    visibility: hidden;
    opacity: 0;
    min-width: 100%;
    position: absolute;
    transition: all 0.5s ease;
    margin-top: 0px;
    left: 0;
    display: none;
    z-index: 1000;
}

.dropDownMenu ul li:hover > ul,
.dropDownMenu ul li:focus-within > ul,
.dropDownMenu ul li ul:hover,
.dropDownMenu ul li ul:focus {
    visibility: visible;
    opacity: 1;
    display: block
}

.dropDownMenu ul li ul li {
    clear: both;
    width: 100%;
}
.dropDownMenu ul li.active {
    background: #1d364c;
}
.dropDownMenu ul li ul li.active {
    background: #1a3043;
}
.dropDownMenu ul li ul li ul li.active {
    background: #17293a;
}

/* MOBILE MENU */
#mobileMenuContainer {
    display: none;
}
.mobileMenu a {
    width: 100%;
}

.mobileMenu ul {
    width: 100%;
    margin-left: 0px;
    box-sizing: border-box;
    padding: 0px;
}

.mobileMenu li {
    width: 100%;
}
  
.mobileMenu li a {
    display: block;
    padding: 1rem;
    color: #fff;
    font-weight: bold;
}

.mobileMenu li a .icon {
	padding: 2px 8px 0 0;
}

.mobileMenu li:hover,
.mobileMenu li:focus-within {
    background: #1d364c;
    cursor: pointer;
}

.mobileMenu li ul li:hover,
.mobileMenu li ul li:focus-within {
    background: #1a3043;
    cursor: pointer;
}

.mobileMenu li ul li ul li:hover,
.mobileMenu li ul li ul li:focus-within {
    background: #17293a;
    cursor: pointer;
}

.mobileMenu li:focus-within a {
    outline: none;
}

.mobileMenu ul li ul {
    visibility: visible;
    opacity: 1;
    display: block;
    clear: both;
    position: relative;
    border-left: 10px solid #FFF;
    padding: 10px;
}
.mobileMenu {
    display: none;
}

.mobileMenu ul li:hover > ul,
.mobileMenu ul li:focus-within > ul,
.mobileMenu ul li ul:hover,
.mobileMenu ul li ul:focus {
    visibility: visible;
    opacity: 1;
    display: block
}

.mobileMenu ul li ul li {
    clear: both;
    width: 100%;
    list-style: none;
}

.mobileMenu ul li.active {
    background: #1d364c;
}

.mobileMenu ul li ul li.active {
    background: #1a3043;
}

.mobileMenu ul li ul li ul li.active {
    background: #17293a;
}

/*.navtop div {
	display: flex;
	margin: 0 auto;
	width: 90%;
	height: 100%;
}
.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}
.navtop div h1 {
	flex: 1;
	font-size: 24px;
	padding: 0;
	margin: 0;
	color: #ffffff;
	font-weight: bold;
}
.navtop div a {
	padding: 0 20px;
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
}
.navtop div a i {
	padding: 2px 8px 0 0;
}
.navtop div a:hover {
	color: #d3d3d3;
}*/
body.loggedin {
	background-color: #f3f4f7;
}
.content {
	width: 90%;
	margin: 0 auto;
}
.content h2 {
	margin: 0;
	padding: 25px 0;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #223f59;
}
.mainContent {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 25px 0;
	padding: 25px;
	background-color: #fff;
	font-size: 15px;
	line-height: 20px;
}
.mainContent h2 {
	margin: 20px 0 10px 0;
	padding: 10px 0;
	font-size: 22px;
	border-bottom: 1px solid #223f59;
	color: #223f59;
}
h3 {
  	text-align: left;
  	width: 100%;
  	color: #223f59;
  	font-size: 15px;
  	padding: 10px 0 10px 0;
  	border-bottom: 1px solid #223f59;
}

h2 a, h3 a {
    color: #223f59;
}

h4 {
  	text-align: left;
  	width: 100%;
  	color: #223f59;
  	font-size: 15px;
  	padding: 10px 0 10px 0;
  	border-bottom: 1px solid #223f59;
}

footer {
    margin: 0 auto;
	width: 100%;
	height: 150px;
	background: #223f59;
}
#footerWrapper {
	margin: 0px auto;
	width: 90%;
	color: #FFFFFF;
}
#btt {
    width: 100%;
    text-align: center;
}
#btt-btn {
    display: inline-block;
    box-sizing: border-box;
    padding: 10px;
    margin: 30px auto;
  	background: #1d364c;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background 0.2s;
}
#btt-btn:hover {
	background: #1a3043;
}
#copyright {
    width: 100%;
    padding-bottom: 30px; 
    text-align: center;
}

.loading_bar {
    width: 100%;
    padding: 50px;
    text-align: center;
}

.contentHiddenNotification {
    width: 100%;
    color: red;
}
/* CLAUSE BAR */
.clauseBar {
    width: 100%;
    background: #223f59;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 10px;
    color: #FFF;
    display: flex;
    gap: 10px;
}
.clauseBar .handle {
    display: inline-block;
    box-sizing: border-box;
    padding: 16px;
    margin: 0px;
    background: #223f59;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background 0.2s;
    text-align: center;
    flex-grow: 0;
}

.clauseBar .handle:hover {
    background: #445c72;
}

.clauseBar .formItem {
    width: 100%;
    flex-grow: 1;
}
.clauseBar .deleteBtn {
    display: inline-block;
    box-sizing: border-box;
    padding: 16px;
    margin: 0px;
    background: red;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background 0.2s;
    text-align: center;
    flex-grow: 0;
}
.clauseBar .deleteBtn:hover {
    background: darkred;
}
/* FILTER BAR STUFF */
.filterBar {
    width: 100%;
    background: #223f59;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 10px;
    color: #FFF;
}
.filterBar form {
    width: 100%;
    padding: 0px;
    
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 10px;
}

.filterBar form .formItem {
    width: auto;
    flex-grow: 1;
    display: flex;
    gap: 10px;
    flex: 1 1 auto;
}

.filterBar form .formItem label{
    padding: 15px 0px
}

.filterBar form .doubleInput {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
}

.filterBar form .formItem input[type="password"], .filterBar form .formItem input[type="text"], .filterBar form .formItem input[type="number"] {
    width: 100%;
  	border: 1px solid #223f59;
  	margin-top: 0px;
  	padding: 15px;
  	resize: none;
  	box-sizing: border-box;
  	color: #223f59;
}

.filterBar form .formItem select {
    width: 100%;
  	border: 1px solid #223f59;
  	margin-top: 0px;
  	padding: 14px;
  	resize: none;
  	box-sizing: border-box;
  	color: #223f59;
}

.filterBar form .formItem textarea {
    width: 100%;
  	height: 100px;
  	border: 1px solid #223f59;
  	margin-top: 0px;
  	padding: 15px;
  	resize: none;
  	box-sizing: border-box;
  	color: #223f59;
}

.filterBar form .formItem #searchString {
    flex-grow: 2;
}

.filterBar form .doubleInput input[type="text"], .filterBar form .doubleInput input[type="number"] {
    width: 47.5%;
}

.filterBar form .doubleInput .doubleInputSeperator {
    display: inline-block;
    width: 5%;
    text-align: center;
}



.filterBar form .sortableFilters {
    width: 100%;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 10px;
    list-style: none;
}

.filterBar form .sortableFilters li {
    background: #223f59;
    border: 1px solid #445c72;
    width: 100%;
    padding: 5px;
    margin: 0px;
    display: flex;
    align-items: center;
    flex-flow: row;
    justify-content: space-between;
    gap: 10px;
}

.filterBar form .sortableFilters .formItem {
    width: auto;
    flex-grow: 1;
    /*
    margin-bottom: 0px;
    float: left;
    margin-right: 10px;*/
}
.filterBar form .sortableFilters .doubleInput {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.filterBar form .sortableFilters .formItem input[type="password"], .filterBar form .sortableFilters .formItem input[type="text"], .filterBar form .sortableFilters .formItem input[type="number"] {
    width: 100%;
  	border: 1px solid #223f59;
  	margin-top: 0px;
  	padding: 15px;
  	resize: none;
  	box-sizing: border-box;
  	color: #223f59;
}

.filterBar form .sortableFilters .formItem select {
    width: 100%;
  	border: 1px solid #223f59;
  	margin-top: 0px;
  	padding: 14px;
  	resize: none;
  	box-sizing: border-box;
  	color: #223f59;
}

.filterBar form .sortableFilters .formItem textarea {
    width: 100%;
  	height: 100px;
  	border: 1px solid #223f59;
  	margin-top: 0px;
  	padding: 15px;
  	resize: none;
  	box-sizing: border-box;
  	color: #223f59;
}

.filterBar form .sortableFilters .formItem #searchString {
    flex-grow: 2;
}

.filterBar form .sortableFilters .doubleInput input[type="text"], .filterBar form .sortableFilters .doubleInput input[type="number"] {
    width: 47.5%;
}

.filterBar form .sortableFilters .doubleInput .doubleInputSeperator {
    display: inline-block;
    width: 5%;
    text-align: center;
}

/* NORMAL FORM */
form {
    width: 100%;
  	justify-content: center;
  	padding-top: 10px;
}

form fieldset {
    border: 1px solid #223f59;
    padding: 10px;
    margin-bottom: 10px;
}

form legend {
    color: #223f59;
    border: 1px solid #223f59;
    padding: 10px;
    font-weight: bold;
}

form .formItem {
  	width: 100%;
}

.popupForm label { 
    display: block;
    margin: 10px 0px; 
    border-bottom: 1px solid #223f59; 
    padding: 10px 0px;
}

.formItem input[type="password"], .formItem input[type="text"], .formItem input[type="number"], .formItem select {
    width: 100%;
  	border: 1px solid #223f59;

  	padding: 15px;
  	resize: none;
  	box-sizing: border-box;
  	color: #223f59;
}

.formItem textarea {
    width: 100%;
  	height: 157px;
  	border: 1px solid #223f59;

  	padding: 15px;
  	resize: none;
  	box-sizing: border-box;
  	color: #223f59;
  	margin: 0px;
}

.formItem input[type="file"] {
    width: 100%;
  	border: 1px solid #223f59;
    padding: 15px;
    color: #223f59;
    -o-text-overflow: clip;
    text-overflow: clip;
    background: #FFFFFF;
}

.formItem input[type="password"]:disabled, .formItem input[type="text"]:disabled, .formItem input[type="number"]:disabled, .formItem input[type="file"]:disabled, .formItem select:disabled, .formItem textarea:disabled {
  background: #dddddd;
}

.formItem input[type="password"]:read-only, .formItem input[type="text"]:read-only, .formItem input[type="number"]:read-only, .formItem input[type="file"]:read-only, .formItem textarea:read-only {
  background: #dddddd;
}

form .formItemFlex {
    display: flex;
  	flex-wrap: nowrap;
  	align-items: center;
  	width: 100%;
  	margin-bottom: 15px;
}

form .formItemFlex label {
  	display: flex;
  	flex-shrink: 0;
  	justify-content: center;
  	align-items: center;
  	margin-top: 5px;
  	width: 50px;
  	height: 50px;
  	background-color: #223f59;
  	color: #ffffff;
}

form .formItemFlex input[type="password"], form .formItemFlex input[type="text"], form .formItemFlex select {
    flex-grow: 1;
  	height: 50px;
  	border: 1px solid #223f59;
  	margin-top: 5px;
  	padding: 15px;
  	resize: none;
  	color: #223f59;
}
form .formItemFlex textarea {
    flex-grow: 1;
  	height: 100px;
  	border: 1px solid #223f59;
  	margin-top: 5px;
  	padding: 15px;
  	resize: none;
  	color: #223f59;
}

.largeTextarea {
  	height: 500px !important;
}
/* CHECKBOX CSS */
.squaredCheck {
    width: 50px;
    height: 50px;
    position: relative;
    background: #223f59;
}

.disabledCheck {
    background: #CCC;
}

.squaredCheck label {
    width: 48px;
    height: 49px;
    cursor: pointer;
    position: absolute;
    left: 1px;
    top: 1px;
    background: #FFF;
    margin: 0px;
}
.squaredCheck label:after {
    content: '';
    width: 30px;
    height: 9px;
    position: absolute;
    top: 15px;
    left: 7px;
    border: 5px solid #223f59;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.disabledCheck label:after {
    border: 3px solid #CCC;
    border-top: none;
    border-right: none;
}

.squaredCheck label:hover::after {
    opacity: 0.3;
}
.squaredCheck input[type=checkbox] {
    visibility: hidden;
}
.squaredCheck input[type=checkbox]:checked + label:after {
    opacity: 1;
}

.squaredCheckSmall {
    width: 15px;
    height: 16px;
    position: relative;
    background: #223f59;
}

.squaredCheckSmall label {
    width: 13px;
    height: 15px;
    cursor: pointer;
    position: absolute;
    left: 1px;
    top: 1px;
    background: #FFF;
    margin: 0px;
    padding: 2px;
}
.squaredCheckSmall label:after {
    content: '';
    width: 7px;
    height: 3px;
    position: absolute;
    top: 4px;
    left: 2px;
    border: 2px solid #223f59;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.squaredCheckSmall label:hover::after {
    opacity: 0.3;
}
.squaredCheckSmall input[type=checkbox] {
    visibility: hidden;
}
.squaredCheckSmall input[type=checkbox]:checked + label:after {
    opacity: 1;
}

#emailCheckResponse {
    padding: 10px 0px;
    color: red;
}

.requirementsContainer {
    position: relative;
    height: 15px;
    top: -15px;
    margin-bottom: -15px;
    display: flex;
    font-size: 10px;
    clear: both;
}

.validationRequirements {
    flex-basis: 50%;
    flex-grow: 1;
    color: white;
    background: red;
    padding: 2px 5px;
    clear: both;
    display: none;
}

.validationInvalid {
	border: 1px solid red !important;
}

.validationValid {
	border: 1px solid #223f59;
}

.requiredRequirements {
    flex-basis: 50%;
    flex-grow: 1;
    color: white;
    background: red;
    padding: 2px 5px;
    clear: both;
    display: none;
}

.requiredInvalid {
	border: 1px solid red !important;
}

.requiredValid {
	border: 1px solid #223f59;
}

.invalid {
	border: 1px solid red !important;
}

.valid {
	border: 1px solid #223f59;
}

/* CHECKBOX CSS END */

.submitButton {
  	width: 100%;
  	padding: 15px;
 	margin-top: 30px;
  	background: #223f59;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background 0.2s;
}
.submitButton:hover {
	background: #3a7677;
  	transition: background 0.2s;
}
.btn {
    display: inline-block;
    box-sizing:border-box;
    padding: 10px;
    margin: 10px 0px;
  	background: #223f59;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background 0.2s;
  	text-align: center;
  	flex-grow: 1;
    text-decoration: none;
}
.btn:hover {
	background: #1d364c;
}

.btn-green {
    background: #06a809;
}
.btn-green:hover {
    background: #319322;
} 

.btn-red {
    background: #d30404;
}
.btn-red:hover {
    background: #a80b0b;
} 

.btn-disabled {
    background: #CCC;
}
.btn-disabled:hover {
    background: #CCC;
}

.btn-margin-top {
    margin-top: 10px;
}

.btn-margin-bottom {
    margin-top: 10px;
}

.fullWidthBtn, .full-width-btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 10px;
}
.sortBtn {
    
}
.sortBtn:hover {
    cursor: pointer;
}
.filterBar .btn {
    display: inline-block;
    box-sizing:border-box;
    padding: 16px;
    margin: 0px;
  	background: #445c72;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background 0.2s;
}
.filterBar .btn:hover {
	background: #5a6f83;
}
.uploadBtn {
    display: inline-block;
    box-sizing:border-box;
    padding: 10px;
    margin: 0px 0px 10px 0px;
  	background: #223f59;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background 0.2s;
}
.uploadBtn:hover {
	background: #1d364c;
}
.checkOutput {
  	display: flex;
  	flex-shrink: 0;
  	justify-content: center;
  	align-items: center;
  	margin-top: 5px;
  	background-color: #c9c9c9;
  	color: #ffffff;
  	padding-right: 20px;
  	text-transform: uppercase;
}
.hidden {
    display: none;
}
.error {
    background: red;
}
.success {
    background: green;
}
.disabled {
    background: grey;
}
.disabled:hover {
    background: grey;
    cursor: default;
}
.checkOutput i {
    display: flex;
  	flex-shrink: 0;
  	width: 50px;
  	height: 50px;
  	justify-content: center;
  	align-items: center;
}
.ui-dialog-titlebar-close {
    visibility: hidden;
}

.greyedOut {
    color: grey;
}

/* VIEW OPTIONS */

#viewOptionsBar {
    position: relative;
    background: #CCC;
    padding: 10px;
    min-height: 50px;
}

#viewOptionsBar form {
    width: 100%;
    padding: 0px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 10px;
}

#viewOptionsBar form .formItem {
    width: auto;
    flex-grow: 1;
    margin-bottom: 0px;
    float: left;
    margin-right: 10px;
}

#viewOptionsBar form .formItem > label {
    display: block;
    margin: 0px 0px 10px 0px;
    border-bottom: 1px solid #223f59;
    padding: 0px 0px 10px 0px;
}
#viewOptionsBar form .formItem .squaredCheck {
    height: 53px;
}

#viewOptionsBar form .formItem .squaredCheck label {
    height: 51px;
}

#viewOptionsButton {
    float: right;
    right: 0px;
    padding: 10px;
    background: #CCC;
}

/* PAGINATION */
#pagination_range {
    width: 50%;
    margin: 0px auto;
    padding: 25px 0px;
    text-align: center;
}
.pagination_nav {
    width: 100%;
    text-align: center;
}
.pagination_nav li {
    min-width: 20px;
    background: #CCC;
    padding: 20px;
    margin: 0px 2px;
	display: inline-block;
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.pagination_nav li:hover {
    background: #3A7677;
    color: #FFF;
    cursor: pointer;
}
.pagination_nav .current_page {
    background: #223f59;
    color: #FFF;
    cursor: default;
}
.pagination_nav .current_page:hover {
    background: #223f59;
    color: #FFF;
    cursor: default;
}
.pagination_nav .disabled_page_nav {
    cursor: default;
    background: #DDDDDD;
    color: #AAAAAA;
}
.pagination_nav .disabled_page_nav:hover {
    cursor: default;
    background: #DDDDDD;
    color: #AAAAAA;
}
.paginate {
    padding: 5px 0px;
    float: right;
}

.paginate select {
  	border: 1px solid #223f59;
  	margin-top: 5px;
  	padding: 15px;
  	resize: none;
  	box-sizing: border-box;
  	color: #223f59;
}
/* TABLE */
table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}
th {
    padding: 10px;
    background: #223f59;
    color: #FFF;
    border: 1px solid #223f59;
    vertical-align: middle;
    font-weight: bold;
}

th a  {
    color: #FFF;
}

td {
    padding: 10px;
    text-align: center;
    border: 1px solid #223f59;
    vertical-align: middle;
}

td .btn {
    margin: 0px 0px 10px 0px;
    width: 100%;
}

td .btn:last-of-type {
    margin: 0px;
}

tr {
    border-bottom: 1px solid #223f59;
    -webkit-transition: all 0.5s ease, width 0;
    -moz-transition: all 0.5s ease, width 0;
    -o-transition: all 0.5s ease, width 0;
    transition: all 0.5s ease, width 0;
}
tr:nth-child(even) {
    background: #c8cfd6;
}
tr:nth-child(odd) { 
    background: #dee3e7;
}
tr:hover {
    background: #f4f6f7;
}

tr.evenRow {
    background: #c8cfd6;
}
tr.oddRow { 
    background: #dee3e7;
}

.clickable-row {
    cursor: pointer;   
}
.fa-sort, .fa-sort-down, .fa-sort-up {
    margin-left: 5px;
}

.rowHighlight {
    background: #f4f6f7;
    color: #223f59;
}

.rowHighlightSelected {
    background: #708394;
    color: #FFFFFF;
}

/* STICKY HEADER TABLE */

.stickyHeaderTable thead {
  position: sticky;
  top: 0px;
}

/* TABLE RUN SHEET */
.runSheetContainer {
    width: 100%;
    overflow-x: scroll;
}

.runSheetContainer h3 {
    font-size: 12px;
    padding: 0px;
    padding-bottom: 5px;
    text-align: center;
    margin: 5px 0px 0px 0px;
    border-bottom: 0px;
    font-weight: bold;
}

.runSheetContainer h3:first-of-type {
    margin: 0px;
}

.run-sheet th, .run-sheet td {
    font-size: 12px;
    line-height: 12px;
    padding: 5px;
}

.run-sheet .ui-sortable-helper {
    border: 1px;
    margin-left: -1px;
    cursor: grabbing;
}

.handle {
    cursor: grab;
    background: #445c72;
    color: #FFFFFF;
}

.ui-sortable-helper .handle {
    cursor: grabbing;
}

.unsorted .handle {
    background: #b27b7b !important;
}

.unsorted {
    background: #fcdbdb !important;
}

/* TABLE NO WRAP */
.table-no-wrap th, .table-no-wrap td {
    white-space: nowrap;
}

/* TABLE ALTERNATE FLIP */
.tableAltFlip .cf:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.tableAltFlip * html .cf { zoom: 1; }
.tableAltFlip *:first-child+html .cf { zoom: 1; }

.tableAltFlip table { width: 100%; border-collapse: collapse; border-spacing: 0; }

.tableAltFlip th,
.tableAltFlip td { margin: 0; vertical-align: top; }
.tableAltFlip td .btn:first-of-type {
    margin: 10px 0px;
}
.tableAltFlip th { text-align: left; }

.tableAltFlip table { display: block; position: relative; width: 100%; }
.tableAltFlip thead { display: block; float: left;}
.tableAltFlip tbody { display: block; width: auto; position: relative; overflow-x: auto; white-space: nowrap; }
.tableAltFlip thead tr { display: block; }
.tableAltFlip th { display: block; text-align: right; }
.tableAltFlip tbody tr { display: inline-block; vertical-align: top; }
.tableAltFlip td { display: block;  text-align: left; }

/* TABLE ALTERNATE CARD */
.tableAltCard {
    border: 0!important;
}

.tableAltCard thead {
    display: none!important;
}

.tableAltCard tr {
    flex-grow: 1;
    display: block!important;
    border: 1px solid #223f59!important;
}

.tableAltCard td {
    display: block!important;
    text-align: right!important;
    border: 0px!important;
    border-bottom: 1px solid #223f59!important;
}

.tableAltCard td:last-child {
    border-bottom: 0!important;
}

.tableAltCard td::before {
    content: attr(data-label)!important;
    float: left!important;
    text-transform: uppercase!important;
    font-weight: bold!important;
}

.tableAltCard td .btn {
    text-align: center;
}

.tableAltCard td .btn:first-of-type {
    margin: 10px 0px;
}

.tableAltCard tbody {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 10px;
    /*line-height: 0!important;*/
}
/* NO STYLE TABLE */
.nostyle table, .nostyle caption, .nostyle tbody, .nostyle tfoot, .nostyle thead, .nostyle tr, .nostyle th, .nostyle td {
    all: unset;
}

/* PAGE SPECIFIC CSS */
/* #permitTypeColumnList { 
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
#permitTypeColumnList li {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #223f59;
    background: #FFFFFF;
    width: 100%;
    min-height: 235px;
    color: #223f59;
}
#permitTypeColumnList .columnPlaceholder {
    background: #4A8688;
    height: 150px;
}
#permitTypeColumnList li .columnTitle {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    border-bottom: 1px solid #223f59;
    font-weight: bold;
    font-size: 32px;
    line-height: 32px;
}
#permitTypeColumnList li .columnDescription {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    width: 100%;
}
.columnButton {
    margin-left: 10px;
}
#permitTypeColumnList .disabledColumn {
    background: #CCC;
}
.columnLeft {
    float: left;
    width: 75%;
}
.columnRight {
    float: right;
}


#viewSectionList { 
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
#viewSectionList li {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #223f59;
    background: #FFFFFF;
    width: 100%;
    min-height: 150px;
}
#viewSectionList .sectionPlaceholder {
    background: #4A8688;
    min-height: 150px;
}
#viewSectionList li .sectionTitle {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    border-bottom: 1px solid #223f59;
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
}
#viewSectionList li .sectionDescription {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    width: 100%;
}
.sectionButton {
    float: right;
    margin-left: 10px;
}
.sectionLeft {
    float: left;
    width: 75%;
}
.sectionRight {
    float: right;
    width: 25%;
}

#viewSectionList li .columnList, .columnList { 
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 50px;
    background: #CCC;
    padding: 10px;
}
#viewSectionList li .columnList li, .columnList li {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #223f59;
    background: #FFFFFF;
    width: 100%;
    min-height: 40px;
}
#viewSectionList li .columnList .columnPlaceholder, .columnList .columnPlaceholder {
    background: #223f59;
    min-height: 40px;
}
#viewSectionList li .columnList li .columnTitle, .columnList li .columnTitle {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    font-weight: bold;
}
#viewSectionList li .columnList li .columnDescription, .columnList li .columnDescription {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    width: 100%;
}
#viewSectionList li .columnButton, .columnButton {
    margin-left: 10px;
}
#viewSectionList li .columnList .disabledColumn, .columnList .disabledColumn {
    background: #CCC;
}
#viewSectionList li .columnLeft, .columnLeft {
    float: left;
    width: 100%;
}
#viewSectionList li .columnRight, .columnRight {
    float: right;
    margin-top: -10px;
}
.ordering {
    display: none;
} */

.logoPreview {
    float: right;
}

.largeIcon {
    font-size: 100px;
}

.section {
    background: #CCC;
    padding: 10px;
    flex: 1;
}
.sectionTitle {
    min-width: 100%;
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
}
.sectionDescription {
    min-width: 100%;
}

.columnSectionContainer {
    display: flex;
}

/* LIST CSS */
/* VERTICAL PANELS */
.verticalPanelList {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.verticalPanelList li {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #223f59;
    background: #FFFFFF;
    width: 100%;
    min-height: 235px;
    color: #223f59;
}

.verticalPanelListHeader {
    display: block;
    margin-top: -5px;
    padding: 5px;
    border-bottom: 1px solid #223f59;
    font-weight: bold;
    font-size: 37px;
    line-height: 37px;
}

.verticalPanelListDescription {
    display: block;
    margin: 5px 0px;
    font-size: 20px;
    line-height: 20px;
}

.verticalPanelListButtons {
    float: right;
    margin-top: -53px;
}

.verticalPanelListButtons .btn {
    margin-left: 5px;
}

.verticalPanelListPlaceholder {
    background: #223f59 !important;
    height: 300px !important;
}

.verticalPanelListSmall {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.verticalPanelListSmall li {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #223f59;
    background: #FFFFFF;
    width: 100%;
    min-height: 40px;
    color: #223f59;
}

.verticalPanelListSmallHeader {
    display: block;
    padding: 5px;
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
}

.verticalPanelListSmallButtons {
    float: right;
    margin-top: -53px;
}

.verticalPanelListSmallButtons .btn {
    margin-left: 5px;
}

.verticalPanelListSmallPlaceholder {
    background: #223f59 !important;
    height: 40px !important;
}

/* HORIZONTAL PANELS */
.horizontalPanelList {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    background: #DDD;
    margin-top: 5px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}

.horizontalPanelList li {
    width: 200px;
    min-height: 150px;
    padding: 10px;
    box-sizing: border-box;
    margin: 5px;
    background: #EEE;
    display: inline-block;
    white-space: nowrap;
    vertical-align: top;
}

.horizontalPanelList li .btn {
    display: block;
    width: 100%;
    min-height: auto;
    margin: 0px;
    margin-top: 5px;
}

.horizontalPanelListPlaceholder {
    width: 200px;
    min-height: 150px;
    padding: 10px;
    box-sizing: border-box;
    margin: 5px;
    background: #223f59 !important;
    display: inline-block;
    white-space: nowrap;
}

.horizontalPanelList .btn {
    width: 200px;
    min-height: 150px;
    margin: 5px;
    text-align: center;
}

.panelPadding {
    padding: 5px;
}

/* FORM FLOW */
.branchPointContainer {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: #FFF;
    margin-bottom: 10px;
    border: 1px solid #223f59;
}
.branchPointTitle {
    width: 100%;
    font-size: 20px;
    line-height: 20px;
}
.branchPointDescription {
    padding: 10px 0px;
}
.branchContainer {
    display: flex;
    width: 100%;
    background: #223f59;
    padding: 5px;
    align-items: flex-start;
    align-content: flex-start;
}

.branchContainer > .btn {
    flex-grow: 0;
    display: block;
    width: 100px;
    margin: 5px;
}

.branch {
    flex-grow: 1;
    width: 100%;
    padding: 10px 10px 0px 10px;
    box-sizing: border-box;
    background: #FFF;
    margin-bottom: 10px;
    border: 1px solid #223f59;
    margin: 5px;
}
.branchTitle {
    width: 100%;
    font-size: 20px;
    line-height: 20px;
}
.branchDescription {
    padding: 10px 0px;
}

.ruleOr {
    width: 100%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    margin-top: -10px;
}
.rule {
    width: 100%;
    padding: 10px 10px 0px 10px;
    box-sizing: border-box;
    background: #FFF;
    margin-bottom: 10px;
    border: 1px solid #223f59;
}
.ruleTitle {
    width: 100%;
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 10px;
}
.condition {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: #FFF;
    margin-bottom: 10px;
    border: 1px solid #223f59;
}
.conditionTitle {
    width: 100%;
    font-size: 20px;
    line-height: 20px;
}

.buttonSetRight {
    float: right;
    margin-top: -10px;
}

.buttonSetRight .btn {
    margin-left: 5px;
}

    
/* TOOLTIPS */
.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip {
    margin-left: 5px;
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    min-width: 200px;
    max-width: 1000px;
    background-color: #1a3043;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 7px;
    margin-left: -100px;
    margin-bottom: 2px;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: normal;
    font-size: 15px;
    line-height: 15px;
    padding: 5px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1a3043 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.inputTitle {
    font-weight: bold;
    font-size: 15px;
    line-height: 15px;
}

@media (max-width: 1000px) {
    #topBarWrapper {
    	display: block;
    	width: 95%;
    	overflow: auto;
    }
    
    #websiteTitle {
        width: 100%;
        text-align: center;
        padding-bottom: 10px;
    }
    
    #powerSearchContainer {
        padding-left: 0px;
    }
    
    #mainMenu {
        width: 100%;
        padding-top: 0px;
    }
    #mobileMenuIcon {
        display: block;
        width: 100%;
        clear: both;
    }
    
    .dropDownMenu {
        display: none;
    }
    #mobileMenuContainer {
        display: block;
    }
    
    /* JQUERY UI OVERIDES */
    .ui-tabs .ui-tabs-nav {
        padding: .2em;
    }
    .ui-tabs .ui-tabs-nav li {
        width: 100%;
    }
}
@media (max-width: 500px) {
    .login {
      	max-width: 90%;
      	min-width: 350px;
    }
}

/* SORTABLE LISTS */
.upliftOrder { 
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.upliftOrder li {
    padding: 10px;
    background: #FFF;
    border: 1px solid #223f59;
    margin-bottom: 5px;
}

/* PORTLETS */
.columnsContainer {
    display: flex;
    gap: 10px;
    flex-flow: row wrap;
}
.column {
    flex-basis: 500px;
    flex-grow: 1;
    flex-shrink: 1;
    display: flex;
    gap: 10px;
    flex-flow: column wrap;
}

.placeholder {
    border: 1px dotted black;
    width: 100%;
    background: #DDDDDD;
}

/* JQUERY UI OVERIDES */
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr, .ui-corner-bottom {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}


.ui-widget-header, .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #223f59;
    background: #223f59;
}

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited, .ui-widget-content {
    color: #223f59;
}

.ui-state-default a:hover {
    color: #223f59;
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #FFF;
}

.ui-state-active a:hover {
    color: #FFF;
}

.ui-tabs .ui-tabs-nav {
    padding: .2em;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    width: 100%;
}

.ui-tooltip {
    border: 1px solid #223f59;
    -webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.2-col {
    max-height: 60% !important;
    -webkit-columns: 2 !important;
    -moz-columns: 2 !important;
    columns: 2 !important;
    -webkit-column-gap: 10px !important;
    -moz-column-gap: 10px !important;
    column-gap: 10px !important;
    -webkit-column-rule: 1px solid #223f59 !important;
    -moz-column-rule: 1px solid #223f59 !important;
    column-rule: 1px solid #223f59 !important;
}

/* SPECTRUM COLOR PICKER OVERIDES */
.sp-container {
    background-color: #ECECEC;
    border-color: #223f59;
}
.sp-replacer {
    border-color: #223f59;
    background: #eee;
    color: #333;
}
.sp-replacer:hover, .sp-replacer.sp-active {
    border-color: #223f59;
    color: #111;
}
.sp-container button {
    display: inline-block;
    box-sizing:border-box;
    padding: 10px;
    background: #223f59;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff !important;
    transition: background 0.2s;
}
.sp-container button:hover {
    background-color: #1d364c;
    cursor: pointer;
    transition: background 0.2s;
}
.sp-container button:active {
    border: 1px solid #1d364c;
}
.sp-input:focus  {
    border-color: #223f59;
}

/* EXTRA BITS */
.view-button {
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    float: right;
}

.view-button-disabled {
    color: #CCC;
}

.panel {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #223f59;
    margin-bottom: 10px;
    background: #dee3e7;
    display: flex;
    gap: 10px;
    flex-flow: row wrap;
}

.panel:hover {
    //margin-top: -5px;
    //margin-bottom: 15px;
    background: #c8cfd6;
    //-webkit-box-shadow: 0px 5px 5px 0px #aaaaaa;
    //-moz-box-shadow: 0px 5px 5px 0px #aaaaaa;
    //box-shadow: 0px 5px 5px 0px #aaaaaa;
}

.panel h2 {
    margin: 0px 0px 10px 0px;
    padding: 0px 0px 10px 0px;
}

.panel h3 {

}

.panel-client-details {
    flex: 1 1 400px;
}

.panel-premises-details {
    flex: 2 1 600px;
}

.address {
    float: right;
    text-align: right;
}

.status {
    font-weight: bold;
}

.float-right {
    float: right;
    margin-left: 10px;
}

.pop-up-button {
    padding: 10px 0px 0px 0px;
    cursor: pointer;
    color: #223f59;
}

.pop-up-button:hover {
    color: #1d364c;
}

.right-btn {
    position: relative;
    display: inline;
    float: right;
    top: 8px;
}

.right-btn-no-margin-top {
    float: right;
    margin-top: 0px;
}

.right-btn-right-margin {
    margin-right: 10px;
}

.two-column-flex-container {
    display: flex;
    gap: 10px;
}

.two-column-flex-box {
    flex-basis: 50%;
}

.flex-box-container {
    display: flex;
    gap: 10px;
    flex-flow: row wrap;
}

.flex-box {
    flex-grow: 1;
}

.flex-box-stretch {
    flex-grow: 2;
}

.premises-flex-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.premises-flex-box {
    flex-grow: 1;
    border: 1px solid #223f59;
}

.premises-flex-header {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    background: #223f59;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
}

.premises-flex-content {
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1;
}

.premises-address {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.year-flex-container {
    display: flex;
    column-gap: 5px;
    flex-flow: row wrap;
}

.year-flex-box {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    text-align: center;
}

.year-flex-header {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    background: #445c72;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #223f59;
}

.year-flex-content {
    padding: 0px 5px 5px 5px;
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1;
}

.year-service-header {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    background: #445c72;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
    border: 1px solid #223f59;
    margin-top: 5px;
}

.year-service {
    padding: 0px 5px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #223f59;
    border-top: 0px solid #223f59;
    text-align: center;
}

.year-collection {
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px dotted #223f59;
    text-align: center;
    font-size: 12px;
}

.year-collection:last-of-type {
    border-bottom: 0px solid #223f59;
}

.collection-total {
    text-align: center;
}

.service-total {
    border-bottom: 1px solid #223f59;
    border-top: 1px dashed #223f59;
    font-size: 14px;
    padding: 5px;
    text-align: center;
}

.service-total:last-of-type {
    border: 0px solid #223f59;
}

.final-total {
    padding: 5px;
    background: #dee3e7;
}

.year-total {
    border-top: 1px solid #223f59;
    background: #5a6f83;
    padding: 10px;
    color: #FFFFFF;
    text-align: center;
}

.additional-totals {
    border-bottom: 1px solid #223f59;
    font-size: 14px;
    padding: 5px;
    text-align: center;
}

.additional-totals:last-of-type {
    border-bottom: 0px solid #223f59;
}

.premises-service-finances {
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px dashed #223f59;
    text-align: left;
}

.premises-service-finances:last-of-type {
    border-bottom: 0px dashed #223f59;
}

.premises-total-finances {
    border-top: 1px solid #223f59;
    border-bottom: 1px solid #223f59;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.year-total-finances {
    margin-top: 10px;
    background: #c8cfd6;
    padding: 10px;
    text-align: center;
}

.premises-renewals {
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #223f59;
    text-align: left;
    margin-bottom: 5px;
}

.premises-renewals:hover {
    background: #EEE;
}

.premises-renewals h4 {
    padding: 0px;
    margin-bottom: 5px;
}

.premises-service-renewals {
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    border: 1px dashed #223f59;
    text-align: left;
    margin-bottom: 5px;
}

.premises-service-renewals:hover {
    background: #DDD;
}

.premises-service-renewals h4 {
    padding: 0px;
}

.service-collection-renewals {
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    border: 1px dotted #223f59;
    font-size: 12px;
    margin-bottom: 5px;
}

.service-collection-renewals:last-of-type {
    margin-bottom: 0px;
}

.service-collection-renewals:hover {
    background: #CCC;
}

.service-collection-renewals h4 {
    padding: 0px;
}

.service-collection-renewals p {
    padding: 0px;
}

.client-page-flex-container {
    display: flex;
    column-gap: 10px;
    flex-flow: row wrap;
}

.client-page-flex-box-left {
    flex: 100 1 600px;
}

.client-page-flex-box-right {
    flex: 1 1 500px;
}

.correspondence:nth-child(even) {
    background: #c8cfd6;
    border-top: 1px dashed #223f59;
    border-left: 1px solid #223f59;
    border-right: 1px solid #223f59;
    padding: 10px;
}

.correspondence:nth-child(odd) {
    background: #dee3e7;
    border-top: 1px dashed #223f59;
    border-left: 1px solid #223f59;
    border-right: 1px solid #223f59;
    padding: 10px;
}

.correspondence:first-child {
    border-top: 1px solid #223f59;
}

.correspondence:last-child {
    border-bottom: 1px solid #223f59;
}

.flag:nth-child(even) {
    background: #c8cfd6;
    border-top: 1px dashed #223f59;
    border-left: 1px solid #223f59;
    border-right: 1px solid #223f59;
    padding: 10px;
}

.flag:nth-child(odd) {
    background: #dee3e7;
    border-top: 1px dashed #223f59;
    border-left: 1px solid #223f59;
    border-right: 1px solid #223f59;
    padding: 10px;
}

.flag:first-child {
    border-top: 1px solid #223f59;
}

.flag:last-child {
    border-bottom: 1px solid #223f59;
}

.flag-default {
    color: green;
}

.flag-low {
    color: yellow;
}

.flag-medium {
    color: orange;
}

.flag-high {
    color: red;
}

.file:nth-child(even) {
    background: #c8cfd6;
    border-top: 1px dashed #223f59;
    border-left: 1px solid #223f59;
    border-right: 1px solid #223f59;
    padding: 10px;
}

.file:nth-child(odd) {
    background: #dee3e7;
    border-top: 1px dashed #223f59;
    border-left: 1px solid #223f59;
    border-right: 1px solid #223f59;
    padding: 10px;
}

.file:first-child {
    border-top: 1px solid #223f59;
}

.file:last-child {
    border-bottom: 1px solid #223f59;
}

.complaint:nth-child(even) {
    background: #c8cfd6;
    border-top: 1px dashed #223f59;
    border-left: 1px solid #223f59;
    border-right: 1px solid #223f59;
    padding: 10px;
}

.complaint:nth-child(odd) {
    background: #dee3e7;
    border-top: 1px dashed #223f59;
    border-left: 1px solid #223f59;
    border-right: 1px solid #223f59;
    padding: 10px;
}

.complaint:first-child {
    border-top: 1px solid #223f59;
}

.complaint:last-child {
    border-bottom: 1px solid #223f59;
}

.complaint-resolved p {
    text-decoration: line-through;
}

.complaint-resolved .resolve-button {
    color: #CCCCCC;
    cursor: default;
}

.iconContainer {
    width: 100%;
    text-align: right;
    background: #dee3e7;
    padding: 0px 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.iconCount {
    position: relative;
    display: inline-block;
    padding: 10px;
    color: #223f59;
    cursor: pointer;
}

.iconCount:last-child {
    padding-right: 0px;
}

.iconCountAccordianHeaderButton {
    float: right;
    margin-left: 10px;
    cursor: pointer;
}

.large-flag-icon {
    font-size: 60px;
    float: left;
    padding-right: 10px;
}

.contractRenewal-premises {
    border: 1px solid #223f59;
    padding: 10px;
    margin-top: 10px;
}

.contractRenewal-premises h2 {
    width: 100%;
    margin: 0px;
    background: #223f59;
    padding: 10px;
    color: #FFF;
    text-align: center;
}

.contractRenewal-collection {
    padding: 10px 0px;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px dashed #223f59;
}

.contractRenewal-total {
    padding: 10px 0px;
    border-bottom: 1px dashed #223f59;
    font-weight: bold;
}

.contractRenewal-collectionText {
    padding: 10px 0px;
    flex-basis: 500px;
    flex-grow: 3;
}

.contractRenewal-collectionButton {
    flex-shrink: 3;
    flex-grow: 0;
}

.contractRenewal-collectionButton .btn {
    width: 100%;
    margin: 0px;
}
.contractRenewal-premises-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.contractRenewal-premises-buttons .btn {
    margin: 0px;
}

.clientInformation-premises {
    border: 1px solid #223f59;
    padding: 10px;
    margin-top: 10px;
}

.clientInformation-premises h2 {
    width: 100%;
    margin: 0px;
    background: #223f59;
    padding: 10px;
    color: #FFF;
    text-align: center;
    margin-bottom: 10px;
}

.clientInformation-premisesPanelFlex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.clientInformation-premisesMetrics {
    border: 1px solid #223f59;
    padding: 10px;
    margin-top: 10px;
}

.clientInformation-premisesMetrics h2 {
    width: 100%;
    margin: 0px;
    background: #223f59;
    padding: 10px;
    color: #FFF;
    text-align: center;
    margin-bottom: 10px;
}

.flexReverse {
    flex-direction: row-reverse;
}

.clientInformation-premisesPanelFlex:last-of-type {
    margin-bottom: 0px;
}

.clientInformation-premisesDetails {
    border: 1px solid #223f59;
    padding: 10px;
    flex-basis: 500px;
    flex-grow: 3;
}

.clientInformation-premisesDocuments {
    border: 1px solid #223f59;
    padding: 10px;
    flex-shrink: 3;
    flex-grow: 1;
}

.documentLinks {
    width: 100%;
    padding: 10px;
    text-align: center;
    border-bottom: 1px dashed #223f59;
    display: block;
}

.documentLinks:hover {
    background: #c8cfd6;
}

.documentLinks:first-of-type {
    border-top: 1px dashed #223f59;
}

.clientInformation-premisesService {
    border: 1px solid #223f59;
    padding: 10px;
    flex-shrink: 3;
    flex-grow: 1;
}
.clientInformation-premisesCalendar {
    border: 1px solid #223f59;
    padding: 10px;
    flex-basis: 800px;
    flex-grow: 3;
}

/* Calendar */
/*
.calendarTitle {
    width: 100%;
    text-align: center;
    color: #223f59;
    font-size: 20px;
    margin: 10px 0px;
}

#calendarTools {
    width: 100%;
    text-align: center;
}

.calendarToolsButton {
    display: inline-block;
    padding: 10px;
    cursor: pointer;
}

#calendar_back_month:hover {
    background: #818c91;
}
#calendar_back_month {
    background: #96A2A8;
    color: #FFFFFF;
    float: left;
    padding: 10px;
    font-weight: bolder;
    cursor: pointer;
}

#calendar_forward_month:hover {
    background: #818c91;
}
#calendar_forward_month {
    background: #96A2A8;
    color: #FFFFFF;
    float: right;
    padding: 10px;
    font-weight: bolder;
    cursor: pointer;
}

#calendar-container {
    display: flex;
    flex-flow: row wrap;
}

.calendar-month {
    flex: 1 1 auto;
    padding: 5px;
}

.calendar-month-inner {
    background: #223f59;
}

.calendar-month-header {
    text-align: center;
    font-weight: bold;
    color: #FFFFFF;
    padding: 10px;
}

table.calendar {
    width: 100%;
    border: 0px;
}

table.calendar tr {
    border: 0px;
    background: none;
}

table.calendar td.calendar-day-head {
    height: 10px;
    //background: #CCCCCC;
    font-weight: bold;
    color: #FFF;
}

table.calendar td {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    text-align: center;
    border: 0px;
    padding: 5px;
    color: #FFF;
}

.calendarPickupDay {
    color: #223f59;
    background: #FFFFFF;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 0px auto;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.calendarPickups {
    visibility: hidden;
    width: 120px;
    background-color: #FFFFFF;
    color: #223f59;
    text-align: center;
    padding: 0px 5px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    border: 1px solid #223f59;
}

.calendarPickupDay:hover .calendarPickups {
    visibility: visible;
}

table.calendar td.calendar-day-np {

}

table.calendar td.calendar-past-day {
    
}

table.calendar td.calendar-day {
    
}

table.calendar td hr {
    border-bottom: 1px solid #c8cfd6;
    margin: 0px;
}

.calendarCollection {
    width: 100%;
    padding: 5px 0px 8px 0px; 
    font-size: 10px;
    line-height: 10px;
    border-bottom: 1px dashed #223f59;
}

.calendarCollection:last-of-type {
    border-bottom: 0px;
}
*/


.selectedText {
    color: green;
}

.selectedBackground {
    background: green;
}

.fadedText {
    color: #c8cfd6;
}

.fadedBackground {
    background: #445c72;
}

/* REPORTS */
.grab_handle {
    padding-left: 5px;
}

.reportBarSimplified {
    box-sizing: border-box;
    width: 100%;
    margin-top: 10px;
    //border: 1px solid #223f59;
}

.percentBarSimplified {
    box-sizing: border-box;
    position: relative;
    float: left;
    height: 100%;
    background: #ff9e9e;
    z-index: 0;
    text-overflow: clip;
    padding: 10px 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-indent: 10px;
    //border-left: 1px solid #223f59;
    color: #FFF;
    font-weight: bold;
}

.percentBarSimplified:first-of-type {
    //border-left: 0px;
}

.reportBar {
    display: flex !important;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
}

.reportBarSection {
    flex: 1 1 auto;
    position: relative;
    padding: 15px 0px;
    border-left: 1px solid #c5c5c5;
}

.percentBar {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    background: #ff9e9e;
    z-index: 0;
}

.greenPercentBar {
    background: #afffb1;
}
.yellowPercentBar {
    background: #fdffaf;
}
.orangePercentBar {
    background: #ffd8af;
}
.redPercentBar {
    background: #ffafaf;
}

.percentBarText {
    z-index: 1;
    position: absolute;
    top: 0px;
    bottom: 0px;
    padding: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    white-space: nowrap;
    width: 100%;
}

.finalFilterDisplay {
    display: block;
    position: relative;
    height: auto;
    margin-bottom: 2px;
    border: 1px solid #c5c5c5;
    background: #f6f6f6;
}

.finalFilterDisplay .reportBarSection:first-of-type {
    border-left: 0px;
}

.reportOutput .ui-icon, .ui-widget-content .ui-icon {
    z-index: 1;
    margin-top: 0px;
}

.reportOutput .ui-state-active {
    background: #dbdbdb;
    color: #223f59;
}

.reportOutput .ui-accordion .ui-accordion-header {
    padding: 0px !important;
}


/* TOOL TIPS */

.tooltip{
    position: relative;
    display: inline;
}
.tooltip:after {
    display: block;
    visibility: hidden;
    position: absolute;
    bottom: 35px;
    left: 0%;
    margin-left: -20px;
    opacity: 0;
    content: attr(tool-tips); /* might also use attr(title) */
    height: auto;
    min-width: 75px;
    max-width: 1000px;
    padding: 5px 8px;
    z-index: 999;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    text-align: center;
    background: rgba(0,0,0,0.85);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.tooltip:before {
    position: absolute;
    visibility: hidden;
    width: 0;
    height: 0;
    left: 50%;
    margin-left: -10px;
    bottom: 29px;
    opacity: 0;
    content: "";
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: rgba(0,0,0,0.85) transparent transparent transparent;
}
.tooltip:hover:after{
    visibility: visible;
    opacity: 1;
    bottom: 35px;
}
.tooltip:hover:before{
    visibility: visible;
    opacity: 1;
    bottom: 29px;
}

.tooltip.animationTips:after, .tooltip.animationTips:before {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.disabledText {
    color: #999999;
}

.greenText {
    color: #19b51b !important;
}

.yellowText {
    color: #b2a318 !important;
}

.orangeText {
    color: #c4871d !important;
}

.redText {
    color: #b71919 !important;
}

/*SELECT OVERIDES*/
.select2-container--default .select2-selection--single {
    border-color: #223f59;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #223f59;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #223f59 transparent transparent transparent;
}

/*COLLECTION STATES*/
.collection-paused {
    color: #5a6f83;
}

.collection-paused .ui-accordion-content {
    color: #5a6f83;
}

.collection-cancelled {
    text-decoration: line-through;
}

.collectionStatusHeader {
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none !important;
    font-size: 25px;
    font-weight: bold;
}

.accordianHeaderButtonDisabled {
    color: #999 !important;
}

.reportBug {
    position: fixed;
    bottom: 151px;
    right: 0px;
    background: #223f59;
    color: #FFFFFF;
    padding: 10px;
    margin-right: -101px;
    transition: margin 500ms, background-color 500ms;
}

.reportBug:hover {
    margin-right: 0px;
    background: #1d364c;
}

.bugIcon {
    padding-right: 10px;
}

/* NEW TIMELINE STUFF */

.timelineContainer {
    width: 100%;
    display: flex;
    flex-flow: row;
    border-left: 1px solid #223f59;
}

.timelineMonth {
    flex: 1 1 100px;
    background: #dee3e7;
    color: #223f59;
    border: 1px solid #223f59;
    border-left: 0px solid #223f59;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
}

.timelineMonthArrow {
    width: 100%;
    text-align: center;
    color: #dee3e7;
}

.timelineMonthHeader {
    width: 100%;
    padding-top: 5px;
    text-align: center;
    text-transform: uppercase;
}

.timelineHeaderIcons {
    width: 100%;
    padding-top: 5px;
    display: flex;
    flex-flow: column;
    color: #CCC;
    justify-content: center;
}

.timelineMonthWrench {
    flex: 1 1 auto;
    text-align: center;
    padding: 5px;
}

.timelineMonthBin {
    flex: 1 1 auto;
    text-align: center;
    padding: 5px;
}

.timelineMonthPound {
    flex: 1 1 auto;
    text-align: center;
    padding: 5px;
}

.timelineSelectedMonth {
    flex: 10000 1 100px;
    cursor: default;
}

.timelineSelectedMonth .timelineHeaderIcons {
    display: none;
}

.timelineCurrentMonth .timelineMonthArrow {
    color: #223f59;
}

.timelines {
    font-size: 12px;
    display: none;
    width: 100%;
    cursor: default;
}

.timelineSelectedMonth .timelines {
    display: inline-table;
}

.timelines th, .timelines td {
    padding: 5px;
}

.timelines tr {
    padding: 5px;
    background: #dee3e7;
}

.timelineDay {
}

.timelineToday {

}

.bounce-anim {
    animation: bounce 1s infinite alternate;
    -webkit-animation: bounce 1s infinite alternate;
}

@keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-5px);
  }
}
@-webkit-keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-5px);
  }
}

.timelineCollectionTitle {
    white-space: nowrap;
}
.timelineIconActive {
    color: green;
}
.timelineIconSelectable {
    cursor: pointer;
}
.timelineIconBlank {
    color: #CCC;
}

.timelineBlankRow {
    background: none !important;
    border: 0px solid #ffffff;
}

.timelineBlankRow th {
    background: none;
    border: 0px solid #ffffff;
    padding: 2px;
}

.timelineBlankRow td {
    background: none;
    border: 0px solid #ffffff;
    padding: 2px;
}

/* GOOGLE CHARTS TOOLTIPS */
.google-visualization-tooltip {
}


/* LOADING ANIMATION */
.loading {
  font-size: 30px;
}

.loading:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4,end) 900ms infinite;      
  animation: ellipsis steps(4,end) 900ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
  width: 0px;
}

@keyframes ellipsis {
  to {
    width: 1.25em;    
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 1.25em;    
  }
}

.filterError {
    background: red !important;
}

.filterWarning {
    background: orange !important;
}



/* LEGEND */
.legend {
    margin: 10px auto;
    flex: 1 1 300px;
}

.legendItem {
    width: 100%;
}

.legendColor {
    width: 10px;
    height: 10px;
    display: inline-block;
}

/* PIE CHART */
.pieChartsContainer {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
}

.pieChartContainer {
    flex: 1 1 350px;
    display: flex;
    flex-flow: row wrap;
}

.pieContainer {
    flex: 100 1 350px;
}

.pie {
    background: #EEE;
    border-radius: 100%;
    height: calc(var(--size, 200) * 1px);
    position: relative;
    width: calc(var(--size, 200) * 1px);
    overflow: hidden;
    margin: 10px auto;
}

.pieSegment {
    --a: calc(var(--over50, 0) * -100%);
    --b: calc((1 + var(--over50, 0)) * 100%);
    --degrees: calc((var(--offset, 0) / 100) * 360);
    height: 100%;
    position: absolute;
    transform: translate(0, -50%) rotate(90deg) rotate(calc(var(--degrees, 0) * 1deg));
    clip-path: polygon(var(--a) var(--a), var(--b) var(--a), var(--b) var(--b), var(--a) var(--b));
    transform-origin: 50% 100%;
    width: 100%;
}
.pieSegment:after,
.pieSegment:before {
    background: var(--bg, #e74c3c);
    content: '';
    height: 100%;
    position: absolute;
    width: 100%;
}

.pieSegment:before {
    --degrees: calc((var(--value, 45) / 100) * 360);
    content: attr(data-label);
    transform: translate(0, 100%) rotate(calc(var(--degrees) * 1deg));
    transform-origin: 50% 0;
    color: #FFF;
    text-indent: 10px;
    font-size: 15px;
}

.pieSegment:after {
    opacity: var(--over50, 0);
}

/* DELETED ITEMS */
.deleted {
    opacity: 0.5;
}

.deleted .deleted {
    opacity: 1;
}

/* EVENTS */
.eventDaySelected {
    cursor: pointer;
}

.eventDayUnselected {
    cursor: pointer;
    color: #939393;
}

/*CALENDAR*/
#calendar_back_month {
	//background: #96A2A8;
	color: #FFFFFF;
	float: left;
	padding: 20px;
	font-size: 30px;
	cursor: pointer;
}

#calendar_back_month:hover {
	color: #818c91;
}

#calendar_forward_month {
	//background: #96A2A8;
	color: #FFFFFF;
	float: right;
	padding: 20px;
	font-size: 30px;
	cursor: pointer;
}

#calendar_forward_month:hover {
	color: #818c91;
}

.calendar-month {
	max-width: 100%;
	background: #223f59;
	margin-bottom: 10px;
}

.calendar-month-inner {
	padding: 20px;
}

.calendar-month-header {
	text-align: center;
	margin-top: -20px;
	padding: 20px 0px;
	line-height: 30px;
	font-size: 20px;
	color: #FFFFFF;
	background: #223f59;
	text-transform: uppercase;
}

table.calendar { 
    width: 100%;
    border: 1px solid #999999;
    table-layout: fixed;
}

table.calendar td { 
    width: 14.3%;
    height: 100px;
    vertical-align: top;
    text-align: center;
    border: 1px solid #999999;
}

table.calendar td.calendar-day-head {
    height: 10px;
    background: #CCCCCC;
}

table.calendar td.calendar-day-np {
    background: #e5e5e5;
}

table.calendar td.calendar-day {
    background: #FFFFFF;
}

table.calendar td.calendar-past-day {
    background: #DDDDDD;
}

table.calendar td.calendar-today {
    background: #ffd800;
}

.selectable {
    cursor: pointer;
}

.calendarInfo {
    max-width: 100%;
    background: #3B91C6;
    padding: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 3px;
    text-overflow: ellipsis;
    color: #FFF;
    font-size: 15px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.2s;
    font-weight:400;
}

.calendarInfo:hover {
    background: #4988AA;
}

.redBackground {
    background: #df5050;
}

.redBackground:hover {
    background: #b53838;
}

.redBackground.hovered {
    background: #b53838;
}

.orangeBackground {
    background: #f2b100;
}

.orangeBackground:hover {
    background: #ce9400;
}
.orangeBackground.hovered {
    background: #ce9400;
}

.yellowBackground {
    background: #efdb00;
}

.yellowBackground:hover {
    background: #d3be04;
}

.yellowBackground.hovered {
    background: #d3be04;
}

.greenBackground {
    background: #479f62;
}

.greenBackground:hover {
    background: #37844e;
}

.greenBackground.hovered {
    background: #37844e;
}

.completed:hover {
    background: #3d764f;
    border:2px solid #3d764f;
}

.completed {
    background: #479f62;
    border:2px solid #479f62;
    
}

.completed:hover {
    background: #3d764f;
    border:2px solid #3d764f;
}

.incomplete {
    background: #df5050;
    border:2px solid #df5050;
}

.incomplete:hover {
    background: #b53838;
    border:2px solid #b53838;
}

.calendar-date-p {
    text-align: center;
	padding-bottom: 10px;
	color: #8e8e8e;
    border-bottom: 1px solid #8e8e8e;
    position: relative;
}

.calendar-date-n {
    text-align: center;
	padding-bottom: 10px;
    border-bottom: 1px solid #223f59;
    position: relative;
}

.calendarBtn {
    position: absolute;
    right: 0px;
}

.eventInfo {
    padding-left: 10px;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eventBlock {
    margin-top: 3px;
    margin-left: -10px;
    margin-right: -10px;
    max-width: calc(100% + 20px);
    height: 50px;
}

.eventBlockStart {
    margin-right: -10px;
    max-width: calc(100% + 10px);
    height: 50px;
}

.eventBlockStart .eventIcon {
    width: calc(100% - 10px);
}

.eventBlockEnd {
    margin-left: -10px;
    max-width: calc(100% + 10px);
    height: 50px;
}

.eventBlockEnd .eventIcon {
    width: calc(100% + 10px);
}

.logicBreakdownIcon {
    position: relative;
}

.logicBreakdownIcon:hover > .logicBreakdown {
    display: block;
}

.logicBreakdown {
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    background: #FFF;
    border: 1px solid #223f59;
    padding: 10px;
    z-index: 10;
    width: max-content;
}

.logicSectionHeader {
    display: block;
    background: #223f59;
    color: #FFF;
    padding: 10px;
    width: 100%;
    text-align: center;
}

.logicSection {
    border: 1px solid #223f59;
    border-left: 10px solid #223f59;
    padding: 10px;
}

.logicLine {
    display: block;
    width: 100%;
}

.noLineBreak {
    white-space: nowrap;
}

.twinStreamingRatioSliderContainer, .twinStreamingRatioLabelContainer, .twinStreamingTargetsContainer, .twinStreamingLeewayContainer {
    display: flex;
    flex-flow: row;
    margin-bottom: 10px;
    align-items: center;
}

.twinStreamingLeewayContainer {
    gap: 10px;
}

.leewayInputContainer {
    display: flex;
    flex-flow: row;
    align-items: center;
}

.containersRatioLabel, .fibersRatioLabel {
    flex: 1 1 auto;
    font-weight: bold;
}

.fibersRatio, .containersRatio {
    flex: 0 0 50px;
}

.twinStreamingRatioSlider {
    flex: 1 1 auto;
}

.targetLitresFibres, .targetLitresContainers {
    flex: 1 1 auto;
}

.fibersRatioLabel, .fibersRatio, .targetLitresFibres {
    text-align: left;
}

.containersRatioLabel, .containersRatio, .targetLitresContainers {
    text-align: right;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -.25em;
    margin-left: -.6em;
}

.cycleContainer, .uniqueCycle {
    padding: 10px 0px;
    border-bottom: 1px solid;
    margin-bottom: 10px;
}

.cycleContainer:last-of-type, .uniqueCycle:last-of-type {
    border-bottom: 0px;
    margin-bottom: 0px;
}

.incompleteCollection {
    background: #ffd0d0 !important;
    color: darkRed !important;
}

.completeCollection {
    background: #e8ffe8 !important;
    color: green !important;
}

.custom-editor-code-view {
	resize: none !important;
	border: 1px solid var(--main-color) !important;
	width: 100% !important;
	height: 500px !important;
	display: none;
	margin-top: 0px !important;
	padding: 10px !important;
	border-top-right-radius: 0px  !important;
	border-top-left-radius: 0px  !important;
}

.custom-editor-html-view {
	border: 1px solid var(--main-color);
	width: 100%;
	height: 500px;
	padding: 10px;
	overflow-y: scroll;
	border-bottom-right-radius: var(--alt-radius);
	border-bottom-left-radius: var(--alt-radius);
	text-align: left;
}
/* RESET CONTENT */
.custom-editor-html-view :is(html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, 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;
	background: none;
}
/* HTML5 display-role reset for older browsers */
.custom-editor-html-view :is(article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section) {
	display: block;
}
.custom-editor-html-view :is(body) {
	line-height: 1;
}
.custom-editor-html-view :is(blockquote, q) {
	quotes: none;
}
.custom-editor-html-view :is(blockquote:before, blockquote:after, q:before, q:after) {
	content: '';
	content: none;
}
.custom-editor-html-view :is(table) {
	border-collapse: collapse;
	border-spacing: 0;
}
/* UNRESET BROWSER DEFAULTS */
.custom-editor-html-view :is(html) {
	box-sizing: content-box;
}

.custom-editor-html-view :is(body) {
	margin: 8px;
	line-height: normal;
}

.custom-editor-html-view :is(p) {
	margin: 1em 0;
}

.custom-editor-html-view :is(blockquote, figure) {
	margin: 1em 40px;
}

.custom-editor-html-view :is(q) {
	quotes: "“" "”" "‘" "’";

&:before {
	 content: open-quote;
 }

&:after {
	 content: close-quote;
 }
}

.custom-editor-html-view :is(hr) {
	border: 1px inset;
	box-sizing: border-box;
	margin: 0.5em auto;
}

.custom-editor-html-view :is(h1) {
	font-size: 2em;
	font-weight: bold;
	margin: 0.67em 0;
}

.custom-editor-html-view :is(h2) {
	font-size: 1.5em;
	font-weight: bold;
	margin: 0.83em 0;
}

.custom-editor-html-view :is(h3) {
	font-size: 1.17em;
	font-weight: bold;
	margin: 1em 0;
}

.custom-editor-html-view :is(h4) {
	font-size: 1.00em;
	font-weight: bold;
	margin: 1.33em 0;
}

.custom-editor-html-view :is(h5) {
	font-size: 0.83em;
	font-weight: bold;
	margin: 1.67em 0;
}

.custom-editor-html-view :is(h6) {
	font-size: 0.67em;
	font-weight: bold;
	margin: 2.33em 0;
}

.custom-editor-html-view :is(article, aside, nav, section) {

h1 {
	font-size: 1.5em;
	font-weight: bold;
	margin: 0.83em 0;
}

article, aside, nav, section {

h1 {
	font-size: 1.17em;
	font-weight: bold;
	margin: 1em 0;
}

article, aside, nav, section {

h1 {
	font-size: 1.00em;
	font-weight: bold;
	margin: 1.33em 0;
}

article, aside, nav, section {

h1 {
	font-size: 0.83em;
	font-weight: bold;
	margin: 1.67em 0;
}

article, aside, nav, section {
	h1 {
		font-size: 0.67em;
		font-weight: bold;
		margin: 2.33em 0;
	}
}
}
}
}
}

.custom-editor-html-view :is(table) {
	border-collapse: separate;
	border-spacing: 2px;
	border-color: gray;
}

.custom-editor-html-view :is(thead, tbody, tfoot, tr) {
	border-color: inherit;
	vertical-align: middle;
}

.custom-editor-html-view :is(td, th) {
	padding: 1px;
	vertical-align: inherit;
}

.custom-editor-html-view :is(th) {
	font-weight: bold
}

.custom-editor-html-view :is(caption) {
	text-align: center;
}

.custom-editor-html-view :is(ul, menu) {
	list-style-type: disc;
	margin: 1em 0;
	padding: 0 0 0 40px;
}

.custom-editor-html-view :is(ol) {
	list-style-type: decimal;
	margin: 1em 0;
	padding: 0 0 0 40px;
}

.custom-editor-html-view :is(ul, ol) {

ul {
	list-style-type: circle;
}

ul, ol {

ul {
	list-style-type: square;
}
}
}

.custom-editor-html-view :is(dd) {
	margin: 0 0 0 40px;
}

.custom-editor-html-view :is(dl) {
	margin: 1em 0;
}

.custom-editor-html-view :is(ul, ol, menu, dl) {

ul, ol, menu, dl {
	margin: 0;
}
}

.custom-editor-html-view :is(legend) {
	padding: 0 2px;
}

.custom-editor-html-view :is(fieldset) {
	border-style: groove;
	border-width: 2px;
	border: 2px groove ThreeDFace;
	margin: 0 2px;
	padding: 0 2px 3px;
	-webkit-padding-before: 0.35em;
	-webkit-padding-start: 0.75em;
	-webkit-padding-end: 0.75em;
	-webkit-padding-after: 0.625em;
}

.custom-editor-html-view :is(ins) {
	background-color: transparent;
	font-weight: inherit;
	text-decoration: underline;
}

.custom-editor-html-view :is(b, strong) {
	font-weight: bold;
}

.custom-editor-html-view :is(i, cite, em, var, address, dfn) {
	font-style: italic;
	font-weight: inherit;
}

.custom-editor-html-view :is(abbr[title], dfn[title]) {
	border-bottom: 0;
	cursor: default;
	font-weight: inherit;
}

.custom-editor-html-view :is(tt, code, kbd, samp) {
	font-family: monospace;
	font-weight: inherit;
}

.custom-editor-html-view :is(pre) {
	font-family: monospace;
	margin: 1em 0;
	white-space: pre;
}

.custom-editor-html-view :is(mark) {
	background-color: yellow;
	color: black;
	font-style: normal;
	font-weight: inherit;
}

.custom-editor-html-view :is(big) {
	font-size: larger;
	font-weight: inherit;
}

.custom-editor-html-view :is(small) {
	font-size: smaller;
	font-weight: inherit;
}

.custom-editor-html-view :is(sub, sup) {
	font-weight: inherit;
	line-height: inherit;
	position: static;
}

.custom-editor-html-view :is(sub) {
	font-size: smaller;
	bottom: 0;
	vertical-align: sub;
}

.custom-editor-html-view :is(sup) {
	font-size: smaller;
	top: 0;
	vertical-align: super;
}

.custom-editor-html-view :is(ruby) {

> rt {
	font-size: 50%;
}
}

.custom-editor-html-view :is(iframe) {
	border: 2px inset;
}

.custom-editor-action-bar {
	background: var(--main-color);
	width: 100%;
	padding: 10px 0px;
	border-top-right-radius: var(--alt-radius);
	border-top-left-radius: var(--alt-radius);
}

.custom-editor-action-bar .btn-group {
	padding: 0px 10px;
	float: left;
}

.custom-editor-action-bar .btn {
	margin: 0px 10px 0px 0px;
	width: auto;
}

/*
.custom-editor-action-bar .btn-group:first-of-type {
    margin-left: 10px;
}
*/

.custom-editor-action-bar .btn-group .btn:last-of-type {
	margin-right: 0px;
}

#code-view-text {
	color: #ffffff;
	float: left;
	padding: 10px;
}

.custom-editor-code-view.mini, .custom-editor-html-view.mini  {
	height: 200px !important;
}

.custom-editor-action-bar.mini {
	padding: 5px 0px;
}

.custom-editor-action-bar.mini .btn-group {
	padding: 0px 5px;
}
/*
.custom-editor-action-bar.mini .btn-group:first-of-type {
    margin-left: 5px;
}
*/
.custom-editor-action-bar.mini .btn, .custom-editor-action-bar.mini #code-view-text {
	font-size: 12px;
	padding: 5px;
	margin-right: 5px;
}