.hidden {
  display: none;
}

.w100 {
  width: 100%;
}

.w75 {
  width: 75%;
}

.w50 {
  width: 50%;
}

.w33 {
  width: 33%;
}

.w25 {
  width: 25%;
}

.btn {
  background-color: #009688;
  border: 0;
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  line-height: 36px;
  min-width: 88px;
  outline: 0;
  padding: 0 16px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 100ms ease-in-out, color 100ms ease-in-out;
}
.btn.disabled {
  background-color: #fff;
  color: rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 0, 0, 0.3);
}
.btn.raised:not(.disabled):hover {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.24), 0 2px 9px 0 rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}
.btn.raised:not(.disabled):active {
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.24), 0 1px 9px 0 rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}
.btn.flat:not(.disabled) {
  background-color: transparent;
  color: rgba(0, 0, 0, 0.54);
}
.btn.flat:not(.disabled):hover {
  background-color: rgba(0, 0, 0, 0.06);
}
.btn.flat:not(.disabled):active {
  background-color: rgba(0, 0, 0, 0.12);
}

i.material-icons {
  vertical-align: middle;
}

input.toggle {
  display: none;
}
input.toggle + label {
  position: relative;
  display: inline-block;
  height: 20px;
  width: 44px;
  background: #898989;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}
input.toggle + label:after {
  position: absolute;
  left: -2px;
  top: -3px;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 100%;
  background: #686868;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);
  content: "";
  transition: all 0.3s ease;
}
input.toggle + label:active:after {
  transform: scale(1.05, 0.95);
}
input.toggle:checked + label {
  background: #009688;
}
input.toggle:checked + label:after {
  left: 20px;
  background: #4caf50;
}
input.toggle:disabled + label {
  background: #d5d5d5;
  pointer-events: none;
}
input.toggle:disabled + label:after {
  background: #bcbdbc;
}

img {
  max-width: 100%;
}

span.loading {
  display: block;
  width: 20px;
  height: 20px;
  border-width: 5px;
  border-color: #333;
  border-style: solid;
  border-radius: 100%;
  -o-clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 50% 50%, 50% 100%, 0% 100%);
  -moz-clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 50% 50%, 50% 100%, 0% 100%);
  -webkit-clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 50%,
    50% 50%,
    50% 100%,
    0% 100%
  );
  clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 50% 50%, 50% 100%, 0% 100%);
  -o-animation: spin 1s 0s linear infinite;
  -moz-animation: spin 1s 0s linear infinite;
  -webkit-animation: spin 1s 0s linear infinite;
  animation: spin 1s 0s linear infinite;
  content: "";
  overflow: hidden;
  color: transparent;
}
span.loading.dark {
  border-color: #333;
}
span.loading.light {
  border-color: #efefef;
}
span.loading.size-l {
  width: 50px;
  height: 50px;
  border-width: 10px;
}
span.loading.inline {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  border-width: 0.3em;
}

.btn > .loading {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  border-width: 0.3em;
  border-color: inherit;
}

/******************* */
/*  Keyframes       */
/******************* */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/******************* */
/*  Typography      */
/******************* */
html,
body {
  background-color: #303030;
  font-family: "roboto";
  font-size: 16px;
  line-height: 1.3em;
}

h3,
h4,
h5 {
  padding: 12px 24px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.54);
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 12px;
}

strong {
  font-weight: 600;
}

