@import url("https://fonts.googleapis.com/css?family=Roboto:500");

/* Reset + */

body {
  background-color: #fff;
  font-family: "Roboto", sans-serif;
  color: #333;
  font-size: 14px;
}

a {
  color: #ff8800;
  cursor: pointer;
  /* -webkit-transition: all 0.3s; */
  /* transition: all 0.3s; */
}

a:hover {
  color: #333;
  text-decoration: none;
}

a:focus {
  color: #333;
  text-decoration: none;
  outline: none;
}

/* Reset - */

/* Common + */

.nopadding {
  padding: 0;
}

.reduce-gutter > [class^="col-"] {
  padding-right: 2px;
  padding-left: 2px;
}

.reduce-padding {
  padding: 5px;
}

.remove-pr {
  padding-right: 0;
}

.btn {
  margin-right: 5px;
}

.btn-custom {
  color: #fff;
  background-color: #ff8800;
  border: 1px solid #ffff00;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1),
    inset 0px 1px 0px rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 0;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active {
  color: #333;
  background-color: #ffff00;
  border: 1px solid #ff8800;
}

.btn-custom.btn-icon {
  color: #fff;
  background-color: #474b4d;
  border: 1px solid #474b4d;
}

.btn-custom.btn-icon:hover,
.btn-custom.btn-icon:focus,
.btn-custom.btn-icon:active {
  background-color: #ff8800;
}

.btn-custom.btn-icon-complete {
  color: #fff;
  background-color: #6ead5e;
  border: 1px solid #474b4d;
}

.btn-custom.btn-icon-complete:hover,
.btn-custom.btn-icon-complete:focus,
.btn-custom.btn-icon-complete:active {
  background-color: #ff8800;
}

.btn-gray {
  background-color: #9c9c9c;
  border: 1px solid #777;
  color: #fff;
  border-radius: 0;
}

.btn-gray:hover,
.btn-gray:focus,
.btn-gray:active {
  background-color: #c7c7c7;
}

.panel-body {
  padding: 0;
}

.popover {
  min-width: 200px;
  color: #333 !important;
  padding: 5px;
}

span.label {
  font-weight: normal;
  padding: 0.4em 0.6em 0.3em;
}

.badge {
  font-weight: normal;
  text-align: left;
  width: 100%;
}

.badge-danger {
  color: #fff !important;
  background-color: #ff0000;
}

.pending-task .badge {
  overflow: show;
}

label {
  color: #666;
}

.title-add-crew {
  padding-left: -50px;
  font-size: 16px;
  color: #ff8800;
}

.form-control {
  font-size: 0.9rem;
  color: #000;
  border-radius: 0;
  height: calc(1.8rem + 2px);
  padding: 0.35rem 0.5rem;
}

span.required {
  color: #ff0000;
}

.table td,
.table th {
  padding: 0.25rem 0.5rem;
}

.scroll-zone {
  overflow: auto;
  height: 200px;
}

.nav-tabs .nav-link {
  background-color: #cccc;
  color: #333;
  margin-right: 2px;
  border-radius: 0;
  padding: 0.2rem 1rem;
}

.nav-tabs .nav-link.active {
  color: #fff;
  background-color: #ff8800;
  border-color: transparent;
}

.nav-tabs {
  border-bottom: 5px solid #ff8800;
}

.nav-tabs .nav-item {
  margin-bottom: 0px;
}

.nav-tabs.nav-justified .nav-link {
  margin-right: 0;
}

.ico-lg {
  font-size: 1.33333em;
  line-height: 0.75em;
}

.btn-icon {
  padding: 4px 0 0;
  border-radius: 0;
  width: 50px;
  margin-left: 5px;
}

.table {
  margin-bottom: 0;
}

.table .fa {
  margin-top: 10px;
}

.table thead th {
  background-color: #cccc;
  color: #333;
}

.table thead th label {
  color: #333;
}

.table th {
  vertical-align: middle;
}

.green {
  color: green;
}

.red {
  color: red;
}

.options {
  margin-right: 10px;
}

a.nav-nolink {
  color: #333;
  cursor: default;
}

.nav-item.nav-link {
  padding: 0.2rem 0.2rem;
  border: 0;
}

.nav-tab-btn {
  padding: 1px 12px;
  font-size: 14px;
}

.nav-full {
  flex: 1 1 auto;
}

/* Common - */

/* Login + */

.login {
  background: #eef5f9 url(../images/login-bkg.jpg) center top no-repeat;
  background-size: cover;
  height: 100vh;
}

.form-signin {
  max-width: 400px;
  padding: 15px;
  margin: 0 auto;
  color: #000;
  border-radius: 0px;
  padding-top: 10px;
  padding-bottom: 30px;
  -webkit-transform: translate3d(0, 0px, 0);
  -moz-transform: translate3d(0, 0px, 0);
  -o-transform: translate3d(0, 0px, 0);
  -ms-transform: translate3d(0, 0px, 0);
  transform: translate3d(0, 0px, 0);
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  transition: all 300ms linear;
}

.form-signin .form-control {
  margin-bottom: 5px;
  border: 1px solid #ffff00;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0;
  color: #ff8800;
}

.form-signin input.form-control:focus {
  background-color: rgba(0, 0, 0, 1);
  color: #ff8800;
}

.form-signin h1 {
  margin-top: 100px;
  margin-bottom: 0 !important;
}

.form-signin h1 img {
  width: 370px;
  background-color: #fff;
  margin-bottom: 5px;
}

.form-signin h2 {
  text-transform: uppercase;
  font-size: 22px;
  color: #000;
  margin-top: 0 !important;
}

.form-signin h2 span {
  font-size: 12px;
  color: #333;
}

.form-signin label {
  color: #000;
}

.forgot-password {
  line-height: 40px;
}

.forgot-password a {
  color: #ff8800;
  text-decoration: none;
}

.forgot-password a:hover {
  color: #fff;
  text-decoration: none;
}

/* Login - */

/* .Header + */

.main-header {
  background-color: #ff8800;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

.logo img {
  height: 40px;
  margin: 6px;
  background-color: #fff;
  padding: 2px 4px;
}

.main-header .logo {
  display: block;
  float: left;
}

.navbar {
  background-color: #ff8800;
  padding: 0.1rem 1rem;
}

a.user-profile img {
  width: 50px;
  height: 50px;
  border: 3px solid #dcdcdc;
}

.img-radius {
  border-radius: 50%;
}

.img-radius-small {
  border-radius: 50%;
}

span.user-name {
  color: #333;
  font-size: 14px;
  text-transform: uppercase;
  margin-right: 5px;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.user-logged a.dropdown-toggle::after {
  display: none;
}

.user-logged .dropdown-menu {
  background-color: #474b4d;
  border-radius: 0;
  font-size: 14px;
}

.user-logged .dropdown-item {
  color: #fff;
}

.user-logged .dropdown-item:focus,
.user-logged .dropdown-item:hover {
  color: #ff8000;
  background-color: transparent;
}

.user-logged .dropdown-menu {
  top: 95%;
}

/* .Header - */

/* Sidebar + */

.main-sidebar {
  background-color: #474b4d;
  position: fixed;
  top: 53px;
  left: 0;
  height: calc(100vh - 53px);
  width: 60px;
  z-index: 810;
  -webkit-transition: -webkit-transform 0.3s ease-in-out, width 0.3s ease-in-out;
  -moz-transition: -moz-transform 0.3s ease-in-out, width 0.3s ease-in-out;
  -o-transition: -o-transform 0.3s ease-in-out, width 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
  -webkit-box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.08);
  box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.08);
}

/* Sidebar + */
.sidebar-nav ul {
  margin: 0px;
  padding: 0px;
}

.sidebar-nav ul li {
  list-style: none;
}

.sidebar-nav ul li a {
  color: #7a7a7a;
  padding: 14px 35px 14px 15px;
  display: block;
  font-size: 14px;
}

.sidebar-nav ul li ul li a {
  padding: 5px 35px 5px 15px;
}

span.hide-menu {
  text-transform: uppercase;
}

.sidebar-nav ul li a.active,
.sidebar-nav ul li a:hover {
  color: #ff8800;
}

.mini-sidebar .sidebar-nav #sidebarnav li {
  position: relative;
}

