* {
  margin: 0;
  padding: 0;
}

*::selection {
	background-color: #C40;
}

a {
  outline: 0;
}

body {
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: #1d2226;
  min-height: 100%;
}

#headwrap {
  justify-content: center;
  background-image: url(header-bg.jpg);
}

#headwrap img {
  display: inline-block;
  margin: 0 auto;
}

input#mobilemenu {
  display:  none;
}

#nav {
  background-color: #ce1f1f;
}

#nav li {
  list-style: none;
  display: inline-block;
}

#nav a, #nav a:link, #nav a:visited {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #fff;
  font-family: "Droid Sans";
  font-weight: bold;
  text-shadow: 0px 1px 0px #222;
  font-size: 15px;
}
#nav a:hover, #nav li.active a:hover, #nav li.home.active a:hover {
  background-color: #f44;
}

#nav li.active a {
  background-color: #f78080;
}
#nav li.home.active a {
  background-color: #ce1f1f;
}

img {
  border: 0;
}

#contentwrap {
  min-height: 400px;
  clear: both;
}

#content {
  width: 920px;
  padding: 20px;
  margin: 0 auto;
  font-family: "Arial", sans-serif;
  color: #eee;
  font-size: 14px;
  line-height: 21px;
  text-align: left;
}

h1 {
  font-family: Oswald, "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 50px;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 22px;
  line-height: 55px;

  &.home {
    text-align:  center;
  }
}

h2 {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: normal;
  margin: 15px 0 6px 0;
  line-height: normal;
}

div.home-content p{
  font-family:  "Droid Sans";
  font-size:  18px;
  text-align:  center;
  color:  #fff;
  margin: 35px auto;
}

h3 {
  font-size: 16px;
}

#sidebar h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: normal;
  width: 100%;
  color: #eee;
  border-bottom: solid 1px #eeeeee;
  letter-spacing: 1px;
  padding-bottom: 4px;
  margin-top: -3px;
  margin-bottom: 0;
}

#sidebar ul {
  margin: 0 !important;
}

a, a:link, a:visited {
  color: #ee4548;
}

a:hover {
  color: #ff0000;
}

#content-left {
  width: 605px;
}

p, #content-left ul, #content-full ul {
  margin-top: 10px;
  margin-bottom: 22px;
  list-style-position: inside;
}
p.catalogue {
  margin: 6px 0;

  @media  (max-device-width : 480px) {
    font-size: 16px;
    line-height: 22px;
  }
}

#content-left ul, .csc-textpic-text ul {
  margin-left: 15px;
  padding-left: 1px;
}

#content-left ul li {
  line-height: 26px;
  padding-left: 5px;
}

#content img {
  display: block;
}

#footerwrap {
    border-top: solid 1px #505d68;
    margin-top: 15px;
    clear: both;
}

#footer {
  width: 920px;
  padding: 5px 20px;
  margin: 0 auto;
  text-align: center;
  color: #bbb;
  font-family: verdana, sans-serif;
  font-size: 13px;
}

#footer ul {
  list-style: none;
  display: inline-block;
  margin: 5px 8px;
}

#footer i {
  font-size: 30px;
}

#footer li {
  float: left;
}
#footer_right ul li:not(:first-child)::before {
  content: "•";
}

#footer a, #footer a:link, #footer a:visited {
  color: #ddd;
  margin: 0px 9px;
}
#footer a:hover {
  color: #f97036
}

#sidebar {
  float: right;
  width: 258px;
  padding: 10px 15px;
  margin-top: 5px;
  background-color: #0f1214;
}

#content-left {
  @media (min-device-width: 481px) {
    float: left;
    clear: left;
  }
}

ul#news {
  list-style-type: none;
  color: #eeeeee;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 14px;
  font-weight: bold;
  height: 350px;
}
ul#news li {
  height: 69px;
  border-bottom: solid 1px #4d4d4d;
}
ul#news img {
  padding-top: 3px;
}
ul#news li a, ul#news li a:link, ul#news li a:visited {
  height: 69px;
  display: block;
  color: #eeeeee;
  text-decoration: none;
  background-position: 1px center;
  background-repeat: no-repeat;
}
ul#news.catalogue {
  height: 210px;
}
ul#news.catalogue li {
  height: 40px;
}
ul#news.catalogue li a, ul#news.catalogue li a:link, ul#news.catalogue li a:visited {
  height: 20px;
  padding: 10px 10px
}
ul#news.catalogue li span.cattype {
  float: right;
  font-weight: normal;
  font-size: 12px;
  color:#bbb;
}
ul#news li a:hover {
  background-color: #222222;
  color: #ffffff;
}
#sidebar li.current {
  background-color: #BA2B26;
}

