﻿/* Trip Expense ST */
/* MUI Tabs ST */
.trip_expense_cont .material-form {
  width: 100%;
  display: flex;
}

.trip_expense_cont .material-form .form-row {
  display: flex;
  width: 100%;
  flex: 1;
  margin: 0 -9px;
}

.trip_expense_cont .material-form .form-row > div {
  flex: 1;
  padding: 0 9px;
}

.trip_expense_cont .material-form .form-row > div:first-child,
.trip_expense_cont .material-form .form-row > div:last-child {
  flex: 0 0 260px;
}

.trip_expense_cont .material-form .form-group label {
  top: 9px;
}

.trip_expense_cont .material-form .form-row.form-submit > div:first-child {
  flex: 0 0 680px;
  width: 680px;
}

.trip_expense_cont .material-form .form-row.form-submit > div:last-child {
  flex: 1;
  justify-content: flex-end;
  display: flex;
}

.trip_expense_cont .MuiTab-root {
  color: #000;
  padding: 5px 20px;
  font-size: 15px;
  font-family: Poppins, Arial, "sans-serif";
  font-weight: normal;
  line-height: 1.2;
  margin-right: 10px;
  text-transform: none;
  min-height: auto;
  min-width: auto;
  opacity: 1;
}

.trip_expense_cont .MuiTab-root:hover,
.trip_expense_cont .MuiTab-root.Mui-selected {
  background: none;
  color: #31a8dc;
}

.trip_expense_cont .MuiTabs-indicator {
  border: 1px solid #31A8DC !important;
  border-radius: 15px !important;
  background-color: transparent !important;
  height: 27px !important;
  position: absolute !important;
  bottom: 21px !important;
}

/* MUI Tabs EN */
/* Checkbox ST */
.te_selection {
  display: flex;
  padding: 18px 0;
  /* Hide the browser's default checkbox */
  /* Create a custom checkbox */
  /* On mouse-over, add a grey background color */
  /* When the checkbox is checked, add a blue background */
  /* Create the checkmark/indicator (hidden when not checked) */
  /* Show the checkmark when checked */
  /* Style the checkmark/indicator */
}
.te_selection > div {
  padding: 0 10px 0 0;
  margin: 0 10px 0 0;
  border-right: 1px solid #c1c1c1;
}
.te_selection > div:last-child {
  border: none;
}
.te_selection label {
  display: block;
  position: relative;
  margin: 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 90px;
  height: 50px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
}
.te_selection label::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0;
  margin: 0 auto;
  width: 47px;
  height: 30px;
  background: url("/app_themes/tripeasy/assets/images/trip-expense-sprite.svg") no-repeat;
  background-size: 500px 500px;
  background-position: 0px 1px;
}
.te_selection label.active {
  background: #0a5d9b;
  color: #fff;
}
.te_selection label#tab4::before {
  background-position: 7px -171px;
}
.te_selection label.active#tab4::before {
  background-position: 7px -218px;
}
.te_selection label#tab2::before {
  background-position: -50px -173px;
}
.te_selection label.active#tab2::before {
  background-position: -50px -217px;
}
.te_selection label#tab3::before {
  background-position: -124px -173px;
}
.te_selection label.active#tab3::before {
  background-position: -124px -218px;
}
.te_selection label#tab1::before {
  background-position: -184px -173px;
}
.te_selection label.active#tab1::before {
  background-position: -184px -218px;
}
.te_selection label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.te_selection label .checkmark {
  position: absolute;
  top: 13px;
  left: 10px;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid #336699;
  display: block;
  visibility: hidden;
}
.te_selection label div {
  font-size: 12px;
  left: 0;
  right: 0;
  bottom: 3px;
  position: absolute;
  display: flex;
  justify-content: center;
}
.te_selection label:hover input ~ .checkmark {
  background-color: #fff;
}
.te_selection label input:checked ~ .checkmark {
  background-color: #fff;
}
.te_selection .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.te_selection label input:checked ~ .checkmark:after {
  display: block;
}
.te_selection label .checkmark:after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #0a5d9b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.search-widget-master input[type=text] .trip_expense_cont {
  display: flex;
  flex-direction: column;
}

