.btn-success {
  background-color: #37b86e;
}
.btn-success:hover {
  background-color: #289254;
}
.badge-success {
  background-color: #37b86e;
}
.dropdown-menu a:visited,
.dropdown-menu a:link,
.dropdown-menu a:hover {
  color: #333 !important;
}
.dropdown-menu a:active {
  color: #fff !important;
}
.dropdown-menu .dropdown-item:active {
  background-color: #36b96e;
}
.bootbox-body {
  text-align: left;
  color: #000;
}
.highlightjs * {
  font-size: 14px !important;
  font-family: monospace !important;
}
select {
  background: none !important;
  outline: none !important;
  border: #999 1px solid !important;
  background: #282c34 !important;
  color: #fff !important;
}
input.form-control,
textarea.form-control {
  background: none !important;
  border: 0 !important;
  border-bottom: #666 1px solid !important;
  padding-left: 0 !important;
  outline: 0 !important;
  color: #fff !important;
}
input.form-control:focus,
textarea.form-control:focus {
  box-shadow: none !important;
  outline: 0 !important;
}
.form-box {
  padding: 15px;
  background: #21252b;
  margin: 30px 0;
}
hr {
  border-top: #000 1px solid;
}
.btn:focus {
  box-shadow: none;
}
table th {
  border-top: 0 !important;
}
.text-warning {
  color: #ffdd78 !important;
}

.green {
  color: #8aecb4;
}

.green {
  color: #8aecb4;
}
.em_challenge {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
}
.em_challenge pre {
  font: inherit;
  color: inherit;
  display: inline;
}
.em_challenge .instructions {
  width: 360px;
  overflow-y: auto;
  padding: 15px;
}
.em_challenge .editor {
  flex: 1;
  position: relative;
}
.em_challenge #editor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.em_challenge .easy {
  color: #84e47f;
}
.em_challenge .medium {
  color: #e4e37f;
}
.em_challenge .hard {
  color: #e47f8d;
}
.em_challenge .results {
  position: fixed;
  top: 70%;
  bottom: 0;
  left: 454px;
  right: 30px;
  background: rgba(0, 0, 0, 0.3);
  padding: 25px;
  overflow: auto;
}
.em_challenge .results .result {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 15px;
  margin-bottom: 10px;
  color: #fff;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.em_challenge .abstract .input p:last-child,
#react_manage_challenge .ql-editor .input p:last-child {
  margin-bottom: 0;
}
.em_challenge .abstract .wrap,
#react_manage_challenge .ql-editor .wrap {
  word-break: break-all;
}
.em_challenge .abstract .test_case,
#react_manage_challenge .ql-editor .test_case {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 15px;
  margin-bottom: 10px;
  color: #fff;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}
.em_challenge .abstract .test_case > *,
#react_manage_challenge .ql-editor .test_case > * {
  margin-bottom: 5px;
}
.em_challenge .abstract p,
#react_manage_challenge .ql-editor p {
  margin: 0;
  padding: 0;
}
.em_challenge .abstract h4,
#react_manage_challenge .ql-editor h4 {
  font-weight: 300;
}
.em_challenge .abstract .value-badge,
#react_manage_challenge .ql-editor .value-badge {
  color: #fff;
  background-color: #007bff;
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.em_challenge .abstract pre,
#react_manage_challenge .ql-editor pre {
  display: block;
  font-size: 87.5%;
  color: #212529;
}
.em_challenge .abstract .section,
#react_manage_challenge .ql-editor .section {
  margin-bottom: 30px;
}
.em_challenge .abstract .input,
#react_manage_challenge .ql-editor .input {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 15px;
  margin-bottom: 10px;
  color: #fff;
}
.em_challenge .abstract .ql-syntax,
#react_manage_challenge .ql-editor .ql-syntax {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 15px;
  margin-bottom: 20px;
  margin-top: -5px;
  color: #fff;
}

.em_challenge_manage .case_box {
  padding: 15px;
  background: #1b1f27;
}

.green {
  color: #8aecb4;
}
.em_challenges_list .challenge_list {
  margin-bottom: 20px;
}
.em_challenges_list .challenge_list .challenge {
  display: block;
  background: #21252b;
  padding: 10px;
  margin-bottom: 8px;
  color: #fff;
}
.em_challenges_list .challenge_list .challenge .title {
  font-size: 18px;
}
.em_challenges_list .challenge_list .challenge .description {
  font-weight: 300;
}
.em_challenges_list .challenge_list .challenge:hover {
  background: #2f353e;
}
.em_challenges_list .easy .title .badge {
  float: right;
}
.em_challenges_list .easy .title .text {
  color: #84e47f;
}
.em_challenges_list .medium .title .badge {
  float: right;
}
.em_challenges_list .medium .title .text {
  color: #e4e37f;
}
.em_challenges_list .hard .title .badge {
  float: right;
}
.em_challenges_list .hard .title .text {
  color: #e47f8d;
}

