/* General */
html {
	height: 100%;
}
body {
	height: 100%;
    min-width: 100%;
	text-align: justify;
    background-color: #FFFFFF;
}
#wrapper {
    display: table;
	position: relative;
    margin: 20px auto 0px auto;
    box-shadow: 0px 2px 50px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 1600px;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    z-index: 0;
}
header,
main,
footer {
    display: table-row;
	clear: both;
}
#header,
#main,
#footer {
	display: table-cell;
}
#main {
	min-height: 600px;
	border-top: 1px solid #E0E0E0;
}
h1,
h2 {
	text-align: left;
    font-weight: 900;
    margin: 0px 0px 20px 0px;
	font-size: 3em;
}
h1 {
    color: #4242C7;
}
h2 {
    color: #000000;
}
h3,
h4 {
	font-size: 20px;
    color: #4242C7;
    font-weight: 600;
    word-spacing: 0.3em;
}
h3 {
	margin-bottom: 0px;
	text-align: left;
}
h4 {
	margin-bottom: 30px;
}
h5 {
	text-align: left;
	font-size: 26px;
    margin: 0px 0px 20px 0px;
    color: #000000;
}
a:hover {
	transform: scale(1.1, 1.1);
}
p {
	margin-bottom: 25px;
}
p img {
	margin-bottom: 10px;
}
table {
	margin: 0px auto;
}
form {
	text-align: left;
}
input {
	padding: 1px 10px 1px 10px;
}
input::placeholder,
textarea::placeholder {
	color: #BBBBBB;
}
textarea {
	padding: 10px 10px 10px 10px;
}
input[disabled],
textarea[disabled] {
	background-color: #DDDDDD;
	cursor: not-allowed;
}
input[type="checkbox"] {
	height: 22px;
	width: 22px;
	bottom: 0px;
}
fieldset {
	margin-top: 20px;
}
.form-group input[type="checkbox"]:disabled + label>span:first-child::before,
.form-group input[type="checkbox"]:disabled:checked + label>span:first-child::before {
	cursor: not-allowed;
}
button.multiselect {
	margin-top: 20px;
}
.no-label button.multiselect {
	margin-top: 0px;
}
.form-group .multiple-select>label {
	top: -15px;
}
.multiselect-container .checkbox input[type="checkbox"] {
	position: inherit;
}
.multiselect-container a:hover {
	transform: none;
}
.form-group .multiselect-container input.multiselect-search {
	margin-top: 0px;
}
.multiselect-container .input-group-btn,
.multiselect-container .glyphicon {
	font-size: inherit;
}
.center {
	text-align: center;
}
.left {
	text-align: left;
}
.right {
	text-align: right;
}
.clear {
	clear: both;
}
.clearfix:after {
    content: "";
    display: block;
	clear: both;
}
.full-width {
	width: 100%;
}
.inline {
	display: inline-block;
}
body .no-display { /* We use "body" to overwrite the bootstrap.css directives */
	visibility: hidden;
	opacity: 0;
	height: 0px;
	overflow: hidden;
}
.title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}
.col-1 {
	float: left;
	padding: 0px 20px 0px 0px;
}
.col-2 {
    float: right;
	padding: 0px 0px 0px 20px;
	min-width: 400px;
}
.col-1 .form-group > label > img {
	max-width: 250px;
	max-height: 100px;
	height: auto;
}
.col-1 .form-group > select {
	max-width: 250px;
}
.tableFilter.inline {
	margin-left: 15px;
}
#permantentFiltersDialogForm>div {
	min-width: 100px; /* To overwrite other definitions */
	width: 100px;
	padding: 0px 20px 0px 0px;
	float: left;
}
#content .side-by-side .col-1,
#content .side-by-side .col-2 {
	display: table-cell;
	float: none;
}
#content .side-by-side .col-2 {
	padding-left: 100px;
}

