/* tooltip */
.hoverdiv {
  position: relative;
}
.hoverdiv > .tooltip {
  display: none;
  font-size: .8em;
  opacity: .7;
}
.hoverdiv:hover > .tooltip {
  display: inline;
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 0 7px;
  background: #1d1d1f;
  border: 1px solid #1d1d1f;
  border-radius: 8px;
  color:white
}

p.line {
  display: inline;
  white-space: nowrap;
  overflow: hidden;
}

td.lead {
  background-color: var(--c_lyellow);
}

td.calculate {
  background-color: var(--c_white);
}

#leads table {
  border-collapse: collapse;
  border: 0px solid rgb(140 140 140);
  font-family: myfont, Arial, sans-serif;
  font-size: 12px;
}

#leads tbody {
  line-height: 1.4;
  font-weight: 400;
}

#leads caption {
  caption-side: bottom;
  font-size: 14px;
  font-weight: 400;
  padding: 15px;
}


#leads thead,
#leads tfoot {
  background-color: #ffffff;
}

#leads table tr {
}

#leads table tr:nth-child(even) {
}

#leads thead th {
  vertical-align: text-top;
}

#leads th {
  text-align: left;
  font-weight: 400;
  line-height: 8px;
}

#leads th,
#leads td {
  border: 0px;
  text-align: left;
}

#leads table tr td {
}

/*
#leads .td_wrapper {
  display: inline-flex;
  position: relative;
  width: 100%;
  flex-direction: column;
  height: 100%;
  margin: 0 -5px 0 0;
}
*/

#leads table tr td .td_wrapper {
  position: relative;
  display: block;
  height: 128px;
  overflow: hidden;
}

#leads .td_all {
  position: relative;
  top: 0px;
  height: 128px;
  padding: 10px;
}

#leads .td_top {
  position: relative;
  top: 0px;
  height: 88px;
  padding: 10px;
}

#leads .td_bottom {
  position: relative;
  display: table-cell;
  bottom: 0px;
  height: 40px;
  padding: 10px;
}

#leads .td_wrapper p {
  margin: 0;
}

#leads .thin{
  padding: 0 0 0 5px;
}

#leads tbody > tr.no {
  opacity: 0.5;
}

#leads tbody > tr:nth-of-type(odd) {
  /*background-color: #eff3f6;*/
}

#leads tbody > tr:nth-of-type(odd) > th{
  padding: 4px 10px;
}

#leads tbody > tr:nth-of-type(even) {
  /*background-color: #ffffff;*/
}

#leads tbody.blur_animate > tr:nth-of-type(even) {
  opacity: .75;
  pointer-events: none;
  animation: showLead 2s infinite linear;
}
/* #leads.blur_animate {
  opacity: .75;
  pointer-events: none;
  animation: showLead 2s infinite linear;
} */
@keyframes showLead {
  0% {
    filter: brightness(100%);
    -webkit-filter: brightness(100%);
  }
  30% {
    filter: brightness(95%);
    -webkit-filter: brightness(95%);
  }
  50% {
    filter: brightness(90%);
    -webkit-filter: brightness(90%);
  }
  70% {
    filter: brightness(95%);
    -webkit-filter: brightness(95%);
  }
  100% {
    filter: brightness(100%);
    -webkit-filter: brightness(100%);
  }
}

#leads tfoot th {
  text-align: right;
}

#leads tfoot td {
  font-weight: 300;
}

#leads .collaps{
  height: 460px;
  transition: height 0.3s ease-in-out;
}
#leads .collaps.collapsed{
  height: 0px !important;
}


.tn-atom {
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
  border-radius: 10px;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transition: background-color 0s ease-in-out, color 0s ease-in-out, border-color 0s ease-in-out;
  display: table-cell;
  vertical-align: middle;
  -webkit-text-size-adjust: 100%;
  padding: 2px 10px;
}
.tn-atom.tn-grey {
  color: #80878f;
  background-color: #d6dce3;
}
.tn-atom.tn-white {
  color: #80878f;
  background-color: #ffffff;
}
.tn-atom.tn-yellow {
  color: #80878f;
  background-color: #f8f7f5;
}
.tn-atom.tn-red {
  color: var(--c_lblack);
  /*background-color: #f8f7f5;*/
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  border-radius: 0;
}
.tn-atom.tn-red.b_gray:hover {
  background-color: #f8f7f5 !important;
  color: #000000 !important;
}
.tn-atom.tn-grey:hover {
  background-color: #f8f7f5;
  color: #000000;
}
.tn-atom.tn-white:hover {
  /*background-color: #e2e8f0;*/
  color: #000000;
}
.tn-atom.tn-yellow:hover {
  /*background-color: #e2e8f0;*/
  color: #000000;
}
.tn-atom.tn-red:hover {
  background-color: #ff402c;
  color: #ffffff;
}
.tn-atom.sel {
  background-color: #e2e8f0;
}