/******************* */
/*  Sidebar Nav     */
/******************* */
.sidebar-nav {
  background-color: #fff;
  box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.18), 0 0 5px 0 rgba(0, 0, 0, 0.24);
  bottom: 0;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(104%);
  transition: transform 250ms ease-in-out;
  width: 256px;
  z-index: 9999;
}
.sidebar-nav.active {
  transform: translateX(0);
}
.sidebar-nav header {
  width: 100%;
  position: relative;
  background-color: #292929;
  color: #fff;
  padding: 24px;
  font-size: 13px;
}
.sidebar-nav header .menu-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #fff;
}
.avatar {
  overflow: hidden;
  display: inline-block;
  width: 56px;
}
.avatar img {
  width: 100%;
  border-radius: 100%;
}
.sidebar-nav header .email {
  display: block;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.3em;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.sidebar-nav nav {
  padding-top: 12px;
}
.sidebar-nav nav ul > li > a {
  padding: 12px 24px;
  display: block;
  color: rgba(0, 0, 0, 0.54);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
}
.sidebar-nav nav ul > li > a svg {
  margin-right: 32px;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  fill: #000;
}
.sidebar-nav nav ul > li > a.active {
  color: #4285f4;
}
.sidebar-nav nav ul > li > a.active svg {
  fill: #4285f4;
}

/******************* */
/*  Headerbar       */
/******************* */
.headerbar {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 9995;
  background-color: #212121;
  color: #fff;
  height: 80px;
}
.headerbar a {
  color: inherit;
  text-decoration: none;
}
.headerbar a.back-link {
  position: absolute;
  width: 24px;
  height: 24px;
  display: inline-block;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.headerbar h1 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  margin: 0;
  line-height: 1em;
  left: 80px;
  font-size: 20px;
}
.headerbar a.menu-toggle {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

/******************* */
/*  Content Wrapper */
/******************* */
body > .wrapper {
  margin: 160px auto 80px;
  width: 100%;
  max-width: 600px;
  background-color: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.24), 0 0 9px 0 rgba(0, 0, 0, 0.18);
}

/******************* */
/*  Search field    */
/******************* */
.searchbar {
  position: relative;
}
.searchbar form {
  display: inline-block;
}
.searchbar form label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(68, 68, 68, 0.5);
  width: 24px;
}
.searchbar form#search:not(.empty) {
  box-shadow: 0 2px 9px 0px rgba(0, 0, 0, 0.24);
}
.searchbar form#search {
  padding: 0 24px;
  width: 100%;
}
.searchbar form#search label {
  left: 24px;
}
.searchbar form#search input {
  line-height: 48px;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  outline: 0;
  padding: 0 48px;
  font-size: 18px;
}
.searchbar form#clear_search {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}
.searchbar form#clear_search label {
  right: 24px;
}
.searchbar form.empty + form {
  display: none;
}

/******************* */
/*  Page: categories */
/******************* */
.set-list a {
  display: block;
  padding: 12px 24px;
  color: inherit;
  text-decoration: none;
  transition: background-color 100ms ease-in-out;
}
.set-list a:active,
.set-list a:focus {
  background-color: #f3f3f3;
}
.set-list a .title {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  padding: 0;
}
.set-list a .subtitle {
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.54);
}