@media (max-width: 900px) { /* Vertical tablet or landscape phone */
	#content .side-by-side .col-2 {
		padding-left: 0px;
	}
}
#content .col-1.cols-half,
#content .col-2.cols-half, 
#content .form-group.col-1.cols-half,
#content .form-group.col-2.cols-half {
	display: inline-block;
	float: none;
	width: 50%;
}
#content .col-1.cols-3,
#content .col-2.cols-3,
#content .col-3.cols-3, 
#content .form-group.col-1.cols-3,
#content .form-group.col-2.cols-3,
#content .form-group.col-3.cols-3 {
	display: inline-block;
	float: none;
	width: 33%;
}
.col-1.cols-thin-left {
	width: 230px;
}
.col-2.cols-thin-left {
	max-width: 800px;
	margin-left: 150px;
}
@media (max-width: 900px) { /* Vertical tablet or landscape phone */
	.col-2.cols-thin-left {
		margin-left: 0px;
	}
}
.col-wrapped {
	margin: 0px 20px 0px 20px;
}
.col-wrapper {
	float: none;
	min-width: 50%;
	width: initial;
}
@media (max-width: 900px) { /* Vertical tablet or landscape phone */
	.col-1,
	.col-2 {
		display: block !important;
		float: none !important;
		width: 100% !important;
		margin-top: 10px;
	}
}

/* Forms */
.form-inline {
	display: inline-block;
	margin-left: 10px;
	margin-right: 10px;
}
.form-group {
	position: relative;
	margin-bottom: 35px;
}
#content .form-group.col-1,
#content .form-group.col-2 {
	width: initial;
	max-width: initial;
	min-width: initial;
	float: initial;
}
.form-group select,
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group input:not([type]),
.form-group textarea {
	margin-top: 15px;
	width: 100%;
	box-shadow: none;
	background-color: transparent;
	border: none;
	border-bottom: 2px solid #DBDBDB;
}
.form-group input[type="file"] {
	margin-top: 0px;
}
.form-group input[type="file"] + label {
	margin-top: 0px;
	cursor: pointer;
}
.form-group input[type="checkbox"] {
	display: none;
}
input[type="checkbox"] + label>span:first-child:before {
	display: inline-block;
	border: 3px solid #CCCCCC;
	border-radius: 5px;
	background-color: transparent;
	color: transparent;
	width: 25px;
	height: 25px;
	font-size: 20px;
	font-family: initial;
	box-shadow: none;
	text-align: center;
	vertical-align: middle;
	content: ' ';
	transition: background-color .3s, text-color .3s, border-radius .3s, box-shadow .3s;
}
input[type="checkbox"]:checked + label>span:first-child:before {
	border: none;
	border-radius: 10px;
	background-color: #008000;
	color: #FFFFFF;
	width: 25px;
	height: 25px;
	box-shadow: 0 0 10px #00AA00;
	vertical-align: middle;
	content: '\2713';
	transition: background-color .3s, text-color .3s, border-radius .3s, box-shadow .3s;
}
.inputButton {
	display: none;
}
.inputButton:disabled {
	display: initial;
}
.inputButton:disabled + label {
	display: none;
}
/* Code from https://designmodo.com/3d-css3-button */
input[type=file] + label,input[type=file] + label:active,
.spanButton,
.inputButton + label {
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	background-color: #538fbe;
	padding: 5px 10px;
	border: 1px solid #2d6898;
	background-image: linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -o-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(73,132,180)),
		color-stop(1, rgb(97,155,203))
	);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-shadow: 0px -1px 0px rgba(0,0,0,.5);
	-webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	-moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	-webkit-transition: all .1s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	-webkit-transform: rotateX(20deg);
	cursor: pointer,
}
input[type=file] + label:hover,input[type=file] + label:active,
.spanButton:hover,
.inputButton + label:hover {
	background-image: linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
	background-image: -o-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(79,142,191)),
		color-stop(1, rgb(102,166,214))
	);
}
input[type=file] + label:active,
.spanButton:active,
.inputButton + label:active {
-webkit-box-shadow: 0px 2px 0px #2b638f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
-moz-box-shadow: 0px 2px 0px #2b638f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
box-shadow: 0px 2px 0px #2b638f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	background-image: linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
	background-image: -o-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(88,154,204)),
		color-stop(1, rgb(90,150,199))
	);
	-webkit-transform: translate(0, 4px) rotateX(20deg);  
	-moz-transform: translate(0, 4px);  
	transform: translate(0, 4px);
}
.form-group textarea.form-control {
	box-shadow: none;
	border: none;
	border-bottom: 2px solid #DBDBDB;
	border-radius: 0px;
}
.form-group input[disabled] {
	text-align: center;
}
.form-group .form-control:focus { /* Overwrite bootstrap css */
	border: none;
	border-bottom: 2px solid #4242C7;
    outline: unset;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}