ul#news h3 {
  float: left;
  padding-left: 12px;
  padding-top: 5px;
  font-size: 14px;
  width: 170px;
  height: 40px;
}

div.newsimg {
  float: left;
  padding-left: 1px;
  padding-top: 4px;
}

aside.news {
  div.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5px;

    a {
      text-decoration: none;
      color: #eee;

      &:hover {
        text-decoration: underline;
        color: #fff;
      }
    }
  }

  ul {
    list-style-type: none;
    color: #eeeeee;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    gap:  10px;
  }

  h2 {
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    font-size: 36px;
    margin-bottom: 0;
  }

  h2 a {
    text-decoration: none;
    color: #fff;

    &:hover {
      text-decoration: underline;
    }
  }

  li {
    box-sizing: border-box;
    display: block;
    @media  (max-device-width : 480px) {
      width: 100%;
    }


    a {
      background-color: #111;
      border-left: var(--red-border);
      color: #eee;
      text-decoration: none;
      display: block;
      padding: 10px 15px;
      box-sizing: border-box;
      width: 300px;
      height: 90px;

      @media  (max-device-width : 480px) {
        width: 100%;
      }

      &:hover {
        background-color: #333;
      }

      h3 {
        height: 40px;
        margin-bottom: 10px;
      }
    }

    div.newsdate {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 12px;
      font-weight: normal;
      color: #cccccc;
    }
  }

  &.catalogue li h3 {
    font-size: 14px;
  }

  &.catalogue li a {
    width: 176px;

    @media  (max-device-width : 480px) {
      width: 100%;
    }
  }
}

div#content-left + aside.news.catalogue {
  float: right;

  ul {
    display: block;
  }

  li {
    margin-bottom: 10px;

    a {
      width: 250px;
    }
  }

  @media  (max-device-width : 480px) {
    float: none;

      li a {
        width: 100%;
      }
  }
}

div.clear {
  clear: both;
}

fieldset {
  border: 0;
}
.tx-powermail-pi1 label {
  float: left;
  clear: left;
  width: 150px;
}
input.text, input[type=text], input[type=textarea], input[type=email], textarea, select, .powermail_text, .powermail_textarea, .powermail_date, .powermail_input {
  background-color: #090909;
  color: #eee;
  font-family: "Trebuchet MS", sans-serif;
  padding: 2px 4px;
  border: solid 1px #777;
}
select {
  width: 159px;
  float: left;
}

.tx_powermail_pi1_fieldwrap_html, .powermail_fieldwrap, div.fieldwrapper {
  clear: both;
  margin-bottom: 7px;
  overflow: auto;
}
.powermail_fieldwrap_type_submit {
    margin-bottom: 0;
}

#search-results {
  margin-top: 20px;
  background-color: #0F1214;
  padding: 14px 20px;
  width: 583px;
  border-top: var(--red-border);
}

#search-results ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#search-results ul li {
  border-bottom: solid 1px #333;
  clear: both;
  padding: 0;
  overflow: auto;
  line-height: 26px;
}
#search-results li span {
  float: left;
  padding-left: 5px;
}

#search-results li span.modeltype {
  float: none;
  font-size: 13px;
  font-weight: normal;
}

#search-results li a, #search-results li a:link, #search-results li a:visited {
  display: block;
  text-decoration: none;
  overflow: auto;
  background-color: #1d2328;
  color: #fff;
}
#search-results li a:hover {
  background-color: #2a343c;
}

#search-results span.model {
  width: 340px;
}
#search-results span.remark {
  width: 74px;
}
#search-results span.remark {
  color: #eee;
  font-size: 12px;
}
#search-results span.country {
  width: 74px;
}
#search-results span.year {
  width: 74px;
}
#search-results img {
  padding-top: 4px;
}
#search-results li.manufacturer {
  background-color: #ba2b26;
  padding-left: 5px;
  margin-top: 7px;
  border: none;
}
#search-results h2 {
  margin: 0px 0px 10px 0px;
}
#search-results h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 16px;
  margin-bottom: 5px;
  margin-top: 15px;
  padding: 3px 8px;
  background-color: #6B0F0F;
  display: inline-block;
}
#search-results h4 {
  font-size: 16px;
}

#search-results div.sizegroup input[name="expand"] ~ label h3 {
  display: block;
  cursor: pointer;
  padding: 3px;
  font-size: 15px;
  border-radius: 3px;
  margin: 5px 0;
}

#search-results div.sizegroup input[name="expand"] ~ label h3:hover {
  background-color: #a83e3e;
}

#search-results div.sizegroup input[name="expand"]:checked ~ label h3 {
  font-weight: bold;
  margin-bottom: -2px;
}

