/* Toyota Fleet Management (brand 163781) -- AUDEV-195
   Brand guidelines mandate Toyota Type and explicitly forbid substituting any
   Google font, typekit or other system typeface; Arial is the sole permitted
   fallback. Faces are brand-scoped under /assets/fonts/toyota/ so no other
   tenant's brand CSS can collide with them. Italics are not part of the
   Toyota Type package, so no italic faces are declared. */
/* Weights follow website spec 9.3 (p57), which is the authority for digital and
   differs from the print styles on p24: body copy is Regular, and Book is the
   lighter face reserved for disclaimers. Mapping Regular to 400 makes it the
   default body weight; Book sits at 300. */
@font-face {
	font-family: 'Toyota Type';
	src: url('/assets/fonts/toyota/ToyotaType-Book.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Toyota Type';
	src: url('/assets/fonts/toyota/ToyotaType-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Toyota Type';
	src: url('/assets/fonts/toyota/ToyotaType-Semibold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Toyota Type';
	src: url('/assets/fonts/toyota/ToyotaType-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
body {
	font-family: 'Toyota Type', Arial, sans-serif;
}
/****************/
/* login styles */
/****************/
#login {
	background-color: #FFF;
}
#login .login-form {
	border: 2px solid #EFEFEF;
}
#login div.login-version {
	color: #000;
}
#login div.login-version a {
	color: #2B73EE;
}


/* --- AUDEV-195: login page, TFM brand guidelines -------------------------
   Everything here is scoped to #login so it cannot reach the rest of the
   console, and it lives in the brand file so it cannot reach another tenant. */
#login .login-form .title {
	font-weight: 600;
	color: #002849;
}

/* Logo exclusion zone, guidelines p18: clear space equals the height of the 'T'
   in TOYOTA on every side. Measured off toyota_login.png, that cap height is 47
   of the lockup's 120px, so at the 60px render height the shared CSS uses
   (app-main.css:481) the zone is 24px. The logo was flush against the card's
   left edge with 2px beneath it, so "MANAGEMENT" collided with the top of the
   hero image (AUWEB-209 QA). Left and bottom only, which is what QA asked for.
   Bottom is 20px, not 24px: the emblem's ink runs to the last row of the PNG
   but "MANAGEMENT" sits 8 rows (4px rendered) above it, and QA measures the
   zone from the wordmark baseline, so a 24px margin read as 28px of spacing
   under the logo (AUWEB-209 QA round 2). 20px puts the hero exactly one cap
   height under the wordmark. Bootstrap's vertical-align: middle on the img
   makes the line box exactly the image's margin box, so no strut gap is added
   below it on any browser. */
#login .login-logo img {
	margin-left: 24px;
	margin-bottom: 20px;
}
#login a {
	color: #002849;
}

/* The Procon terms sentence sits in an unclassed .text-center div below the
   form (signin.php:145), so the navy above made it read as body copy. Targeted
   by href to avoid adding a class to a view every brand shares. QA asked for
   blue; the website palette on p55 has no mid-blue, its only Blue being the
   #002849 this already was, so the web Teal is used instead. That is #009E99,
   not the #00B6B0 master teal on p21, and it is already the accent in this file. */
#login a[href="/site/SSA"] {
	color: #009E99;
}

/* The hero div and its inline `background-size: cover` live in this brand's
   BrandInfo.loginMessage record (API-side), which we cannot edit from here.
   No override is needed: the well is a 390x390 square (app-main.css:484-501,
   a 400x400 box inset 5px) and toyota_login_bg.png is supplied pre-cropped to
   exactly 390x390, so cover and contain resolve identically. Any replacement
   hero must also be square, or it will crop under the inline cover. */
#login .login-message {
	background-color: #fff;
}

/* CTA spec from the guidelines: 44px high, 22px radius, 24px side padding,
   uppercase Toyota Type Semibold 14px, 2px tracking. The guidelines state the
   primary CTA's hover state IS the secondary CTA, so the two invert. */
