:root {
  --border: #27282D;
  --brand-color: #f0293e;
  --brand-color-5: #f0293ecc;
  --text-color: #000;
  --text-color-secondary: #fff7;
  --text-color-white: #fff;
  --titlebar-background: #fff;
  --topbar-background: #38a1d7;
  --topbar-link: #fff;
  --white-5: #FFFFFF0D;
  --white-10: #FFFFFF1A;
  --white-20: #FFFFFF33;
  --white-50: #FFFFFF80;
  --white-80: #FFFFFFCC;
  --success: #30F029;
  --success-5: #30F0290D;
  --login-background: rgba(0, 0, 0, 0.7);
  --primary-color: #2ba6cb;
  --disabled-color: grey;
}

body {
  font-family: "Rubik", Arial, Helvetica, sans-serif;
  color: var(--text-color);
}

.grid-container {
  max-width: 1200px;
  width: 100%;
}

.title-bar {
  background-color: var(--titlebar-background);
}

.top-bar {
  align-items: center;
  background-color: var(--topbar-background);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 0;
  position: sticky;
  position: -webkit-sticky; /* Safari */
  top: 0;
  width: 100%;
  z-index: 2;
}

.top-bar .logo {
  height: 40px;
  width: auto;
}

.top-bar ul {
  background-color: transparent;
}

.top-bar li {
  flex-grow: 1;
}

.top-bar a {
  align-items: center;
  color: var(--topbar-link);
  height: 64px;
  display: flex;
  flex-basis: 180px;
  justify-content: center;
  padding: 0;
  position: relative;
  transition: color .3s ease;
}
.top-bar a:hover::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 3px;
  width: 100%;
  background-color: var(--topbar-link);
  transition: all .3s ease;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Rubik", Arial, Helvetica, sans-serif;
}

#content {
  padding-bottom: 50px;
  padding-top: 50px;
}

.video-title {
  min-width: 100%;
}

.video-desc {
  min-width: 100%;
  min-height: 200px;
}

.video {
  margin-top: 25px;
}

.sign-in-form {
  padding: 4rem 1.5em;
  border-radius: .5rem;
  background-color: #3d454f;
}

.sign-in-form h4 {
  color: white;
  margin-bottom: 2rem;
  font-weight: 500;
  text-transform: uppercase;
}

.sign-in-form label {
  text-transform: uppercase;
  color: #adadad;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.sign-in-form input:focus {
  opacity: .8;
}

.sign-in-form-username,
.sign-in-form-password {
  border-radius: 30px;
  border: none;
  opacity: .7;
  transition: all ease .4s;
}

.sign-in-form-button {
  border-radius: 30px;
  border: 1px solid #fff;
  color: #fff;
  background-color: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  width: 100%;
  padding: 1rem;
  transition: all ease .4s;
}

.page-header {
  align-items: center;
  border-bottom: 1px solid grey;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.page-header .title,
.page-header .button {
  margin: 0;
}

.thumb {
  padding: 8px;
}

.thumb img {
  height: auto;
  width: 100%;
}

.list-container,
.no-content {
  display: flex;
  flex-direction: column;
}

.video-list {
  order: 1;
}

.no-content {
  align-items: center;
  margin: 50px 0;
  order: 2;
}

thead th {
  font-weight: 500;
}

th.title {
  min-width: 320px;
}

.pagination-container {
  margin: 20px 0;
}

.pagination .button {
  margin: 0;
}

.pagination-link {
  border: 1px solid var(--primary-color);
}

.pagination-link a {
  border-radius: 0;
  color: var(--primary-color);
  transition: all .3s ease;
}

.pagination-link a:hover {
  background-color: var(--primary-color);
  color: var(--text-color-white);
  transition: all .3s ease;
}

.pagination-link.disabled,
.pagination-previous.disabled,
.pagination-next.disabled {
  border-color: var(--disabled-color);
  color: var(--disabled-color);
  padding: 0;
}

.disabled a {
  cursor: not-allowed;
  color: var(--disabled-color);
}

.disabled a:hover {
  background-color: transparent;
  color: var(--disabled-color);
}


.pagination-previous.disabled::before,
.pagination-next.disabled::after {
  content: none;
}

.category {
  align-items: flex-end;
  display: flex;
  margin-bottom: 1rem;
}

.category label {
  flex-grow: 1;
}

.category select,
.category .button {
  margin: 0;
}

.button.success {
  color: var(--text-color-white)
}

.button.success:hover {
  color: var(--text-color-white)
}

textarea {
  height: 8rem;
}

#iframe-container {
  padding-bottom: 56.25%;
  position:relative;
  display:block;
  width: 100%
}

#iframe-container iframe {
  position:absolute;
  top:0;
  left: 0
}