/******************* */
/*  Page: sets      */
/******************* */
.sets:not(.admin) .wrapper {
  background-color: transparent;
  box-shadow: none;
}
.sets:not(.admin) .wrapper .meta-info {
  position: relative;
  overflow: auto;
  color: #fff;
  opacity: 0.54;
  font-size: 12px;
  font-weight: 400;
}
.sets:not(.admin) .wrapper .meta-info span {
  display: inline-block;
  margin-bottom: 6px;
}
.sets:not(.admin) .wrapper .meta-info .question-id {
  float: left;
}
.sets:not(.admin) .wrapper .meta-info .progress {
  float: right;
}
.sets:not(.admin) .wrapper .card {
  position: relative;
  overflow: auto;
  background-color: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.24), 0 0 9px 0 rgba(0, 0, 0, 0.18);
}
.sets:not(.admin) .wrapper .card h3 {
  padding: 24px 64px 24px 24px;
  font-size: 20px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.54);
}
.sets:not(.admin) .wrapper .card p {
  padding: 12px 24px;
}
.sets:not(.admin) .wrapper .card ul li .answer {
  position: relative;
  display: block;
  padding: 12px 24px;
  line-height: 24px;
  font-size: 16px;
  font-weight: 400;
}
.sets:not(.admin) .wrapper .card ul li .answer i {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.54;
}
.sets:not(.admin) .wrapper .card ul li input:checked + label {
  background-color: #f5f5f5;
  font-weight: 700;
}
.sets:not(.admin) .wrapper .card ul li input:checked + label i {
  opacity: 1;
}
.sets:not(.admin) .wrapper .card section.submit {
  text-align: right;
}
.sets:not(.admin) .wrapper .card section.submit .btn {
  display: inline-block;
  margin: 12px 24px 24px 0;
}
.sets:not(.admin) .wrapper .card section.question_note:not(:empty) {
  margin: 24px;
  padding: 12px;
  border: 2px solid #9bc19b;
  border-radius: 5px;
  background-color: #e0ffe0;
  color: #025c02;
}
.sets:not(.admin) .wrapper .card section.question_figures {
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  padding: 12px 24px;
  box-sizing: border-box;
}
.sets:not(.admin) .wrapper .card section.question_figures .figure .caption {
  font-size: 12px;
  margin-bottom: 6px;
  font-weight: 600;
}
.sets:not(.admin) .wrapper .card section.question_figures .figure img {
  width: 100%;
}
.sets:not(.admin) .wrapper .card.answered ul li.your-answer > .answer {
  border-bottom: 3px solid #c62828;
}
.sets:not(.admin) .wrapper .card.answered ul li.your-answer > .answer i {
  color: #c62828;
  opacity: 1;
}
.sets:not(.admin) .wrapper .card.answered ul li.correct > .answer {
  border-bottom: 3px solid #4caf50;
}
.sets:not(.admin) .wrapper .card.answered ul li.correct > .answer i {
  color: #4caf50;
  opacity: 1;
}
.sets:not(.admin) .wrapper .card.answered ul li .answer_expanded {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 200ms ease-in-out;
  background-color: #c2c2c2;
  box-sizing: border-box;
}
.sets:not(.admin) .wrapper .card.answered ul li .answer_expanded p {
  padding: 24px;
}
.sets:not(.admin) .wrapper .card.answered ul li.active .answer {
  background-color: #f5f5f5;
}
.sets:not(.admin) .wrapper .card.answered ul li.active .answer_expanded {
  display: block;
  transition: all 400ms ease-in-out;
  opacity: 1;
  max-height: 600px;
}
.sets:not(.admin) .wrapper .card.results h3 {
  color: #000;
}
.sets:not(.admin) .wrapper .card.results ul li p {
  position: relative;
  padding: 12px 24px;
}
.sets:not(.admin) .wrapper .card.results ul li p span {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.sets:not(.admin) .wrapper .card.results ul li.possible-answers {
  opacity: 0.54;
}

/************************ */
/*  Page: login/register */
/************************ */
body.login .wrapper {
  padding: 24px;
}
body.login form input:not([hidden]):not(.btn) {
  display: block;
  width: 100%;
  box-sizing: border-box;
  line-height: 24px;
  border: none;
  margin: 12px 0;
  outline: 0;
}
body.login form label {
  display: block;
  width: 100%;
}
body.login form label > input {
  display: inline-block !important;
  width: auto !important;
  line-height: 1.2em !important;
  padding-right: 24px;
}

/************************ */
/*  Page: login/register */
/************************ */
body.forgot-password form,
body.forgot-password p {
  padding: 12px 24px;
}
body.forgot-password form input[type="text"],
body.forgot-password form input[type="email"],
body.forgot-password form input[type="password"],
body.forgot-password p input[type="text"],
body.forgot-password p input[type="email"],
body.forgot-password p input[type="password"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  line-height: 24px;
  border: none;
  margin: 12px 0;
  outline: 0;
}
body.forgot-password form input[type="text"]:focus,
body.forgot-password form input[type="email"]:focus,
body.forgot-password form input[type="password"]:focus,
body.forgot-password p input[type="text"]:focus,
body.forgot-password p input[type="email"]:focus,
body.forgot-password p input[type="password"]:focus {
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
  padding: 6px 12px;
}

/************************ */
/*  Page: profile        */
/************************ */
body.profile .wrapper header {
  background-color: #292929;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1em;
  margin-bottom: 15px;
  padding: 40px 24px 12px;
}
body.profile .wrapper header div {
  display: inline-block;
  margin-bottom: -24px;
  position: relative;
  vertical-align: top;
}
body.profile .wrapper header div.info {
  margin-left: 24px;
  padding-top: 14px;
}
.name {
  text-transform: capitalize;
}
body.profile .wrapper header div.info .expire {
  opacity: 0.54;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
}
body.profile .wrapper section.main section {
  padding: 12px 0px;
}
body.profile .wrapper section.main section:first-child {
  padding-top: 24px;
}
body.profile .wrapper section.main section:last-child {
  padding-bottom: 24px;
}
body.profile .wrapper section.main section h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  padding: 0 24px;
}
body.profile .wrapper section.main section > ul > li {
  color: rgba(0, 0, 0, 0.54);
  font-size: 18px;
  font-weight: 500;
  padding: 12px 24px 0;
  position: relative;
}
body.profile .wrapper section.main section > ul > li > span {
  float: right;
}
body.profile .wrapper section.main section > ul > li.password > span,
body.profile .wrapper section.main section > ul > li.key > span {
  font-style: italic;
}
body.profile .wrapper section.main section > ul > li.toggle > ul {
  display: flex;
  margin: 12px -24px 0;
  max-height: 0;
  overflow: hidden;
  width: calc(100% + 48px);
}
body.profile .wrapper section.main section > ul > li.toggle > ul > li {
  text-align: center;
  width: 100%;
  padding: 10px 24px;
  background-color: rgba(0, 0, 0, 0.12);
  border-right: 2px solid rgba(0, 0, 0, 0.18);
}
body.profile
  .wrapper
  section.main
  section
  > ul
  > li.toggle
  > ul
  > li:last-child {
  border-right: 0;
}
body.profile .wrapper section.main section > ul > li.toggle > ul > li span {
  display: block;
  box-sizing: border-box;
}
body.profile
  .wrapper
  section.main
  section
  > ul
  > li.toggle
  > ul
  > li
  span.result {
  font-size: 14px;
}
body.profile
  .wrapper
  section.main
  section
  > ul
  > li.toggle
  > ul
  > li
  span.title {
  font-size: 10px;
}
body.profile .wrapper section.main section > ul > li.toggle.active {
  background-color: rgba(0, 0, 0, 0.06);
}
body.profile .wrapper section.main section > ul > li.toggle.active > ul {
  max-height: 100px;
  transition: max-height 200ms ease-in-out;
}

