@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css");
@import url("./reset.css");
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&display=swap");

:root {
  --main-green-color: #2ba220;
  --main-gray-color: #7f7f7f;
}

/* general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  font-size: 14px;
  color: #7f7f7f;
  font-family: "Nunito", sans-serif;
  background-color: #f2f2f2;
}

/* login */
.login-wrapper {
  display: flex;
  min-height: 100%;
  align-items: stretch;
}
.login-container {
  flex: 1;
  background: #2ba220;
  background: linear-gradient(
    280deg,
    rgba(31, 115, 23, 1) 0%,
    rgba(43, 162, 32, 1) 80%
  );
  padding: 100px 0;
}
.login-container .logo {
  max-width: 114px;
  margin-bottom: 60px;
}
.login-container .logo img {
  width: 100%;
  display: block;
}

@media (max-width: 600px) {
  .login-container {
    /* width: 100%; */
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Form */

.form-success-container,
.form-danger-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 1;
}

.form-success-container .fa,
.form-danger-container .fa {
  color: #fff;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
}

.form-success-container .msg,
.form-danger-container .msg {
  text-align: center;
  color: #fff;
  font-size: 14px;
  display: block;
  padding: 15px 10px;
}
.form-danger-container .msg {
  background: #f55;
}
.form-success-container .msg {
  background: #2ba220;
}

.form-success-container.hidden-msg,
.form-danger-container.hidden-msg {
  opacity: 0;
}
.form-danger-container.hidden-msg .msg {
  padding: 0;
}

.form-group {
  position: relative;
}
.form-group label {
  display: block;
  color: #7f7f7f;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  margin-bottom: 8px;
}
.form-control {
  padding: 6px 10px;
  border: solid 1px #ddd;
  outline: none;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  /* width: 100%; */
  position: relative;
  flex: 1;
  transition: all 0.3s ease;
}
@media (max-width: 600px) {
  .form-control[name="order_number"] {
    max-width: 100% !important;
  }
}

.form-control.sm {
  max-width: 150px;
}

.form-control.md {
  max-width: 350px;
}
.form-control.doc,
.form-control.cep {
  max-width: 200px;
}
.form-control:focus {
  border: solid 1px #2ba220;
}

.form-control.cnpj {
  max-width: 250px;
}

.datepicker-cell.next:not(.disabled),
.datepicker-cell.prev:not(.disabled) {
  color: #ccc;
}
.datepicker-cell.selected,
.datepicker-cell.selected:hover {
  background-color: #2ba220;
}

.datepicker-controls .view-switch {
  font-family: "Nunito";
}

/* cep btn */
.cep-btn,
.cnpj-btn,
.search-btn {
  border-radius: 4px;
  background: #ccc;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  padding: 0 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.cep-btn:hover,
.cnpj-btn:hover,
.search-btn:hover {
  background-color: #b9b9b9;
}

.cep-btn {
  align-self: flex-start;
  padding: 7px 10px;
}

/* date field */
.date-item {
  position: relative;
  border: solid 1px #eee;
  background-color: #fff;
  border-radius: 4px;
  padding: 10px;
  padding-right: 30px;
  flex: 1;
  /* width: 100%; */
}
.date-item.readonly {
  background-color: #fff;
}
.date-item::after {
  font-family: "FontAwesome";
  display: inline-block;
  color: #7f7f7f;
  font-size: 14px;
  content: "\f073";
  position: absolute;
  top: 12px;
  right: 8px;
}
.date-item input {
  font-size: 14px;
  outline: none;
  border: none;
  font-family: "Nunito", sans-serif;
  width: 100%;
  cursor: auto !important;
  background-color: #fff;
}

.form-container {
}
.form-title {
  font-size: 40px;
  color: #fff;
  margin-bottom: 30px;
}

.form-container p {
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  margin-bottom: 30px;
}

.login-form {
}
.login-form .link {
  color: #fff;
  display: block;
  padding: 30px 0 0;
  text-decoration: underline;
}
.login-form .link:hover {
  text-decoration: underline;
}
.form-wrapper {
  max-width: 350px;
  margin: 0 auto;
  display: block;
}

.login-form .form-group label {
  display: block;
  min-height: 20px;
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  margin-bottom: 6px;
}
.login-form .form-control {
  display: block;
  width: auto;
  flex: 1;
  background: #fff;
  padding: 9px 7px;
  border-radius: 4px;
  border: none;
  font-family: "Nunito", sans-serif;
  outline: none;
  font-weight: 400;
  font-size: 16px;
  color: #7f7f7f;
}

.form-group {
  flex-direction: column;
  display: flex;
  margin-bottom: 30px;
}

@media (max-width: 600px) {
  .form-group {
    margin-bottom: 15px;
  }
}

.form-control::placeholder {
  color: #ccc;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
}

.form-control.ddd {
  max-width: 60px;
  margin-right: 15px;
}
.form-control.phone {
  flex: 1;
  max-width: 250px;
}

.login-form .form-control.phone {
  /* flex: 1; */
  width: auto;
}

.login-form .form-btn {
  text-align: center;
  flex: 1px;
  padding: 12px 7px;
  background: #2ba220;
  color: #fff;
  flex: 1;
  align-items: center;
  display: block;
  border-radius: 4px;
  font-weight: 800;
  font-size: 20px;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  outline: none;
  cursor: pointer;
  width: 100%;
}
.login-form .form-btn:hover {
  background: #27b61a;
}

.art-container {
  flex: 1;
  background: #fff url("../img/login-bg.png") no-repeat 0 0;
  background-size: 100%;
  min-height: 100%;
  display: flex;
}
.art-container.admin {
  background: #f5f6fa url("../img/login-admin-bg.png?v=1") no-repeat 0 50%;
}

@media (max-width: 600px) {
  .art-container {
    display: none;
  }
}

/* Admin structure */
.admin-wrapper {
  display: flex;
  padding-right: 30px;
  align-items: stretch;
  min-height: 100%;
}

@media (max-width: 600px) {
  .admin-wrapper {
    padding-right: 0;
    position: relative;
    overflow-x: hidden;
    flex-direction: column;
  }
}

/* Admin header */
.admin-header {
  height: 70px;
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
  background: #2ba220 url("../img/header-bg.png") repeat-x 0 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.admin-header .title {
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  font-family: "Nunito";
  margin: 0 0 0 30px;
  position: relative;
  bottom: -20px;
  opacity: 0.5;
}

@media (max-width: 600px) {
  .admin-header .title {
    margin: 0 15px;
    font-size: 48px;
    text-align: center;
    bottom: auto;
  }
}

/* Sidebar */
.sidebar {
  background: #fff;
  flex: 1;
  margin-right: 30px;
  padding: 20px;
  min-width: 250px;
  max-width: 300px;
}

.mobile-menu {
  display: none;
}

.show-mobile-menu {
  display: none;
}

@media (max-width: 600px) {
  .mobile-menu {
    height: auto;
    padding: 10px 0;
    background: #fff;
    display: block;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin: 0 15px;
    position: relative;
  }

  .mobile-menu .logo {
    display: block;
    margin: 0 auto;
    max-width: 100px;
  }

  .sidebar {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-right: 0;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    height: 0;
    z-index: 2;
    padding: 0;
    opacity: 0;
    border-bottom: solid 1px #eee;
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .sidebar .sidebar-logo {
    display: none;
  }

  .show-mobile-menu,
  .show-search {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    padding: 8px;
    background-color: #fff;
    border-radius: 4px;
    font-size: 22px;
    transition: all 0.3s ease;
    transform: translateY(-50%);
  }

  .show-search {
    right: 0;
    left: auto;
  }

  .sidebar.menu-visible {
    height: auto;
    opacity: 1;
    padding: 40px 20px 20px 0;
    transition: all 0.3s ease;
    overflow: visible;
  }
}

.sidebar-logo {
  max-width: 114px;
  margin: 0 auto;
  margin-bottom: 45px;
}
@media (max-width: 600px) {
  .sidebar-logo {
    margin-bottom: 0;
  }
}
.sidebar-logo img {
  display: block;
  width: 100%;
}

.sidebar-nav {
  padding: 0 0 0 30px;
}
@media (max-width: 600px) {
  .sidebar-nav {
    padding: 20px;
  }
}
.sidebar-nav ul {
}
.sidebar-nav ul li {
  align-items: center;
  justify-content: center;
  color: #7f7f7f;
  font-size: 14px;
  font-weight: 700;
  font-family: "Nunito";
  margin-bottom: 30px;
}
.sidebar-nav ul li .ico {
  display: inline-block;
  margin-right: 10px;
  top: 2px;
  position: relative;
}
.sidebar-nav ul li .ico img {
  display: block;
}
.sidebar-nav ul li a {
  color: #7f7f7f;
  font-weight: 700;
  text-decoration: none;
}
.sidebar-nav ul li a:hover {
  color: #35b629;
}

.sidebar-box {
  margin-top: 100px;
  position: relative;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
}
.sidebar-box .crown {
  position: relative;
  top: -90px;
  display: block;
  max-width: 85px;
  margin: 0 auto;
}
.sidebar-box-content {
  margin-top: -60px;
}
.sidebar-box-content p {
  font-size: 13px;
  font-weight: 700;
  font-family: "Nunito";
}

/* main  */
.main-content {
  flex: 4;
}

@media (max-width: 600px) {
  .main-content {
    flex: 1;
    padding: 0 15px;
    width: 100%;
  }
}

.default-container {
  margin-bottom: 30px;
  background: #fff;
  /* padding: 20px 30px 30px; */
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  box-shadow: 1px 1px 4px rgba(210, 210, 210, 0.4);
}

@media (max-width: 600px) {
  .default-container {
    padding: 15px;
  }
}

.default-container.success,
.default-container.danger {
  padding: 20px;
  color: #fff;
}
.default-container.success {
  background-color: #2ba220;
}
.default-container.danger {
  background-color: #f55;
}

.default-container-title {
  padding: 8px 10px;
  background: #fafafa;
}
.default-container-content {
  background: #fafafa;
  padding: 8px 10px;
}
.address-content {
  font: 600 14px "Nunito";
  color: #222;
  line-height: 1.8em;
}
.address-content span {
}
.address-content a {
  text-decoration: underline;
  color: #222;
}

.address-content span::after,
.bullet-list span::after {
  width: 6px;
  height: 6px;
  content: "";
  display: inline-block;
  border-radius: 3px;
  background-color: #d8d8d8;
  margin: 0 15px;
}
.address-content span:last-child::after,
.bullet-list span:last-child::after,
.default-container span.last::after {
  display: none;
}

/* Orcamento stats */
.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding-bottom: 20px; */
}
.stats-container .stat {
  display: flex;
  flex-direction: column;
}
.stats-container .stat:last-child {
  display: flex;
  justify-content: flex-end;
}
.stats-container .stat .title {
  color: #7f7f7f;
  font-size: 14px;
  font-family: "Nunito";
  font-weight: 600;
}
.stats-container .stat .text {
  color: #222;
  font-size: 30px;
  font-family: "Nunito";
  font-weight: 800;
}
.stats-container .stat-btn {
  color: #222;
  font-size: 30px;
  font-family: "Nunito";
  font-weight: 700;
  padding: 10px;
  text-align: center;
  border: solid 2px #ccc;
  border-radius: 4px;
  min-width: 175px;
}
.stats-container .stat-btn.green {
  border-color: #2ba220;
  color: #2ba220;
}
.stats-container .stat-btn.gray {
  border-color: #c6c6c6;
  color: #7f7f7f;
}

@media (max-width: 600px) {
  .stats-container {
    flex-direction: column;
    /* text-align: center; */
    align-items: flex-start;
  }
  .stats-container .stat {
    margin-bottom: 10px;
  }
}

/* Filter */
.filter-container {
  margin-bottom: 30px;
  background: #fff;
  padding: 20px 30px 0 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  box-shadow: 1px 1px 4px rgba(210, 210, 210, 0.4);
  transition: all 0.3s ease;
}
.filter-container .form-group {
  /* flex: 1; */
  /* margin-right: 60px; */
}

@media (max-width: 600px) {
  .filter-container {
    flex-direction: column;
    align-items: flex-start;
    /* opacity: 1;
    height: auto; */
  }
  .filter-container .form-group {
    width: 100%;
  }
  .filter-container.hidden {
    opacity: 0;
    height: 0;
    margin-bottom: 0;
    padding: 0;
  }
}

.filter-container .form-group:last-child {
  margin-right: 0;
}
.filter-container .btn-container {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .filter-container .btn-container label {
    display: none;
  }
}
.filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: #c6c6c6;
  outline: none;
  border: none;
  font-size: 14px;
  font-weight: 400;
  font-family: "Nunito";
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.filter-btn span {
  font: 500 14px "Nunito", sans-serif;
}
.filter-btn:hover {
  background: #d1d1d1;
}
.filter-btn .ico {
  padding-left: 12px;
}
@media (max-width: 600px) {
  .filter-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

.filter-container select {
  min-width: 150px;
  outline: none;
}

.filter-container select option {
  outline: none;
}

.filter-container .date-item input {
  width: 100px;
}

.filter-container.admin .form-group {
  margin-right: 0;
}
.filter-container.jc-inherit .form-group {
  margin-right: 25px;
}

/* Services */
.company-fields {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}
.company-fields.shown {
  visibility: visible;
  opacity: 1;
}

.company-fields .user-pic {
  width: 80px;
  height: 80px;
  background: gra;
  text-align: center;
  border-radius: 10px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.company-fields .user-pic > img {
  object-fit: cover;
  width: 80px;
  height: 80px;
}

/* listas para tabelas  */
.list-container {
  margin-bottom: 30px;
  background: #fff;
  padding: 20px 30px;
  border-radius: 4px;
  box-shadow: 1px 1px 4px rgba(210, 210, 210, 0.4);
}

@media (max-width: 600px) {
  .list-container {
    padding: 15px;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  align-items: center;
}
.breadcrumbs::after {
  content: "";
  display: table;
  clear: both;
}
.breadcrumbs ul {
  flex: 1;
}
.breadcrumbs li {
  float: left;
  font-size: 12px;
}
.breadcrumbs li::after {
  content: "\f105";
  font-family: "FontAwesome";
  font-size: 16px;
  display: inline-block;
  margin: -1px 15px 0 15px;
}
.breadcrumbs li:last-child::after {
  display: none;
}
.breadcrumbs li a {
  text-decoration: underline;
  color: var(--main-gray-color);
  font-size: 12px;
}
.breadcrumbs li a:hover {
  color: #2ba220;
}

.breadcrumbs .back-btn {
  float: right;
  padding: 6px 10px;
  min-width: 130px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-family: "Nunito";
  font-size: 18px;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.search-brand-form {
  display: flex;
  min-width: 400px;
}
.search-brand-form button {
  margin-left: 20px;
}

/* Table */
.table {
  width: 100%;
  font-family: "Nunito";
  color: #7f7f7f;
  border-collapse: collapse;
}

.table tr {
}
.table tr th,
.default-container-title {
  background: #fafafa;
  font-weight: 500;
  padding: 8px 0;
  text-align: left;
  padding-left: 8px;
}
.default-container-title {
  margin-bottom: 15px;
}

.table tr td {
  color: #222;
  font-weight: 600;
  transition: all 0.2s ease;
}
.table.no-link tr td {
  padding: 16px 5px 16px 10px;
  padding-left: 8px;
  /* vertical-align: top; */
}
.table tr td a:not(.pic-link):not(.btn):not(.table-link) {
  padding: 16px 10px;
  padding-left: 8px;
  display: block;
}

@media (max-width: 600px) {
  .table tr td a:not(.pic-link):not(.btn):not(.table-link) {
    padding: 16px;
  }
}

.table tr td p {
  line-height: 2em;
}

.table .table-link {
  color: #222;
}
.table tr td a {
  text-decoration: none;
}
.table .col-ico,
.table tr td:last-child:not(.not-center) {
  text-align: center;
  padding: 0;
}
.table tr td:last-child .select2-selection {
  text-align: left;
}
.table tr:nth-child(2n + 1) {
  background: #fafafa;
}

.table tr td > a:not(.btn) {
  font-family: "Nunito";
  color: #222;
  text-decoration: none;
}
.table:not(.totals) tr:hover td {
  background: #f5f5f5;
}
.table tr td > a:not(.btn):hover {
}
.table .date-item {
  padding-top: 7px;
  padding-bottom: 7px;
}
.table select.form-control,
.table .select2 {
  width: 100% !important;
  padding-left: 5px;
}

/* .table tr td > a:hover .text-yellow {
  text-decoration: underline;
  color: #c9c198;
  } */

.table .user-pic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 2px #fff;
  background: #eee;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 40%,
    rgb(221, 221, 221) 110%
  );
  overflow: hidden;
  margin: 0 auto;
}
.table .user-pic img:not(.ico),
.modal .user-pic img {
  object-fit: cover;
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.table.products tr.inactive * {
  cursor: not-allowed;
}
.table.products tr.inactive td {
  color: #7f7f7f;
}
.table.products tr.inactive input {
}
.table.products tr.inactive input:focus {
  border-color: #ddd;
}
.table.products tr.inactive .btn {
  background-color: #ff7474;
  text-decoration: none;
}

.table.products .form-control {
  width: 100%;
}

@media (max-width: 600px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  th {
    display: none;
  }

  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table:not(.totals) tr:hover td {
    background: none;
  }

  .table tr:first-child {
    display: none;
  }

  .table tr {
    /* border-bottom: solid 1px #eee; */
    padding-bottom: 30px;
  }

  .table .col-ico,
  .table tr td:last-child:not(.not-center) {
    text-align: left;
    padding-left: 55%;
  }

  table.products tr td:last-child:not(.not-center) {
    padding: 14px 0;
  }

  .table .col-ico img {
    display: block;
    margin-top: 10px;
  }

  .table tr:nth-child(2n + 1) {
    background: none;
  }

  td,
  table.products td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50% !important;
  }
  table.products td {
    padding-left: 48% !important;
  }
  td:last-child {
    border: none;
    text-align: left;
  }

  tr:before {
    width: 100%;
    font-weight: 700;
    display: block;
    color: #999;
    padding: 5px;
    background-color: #eee;
  }

  .quotes-table tr::before {
    content: "Solicitação";
  }

  table.products tr::before {
    content: "Produto";
  }

  table.products .select2,
  table.products select,
  table.totals .form-control {
    width: 100% !important;
  }

  td:before {
    width: 45%;
    font-weight: 700;
    display: block;
    color: #999;
    position: absolute;
    top: 6px;
    left: 6px;
    padding-right: 10px;
    white-space: nowrap;
    padding-top: 8px;
  }

  table.products td:before {
    width: 45% !important;
  }

  .quotes-table tr td:last-child img {
    margin-left: 10px;
    margin-top: 10px;
    display: inline-block;
  }

  .quotes-table tr td:nth-of-type(1)::before {
    content: "Data";
  }
  .quotes-table tr td:nth-of-type(2)::before {
    content: "Número";
  }
  .quotes-table tr td:nth-of-type(3)::before {
    content: "Veículo";
  }
  .quotes-table tr td:nth-of-type(4)::before {
    content: "Fase";
  }
  .quotes-table tr td:nth-of-type(5)::before {
    content: "Ícone visual";
  }

  table.products tr td:nth-of-type(1)::before {
    content: "Descrição";
  }
  table.products tr td:nth-of-type(2)::before {
    content: "Qtd.";
  }
  table.products tr td:nth-of-type(3)::before {
    content: "Marca";
  }
  table.products tr td:nth-of-type(4)::before {
    content: "Total";
  }
  table.products tr td:nth-of-type(5)::before {
    content: "";
  }

  table.totals tr td:nth-of-type(1)::before {
    content: "Valor total (R$)";
  }

  table.totals tr td:nth-of-type(2)::before {
    content: "Parcelas";
  }
  table.totals tr td:nth-of-type(3)::before {
    content: "Taxa de entrega (R$)";
  }
  table.totals tr td:nth-of-type(4)::before {
    content: "Validade orçamento";
  }
}

/* --------------- */

/* Vehicle (no detalhe do orçamento) */
.vehicle-container {
  display: flex;
  flex-direction: row;
  /* padding-bottom: 20px; */
  align-items: center;
}

@media (max-width: 600px) {
  .vehicle-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

.vehicle-container .ico {
  margin-right: 20px;
}

.vehicle-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vehicle-info-body {
  display: flex;
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .vehicle-info-body {
    margin-bottom: 12px;
  }
}

.vehicle-info-body span,
.vehicle-info-foot .person-name {
  font: 700 16px "Nunito";
  color: #222;
  text-transform: uppercase;
}

.vehicle-info-body span::after,
.vehicle-info-foot span::after {
  width: 6px;
  height: 6px;
  content: "";
  display: inline-block;
  border-radius: 3px;
  background-color: #d8d8d8;
  margin: 0 15px;
}

.vehicle-info-foot span.no-bullet::after {
  display: none;
}

@media (max-width: 600px) {
  .vehicle-info-body span::after,
  .vehicle-info-foot span::after {
    margin: 0 8px;
  }
}

.vehicle-info-body span:last-child::after,
.vehicle-info-foot span:last-child::after {
  display: none;
}

.vehicle-info-foot {
  line-height: 1.7em;
}

@media (max-width: 600px) {
  .vehicle-info-foot {
    margin-bottom: 12px;
  }
}

.vehicle-info-foot span {
  font: 400 14px "Nunito";
  color: #7f7f7f;
}

.vehicle-instructions {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.vehicle-instructions .instructions-text {
  display: inline-block;
  max-width: 110px;
}

/* Tooltip */
.tip-parent {
  position: relative;
}
.tip-parent .tip {
  min-width: 110px;
  text-align: center;
  height: auto;
  position: absolute;
  display: block;

  padding: 15px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  background: #fff;
  border-radius: 4px;
  box-shadow: 1px 1px 4px rgba(210, 210, 210, 1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  color: #7f7f7f;
}
.tip-parent .tip p {
  color: #7f7f7f;
}
.tip-parent:hover .tip {
  opacity: 1;
  visibility: visible;
}

.tip-parent .tip-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #fff;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);

  box-shadow: 2px 2px 2px rgba(210, 210, 210, 0.3);
  transform: rotate(45deg);
  /* border-right: solid 1px #eee; */
  /* border-bottom: solid 1px #eee; */
}

.tip-parent .tip-arrow.left {
  bottom: 50%;
  left: -8px;
  transform: rotate(130deg) translate(0, -50%);
}

/* Pagination */
.pagination {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.pagination-form input {
  max-width: 30px;
  border: solid 1px #ccc;
  border-radius: 4px;
  padding: 4px;
  outline: none;
  font-family: "Nunito";
  color: #7f7f77;
}

.pagination-form {
  min-width: 100px;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.pagination-form i {
  font-size: 18px;
  cursor: pointer;
}

/* Lists */
.related-items {
  /* margin-bottom: 30px; */
  display: flex;
  flex-direction: column;
}
.related-items .list-item {
  display: flex;
  flex-direction: row;
  /* width: 100%; */
  padding: 20px;
  justify-content: space-between;
  color: #222;
  font-weight: 600;
  font-family: "Nunito";
  /* text-transform: uppercase; */
}
.related-items .list-item:nth-child(odd) {
  background-color: #f5f5f5;
}
.related-items .list-item .ico {
  margin-right: 105px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .related-items .list-item .ico {
    margin-right: 0;
  }
  .related-items .list-item {
    /* display: block; */
    font-size: 13px;
  }
  .related-items .list-item div {
    margin-right: 15px;
    /* float: left; */
  }
  .related-items .list-item div:last-child {
    margin-right: 0;
  }
}

.related-items .list-item div {
  /* flex: 1; */
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.related-items .list-item div:last-child {
  justify-content: flex-end;
}
.related-items .btn,
.btn {
  padding: 6px 10px;
  min-width: 130px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-family: "Nunito";
  transition: all 0.2s ease;
  border-radius: 4px;
  border: none;
  outline: none;
}

@media (max-width: 600px) {
  .related-items .btn {
    /* font-weight: 400; */
  }
}

.btn.lg {
  font-size: 18px;
  padding: 6px 30px;
}

[data-action="dont-have"] {
  cursor: default;
}
[data-action="dont-have"].curp {
  cursor: pointer;
}

.btn.has-span {
  padding: 0;
}
.btn.has-span span {
  padding: 6px 20px;
  display: block;
  min-width: 130px;
}

/* green */
.btn-green {
  background-color: #2ba220;
}
.btn-green:hover {
  background-color: #27b61a;
}

/* white */
.btn-white {
  background-color: #fff;
  border: solid 1px #eee;
  color: #555;
}
.btn-white:hover {
  background-color: #fff;
}

/* red */
.btn-red {
  background-color: #ff7474;
}

/* gray */
.btn-gray {
  background-color: #c6c6c6;
}
.btn-gray:hover {
  background-color: #d1d1d1;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 3;
  display: none;
}
.modal,
.modal-pass {
  display: none;
  padding: 20px;
  background: #fff;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 500px;
  border-radius: 10px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transition: all 0.5s ease;
}

@media (max-width: 600px) {
  .modal,
  .modal-pass {
    top: 80px;
    transform: none;
    margin: 0 auto;
    left: 2.5%;
  }
}

#modal-vehicles ul li {
  margin-bottom: 15px;
}

/* loading */
.loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: 5;
}
.loading img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
}

.modal.md {
  min-width: 600px;
}
.modal.lg {
  min-width: 900px;
}

@media (max-width: 600px) {
  .modal.md,
  .modal.lg {
    width: 95%;
    min-width: 300px;
  }
}

/* modal companies */
.modal.companies {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  /* width: 700px; */
}

.modal.companies .company-info {
}

.modal.companies .company-info .item {
  margin-bottom: 20px;
  display: flex;
  padding: 0.5rem;
}
.modal.companies .company-info .item .d-flex {
  justify-content: center;
}

.modal.companies .company-info .item:nth-child(even) {
  background-color: #f5f5f5;
}

.modal .brand-span {
  margin: 5px 0;
}
.modal .model-span {
  margin-left: 10px;
}

.modal .toggle-more-vehicles {
  font-size: 11px;
}

.modal .name-span {
  font-weight: 700;
  text-transform: capitalize;
}

.modal .show-container {
  display: block;
}
.modal .hide-container {
  display: none;
}

.modal .vehicle-list {
  padding-top: 15px;
}

.modal .vehicle-list li {
  margin-bottom: 20px;
}
.modal .vehicle-list li:last-child {
  margin-bottom: 0;
}

.modal.warning {
  background-color: #fffbe6;
  border: solid 1px #ffe58f;
}
.modal.warning .fa {
  color: #faad14;
}

.modal.warning p {
  padding-right: 10px;
}

.modal.warning .close-modal,
.modal .fa-close {
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.modal .fa-close {
  font-size: 20px;
  color: #555;
}

.store-title span {
  font-weight: bold;
}
.modal.modal-shown,
.modal-pass.modal-shown {
  display: block;
}

.modal .user-info {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}
.modal .user-info .name {
  color: #222;
  margin-bottom: 15px;
  font-weight: 600;
}
.modal .user-info .form-control {
  padding: 0 5px;
}

.user-pic-modal {
  width: 80px;
  height: 80px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  margin-right: 30px;
  background: #eee;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 40%,
    rgb(221, 221, 221) 110%
  );
  overflow: hidden;
}

.user-pic-modal img:not(.ico) {
  object-fit: cover;
  display: block;
  width: 80px;
  height: 80px;
}

.modal-btn {
  min-height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* send password form */
.pass-form .ddd {
  width: 60px;
  margin-right: 15px;
}
.pass-form .phone {
  max-width: 200px;
}
.pass-form .buttons {
  display: flex;
}
.pass-form .btn {
  display: inline-block;
  padding: 10px 8px;
  border-radius: 4px;
  background: #000;
  color: #fff;
  flex: 1;
  font-size: 20px;
  text-align: center;
  font-family: "Nunito";
  transition: all 0.2s ease;
  text-decoration: none;
}
.pass-form .btn-gray {
  background-color: #c6c6c6;
}
.pass-form .btn-gray:hover {
  background-color: #ccc;
}
.pass-form .btn-green {
  background-color: #2ba220;
}
.pass-form .btn-green:hover {
  background-color: #27b61a;
}

/* Store */
.store-upload {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  /* justify-content: space-evenly; */
}
.store-upload *:not(.store-img):not(.store-img-icos) {
  margin-bottom: 15px;
}

.store-upload .pic {
  width: 100px;
  height: 100px;
  background: #f7f7f7;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: dotted 2px #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-content: space-between;
  border-radius: 8px;
}
.store-upload .pic:hover {
  background-color: #f1f1f1;
}

.store-upload img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.store-upload .pic.lg {
  min-width: 200px;
  height: 80px;
}

.store-upload .pic .ico {
  font-size: 20px;
  margin-bottom: 10px;
}

.store-upload img:not(.pic) {
  width: 100%;
  max-width: 300px;
  height: 100%;
}

@media (max-width: 600px) {
  .store-upload img:not(.pic) {
    height: 100%;
  }
}

.remove-category-img,
.remove-pub-img {
  font-size: 24px;
  position: absolute;
  top: 0;
  right: 20%;
  cursor: pointer;
}

.remove-pub-img {
  font-size: 14px;
  top: 15px;
  min-width: 100px;
}
.store-form {
  flex: 1;
}

.store-img-icos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.photo-field {
  display: none;
}
.store-img {
  transition: all 0.3s ease;
  visibility: hidden;
  opacity: 0;
  object-fit: cover;
  overflow: hidden;
  height: 0;
  width: 0;
}

.store-img.shown {
  visibility: visible;
  opacity: 1;
  height: 100px;
  width: 100px;
}

.store-upload .pic.lg .store-img.shown {
  height: 80px;
  width: 200px;
}

.send-button-container {
  margin-bottom: 30px;
  flex-direction: row;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .send-button-container .btn {
    flex: 1;
  }
}

/* send form btn */
.send-btn {
  padding: 10px 15px;
  min-width: 220px;
  display: block;
  text-align: center;
  background-color: #2ba220;
  color: #fff;
  border: none;
  outline: none;
  font: 700 20px "Nunito";
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
  text-decoration: none;
}
.send-btn:hover {
  background-color: #27b61a;
}

@media (max-width: 600px) {
  .send-btn {
    flex: 1;
  }
}

.send-btn.has-span {
  padding: 0;
}

.send-btn.has-span span {
  padding: 10px 15px;
  display: block;
  color: #fff;
}

/* gray */
.send-btn.gray {
  background-color: #c6c6c6;
}
.send-btn.gray:hover {
  background-color: #bbb;
}

.send-btn.red {
  background-color: #a22020;
}
.send-btn.red:hover {
  background-color: #ad2323;
}

.store-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.store-item:nth-child(even) {
  background-color: #fafafa;
}
.store-item-col {
  flex: 1;
}
.store-item-col.ico {
  max-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-item-col .col-title,
.store-container .col-title {
  padding: 10px 10px 10px 5px;
  background: #fafafa;
  margin-bottom: 20px;
}

.store-container .col-title.has-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.store-container .col-title.has-items .first,
.store-item-col.first {
  width: 450px;
  display: block;
  flex: none;
}

/* @media (min-width: 1280px) {
  .store-container .col-title.has-items .first {
    min-width: 410px;
  }
}

@media (min-width: 1300px) {
  .store-container .col-title.has-items .first {
    min-width: 450px;
  }
}

@media (min-width: 1400px) {
  .store-container .col-title.has-items .first {
    min-width: 530px;
  }
}

@media (min-width: 1600px) {
  .store-container .col-title.has-items .first {
    min-width: 700px;
  }
}

@media (min-width: 1900px) {
  .store-container .col-title.has-items .first {
    min-width: 1020px;
  }
} */

.store-container .col-title.has-items .title-item {
  flex: 1;
}

.store-container .col-title.has-items .title-item.first {
  flex: none;
}

.store-item-col .col-content {
  margin-right: 30px;
  padding: 10px;
}
.store-item-col:last-child .col-content {
  display: flex;
  justify-content: flex-end;
}

.store-item-col:last-child .col-content {
  margin-right: 0;
  /* text-align: center; */
}

.store-item-col p {
  color: #222;
  font-weight: 600;
  line-height: 1.5em;
}

.store-item-col p span::after {
  width: 6px;
  height: 6px;
  content: "";
  display: inline-block;
  border-radius: 3px;
  background-color: #d8d8d8;
  margin: 0 15px;
}

.store-item-col p span:last-child::after {
  display: none;
}
.store-item-col p a {
  text-decoration: underline;
  color: #222;
}

.categories-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 5px;
  border: solid 1px #ccc;
  max-height: 235px;
  overflow-y: auto;
}

.categories-list li {
  display: block;
  margin-bottom: 4px;
}
.categories-list li label {
  display: flex;
  align-items: center;
  padding: 8px;
  margin-bottom: 0;
}

.categories-list li:hover,
.categories-list li.active {
  background-color: #e6f7ff;
}

.categories-list li input {
  margin-right: 6px;
}

/* Products lista modal */
.products-list {
  transition: all 0.2s ease;
}
.products-list li {
  cursor: pointer;
  display: block;
  padding: 10px;
  transition: all 0.2s ease;
}

.products-list li:nth-child(odd) {
  background: #f5f5f5;
}
.products-list li:hover {
  background: #e1e1e1;
}
#modal-products {
  height: auto;
  /* min-height: 400px; */
  max-height: 600px;
  overflow-y: auto;
}

#modal-products .product-name-field {
  max-width: 300px;
}

#modal-products .fields-container {
  padding: 30px 0 0;
  display: flex;
  flex-direction: column;
}

#modal-products .fields-container .form-row {
  display: flex;
  align-items: flex-start;
}

#modal-products .fields-container .form-row:nth-child(2) .form-group {
  max-width: 180px;
}

#modal-products .fields-container .form-group {
  flex: 1;
  margin-right: 15px;
}

#modal-products .fields-container .form-group.bold {
  font-weight: bold;
}