.trip_expense_cont .react-mform .mform-row.form-submit > div:last-child {
  flex: 1;
  justify-content: flex-end;
  display: flex;
}

.receipt_tags .tag {
  height: 48px;
  line-height: 48px;
  font-size: 18px;
  border-radius: 24px;
  background: #edf1f2;
  display: table;
}
.receipt_tags .tag > img {
  border-radius: 50%;
  height: 46px;
  width: 46px;
  display: inline-block !important;
  vertical-align: middle;
}
.receipt_tags .tag > span {
  padding: 0 5px 0 10px;
  display: table-cell;
}
.receipt_tags .tag > a {
  color: #2084ce;
  margin-right: 8px;
  padding: 0 10px;
  outline: none;
}
.receipt_tags .owl-stage-outer {
  left: 11px;
}
.receipt_tags .owl-nav {
  position: relative;
  margin: 0 !important;
}
.receipt_tags .owl-nav button {
  padding: 0 5px;
  margin: 0 !important;
}
.receipt_tags .owl-nav button span {
  font-size: 35px;
}
.receipt_tags .owl-nav .owl-prev {
  left: 0px;
  top: -50px;
  position: absolute;
  z-index: 8;
}
.receipt_tags .owl-nav .owl-next {
  right: -24px;
  top: -50px;
  position: absolute;
  z-index: 8;
}

/* Button ST */
.btn-te {
  height: 40px;
  line-height: 40px;
  width: 162px;
  text-align: center;
  background: #2084ce;
  color: #fff;
  font-size: 18px;
  font-weight: normal;
  border-radius: 20px;
  margin: 0;
  padding: 0;
}

.btn-te:hover, .btn-te:active {
  background: #0a5d9b;
}

.btn-te.email::before {
  content: "";
  position: relative;
  vertical-align: middle;
  height: 30px;
  width: 43px;
  margin-right: 5px;
  display: inline-block;
  background: url("/app_themes/tripeasy/assets/images/trip-expense-sprite.svg") no-repeat;
  background-size: 500px 500px;
  background-position: -162px -43px;
}

.btn-camera.MuiButton-root, .btn-camera.MuiButton-root:hover, .btn-camera.MuiButton-root:focus {
  font-size: 16px;
  font-weight: normal;
  background: #fff;
  color: #2084ce;
  position: relative;
  padding: 10px 10px 10px 45px !important;
  margin: 0;
  border: unset;
  border-radius: 20px;
  outline: 0;
  box-shadow: unset;
}

.btn-camera::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  height: 37px;
  width: 37px;
  background: url("/app_themes/tripeasy/assets/images/trip-expense-sprite.svg") no-repeat;
  background-size: 500px 500px;
  background-position: -222px 1px;
}

.btn-camera span.MuiButton-label {
  text-transform: capitalize;
  font-size: 16px;
  line-height: 1.2;
  color: #2084ce;
}

/* Trip EXP - Search Widget - Tab 2 ST */
.TakeUploadPic {
  display: flex;
  flex-direction: column;
  height: 155px;
}
.TakeUploadPic > div:nth-child(1) {
  font-size: 26px;
  line-height: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 25px;
}
.TakeUploadPic > .btn-take-upload {
  display: flex;
  justify-content: center;
}
.TakeUploadPic > .btn-take-upload > .btn-te {
  display: inline-block;
  background: #fff;
  color: #2084ce;
  font-size: 26px;
  line-height: 1.4;
  outline: none;
  margin-right: 75px;
  height: auto;
  width: auto;
}
.TakeUploadPic > .btn-take-upload > .btn-te::before {
  content: "";
  display: block;
  width: 54px;
  height: 44px;
  margin: 0 auto;
  background: url(/app_themes/tripeasy/assets/images/trip-expense-sprite.svg) no-repeat;
  background-size: 500px 500px !important;
  background-position: -357px -81px;
}
.TakeUploadPic > .btn-take-upload > .upload-image .btn-camera.MuiButton-root {
  display: block;
  padding: 0 !important;
}
.TakeUploadPic > .btn-take-upload > .upload-image .btn-camera.MuiButton-root::before {
  position: static;
  display: block;
  width: 54px;
  height: 44px;
  margin: 0 auto;
  background: url(/app_themes/tripeasy/assets/images/trip-expense-sprite.svg) no-repeat;
  background-size: 500px 500px !important;
  background-position: -426px -81px;
}
.TakeUploadPic > .btn-take-upload > .upload-image .MuiButton-label {
  font-size: 26px;
}

