body {
  font-family: "Comfortaa", cursive;
  font-size: 0.8rem;
}
section {
  background-color: #3aafa9;
  padding: 80px 5px 0px 5px;
}
@media (max-width: 576px) {
  section {
    padding-top: 120px;
    padding-bottom: 40px;
  }
}
h2 {
  color: #17252a;
  font-weight: bolder;
}
form,
.login-container,
.accordion-container {
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.4);

  background-color: #def2f1;
}
label {
  font-weight: bold !important;
}
input:not([name="file"]),
textarea {
  box-shadow: inset 0 -2px 0 #91a9b3 !important;
  font-size: 0.86rem !important;
}
input:not([name="file"]):focus,
textarea:focus {
  box-shadow: inset 0 -2px 0 #2b7a78 !important;
}
.login-button,
.submit-button {
  background-color: #2b7a78;
  color: #feffff;
  border-radius: 0 !important;
  padding: 15px 25px !important;
  margin-top: 30px;
}
.login-button:hover,
.submit-button:hover {
  background-color: rgba(40, 122, 120, 0.8);
  color: #feffff;
}
.delete-button {
  cursor: pointer;
  color: red;
}
nav {
  background-color: #def2f1;
  z-index: 999;
}

.dropdown-menu {
  background-color: #def2f1 !important;
  box-shadow: none;
}

.dropdown-menu a {
  padding: 10px 20px;
}
.dropdown-menu a:active {
  background: #def2f1 !important;
  color: black;
}
/* inputs autofill background and bottom line style */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #def2f1 inset !important;
  border-bottom: 2px solid #2b7a78;
}
.head-container,
.prog-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.head-container {
  padding: 40px 10px;
  cursor: pointer;
}
.head-container:hover {
  text-decoration: none;
}
.program {
  margin: 15px 0px;
}
.prog-container {
  background-color: #def2f1;
  padding: 15px;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.4);
}
.table-container {
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.4);
  background-color: #def2f1;
}
table {
  background-color: #feffff;
}
table tr th {
  font-size: 1rem;
}
.page-item.active .page-link {
  background-color: #2b7a78 !important;
  border-color: #2b7a78 !important;
}
input.form-control:focus {
  box-shadow: inset 0 -2px 0 #2b7a78 !important;
}

/* submit programm forms */
.card {
  background-color: #def2f1;
}
.card form {
  box-shadow: none;
}
.card-header {
  background-color: #c3d8d7;
  text-align: center;
}
.card-header button,
.card-header button:hover,
.card-header button:focus {
  color: #17252a;
  text-transform: none;
  font-weight: bolder;
  font-size: 1rem;
  text-decoration: none;
}
.nav-tabs .nav-link {
  text-decoration: none;
  color: #feffff;
  padding: 20px 40px;
  font-size: 1rem;
}
.nav-tabs .nav-link:hover {
  color: #feffff;
  box-shadow: inset 0 -2px 0 #def2f1;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-link.active:focus,
.nav-tabs .nav-link.active:hover,
.nav-tabs .nav-link.active:focus:hover {
  background-color: #def2f1;
  color: #17252a;
  box-shadow: inset 0 -2px 0 #def2f1;
}
.nav-tabs .nav-link:focus:hover,
.nav-tabs .nav-link:hover {
  color: #17252a;
  background-color: rgba(222, 242, 241, 0.5);
  box-shadow: inset 0 -2px 0 #def2f1;
}
.mobFile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

table tbody tr[role="row"] td:first-child {
  vertical-align: middle;
}
.top,
.bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 10px 0px;
}

.top {
  flex-wrap: wrap-reverse;
}

@media (max-width: 768px) {
  .top div,
  .bottom div {
    margin: 0 auto !important;
  }
  li.paginate_button.previous {
    display: none;
  }

  li.paginate_button.next {
    display: none;
  }

  li.paginate_button {
    display: inline;
    padding: 10px 0px;
  }
}

.top div:first-child button span {
  display: none;
}

.top div:first-child button::after {
  content: "Λήψη αρχείου Excel";
  text-transform: capitalize;
}

table.collapsed tbody tr td.dtr-control {
  position: relative;
}
table.collapsed tbody tr[role="row"] td.dtr-control:before {
  top: 50%;
  left: 5px;
  height: 1em;
  width: 1em;
  margin-top: -9px;
  display: block;
  position: absolute;
  color: white;
  border: 0.15em solid white;
  border-radius: 1em;
  box-shadow: 0 0 0.2em #444;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  font-family: "Courier New", Courier, monospace;
  line-height: 1em;
  content: "+";
  background-color: #31b131;
}
table.collapsed tbody tr.parent td.dtr-control:before {
  content: "-";
  background-color: #d33333;
}
table.dataTable.collapsed > tbody > tr.child ul.dtr-details {
  display: inline-block;
  width: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
table.dataTable.collapsed > tbody > tr.child ul.dtr-details li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0px;
}
table.dataTable.collapsed
  > tbody
  > tr.child
  ul.dtr-details
  li
  span:nth-child(2) {
  text-align: right;
}
table.dataTable.collapsed > tbody > tr.child ul.dtr-details li .dtr-title {
  font-weight: bold;
}
