/* Custom CSS goes here */

body {
  position: relative;
  width: 100%;
  background: #fcfaf9;
  font-family: "Open Sans", sans-serif;
}

h1 {
  font-size: 20px;
  font-weight: 700;
}

h2 {
  font-size: 17px;
  font-weight: 700;
}

h3 {
  font-size: 14px;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5 {
  color: #1a405e;
}

p {
  font-size: 13px;
  font-weight: 400;
}

label {
  color: #3ea1f2;
}

.compt-classic strong {
  color: #1a405e;
}

input,
select {
  padding-left: 3px;
  font-size: inherit;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
}

input::-webkit-input-placeholder {
  font-style: italic;
  color: #9b9b9b !important;
  font-weight: 300;
}
input::-moz-placeholder {
  /* Firefox 19+ */
  font-style: italic;
  color: #9b9b9b !important;
  font-weight: 300;
}
input:-ms-input-placeholder {
  /* IE 10+ */
  font-style: italic;
  color: #9b9b9b !important;
  font-weight: 300;
}
input:-moz-placeholder {
  /* Firefox 18- */
  font-style: italic;
  color: #9b9b9b !important;
  font-weight: 300;
}

/* Helper classes */
.push-top {
  margin-top: 20px;
}
.push-bottom {
  margin-bottom: 20px;
}
.push-y {
  margin-top: 20px;
  margin-bottom: 20px;
}
.bold {
  font-weight: bold;
}
.text-right {
  text-align: right;
}
.text-small {
  font-size: 0.65rem;
}

/*noinspection SpellCheckingInspection*/
.text-strikethru {
  text-decoration: line-through;
}
.text-warning {
  color: red !important;
}
.muted {
  color: #9e9e9e;
}
.left {
  text-align: left;
  margin-bottom: 5px;
}

/* Bootstrap */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: white;
  background-color: #36d3b0;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  padding: 3px 15px;
}

.btn:hover {
  opacity: 0.8;
}
.btn:active {
  box-shadow: inset 0 -1px 5px rgba(65, 117, 5, 0.42),
    0 0px 4px rgba(65, 117, 5, 0.21);
}
.btn:focus {
  box-shadow: inset 0 -1px 5px rgba(65, 117, 5, 0.42),
    0 0px 4px rgba(65, 117, 5, 0.21);
  text-decoration: none;
}

.btn-wide {
  width: 100%;
}

.box {
  width: 100%;
  padding: 25px 40px;
  border-radius: 10px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
  background: white;
  margin-bottom: 30px;
}

/* Modal overlay */
#overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 1000000;
  background: rgba(168, 168, 168, 0.15);
  display: none;
}

#overlay img {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
}

/* nav */
#ucircle {
  width: 40px;
  height: 40px;
  cursor: pointer;
}
#umenu {
  display: none;
  position: absolute;
  font-size: 14px;
  top: 58px;
  right: 23px;
  padding: 0;
  margin: 0;
  z-index: 1000;
}
#umenu ul {
  list-style-type: none;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  overflow: hidden;
  border: solid 1px #1a405e;
  padding: 0;
  margin: 0;
  background-color: white;
}
#umenu li {
  padding: 10px 20px;
  opacity: 1;
}
#umenu li:not(:first-child) {
  border-top: dotted 1px #888;
}
#umenu a {
  font-weight: bold;
  text-transform: capitalize;
  cursor: pointer;
  color: #10405f;
}
#umenu a:hover {
  color: #8ad;
  text-decoration: none;
}

#user-welcome {
  padding-right: 25px;
  line-height: 40px;
  text-align: center;
  vertical-align: middle;
  text-transform: capitalize;
}

nav.compt-navbar {
  background-color: #1a405e;
  height: 60px;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
}

.navbar-divider {
  border-left-style: solid;
  border-left-color: white;
  border-left-width: thin;
  height: 50px;
}

.navbar-company {
  padding-left: 18px;
  font-weight: bold;
}

