/******************************************************************************
 *
 *	Extends: foundation-overrides.css
 *
 ******************************************************************************/


/* Links -------------------------------------------- */
a.heavy, a.heavy:hover, a.heavy:focus { font-weight:bold; color:#333; }
a.with-arrow:after { content: ''; width: 15px; height: 15px; margin-left: 3px; float: right; }
.link { cursor: pointer; } /* Used when anchors can not be used (escaped in language files) */


/* Misc -------------------------------------------- */
.text-bold { font-weight: bold; }
.text-italic { font-style: italic; }
.text-normal { font-weight: normal; }
.text-uppercase { text-transform: uppercase; }
.text-color-red { color: red; }
.text-color-gray { color: #a7a7a7; }
.text-color-inherit { color: inherit; }
/* Prevent text from breaking row */
.text-no-wrapp { white-space: nowrap; }
/* Text that should be shortened, with "..." at the end */
.text-overflow-ellipsis { overflow: hidden;	text-overflow: ellipsis; white-space:nowrap; -ms-text-overflow: ellipsis; }
.text-meta { color: #a7a7a7; }
.text-position{	text-align: -webkit-auto;}

/* Base Type Styles -------------------------------------------- */
h1.tight, h2.tight,  h3.tight, h4.tight, h5.tight, h6.tight { margin-top: 6px; margin-bottom: 6px; }


/* Standard Forms -------------------------------------------- */

input[type="checkbox"] { float: left; margin: 3px 3px 3px 4px; }


/* Buttons -------------------------------------------- */

/* Next and prev buttons */
/*.button.small.next,*/
/*.button.small.prev,*/
/*.button.small.next:hover,*/
/*.button.small.prev:hover { padding-left: 35px; padding-right: 35px; }*/
/* Button with icon */
.button.with-icon { text-align: left; text-indent: 20px; width: auto; }
.button.with-icon .icon { height: 20px; width: 20px; left: 6px; display: block; top: 50%; margin-top: -10px; position: absolute; }
/* Correct FF button padding */
@-moz-document url-prefix() {
	input[type="submit"].button.small.prev, input[type="submit"].button.small.prev:hover,
	input[type="submit"].button.small.next, input[type="submit"].button.small.next:hover { padding-left: 35px; padding-right: 35px; }
}


/* Reveal Modals -------------------------------------------- */
.reveal-modal h2 { padding-bottom: 8px; }
.reveal-modal p,
.reveal-modal h4,
.reveal-modal .input-wrapper { padding: 0 20px; margin: 6px 0 20px 0; text-align: center }
.reveal-modal .input-wrapper .inline-label { float: left; margin: 10px 10px 0 0; }
.reveal-modal .input-wrapper .inline-input { float: left; width: 200px; }
.reveal-modal .input-wrapper label.error { clear:both }
.reveal-modal .button-bar { padding:3px 0; margin-top:10px; width:100%; float: left; margin-bottom: 20px; }

/* Remove vehicle modal */
.reveal-modal .input-wrapper .aligned-input {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

@media only screen and (min-width: 768px)   {
	.reveal-modal .input-wrapper .aligned-input {
		width: 80%;
	}
}

/* Reveal Modals -------------------------------------------- */
.reveal-modal .modal-content.iframe { border: 0; height: 300px; width: 100%; max-height: 300px; overflow-y: scroll; }


/* Alerts -------------------------------------------- */
div.alert-box h4 { margin: 5px 0; }
div.alert-box li { margin-left: 20px; }
div.alert-box p { margin: 5px 20px; }
div.alert-box.alert p { margin: 0px }
/* Making it possible to override div.alertbox{display:block;} */
div.alert-box.hide { display: none; }


/* Panels -------------------------------------------- */
/* Toggle button for panel */
.panel .btn-toggle { border: 0; border-top: 1px solid; width: 100%; }
/* Section separated by border in panel box */
.panel .section { width: 100%; padding: 10px; border-top: 1px solid gray; }


/* Accordion -------------------------------------------- */

/* Accordion box (used for collapsable instructions */
ul.accordion.box,
ul.accordion.box { border: 1px solid gray; }
ul.accordion.box li,
ul.accordion.box li.active { border-top: 0; }
ul.accordion.box li .title,
ul.accordion.box li .content { border-left: 0; border-right: 0; }


/* Tables -------------------------------------------- */
/* Loader for table */
.table-container.loading { position: relative; }
.table-container.loading .table-loader-wrapper { position: absolute; left: 0; right: 0; bottom: 0; top: 0; }
.table-container.loading .table-loader-wrapper .bg { background-color: #fff; display: block; height: 100%; width: 100%; position: absolute; z-index: 1000; opacity: 0.4; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; -moz-opacity: 0.4; }
.table-container.loading .table-loader-wrapper .loader { background-color: #fff; border: 1px solid gray; width: 90px; position: absolute; padding: 20px 20px 15px 20px; top: 50%; left: 50%; margin-top: -45px; margin-left: -45px; text-align: center; z-index: 1001; }
/* Table header and footer */
.table-footer { background-color: #e3e8e7; color: #0C121C; font-family: 'lr-web', sans-serif; padding: 15px 10px 5px 10px; min-height: 80px; }
.table-header {	background-color: #484f52; font-family: 'lr-web', sans-serif; padding: 15px 10px 5px 10px; min-height: 80px; }
.table-header, .table-header p, .table-header label, .table-header i { color: #fff; }
.table-header p { margin-bottom: 0; margin-top: 8px; }
.table-header input, .table-header input[type="text"] {	height: 25px; margin-top: 3px; padding-top: 3px; padding-bottom: 3px; width: 125px; height: 100%; padding-top: 12px !important; padding-bottom: 12px !important; }
.table-footer, .table-footer p, .table-footer label { color: #0C121C; }


/* <nav> -------------------------------------------- */
/* Arrow on top of top-bar dropdown*/
.top-bar ul>li.has-dropdown .dropdown:after { content: ""; display: block; width: 0; height: 0; border: solid 9px; border-color: transparent transparent white transparent; position: absolute; left: 30px; top: -16px; }
.top-bar ul>li.has-dropdown .dropdown:before { content: ""; display: block; width: 0; height: 0; border: solid 9px; border-color: transparent transparent #c3c3c3 transparent; position: absolute; left: 30px; top: -18px; }
/* Expandable toggle (used for toggle search bar) */
.top-bar ul > li.expandable { position: relative; }
.top-bar ul>li.expandable a { padding-right: 30px; padding-right: 30px\9!important; }
.top-bar ul > li.expandable a:after { content: ""; display: block; width: 7px; height: 7px; margin-right: 15px; position: absolute; right: 0; top: 14px; } /* Arrow icon next to search link in nav*/

/* Responsive navigation (menu icon + dropdown menu)*/
.top-bar .responsive-nav > ul { float: right; }
.top-bar .responsive-nav ul li.vehicle { display: none; }

div.center-div {
	margin-right: auto;
	margin-left: auto;
}


/* --------------------------------------------------- *
 *  Tablet styling
 * --------------------------------------------------- */
@media only screen and/*!*/(max-width:1002px) {

	/* Buttons -------------------------------------------- */

	.button.small.next,
	.button.small.next:hover,
	input[type="submit"].button.small.next,
	input[type="submit"].button.small.next:hover { padding: 14px 24px 14px 14px; }
	.button.small.prev,
	.button.small.prev:hover,
	input[type="submit"].button.small.prev,
	input[type="submit"].button.small.prev:hover { padding: 14px 14px 14px 24px; }
	/* Correct FF button padding */
	@-moz-document url-prefix() {
		input[type="submit"].button.small.next, input[type="submit"].button.small.next:hover { padding: 14px 24px 14px 14px; }
		input[type="submit"].button.small.prev, input[type="submit"].button.small.prev:hover { padding: 14px 14px 14px 24px; }
	}
	.text-position{	text-align: -webkit-auto;}

	/* <nav> -------------------------------------------- */

	/* Responsive navigation (menu icon + dropdown menu)*/
	.top-bar .responsive-nav { display: block; float: right; min-width: 150px !important; padding: 0px 0; }
	.top-bar .responsive-nav ul { display: none; position: absolute; right: -15px; left:-15px; height: auto; z-index: 100; width: auto; }
    .top-bar .responsive-nav ul.active { display: block; z-index: 5; }
    .top-bar .responsive-nav li { border-top: solid 1px; }
    .top-bar .responsive-nav ul li { float: left; clear: both; width: 100%; }
    .top-bar .responsive-nav ul li a { max-width: 100%!important; padding: 20px 15px; line-height: 16px; }
    .top-bar .responsive-nav ul li > a:before { content: '\f054'; font-size: 16px; line-height: 16px; font-family: FontAwesome; display: block; width: 16px; height: 16px; margin-right: 10px; float: left; text-align: center; font-weight: normal; }
    .top-bar .responsive-nav ul li.vehicle { display: block; }
    .top-bar .responsive-nav ul li.vehicle > a:before { content: '\f067'; }
    .top-bar .responsive-nav ul li.vehicle.active > a:before { content: '\f068'; }
	.top-bar .responsive-nav li:last-child { border-bottom: 0px; }
    /* Second level (vehicle subnav items) */
    .top-bar .responsive-nav ul ul { display: none; position: relative; left: 0; }
    .top-bar .responsive-nav ul ul li { padding-left: 26px; }
    .top-bar .responsive-nav ul li.active ul { display: block; }

	.top-bar .responsive-nav .menu-toggle { display: block !important; line-height: 1em; height: auto; padding: 12px 35px 12px 10px; margin: 0;	cursor: pointer; position: relative; text-align: right;	}
	.top-bar .responsive-nav .menu-toggle:after { display: block; width: 22px; height: 24px; position: absolute; right: 0px; top: 50%; margin-top: -14px; content: 'menu'; color: transparent; text-indent: -10000px; cursor: pointer; }
	/* Expandable toggle (used for toggle search bar) */
	.top-bar ul > li.expandable a,
	.top-bar section > ul.left li.expandable:first-child:not(.active) a { padding-right: 30px; padding-right: 30px\9!important; }
	.top-bar ul > li.expandable a:after { top: 13px!important; }

}


/* --------------------------------------------------- *
 *  Smartphone styling
 * --------------------------------------------------- */
@media only screen and/*!*/(max-width:767px) and (min-device-width: 340px) {

	/* Buttons -------------------------------------------- */

	/* Button with icon */
	.button.with-icon {	text-indent: -1000px; color: transparent; width: 31px; margin: 0 0 10px 0; float: left; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
	.button.with-icon .icon.icon-delete,
	.button.with-icon .icon.icon-export { left: 5px; }

	/*Position buttons */
	.center-position{
		position:   relative;
		float:left;
		width:90%!important;
		left:5%;
	}

	/* Reveal Modals -------------------------------------------- */
	.reveal-modal .button-bar .button.small { padding-left: 5px; padding-right: 5px; }

	/*Labels*/
	.text-position{
		text-align: -webkit-auto;
	}

	/* Tables -------------------------------------------- */

	/* Table header and footer */
	.table-header input,
	.table-header input[type="text"] { width: 110px; font-size: 12px; }
	.table-header label.inline { line-height: 19px; }
	.table-footer .button { display: inline-block; }

	/* <nav> -------------------------------------------- */
	/* Responsive navigation (menu icon + dropdown menu)*/
	.top-bar .responsive-nav { min-width: 50% !important; }
}


/* --------------------------------------------------- *
 *  Print styling
 * --------------------------------------------------- */

@media print {
	.padding-on-print-40 { padding: 40px !important; } 	/* Margins on elements on print only */
	.full-width-on-print { width: 100% !important; } /* Full width on print */
	.center-on-print { text-align: center; } /* Center text on print */
	.no-border-on-print { border: 0 !important; } /* Center text on print */
}