/*************************** */
/*  General Admin Styles    */
/*************************** */
body.admin .wrapper {
  position: relative;
}
body.admin .wrapper > ul > li {
  color: inherit;
  cursor: default;
  display: block;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 24px 12px 84px;
  position: relative;
  text-decoration: none;
  transition: background-color 100ms ease-in-out;
}
body.admin .wrapper > ul > li:active,
body.admin .wrapper > ul > li:focus {
  background-color: #f3f3f3;
}
body.admin .wrapper > ul > li > .id {
  display: inline-block;
  left: 24px;
  position: absolute;
}
body.admin .wrapper > ul > li > ul {
  max-height: 0;
  overflow: hidden;
  text-align: right;
}
body.admin .wrapper > ul > li > ul > li {
  display: inline-block;
  margin: 12px 8px 0;
}
body.admin .wrapper > ul > li.active > ul {
  max-height: 100px;
}
body.admin .wrapper > ul > li .label {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.54);
  border: 1px solid rgba(0, 0, 0, 0.54);
  padding: 1px 3px;
  border-radius: 100px;
  margin-left: 6px;
  font-weight: 500;
  vertical-align: middle;
}
body.admin .wrapper > ul > li .label.inactive {
  color: rgba(0, 0, 0, 0.24);
  border-color: rgba(0, 0, 0, 0.24);
}
body.admin .wrapper > ul > li .label.deleted {
  color: rgba(180, 0, 0, 0.54);
  border-color: rgba(180, 0, 0, 0.54);
}
body.admin .wrapper > a.new {
  background-color: #009688;
  border-radius: 100%;
  bottom: 40px;
  color: #fff;
  display: inline-block;
  line-height: 56px;
  min-width: 0;
  right: 40px;
  text-align: center;
  padding: 0;
  position: fixed;
  width: 56px;
}
body.admin .wrapper > a.new i {
  margin-top: -1px;
  vertical-align: middle;
}
body.admin .wrapper .pagination {
  text-align: center;
}
body.admin .wrapper .pagination > a,
body.admin .wrapper .pagination > span {
  display: inline-block;
  color: rgba(0, 0, 0, 0.54);
  padding: 24px 6px;
  text-decoration: none;
}
body.admin .wrapper .pagination .cur_page {
  cursor: default;
  color: black;
}
.bottom-buttons {
  text-align: right;
  padding: 24px;
}
.bottom-buttons .btn + .btn {
  margin-left: 24px;
}
body.admin.new input[type="text"],
body.admin.new p,
body.admin.delete input[type="text"],
body.admin.delete p {
  border: 0;
  box-sizing: border-box;
  display: block;
  outline: 0;
  width: 100%;
  font-size: 16px;
  padding: 12px 24px;
  font-family: "roboto";
  font-weight: 400;
  transition: background-color 0.3s ease-in-out;
}
body.admin.new input[type="text"]:focus,
body.admin.new p:focus,
body.admin.delete input[type="text"]:focus,
body.admin.delete p:focus {
  background-color: rgba(0, 0, 0, 0.06);
}

/*************************** */
/*  Page: admin > dashboard */
/*************************** */
body[class="admin"] .wrapper ul li {
  padding: 0;
}
body[class="admin"] .wrapper ul li a {
  color: inherit;
  display: block;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 100ms ease-in-out;
  padding: 12px 24px 12px 24px;
}
body[class="admin"] .wrapper ul li a:active,
body[class="admin"] .wrapper ul li a:focus {
  background-color: #f3f3f3;
}