.em_common_content {
  max-width: 1140px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 15px;
}
.em_common_content h4 {
  margin-bottom: 10px;
}
.em_common_content .version {
  margin-top: -5px;
}
.em_common_content .col-4 {
  margin-top: 5px;
}
.em_wide_content {
  padding: 20px 15px;
}
.em_wide_content h4 {
  margin-bottom: 10px;
}

.em_community_map {
  max-width: 1100px;
  width: 100%;
  margin: auto;
  padding: 30px 15px;
}
.em_community_map .link_list {
  background: #000;
  background: #21252b;
  padding: 10px;
  margin-bottom: 20px;
}
.em_community_map .link_list a {
  display: block;
  margin-bottom: 6px;
}
.em_community_map .link_list a:last-child {
  margin-bottom: 0;
}

.em_container {
  display: inline-block;
  margin: auto;
  /*max-width: 1440px;*/
  width: 100%;
  text-align: left;
  background: #282c34;
  min-height: 100vh;
}

.em_contests_contest .ql-editor {
  padding-left: 0;
  padding-right: 0;
}
.em_contests_contest .header {
  margin-bottom: 0;
}
.em_contests_contest .description {
  padding: 30px 0;
}
.em_contests_contest .case_text {
  color: #fff;
  background: #24282f;
  padding: 8px;
}
.em_contests_contest .submission {
  padding: 10px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}
.em_contests_contest .submission .heading {
  display: flex;
}
.em_contests_contest .submission .heading .main {
  flex: 1;
}
.em_contests_contest .submission .heading .summary img {
  width: auto;
  height: 28px;
  margin-left: 6px;
}
.em_contests_contest .submission .heading .user {
  padding-top: 8px;
  color: #fff;
}
.em_contests_contest .submission .heading .user img {
  width: 28px;
  height: 28px;
}
.em_contests_contest .submission .heading .time {
  font-size: 12px;
  color: #aaa;
}
.em_contests_contest .submission .heading .explanation_text {
  font-size: 12px;
}
.em_contests_contest .submission .solution {
  margin-left: -8px;
  margin-right: -8px;
  margin-top: 5px;
  padding: 10px;
  font-size: 12px;
  font-family: monospace;
  word-wrap: break-word;
  color: #fff;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  white-space: pre-wrap;
}
.em_contests_contest .tab-active {
  background-color: #3771b8;
}
.em_contests_contest .space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.em_contests_home * {
  color: #fff;
}
.em_contests_home .active {
  margin-bottom: 40px;
}
.em_contests_home .past {
  margin-bottom: 40px;
}
.em_contests_home .contest {
  display: block;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  margin-bottom: 20px;
}
.em_contests_home .contest .name {
  font-size: 22px;
  margin-bottom: 10px;
}
.em_contests_home .contest .time_left {
  background: rgba(67, 103, 82, 0.5);
  padding: 8px 12px;
  margin-bottom: 6px;
}
.em_contests_home .contest .solutions {
  background: #252a31;
  padding: 8px 12px;
  font-size: 20px;
  font-weight: 700;
  margin-top: 14px;
}
.em_contests_home .contest .solutions img {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}

.em_contest_manage .wrapper {
  display: flex;
}
.em_contest_manage .wrapper .left {
  flex: 1;
  padding-right: 15px;
}
.em_contest_manage .wrapper .right {
  width: 300px;
}
.em_contest_manage .control_button {
  margin-top: 10px;
  width: 150px;
}

.em_footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #36b96e;
  font-size: 12px;
  padding: 0 10px;
  text-align: right;
}
.em_footer a {
  color: #fff;
}

.green {
  color: #8aecb4;
}
.em_language_choice .icons > div {
  text-align: center;
  margin-bottom: 30px;
}
.em_language_choice h4 {
  margin: 15px 0;
}
.em_language_choice .easy {
  color: #84e47f;
}
.em_language_choice .medium {
  color: #e4e37f;
}
.em_language_choice .hard {
  color: #e47f8d;
}
.badge-easy {
  background-color: #84e47f;
}
.badge-medium {
  background-color: #e4e37f;
}
.badge-hard {
  background-color: #e47f8d;
}

