/* ===============================
   GLOBAL TABLE STYLE
================================ */
table tr {
  background-color: #e3e3e3;
}
table tr:nth-child(even) {
  background-color: #ffffff;
}

table.dataTable.table-sm > thead > tr > th {
  border: 1px solid #e3e3e3;
  padding: 2px;
  background: #eeeeee;
}

#table td {
  letter-spacing: .015em;
  border-bottom: 1px dotted #e3e3e3;
  padding: 5px 0 5px 20px;
  line-height: 15px;
}

/* Responsive icon datatable */
table.dataTable.dtr-inline.collapsed
> tbody > tr[role="row"] > td:first-child:before,
table.dataTable.dtr-inline.collapsed
> tbody > tr[role="row"] > th:first-child:before {
  left: 3px;
  top: 5px;
  padding: 4px;
}


/* ===============================
   ARTICLE HEADER RESPONSIVE
================================ */
@media (max-width: 1100px) {
  .article-title h1,
  .article-tags,
  .article-title .author {
    margin: 0;
    clear: both;
  }
}


/* ===============================
   FORM INPUT
================================ */
.content input[type="number"],
.content input[type="text"],
.content input[type="date"], 
.content select {
  display: inline-block;
  background: #fff;
  padding: 6px 13px;
  font-size: 13px;
  border: 1px solid #d3d3d3;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  margin-bottom: 3px;
    border-radius: 3px;
}


/* ===============================
   DEFINITION LIST (DL)
================================ */
dl {
  margin: 0 0 20px;
}

dt {
  font-weight: 700;
  line-height: 1.42857143;
}

dd {
  margin-left: 0;
  line-height: 1.42857143;
  border-bottom: 1px solid #8a8a8a;
}

@media (min-width: 768px) {
  .dl-horizontal dt {
    float: left;
    width: 160px;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dl-horizontal dd {
    margin-left: 180px;
  }
}


/* ===============================
   PAGINATION
================================ */
.pagination {
  display: flex;
  justify-content: center;
}

.pagination li {
  list-style: none !important;
}

.pagination li a {
  display: block;
  margin: 1px 3px;
  padding: 4px 8px;
  font-size: 12px;
  color: #717171;
  background: linear-gradient(#f9f9f9, #eaeaea);
  border: 1px solid #dddddd;
  border-radius: 3px;
  text-decoration: none;
}

.pagination li a:hover {
  background: linear-gradient(#fefefe, #fafafa);
}

.pagination li a.active {
  color: #f2f2f2;
  background: linear-gradient(#5f5f5f, #5c5c5c);
  border-color: #505050;
}


/* ===============================
   TABS (BOOTSTRAP-LIKE)
================================ */
.tabs-wrapper {
  margin-top: 20px;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
  padding-left: 0;
}

.tabs-nav li {
  list-style: none !important;
}

.tabs-nav a {
  display: block;
  padding: 10px 15px;
  margin-right: 4px;
  font-size: 14px;
  color: #555;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  text-decoration: none;
}

.tabs-nav a.active {
  background: #ffffff;
  color: #000;
  font-weight: 600;
  border-top: 2px solid #4CAF50;
}

.tab-pane {
  display: none;
  padding: 15px;
  background: #ffffff;
  border: 1px solid #ddd;
}

.tab-pane.active {
  display: block;
}

/* Tabs responsive */
@media (max-width: 768px) {
  .tabs-nav {
    flex-direction: column;
  }
  .tabs-nav a {
    margin-bottom: 5px;
    border-radius: 4px;
  }
}