#modal-products .fields-container .check-group {
  position: relative;
  top: 30px;
  max-width: 120px;
}

#modal-products .fields-container .check-group label {
  display: flex;
  align-items: center;
}

#modal-companies {
  max-height: 600px;
}

/* Helpers */

/* paddings */

.p-b-30 {
  padding-bottom: 30px;
}

/* margins */
.m-r-10 {
  margin-right: 10px;
}
.m-r-15 {
  margin-right: 15px;
}
.m-r-30 {
  margin-right: 30px;
}
.m-r-60 {
  margin-right: 60px;
}
.m-r-65 {
  margin-right: 65px;
}

.m-t-20 {
  margin-top: 20px;
}

.m-t-30 {
  margin-top: 30px;
}

@media (max-width: 600px) {
  .m-r-65 {
    margin-right: 0;
  }
}

.m-b-20 {
  margin-bottom: 20px;
}
.m-b-30 {
  margin-bottom: 30px;
}
.m-b-60 {
  margin-bottom: 60px;
}

/* texts */
.text-gray {
  color: #7f7f7f;
}
.text-black {
  color: #222222;
}
.text-green {
  color: #2ba220;
}
.text-yellow {
  color: #c9c198;
}
.semi-bold {
  font-weight: 600;
}
.bold {
  font-weight: 800;
}