.subnav {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 560;
  background-color: #bec9d6;
  border-bottom: solid 1px #bcc;
}
.subnav-content {
  justify-content: center;
}
.subnav-element {
  border-bottom: solid 3px rgba(0, 0, 0, 0);
  color: #a4a4b8;
  white-space: nowrap;
}
.subnav-element.current {
  color: white;
  border-bottom: solid 3px white;
}
.subnav-element.active:hover {
  border-bottom: solid 3px #1a405e;
}
.subnav-element a {
  display: block;
  padding: 8px 10px 4px;
  text-decoration: none;
}
.subnav-element a:hover {
  text-decoration: none;
}
.subnav-element a[href] {
  cursor: pointer;
  color: #1a405e;
}

.hamburger {
  position: relative;
  padding: 10px;
  border: 1px solid transparent;
  border: none;
}

.hamburger:focus {
  outline-width: 0;
}

.hamburger [class*="bar-"] {
  background: #1a405e;
  display: block;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
  height: 2px;
  width: 25px;
  margin-bottom: 4px;
}

.hamburger .bar-bot {
  margin-bottom: 0;
}

.opened .bar-top {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: 15% 15%;
  transform-origin: 15% 15%;
}
.opened .bar-mid {
  opacity: 0;
}
.opened .bar-bot {
  -webkit-transform: rotate(45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: 15% 95%;
  transform-origin: 15% 95%;
}

.border-compt {
  border: solid 1px #d4e5ff;
}

.card-compt {
  border-radius: 8px;
  border: solid 1px #d4e5ff;
}

.card-header-compt {
  border-bottom: solid 1px #d4e5ff;
  padding: 6px 10px;
}

.compt-card-list-item-header {
  margin-top: 10px;
  color: #66d9c8;
}

.card-header-text-compt {
  font-size: 16px;
  font-weight: 560;
  color: #1a405e;
}

.card-body-compt {
  padding: 10px;
  font-size: 13px;
}

.card-footer-compt {
  margin-top: 10px;
  padding: 0 10px;
  text-align: right;
  font-size: 13px;
}

.card-footer-compt a {
  color: #3ea1f2;
  text-decoration: none;
}

.card-footer-compt a:hover {
  opacity: 0.5;
}

.btn-secondary {
  background-color: #10405f;
}
.btn-secondary:hover {
  background-color: #23658f;
}

.btn-default {
  background-color: #d8d8d8;
  color: #8f8f8f;
}

.btn-default:hover {
  background-color: #c2c2c2;
}

.form-dark {
  background-color: #10405f;
  padding: 30px 20px 14px 20px;
  border-radius: 6px;
}
.form-signin-heading {
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 14px;
  border-radius: 3px;
}

select {
  padding: 8px 10px;
  border-radius: 3px !important;
}

ul.errorlist {
  margin-top: 1px;
  padding-left: 0;
}
ul.errorlist li {
  color: #fff;
  background-color: #f07272;
  padding: 3px;
  list-style-type: none;
  font-size: 13px;
  font-weight: 400;
}

/* Tables */
table.table-minimal {
  width: 100%;
  font-size: 1em;
}
table.table-minimal thead {
  border-bottom: solid 1px #aaa;
}
table.table-minimal th {
  padding: 5px;
  font-weight: 400;
}
table.table-minimal td {
  padding: 5px;
}
table.table-minimal tr:not(:first-child) {
  border-top: solid 1px #eee;
}
table.table-minimal input {
  font-size: 1em;
}
table.table-minimal select {
  font-size: 1em;
}

.table-main {
  width: 100%;
  background-color: white;
  font-size: 0.85em;
}
.table-main thead th {
  font-weight: 550;
  background-color: #f8fbfc;
  padding: 8px 12px;
  border-bottom: 1px solid #c9d3d7;
}
.table-main td {
  padding: 8px 12px;
}
.table-main tr {
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 2s ease-in;
  background-color: rgba(255, 255, 255, 0);
}
.table-main tr:not(:last-child) {
  border-bottom: 1px solid #eee;
}
.table-main tr.inactive {
  background-color: #f7f8f9;
}
.table-main tr.new {
  background-color: #dccccc;
}

/* Dashboard */
.dashboard-alert-box {
  text-align: center;
  background-color: #fde8b2;
  margin: 10px;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid transparent;
  box-shadow: 0 3px 3px 0 #ebebe1;
  -webkit-transition: box-shadow 150ms ease;
}

/* Payments/Stripe */
.StripeElement {
  background-color: white;
  height: 40px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
  width: 100%; /* Form disappears with this */
}

.StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
  border-color: #fa755a;
}

