.ui-widget-content-a
{
	background-image: none;
	color: White;
	background-color: rgb(78,115,127);
	border: none;
}
.ui-widget-content-a .Month,.ui-widget-content-a .StandardFilters,.ui-widget-content-a .CustomFilters
{
	padding-left:5px;
}

/* Header */
.DropDownFilter,
.DropDownFilter .DatePickerButtonGroup
{
	background-color: rgb(78,115,127);
}
.DatePickerButton .ui-button-text { padding: 4px; }

.ui-dialog .ui-dialog-titlebar-close
{
	height: 16px;
	width: 16px;
}

.PortalMenuText
{
	color: white;
}

#UserActivityFilters fieldset legend { color: White; }

/* Logon */
html
{
	height: 100%;
}

/* Do not override the Mobile Css rules */
@media only screen and (min-device-width: 480px)
{
	#logon.LogonPanel
	{
		position: static;
		margin-left: auto;
		margin-right: auto;
		width: 300px;
		font-size: 1.5em;
	}

	.Logon #PasswordWrapper
	{
		width: 100%;
		position: relative;
		top: 290px;
		padding-top: 30px;
		height: 300px;
	}

	.Logon #main
	{
		margin: 0px;
	}

	#logon .buttons
	{
		right: inherit;
		width: 100%;
		margin: 0px;
	}

	#logon.LogonPanel input
	{
		border: 1px solid rgba(0,0,0,0.1);
		height: 40px;
		border-radius: 3px;
		text-align: center;
		color: rgb(34, 80, 95);
		-webkit-text-fill-color:  rgb(34, 80, 95);
	}

	#logon #GoToSingleSignOn
	{
		width: 302px;
		margin-top: 30px;
	}

	#logon.LogonPanel input[type='text'],
	#logon.LogonPanel input[type='password']
	{
		height: 34px;
		margin: 0px;
		padding: 0px;
		padding-top: 3px;
		padding-bottom: 3px;
		margin-bottom: 15px;
		width: 100%;
		background-color: rgb(255,255,255) !important;
		box-shadow: 0 0 0px 1000px white inset;
	}

	#logon.LogonPanel .buttons input[type='submit']
	{
		width: 101%;
		text-transform: uppercase;
		background-image: none;
		background-color: white;
		color: rgb(50,50,50);
	}

	#logon.LogonPanel #Login
	{
		width: 101%;
		text-transform: uppercase;
	}

	input:-webkit-autofill
	{
		box-shadow: 0 0 0px 1000px white inset;
	}
}

body { background: white; }

.KoTable
{
	border-collapse:separate;
	border:solid rgb(78,115,127) 2px;
	border-radius:1px;
	width: 100%;
}

.KoTable th
{
	color: white;
}

/* DataTables */
.TFPPanel,
table.TFPTable
{
	background-color: rgb(78,115,127);
}

/* Side border colors between header an and footer */
.dataTables_wrapper .ui-widget-header,
.dataTables_wrapper .dataTables_scrollHeadInner
{
	background-image: none;
	background-color: rgb(78,115,127);
}

.paginate_disabled_previous,
.paginate_enabled_previous,
.paginate_disabled_next,
.paginate_enabled_next
{
	color: white !important;
}

/* Icon colors */
.TFPTable td .ButtonList li .ui-icon { background-image: url(../Content/images/ui-icons_22505F_256x240.png); }

.ui-icon.Disabled,
.TFPTable td .ButtonList li.Disabled .ui-icon
{ background-image: url(../Areas/Core/Content/Images/ui-icons_cccccc_256x240.png); }

thead.DataTableThead.ui-widget-header, .dataTable.ui-widget-content { border: none; }

button, .ui-button span, input[type='submit'], input[type='button'] { font-size: 0.9em; }

/* Custom fonts */
@font-face
{
	font-family: 'DinNextRegular';
	src: url('../Content/Fonts/DINNextLTPro-Regular.eot');
	src: url('../Content/Fonts/DINNextLTPro-Regular.eot?#iefix') format('embedded-opentype'),
		url('../Content/Fonts/DINNextLTPro-Regular.woff2') format('woff2'),
		url('../Content/Fonts/DINNextLTPro-Regular.woff') format('woff'),
		url('../Content/Fonts/DINNextLTPro-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face
{
	font-family: 'DinNextBold';
	src: url('../Content/Fonts/DINNextLTPro-Bold.eot');
	src: url('../Content/Fonts/DINNextLTPro-Bold.eot?#iefix') format('embedded-opentype'),
		url('../Content/Fonts/DINNextLTPro-Bold.woff2') format('woff2'),
		url('../Content/Fonts/DINNextLTPro-Bold.woff') format('woff'),
		url('../Content/Fonts/DINNextLTPro-Bold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* Use bold font instead of making the regular font bold. Bold makes regular look smudgy */
table thead th,
table td.bold,
.ui-toolbar .dataTables_info .Bold,
.TFPTable thead th,
.TFPTable tfoot tr td.GuaranteedHours,
.outerscrolltable thead th,
.outerscrolltable2 div.SchedulingGroup,
h1,
H2,
H3,
H4,
.h4,
.PortalGridMenuText,
.PortalMenuText,
.MenuItem,
td.eventsOnTrip,
td.driverAssigned,
#ordersPanel #unresolvedTable td.releaseOveraccounted,
#ordersPanel #unresolvedTable td.releaseUnaccounted,
#terminalCalendarDetailsPanel .terminalCalendarDetailsTitle,
div#NotificationTable table td,
#GreenergyCustomerWelcomeScreen span.NotificationDate,
.ui-widget-header,
b,
caption,
.ui-toolbar .LengthWrapper ul li.ui-selected,
.VerticalLabelValue .Head,
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current,
#viewDeleteDetails div.AssociatedRolesMessage,
.DashboardButtons li,
.KOLabelTable .KOLabelText,
.KOLabelTable .KOLabelSubText,
.KOLabelTable .KOLabelHeader,
#dropboxDiv
{
	font-family: 'DinNextBold';
	font-weight: normal;
}

#title { background-color: rgb(34,80,95); }

.ui-widget-footer { background-color: rgb(64,69,69) !important; }

#menucontainer #menu .submenu { border: 1px solid white; }

.IconWrapper { height: 20px; }

.TripPatternSegmentField {
	display: inline-flex;
	padding-bottom: 2px;
	padding-top: 2px;
}

.TripPatternSegmentField .Value {
	width: 180px;
}.IconWrapper { height: 20px; }

.TrTransporters {
    display: none;
}

.TrDistricts {
    display: none;
}

.VehiclesWithTripTodayCheckboxCell {
    text-align: right;
}

.NoDeviations {
    color: green;
}
.HasDeviations{ color:red;}

.UserSettingsDialog label {
	width:100px;
}
.UserSettingsDialog .Value select {
	width:175px;
}

#PluginDialog .Header
{
	width: 220px;
}

#PluginDialog .Value input
{
	width: 300px;
}

/* Removed the 'Finish Trip' tab in the MW menu */
li.AdvanceTripStatusLi.InProgress
{ 
display: none !important;	
}