#login .login-form .btn-primary {
	height: 44px;
	padding: 0 24px;
	border-radius: 22px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}
#login .login-form .btn-primary {
	background-color: #000;
	border-color: #000;
	color: #fff;
}
#login .login-form .btn-primary:hover,
#login .login-form .btn-primary:focus,
#login .login-form .btn-primary:active {
	background-color: #fff;
	border-color: #002849;
	color: #000;
}
/* app-main.css:28 repaints EVERY focused button red with !important and drops a
   1px grey border on it, and .btn:focus does the same to the SSO anchor. Inside
   the login card that fires the instant a CTA is clicked, so the approved states
   below never actually reached the screen. Overridden here rather than in the
   shared file, where it would repaint every brand in the estate. */
#login .login-form .btn-primary:focus {
	background-color: #fff !important;
	border: 1px solid #002849;
}

/* While a CTA is posting, app-signin.js unhides the spinner <img> inside it and
   leaves the pointer sitting on the button, so the button read as hovered and
   the label went black mid-submit (AUWEB-209 QA). Pin the primary colours for
   the duration of the spinner. Placed after the rules above and matched with
   :has() so it outranks hover, focus and active on every CTA that carries a
   loader: Sign In, Send Email, Select, Confirm and Next. */
#login .login-form .btn-primary:has(img:not(.hidden)),
#login .login-form .btn-primary:has(img:not(.hidden)):hover,
#login .login-form .btn-primary:has(img:not(.hidden)):focus,
#login .login-form .btn-primary:has(img:not(.hidden)):active {
	background-color: #000 !important;
	border: 1px solid #000;
	color: #fff;
}

/* SSO reads as text, not a button. QA marked the capsule on the auth page and
   asked for it back as text so it matches the "Forgot Password?" link directly
   above it (AUWEB-209). This is a deliberate departure from p60, which defines
   this as the Secondary CTA capsule, made on the tester's instruction. The
   shared view still carries Bootstrap's .btn .btn-default .btn-xl on the anchor
   (signin.php:107, auth/index.php:116), so each button affordance has to be
   unwound by hand, and app-main.css:28 still tries to paint it on focus. */
#login .login-form .sso_link_button {
	display: inline;
	height: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	font-weight: 400;
	vertical-align: baseline;
}
#login .login-form .sso_link_button .ssoText {
	color: #002849;
}
#login .login-form .sso_link_button:hover,
#login .login-form .sso_link_button:focus,
#login .login-form .sso_link_button:active {
	background: none !important;
	border: 0;
	box-shadow: none;
}
#login .login-form .sso_link_button:hover .ssoText,
#login .login-form .sso_link_button:focus .ssoText {
	color: #002849;
	text-decoration: underline;
}

/* The Send Email row is built as an empty col-xs-3 beside a col-xs-9
   (signin.php:129-137), unlike the Sign In row above it, which is a centred
   col-xs-12. So the CTA sat off the form's axis and pushed the Return link hard
   against the card edge, where it broke mid-phrase and stranded "In" on a line
   of its own (AUWEB-209 QA). Centre the pair on the same axis as Sign In and
   give the link its own line, so the wrap cannot come back at any width.
   The :has() rules degrade safely: if they are dropped, the link still blocks. */
#login .login-form .row:has(.forgot_mail_send) {
	text-align: center;
}
#login .login-form .row:has(.forgot_mail_send) .col-xs-3 {
	display: none;
}
#login .login-form .row:has(.forgot_mail_send) .col-xs-9 {
	width: 100%;
	/* The view leaves an &nbsp; between the button and the link (signin.php:135).
	   With the link blocked, that space still occupies the button's line and
	   shifted the capsule 3.2px left of the link below it. Zeroing the inherited
	   size collapses the stray space; both children set their own size back. */
	font-size: 0;
}
#login .login-form .cancel_mail_send {
	display: block;
	margin-top: 14px;
	font-size: 13px;
}