#search-results div.sizegroup input[name="expand"] ~ label i.icon-right-open {
  color: #afafaf;
}

#search-results div.sizegroup input[name="expand"]:checked ~ label i.icon-right-open:before {
  content: '\e800';
  color: #fff;
}

#search-results div.sizegroup input[name="expand"] {
  display: none;
}

#search-results div.sizegroup input[name="expand"] ~ ul {
  display: none;
  overflow: hidden;
  margin-bottom: 15px;
}

#search-results div.sizegroup input[name="expand"]:checked ~ ul {
  display: block;
}

table {
  border-collapse: collapse;
  margin: 15px 0;
  table-layout: fixed;
  font-family: Arial, helvetica, sans-serif;
  color: #eee;
}  

td {
  border: solid 1px #444;
  padding: 5px 7px;
}

tr {
  height: 39px;
}

td.title {
  background-color: #222;
  font-size: 18px;
}
td.title h3 {
  float: left;
  margin-right: 15px;
}

td.image {
  padding: 0px;
}

tr.headers {
  background-color: #333;
  font-size: 16px;
  font-weight: bold;
  color: #E86A35;
}

tr.comments {
  background-color: #222;
  height: 32px;
}

tr.data {
  font-size: 13px;
}

#content tr.data a, #content tr.data a:link, #content tr.data a:visited {
  color: #eee;
}

#content tr.data a:hover {
  color: #FE5558;
}

td.gap {
  background-color: #222;
}

a.jt-drawing, a.jt-drawing:link, a.jt-drawing:visited  {
  display: block;
  background-color: #333;
}

a.jt-drawing:hover  {
  background-color: #777;
}

table.sprocket-test, table.polaris {
  width: 100%;
}

table.sprocket {
  width: 240px;
}

table.sprocket-test col.image {
  width: 235px;
}

table.sprocket-test a.jt-drawing, table.sprocket-test div.empty-image {
  padding: 5px;
}
table.sprocket a.jt-drawing, table.sprocket div.empty-image {
  padding: 7px;
}

span.checkavail {
  color: #fff;
  background-color: #b11111;
  font-size: 13px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 6px;
}
td.title span.checkavail {
  font-size: 12px;
}
table.polaris col.gap {
  width: 15px;
}
table.polaris col.teeth {
  width: 70px;
}
table.polaris col.position {
  width: 105px;
}
table.polaris col.chain {
  width: 125px;
}
table.polaris tr {
  height: 32px;
}
#content table.polaris tr.headers a, table.polaris tr.headers a:link, table.polaris tr.headers a:visited {
  color: #f97036;
  text-decoration: underline;
}
#content table.polaris tr.headers a:hover {
  color: #EEE;
}
#content tr.headers img {
  margin-left: 7px;
  margin-top: 3px;
  float: right;
}

div.sprocket-contain {
  float: left;
  margin-right: 10px;
}
div.chain-contain {
  float: left;
  clear: right;
}
div.chain-contain table {
  width: 170px;
}

table.sprocket td.available {
  height: 52px;
}

div.empty-image {
  padding: 7px;
  display: block;
  background-color: #333;
}

table.sprocket span.checkavail {
  font-size: 11px;
}
p.polaris-available, p.polaris-comment {
  margin: 3px 0;
}
div.polaris-image a, div.polaris-image a:link, div.polaris-image a:visited  {
  float: left;
  margin: 10px 15px 10px 0;
  padding: 7px;
}
div.polaris-image a:hover {
  background-color: #777;
}

table.gearratio td.spanned {
	background-color: #111;
	color: #eee;
	min-width: 16px;
}

table.gearratio td.spanned span {
    writing-mode: vertical-lr;
    padding: 1px;
}
table.gearratio tr {
    height: 40px;
}
table.gearratio td {
  text-align: center;
  padding: 5px 6px;
  min-width: 45px;
  background-color: #fafafa;
  color: #333;
  line-height: 16px;
}
table.gearratio td.gr_teeth {
  background-color: #333;
  color: #eee;
  font-weight: bold;
  min-width: 30px;
}
table.gearratio td.label {
  background-color: #222;
  color: #eee;
  font-weight: bold;
}
table.gearratio td.standard {
  font-weight: bold;
}
table.gearratio td.standard.gr_teeth {
  color: #f97036;
}
table.gearratio td span.diff {
	font-size: 11px;
	font-weight: bold;
}
table.gearratio td.plus span.diff {
	color: #008423;
}
table.gearratio td.minus span.diff {
	color: #c34646;
}
td.minus span.diff::selection {
    background-color: #0ebcff;
}
p.error {
  border: solid 1px #F58C88;
  background-color: #BA2B26;
  padding: 10px;
  color: #EEE;
  font-weight: bold;
}
p.catalogue-error {
  background-color: #2c1514;
  border-color: #f00;
  border-style: solid;
  border-width: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  margin: 15px 0 0;
  padding: 3px 10px;
  display: inline-block
}
div#buyers-errors p.catalogue-error {
  @media (min-device-width: 481px) {
    width: 460px;
  }
}
select.val-error, input.val-error {
  border-color: red;
}

