@import url('https://fonts.googleapis.com/css?family=Lato');

:root {
  --primary-color: #568c9b;
  --primary-hover-color: #64a5b7;
  --bg-color: #333;
  --text-color: #333;
  --background: #f4f4f4;
  /* --box-shadow: 3px 4px 12px rgba(0, 0, 0, 0.7); */
}

body.dark-theme {
  background-color: #2b2b2b;
  color: #a9b7c6;
}

body.dark-theme a,
body.dark-theme a:hover {
  color: #a9b7c6;
}

* {
  box-sizing: border-box;
}


body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  color: var(--text-color);
  background: var(--background);
}

ul {
  list-style: none;
  padding: 0;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover-color);
}

.container {
  /* padding: 1rem 4rem; */
  display: flex;
  margin:auto;

  max-width: 2000px;
  /* min-width: 1200px; */
  justify-content: center;

  /* overflow: hidden; */
}

.error {
  padding: 5px;
  border: 1px solid var(--text-color);
  margin-bottom: 15px;
}

/* Header */
header {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6rem;
}

header nav ul {
  display: flex;
}

header nav li {
  margin: 0 1rem;
}

header.inner {
  background: var(--bg-color);
  border-bottom: 4px solid var(--primary-color);
  position: relative;
  /* box-shadow: var(--box-shadow); */
}

/* Buttons */
.btn {
  color: var(--text-color);
  padding: 0.6rem;
  border: 1px solid #ccc;
  transition: all 0.7s;
}

.btn:hover {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #fff;
}

.btn-reverse {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-reverse:hover {
  background: var(--primary-hover-color);
  border: 1px solid var(--primary-hover-color);
}

/* Home Search */
.search-wrap {
  background: url('../img/showcase.jpg') no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  width: 100%;
  padding: 1.3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.search-wrap h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1.5rem;
  text-align: center;
}

.search-form input[type='submit'] {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #fff;
  padding: 0 2rem;
  cursor: pointer;
  transition: all 0.8s;
}

.search-form input[type='submit']:hover {
  background: var(--primary-hover-color);
  border: 1px solid var(--primary-hover-color);
}

.search-form {
  display: flex;
  width: 600px;
  /* box-shadow: var(--box-shadow); */
}

.search-form i {
  color: #333;
}

/* Everything in the search form */
.search-form > * {
  border: 0;
  padding: 0 0 0 10px;
  background: #fff;
  line-height: 50px;
  font-size: 1rem;
  border-radius: 0;
  outline: 0;
}

input[type='search'] {
  flex-basis: 600px;
}

/* Keys */
.key {
  background: var(--bg-color);
  border-bottom: 4px solid var(--primary-color);
  color: #fff;
  padding: 1rem;
  margin-bottom: 1rem;
  /* box-shadow: var(--box-shadow); */
}

.key ul {
  list-style: none;
  display: flex;
}

.key li {
  margin-right: 0.5rem;
  padding: 0.6rem;
}

.key .tech span {
  color: var(--primary-color);
}

/* Form */
.form-wrap {
  margin: auto;
  background: var(--bg-color);
  color: #fff;
  padding: 1rem 3rem 3rem;
  margin-top: 3rem;
  border-bottom: 4px solid var(--primary-color);
  /* box-shadow: var(--box-shadow); */
}

.form-wrap.reg-form,
.form-wrap.login-form {
  width: 100%;
}

.form-wrap h1,
.form-wrap h2,
.form-wrap p {
  text-align: center;
}

.form-wrap .btn {
  margin-top: 1rem;
  display: block;
  width: 100%;
  text-align: center;
  font-size: 18px;
}

label {
  display: block;
  margin-bottom: 0.5rem;
}

.input-box {
  padding: 0.5rem;
  font-size: 18px;
  width: 100%;
  margin-bottom: 1.2rem;
}

/* Tablets */
@media (max-width: 800px) {
  .container {
    padding: 1rem 2rem;
  }

  header {
    flex-direction: column;
    padding: 0.3rem !important;
  }

  .search-form {
    width: 100%;
  }

  input[type='search'] {
    flex-basis: 100%;
  }

  .search-wrap h1 {
    font-size: 2rem;
  }

  .search-wrap {
    padding: 2.3rem;
  }

  .key ul {
    flex-direction: column;
  }

  .key .btn {
    display: block;
    margin-top: 1rem;
    text-align: center;
  }

  .form-wrap.reg-form,
  .form-wrap.login-form {
    width: 80%;
  }
}

/* Smartphones */
@media (max-width: 500px) {
  .container {
    padding: 1rem;
  }

  header nav li {
    margin: 0 10px;
  }

  .search-form {
    display: flex;
    flex-direction: column;
  }

  input[type='search'] {
    flex-basis: 0;
  }

  .search-form i {
    display: none;
  }

  .form-wrap {
    padding: 1rem 2rem 2rem;
  }

  .form-wrap.reg-form,
  .form-wrap.login-form {
    width: 100%;
  }
}

th, td {
  border: 1px solid #006;
  padding: 10px;
  border-collapse: collapse;
}

.dark-theme table.dataTable thead th,
.dark-theme table.dataTable thead td {
  color: #CCC;
  border-bottom: 1px solid #333;
}

.dark-theme table.dataTable tfoot th,
.dark-theme table.dataTable tfoot td {
  color: #CCC;
  border-top: 1px solid #333;
}

.dark-theme table.dataTable tbody th,
.dark-theme table.dataTable tbody td {
  color: #CCC;
}

.dark-theme .dataTables_wrapper {
  color: #CCC;
  background: #333;
}

.dark-theme .dataTables_wrapper .dataTables_length,
.dark-theme .dataTables_wrapper .dataTables_filter,
.dark-theme .dataTables_wrapper .dataTables_info,
.dark-theme .dataTables_wrapper .dataTables_processing,
.dark-theme .dataTables_wrapper .dataTables_paginate {
  color: #CCC;
}

.dark-theme table.dataTable tbody tr {
  background-color: #333;
}

.dark-theme .dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #CCC !important; /* Change this to the color you want */
  border: 1px solid #CCC !important; /* Change this to the color you want */
  background-color: #333 !important; /* Change this to the color you want */
}

.dark-theme .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dark-theme .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background-color: #CCC !important; /* Change this to the color you want */
  color: #333 !important; /* Change this to the color you want */
}

.dark-theme .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background-color: #666 !important; /* Change this to the color you want */
  color: #CCC !important; /* Change this to the color you want */
}