/***************************/
/*       menu styles       */
/***************************/
.navbar-default,.navbar .navbar-collapse, .hamburger-menu.navbar-inverse {
	background-color: #002849;
}
.brandLogoPDF { 
	background-color: #002849 !important;
}
.navbar-default .navbar-nav>li>a {
	color: white;
	text-transform: none;
	background-color: #002849;
	z-index: 999;
}
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>li>a:hover {
	background-color: #009E99;
	color: #fff;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: rgb(51, 51, 51);
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:focus,
.navbar-default .navbar-nav>.open>a:hover {
	background-color: #009E99;
	color: #fff;
}
#navbarDesk .navbar-nav>li>.dropdown-menu,
.navbar-nav .dropdown-submenu>.dropdown-menu {
	background-color: #002849;
}
#navbarDesk .dropdown-menu>li>a:focus,
#navbarDesk .dropdown-menu>li>a:hover {
	background-color: #009E99;
}
#navbarDesk  .dropdown-menu>li>a {
	color: #fff;
}
#navbarDesk  .dropdown-menu>li>a:focus {
	background-color: #009E99;
}
#navbarDesk .dropdown-menu {
	min-width: 190px;
	padding: 0;
}
#navbarDesk .dropdown-submenu .dropdown-menu {
	margin-top: 0px;
}
#navbarDesk .dropdown-submenu .dropdown-menu a {
	min-height: 36px;
}
/***************************/
/*    page layout styles   */
/***************************/
.display-header, .panel .panel-heading {
	background-color: #193f58;

}
.dashboardHeaderPDF {
	background-color: #193f58 !important;
}
.display-header .display-title.display-title, .panel .panel-heading {
	color: #fff;
}

/****************/
/* table styles */
/****************/
/*
table.dataTable {
	border-top-color: #a4bcc2;
	border-top-width: 4px;
	border-top-style: solid;
}
table.dataTable>thead>tr {
	background-color: #D9E1E2;
	color: #768692;
}
table.dataTable>tbody>tr {
	color: #768692;
}
table.dataTable>tbody>tr:nth-of-type(odd) {
	background-color: #ecf0f0;
}
table.dataTable>tbody>tr:nth-of-type(even) {
	background-color: #E2E8E9;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
	background-color: #279989;
}
*/

/***************************/
/*      Modal Styles       */
/***************************/
.modal .modal-content {
	border-radius: 0;
}
.modal .modal-header {
	background-color: #fff;
	color: #333;

}
.modal .modal-header h4 {
	text-align: left;
	font-size: 2rem;
}
.modal .modal-body {
	background-color: #fff;
}
.close {
	opacity: 1;
}

/***************/
/* list styles */
/***************/


/***************************/
/*   html control styles   */
/***************************/
.toggle.btn-primary,
.toggle.btn-success,
.toggle .btn-success,
.toggle-group .btn-primary,
.display-header .btn-default,
button.btn.btn-primary {
	background-color: #5DADE2;
	border-color: #5DADE2;
	border-radius: 2px;
	color: #fff;

}
.toggle.btn-success:active,
.toggle .btn-success:active,
.toggle-group .btn-primary:active,
.display-header .btn-default.active.
.display-header .btn-default:active,
button.btn.btn-primary.active,
button.btn.btn-primary:active  {
	background-color: #2993D9;
	border-color: #2993D9;
	color: #fff;
}
.toggle.btn-success:hover,
.toggle .btn-success:hover,
.toggle.btn-primary:hover,
.toggle-group .btn-primary:hover,
.display-header .btn-default:hover,
.display-header .btn-default:focus,  
button.btn.btn-primary:hover,
button.btn.btn-primary:focus {
	background-color: #88C3EA;
	border-color: #88C3EA;
	color: #fff;
}
button.btn.btn-primary:disabled,
button.btn.btn-primary:disabled:hover  {
	background-color: #AED6F0;
	border-color: #AED6F0;
	color: #fff;
}
.btn-green {
	background-color: #1ABC9C !important;
	border-color: #1ABC9C !important;
	color: #fff;
	border-radius: 2px;
}
.btn-green.btn-danger:active:hover,
.btn-green.btn-danger:active:focus,
.btn-green.active,
.btn-green:active {
	border-color: #13866F !important;
	background-color: #13866F !important;
}
.btn-green:hover,
.btn-green:focus {
	border-color: #28E1BD !important;
	background-color: #28E1BD !important;
	color: #fff;
}
.btn-green:disabled,
.btn-green:disabled:hover  {
	background-color: #8CDDCD !important;
	border-color: #8CDDCD !important;
}
.display-header .display-search .input-group-addon,
.display-header .display-search input.form-control {
	border-color: #193f58 !important;
}