.em_login {
  display: none;
}
.em_login.open {
  display: block;
}
.em_login .backdrop {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 10;
}
.em_login .close {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
}
.em_login .close i {
  color: #fff;
}
.em_login .close i:hover {
  color: #eee;
}
.em_login .box {
  display: inline-block;
  position: relative;
  max-width: 450px;
  width: 100%;
  margin-top: 30px;
  background: #222;
  padding: 30px;
}
.em_login .box p {
  color: #aaa;
  margin-top: 20px;
  margin-bottom: 25px;
}
.em_login .box a {
  color: #fff;
  background: #7289da;
}
.em_login .box a:hover {
  background: #687bc0;
}

.em_manage_snippet #editor {
  height: calc(100vh - 144px);
}
@media (max-width: 700px) {
  .em_manage_snippet #editor {
    height: calc(100vh - 190px);
  }
}
.em_manage_snippet .menu .wrapper {
  display: flex;
  background: #21252b;
  align-items: center;
  padding: 10px 10px 10px 75px;
}
@media (max-width: 700px) {
  .em_manage_snippet .menu .wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: unset;
    place-items: center;
    gap: 0.5rem;
  }
}
.em_manage_snippet .menu .wrapper > * {
  display: inline-block;
  vertical-align: middle;
}
.em_manage_snippet .menu .wrapper .language {
  flex: 1;
}
.em_manage_snippet .menu .wrapper .language select {
  width: 200px;
}
.em_manage_snippet .menu .wrapper .language_label {
  margin-right: 10px;
  flex: 1;
}
.em_manage_snippet .menu .wrapper .control-button {
  margin-right: 0.5rem;
}
.em_manage_snippet .run-data {
  display: flex;
  width: 100%;
  overflow: auto;
}
.em_manage_snippet .run-data pre {
  font: unset;
  color: unset;
}
.em_manage_snippet .run-data .inputs-outputs {
  width: 100%;
  padding: 20px 15px;
}
.em_manage_snippet .info {
  background-color: rgba(0, 0, 0, 0.3);
  min-height: 20px;
  margin-bottom: 10px;
  padding: 10px 5px 5px 5px;
  overflow-x: auto;
  max-width: 600px;
}

.em_menu {
  display: flex;
  padding: 10px;
  background: #36b96e;
}
.em_menu .mobile_expand {
  display: none;
}
.em_menu .mobile_expand i {
  color: #fff;
  font-size: 20px;
  margin: 8px;
  cursor: pointer;
  margin-right: 14px;
}
@media (max-width: 700px) {
  .em_menu .mobile_expand {
    display: inline;
  }
}
.em_menu .brand_icon {
  display: inline;
}
.em_menu .brand_icon img {
  height: 36px;
  width: auto;
}
.em_menu .brand_icon img:hover {
  opacity: 70%;
}
.em_menu .main_links {
  display: inline-block;
}
.em_menu .main_links > * {
  display: inline-block;
  vertical-align: middle;
}
.em_menu .main_links > a {
  background: #126536;
  color: #fff !important;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
  padding: 6px 10px;
}
.em_menu .main_links > a:hover {
  background: #349a60 !important;
}
.em_menu .main_links > .dropdown {
  background: #126536;
  color: #fff !important;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
}
.em_menu .main_links > .dropdown > a {
  color: #fff !important;
  padding: 5px 10px;
  display: inline-block;
}
.em_menu .main_links > .dropdown:hover {
  background: #349a60;
}
@media (max-width: 700px) {
  .em_menu .main_links {
    display: none;
  }
}
.em_menu .search {
  flex: 1;
  margin-left: 10px;
  margin-right: 10px;
}
.em_menu .search input {
  width: 100%;
  border: none;
  background: #4aa571;
  outline: none;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
}
.em_menu .search input::-webkit-input-placeholder {
  color: #fff;
}
.em_menu .search input:-moz-placeholder {
  color: #fff;
  opacity: 1;
}
.em_menu .search input::-moz-placeholder {
  color: #fff;
  opacity: 1;
}
.em_menu .search input:-ms-input-placeholder {
  color: #fff;
}
.em_menu .search input::-ms-input-placeholder {
  color: #fff;
}
.em_menu .search input::placeholder {
  color: #fff;
}
.em_menu .user_meta * {
  vertical-align: middle;
}
.em_menu .user_meta img {
  border-radius: 50%;
  height: 36px;
  width: auto;
  margin-left: 10px;
}
.em_menu .user_meta .dropdown {
  display: inline-block;
  cursor: pointer;
}
.em_menu .user_meta i {
  margin-right: 3px;
}
@media (max-width: 700px) {
  .em_menu .user_meta {
    display: none;
  }
}
.em_menu .login > a {
  display: inline-block;
  vertical-align: middle;
  background: #1987b1;
  color: #fff !important;
  border-radius: 5px;
  cursor: pointer;
  padding: 6px 10px;
}
.em_menu .login > a:hover {
  background: #37a7d2 !important;
}

