@media screen and (max-width: 1024px) {
  .template-left-content {
/*      padding-left: 0;*/
  }
}


@media screen and (max-width: 992px) {
  .template-content .entry-content table {
    width: 100%;
    overflow-x: auto;
    display: block;
    border-collapse: collapse;
}  
}

.template-content .entry-content * {
  overflow-wrap: break-word;
}

@media screen and (max-width: 601px) {
  .main-content .template-contaier {
    padding: 0;
  }

  .main-content .template-left-content {
/*    padding: 20px 30px;    */
  }

  .main-content .template-contaier .template-content {
    padding: 0;
  }

  .template-content article header.entry-header .entry-meta {
    gap: 0.5em !important;
  }

  .template-content .entry-content table td {
    border: 1pt solid windowtext;
    padding: 0cm 5.4pt;
    vertical-align: top;
  }
  
}

@media screen and (max-width: 929px) {
  .main-content .template-contaier {
    width: 100%;
    padding-top: 0;
  }

  .template-left-content {
    width: 100%;
  }
  .template-content {
    padding: 0;
  }
}

@media screen and (max-width: 375px) {
  .template-content .templates-head-info {
    flex-direction: column;
  }
}

@media screen and (max-width: 991px) {
  .custom-documents-table-search{
    width: 100% !important;
  }
  .custom-document-table-filter {
    width: calc( 50% - 4px ) !important;
    min-width: calc( 50% - 4px ) !important;
  }
  .custom-filter-documents {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  article.template-category-contract table {
    overflow: scroll;
    width: 100%;
    display: block;
  }
}