.mini-sidebar .sidebar-nav #sidebarnav > li > ul {
  position: absolute;
  left: 60px;
  top: 48px;
  min-width: 200px;
  z-index: 1001;
  background: #323335;
  display: none;
  padding-left: 1px;
}

.mini-sidebar .sidebar-nav ul li a {
  /*width: 220px;*/
  color: #fff;
}

.mini-sidebar .sidebar-nav ul li a:active,
.mini-sidebar .sidebar-nav ul li a:hover {
  /*  width: 220px;*/
  color: #fff;
  background-color: #f80;
}
.mini-sidebar .sidebar-nav #sidebarnav > li:hover > ul {
  height: auto !important;
}

.mini-sidebar .sidebar-nav #sidebarnav > li:hover > ul,
.mini-sidebar .sidebar-nav #sidebarnav > li:hover > ul.collapse {
  display: block;
}

.mini-sidebar .sidebar-nav #sidebarnav > li > a.has-arrow:after {
  display: none;
}

.mini-sidebar .hide-menu {
  display: none;
}

.mini-sidebar .sidebar-nav {
  margin-top: 15px;
}

.mini-sidebar .sidebar-nav #sidebarnav > li:hover > a {
  width: 260px;
  background: #ff8800;
  color: #fff;
}

.mini-sidebar .sidebar-nav #sidebarnav > li:hover > a i {
  color: #fff;
}