.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}

#card-errors {
  color: #fff;
  background-color: #f07979;
  padding: 4px;
}

/* Misc */
.signup-landing-img {
  margin-top: 60px;
  background-image: url("../img/landing-img.6bf857c7df78.png");
  height: 500px;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Footer */
.compt-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 20px;
  font-size: 13px;
  text-align: right;
  position: relative;
  bottom: 0;
  width: 100%;
  color: #808094;
}

.compt-footer hr {
  height: 5px;
  border: 0;
  box-shadow: inset 0 4px 4px -4px rgba(26, 64, 94, 0.5);
  margin: 3px;
}

.compt-footer a {
  margin: 10px;
  color: #808094;
}

/* For destructive button style */
.destructive {
  background-color: #e31717;
}

.termly-cookie-preference-button {
  border: 0px;
  padding: 0px;
  background: transparent;
  margin: 0 10px;
  color: #808094;
  font-weight: 100;
}

.compt-footer a:hover {
  text-decoration: underline;
}

.compt-footer img {
  height: 16px;
  width: 16px;
}

/* Toastr */

#toast-container {
  position: fixed;
  left: 50%;
  max-width: 320px;
  transform: translateX(-50%);
}

#toast-container .toast {
  opacity: 1;
  width: 100%;
}

#toast-container .toast-success {
  background-color: rgb(72, 224, 192);
}

#toast-container .toast-info {
  background-color: rgb(62, 161, 242);
}

#toast-container .toast-error {
  background-color: rgb(253, 40, 40);
}

/* Login page / Google signin */

.login-box {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
  background: white;
  margin: 80px auto 30px;
  max-width: 650px;
}
.sales-prompt {
  z-index: 1;
}
.sales-prompt-img {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.3;
  width: 100%;
  height: 100%;
  background-image: url("../img/contact-sales-prompt-img.2bcd9d2984b7.png");
  background-size: cover;
  border-radius: 10px;
}
.sales-prompt p {
  padding: 25px 30px;
  font-weight: 400;
  color: #1a405e;
}
.sales-prompt a:hover {
  text-decoration: none;
}

.login-form {
  max-width: 330px;
}
#sign-up-link {
  margin-top: 98px;
}
.google-hr {
  margin: 0 35px 23px;
  border-bottom: solid 1px #ccc;
  height: 13px;
}
.google-or {
  background: white;
  display: inline-block;
  padding: 0 5px;
  font-size: 13px;
  color: #888;
}
#google-signin-error {
  display: inline-block;
  font-size: 13px;
  color: red;
  margin-top: 10px;
}
.custom-google-signin-button {
  display: inline-block;
  background: white;
  border-radius: 9px;
  border: thin solid #36d3b0;
  white-space: nowrap;
  padding: 3px 8px;
}
.custom-google-signin-button .icon {
  display: inline-block;
  vertical-align: middle;
  width: 35px;
  height: 20px;
  background: white url("../img/google-signin-20x20.71b4b2f7aeb6.png") left no-repeat;
}
.custom-google-signin-button .label {
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: #36d3b0;
  vertical-align: middle;
  height: 20px;
}
.custom-google-signin-button:hover {
  cursor: pointer;
  opacity: 0.5;
}

.centered-label {
  display: block;
  padding-left: 15px;
  text-indent: -15px;
}

.centered-checkbox {
  width: 13px;
  height: 13px;
  vertical-align: bottom;
  position: relative;
  top: -5px;
}

div.error {
  padding: 1px 5px;
  color: white;
  background-color: #cc4444;
  display: none;
}

.table-main-view {
  margin: auto;
}

.table-main-wrapper {
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
  max-width: 100%;
}

.table-body-overflow {
  overflow: auto;
}