/* Tab 3 */
.tabData3.car_reading .mform-row > .upload_pic {
  position: relative;
}
.tabData3.car_reading .mform-row > .upload_pic .upload-image {
  position: absolute;
  right: 5px;
  top: 4px;
}
.tabData3.car_reading .mform-row > .upload_pic .upload-image label .MuiButton-label {
  display: none;
}
.tabData3.car_reading .mform-row > .upload_pic .upload-image label > span {
  min-width: 36px;
  height: 40px;
  padding: 0 !important;
}

/* Web Cam Popup ST */
.webcam-popup .MuiDialogContent-root {
  padding-top: 0;
}
.webcam-popup .webcam_btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 0 0 0;
}
.webcam-popup .webcam_btn > button {
  margin: 10px 10px 15px 10px;
}

#date-picker-dialog {
  padding-left: 35px;
}

#date-picker-icon-calendar {
  position: absolute;
  padding-left: 8px;
  padding-top: 10px;
  z-index: 1;
  cursor: auto;
}

.MuiIconButton-label {
  cursor: auto;
}

.trip_expense_cont > .react-mform > .MuiFormLabel-root .Mui-focused {
  color: #2084ce !important;
}

#add-client-icon-option {
  position: absolute;
  z-index: 1;
  margin-left: 205px;
  top: 10px;
  padding: 0px !important;
}

#add-client-icon-option.MuiIconButton-root {
  flex: 0 0 auto;
  color: rgba(0, 0, 0, 0.54);
  padding: 12px;
  overflow: visible;
  font-size: 1.5rem;
  text-align: center;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 50%;
}

#add-client-icon-option.MuiIconButton-root:hover {
  background-color: rgba(0, 0, 0, 0.08);
  color: #fff;
}

/* Receipt TripExp ST */
.MuiBox-root {
  padding: 0 0 10px 0;
}

.receipt_list {
  width: 100%;
  height: 215px;
  overflow: auto;
  white-space: nowrap;
  margin-bottom: 10px;
  /* Scrollbar Custom ST */
  /* Scrollbar Custom EN */
}
.receipt_list::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
.receipt_list::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 12px;
}
.receipt_list::-webkit-scrollbar-thumb {
  background: #31A8DC;
  border-radius: 12px;
}
.receipt_list::-webkit-scrollbar-thumb:hover {
  background: #31A8DC;
}

