/* Dobitnici start */
#winners {
  background-image: url("../images/winners-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#winners-v2 {
  background-image: url("../images/winners-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.winners-heading {
  color: #0f3c1b;
  text-transform: uppercase;
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
}

.winners-none {
  margin-top: 3rem;
  margin-bottom: 8rem;
  color: #0f3c1b;
}

.winners-table-card-body {
  background-color: transparent !important;
}

.table {
  background-color: transparent !important;
}

#datatablesSimple.dataTable th,
#datatablesSimple.dataTable td {
  background-color: transparent !important;
  color: #0f3c1b !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) > th {
  background-color: transparent !important;
}

.table-striped > tbody > tr:nth-of-type(even) > td,
.table-striped > tbody > tr:nth-of-type(even) > th {
  background-color: transparent !important;
}

.table-dark {
  background-color: transparent !important;
}

.table-dark th,
.table-dark td {
  background-color: transparent !important;
}

/* Make the winners table responsive */
#datatablesSimple.dataTable .table-responsive .table {
  min-width: 800px;
  white-space: nowrap;
}

#datatablesSimple.dataTable .table-responsive .table th,
#datatablesSimple.dataTable .table-responsive .table td {
  min-width: 120px;
  white-space: nowrap;
}

#datatablesSimple.dataTable .table-responsive .table th:first-child,
#datatablesSimple.dataTable .table-responsive .table td:first-child {
  min-width: 200px;
}

#datatablesSimple.dataTable .table-responsive .table th:last-child,
#datatablesSimple.dataTable .table-responsive .table td:last-child {
  min-width: 150px;
}

/* Alternating rows effect is handled by Bootstrap table-striped class */

/* Text alignment for winners table */
#winners #datatablesSimple th:first-child,
#winners #datatablesSimple td:first-child {
  text-align: left !important;
}

#winners #datatablesSimple th:last-child,
#winners #datatablesSimple td:last-child {
  text-align: right !important;
}

#winners #datatablesSimple th:nth-child(2),
#winners #datatablesSimple td:nth-child(2),
#winners #datatablesSimple th:nth-child(3),
#winners #datatablesSimple td:nth-child(3) {
  text-align: center !important;
}

#datatablesSimple_filter label input {
  background-color: transparent !important;
  border-radius: 0.5rem !important;
  border: 1px solid #0f3c1b !important;
  outline: none !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
}

#datatablesSimple_filter label input::placeholder {
  color: #fff !important;
  opacity: 0.7;
}

#datatablesSimple_filter label input:focus {
  border-color: #b5ba85 !important;
  box-shadow: 0 0 0 2px rgba(181, 186, 133, 0.2) !important;
}

#datatablesSimple_filter .datatable-selector {
  background-color: transparent !important;
  border: 1px solid #b5ba85 !important;
  border-radius: 0.5rem !important;
  color: #fff !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

#datatablesSimple_filter .datatable-selector option {
  background-color: rgba(0, 0, 0, 0.2) !important;
  color: #fff !important;
}

#datatablesSimple_filter .datatable-selector:focus {
  background-color: transparent !important;
  border-color: #b5ba85 !important;
  box-shadow: 0 0 0 2px rgba(181, 186, 133, 0.2) !important;
}

#datatablesSimple_filter select.datatable-selector {
  background: transparent !important;
}

#datatablesSimple_filter select.datatable-selector option {
  background: rgba(0, 0, 0, 0.8) !important;
  color: #fff !important;
}

.dataTables_paginate .page-button {
  box-sizing: border-box;
  display: inline-block;
  min-width: 1.5em;
  padding: 0.5em 1em;
  margin-left: 2px;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  color: inherit !important;
  border-radius: 2px;
  background: transparent;
  background-color: transparent !important;
  color: white !important;
  border: 1px solid transparent;
  
}

.dataTables_wrapper .dataTables_paginate .page-button.disabled,
.dataTables_wrapper .dataTables_paginate .page-button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .page-button.disabled:active {
    cursor: default;
    color: #666 !important;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
}

.dataTables_paginate .page-button.current,
.dataTables_paginate .page-button:focus {
  background-color: #b5ba85 !important;
  color: #fff !important;
  border: none !important;
}

.dataTables_paginate .page-button.page-button:hover {
  border: 1px solid transparent;
  background-color: #d9d9d9 !important;
}

.dataTables_paginate .page-button.previous.disabled {
  color: #666 !important;
}

.dataTables_wrapper .dataTables_paginate .page-button:active {
  outline: none;
  background-color: #0c0c0c;
  box-shadow: inset 0 0 3px #111
}

/* Dobitnici end */

/* Small devices (landscape phones, 375px and up) */
@media (min-width: 320px) {
  /* Dobitnici start */
  #winners {
    background-position: left;
  }

  .datatable-dropdown {
    margin: 0 auto;
  }

  .winners-heading {
    font-size: 3rem;
  }

  .datatable-top {
    display: flex;
    flex-direction: column;
  }

  .datatable-input {
    width: 100%;
    margin-top: 1rem;
  }
  /* Dobitnici end */
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  /* Dobitnici start */
  .winners-heading {
    font-size: 4rem;
  }

  .datatable-top {
    display: block;
  }

  .datatable-input {
    margin-top: 0rem;
  }
  /* Dobitnici end */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* Dobitnici start */
  #winners {
    background-position: center;
  }
}