.form-group input:focus,
.form-group input.not-empty,
.form-group textarea:focus,
.form-group textarea.not-empty {
	outline: none;
	border-bottom: 2px solid #333399;
}
.form-group input[disabled].not-empty,
.form-group textarea[disabled].not-empty {
	border: none;
}
.form-group input[disabled],
.form-group textarea[disabled] {
	background-color: #DDDDDD;
	cursor: not-allowed;
}
.form-group input,
.form-group textarea {
	margin-top: 14px; /* Space for the label */
}
.form-group select {
	display: inline-block;
	margin-top: 20px; /* Space for the label */
}
.form-group fieldset>div:first-child {
	margin-top: 30px; /* Space for the fieldset label */
}
.form-group label {
	position: absolute;
	top: 0px;
	white-space: nowrap;
	color: #444444;
	font-weight: 700;
	-webkit-transition: -webkit-transform .3s ease-out, color 0.5s, font-size 1s;
	transition: -webkit-transform .3s ease-out, color 0.5s, font-size 1s;
	transition: transform .3s ease-out, color 0.5s, font-size 1s;
	left: 0px;
	font-size: 14px;
}
form .form-group label {
	white-space: initial;
}
.form-group .multiselect-container label {
	position: inherit;
}
.form-group fieldset {
	padding-top: 20px;
}
fieldset .form-group label {
	left: 	20px;
}
.form-group label.checkbox-inline {
	position: initial;
	margin-bottom: 0px;
}
.form-group label.checkbox-inline span {
	margin-left: 10px;
}
.form-group fieldset + label {
	left: 0px;
	font-size: 20px;
    color: #4242C7;
    font-weight: 600;
    word-spacing: 0.3em;
}
.form-group input:focus + label, 
.form-group input.not-empty + label,
.form-group textarea:focus + label, 
.form-group textarea.not-empty + label,
.form-group select:focus + label, 
.form-group select.not-empty + label {
	-webkit-transform: translateY(-10px);
	        transform: translateY(-10px);
	color: #666A6F;
	font-size: 13px;
}
.form-group input:required + label:after,
.form-group textarea:required + label:after,
.form-group select:required + label:after {
	content: "*";
	color: #FF0000;
	font-weight: bold;
}
.form-group input.not-empty:required + label:after,
.form-group textarea.not-empty:required + label:after,
.form-group select.not-empty:required + label:after {
	content: "";
}
.form-group>small { /* Form help text messages */
	display: block;
	color: #888888;
	font-size: 0.8em;
	margin-top: 10px;
}
/* REMOVE:
.form-group:hover>small {
	position: absolute;
	right: 0px;
	display: block;
	padding: 10px 10px 10px 10px;
	background-color: #F5F5F5;
	color: #444444;
	border: 1px dotted #4242C7;
	border-radius: 5px;
	font-weight: bold;
	z-index: 100;
}
*/
.button,
.bigbutton,
.ui-dialog-buttonpane .ui-button,
.form-group input[type="button"],
.form-group input[type="submit"] {
	display: inline-block;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1.1px;
    text-align: center;
    line-height: 1.2em;
    border: solid #333399 2px;
    padding: 5px 5px 5px 5px;
    background: none;
    background-color: initial;
    color: #333399;
    border-radius: 0px;
    outline: none;
    cursor: pointer;
}
.bigbutton,
.ui-dialog-buttonpane .ui-button,
.form-group input[type="button"],
.form-group input[type="submit"] {
    padding: 18px 40px 18px 40px;
}
.button:hover,
.bigbutton:hover,
.ui-dialog-buttonpane .ui-button:hover,
.form-group input[type="button"]:hover,
.form-group input[type="submit"]:hover {
    border-color: #4242C7;
	background-color: #4242C7;
    color: #FFFFFF;
    text-decoration: none;
    transform: none;
}
.button-highlight,
.bigbutton-highlight,
.form-group input[type="submit"] {
	background-color: #333399;
    color: #FFFFFF;
}
.bigbutton-highlight:focus {
    color: #FFFFFF;
}
input[type="button"].link {
	border: none;
	padding: 3px 3px 3px 3px;
	background-color: transparent;
    color: #767A7F;
    white-space: normal;
}
input[type="button"].link:hover {
	color: initial;
	background-color: initial;
}
a.link.link-color,
input.link.link-color {
	color: #4242C7;
	font-weight: bold;
}
a.link.link-color:hover,
input.link.link-color:hover {
	color: #000000;
	font-weight: bold;
}

