﻿body {
	margin-top: 66px;
}

.logo {
	max-height: 50px;
	padding: 0;
}

.card-label {
	opacity: .5;
	text-transform: uppercase;
	font-size: 12px;
}

.card-value {
	font-size: 30px;
	opacity: .8;
}

.card-value-super {
	font-size: 20px;
	opacity: .6;
	vertical-align: super;
}

.card-legend-header {
	font-size: small;
	opacity: .7;
}

.card-title {
	/*opacity: .8;*/
	font-size: 18px;
}

.fa-cog {
	color: #255E81;
}

.fa-angle-down {
	color: #255E81;
}

.fa-cog:hover {
	color: orange;
}

.fa-angle-down:hover {
	color: orange;
}

.dx-header-row .destinationColumn .dx-datagrid-text-content {
	float: left;
}

/*.card-title .fa-angle-down {
	-ms-transition: .3s transform ease-in-out;
	-o-transition: .3s transform ease-in-out;
	-webkit-transition: .3s transform ease-in-out;
	transition: .3s transform ease-in-out;
}

.card-title .collapsed .fa-angle-down {
	-ms-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}*/
.card-title .card-link.back {
	color: #fff;
	margin-right: 20px;
    margin-left: 10px;
}

.card-title [data-toggle] {
	/*border-width: 1px;
	border-style: solid;
	border-color: #dedede;*/
	border-radius: 4px;
	font-weight: 900;
	height: 36px;
	width: 36px;
	text-align: center;
	line-height: 13px;
	float: right;
	display: inline;
	clear: none;
	font-size: 20px;
	padding: 8px;
	margin-top: 5px;
	color: #00ce72;
	background: #002431;
}

	.card-title [data-toggle] .fa-minus {
		display: block;
		margin: 0 auto;
	}

	.card-title [data-toggle] .fa-plus {
		display: none;
		margin: 0 auto;
	}

	.card-title [data-toggle].collapsed .fa-minus {
		display: none;
	}

	.card-title [data-toggle].collapsed .fa-plus {
		display: block;
	}

/*Data grid search panel*/
.dx-toolbar-item-content .dx-datagrid-search-panel {
	margin-left: inherit;
    width: 250px !important;
}

/*invoices*/
.invoices-0-30-days {
	color: #30B363;
}

.invoices-30-60-days {
	color: #B2C700;
}

.invoices-60-90-days {
	color: #E7AB2B;
}

.invoices-90-120-days {
	color: #E7722B;
}

.invoices-120-or-more-days {
	color: #D54141;
}

.dx-datagrid-rowsview .dx-row > .dx-master-detail-cell {
	padding: 0px;
}

#Customers .dx-datagrid-search-panel {
	margin-left: 0px;
	width: 100% !important;
}

#rejectrequest .dx-button-content {
	padding-top: 2px;
	padding-bottom: 2px;
}

#acceptrequest .dx-button-content {
	padding-top: 2px;
	padding-bottom: 2px;
}

/*Drop Down*/
.custom-icon {
	max-height: 100%;
	max-width: 100%;
	font-size: 28px;
	display: inline-block;
	vertical-align: middle;
}

.custom-item img {
	float: left;
	width: 20px;
    height: 20px;
}

.custom-item .search-item {
    padding-left: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*Notifications*/
#categoryEventsList .dx-list-item-content {
	padding: 0;
}

#eventsTreeview, #categoryEventsList {
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	border: 1px solid #eeeeee;
}

.notification-checkbox .dx-checkbox-container {
	padding-bottom: 5px;
	margin-left: 5px;
}

#categoryEventsList {
	width: 100% !important;
}

.order-traffic-summary-card .dx-toolbar-after {
	right: auto;
	left: 0;
	padding-left: 0;
}

body .dx-datagrid .dx-column-lines > td {
	border-right: none;
	border-left: none;
}

body .dx-datagrid .dx-row > td {
	font-weight: 600;
}

body .dx-datagrid .dx-row:last-of-type > td {
	border-bottom: none;
}

body .dx-datagrid-headers .dx-header-row > td {
	font-weight: 600;
	border-bottom: none;
}

body .dx-datagrid-rowsview {
	border-top: none;
}