.mini-sidebar .sidebar-nav #sidebarnav > li:hover > a .hide-menu {
  display: inline;
}

.sidebar-nav > ul > li.active > a {
  border-left: 3px solid #ff8800;
  background-color: #ff8800;
  color: #fff;
  width: 60px;
}

.sidebar-nav li a i.fa {
  margin-right: 5px;
}

/* Sidebar - */

/* Content + */

.container-fluid {
  margin-left: 60px;
  margin-top: 70px;
  width: 95%;
}

/* Content - */

/* Scheduling + */

table.scheduling {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  margin-bottom: 3px;
}

table.scheduling thead tr th {
  background: #474b4d;
  color: #fff;
  padding: 0.5em;
  overflow: hidden;
  text-align: center;
  font-weight: normal;
}

table.scheduling thead tr th .day {
  display: block;
  font-size: 1.2em;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: 0 auto 5px;
  line-height: 1.7;
}

table.scheduling thead tr th .day.active {
  background: #ff8000;
  color: #fff;
}

table.scheduling thead tr th .short {
  display: none;
}

table.scheduling thead tr th i {
  vertical-align: middle;
  font-size: 2em;
}

table.scheduling tbody tr:nth-child(1n + 0) td {
  border-bottom: 1px solid #ccc;
}

table.scheduling tbody tr td {
  /* text-align: center;*/
  vertical-align: top;
  border-left: 1px solid #ccc;
  position: relative;
  /* height: 32px; 
    cursor: pointer;*/
  height: 90px;
}

table.scheduling tbody tr td:last-child {
  border-right: 1px solid #ccc;
}

table.scheduling tbody tr td.crew {
  font-size: 1em;
  padding: 0;
  color: #fff;
  background: #323335;
  border-bottom: 1px solid #ccc;
  border-collapse: separate;
  /* min-width: 100px; */
  cursor: default;
  text-align: center;
  vertical-align: middle;
  border-left: 1px solid #323335;
}

table.scheduling tbody tr td.hour span {
  display: block;
}

.popover h5 {
  font-size: 16px;
  background-color: #ffff00;
  margin: 0;
  text-align: center;
}

.popover span {
  display: block;
}

.popover .schedule span {
  display: inline-block;
}

.truck-details {
  margin-top: 15px;
}

.col-10,
.col-2 {
  float: left;
}