/********************************** */
/*  Page: admin > questions > edit */
/********************************** */
body.admin.questions.edit .wrapper input[type="text"],
body.admin.questions.edit .wrapper textarea,
body.admin.questions.edit .wrapper .status {
  border: 0;
  box-sizing: border-box;
  display: block;
  outline: 0;
  width: 100%;
  font-size: 16px;
  padding: 12px 24px;
  font-family: "roboto";
  font-weight: 400;
  transition: background-color 0.3s ease-in-out;
}
body.admin.questions.edit .wrapper input[type="text"]:focus,
body.admin.questions.edit .wrapper textarea:focus,
body.admin.questions.edit .wrapper .status:focus {
  background-color: rgba(0, 0, 0, 0.06);
}
body.admin.questions.edit .wrapper .status {
  display: flex;
}
body.admin.questions.edit .wrapper .status span {
  width: 30%;
  color: rgba(0, 0, 0, 0.54);
  font-weight: 600;
}
body.admin.questions.edit .wrapper .status select {
  border: inherit;
  font-size: inherit;
  line-height: 24px;
  display: inline-block;
  width: 70%;
  padding: 0;
  outline: 0;
  direction: rtl;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  -ms-appearance: none;
  appearance: none;
}
body.admin.questions.edit .wrapper .answers .answer,
body.admin.questions.edit .wrapper .answers .figure,
body.admin.questions.edit .wrapper .figures .answer,
body.admin.questions.edit .wrapper .figures .figure {
  position: relative;
  overflow: auto;
  border-bottom: 2px solid rgba(0, 0, 0, 0.18);
  padding-bottom: 12px;
}
body.admin.questions.edit .wrapper .answers .answer .header,
body.admin.questions.edit .wrapper .answers .figure .header,
body.admin.questions.edit .wrapper .figures .answer .header,
body.admin.questions.edit .wrapper .figures .figure .header {
  position: relative;
}
body.admin.questions.edit .wrapper .answers .answer .header .toggle-container,
body.admin.questions.edit .wrapper .answers .figure .header .toggle-container,
body.admin.questions.edit .wrapper .figures .answer .header .toggle-container,
body.admin.questions.edit .wrapper .figures .figure .header .toggle-container {
  position: absolute;
  right: 24px;
  top: 12px;
}
body.admin.questions.edit .wrapper .answers .answer textarea,
body.admin.questions.edit .wrapper .answers .figure textarea,
body.admin.questions.edit .wrapper .figures .answer textarea,
body.admin.questions.edit .wrapper .figures .figure textarea {
  max-width: 100%;
  min-width: 100%;
  transition: background-color 0.3s ease-in-out;
}
body.admin.questions.edit .wrapper .answers .answer textarea:focus,
body.admin.questions.edit .wrapper .answers .figure textarea:focus,
body.admin.questions.edit .wrapper .figures .answer textarea:focus,
body.admin.questions.edit .wrapper .figures .figure textarea:focus {
  background-color: rgba(0, 0, 0, 0.06);
}
body.admin.questions.edit .wrapper .answers .answer textarea:nth-of-type(1),
body.admin.questions.edit .wrapper .answers .figure textarea:nth-of-type(1),
body.admin.questions.edit .wrapper .figures .answer textarea:nth-of-type(1),
body.admin.questions.edit .wrapper .figures .figure textarea:nth-of-type(1) {
  font-size: 18px;
  height: 68px;
  min-height: 68px;
}
body.admin.questions.edit .wrapper .answers .answer textarea:nth-of-type(2),
body.admin.questions.edit .wrapper .answers .figure textarea:nth-of-type(2),
body.admin.questions.edit .wrapper .figures .answer textarea:nth-of-type(2),
body.admin.questions.edit .wrapper .figures .figure textarea:nth-of-type(2) {
  min-height: 120px;
  font-style: italic;
}
body.admin.questions.edit .wrapper .answers .answer [class^="delete_"],
body.admin.questions.edit .wrapper .answers .figure [class^="delete_"],
body.admin.questions.edit .wrapper .figures .answer [class^="delete_"],
body.admin.questions.edit .wrapper .figures .figure [class^="delete_"] {
  float: right;
  margin-right: 24px;
  margin-top: 12px;
}
body.admin.questions.edit .wrapper .answers .answer .image-container,
body.admin.questions.edit .wrapper .answers .figure .image-container,
body.admin.questions.edit .wrapper .figures .answer .image-container,
body.admin.questions.edit .wrapper .figures .figure .image-container {
  width: 100%;
  text-align: center;
}
body.admin.questions.edit .wrapper .btn.add {
  font-size: 20px;
  margin: 0 auto;
  position: relative;
  display: block;
  line-height: 64px;
  font-weight: 500;
}
body.admin.questions.edit .wrapper .btn.add i {
  margin-right: 6px;
  font-size: 2em;
  margin-top: -4px;
}