/* form  */
input[type="text"]:read-only,
textarea:read-only,
select:disabled {
  background-color: #f1f1f1;
  color: #aaa;
  cursor: not-allowed;
}

.tdu {
  cursor: pointer;
  text-decoration: underline !important;
}

/* flex */
.flex-1 {
  flex: 1;
}

.flex-50p {
  flex: 50%;
}

.d-flex {
  display: flex;
}
.f-row {
  flex-direction: row;
}

/* mobile */
@media (max-width: 600px) {
  .f-row {
    flex-direction: column;
  }
  .row-group .f-row {
    flex-direction: row;
    align-items: flex-start;
  }
  table.products .f-row {
    flex-direction: row;
  }
  table.products .form-control {
    width: 100%;
  }
}

table.products .brand-item {
  width: 100%;
}

table.products .order-item {
  width: 100%;
}

.f-row .form-group {
  margin-right: 15px;
  flex: 1;
}
.f-col {
  flex-direction: column;
}

.jc-inherit {
  justify-content: inherit;
}
.jc-center {
  justify-content: center;
}
.jc-space-b {
  justify-content: space-between;
}
.jc-end {
  justify-content: flex-end;
}

.ai-center {
  align-items: center;
}

.ai-start {
  align-items: flex-start;
}

.is-invalid {
  border: solid 1px #f55;
}