.em_mobile_nav {
  display: none;
}
.em_mobile_nav.open {
  display: inline;
}
.em_mobile_nav .backdrop {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
}
.em_mobile_nav .close {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
}
.em_mobile_nav .close i {
  color: #fff;
}
.em_mobile_nav .close i:hover {
  color: #eee;
}
.em_mobile_nav .menu {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 75%;
  background: #282c34;
  color: #fff;
  text-align: left;
  z-index: 1;
}
.em_mobile_nav .menu .contents {
  padding: 16px;
}
.em_mobile_nav .menu .contents a {
  display: block;
  padding: 10px;
  background: #22262c;
  margin-bottom: 4px;
}
.em_mobile_nav .menu .contents .spacer {
  height: 20px;
}
@media (min-width: 701px) {
  .em_mobile_nav {
    display: none !important;
  }
}

.em_power_system .tier_circle {
  border-radius: 50%;
  width: 100%;
  padding-top: 100%;
  position: relative;
  margin-bottom: 30px;
}
.em_power_system .tier_circle .wrapper {
  position: absolute;
  top: calc(50% - 30px);
  left: 0;
  right: 0;
  text-align: center;
}
.em_power_system .tier_circle .wrapper .tier {
  font-size: 26px;
  font-weight: 700;
}
.em_power_system .tier_circle .wrapper .score {
  font-size: 26px;
  font-weight: 300;
}
.em_power_system .novice {
  background: #79acbf;
}
.em_power_system .hero {
  background: #7d9dc5;
}
.em_power_system .master {
  background: #acb2e4;
}
.em_power_system .legend {
  background: #d2ace4;
}
.em_power_system .power_list .item {
  display: flex;
  background: #21252b;
  margin-bottom: 4px;
  padding: 6px 12px;
  font-size: 18px;
}
.em_power_system .power_list .item div {
  flex: 1;
  color: #8fdcef;
}
.em_power_system .power_list .item span {
  width: 80px;
  padding-left: 30px;
  font-weight: 700;
}
.em_power_system .power_list .heading:first-child {
  margin-top: 0;
}
.em_power_system .power_list .heading {
  margin-top: 30px;
}