.card {
	border: none;
}

	.card.rounded {
		border-radius: 10px !important;
	}

	.card .datagrid-title {
		font-size: 30px;
		font-weight: 300;
	}

    .card .card-title {
        min-height: 30px;
        background: #01678e;
        background-image: linear-gradient(to right, #01678e, #004862);
        color: #fff !important;
        padding: 5px 1.75rem;
        width: calc(100% + 3.5rem) !important;
        margin: -1.75rem -1.75rem 0.5rem -1.75rem;
        border-radius: 10px 10px 0 0;
        line-height: 43px;
        font-size: 20px;
        font-weight: 400;
        height: 55px;
    }

		.card .card-title > img,
		.card .card-title > span {
			display: inline-block;
			vertical-align: middle;
			line-height: 30px;
		}

		.card .card-title .card-icon {
			border-right: 1px solid #004a64;
			padding-right: 25px;
			padding-top: 5px;
            padding-bottom: 5px;
            margin-top: -5px;
        }

	.card a,
	.dx-datagrid .dx-link {
		color: #00aa5e;
		font-weight: bold;
		text-decoration: none;
	}

.navbar-override {
	background: #01678e;
	background-image: linear-gradient(to right, #01678e, #004862);
}



.navbar {
	padding: 0 0 0 30px;
}

	.navbar .nav-item {
		display: inline-block;
		vertical-align: middle;
		margin: 0 12px;
	}

		.navbar .nav-item .nav-link {
			display: inline-block;
			vertical-align: middle;
			font-size: 14px;
			line-height: 14px;
			font-weight: 600;
			padding: 0 0 0 25px;
			position: relative;
			color: #FFF;
		}

			.navbar .nav-item .nav-link:hover {
				color: #00ce72 !important;
			}

	.navbar .nav-link .current {
		display: none;
	}

	.navbar .nav-item.active .nav-link {
		color: #84aab8 !important;
	}

		.navbar .nav-item.active .nav-link img {
			display: none;
		}

		.navbar .nav-item.active .nav-link .current {
			display: block;
		}

	.navbar .nav-icon {
		font-size: 20px;
		line-height: 20px;
		color: inherit;
		display: inline-block;
		vertical-align: middle;
		position:static;
		left: 0;
		top: 50%;
		margin-top: -10px;
	}

		.navbar .nav-icon img {
			width: 20px;
			height: auto;
			display: block;
		}

@media screen and (min-width: 1600px) and (max-width: 1790px) {
    .navbar .nav-item .nav-link {
        padding: 0 0 0 0px !important;
    }
}


@media screen and (min-width: 1791px) {
    .navbar .nav-icon {
        position: absolute;
    }

    .navbar .nav-item {
        margin: 0 0px;
    }

		.navbar .nav-item .nav-link {
            padding: 0 0 0 5px;
		}

}

@media screen and (min-width: 1600px) {
	/*large desktop*/
	.navbar .nav-item {
		margin: 0 20px;
	}

		.navbar .nav-item .nav-link {
			font-size: 16px;
			line-height: 16px;
			padding: 0 0 0 38px;
		}

	.navbar .nav-icon {
		font-size: 32px;
		line-height: 32px;
		margin-top: -16px;
    }


		.navbar .nav-icon img {
			width: auto;
			height: auto;
			display: block;
		}
}

@media screen and (min-width: 1400px) and (max-width: 1599px) {

    .navbar .nav-item .nav-link {
        padding: 0 0 0 7px !important;
    }

	.left-half-trip-request {
        position: absolute;
        left: 0px;
        width: 100% !important;
        padding-left: 110px;
	}

	.right-half-trip-request {
		position: absolute;
		left: 0px;
		width: 100% !important;
		padding-left: 110px;
        margin-top: 40px;
	}

    .card-title-trip-request-height {
        height: 100px !important;
    }
}

@media screen and (min-width:1400px) {

    /*small desktop*/
	body {
		margin-top: 90px;
	}

	/*.navbar-override {
		height: 90px;
	}*/
}

@media screen and (max-width: 1400px) and (max-height: 710px) {
	.navbar-collapse {
        max-height: 90vh !important;
	}

    .pb-sm-screen {
        padding-bottom: 80px !important;
    }
}

@media screen and (max-width:1399px) {
	/*mobile*/

    .left-half {
        padding-left: 110px !important;
    }

    .left-half-trip-request {
        position: absolute;
        left: 0px;
        width: 100% !important;
        padding-left: 110px;
    }

    .right-half-trip-request {
        position: absolute;
        left: 0px;
        width: 100% !important;
        padding-left: 110px;
        margin-top: 40px;
    }

    .card-title-trip-request-height {
        height: 100px !important;
    }

	body {
		margin-top: 66px;
	}

	.navbar-collapse {
        overflow-y: auto;
        max-height: 750px;
	}

		.navbar .nav-item {
			margin: 0;
			padding: 5px 0;
            vertical-align: top;
		}

    .navbar .nav-icon {
        position: absolute;
    }

			.navbar .nav-item .nav-link {
				padding-left: 30px;
			}

	.card {
		padding: 5px !important;
	}

		.card .card-body {
			padding: 10px;
		}

		.card .card-title {
			padding: 15px;
			margin: -15px -15px 15px -15px;
			width: calc(100% + 30px) !important;
			font-size: 18px;
			line-height: 24px;
			min-height: 60px;
		}

			.card .card-title .card-icon {
				padding: 15px 15px 0 0;
				margin: -15px 0 -15px 0;
				height: 60px;
			}

				.card .card-title .card-icon img {
					height: 22px;
					width: 22px;
				}

			.card .card-title > span {
				font-size: 18px;
				line-height: 22px;
			}

			.card .card-title [data-toggle] {
				height: 30px;
				width: 30px;
				font-size: 18px;
				line-height: 30px;
				margin: 0;
				padding: 6px;
			}

    .help-menu-margin {
        margin-left: 0 !important
    }

    .welcome-menu-margin {
        margin-left: 0 !important
    }
}

@media screen and (min-width: 1200px) {
    .invoice-block {
        display: block !important;
    }

    .col-4-override {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media screen and (min-width: 770px) and (max-width: 1199px) {
	.col-6-override {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
	}
}

@media screen and (min-width: 1350px) {
    .invoice-pop-up-block {
        display: block !important;
    }

    .col-4-pop-up-override {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media screen and (min-width: 900px) {
    .invoice-summary-pop-up-block {
        display: block !important;
    }
}

@media screen and (min-width: 900px) and (max-width: 1349px) {
	.invoice-summary-pop-up-col-6-override {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media screen and (min-width: 700px) {
	.invoice-dashboard-col-4-override {
		-ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
	}

	.invoice-dashboard-col-8-override {
		-ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
	}
}

@media screen and (max-width: 830px) { /* phone */
    .card-title-trip-request-height {
        height: 150px !important;
    }
}

@media screen and (max-width: 720px) { /* phone */
	.left-half {
		position: absolute;
		left: 0px;
		width: 100% !important;
        padding-left: 110px;
	}

	.right-half {
		position: absolute;
		right: 0px;
		width: 100% !important;
		margin-top: 30px;
        padding-left: 110px;
	}

	.card-title-height {
		height: 80px !important;
	}

    .card-title-trip-request-height {
        height: 170px !important;
    }

    .right-half-trip-request {
        margin-top: 60px;
    }

}

@media screen and (max-width: 500px) {
    .card-title-trip-request-height {
        height: 210px !important;
    }

    .right-half-trip-request {
        margin-top: 70px;
    }

    .card-title-height {
        height: 105px !important;
    }
}

@media screen and (max-width: 420px) {
    .card-title-trip-request-height {
        height: 230px !important;
    }
}

@media screen and (max-width: 370px) { /* Iphone 5S */
	.left-half {
		position: absolute;
		left: 0px;
		width: 100% !important;
		padding-left: 120px;
	}

	.right-half {
		position: absolute;
		right: 0px;
		width: 100% !important;
		margin-top: 50px;
		padding-left: 110px;
	}

	.card-title-height {
		height: 120px !important;
	}

	.card-title-trip-request-height {
		height: 280px !important;
	}

    .right-half-trip-request {
        margin-top: 90px;
    }
}


.dx-treeview {
    height: initial;
}

/*Dashboard Map*/
#tripSummaryRefresh {
    border: none;
}

#fleetMapRefresh {
	border: none;
}

.collapsible {
    background-color: #004a64;
    color: white;
    cursor: pointer;
    padding: 6px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 13px;
}

/*.active, .collapsible:hover {
    background-color: #01678e;
}*/

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

.dx-datagrid td .dx-datagrid {
    margin-bottom: 20px;
}

.upcoming-orders-label {
    margin: 0;
    padding: 20px 0 10px;
}

.upcoming-orders-label img {
    margin-right: 5px;
}

body .dx-popup-title {
    background: #01678e;
    background-image: linear-gradient(to right, #01678e, #004862);
    color: #fff !important;
    font-weight: 300;
    border: none !important;
}

body .dx-popup-wrapper:not(.dx-popover-wrapper) > .dx-overlay-content {
    border: none !important;
}

body .dx-popup-wrapper.dx-popover-wrapper > .dx-overlay-content {
    border: 1px solid #eee;
}

body .dx-master-detail-row .dx-datagrid {
    margin-right: 30px;
    background: none;
}

.split {
    height: 100%;
    width: 50%;
    position: fixed;
    z-index: 1;
    top: 0;
    overflow-x: hidden;
    padding-top: 20px;
}

/* Control the left side */
.left-half {
	position: absolute;
	left: 0px;
	width: 50%;
    padding-left: 140px;
}

.right-half {
    position: absolute;
    right: 0px;
    width: 50%;
}

.right-half-trip-request {
	margin-right: 30px;
	width: auto
}

#TripMap {
    display: block;
    width: 100%;
    height: 500px;
}

.circle-from-square-image {
    /*contact images - show as circle - image should be a square*/
    border-top-left-radius: 50% 50%;
    border-top-right-radius: 50% 50%;
    border-bottom-right-radius: 50% 50%;
    border-bottom-left-radius: 50% 50%;
}

.dx-empty-message {
    /*contact - no data to display message*/
    text-align: center !important;
    color: #66808b;
    margin-top:100px;
    font-size:large;
}

.collapseToggle {
    border-radius: 4px;
	font-weight: 900;
	height: 36px;
	width: 36px;
	text-align: center;
	line-height: 13px;
	float: right;
	display: inline;
	clear: none;
	font-size: 20px;
	padding: 8px;
	margin-top: 5px;
	color: #00ce72;
	background: #002431;
}

.collapseFa {
    color: #00ce72;
}

.badge {  
    background-color: red;  
    border-radius: 8px;  
}

#legend {
    font-family: Arial, sans-serif;
    background: #fff;
    padding: 10px;
    margin: 10px;
    border: 3px solid #000;
}

#legend h3 {
    margin-top: 0;
}

#legend img {
    vertical-align: middle;
}

.input-group-prepend-width {
    width: 42px
} 

.dx-scrollbar-vertical .dx-scrollable-scroll {
    float: right;
    width: 15px;
}
.dx-scrollbar-vertical.dx-scrollbar-hoverable {
    width: 15px;
    -webkit-transition: width .2s linear .15s,background-color .2s linear .15s;
    transition: width .2s linear .15s,background-color .2s linear .15s;
}

.dx-scrollbar-horizontal .dx-scrollable-scroll {
    height: 15px;
}
.dx-scrollbar-horizontal.dx-scrollbar-hoverable {
    height: 15px;
    -webkit-transition: height .2s linear .15s,background-color .2s linear .15s;
    transition: height .2s linear .15s,background-color .2s linear .15s;
}

.right {
    float: right;
    position: absolute;
    right: 0px;
}

.dx-list-item-content {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /*display: table-cell;*/
    width: 100%;
}

.web-link:visited {
    color: #007bff;
}

.tab {
    display: inline-block;
    margin-left: 40px;
}

.tab-2 {
    display: inline-block;
    margin-left: 80px;
}

.tab-3 {
    display: inline-block;
    margin-left: 120px;
}

.dot {
    height: 20px;
    width: 20px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
	text-align: center
}

.center {
	margin: auto;
	/*    width: 50%;*/
	text-align: center;
	padding: 10px;
}

.text-link {
	color: #00aa5e;
	font-weight: bold;
	text-decoration: none;
    cursor: pointer;
}

.display-block {
	display: block
}

.text-label {
    font-weight: normal;
    font-size: 16px;
    -ms-opacity: 0.7;
    opacity: 0.7
}

.require {
	color: red
}

.help-menu-margin {
	margin-left: -120px
}

.welcome-menu-margin {
    margin-left: -70px
}

.user-column-field-width {
    max-width: 200px;
}

.user-column-value-field-width {
    min-width: 150px;
}

.report-customer-report-width {
    width: 25%;
    min-width: 300px
}

.pb-sm-screen {
    padding-bottom: 20px;
}

.accessrequest-column-field-width {
    max-width: 300px;
}

.video-banner {
	overflow: hidden;
	background-image: linear-gradient(to right, #004862, #01678e);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.video-banner-flag {
	height: 50px;
	width: auto;
	vertical-align: middle;
	margin-right: 10px;
}

/* Tablet / collapsed-navbar layout (matches the site's mobile breakpoint) */
@media screen and (max-width: 1399px) {
	.video-banner-flag {
		height: 32px;
	}
}

/* Phones */
@media screen and (max-width: 575px) {
	.video-banner-flag {
		height: 24px;
		margin-right: 6px;
	}
}

.video-banner-link {
	display: block;
	text-decoration: none;
}

.video-banner-track {
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: normal;
}

.video-banner-text {
	display: inline-block;
	padding: 8px 0;
	font-size: 14px;
	font-weight: 600;
	color: #FFF;
	text-align: center;
	overflow-wrap: break-word;
}

.video-banner-link:hover .video-banner-text {
	color: #00ce72;
}

/* Video gallery: flows across the screen and wraps to the next row (no
   horizontal scroll). Collapses to a single vertical list on mobile via the
   min(100%, 288px) lower bound. */
.video-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 1.25rem;
}

.video-card {
	cursor: pointer;
	outline: none;
}

.video-meta {
	text-align: center;
}

	.video-card:focus .video-thumb,
	.video-card:hover .video-thumb {
		box-shadow: 0 0 0 3px rgba(0, 206, 114, 0.6);
	}

/* Thumbnail = title screen. Minimum 3" wide (288px @ 96 DPI); the 66.667%
   padding keeps a 3:2 box (>= 2" tall / 192px). */
.video-thumb {
	position: relative;
	width: 100%;
	min-width: 220px;
	padding-top: 66.667%;
	border-radius: .5rem;
	overflow: hidden;
	background: #002431;
}

/* object-fit: cover keeps the real image's resolution undistorted. */
.video-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-thumb-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: .5rem;
	color: #fff;
	font-weight: 600;
	background: linear-gradient(135deg, #255E81 0%, #002431 100%);
}

.video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 3rem;
	color: rgba(255, 255, 255, 0.85);
	pointer-events: none;
}

.video-duration-badge {
	position: absolute;
	right: 6px;
	bottom: 6px;
	padding: 1px 6px;
	border-radius: 3px;
	font-size: 12px;
	line-height: 1.4;
	color: #fff;
	background: rgba(0, 0, 0, 0.75);
}

.video-meta {
	padding: .5rem .25rem 0;
}

.video-title {
	font-weight: 400;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.video-duration {
	font-size: 13px;
	opacity: .6;
}

/* Video player (Video.js fluid mode handles the responsive 16:9 sizing) */
.video-player-wrapper {
	width: 100%;
	max-width: 960px; /* was 640px - a bit larger */
	margin: 0 auto;
	margin-bottom: 30px;
}

/* Video.js root element - rounded corners to match the site's cards. */
.video-player-wrapper .video-js {
	width: 100%;
	border-radius: .5rem;
	overflow: hidden;
	font-family: inherit;
}

/* Poster (title screen) fills the player without distortion. */
.video-player-wrapper .video-js .vjs-poster {
	background-size: cover;
	background-position: center;
}

/* Match the big play button to the site's accent green (#00ce72). */
.video-player-wrapper .video-js .vjs-big-play-button {
	background-color: rgba(0, 36, 49, 0.75);
	border-color: #00ce72;
}

	.video-player-wrapper .video-js:hover .vjs-big-play-button,
	.video-player-wrapper .video-js .vjs-big-play-button:focus {
		background-color: #00ce72;
		border-color: #00ce72;
	}

/* Control bar accent (seek/volume progress) in the site's green. */
.video-player-wrapper .video-js .vjs-play-progress,
.video-player-wrapper .video-js .vjs-volume-level {
	background-color: #00ce72;
}

/* Mobile-only "back to top of video list" link shown beneath the player.
   Visibility is handled by Bootstrap's .d-md-none (hidden at >= 768px). */
.video-back-to-top {
	display: block;
	margin-top: .75rem;
	text-align: center;
	font-weight: 300 !important;
	color: #007bff;
	text-decoration: none;
}

.video-back-to-top:hover,
.video-back-to-top:focus {
	color: #0056b3;
	text-decoration: underline;
}