.invalid-feedback {
  color: #f55;
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
}

.login-form .invalid-feedback {
  color: #d3ffcf;
}
.login-form .invalid-feedback {
  display: block;
  margin-bottom: 5px;
}

.login-form .feedback-container {
  padding: 5px;
  display: block;
  border: solid 1px #52d245;
  border-radius: 4px;
  margin-bottom: 10px;
}

.pagination {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.pagination .page-item {
  display: inline-block;
}
.pagination .page-item {
  border-radius: 2px;
}

.pagination .page-item a {
  text-decoration: none;
  display: block;
  padding: 8px 16px;
  color: var(--main-gray-color);
  border-radius: 2px;
}

.pagination .page-item a:hover {
  background-color: #ddd;
}

.pagination .page-item.active {
  background: var(--main-green-color);
  color: #fff;
  display: inline-block;
  padding: 8px 16px;
}

.pagination .page-item a[rel="next"],
.pagination .page-item a[rel="prev"],
.pagination .page-item.disabled {
  font-size: 20px;
  padding: 5px 16px;
}

.pagination .page-item.disabled {
  padding: 8px 16px;
}

.db {
  display: block;
}

.cp {
  cursor: pointer;
}

/* choices */
.choices {
  margin-bottom: 0;
}
.choices * {
  outline: none;
}
.choices__inner {
  background: #fff;
  vertical-align: initial;
  padding: 0;
  min-height: auto;
  overflow: visible;

  border: solid 1px #ddd;
  outline: none;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  position: relative;
  flex: 1;
  transition: all 0.3s ease;
}

.choices__list--single {
  padding: 0;
}

.choices__placeholder {
  opacity: 1;
}

.choices__list--dropdown .choices__list {
  max-height: 200px;
}

.choices__list--single .choices__item {
  padding: 7px;
  color: #333;
}
.choices__list--dropdown {
}
.choices__list--dropdown .choices__item {
  word-break: normal;
  padding: 5px;
}

@media (min-width: 640px) {
  .choices__list--dropdown .choices__item--selectable {
    padding-right: 0;
  }
}

.choices__list--dropdown .choices__item--selectable:after {
  display: none;
}

.choices[data-type*="select-one"] .choices__inner {
  padding-bottom: 0;
}

.choices__inner:focus,
.choices__inner:hover,
.choices__inner:active {
  border: solid 1px #2ba220;
  border-radius: 4px;
}

.choices.is-disabled .choices__inner,
.choices.is-disabled .choices__input {
  background-color: #f1f1f1;
}

.choices.is-disabled .choices__item {
  cursor: not-allowed;
  opacity: 0.4;
  color: #777;
}

/* select2 */
.choices-select {
  width: 100% !important;
}
.select2-container--default .select2-selection--single {
  border-radius: 4px;
  padding: 7px;
  border-color: #ddd;
}
.select2-container--default .select2-selection--single * {
  outline: none;
}

.select2-container .select2-selection--single {
  height: 34px;
}
.select2-container--default.select2-container--disabled
  .select2-selection--single {
  background-color: #f3f3f3;
}

.select2-container--default.select2-container--disabled
  .select2-selection__rendered {
  color: #ccc;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: normal;
}

/* 404 */
.green-link {
  color: #1f7317;
  text-decoration: none;
}

.center-404-content {
  width: 803px;
  max-width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.img-404 {
  display: block;
  margin: 0 auto;
  padding-bottom: 30px;
}

@media (max-width: 600px) {
  .form-buttons {
    flex-direction: column;
  }
  .form-buttons input[type="submit"],
  .form-buttons input[type="button"] {
    display: block;
    margin-bottom: 10px;
  }
}