div.float-left {
  float: left;
  margin-right: 15px;
}

div.float-right {
  float: right;
  margin-left: 15px;
}

div.caddress {
  float: left;
  width: 270px;
  background-color: #161616;
  padding: 10px 14px;
  margin-right: 10px;
  border-top: var(--red-border);
}
div.caddress h2 {
  margin: 0 0 5px 0;
  font-size: 18px;
}
div.caddress p {
  margin: 0;
}
div.caddress img {
  margin-top: 5px;
}
div.caddress div.clear {
  height: 0;
}

div.caddress div.csc-textpic img, div.csc-textpic dt img {
  margin-bottom: 0;
}

div#spgallery .thumb {
  display: inline-block;
}
div#spgallery a.image:link, div#spgallery a.image:visited {
  border: solid 1px #555;
  display: block;
  margin: 0 4px 8px 4px;
}
div#spgallery a.image:hover {
  border: solid 1px #ccc;
}
div.spgallery-images {
  margin: 0 -4px;
}

.caddress div.tel {
  padding-left: 27px;
  background-image: url(dist-tel.gif);
  background-repeat: no-repeat;
  background-position: 0 1px;
}
.caddress div.fax {
  padding-left: 27px;
  background-image: url(dist-fax.gif);
  background-repeat: no-repeat;
  background-position: 0 2px;
}

span.originalteeth {
  font-weight: bold;
  border-bottom: dashed 1px #ccc;
  color: #fff;
}
p.smallprint {
  margin: 5px 0;
}
ul.pagination {
  list-style: none;
}
ul.newspages {
  text-align: left;
}
ul.pagination li  {
  display: inline;
  margin: 0 3px;
}
ul.pagination a:link, ul.pagination a:visited {
  padding: 4px 9px;
  border: solid 1px #888;
  background-color: #222;
  text-decoration: none;
}
ul.pagination li.current {
  padding: 4px 9px;
  border: solid 1px #ccc;
  font-weight: bold;
}
ul.pagination a:hover {
  background-color: #eee;
  border-color: #f00;
}

div.error {
  font-family: "Trebuchet MS", sans-serif;
  color: red;
}

table.chain-app {
  width: 100%;
  text-align: center;
  color: #aaa;
}
table.chain-app tr td:first-child {
  text-align: left;
  font-weight: bold;
}
table.chain-app tbody tr td:first-child {
  background-color: #383838;
  color: #EEE;
}
table.chain-app td.desc {
  color: #DDD;
  text-align: left;
}
table.chain-app thead tr td, table.chain-app thead tr td.desc {
  background-color: #247; 
  color: white; 
  font-weight: bold
}

div.parts, div.buyers div.part {
  background-color: #161616;
  border-top: var(--red-border);
  margin-bottom: 20px;
  padding: 15px;
}

div.parts h2 {
  font-size: 28px;
  font-weight:  normal;
  margin: 0 0 5px;
  line-height: 21px;
}

div.parts div.part h3 {
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 10px;
}

div.buyers div.part h1 {
  font-size: 32px;
  font-weight: normal;
  margin-bottom: 5px;
}

div.part {
  padding: 15px 0 20px;
  font-family: Arial, Helvetica, sans-serif;
}
div.part:not(:last-child) {
  border-bottom:  solid 1px #666;
}
div.part a.jt-drawing, div.part a.jt-drawing:link, div.part a.jt-drawing:visited {
  display: inline-block;
  border: solid 2px #888;
  margin-right: 10px;
  vertical-align: bottom;

  &:hover {
    border-color: #dd0000;
  }
}