.toolbar-layout .btn-default {
	border-color: #5DADE2;
	background: #fff;
}
.toolbar-layout .btn-default:hover {
	background-color: #88C3EA;
	border-color: #88C3EA;
}
.toolbar-layout .btn-default:hover img,
.toolbar-layout .btn-default.active img,
.toolbar-layout .btn-default:focus img {
	-webkit-filter: brightness(0) invert(1);
	filter: brightness(0) invert(1);
}
.toolbar-layout .btn-default.active,
.toolbar-layout .btn-default:focus {
	background-color: #2993D9;
	border-color: #2993D9;
}
.display-header .btn-default,
.display-header .toolbar-layout .btn-default,
.display-header .toolbar-layout .btn-default:hover,
.display-header .toolbar-layout .btn-default.active,
.display-header .toolbar-layout .btn-default:focus,
.toolbar-autorefresh .btn-success,
.toolbar-autorefresh .btn-danger,
.toolbar-view .input-group .btn-default,
.toolbar-status .btn-default,
.toolbar-autorefresh .btn-success:hover,
.toolbar-autorefresh .btn-danger:hover,
.toolbar-view .input-group .btn-default:hover,
.toolbar-status .btn-default:hover,
.toolbar-autorefresh .btn-success:active,
.toolbar-autorefresh .btn-danger:active,
.toolbar-view .input-group .btn-default:active, 
.toolbar-status .btn-default.active   {
	border-color: #193f58 !important;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
	background-color: #2c8ade;
	border-color: #2c8ade;
}
.pagination>li>a, .pagination>li>span {
	color: #2c8ade;
}

a {
	color: #1896DC;
}
	input.form-control[type="text"],
	input.form-control[type="email"],
	input.form-control[type="password"],
	input.form-control[type="time"],
	.input-group span.input-group-addon,
	.btn-group button.btn.btn-default,
	.input-group button.btn.btn-default,
	.input-group button.btn.btn-danger,
	.input-group button.btn.btn-success {
		border-radius: 3px;
	}
	.input-group span.input-group-addon:last-child,
	.input-group .input-group-btn:last-child button,
	.input-group > span:not(:first-child),
	.input-group span.select2 span.selection,
	.input-group span.select2 span.select2-selection {
		border-top-left-radius: 0!important;
		border-bottom-left-radius: 0!important;
	}
	.input-group span.input-group-addon:first-child,.input-group .input-group-btn:first-child button {
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}

	span.select2 span.selection {
		border-radius: 4px;
	}
	span.select2 span.select2-selection {
		border-radius: 4px;
	}

	/***************************/
	/* google map popup styles */
	/***************************/
	.iw-title {
		background-color: #fff;
		color: #333;
		font-weight: 500;
		padding: 10px 10px 4px;
		font-size: 14px;
	}


/***********************/
/* page related styles */
/***********************/
ul.notifications div.channels span {
	color: #fff;
	background-color: #7C1920;
}

/***********************/
/* miscellaneous stuff */
/***********************/
.show-trip {
	color: #7C1920;
}