/* Dialogs */
.ui-dialog .ui-dialog-content {
	font-size: 1.2em;
}
.ui-dialog .ui-dialog-buttonpane {
	border-width: 0px 0px 0px 0px;
}

/* Header */
#header {
	position: relative;
}
#header>div {
	padding: 10px 5px;
}
#header #logo {
	display: none;
	width: 94px;
	float: left;
}
#languageBar {
	text-align: right;
}
#languageBar a {
	font-size: 0.9em;
    color: #767A7F;
    text-transform: lowercase;
    margin: 0px 10px 0px 10px;
}
.menu a {
	color: #4242C7;
    background-color: inherit;
	margin: 10px 10px 0px 10px;
    padding: 3px 3px 0px 3px;
    display: inline-block;
    text-transform: uppercase;
    border: none;
    font-weight: bold;
}
.menu a:hover {
	color: #4242C7;
    background-color: inherit;
	transform: none;
}
.menu a.menu-highlight {
	text-decoration: underline;
}
#userMenu {
	float: right;
	text-align: right;
}
#mainMenu {
	position: absolute;
	bottom: 0px;
	float: left;
	text-align: left;
}
@media (max-width: 800px) { /* When the menu doesn't fit in the header */
	#mainMenu {
		position: initial;
	}
}
@media (max-width: 580px) { /* When the menu doesn't fit in the header */
	#mainMenu a {
		display: block;
	}
}
#mainMenu .title {
    font-family: 'Montserrat', sans-serif;
	font-size: 2.2em;
    font-weight: 900;
    text-transform: none;
}
#mainMenu .title:hover {
	transform: none;
	text-decoration: none;
}
@media (max-width: 960px) { /* When title + menu don't fit in the header */
	#mainMenu .title {
		display: block;
	}
}

/* Footer */
footer {
	height: 100px;
}
#footer {
	overflow: auto;
    min-height: 100px;
    padding: 20px 20px 20px 20px;
    background-color: #333333;
    font-size: 1em;
    color: #FFFFFF;
}
#footer a {
	color: inherit;
	text-decoration: underline;
}
#footer a:hover {
	font-weight: bold;
}
#footer .col-2 {
	min-width: initial;
}