/****************************** */
/*  Page: admin > sets  */
/****************************** */
body.admin.sets .wrapper input[type="text"],
body.admin.sets .wrapper textarea,
body.admin.sets .wrapper select,
body.admin.sets .wrapper p {
  border: 0;
  box-sizing: border-box;
  outline: 0;
  width: 100%;
  font-size: 16px;
  padding: 12px 24px;
  font-family: "roboto";
  font-weight: 400;
  transition: background-color 0.3s ease-in-out;
}
body.admin.sets .wrapper input[type="text"]:not([hidden]),
body.admin.sets .wrapper textarea:not([hidden]),
body.admin.sets .wrapper select:not([hidden]),
body.admin.sets .wrapper p:not([hidden]) {
  display: block;
}
body.admin.sets .wrapper input[type="text"][hidden],
body.admin.sets .wrapper textarea[hidden],
body.admin.sets .wrapper select[hidden],
body.admin.sets .wrapper p[hidden] {
  display: none;
}
body.admin.sets .wrapper input[type="text"]:focus,
body.admin.sets .wrapper textarea:focus,
body.admin.sets .wrapper select:focus,
body.admin.sets .wrapper p:focus {
  background-color: rgba(0, 0, 0, 0.06);
}
body.admin.sets .wrapper .options div {
  padding: 6px 0px;
}
body.admin.sets .wrapper .options div label,
body.admin.sets .wrapper .options div select {
  display: inline-block;
}
body.admin.sets .wrapper .options div label {
  width: 30%;
  color: rgba(0, 0, 0, 0.54);
  font-weight: 600;
  padding-left: 24px;
}
body.admin.sets .wrapper .options div select {
  border: inherit;
  font-size: inherit;
  line-height: 24px;
  display: inline-block;
  width: 69%;
  padding: 0;
  padding-right: 24px;
  outline: 0;
  direction: rtl;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  -ms-appearance: none;
  appearance: none;
}
body.admin.sets .wrapper .options div input[type="date"],
body.admin.sets .wrapper .options div input[type="datetime-local"],
body.admin.sets .wrapper .options div input[type="number"] {
  float: right;
  margin-right: 20px;
  clear: both;
}
body.admin.sets .wrapper .options div input[type="number"] {
  text-align: right;
  padding: 5px 0px;
  border: none;
}
body.admin.sets .wrapper .questions {
  position: relative;
  overflow: auto;
  border-top: 2px solid rgba(0, 0, 0, 0.54);
}
body.admin.sets .wrapper .questions #question_list {
  overflow: auto;
}
body.admin.sets .wrapper .questions #question_list.active {
  position: fixed;
  width: 75vw;
  height: 75vh;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  box-shadow: 0 0 40px 40px rgba(0, 0, 0, 0.5);
  z-index: 999;
  animation: fade-in 200ms;
}
body.admin.sets .wrapper .questions .question input:checked + label {
  background-color: rgba(0, 0, 0, 0.06);
}
body.admin.sets .wrapper .questions .question label {
  position: relative;
  line-height: 24px;
  padding: 12px 48px 12px 24px;
  display: block;
  cursor: grab;
}
body.admin.sets .wrapper .questions .question label span.check {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  cursor: default;
}
body.admin.sets .wrapper .questions .question label span.id {
  margin-right: 12px;
}
body.admin.sets .wrapper .questions .question.this-is-parent {
  position: relative;
  line-height: 24px;
  padding: 12px 48px 12px 24px;
  display: block;
  font-style: italic;
}
body.admin.sets .wrapper [class^="delete_"],
body.admin.sets .wrapper .btn.delete {
  float: right;
  margin-right: 24px;
  margin-top: 12px;
}
body.admin.sets .wrapper .btn.add {
  font-size: 20px;
  margin: 0 auto;
  position: relative;
  display: block;
  line-height: 64px;
  font-weight: 500;
}
body.admin.sets .wrapper .btn.add i {
  margin-right: 6px;
  font-size: 2em;
  margin-top: -4px;
}
body.admin.sets .wrapper #offcanvas_left .main ul li.nav {
  text-align: center;
}
body.admin.sets .wrapper #offcanvas_left .main ul li.nav svg {
  width: 24px;
  vertical-align: middle;
  padding: 0 3px;
}
body.admin.sets .wrapper #offcanvas_left .main ul li.nav svg.beginning,
body.admin.sets .wrapper #offcanvas_left .main ul li.nav svg.prev {
  transform: scaleX(-1);
}
body.admin.sets .wrapper #offcanvas_left .main ul li.nav svg path {
  fill: rgba(255, 255, 255, 0.24);
}
body.admin.sets .wrapper #offcanvas_left .main ul li.nav .pages {
  padding: 0 6px;
  margin-top: 2px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.24);
  vertical-align: sub;
}

