.caret {
  margin: 3px;
  vertical-align: middle;
}
/*
.small {
  font-size: 80% !important;
}

.small input,
.small select {
  font-size: 90% !important;
}*/

div.summary {
  display: block;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: center;
}

.small input[type="text"],
.small select {
  width: 100% !important;
}

.small .pagination,
.small table {
  margin: 0;
}

.workSelect td {
  padding: 2px;
}

.workSelect td.underGroup {
  padding-left: 30px;
  background: url("../images/category_next.png") no-repeat 8px center;
}

.workSelect td {
  text-align: center;
}

.workSelect tbody > tr:last-child > .underGroup {
  padding-left: 30px;
  background: url("../images/category.png") no-repeat 8px center;
}

.workSelect tbody.hide {
  display: none;
}

body .modal {
  left: 10%;
  /* (100%-width)/2 */
  width: 80%;
  /* desired relative width */
  margin: auto auto auto auto;
  /* place center */
}

.bottom-txt {
  display: block;
  margin-top: 10px;
  text-align: center;
}

.btn-white a {
  line-height: 40px;
  border-radius: 5px;
  height: 40px;
  padding: 0 20px;
  display: inline-block;
  white-space: nowrap;
  border: 1px solid #fff;
}

@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/montserrat-medium.woff"), url("fonts/montserrat-medium.woff2") format("woff2"), url("fonts/montserrat-medium.ttf") format("truetype");
}

body {
  font: 500 normal 13px/1.7 Montserrat, sans-serif;
  background: #fff;
  color: #425463;
}

.detail-main {
  margin: 0 -20px;
}

.detail-main th {
  text-align: left;
  padding-left: 20px;
  width: 210px;
}

.detail-main th[id*="sanction-grid"],
.detail-main th[id*="audit-grid"] {
  padding-left: 10px;
}

.detail-main th#audit-grid_c0 {
  padding-left: 20px !important;
}

.detail-main .span6 {
  padding-left: 0 !important;
}

.detail-main .even td,
.detail-main .even th {
  background-color: #EBEDF0;
}

.detail-main .table td,
.detail-main th {
  border-top: 0;
  color: #425463;
}

.detail-main .table td:last-child,
.detail-main th:last-child {
  padding-right: 20px;
}

.detail-top {
  background: #596e80;
  color: #fff;
  margin: 0 -20px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: baseline;
  align-items: baseline;
  padding: 10px 0 15px;
}

.detail-top h3 {
  font-weight: 500;
  margin: 0 0 0 30px;
}

.detail-top h3 small {
  color: rgba(255, 255, 255, 0.5);
}

.detail-top a {
  color: #fff;
}


.nav-tabs {
  background: #f2f2f2;
  padding-left: 15px;
}
.table-striped tbody > tr:nth-child(odd) > td, .table-striped tbody > tr:nth-child(odd) > th {
  padding-left: 15px;
}
.table th, .table td {
  padding-left: 15px;
}

.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.nav-tabs > .active > a:focus {
  color: #1e73be;
  border: 0;
  border-bottom: 2px solid currentColor !important;
  background-color: transparent;
}

.nav-tabs > li > a {
  line-height: 20px;
  color: #000;
  font-weight:bold;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 18px 0;
}

.nav-tabs > li {
  margin-left: 20px;
}

.nav-tabs > li:first-child {
  margin-left: 0;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
  background-color: transparent;
  color: #1e73be;
  border-color: transparent;
}

.small .pagination {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
}

.pagination ul > li > a,
.pagination ul > li > span {
  font-size: 14px !important;
  color: #425463;
  border: 0;
  background-color: transparent;
}

.pagination ul > .active > a,
.pagination ul > .active > span {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  color: #425463 !important;
  background-color: #fff !important;
  margin: 0 5px;
}

.pagination ul {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  box-shadow: none;
}

.pagination ul > li > a:hover,
.pagination ul > li > a:focus {
  color: #00aa2b;
  background-color: transparent;
}

.pagination .previous a,
.pagination .next a {
  opacity: 0;
}

.pagination .previous,
.pagination .next {
  position: relative;
  width: 20px;
}