/* Main */
main {
	height: inherit;
}
.main-column {
	display: table-cell;
	height: inherit;
	vertical-align: top;
}
#main {
	display: table;
	position: relative;
	width: 100%;
}
#privateMenu {
	max-width: 94px; /* Should match logo.width */
	width: 94px; /* Should match logo.width */
	min-width: 94px; /* Should match logo.width */
	border-top: 1px solid #CCCCCC;
	text-align: center;
	background-color: #4242C7;
	vertical-align: top;
	font-size: 0.9em;
}
#privateMenu a {
	display: block;
	margin: 20px 0px 10px 0px;
	color: #FFFFFF;
	text-align: center;
}
#privateMenu a img {
	display: block;
	height: 30px;
	margin: 0px auto 5px auto;
}
#privateMenu a:hover {
	transform: none;
	text-decoration: underline;
}
#privateMenu a:hover img {
	transform: scale(1.3, 1.3);
}
#privateMenu a.menu-highlight {
	position: relative;
	padding-top: 5px;
	background-color: #FAFAFA;
	color: #444444;
}
#privateMenu a.menu-highlight img {
	filter: invert(100%) opacity(0.7);
}
#privateMenu a.menu-highlight:hover img {
	transform: none;
}
@media (min-width: 480px) { /* Landscape phone, tables and desktops */
	#privateMenu .divider {
		margin-top: 50px;
	}
}
@media (max-width: 480px) { /* Vertical phone */
	main {
		display: block;
	}
	.main-column {
		display: block;
	}
	#privateMenu {
		max-width: initial;
		width: initial;
		height: initial;
	}
	#privateMenu a {
		display: inline-block;
		margin-left: 5px;
		margin-right: 5px;
	}
}
#content {
	padding: 80px 20px 80px 130px;
	vertical-align: middle;
    color: #767A7F;
    font-size: 16px;
}
@media (max-width: 480px) { /* Vertical phone */
	#content {
		padding: 10px 10px 10px 10px;
	}
}
#content .col-1 {
	max-width: 400px;
	float: left;
}
#content .col-2 {
	width: calc(100% - 500px);
	max-width: 600px;
	float: left;
}
#content .col-1.cols-thin-left {
	max-width: unset;
}
#content .col-2.cols-thin-left {
	width: unset;
	max-width: 800px;
}

/* Generic */
.treeview span {
	padding: 0px;
}
.ui-dropdownchecklist {
	text-align: left;
}
.no-title .ui-dialog-titlebar {
  display: none;
}
.no-close .ui-dialog-titlebar-close {
  display: none;
}
#recaptcha {
	display: inline-block;
	margin-bottom: 15px;
}
.ui-dialog.finalDialog {
	background-color: #FAFAFA;
	border: 3px solid #CCCCCC;
	border-radius: 10px;
}
.ui-dialog.finalDialog .ui-widget-content {
	color: #333333;
}
.invalid_input {
	color: #FF0000;
	margin-bottom: 20px;
	transition: height 1s, visibility 3s, opacity 2.5s linear;
}
.ui-widget {
	font-family: "Lato", sans-serif;
	font-size: 1em;
}
.ui-widget-header {
	background: none;
	border: none;
	color: #000000;
}
.ui-dialog-titlebar {
	color: #FFFFFF;
}
.ui-dialog-titlebar-close,
.ui-dialog-titlebar-close:hover,
.ui-dialog-titlebar-close:focus,
.ui-dialog-titlebar-close:active {
	color: #FFFFFF;
	border: none;
	background: none;
}
.inlineDoc {
	font-size: 16px;
}
.inlineDoc h1,
.inlineDoc h2,
.inlineDoc h3,
.inlineDoc h4,
.inlineDoc h5,
.inlineDoc h6 {
    font-size: 20px;
    font-weight: normal;
}

/* Public pages */
.page {
	max-width: 600px;
    padding: 30px 30px 30px 30px;
	background-color: rgba(255,255,255,0.8);
}
.page.full-width {
	max-width: 100%;
}
#content .page.full-width .col-1 {
	max-width: initial;
}
#content .page.full-width .col-1 img {
	width: 100%;
}
.page-centered {
	margin: 0px auto;
}
.page-background {
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: -1;
	overflow: hidden;
	height: 100%;
	text-align: right;
}
.page-background.left {
	position: initial;
	top: unset;
	right: unset;
	z-index: unset;
	text-align: left;
}
.page-background img {
	height: 80%;
	margin: 10% 0px 10% 0px;
	/* REMOVE:
	-webkit-mask-image: linear-gradient(to right, transparent 5%, black 95%);
	mask-image: linear-gradient(to right, transparent 5%, black 95%);
	*/
}
.page-background-left {
	right: unset;
	left: 0px;
	text-align: left;
}
.page-background-right {
	right: 0px;
	top: unset;
	display: inline-table;
	bottom: 0px;
	text-align: right;
}
.page-background-left img,
.page-background-right img {
	margin: unset;
}
.page-background-left img {
	height: 100%;
}
.page-background-right img {
	height: initial;
	vertical-align: bottom;
}
@media (max-width: 480px) { /* Vertical phone */
	.page-background,
	.page-background-right,
	.page-background-left {
		display: none;
	}
}

