body {
  background-color: #ffffff;
  color: #000000;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

hr {
  height: 1px; 
  color: #004c75;
  background-color: #ffffff;
}

ul, li, p, td {
  color: #004c75;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.tablehead {
  background-color: #e8e8e8;
  color: #004c75;
}

.tablebottom {
  background-color: #004C75;
}

.bordercolor {
  background-color: #004C75;
}

.tablebgcolor {
  background-color: #ffffff;
}

.navbar {
  background-color: #fcdc43;
  color: #004c75;
}

.row1 {
  background-color: #e1e1e1;
  color: #004c75;
}

.row2 {
  background-color: #efefef;
  color: #004c75;
}

.head1 {
  background-color: #004C75;
  color: #fcdc43;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

.head1:hover {
  background-color: #004C75;
  color: #fcdc43;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

.head2 {
  background-color: #004C75;
  color: #ffffff;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

.title {
  font-family: Arial,Helvetica,sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.clickstream {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 11px;
}

.smalltext {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 10px;
  font-weight: normal;
}

.marktext {
  color: #FF0000;
  background-color: #ffffff;
}

.new {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 11px;
  color: #FF0000;
}

a:hover {
  color: #000000;
}

form {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 11px;
}

.logininput {
  background-color: #ffffff;
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #0f5475;
  font-size: 11px;
  width: 130px;
}

.searchinput {
  background-color: #FFFFFF;
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #0f5475;
  font-size: 11px;
  WIDTH: 130px;
}

.textarea {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #0f5475;
  font-size: 11px;
  width: 230px;
}

.input {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #0f5475;
  font-size: 11px;
  width: 230px;
}

.select {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #0f5475;
  font-size: 11px;
}

.setperpageselect {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #0f5475;
  font-size: 11px;
}

.categoryselect {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #0f5475;
  font-size: 11px;
}

.dropdownmarker {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  background-color: #EEEEEE;
  color: #136c99;
  font-size: 11px;
}

.button {
  font-family:  Tahoma,Verdana,Arial, Helvetica, sans-serif;
  background-color: #003366;
  color: #fcdc43;
  font-size: 11px;
  font-weight: bold;
}

/*--Categories------------------------------------------------*/
.catbgcolor {
  background-color: #EFEFEF;
}

.maincat {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 11px;
  font-weight: bold;
}

.subcat {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 10px;
  font-weight: bold;
}

/*--Images----------------------------------------------------*/
.imagerow1 {
  background-color: #E5E5E5;
  color: #004C75;
}

.imagerow2 {
  background-color: #EFEFEF;
  color: #004C75;
}

/*--Comments--------------------------------------------------*/
.commentrow1 {
  background-color: #e1e1e1;
  color: #004c75;
}

.commentrow2 {
  background-color: #efefef;
  color: #004c75;
}

.commentspacerrow {
  background-color: #d1d1d1;
  color: #004c75;
}

.commenttextarea {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #0f5475;
  font-size: 11px;
  width: 250px;
}

.commentinput {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #0f5475;
  font-size: 11px;
  width: 250px;
}

.captchainput {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  color: #0f5475;
  font-size: 11px;
  width: 200px;
}

/* Oshlun dealer portal refresh */
body {
  margin: 0;
  background: #f4f7fa;
  color: #222832;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

body > br {
  display: none;
}

a {
  color: #005faa;
}

a:hover {
  color: #00487f;
}

img {
  max-width: 100%;
  height: auto;
}

body > table {
  width: min(1180px, calc(100% - 32px)) !important;
  margin: 28px auto 0 !important;
  border-collapse: separate;
  border-spacing: 0;
}

.tablehead {
  background: #ffffff;
  border: 1px solid #dde4ec;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 12px 28px rgba(34, 40, 50, 0.06);
}

.tablehead img[src*="header_top"],
.tablehead img[src*="header_left"],
.tablehead img[src*="header_right"] {
  display: none;
}

.tablehead td {
  padding: 12px 16px;
}

.navbar {
  background: #f7f9fb;
  color: #222832;
  font-size: 14px;
  font-weight: 700;
  border-top: 1px solid #dde4ec;
  border-bottom: 1px solid #dde4ec;
}

.navbar a {
  color: #005faa;
  text-decoration: none;
}

.navbar a:hover {
  color: #00487f;
  text-decoration: underline;
}

.bordercolor {
  background: #dde4ec;
}

.tablebgcolor {
  background: #ffffff;
}

.row1,
.row2,
.imagerow1,
.imagerow2 {
  background: #ffffff;
  color: #222832;
}

.head1,
.head2 {
  background: #005faa;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 8px;
}

.title {
  color: #222832;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
}

ul,
li,
p,
td,
form,
.clickstream,
.smalltext,
.maincat,
.subcat {
  font-family: Arial, Helvetica, sans-serif;
}

td,
ul,
li,
p {
  color: #222832;
  font-size: 14px;
}

.smalltext {
  color: #667085;
  font-size: 13px;
}

hr {
  height: 1px;
  border: 0;
  background: #dde4ec;
  color: #dde4ec;
}

.logininput,
.searchinput,
.input,
.textarea,
.commenttextarea,
.commentinput,
.captchainput,
select {
  min-height: 38px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #c8d2de;
  border-radius: 6px;
  color: #222832;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.tablehead form {
  margin: 0;
}

.tablehead form table {
  width: auto;
  margin-left: auto;
}

.tablehead .searchinput {
  width: 220px;
  max-width: 32vw;
  box-sizing: border-box;
}

.tablehead input[type="submit"] {
  white-space: nowrap;
}

.button,
.pbutton,
input[type="submit"],
button {
  min-height: 38px;
  padding: 8px 15px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: #005faa;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.button:hover,
.pbutton:hover,
input[type="submit"]:hover,
button:hover {
  background: #00487f;
}

#copyright {
  color: #667085;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.dealer-footer-note {
  margin: 16px auto 0;
  color: #667085;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  text-align: center;
}

/* Dealer image grid */
.head1:has(.dealer-thumb-card) {
  background: #eef3f8;
  color: #222832;
  padding: 0;
}

.head1:has(.dealer-thumb-card) > table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 14px;
}

.head1:has(.dealer-thumb-card) td {
  width: 33.333%;
  padding: 0;
  border: 0 !important;
  background: transparent;
  color: #222832;
  vertical-align: top;
}

.dealer-thumb-card {
  min-height: 100%;
  padding: 14px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(34, 40, 50, 0.06);
}

.dealer-thumb-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: #f7f9fb;
}

.dealer-thumb-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dealer-thumb-media img {
  display: block;
  max-width: 150px;
  max-height: 128px;
  width: auto;
  height: auto;
  border: 0 !important;
}

.dealer-thumb-title {
  color: #222832;
  font-size: 14px;
  line-height: 1.25;
}

.dealer-thumb-title a,
.dealer-thumb-category a {
  color: #005faa;
  text-decoration: none;
}

.dealer-thumb-title a:hover,
.dealer-thumb-category a:hover {
  text-decoration: underline;
}

.dealer-thumb-meta,
.dealer-thumb-category {
  margin-top: 4px;
  color: #667085;
  font-size: 13px;
}

.dealer-thumb-actions {
  margin-top: 12px;
}

.dealer-thumb-actions a,
td[align="right"] a[href*="lightbox.php?action=download"],
td[align="right"] a[href*="download"] {
  display: inline-flex;
  align-items: center;
}

.dealer-thumb-actions img,
a[href*="lightbox.php"] img[src*="lightbox_"],
a[href*="download"] img[src*="download"] {
  border: 0 !important;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(34, 40, 50, 0.14);
}

.dealer-thumb-actions a[href*="addtolightbox"],
.dealer-thumb-actions a[href*="removefromlightbox"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  background: #005faa;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(34, 40, 50, 0.14);
}

.dealer-thumb-actions a[href*="removefromlightbox"] {
  background: #0f766e;
}

.dealer-thumb-actions a[href*="addtolightbox"] img,
.dealer-thumb-actions a[href*="removefromlightbox"] img {
  display: none;
}

.dealer-thumb-actions a[href*="addtolightbox"]::before {
  content: "+ Lightbox";
}

.dealer-thumb-actions a[href*="removefromlightbox"]::before {
  content: "In Lightbox";
}

.dealer-thumb-actions a[href*="addtolightbox"]:hover {
  background: #00487f;
}

.dealer-thumb-actions a[href*="removefromlightbox"]:hover {
  background: #115e59;
}

.head1:has(.dealer-category-card) {
  padding: 12px;
  background: #f3f6f9;
  color: #222832;
  border: 1px solid #d9e2ec;
}

.head1:has(.dealer-category-card) > table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 10px;
}

.head1:has(.dealer-category-card) td {
  width: 50%;
  padding: 0;
  background: transparent;
  vertical-align: top;
}

.dealer-category-card {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
  max-width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #ffffff;
  box-sizing: border-box;
}

.dealer-category-card::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f4c542;
  box-shadow: inset 0 0 0 2px rgba(0, 95, 170, 0.12);
}

.dealer-category-card .maincat {
  color: #005faa;
  font-size: 14px;
  text-decoration: none;
}

.dealer-category-card .maincat:hover {
  text-decoration: underline;
}

.dealer-category-count {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e8f1fa;
  color: #005faa;
  font-size: 12px;
  font-weight: 700;
}

.dealer-subcategories {
  flex-basis: 100%;
}

.dealer-user-panel {
  padding: 10px;
  text-align: left;
}

.dealer-user-status {
  margin-bottom: 10px;
  color: #222832;
}

.dealer-user-panel a {
  display: block;
  padding: 7px 8px;
  border-radius: 6px;
  color: #005faa;
  text-decoration: none;
}

.dealer-user-panel a:hover {
  background: #eef3f8;
}

.dealer-random-card {
  padding: 12px 8px 14px;
  text-align: center;
}

.dealer-random-media {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 104px;
  margin-bottom: 8px;
  border-radius: 6px;
  background: #f7f9fb;
}

.dealer-random-media img {
  max-width: 96px;
  max-height: 96px;
  width: auto;
  height: auto;
  border: 0 !important;
}

.dealer-random-title {
  color: #222832;
  font-size: 13px;
  line-height: 1.25;
}

.tablebottom {
  height: 18px;
}

@media (max-width: 820px) {
  body > table {
    width: calc(100% - 20px) !important;
    margin-top: 12px !important;
  }

  .tablehead td {
    display: block;
    width: 100% !important;
    text-align: left !important;
  }

  .title {
    font-size: 24px;
  }

  .tablehead form table {
    margin-left: 0;
  }

  .tablehead .searchinput {
    width: min(100%, 280px);
    max-width: 100%;
  }

  .head1:has(.dealer-thumb-card) > table {
    border-spacing: 10px;
  }

  .head1:has(.dealer-thumb-card) td {
    display: block;
    width: 100% !important;
  }

  .head1:has(.dealer-category-card) td {
    display: block;
    width: 100% !important;
  }

  .dealer-category-card {
    width: 100%;
  }

  td[width="150"],
  td[width="18"],
  td[width="19"],
  td[width="20"] {
    display: block;
    width: 100% !important;
  }
}
