/* Make the dialog titles white */

md-dialog md-toolbar.md-dialog-toolbar {
	background-color: #ffffff;
	color: rgb(0, 0, 0);
}

md-dialog md-toolbar.md-dialog-toolbar md-icon {
	color: rgb(0, 0, 0);
}

/* Definition lists for field data */

dl.field-data {
	padding: 0.5em;
	line-height: 1.4em
}

dl.field-data dt {
	float: left;
	clear: left;
	width: 100px;
	text-align: right;
	font-weight: bold;
}

dl.field-data dt:after {
	content: ":";
}

dl.field-data dd {
	padding: 0 0 0.5em 0;
	float: left;
	text-align: left;
}

md-sidenav.sidenav-tools {
	max-width: 240px;
}

md-sidenav.sidenav-tools md-list md-list-item md-icon {
	color: #fff;
}

md-sidenav.sidenav-tools md-list md-list-item a {
	display: block;
	padding: 20px 15px;
	width: 100%;
	color: #fff;
	font-size: 15px;
}

md-sidenav.sidenav-tools md-list md-list-item.active {
	background-color: #ddd;
}

header {
	background-color: #1F2532;
	z-index: 2;
}

header nav {
	height: 64px;
}

header md-menu, header md-icon {
	color: #fff;
}

header span, header img {
	color: #fff;
	padding-right: 15px;
}

.envirocoms-link {
	font-size: 1.1rem;
}

.main-logo {
	height: 30px;
	width: auto;
	padding-left: 15px;
}

.org-logo {
	width: 70px;
	height: 70px;
	margin-top: 50px;
}

.org-logo-circular {
	border-radius: 70px;
}

div.workspace-logo-container {
	margin-left: 70px;
	margin-top: 10px;
	margin-bottom: 10px;
}

div.workspace-logo-surround {
	width: 100px;
	height: 100px;
}

div.workspace-logo-surround-circular {
	border-radius: 105px;
}

img.workspace-logo {
	margin-top: 15px;
	margin-left: 15px;
	width: 70px;
	height: 70px;
}

img.workspace-logo-circular {
	border-radius: 75px;
}

div.workspace-logo-background {
	background-color: rgb(57, 74, 89);
	width: 100%;
	height: 100%;
}

.float-fab {
	position: absolute;
	display: inline-block;
	right: 60px;
	top: 30px;
}

main {
	overflow-y: auto;
}

/*Make the Font Awesome icons work in the md-icons*/

md-icon.fa {
	font-size: 24px;
}

.align-right, table.md-table td.md-cell.align-right, table.md-table th.align-right {
	text-align: right;
}

table.md-table td.md-cell.align-right, table.md-table th.align-right {
	padding-right: 24px;
}

/* This is based on md-subhead except styled to be more like
form labels so it can be used to label composite or repeating groups
like a date and a time picker
*/

.ec-formhead {
	color: rgba(0, 0, 0, 0.65);
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
}

fieldset {
	border: 1px solid #c0c0c0;
	padding: 0.35em 0.625em 0.75em;
}

ec-content-frame {
	background: white;
	margin: 8px;
	display: block;
}

.displayonly-menu-item {
	font-weight: 500;
	font-size: 14px;
}

.mdp-datepicker:not(.portrait) .mdp-datepicker-date-wrapper>span {
	width: 110px;
}

a {
	text-decoration: none;
}

ul {
	padding: 0px;
}

.hide-validation-error .md-errors-spacer {
	display: none;
}

/* EnviroCOMS mobile-specific rules */

@media only screen and (max-width: 600px) {
	.login-container.flex-50, .login-container.layout-row>.flex-50, .flex-50, .layout-row>.flex-50, .flex-30, .layout-column>.flex-30, .layout-row>.flex-30 {
		max-width: 90% !important;
		margin-left: 5%!important;
		margin-top: 10%!important;
	}
	#footerText {
		font-size: 14px !important;
	}
	.no-dashboard {
		width: 95% !important;
	}
	.no-dashboard-img {
		width: 95% !important;
	}
	.main-logo {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
	.md-button {
		min-width: 22px !important;
	}
	md-dialog.md-transition-in, md-dialog.md-transition-out {
		width: 90% !important;
		max-width: 90% !important;
		max-height: 90%;
	}
	md-dialog md-toolbar.md-dialog-toolbar {
		padding-top: 20px !important;
	}
	.widget-container {
		width: 100% !important;
	}
	#crosstabDiv {
		display: block;
		clear: both;
		flex: none;
		height: 360px;
	}

	md-toolbar.md-table-toolbar .md-toolbar-tools {
		display: block;
		clear: both;
		flex: none;
		width: 90%;
		max-width: 90%;
	}

	.flex-10, .layout-column>.flex-10, .layout-row>.flex-10,.ec-toolbar-with-date, .flex-40, .layout-column>.flex-40, .layout-row>.flex-40, .flex-45, .layout-column>.flex-45, .layout-row>.flex-45, .flex-20, .layout-column>.flex-20, .layout-row>.flex-20, .flex-25, .layout-column>.flex-25, .layout-row>.flex-25{
		display: block;
		clear: both;
		flex: none;
		width: 90%;
		max-width: 90%;
	}
	.flex-30, .layout-column>.flex-30, .layout-row>.flex-30  {
		width: 90%;
		max-width: 90%;
	}

	.md-icon-float {
		width: 80%;
		max-width: 80%;
	}

	.md-button {
		height:60px !important;
		/*z-index:99 !important;*/
		float:right !important;
		margin-bottom:10px !important;
	}

	img {
		max-width:100%;
	}

	#combineDiv {
		float:right !important;
	}

	div.ec-toolbar-with-date {
		height:auto !important;
	}

	.openSearchModalButton {
		float:none !important;
	}

	.md-button.md-default-theme.md-primary.md-fab, .md-button.md-primary.md-fab, .md-button.md-default-theme.md-primary.md-raised, .md-button.md-primary.md-raised, .md-button.md-icon-button {
		min-width:60px !important;
	}

	.md-title {
		margin-top:20px !important;
	}
}