/****************************** */
/*  Page: admin > sets > edit  */
/****************************** */
/****************************** */
/*  Page: admin > figures      */
/****************************** */
body.admin.figures .wrapper .categories .category {
  padding-left: 24px;
}
body.admin.figures .wrapper .categories .category a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  text-transform: capitalize;
}
body.admin.figures .wrapper .figures {
  text-align: center;
}
body.admin.figures .wrapper .figures .figure {
  display: inline-block;
  max-width: 100px;
  max-height: 100px;
  overflow: hidden;
  margin: 12px;
  padding: 0;
}
body.admin.figures .wrapper .figures .figure a {
  position: relative;
}
body.admin.figures .wrapper .figures .figure a img {
  width: 100%;
}

/******************************** */
/*  Page: admin > figures        */
/******************************** */
body.admin.figures .wrapper input[type="text"],
body.admin.figures .wrapper textarea,
body.admin.figures .wrapper select {
  border: 0;
  box-sizing: border-box;
  outline: 0;
  width: 100%;
  font-size: 16px;
  padding: 12px 24px;
  font-family: "roboto";
  font-weight: 400;
  transition: background-color 0.3s ease-in-out;
}
body.admin.figures .wrapper input[type="text"]:not([hidden]),
body.admin.figures .wrapper textarea:not([hidden]),
body.admin.figures .wrapper select:not([hidden]) {
  display: block;
}
body.admin.figures .wrapper input[type="text"][hidden],
body.admin.figures .wrapper textarea[hidden],
body.admin.figures .wrapper select[hidden] {
  display: none;
}
body.admin.figures .wrapper input[type="text"]:focus,
body.admin.figures .wrapper textarea:focus,
body.admin.figures .wrapper select:focus {
  background-color: rgba(0, 0, 0, 0.06);
}
body.admin.figures .wrapper .image-container {
  padding: 12px 24px;
}
body.admin.figures .wrapper .select_category,
body.admin.figures .wrapper .upload_figure {
  padding: 12px 0px;
}
body.admin.figures .wrapper .select_category label,
body.admin.figures .wrapper .select_category select,
body.admin.figures .wrapper .upload_figure label,
body.admin.figures .wrapper .upload_figure select {
  display: inline-block;
}
body.admin.figures .wrapper .select_category label,
body.admin.figures .wrapper .upload_figure label {
  width: 30%;
  color: rgba(0, 0, 0, 0.54);
  font-weight: 600;
  padding-left: 24px;
}
body.admin.figures .wrapper .select_category select,
body.admin.figures .wrapper .select_category input[type="file"],
body.admin.figures .wrapper .upload_figure select,
body.admin.figures .wrapper .upload_figure input[type="file"] {
  border: inherit;
  font-size: inherit;
  line-height: 24px;
  display: inline-block;
  width: 69%;
  padding: 0;
  padding-right: 24px;
  outline: 0;
  direction: rtl;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  -ms-appearance: none;
  appearance: none;
}
body.admin.figures .wrapper .select_category input[type="file"],
body.admin.figures .wrapper .upload_figure input[type="file"] {
  width: 65%;
}