.green {
  color: #8aecb4;
}
.em_profile .content {
  display: flex;
}
.em_profile .content .left {
  width: 220px;
}
.em_profile .content .left .padding {
  padding: 0 10px;
}
.em_profile .content .right {
  flex: 1;
}
.em_profile .avatar {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.em_profile .awards {
  margin-bottom: 30px;
}
.em_profile .awards .award {
  display: inline-block;
  text-align: center;
  margin: 5px 10px 10px 10px;
}
.em_profile .awards .award img {
  margin-bottom: 5px;
  cursor: pointer;
}
.em_profile .awards .count {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  text-align: center;
  display: inline-block;
  border-radius: 20px;
  padding: 2px 10px;
}
.em_profile .challenge {
  display: block;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  margin-bottom: 10px;
}
.em_profile .challenge a {
  color: #fff;
}
.em_profile .challenge.easy {
  border-left: #84e47f 5px solid;
}
.em_profile .challenge.medium {
  border-left: #e4e37f 5px solid;
}
.em_profile .challenge.hard {
  border-left: #e47f8d 5px solid;
}
.em_profile .challenge p {
  margin-bottom: 8px;
}
.em_profile .view_solution {
  width: 80px;
  height: 48px;
  background: #126536;
  padding-right: 10px;
  padding-left: 10px;
  margin-bottom: 10px;
}
.em_profile .view_solution p {
  margin-bottom: 0;
}

.em_staff_container {
  padding: 4px 10px;
  background: #313847;
}

.em_stickers .sticker {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}
.em_stickers .quantity_option {
  display: inline-block;
  padding: 10px 18px;
  border: #555 1px solid;
}
.em_stickers .quantity_option.active {
  background: #208a4d;
}
.em_stickers .quantity_option:hover {
  cursor: pointer;
}

.em_top_members .user_row {
  position: relative;
  display: flex;
  margin-bottom: 4px;
  background: #202329;
}
.em_top_members .user_row .score_progress {
  position: absolute;
  left: 0;
  top: 85%;
  bottom: 0;
}
.em_top_members .user_row .picture {
  z-index: 1;
}
.em_top_members .user_row .picture img {
  width: 40px;
  height: 40px;
}
.em_top_members .user_row .name {
  z-index: 1;
  flex: 1;
}
.em_top_members .user_row .name .wrapper {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  text-align: center;
  margin-top: 6px;
  margin-left: 6px;
  color: #fff;
}
.em_top_members .user_row .power {
  z-index: 1;
  width: 100px;
  text-align: right;
}
.em_top_members .user_row .power .wrapper {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  text-align: center;
  margin-top: 6px;
  margin-right: 6px;
  color: #fff;
}

html,
body {
  font-family: 'Lato', sans-serif;
  color: #fff;
}
body {
  text-align: center;
  background: #282c34;
}
a {
  color: #68e69e;
}
a:visited,
a:active {
  color: #68e69e;
}
a:hover {
  color: #32a965;
  text-decoration: none;
}
table .actions a {
  margin-right: 10px;
}
.pointer {
  cursor: pointer;
}
.accent_text {
  font-style: italic;
  color: #8aecb4;
}
.center {
  text-align: center;
}
.f100 {
  font-weight: 100;
}
.f300 {
  font-weight: 300;
}
.f400 {
  font-weight: 400;
}
.f700 {
  font-weight: 700;
}
.f900 {
  font-weight: 900;
}
.margin0 {
  margin: 0 !important;
}
.margintop5 {
  margin-top: 5px !important;
}
.margintop10 {
  margin-top: 10px !important;
}
.margintop15 {
  margin-top: 15px !important;
}
.margintop20 {
  margin-top: 20px !important;
}
.margintop25 {
  margin-top: 25px !important;
}
.margintop30 {
  margin-top: 30px !important;
}
.margintop40 {
  margin-top: 40px !important;
}
.margintop50 {
  margin-top: 50px !important;
}
.margintop60 {
  margin-top: 60px !important;
}
.margintop70 {
  margin-top: 70px !important;
}
.margintop80 {
  margin-top: 80px !important;
}
.margintop90 {
  margin-top: 90px !important;
}
.margintop100 {
  margin-top: 100px !important;
}
.marginbottom0 {
  margin-bottom: 0 !important;
}
.marginbottom5 {
  margin-bottom: 5px !important;
}
.marginbottom10 {
  margin-bottom: 10px !important;
}
.marginbottom20 {
  margin-bottom: 20px !important;
}
.marginbottom30 {
  margin-bottom: 30px !important;
}
.marginbottom40 {
  margin-bottom: 40px !important;
}
.marginbottom50 {
  margin-bottom: 50px !important;
}
.marginbottom60 {
  margin-bottom: 60px !important;
}
.marginbottom70 {
  margin-bottom: 70px !important;
}
.marginbottom80 {
  margin-bottom: 80px !important;
}
.marginbottom90 {
  margin-bottom: 90px !important;
}
.marginbottom100 {
  margin-bottom: 100px !important;
}
.width-60 {
  width: 60px;
}
.width-80 {
  width: 80px;
}
::selection {
  color: white;
  background: #32a965;
}

td.hljs-ln-code {
  padding-left: 10px !important;
}
td.hljs-ln-numbers {
  background: #1b1f27;
  padding-left: 5px !important;
  padding-right: 15px !important;
}

.ql-toolbar {
  background: #1b1f27 !important;
  border: 0 !important;
}
.ql-toolbar svg * {
  stroke: #fff !important;
}
.ql-toolbar .ql-strike svg *,
.ql-toolbar .ql-header svg * {
  fill: #fff !important;
}
.ql-toolbar .ql-picker-label:hover {
  color: #fff !important;
}
.ql-toolbar button:hover {
  background: #4aa571 !important;
}
.ql-container {
  border: 0 !important;
  border-bottom: #7b7b7b 1px solid !important;
  font-size: 14px !important;
  background: #1b1f27 !important;
  font-family: Lato, sans-serif;
}
.ql-blank:before {
  color: #ddd !important;
  font-style: normal !important;
}
.ql-editor {
  font-size: 16px;
  min-height: 200px;
}
.ql-editor .ql-syntax {
  margin-top: 10px;
}
.ql-editor .ql-syntax * {
  font-family: monospace !important;
}