.tn-atom.tn-grey.small {
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  padding: 0 8px;
}
/*
.car_colors {
  width: calc(100% - 2px);
  height: 16px;
  margin: 1px 0;
  outline: 1px solid #b3bbc6;
}
*/
div.auto_ico {
  display: inline-block;
  width: 100%;
  aspect-ratio: 360 / 240;
  border-radius: 18px;
  overflow: hidden;
}
div.auto_ico .images {
  display: inline-block;
  width: 100%;
  aspect-ratio: 360 / 240;
  border-radius: 18px;
  overflow: hidden;
}
div.auto_ico img {
  display: block;
  position: absolute; top: 0; bottom: 0; margin: auto 0;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
div.auto_ico > img, div.auto_ico img.image {
  object-fit: cover; width: 100%; height: 100%;
}
div.auto_ico img:hover {
  /*transform: scale(1.2);*/
}
div.auto_ico img[data-src] {
  opacity: 0.5;
}
div.auto_ico > a.but[href="#my_advert_favor"] {
  background-color: var(--c_white);
}
div.auto_ico > a.but[href="#my_advert_favor"]:has(>i.fa-star.fa-solid) {
  background-color: var(--c_lblue);
}
div.auto_ico > a.but[href="#my_advert_favor"] >i.fa-star.fa-solid {
  color: var(--c_blue);
}


/*
div.auto_ico::before {
  position: absolute;
  content: "";
  width: 200px;
  height: 75px;
  top: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0) 25%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 75%);
  pointer-events: none;
  animation: go-right 2s infinite;
}
@keyframes go-right {
  from {
    right: 100%;;
  } to {
    right: -200%;
  }
}
*/
div.color {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  border: solid 1px #80878f;
  background-color: #ffffff;
}


/* нумерация страниц */
div.body_number {
  display: none;
  position: fixed;
  width: calc(50% - 600px);
  top: 50%;
  transform: translate(0%, -50%);
  overflow-y: hidden;
  overflow-x: hidden;
}
div.body_number.left {
  left: 0;
}
div.body_number.right {
  right: 0;
}
p.body_number {
  line-height: 0.9;
  text-align: center;
  font-family: monospace;
  font-weight: bold;
  font-size: calc( 27vw - 280px );
  text-transform: uppercase;
  color: #eff3f6;
  transition: color .5s ease;
}
p.body_number.n1 {
  font-size: calc( 27vw - 280px );
}
p.body_number.n2 {
  font-size: calc( 20vw - 200px );
}
p.body_number.n3 {
  font-size: calc( 14vw - 140px );
}
p.body_number.n4 {
  font-size: calc( 9vw - 100px );
}
p.body_number.n5 {
  font-size: calc( 8vw - 80px );
}
p.body_number > span.from {
  display: block;
  font-weight: normal;
  font-size: 0.3em;
}

/* инфо о лиде в табах */
/*
.tab-container {
  margin: 0;
  padding: 0;
  max-width: 310px;
}
.tab-container.mobile {
  padding: 4px 0 0 0;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}
.tabs > input[type="radio"] {
  display: none;
}
.tab-content {
  display: none;
  width: 100%;
  order: 1;
}
#tab-btn-1:checked ~ #content-1,
#tab-btn-2:checked ~ #content-2,
#tab-btn-3:checked ~ #content-3 {
  display: block;
}
.tabs > label {
  display: block;
  margin: 1px;
  color: #1d1d1f;
  font-size: 14px;
  border-radius: 10px;
  border: none;
  background-color: #d6dce3;
  padding: 11px 10px;
  text-align: center;
  cursor: pointer;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
  flex-grow: 1;
}
.tabs > label:hover {
  background-color: #f8f7f5 !important;
}
.tabs > input[type="radio"]:checked + label {
  background-color: #ffffff;
}
*/