div.part a.jt-drawing img, div.part div.empty-image img {
  max-height: 150px;
}
div.part span.label {
  font-weight: bold;
  color: #f97036;
  display: inline-block;
  width: 130px;

  @media  (max-device-width : 480px) {
    width: 140px;
  }
}
div.part h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 16px;
  margin: -15px -15px 10px -15px;
  padding: 7px 15px 7px;
  color: #fff;
  line-height: normal;
}
div.part h1 {
  margin: 0;
  padding: 0;
}
div.part p.buyers-type {
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 15px;
}
div.part div.info {
  margin-bottom: 7px;
}
div.buyers div.part div.info {
  margin-bottom: 10px;
}
div.buyers div.part {
  border-bottom: none;
}
div.part div.info p {
  margin-right: 30px;
}
div.buyers div.part div.info p {
  display: block;
  border-bottom: solid 1px #444;
  padding-bottom: 2px;
  margin-right: 0;
}
div.buyers div.part div.info p:last-child {
  border-bottom: none;
}
div.buyers div.part div.info span.label {
  display: inline-block;
  width: 170px;
}
div.part p {
  margin: 3px 0 5px;
  font-size: 15px;
}
div.part a {
  color: #fff;
}
div.part a:hover {
  color: #FE5558;
}
div.part div.empty-image {
  background: none;
  padding: 0;
  display: inline-block;
  border: solid 5px #aaa;
  margin-right: 10px;
}
div.part p.comment {
  background-color: #435052;
  padding: 6px 10px;
  border-radius: 3px;
  margin-bottom: 0;
}
div.part div.comments {
  margin-top: 6px;
}
div.model h1 {
  text-transform: none;
  font-weight: normal;
  font-family: Arial, sans-serif;
  font-size: 36px;
  margin-bottom: 15px;
  line-height: normal;
}
div.model .model-header-make {

}
div.model .model-header-name {
  font-weight: bold;
}
div.model .model-header-remark, div.model .model-header-country {
  font-size: 26px;
}
div.model div.yeartext {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  margin: 0px 0 20px;
}
div.model div.modeltype {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  margin: 10px 0;
}
div.model .catalogue-type {
  color: #c5c5c5;
  font-size: 26px;
}
div.searchform {
  background-color: #111;
  border-top: var(--red-border);
  color: #eee;
  padding: 10px 20px 20px;
  margin-bottom: 20px;

  h2 {
    font-size: 24px;
    font-weight: normal;
    margin: 3px 0;
  }

  select, input {
    display: block;
    float: none;
    width: 250px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 4px;

    &:hover {
      background-color: #181818;
    }
  }

  button {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 15px;
    border: 0;
    background-color: #b91919;
    color: #fff;
    width: 130px;
    padding: 5px;

    &:hover {
      background-color: #e75050;
      cursor: pointer;
    }
  }
}

div.twoforms {
  display: flex;
  gap: 20px;

  .formcontainer:first-child {
    border-right: 1px solid #666;
  }

    @media  (max-device-width : 480px) {
    display: block;

    .formcontainer:first-child {
      border-right: none;
      border-bottom: 1px solid #666;;
      margin-bottom: 30px;
      padding-bottom: 30px;
    }
  }
}

div.formcontainer {
  flex: 1;
  box-sizing: border-box;
}

div.part a.chain {
  display: inline-block;
  border: solid 1px #555;
}
div.part a.chain:hover {
  border: solid 1px #ccc;
}

/* JT Braking styles */

.brakingcontainer {
  color: #000;
  font-family: "Droid Sans", verdana, sans-serif;
  text-align: left;
}

.brakingcontainer .introcontainer {
  background-color: #ffe500;
}

.brakingcontainer .bodycontainer {
  background-color: #fff;
}

.brakingcontainer .intro, .brakingcontainer .body {
  width: 920px;
  padding: 20px 0;
  margin: 0 auto;
}

.brakingcontainer .intro {
  font-weight: bold;
  font-size: 20px;
  line-height: 30px;
}

.brakingcontainer .body {
  background-image: url(/site/res/jtbraking-bodyp.jpg);
  background-position: right center;
  background-repeat: no-repeat;
}

.brakingcontainer .body h2 {
  font-family: Oswald;
  font-size: 20px;
  color: #ea0000;
  text-transform: uppercase;
  border: 0;
  padding-bottom: 0;
}

.brakingcontainer .body p {
  font-family: Arial, sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 21px;
  margin-top: 0;
  width: 520px;
}

.pdfembed iframe {
  width: 920px;
}

/* JT Belts styles */

.beltscontainer {
  color: #000;
  font-family: "Open Sans", Arial, sans-serif;
  text-align: left;
}

.beltscontainer .introcontainer {
  background-color: #333;
}

.beltscontainer .bodycontainer {
  background-color: #fff;
}

.beltscontainer .intro, .beltscontainer .body {
  width: 920px;
  padding: 20px 0;
  margin: 0 auto;
}

.beltscontainer .intro {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #fbfbfb;
}

.beltscontainer .body {
  background-image: url("/site/res/JT Belts contentbg.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  height: 1301px;
}

.beltscontainer .body h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: bold;
  color: #ea0000;
  text-transform: uppercase;
  border: 0;
  padding-bottom: 0;
  margin-top: 0;
}