/****************************** */
/*  Page: admin > users        */
/****************************** */
body.admin.users .wrapper {
  max-width: 1000px;
  padding: 12px;
}
body.admin.users .wrapper table.users {
  width: 100%;
}
body.admin.users .wrapper table.users tr {
  height: 1.5em;
}
body.admin.users .wrapper table.users td,
body.admin.users .wrapper table.users th {
  padding: 2px 5px;
  vertical-align: middle;
}
body.admin.users .wrapper table.users thead tr {
  height: 2em;
}
body.admin.users .wrapper table.users thead tr th {
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid #ccc;
}
body.admin.users .wrapper table.users tbody tr {
  height: 1.8em;
}
body.admin.users .wrapper table.users tbody tr td {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
body.admin.users .wrapper table.users tbody tr td:nth-child(2) {
  width: 225px;
  max-width: 225px;
}
body.admin.users .wrapper table.users tbody tr td:nth-child(3) {
  width: 350px;
  max-width: 350px;
}
body.admin.users .wrapper table.users tbody tr td a {
  color: inherit;
  text-decoration: none;
}
body.admin.users .wrapper table.users tbody tr td a:hover {
  color: #666;
}
body.admin.users .wrapper table.users tbody tr td a i {
  font-size: 1.3em;
}
body.admin.users.edit input[type="text"],
body.admin.users.edit input[type="email"] {
  width: 100%;
  line-height: 2em;
  font-size: 1.2em;
  border: 0;
  outline: 0;
  border-bottom: 1px solid #ccc;
}
/****************************** */
/*  Page: admin > keys        */
/****************************** */

body.admin.keys form > p {padding: 12px 24px;}
body.admin.keys form formset {
  display: block;
  padding: 12px 24px;
}
/****************************** */
/*  Page: admin > link        */
/****************************** */

body.admin.link p {padding: 12px 24px;}
body.admin.link form formset {
  display: block;
  padding: 12px 24px;
}
body.admin.link form input[type=text] {display:block; width:100%;padding:5px;}
body.admin.link table {width:100%;}
body.admin.link table td {width:28%;overflow-wrap:anywhere;padding:20px;}
body.admin.link table tr td:last-child {width:16%}
body.admin.link table tr:nth-child(odd) {background-color:#fefefe;}


/****************************** */
/*  Modals                     */
/****************************** */
.modal {
  display: none;
}
.modal .modal-dialog {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.in .modal-dialog {
  opacity: 1;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  z-index: 9999;
  padding: 24px;
  text-align: center;
  left: 50%;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.24), 0 0 9px 0 rgba(0, 0, 0, 0.18);
}

.modal-backdrop {
  background-color: black;
  opacity: 0;
  transition: opacity 1s ease;
}
.modal-backdrop.in {
  opacity: 0.54;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9995;
}

/****************************** */
/*  Offcanvas (left side)      */
/****************************** */
#offcanvas_left {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
}
#offcanvas_left .cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.54);
  transition: left 200ms ease;
}
#offcanvas_left .content {
  position: fixed;
  overflow: hidden;
  left: 0;
  top: 0;
  height: 100vh;
  width: 300px;
  background-color: #222222;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.24);
}
#offcanvas_left .content .header a {
  color: #fff;
  line-height: 24px;
  display: block;
  text-align: right;
  padding: 12px 24px;
}
#offcanvas_left .content .main {
  overflow-y: scroll;
  height: calc(100% - 48px);
  margin-right: -18px;
  position: relative;
}
#offcanvas_left .content .main ul li {
  color: #fff;
  padding: 12px 24px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  cursor: pointer;
}
#offcanvas_left .content .main ul li:focus,
#offcanvas_left .content .main ul li:active {
  background-color: #121212;
}
#offcanvas_left .content .main ul li.figure {
  position: relative;
  line-height: 48px;
  padding: 0 24px;
}
#offcanvas_left .content .main ul li.figure span {
  display: inline-block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
#offcanvas_left .content .main ul li.figure span img {
  min-width: 100%;
  min-height: 100%;
}
.img-preview {
  position: fixed;
  left: 500px;
  top: 500px;
  width: 200px;
  z-index: 99999;
}
.set-list li {
  position: relative;
}
section.card > label {
  position: absolute;
  right:6px;
  top:6px;
}
.set-list label {
  position: absolute;
  right:8px;
  top:16px;
}
section.card > label [type="checkbox"],
.set-list label [type="checkbox"] {
  display: none;
}
section.card > label span:before,
.set-list label span:before {
  content:'Gem';
  color:#aaa;
  background-color: #eee;
  display: block;
  cursor: pointer;
  min-width: 60px;
  text-align: center;
  padding: 5px 0;
  border-radius: 5px;
}
section.card > label [type="checkbox"]:checked ~ span:before,
.set-list label [type="checkbox"]:checked ~ span:before {
  background-color: #025c02;
  color:#fff;
  content:'Gemt';
}

/****************************** */
/*  Alert Message              */
/****************************** */
#alert-message,
#browser-alert-message {
  position: fixed;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100px;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.54);
  padding: 24px;
  z-index: 99999;
}
#alert-message:empty,
#browser-alert-message:empty {
  display: none;
}

/****************************** */
/*  Print sets                 */
/****************************** */
@media print {
  body.admin.sets.print .sidebar-nav {
    display: none;
  }
  body.admin.sets.print .wrapper {
    max-width: 100%;
    padding: 24px;
    margin: 0;
    box-shadow: none;
  }
  body.admin.sets.print .wrapper .headerbar {
    display: none;
  }
  body.admin.sets.print .wrapper h3 {
    padding: 12px 0;
    color: #000;
  }
  body.admin.sets.print .wrapper .container .row {
    padding: 12px 0;
    page-break-inside: avoid;
  }
  body.admin.sets.print .wrapper .container .row h4 {
    padding: 0;
    color: #000;
  }
  body.admin.sets.print .wrapper .container .row .content {
    display: flex;
  }
  body.admin.sets.print .wrapper .container .row .content .answers {
    list-style: decimal inside;
    width: 100%;
  }
  body.admin.sets.print .wrapper .container .row .content .figures {
    width: 100%;
  }
}
/* Keyframes */
/* fadeout fadein */
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*# sourceMappingURL=style.css.map */