/* Page: Home */
.home h1 {
	font-size: 4em;
}
.home .bigbutton {
	margin-top: 40px;
	margin-right: 30px;
}

/* Page: About */

/* Page: Product */
.product .col-1,
.help .col-1 {
	text-align: left;
}
.product .col-1 ul,
.help .col-1 ul {
	list-style: none;
	padding: 0px 0px 0px 0px;
}
.product .col-1 li,
.help .col-1 li {
	margin: 20px 0px 20px 0px;
	line-height: 150%;
}
.product .col-1 a,
.help .col-1 a {
	color: #444444;
}
.cols-thin-left.col-2 a:hover {
	text-decoration: none;
}

/* Page: Brands */
div.portrait {
	display: inline-block;
	position: relative;
	border: 1px solid #CCCCCC;
	margin: 20px;
	min-width: 150px;
	min-height: 150px;
}
.portrait img {
	position: absolute;
	top: 0px;
	bottom: 0px;
	margin: auto;
	max-width: 150px;
	max-height: 150px;
}
.brands h4 {
	border-bottom: 1px solid #EEEEEE;
	padding-bottom: 10px;
}
.brands div.portrait {
	position: relative;
	border: 1px solid transparent;
}
.brands div.portrait:hover {
	border: 1px solid #CCCCCC;
	border-bottom: none;
}
.brands .portrait img {
	display: block;
}
.brands .portrait>div {
	display: none;
	position: absolute;
	top: 100%;
	left: -1px;
	width: calc(100% + 2px);
	padding: 10px;
	text-align: center;
	border: 1px solid #CCCCCC;
	border-top: none;
	background-color: #FFFFFF;
	z-index: 1;
}	
.brands .portrait>div::before {
	content: "";
	position: absolute;
	top: 0px;
	height: 1px;
	width: 80%;
	left: 10%;
	border-bottom: 1px solid #CCCCCC;
}
.brands .portrait:active>div,
.brands .portrait:hover>div {
	display: block;
}

/* Page: Contact */
.contact  #content h2 {
	margin-bottom: 0px;
}
.contact  #content .col-1 {
	max-width: 570px;
}
.contact  #content .col-2 {
	width: calc(100% - 670px);
}
.contact .col-1 ul {
	list-style: none;
	padding: 0px 0px 0px 10px;
}
.contact .col-1 li {
	margin: 20px 0px 20px 0px;
	color: #4242C7;
	line-height: 150%;
}
.contact .col-1 li span {
	display: inline-block;
	width: 50px;
	text-align: center;
}
.contact .col-1 li a {
	color: #4242C7;
}
@media (max-width: 900px) { /* Vertical tablet or landscape phone */
	.contact .col-2, .contact input {
		text-align: center;
	}
}
#contactColumns .col-1 {
	min-width: 450px;
}
#contactColumns ul {
	margin-top: 50px;
}

/* Page: Register */
#validate-col {
	text-align: center;
}
#user-col {
	margin-right: 20px;
}
#formFooter {
	clear: both;
}
#formFooter button,
#formFooter input {
	margin-left: 20px;
}

/* Page: Login */
#maintenanceDiv {
        text-align: center;
}
#pwdpolicyDiv {
	width: 260px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
.login h4 {
    text-transform: uppercase;
}
#loginFormDivForm>div {
	margin-top: 32px;
}
#rememberWrapper,
#rememberWrapper label,
#forgotBtnWrapper,
#loginBtnWrapper {
	margin-top: 0px;
	color: #767A7F;
}
#forgotBtnWrapper {
	margin: 0px;
}

/* Page: Admin */
.sideList {
	text-align: left;
}
div.dataGridAdd {
	display: block;
	text-align: left;
}