.beltscontainer .body p, .beltscontainer .body li {
  font-family: Arial, sans-serif;
  font-weight: normal;
  font-size: 15px;
  line-height: 21px;
  margin-top: 0;
  margin-bottom: 8px;
  width: 350px;
}

.beltscontainer .body ul {
	list-style-position: inside;
}

div.maxkvr {
	position: relative;
	top: 265px;
	left: 20px;
}

div.premium {
	position: relative;
	top: 750px;
	left: 500px;
	max-width: 350px;
}

/* Chain Styles */

div.chain-specs-tables table {
  border-collapse: collapse;
  font-family: verdana, sans-serif;
  font-size: 13px;
  margin: 20px 0;
  color: #dcdcdc;
}
div.chain-specs-tables table tr {
  height: 0px;
}

div.chain-specs-tables td {
  border: solid 1px #ccc;
  border-right: 0;
  border-left: 0;
  padding: 4px 3px;
  text-align: center;
  background-color: #fafafa;
  color: #000;
}
div.chain-specs-tables thead td {
  background-color: #233452;
  color: #eee;
  border: solid 1px #304770;
}
div.chain-specs-tables thead tr.subhead td {
  font-size: 12px;
  background-color: #122538;
  color: #eee;
  border: solid 1px #1F3E5E;
  border-bottom: solid 1px #555;
}
div.chain-specs-tables tbody tr td:first-child {
  font-weight: bold;
}
div.chain-specs-tables tr.divider td {
  line-height: 1px;
  padding: 0;
  background-color: #1766a6;
  border: 0;
}
div.chain-specs-tables tbody tr:not(.divider):hover td {
  background-color: #fff;
}
div.chain-specs-tables p  {
  margin: 6px 0;
}

.chain-specs-tables.legend {
  background-color: #fff;
  padding: 15px 20px;
  color: #444;
}

.chain-specs-tables.legend .legend-item {
  margin-bottom: 15px;
}

.chain-specs-tables.legend .legend-item:last-child {
  margin-bottom: 5px;
}

.chain-specs-tables.legend p {
  margin:0;
}

.chain-specs-tables.legend img.chaintech {
  margin-top: 8px;
  height: 200px;
}

.chain-specs-tables.legend div.pin {
  display: inline-block;
  margin-right: 30px;
  font-size: 20px;
  font-weight: bold;
}

.chain-specs-tables.legend div.pin img {
  width: 30px;
  display: inline !important;
  vertical-align: middle;
  margin-right: 5px;
}

.chain-specs-tables.legend dl.linkref dd, .chain-specs-tables.legend dl.linkref dt  {
  float: left;
  padding: 1px 8px;
}
.chain-specs-tables.legend dl.linkref dt  {
  background-color: #333;
  color: #fff;
  font-weight: bold;
}
.chain-specs-tables.legend dl.linkref dd  {
  background-color: #eee;
  margin-right: 5px;
}
.chain-specs-tables.legend dl.linkref, .chain-specs-tables.legend div.clink {
  display: inline-block;
}

col.chain {
  width: 80px;
}
col.roller {
  width: 80px;
}
col.pinl {
  width: 70px;
}
col.platei {
  width: 80px;
}
col.plateo {
  width: 80px;
}
col.weight {
  width: 90px;
}
col.strength {
  width: 100px;
}
col.pinrivet {
  width: 70px;
}
col.bush {
  width: 70px;
}
col.xring {
  width: 70px;
}
col.rivet, col.standard {
  width: 70px;
}
col.cli, col.optional {
  width: 70px;
}

/* chain gridelements styles */

.chgrade {
  background-color: #111;
  color: #eee;
  padding: 15px 20px;
  clear: both;
  margin: 15px 0 25px;
  border-top: var(--red-border);
}

.chgrade div.clear {
  clear: none;
}

.chtext {

}

.chgrade h3 {
  font-size: 35px;
  margin: 5px 15px 5px 0;
  color: #fff;
  text-shadow: 0px 1px 1px #000;
}

.chgrade .chdesc {
  font-size: 16px;
  display: inline-block;
}

.chgrade .chdesc, .chgrade h3 {
  color: #fff;
  display: inline-block;
  vertical-align: bottom;
}

.chgrade .chphoto {
  float: right;
  margin-top: 5px;
}

.chgrade .chimages figure {
  display: inline-block;
  vertical-align: top;
  margin-right: 16px;
}
.chgrade .chimages a:link, .chgrade .chimages a:visited  {
    display: inline-block;
    vertical-align: top;
    border: solid 1px #246c81;
}
.chgrade .chimages a:hover {
  border: solid 1px #f00;
} 
.chgrade .chimages img {
  margin: 0;
}

.chgrade .chimages figcaption {
    font-size: 12px;
    line-height: 16px;
    margin-top: 1px;
    max-width:112px;
}

