/* CSS file for admin console */

/* ============================== */
/* General styling */

.center {
  margin: auto;
  width: 50%;
  padding: 10px;
  text-align: center;
}


/* ============================== */
/* Flexbox */

.layout-flex-container {
  display: flex;
  flex-direction: column;
}
.layout-flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.layout-flex-row > * {
  margin-left: 10px
}

.layout-flex-column {
  flex-direction: column;
}

/* ============================== */
/* Top navigation */
/* Add a black background color to the top navigation */

.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Style the span inside the navigation bar */

.topnav span {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

/* ============================== */
/* Spinner */

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid blue;
  border-right: 16px solid green;
  border-bottom: 16px solid red;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin-left: auto;
  margin-right: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