/* Page: Data pages */
#userContent {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
}
#userQueryError {
	position: absolute;
	bottom: 100%;
	left: 0px;
	width: 100%;
	text-align: center;
}
#userQuery {
	display: inline-block;
	margin-right: 20px;
	vertical-align: top;
}
#userQuery .treeviewWrapper {
	min-width: 200px;
}
@media (max-width: 480px) { /* Vertical phone */
	#userQuery {
		text-align: center;
	}
}
#userQuery .treeview,
#userQuery .selectTitle {
	font-weight: bold;
}
#userQuery .treeview {
	box-shadow: 1px 4px 10px 0px #8686B6;
	color: #444444;
}
#userQuery .selectTitle {
	color: #4242C7;
}
#avgPrefDiv {
	width: min-content;
	width: -moz-min-content;
	width: -webkit-min-content;
	text-align: right;
	color: #444444;
}
#userResults {
	flex: 1;
}
#userResults:empty {
	display: none;
}

/* Page: client-data.php */
#userResults>div {
	display: block;
	width: fit-content;
	margin: 0px auto 0px auto;
}
#userResults .editablegridWrapper>h3 {
	text-align: center;
}
.editablegrid input[type="checkbox"]:disabled {
	box-shadow: 0 0 4px #AA0000;
}
.editablegrid input[type="checkbox"]:disabled:checked {
	box-shadow: 0 0 4px #00AA00;
}
.editablegrid .row-highlight td {
	border-top: 3px solid #90CAF9;
	border-bottom: 3px solid #90CAF9;
	border-radius: 3px;
}
.editablegrid .row-highlight td:first-child {
	border-left: 3px solid #90CAF9;
}
.editablegrid .row-highlight td:last-child {
	border-right: 3px solid #90CAF9;
}
.tableExport {
	margin: 10px 10px 10px 10px;
	text-align: center;
}
.tableExport>button {
	display: inline-table;
	margin: 0 10px;
}

/* Page: client-stats.php */
#fieldValuesSelect {
	text-align: left;
}
#tableTitle, #tableMenu, #tableChart, #infoBar, .chartTitle, .chartMenu {
	margin: 5px 2px 5px 2px;
	text-align: center;
}
.chartMenu>div {
	margin-right: 20px;
}
.chartMenu .btn-group>.dropdown-toggle:not(:first-child) {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
.groupChart {
	margin: 50px auto 50px auto;
}
.chartWrapper {
	text-align: center;
}
.chart {
	display: inline-block;
}
.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus, .open > .dropdown-toggle.btn-primary, .open > .dropdown-toggle.btn-primary:focus  {
	background-color: #4242C7;
}
.btn-success {
	color: #FFFFFF;
	border-color: #00AA8A;
	background-color: #00BA9A;
}
.open > .dropdown-toggle.btn-success:hover,
.open > .dropdown-toggle.btn-success:active,
.open > .dropdown-toggle.btn-success:focus,
.btn-success:active:hover,
.open > .dropdown-toggle.btn-success,
.btn-success:hover, .btn-success:active, .btn-success:focus {
	color: #FFFFFF;
	border-color: #00BA9A;
	background-color: #00B090;
}
.btn-info {
	color: #4242C7;
	border-color: #CCCCCC;
	background-color: #FFFFFF;
}
.btn-info:hover, .btn-info:active, .btn-info:focus {
	color: #4242C7;
	border-color: #4242C7;
	background-color: #F5F5F5;
}
.dropdown-menu li:hover {
    cursor: pointer;
}
.google-visualization-tooltip-item {
	text-align: left;
}

/* Page: client-chat.php */
.client-chat .treeviewWrapper {
    float: left;
}

#chatBoxBrands {
	text-align: center;
}

#chatBoxBrands>div {
	display: inline-block;
}

#chatBoxBrands>div>span {
	margin-left: 20px;
}

.ui-widget-content .ui-state-active img {
	margin: inherit;
	border: none;
}

.ui-widget-content>li>span {
	display: block;
}

.ui-widget-content .ui-state-active>img,
.ui-widget-content>li>span>img {
	max-width: 25px;
	max-height: 25px;
	object-fit: contain;
	margin-right: 10px;
}

.ui-widget-content>li>span.messages_unseen {
	color: #4242C7;
	font-weight: bold;
}

.ui-widget-content>li>span.messages_no_conversation {
	color: #AAAAAA;
	font-style: italic;
}