.card.pending-task {
  border-radius: 0;
  /* margin-top: 100px; */
  overflow-x: hidden;
}

.pending-task .card-body {
  padding: 0.25rem;
}

.pending-task .card-title {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #ccc;
}

.pending-task .card-title h4 {
  font-size: 1.2rem;
}

.pending-task .card-body a {
  margin-bottom: 5px;
  display: block;
}

.new-info-wrapper {
  position: absolute;
  bottom: 1px;
  width: 98%;
}

.new-info-wrapper .fa-info-circle {
  display: none;
}

/* Scroll week table */
table.scheduling.week tbody td,
table.scheduling.week thead th {
  width: 12.5%;
}

table.scheduling.week tbody {
  /* display: block; */
  width: 77.2vw;
  height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
}

table.scheduling.week tbody tr td.crew {
  width: 12.5%;
}

/* Scroll day table */
table.scheduling.day tbody {
  /* display: block; */
  width: 76vw;
  height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
}

table.scheduling.day thead th:nth-child(1),
table.scheduling.day tbody td:nth-child(1) {
  width: 30%;
}

table.scheduling.day thead th:nth-child(2),
table.scheduling.day tbody td:nth-child(2) {
  width: 70%;
}

.pending-task .scroll-div {
  height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Scheduling - */

/* Override + */
.help-block span {
  color: #ff8800;
}

.form-signin .form-group {
  margin-bottom: 0;
}

.anchor-Pendingtask {
  color: #ffff !important;
}

.week-day-button-highlight {
  background-color: #ff8800 !important;
}

.modal-wide {
  max-width: 1000px;
}

.modal-body.scroll-zone {
  height: 450px;
}

/* .autocomplete {
    height: 100px;
    overflow-x: hidden;
    overflow-y: auto;
} */
/* Override - */

:host /deep/ .clock-face__clock-hand {
  background-color: #b25f00 !important;
}

:host /deep/ .clock-face__clock-hand_minute:before {
  border: 4px solid #b25f00 !important;
}

:host /deep/ .clock-face__clock-hand:after {
  background-color: #b25f00 !important;
}

.scheduling.week thead th .fa {
  margin-top: 5px;
}

.scheduling.day thead th .fa {
  margin-top: 6px;
  position: absolute;
  right: 20px;
}

/* Fixed Header +  */
.fixed-table-container {
  position: relative;
  padding-top: 30px;
  /* height of header */
}

.fixed-table-container-inner {
  overflow-x: hidden;
  overflow-y: auto;
  height: 65.5vh;
}

.header-background {
  height: 30px;
  /* height of header */
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background-color: #cccc;
  color: #333;
}

.th-inner {
  position: absolute;
  top: 0;
  line-height: 30px;
  /* height of header */
  text-align: left;
  padding-left: 5px;
  margin-left: -5px;
}

.fixed-table-container-inner table thead tr > th {
  padding: 0 0 0 8px;
  background-color: transparent;
  border-color: transparent;
}

.scheduling .header-background {
  height: 80px;
  background-color: #474b4d;
}

.fixed-table-container.scheduling {
  padding-top: 80px;
}

.scheduling .th-inner {
  text-align: center;
  width: 12%;
  padding-top: 10px;
}

.scheduling.day .th-inner {
  text-align: center;
  width: 70%;
  padding-top: 10px;
}

/* Fixed Header -  */
div.ex1 {
  background-color: white;
  width: 300px;
  height: 200px;
  overflow: auto;
}

div.ex2 {
  background-color: white;
  width: 300px;
  height: 200px;
  overflow: auto;
}

.pointer {
  cursor: pointer;
}

.crew-truck details {
  color: #ff8800 !important;
}

/* Added for Left-menu-Dropdown*/

.dropdown-menu ul li a:active .dropdown-menu ul li a:hover {
  color: #fff;
  background-color: #ff8800;
}

.dropdown-menu-list a:active .dropdown-menu-list a:hover {
  color: #fff;
  background-color: #ff8800;
}