.pagination .next:before {
  content: '';
  display: inline-block;
  position: absolute;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDggMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuMzMxIDBMMCAxLjMzMUw0LjM3NCA1LjcwNUwwIDEwLjA4TDEuMzMxIDExLjQxMUw3LjAzNyA1LjcwNUwxLjMzMSAwWiIgZmlsbD0iIzQyNTQ2MyIvPjwvc3ZnPg==);
  width: 8px;
  height: 12px;
  top: 50%;
  margin-top: -6px;
  left: 50%;
}

.pagination .previous:before {
  content: '';
  display: inline-block;
  position: absolute;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDggMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuMzMxIDBMMCAxLjMzMUw0LjM3NCA1LjcwNUwwIDEwLjA4TDEuMzMxIDExLjQxMUw3LjAzNyA1LjcwNUwxLjMzMSAwWiIgZmlsbD0iIzQyNTQ2MyIvPjwvc3ZnPg==);
  width: 8px;
  height: 12px;
  left: -5px;
  top: 50%;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  margin-top: -6px;
}

.previous.disabled,
.next.disabled {
  opacity: .5;
}

.td-green span {
  padding: 6px;
  white-space: nowrap;
  color: #155724;
  border: 1px #c3e6cb solid;
  border-radius: 4px;
  background-color: #d4edda;
}

.td-red span {
  padding: 6px;
  /*white-space: nowrap;*/
  color: #721c24;
  border: 1px #f5c6cb solid;
  border-radius: 4px;
  background-color: #f8d7da;display: block;}

.td-yellow span {
  padding: 6px;
  white-space: nowrap;
  color: #856404;
  border: 1px #ffeeba solid;
  border-radius: 4px;
  background-color: #fcf8e3;
}

.td-detail span {
  margin-top: 2px;
  margin-bottom: 2px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.small input,
.small select {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
}

.sort-link {
  display: -ms-flexbox;
  display: flex;
  align-items: flex-end;
  color: #425463;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

.table th,
.table td {
  line-height: 1.4;
}

#members-grid-form {
  margin: 0 -20px 20px;
}

.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th {
  background-color: #fff;
}

.table th,
.table td {
  padding-top: 30px;
  padding-bottom: 20px;
}

.table {
  background-color: #fff;
}

/*
.table td {
    color: rgba(66, 84, 99,.5);
}*/

.table td a {
  color: #425463;
}

#members-grid_c0,
#sanction-grid_c0 {
  padding-left: 20px;
}

.table-striped tbody td:first-child {
  padding-left: 20px;
}

.table-striped tbody td:first-child {
  padding-right: 20px;
}

#members-grid_c9 {
  padding-right: 20px;
}

tr.filters td {
  padding-top: 8px;
  padding-bottom: 8px;
}

.small input[type="text"],
.small select {
  margin-bottom: 0;
}

.td-green span {
  padding: 7px 14px;
  color: #00aa2b;
  border: 0;
  border-radius: 30px;
  background-color: rgba(0, 170, 43, 0.1);
}

.td-red span {
  padding: 7px 14px;
  color: red;
  border: 0;
  border-radius: 30px;
  background-color: rgba(255, 0, 0, 0.1);
}

.td-yellow span {
  padding: 7px 14px;
  color: #fd8e52;
  border: 0;
  border-radius: 30px;
  background-color: rgba(253, 142, 82, 0.1);
}

.row-fluid [class*="span"]:first-child {
  padding-left: 20px;
}

tr.filters td:first-child {
  padding-left: 20px;
}

tr.filters td:last-child {
  padding-right: 20px;
}

#members-grid-form i {
  display: block;
  margin-top: 10px;
  text-align: center;
}

.table a {
  text-decoration: underline;
  color: #425463;
}

/*.small .table th {
  white-space: nowrap;
}*/

.sort-link.asc .caret {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}


@media all and (max-width: 1100px) {
  .no-more-tables.table-striped {
    overflow-x: auto;
  }
}
@media all and (max-width: 760px) {
  .detail-top {
    flex-direction: column;
    padding: 0 15px;
  }
  .detail-top h3 {
    margin-left: 0;
    margin-top: 5px;
  }


  .table th, .table td {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .pagination .previous, .pagination .next {
    display: none;
  }
  .nav-tabs {
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
  }
  .nav-tabs > li {
    margin-left: 20px;
  }
  .nav-tabs > li:first-child {
    margin-left: 20px;
  }
  .nav-tabs > li > a {
    padding: 10px 0;
  }
  .tab-content {
    padding: 0 15px;
  }

}