.receipt_thumb {
  position: relative;
  display: inline-block;
  margin: 44px 20px 0 0;
}
.receipt_thumb > label {
  display: block;
  height: 144px;
  width: 160px;
  border: 2px solid #efefef;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}
.receipt_thumb > label:hover {
  border: 2px solid #31A8DC;
}
.receipt_thumb .receipt-info {
  position: absolute;
  top: -46px;
  left: 0;
  z-index: 2;
  width: 98%;
  font-size: 14px;
}
.receipt_thumb .receipt-info > div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.receipt_thumb .receipt-info > div:last-child {
  font-size: 12px;
}
.receipt_thumb .img_box {
  position: absolute;
  border-radius: 15px;
  overflow: hidden;
  display: contents;
}
.receipt_thumb .img_box embed {
  height: 160px;
  max-width: 160px;
  object-fit: scale-down;
  position: absolute;
  z-index: 2;
  padding: 0px 0px;
  padding: 3px;
  margin: -3px;
}
.receipt_thumb .img_box img {
  object-fit: cover;
  height: 165px;
  width: 165px;
}
.receipt_thumb .buttons {
  display: flex;
  flex: 1;
  flex-direction: column;
  visibility: hidden;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.receipt_thumb .buttons > button {
  background: #fff;
  color: #31A8DC;
  border-radius: 19px;
  border: 1px solid #31A8DC;
  width: fit-content;
  height: 30px;
  padding: 0 20px;
  margin: 15px auto 0 auto;
  font-weight: 400;
  z-index: 100;
  cursor: pointer;
}
.receipt_thumb .buttons > button:hover {
  color: #336699;
  border: 1px solid #336699;
}
.receipt_thumb .buttons > button.red {
  border: 1px solid #F92121;
  color: #F92121;
}
.receipt_thumb .buttons > button.red:hover {
  border: 1px solid #9b242c;
  color: #9b242c;
}
.receipt_thumb .custom_cb {
  position: absolute;
  bottom: 10px;
  right: 20px;
  visibility: hidden;
  height: 22px;
  width: 22px;
  z-index: 2;
  /* Checkbox Custom ST */
  /* Checkbox Custom EN */
}
.receipt_thumb .custom_cb input[type=checkbox] {
  cursor: pointer;
  width: 10px;
}
.receipt_thumb .custom_cb input[type=checkbox]:before {
  content: "";
  display: block;
  position: absolute;
  width: 21px;
  height: 21px;
  top: 0;
  left: 0;
  background-color: #fff;
  border: 1px solid #7e7f81;
  border-radius: 5px;
}
.receipt_thumb .custom_cb input[type=checkbox]:checked:before {
  content: "";
  display: block;
  position: absolute;
  width: 21px;
  height: 21px;
  top: 0;
  left: 0;
  background-color: #31a8dc;
  border-radius: 5px;
  border: 1px solid #31a8dc;
}
.receipt_thumb .custom_cb input[type=checkbox]:checked:after {
  content: "";
  display: block;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 4px;
  left: 8px;
}

.receipt_thumb:hover .buttons,
.receipt_thumb:hover .custom_cb,
.receipt_thumb .custom_cb input:checked {
  visibility: visible;
  cursor: pointer;
}

/* New tab ST */
.new_tab {
  display: flex;
  margin: 0 0 0 5px;
}
.new_tab > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.new_tab .block_new {
  border: 2px dashed #B2B2B2;
  border-radius: 20px;
  display: flex;
  width: 274px;
  cursor: pointer;
  position: relative;
}
.new_tab .block_new > div:nth-child(1) {
  display: inline-block;
  width: 110px;
  height: 82px;
  background: url(/app_themes/tripeasy/assets/images/trip-expense-sprite.svg) no-repeat;
  background-size: 900px 900px;
  background-position: 4px -480px;
  margin: 20px 0 5px 0;
}
.new_tab .block_new > div.img_camera {
  background-position: -161px -476px;
}
.new_tab .block_new > div.img_email {
  background-position: -326px -473px;
}
.new_tab .block_new .new_tab_cont {
  text-align: center;
  margin: 0 0 10px 0;
}
.new_tab .block_new .new_tab_cont p {
  font: 18px/1.4 "Poppins", arial;
}
.new_tab .block_new .new_tab_cont p:nth-child(2) {
  font-size: 14px;
  color: #31a8dc;
}
.new_tab .block_new .new_tab_cont p:nth-child(2) a {
  color: #31a8dc;
  text-decoration: underline;
}
.new_tab .block_new .new_tab_cont p:nth-child(2) a:hover {
  color: #336799;
  text-decoration: underline;
}
.new_tab .seperator {
  width: 87px;
  color: #336699;
}
.new_tab .mileageFields {
  display: flex;
  justify-content: space-between;
}

.trip_expense_cont .MuiSwitch-root {
  width: 67px !important;
  height: 48px !important;
}
.trip_expense_cont .MuiSwitch-root .MuiSwitch-track {
  background-color: #C1C1C1 !important;
  border-radius: 15px !important;
  opacity: 1 !important;
}
.trip_expense_cont .MuiSwitch-root.Mui-checked,
.trip_expense_cont .MuiSwitch-switchBase.MuiSwitch-colorPrimary.Mui-checked,
.trip_expense_cont .MuiIconButton-root {
  color: #fff;
}
.trip_expense_cont .MuiSwitch-switchBase {
  top: 5px !important;
  left: 4px !important;
}
.trip_expense_cont .MuiSwitch-switchBase.MuiSwitch-colorPrimary.Mui-checked + .MuiSwitch-track {
  background-color: #0A5D9B !important;
}

.block_upload .MuiDropzoneArea-root {
  position: absolute;
  left: 0;
  top: 0;
  min-height: auto !important;
  height: 100%;
  background: transparent;
  border: 0 !important;
}

.block_upload .MuiDropzoneArea-textContainer {
  visibility: hidden;
}

.autocomplete_address {
  position: absolute;
  width: 375px;
  box-shadow: rgba(100, 100, 111, 0.5) 0px 7px 29px 0px;
  border-radius: 14px;
  background: #fff;
  overflow-x: auto;
  max-height: 240px;
  z-index: 2;
}

.autocomplete_address > div {
  display: flex;
  flex-direction: row;
  flex: 0 0 100%;
  margin: 10px 10px 0 30px;
  position: relative;
  font-size: 14px;
  line-height: 1.3;
  padding: 1px;
}

.autocomplete_address > div:hover {
  background: #d6e6f6;
  color: #548bf9;
}

.autocomplete_address > div::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 22px;
  position: absolute;
  left: -21px;
  top: 1px;
  background: url(/app_themes/tripeasy/images/search-widget-icon-sprite.png);
  background-repeat: no-repeat;
  background-position: -48px 0px;
}

/* Receipt TripExp EN */
/*custom css starts here*/
.tabManual #divCategorySelectOption span {
  display: flex;
  height: 45px;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
  line-height: 1.2;
  width: 200px;
}
.tabManual .popup-te .mform-row .LHS {
  flex: none !important;
}
.tabManual .popup-te .mform-row .LHS .te_switch {
  justify-content: flex-end;
}