.table-main-wrapper::-webkit-scrollbar,
.table-body-overflow::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
  height: 7px;
}

.table-main-wrapper::-webkit-scrollbar-thumb,
.table-body-overflow::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.table-main-wrapper::-webkit-scrollbar-track,
.table-body-overflow::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}

.table-main-select-all-col {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  left: 0;
  border-left: solid 1px #d4e5ff;
}

.table-main-name-col {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  left: 100px;
}

.table-main-email-col {
  width: 224px;
  min-width: 224px;
  max-width: 224px;
  left: 250px;
}

.sticky-col {
  position: sticky;
  position: -webkit-sticky;
  background-color: white;
}

.inactive .sticky-col {
  background-color: #f7f8f9;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Allows these headers to be over the other headers when scrolling horizontally. */
.sticky-col-header {
  z-index: 2;
}

/* Groups and non-groups for both non- and intl */
.sticky-col-1 {
  position: sticky;
  left: 0;
}

/* Groups and non-groups with approved expenses shown for expense review */
.sticky-col-2-approved,
.sticky-col-2-nointl-approved {
  position: sticky;
  left: 85px;
}

/* Groups and non-groups with approved expenses shown for expense review */
.sticky-col-3-approved,
.sticky-col-3-nointl-approved {
  position: sticky;
  left: 173px;
}

.sticky-col-3-nointl-approved {
  box-shadow: inset -2px 0 0 #eee;
}

/* Groups and non-groups with approved expenses for intl expense review */
.sticky-col-4-approved {
  position: sticky;
  left: 249px;
  box-shadow: inset -2px 0 0 #eee;
}

/* Groups and non-groups without approved expenses for intl expense review */
.sticky-col-4 {
  position: sticky;
  left: 227px;
  box-shadow: inset -2px 0 0 #eee;
}

/* Groups and non-groups for intl auto approved and payroll cycle view */
.sticky-col-2-auto-cycle {
  position: sticky;
  left: 88px;
}

/* Groups and non-groups for intl auto approve and payroll cycle view */
.sticky-col-3-auto-cycle {
  position: sticky;
  left: 163px;
  box-shadow: inset -2px 0 0 #eee;
}

/* Groups and non-groups for non-intl auto approved and payroll cycle view */
.sticky-col-2-nointl-auto-cycle {
  position: sticky;
  left: 88px;
  box-shadow: inset -2px 0 0 #eee;
}

/* Groups and non-groups expense review */
.sticky-col-2-nointl-review,
.sticky-col-2 {
  position: sticky;
  left: 63px;
}

/* Groups and non-groups expense review */
.sticky-col-3-nointl-review,
.sticky-col-3 {
  position: sticky;
  left: 151px;
}

.sticky-col-3-nointl-review {
  box-shadow: inset -2px 0 0 #eee;
}

.approved-row {
  background-color: #dddddd !important;
}

.sticky-col-last {
  position: sticky;
  right: -16px;
  z-index: 1;
  -webkit-backface-visibility: hidden;
}

.sticky-col-last::before,
.sticky-col-last::after {
  content: "";
  display: block;
  width: 16px;
  position: sticky;
}

.sticky-col-last::before {
  left: 184px; /* 200 - 16 */
  box-shadow: 15px 0 15px -15px inset;
}

.sticky-col-last::after {
  z-index: 2;
  box-shadow: 2px 0 15px -15px inset;
  content: " ";
  height: 100%;
  position: absolute;
  top: 0;
  right: -15px;
  width: 15px;
}

.table-with-sticky-header {
  white-space: normal;
  max-height: 450px;
  border-bottom: solid #f4f4f4;
}

button[disabled] {
  cursor: not-allowed;
}

.progress-bar {
  background-color: #36d3b0;
}

.employee-modals .modal-dialog {
  min-width: 40%;
}

.employee-modals .tab-content {
  overflow: auto;
  max-height: 600px;
}

.custom-select {
  width: auto;
}

.approved-vendor-choice-list {
  display: flex;
  flex-wrap: wrap;
}

ul.approved-vendor-choice-list li.placeholder,
ul.approved-vendor-choice-list li {
  flex: 1 0 21%;
  margin: 5px;
  list-style-type: none;
}

ul.approved-vendor-choice-list li.placeholder {
  height: 2px;
}

.edit-auto-approve-settings-body {
  padding-right: 12px;
  padding-left: 12px;
}

.edit-auto-approve-settings-body p,
.edit-auto-approve-settings-body .description ol,
.edit-auto-approve-settings-body .description li {
  font-size: 16px;
  font-weight: 400;
}

.edit-auto-approve-settings-body .description ol {
  padding-inline-start: 18px;
}

.edit-auto-approve-settings-body .auto-approve-rules label {
  color: black;
}

.edit-auto-approve-settings-body-header,
.edit-auto-approve-settings-body
  .auto-approve-rules
  .auto-approve-rule-section
  > h2 {
  font-size: 24px;
  padding-bottom: 8px;
  padding-top: 16px;
}
.edit-auto-approve-settings-body
  .auto-approve-rules
  .auto-approve-rule-section
  > p {
  padding-bottom: 12px;
}

.edit-auto-approve-settings-body
  .auto-approve-rules
  .auto-approve-rule-section
  .auto-approve-selection-controls {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.edit-auto-approve-settings-body
  .auto-approve-rules
  .auto-approve-rule-section
  .auto-approve-selection-controls
  button {
  margin-right: 10px;
  margin-left: 10px;
}

.compt-collapsible-group .card {
  margin-bottom: 16px;
}

.compt-collapsible-group .card .card-header {
  padding: 0;
}

.compt-collapsible-group .card .card-header .card-header-content {
  display: flex;
  padding: 12px 8px;
}

.compt-collapsible-group .card .card-header .card-header-content > div {
  padding-right: 8px;
  padding-left: 8px;
}

.compt-collapsible-group
  .card
  .card-header
  .card-header-content
  > div.accordion-title {
  flex-grow: 1;
}

.compt-collapsible-group .card .card-header .card-header-content > h5 {
  font-weight: bold;
}

.compt-collapsible-group
  .card
  .card-header
  .card-header-content
  > .collapsible-toggle-icon {
  -moz-transition: all 0.35s ease-in-out;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

.compt-collapsible-group
  .card
  .card-header[aria-expanded="false"]
  .card-header-content
  > .collapsible-toggle-icon {
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

/* Avoid conflicts with tailwind */
.compt-collapsible-group .card .collapse {
  visibility: visible;
}

.border-right {
  border-right: 1px solid rgba(0, 0, 0, 0.125);
}

.text-button {
  cursor: pointer;
  padding-right: 16px;
  padding-left: 16px;
  color: #007bff;
}

.text-button:hover {
  text-decoration: underline;
}

.clickable {
  cursor: pointer;
}

.compt-category-icon {
  font-size: 2.5rem;
  color: white;
}

.compt-category-icon-container {
  width: 69px;
}

.compt-category-icon-container.fluid {
  width: auto;
}

.compt-category-icon-container.fluid .compt-category-icon {
  font-size: 1.5em;
}

.scrollable-div {
  max-height: 174px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  overflow-y: scroll;
}

.scrollable-div::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
  height: 7px;
}

.scrollable-div::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.scrollable-div::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}
.compt-faq.compt-collapsible-group {
  margin-top: 12px;
  margin-bottom: 12px;
}

.compt-faq .card-header-content {
  font-weight: bold;
}
.compt-faq .card-header {
  background: rgba(0, 0, 0, 0);
  border-bottom: none;
}

#bulk-upload-update-strategy ul {
  list-style-type: none;
}

.settings-page-anchor {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

.compt-legacy-logo {
  margin-left: 40px;
  margin-bottom: 10px;
}

.content-container {
  display: flex;
}

.team-page-container {
  margin: 20px;
}

#team-filter-container {
  display: flex;
}

@media (max-width: 600px) {
  .content-container {
    display: block;
    margin-left: 0px;
    max-width: 100%;
  }

  #logo-image {
    display: none;
  }

  #team-filter-container {
    display: none;
  }
}

@media (max-width: 800px) {
  #top-bar-doodle {
    display: none;
  }
}