#chatBoxBrands>div>select {
	display: inline-block;
	width: auto;
}

#userResults #chatBoxMessages {
	margin: 10px 10px 10px 10px;
	min-height: 200px;
	max-height: 400px;
    overflow-y: scroll;
    width: auto;
}

#chatBoxMessages .message {
	display: inline-block;
	min-width: 60%;
	margin: 5px 5px 5px 5px;
	padding: 10px 10px 10px 10px;
	border: 1px solid #CCCCCC;
	border-radius: 10px;
}

#chatBoxMessages .message_user {
	float: right;
	text-align: right;
}

#chatBoxMessages .message_other {
	float: left;
	text-align: left;
}

#chatBoxMessages .message_unseen {
	border-color: #4242C7;
	color: #4242C7;
}

#chatBoxMessages .message_user>b {
	float: right;
}

#chatBoxMessages .message_other>b {
	float: left;
}

#chatBoxMessages .message>i {
	font-size: small;
}

#chatBoxMessages .message_user>i {
	float: left;
}

#chatBoxMessages .message_other>i {
	float: right;
}

#userResults #chatBoxEntry {
	width: initial;
	text-align: right;
}

#chatBoxInput {
	height: 60px;
	width: 100%;
}

#chatBoxInput.send_progress {
    background-image: url("../img/loading.gif");
    background-size: auto 80%;
    background-position: center center;
    background-repeat: no-repeat;
}

/* EditableGrid specifics */
.editablegridWrapper {
	display: inline-block;
	min-width: 300px;
}
.editablegrid {
	width: initial;
	margin-top: 10px;
	border-collapse: collapse;
	border: 1px solid #CCCCBB;
	color: #333333;
	box-shadow: 1px 4px 10px 0px #888888;
}
.editablegrid th {
	padding: 5px;
	border: 1px solid #99A3A4;
	background: #D5D8DC;
	font-weight: bold;
	text-align: center;
}
.editablegrid td {
	padding: 5px;
	border: 1px solid #99A3A4;
	min-width: 130px;
}
.editablegrid td.editablegrid-title {
	background: #D5D8DC;
	font-weight: bold;
	min-width: auto;
	text-align: left;
}
.editablegrid td {
	text-align: center;
	vertical-align: middle;
}
.editablegrid td.number {
	text-align: right;
}
.editablegrid td.editablegrid-help {
	background: #F0F0F0;
}
.editablegrid td.editablegrid-edit,
.editablegrid td.editablegrid-delete,
.editablegrid td.editablegrid-process,
.editablegrid td.editablegrid-weeks,
.editablegrid td.editablegrid-confirm,
.editablegrid td.editablegrid-has_all_docs,
.editablegrid td.editablegrid-locks {
	background: #EBEBEB;
	text-align: center;
	min-width: auto;
}
.editablegrid td.editablegrid-closed,
.editablegrid td.editablegrid-readOnly,
.editablegrid td.editablegrid-locked {
	background: #F0F0F0;
	pointer-events: none;
}
.editablegrid td.editablegrid-closed {
	font-style: italic;
	pointer-events: none;
}
.editablegrid td.editablegrid-total {
	background: #ECF0F1;
	font-weight: bold;
	pointer-events: none;
}
.editablegrid td.editablegrid-saving {
	background: #DDDDDD;
	pointer-events: none;
}
.editablegrid td.invalid,
.editablegrid input.invalid {
	background: #FF0000;
	color: #FDFDFD;
}
.editablegrid td.warning,
.editablegrid input.warning {
	background: #FFFF00;
	color: #000000;
}
.editablegrid td .ui-dropdownchecklist-dropcontainer {
	overflow-y: auto;
}
.editablegrid input {
	border: none;
	outline: none;
}
.editablegrid-paginator {
	margin-top: 5px;
	font-size: 1.3em;
	text-align: center;
}
.editablegrid-paginator select {
	margin: initial;
	width: initial;
	font-size: 0.8em;
}

/* client-blog.php */
.portrait-caption {
	text-align: left;
}
.portrait-entry {
	text-align: center;
}
.portrait-entry img {
	max-width: 500px;
	max-height: 500px;
}