.serGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4px;
    justify-items: center;
    align-items: normal;
    label {
      border: 1px solid #e7e7e7;
      position: relative;
      border-radius: 2px;
      width: 100%;
      text-align: center;
      padding: 4px 8px;
      cursor: pointer;
      transition: background .4s;
      span { font-size: .8rem;}
      &.observe{ 
         border-color: #73b640; color: #73b640;
         &.aktiv{ background: #73b640; color: #fff;}
         &:hover{ background: #73b640; color: #fff;}
         &:has(input:checked){
           border: 1px solid #73b640;
           background: #73b640;
         }
      }
      &.aktiv{ background: #bbb; color: #fff; }
      &:has(input:checked){
        border: 1px solid #666;
        background: #666;
        color: #fff;
      }
      &:hover {background: #ddd;}
      input { width: 0; position: absolute;}
   }
}
.cpv-code{
  font-size: .9rem;
  padding-top: 10px;
  font-family: sans-serif;
  div { font-weight: 400; }
  .red { color: red; }
}

.shadow { box-shadow: 2px 2px 5px #0002;}
.serach{
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  padding: 20px;
  margin-top: 20px;
  .section {
     padding-top: 20px;
     legend {padding-bottom: 7px; }
     &.body-html { padding-top: 0; }
     &.cpv {
       .quick-nav { 
          padding: 0 0 8px;
          display: flex; 
          justify-content: space-between;
          button {
            padding: 5px 10px; 
            border: none;
            border-radius: 2px;
            cursor: pointer;
            box-shadow: 0 0 1px #0003;
            transition: box-shadow .3s, transform 0.2s ease;
            &.clear-all{ 
              background: var(--color-link-blu);
              color: #fff;
              font-size: .75rem;
              text-transform: uppercase;
            }
            &:hover { 
              box-shadow: 0 0 3px #0003;
              transform: translateY(-1px);
            };
         }
         .quick-tags {
           display: flex;
           flex-wrap: wrap;
           gap: 8px;
           button {
             &.active {
               background: #005f75;
               color: #fff;
             }
           }
         }
       }
       .choices__inner {
           padding: 4px !important;
          .choices__item[data-deletable] { border-radius: 3px; margin-bottom: 0; }
          .choices__list--multiple{
              display: flex;
              flex-wrap: wrap;
              gap: 4px;
              &:has(.choices__item){border: 1px solid #0003; border-radius: 2px; padding: 4px; }
              .choices__item{ margin: 0; }
           }
        }
     }
     &.typenotice{
        .serGrid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
     }
     &.provinces {
         label { 
          transition: transform .05s;
          transform: scale(1);
          &.hidde {
             transition: transform .05s;
            transform: scale(0);
            input{ margin: 0;}
          }
        }
     }
  }
  .navigate {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 10px 0;
  }
  .advenced{
    background: beige;
    padding: 15px;
    border-radius: 3px;
    #hid {
      width: fit-content;
      color: #028ad4;
      border: 1px solid #028ad4;
      padding: 2px 8px;
      cursor: pointer;
      background: #fff;
      transition: background .3s, color .3s;
      &:hover{ background: #028ad4; color: #fff;
      }
    }
    .not-advence{
      display: grid;
      grid-template-columns: 1fr 2fr;
      @media (max-width: 768px) { grid-template-columns: 1fr; }
    }
    .serGrid{
       label {
          border: 1px solid #000; 
          &:hover{ background: #fff; color: #000; }
       }
     }
  }
}

.block-pagines{
  border: none;
  margin: 0;
  padding: 10px;
  width: 100%;
  .txt { text-align: center;  margin: 18px 0 6px;  font-size: .9rem;}
  .pagesize { grid-template-columns: repeat(auto-fit, 40px); justify-content: center; }
  .pagines {
       grid-template-columns: repeat(auto-fit, minmax(30px, 40px));
       justify-content: center;
       label {
          border: none;
          border-top: 2px solid #333;
          &.goto {
             display: inline;
             border:none;
             &:hover{
                background: none;
                color: var(--color-primary);
             }
         }
         &:has(input:checked){
            border: none;
            border-top: 2px solid #333; 
            background: #999;
            color: #fff;
         }
      }
   }
}

.result {
  display: grid;
  gap: 20px;
  padding-top: 25px;
  &.listing {
    @media (max-width: 768px) { gap: 45px; }
    .allert { font-size: 1.1rem; font-weight: 500; }
    }
  &.detalis {
    .header-tender {
       .time {display: flex; gap: 7px;}
       .title {font-size: 1.2rem; padding: 20px 0 0; font-weight: 500;}
    }
    
    .btn {width: fit-content;}
    h2 {font-size: 1.2rem; padding: 0 20px; color: #797; margin: 45px 0 20px; border-left: 25px solid; }
    h3 {
      padding: 5px 0 10px;
      margin-top: 15px;
      font-weight: 600;
      font-size: 1.1rem;
      border-top: 1px solid #ddd;
      align-items: center;
      span { 
        font-weight: 400; 
        .conte { padding: 10px; }
      }
    }
    .cpv-code {
       display: grid; grid-template-columns: auto 1fr; gap: 1px 20px;
    }
    .body-html {
      .sec {
         padding: 10px 0 0 20px;
         &:has(.h-main){ padding: 0;}
         h3:not(.h-main) {border: none; margin: 0; font-size: .85rem; padding: 0; font-weight: 300;}
         div { font-size: 1rem; font-weight: 500; }
         .number { padding-top: 0; }
         .letter { padding: 0;}
         .bullet { padding: 0;}
         .dash { padding: 0;}
      }

      a { color: #028ad4;  transition: color .3s; &:hover{ color: #ccc;}}
     }
  }
  &.bzp-info{
    display: grid;
    justify-content: center;
    padding: 65px 0;
    text-align: center;
  }
}
.other {
  padding-top: 65px;
  display: grid;
  gap: 20px;
  .header {
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 4px;
    color: cadetblue;
    margin-bottom: -15px;
    text-transform: uppercase;
  }
}
.navten{
   display: flex;
   gap: 20px;

}

.tender {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 20px;
  position: relative;
  @media (max-width: 768px) { 
    grid-template-columns: 1fr; 
    gap: 7px;
  }
  .info {
    display: grid;
    align-content: space-between;
    border-top: 2px solid beige;
    @media (max-width: 768px) { 
      order: 3; 
      border: none;
      border-bottom: 2px solid beige;
    }
    .notic{
       padding-top: 4px;
       padding-bottom: 20px; font-size: 1rem;
       text-align: end;
       justify-items: end;
          @media (max-width: 768px) { padding: 0; }
       .history {
          color: #fff;
          width: fit-content;
          font-size: .8rem;
          line-height: normal;
          background: #444;
          padding: 3px 7px;
          border-radius: 2px;
          text-transform: uppercase;
          @media (max-width: 768px) {
             position: absolute;
             top: -10px;
             right: 0;
          }
       }
     }
  }
  .data {
     text-align: end;
     display: grid;
     font-weight: 500;
     span { font-size: .8rem; font-weight: 400; color: #333; }
     @media (max-width: 768px) {
        display: flex;
        gap: 10px;
        row-gap: 0;
        justify-content: end;
        align-items: baseline;
        flex-wrap: wrap;
     }
     &.to-end{
           display: flex; 
           gap: 6px;
           padding: 7px 0;
           align-items: self-end;
           justify-content: end;
           color: #27932e;
        span{ margin-bottom: 2px; }
     }
     &.red { color: red;}
  }
  .content {
     background: beige;
     padding: 15px;
     border-radius: 3px;
     a { color: #2766ad;  display: block;}
     .title {
        padding: 15px 0 15px;
        font-weight: 500;
        a { color: var(--color-primary); font-size: 1.1rem; padding-top: 0; }
     }
     .organization {
         font-size: 0.95rem;
         font-weight: 500;
         span { font-size: 0.85rem; font-weight: 400; }
     }
     .navten{
        padding-top: 15px;
        align-items: center;
     }
  }
  .watch-btn {
    border: 1px solid #000;
    transition: border .3s;
    &.observer {
     border: 1px solid #028ad4;
     background: #028ad4;
     color: #fff;
     min-width: 220px;
    }
  }
}
.body-html {
  input {width: 100%;}
  .number { padding-top: 12px; }
  .letter { padding: 6px 0 6px 10px;}
  .bullet { padding: 0 0 0 40px;}
  .dash { padding: 0 0 0 40px;}
}