.chgrade .chapps table {
    font-size: 12px;
    color: #eee;
    border-collapse: collapse;
    margin: 10px 0 20px;
}
.chgrade .chapps td, .chgrade .chapps th {
    border: solid 1px #444;
    padding: 2px 7px;
    min-width: 85px;
}
.chgrade .chapps th {
    font-weight: bold;
    background-color: #282828;
} 

.chgrade .chapps tr {
  height: auto;
}

.chgrade .chtext p {
  margin: 10px 0;
}

.chgrade table caption {
  font-size: 11px;
  text-align: left;
  line-height: 12px;
}

.chgrade div.ce-row {
  margin: 0;
  clear: none;
}

.chgrade .ce {
  clear: none;
}

/* mmprod now in FLUID */

.mm_product_templates_product {
  padding: 17px 22px;
  color: #eeeeee;
  background-color: #161616;
  border-top: var(--red-border);
  margin:18px 0 0;
  background-repeat: no-repeat;
  background-position: bottom right;
  min-height:  150px;

  h2 {
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 4px 0;
    width: 635px;
  }

  p {
    width: 500px;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
  }
}


div.mm_product_templates_thumbs div.ce-column {
  display: inline-block;
}

div.mm_product_templates_thumbs a, div.mm_product_templates_thumbs a:link, div.mm_product_templates_thumbs a:visited {
  display: inline-block;
  margin-top: 10px;
  border: solid 1px #536877;
  margin-right: 15px;
}

div.mm_product_templates_thumbs a:hover {
  border: solid 1px #888888;
}


/* new t3 styles */

.ce {
  clear: both;
}

.ce-row {
  clear: both;
}

.ce-column {
  display: inline-block;
}

.ce-right.ce-intext .ce-gallery, .align_right {
  float: right;
  margin-left: 20px;
  margin-bottom:  5px;
  clear:  right;
}

.ce-left.ce-intext .ce-gallery, .align_left {
  float: left;
  margin-right: 20px;
}

.ce-gallery.ce-border img, .ce-gallery.ce-border img, .ce-border, a img.align_left, a img.align_right {
  border: solid 1px #8c8c8c;
}

.ce-gallery.ce-border a:hover img, .ce-border:hover, a img.align_left:hover, a img.align_right:hover {
  border: solid 1px #cecece;
}

/* layout2 = grey form / application sponsorship style */

form.layout2 {
  display: block;
  background-color: #efefef;
  color: #444;
  padding: 20px;
}
form.layout2 label {
  display: block;
  font-weight:bold;
}
form.layout2 input, form.layout2 select, form.layout2 textarea, form.layout2 button {
  width: 400px;
  padding: 8px 5px;
  background-color: #fff;
  color: #444;
  float: none;
  height: auto;
  margin-bottom: 3px;
  border: solid 1px #83acb3;
  box-sizing: content-box;
}
form.layout2 .checkbox input, form.layout2 .checkbox label {
  width: auto;
  font-weight: normal;
}
form.layout2 input.btn, form.layout2 button {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 13px;
  border: 0;
  background-color: #b91919;
  color: #fff;
  width: 150px;
}
form.layout2 input.btn:hover, form.layout2 button:hover {
  background-color: #e75050;
  cursor: pointer;
}

form.contact input, form.contact select, form.contact textarea {
  box-sizing: border-box;
  width: 100%;
}
div.caddress {
  min-height: 405px;
}
div.caddress img {
  margin: 5px 0;
}
div.caddress:last-child {
  margin-right: 0 !important;
}
.nolabel legend, .nolabel h3 {
  display: none;
}
.caddress .btn, .caddress button {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 13px;
  border: 0;
  background-color: #b91919;
  color: #fff;
  padding: 6px;
}
.caddress .btn:hover, .caddress button:hover {
  border: 0;
  background-color: #e75050;
  cursor: pointer;
}
.caddress input, .caddress select, .caddress textarea, .caddress button {
  width: 100%;
  box-sizing: border-box;
}
.caddress input, .caddress select, .caddress textarea {
  padding: 4px;
}
.caddress input:hover, .caddress select:hover, .caddress textarea:hover {
  border: solid 1px #fff;
}

a.button, a.small-button, div.home-product p > a {
  text-decoration: none;
  color: #fff;
  padding: 8px 14px;
  text-align: center;
  font-weight: bold;
  border-radius: 4px;
}
a.button {
  background-color: #b91919;
  font-size: 18px;
}
a.small-button, div.home-product p > a {
  background-color: #656565;
  font-size: 14px;
}
a.button:hover, a.small-button:hover {
  background-color: #e75050;
  cursor: pointer;
}
ul.parsley-errors-list {
  margin: 0 !important;
}
ul.parsley-errors-list li {
  max-width: 400px;
  list-style-type: none;
  display: inline-block;
  background-color: #e23c3c;
  color: #fff;
  border-radius: 5px;
  padding: 3px 6px;
  margin-bottom: 3px;
  clear: both;
}
input.parsley-error, select.parsley-error, textarea.parsley-error {
  border: solid 1px red !important;
}