#categoryGridExpense .MuiIconButton-root {
  color: rgba(0, 0, 0, 0.54) !important;
}

.homepage .PrivateNotchedOutline-legendLabelled-3 {
  font-size: 0.8em;
}
.homepage #categoryGridExpense {
  top: 38px;
}
.homepage .reimbursable label {
  color: #000;
  font-size: 14px;
  cursor: pointer;
}
.homepage .react-mform .mform-row {
  margin-bottom: 22px;
}
.homepage .react-mform .mform-row > div {
  margin-bottom: 0px;
}
.homepage .tabManual .switch-box label:first-child, .homepage .tabMileage .switch-box label:first-child {
  margin-left: -12px;
}
.homepage div.tabData2 > div.mform-row > div, .homepage div.tabData1 > div.mform-row > div {
  margin-right: 10px;
}
.homepage div.tabData2 > div.mform-row > div:last-child, .homepage div.tabData1 > div.mform-row > div:last-child {
  margin-right: 0px;
}
.homepage .HasPurpose:not(.HasCostCenter):not(.HasBillable) > div:nth-child(1), .homepage .HasCostCenter:not(.HasBillable) > div:nth-child(2) {
  margin-right: 0px;
}
.homepage .mform-row:nth-child(1) > .date-field .MuiFormControl-root {
  width: auto !important;
}

/*custom css ends here*/
.popup-te.embed-pdf .MuiDialogContent-root {
  min-height: 450px;
  display: flex;
  justify-content: center;
}
.popup-te.embed-pdf .MuiDialogContent-root img {
  object-fit: contain;
}
.popup-te.embed-pdf .MuiDialogContent-root embed {
  min-width: 550px;
  min-height: 400px;
}