div.article {
    background-color: #fff;
}

div.news-article-text, div.article-header {
  padding: 10px 20px;
}

div.news-article-text {
  color: #444;
  margin-bottom: 20px;
  padding-top: 0;

  a {
    @media  (max-device-width : 480px) {
        overflow-wrap: anywhere;
    }
  }
}

div.article-header {
  color: #444;
  border-top: solid 2px #ce1f1f;
}
div.article-header h2 {
  font-size: 30px;
}
div.article-header div.newsimg {
  margin-right: 15px;
  margin-top: 15px;
  padding-left: 0;
}

div.news-article-text p {
  font-weight: normal;
}

div.single-article {
  background-color: #fff;
  padding: 20px;
  color: #444;
}

div.single-article h1 {
  font-size: 30px;
  color: #444;
  font-family: "Trebuchet MS", sans-serif;
  letter-spacing: 0px;
  text-transform: none;
  line-height:32px;
  margin: 0 0 8px
}
div.single-article div.social {
  border-top: solid 1px #dcdcdc;
  padding-top: 10px;
}
div.social div.twitter {
  padding-top: 5px;
}
div.single-article div.category {
  margin: 10px 0 20px;
}
div.single-article div.category img {
  display: inline-block !important;
  vertical-align: middle;
  margin-right: 10px;
}
div.single-article div.category p {
  display: inline-block;
  text-align: bottom;
  font-weight: bold;
  font-size: 16px;
  margin: 0;
  vertical-align: middle;
}

#sidebar p {
  margin: 10px 0 0;
}
#sidebar p a {
  display: block;
}
#sidebar a.button {
  border-radius: 0;
  padding: 4px;
  font-size: 16px;
}

#sidebar h2 a {
  color: #fff;
  text-decoration: none;
  display: block;
}
#sidebar h2 a:hover {
  text-decoration: underline;
}

div.article table td, div.single-article table td {
  color: #444;
}

div.article p, div.single-article p {
  margin: 6px 0 16px;
}
div.article h2 a, div.article h2 a:link {
  color: #444;
  text-decoration: none;
}
div.article h2 a:visited {
  color: #aaa;
}
div.article h2 a:hover {
  text-decoration: underline;
}
div.article a.read-more {
    padding: 2px 8px;
    background-color: #ce1f1f;
    color: #fff;
    border-radius: 3px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}
div.article a.read-more:hover {
  background-color: #ff3e3e;
}

table.ce-uploads {
  min-width: 400px;
}
table.ce-uploads tr {
  background-color: #161616;
  color: #ccc;
}
table.ce-uploads thead td {
  font-weight: bold;
  padding: 5px 10px;
  border-top: var(--red-border);
  color: #fff;
}
table.ce-uploads tbody tr:hover {
  background-color: #444;
}
table.ce-uploads td {
  border: 0;
  padding: 0;
}
table.ce-uploads a {
  color: #eee;
  text-decoration: none;
  display: block;
  padding: 3px 10px;
}
#content table.ce-uploads img {
  display: inline-block;
}
div.home-product h2
{
  margin-top:  0;
}

div.home-products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width:  100%;

  @media  (max-device-width : 480px) {
      flex-direction: column;
  }
}

#content div.home-product {
  width: 450px;
  height: 250px;
  border-top: var(--red-border);
  position:  relative;
  background-position: center;
  display: flex;

  @media (max-device-width : 480px) {
      width: 100%;
  }

  &:hover {
    border-color: #eee;
  }

  div.logo {
    img {
      max-width: 150px;
    }

    background-color: #e3000b;
    width: 170px;
    padding: 5px 10px;
    position: absolute;
    bottom: 0;
    left: 0;


    clip-path: polygon(
      0% 0%,   /* top left */
      155px 0%,  /* top right */
      100% 100%, /* bottom right */
      0% 100%   /* bottom left */
    );


  }
}

:root
{
  --red-border: solid 2px #cd231f;
}

div.logofooter {
  background-color: #e7060f;
  padding:  5px 30px;
  display: flex;
  justify-content: space-between;

  img {
    width: 60px;
  }

  @media (max-device-width : 480px) {
    justify-content: center; 
    gap: 5px 20px;
    flex-wrap: wrap;

    img {
      flex: 0 1 60px;
    }
  }
}