html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f2f2f3;
  color: #222222;
}
.display-none {
  display: none;
}
body *:focus {
  outline: none !important;
}

/**
 * General styles
 **/
body > .container-fluid {
  min-height: 100%;
  position: relative;
  padding-bottom: 50px;
}
.second-font {
  font-family: 'Concert One', cursive;
}
#notice-modal.primary-modal {
  background-color: rgba(0, 123, 255, 0.04);
}
#notice-modal.secondary-modal {
  background-color: rgba(108, 117, 125, 0.04);
}
#notice-modal.success-modal {
  background-color: rgba(40, 167, 69, 0.04);
}
#notice-modal.danger-modal {
  background-color: rgba(220, 53, 69, 0.04);
}
#notice-modal.warning-modal {
  background-color: rgba(255, 193, 7, 0.04);
}
#notice-modal.info-modal {
  background-color: rgba(23, 162, 184, 0.04);
}
#notice-modal.primary-modal .modal-content {
  border: 1px solid rgba(0, 123, 255, 0.75);
}
#notice-modal.secondary-modal .modal-content {
  border: 1px solid rgba(108, 117, 125, 0.75);
}
#notice-modal.success-modal .modal-content {
  border: 1px solid rgba(40, 167, 69, 0.75);
}
#notice-modal.danger-modal .modal-content {
  border: 1px solid rgba(220, 53, 69, 0.75);
}
#notice-modal.warning-modal .modal-content {
  border: 1px solid rgba(255, 193, 7, 0.75);
}
#notice-modal.info-modal .modal-content {
  border: 1px solid rgba(23, 162, 184, 0.75);
}
input[type=submit] {
  background-color: #28a745;
  color: #ffffff;
  border: 1px solid #28a745;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
  height: 44px;
}
input[type=submit]:hover {
  background-color: #218838;
  border: 1px solid #218838;
}
input[type=password],
input[type=text] {
  padding: 10px 20px;
  font-size: 16px;
  line-height: 24px;
  height: 44px;
}

select {
  padding: 6px 12px;
  height: 38px;
}
.btn {
  border-radius: 0 !important;
}
.btn:focus {
  box-shadow: none !important;
}
.console-font {
  font-family: 'Courier New';
}
.project-link,
.project-token {
  padding: 5px 10px;
  border: 1px dashed #dc3545;
  background-color: rgba(220, 53, 69, 0.04);
}
.project-link a,
.project-token a {
  word-break: break-all;
}
.chosen-container-multi {
  border: 1px solid #6f6f6f;
}
.chosen-container-multi > ul.chosen-choices {
  padding: 0 !important;
  min-height: 42px !important;
  border: none !important;
}
.chosen-container-multi > ul li.search-choice {
  padding: 10px 25px 10px 5px !important;
  background: #e7e7e7 !important;
  border-radius: 0 !important;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
  top: 11px;
}
.chosen-container-multi > ul li.search-field {
  /* width: 100%; */
  font-size: 16px !important;
  max-height: 44px;
}
.chosen-container-multi > ul li.search-field input {
  color: #767676 !important;
}
.chosen-container-multi > ul input {
  width: 100% !important;
  padding: 9px 20px !important;
  font-size: 16px !important;
  line-height: 24px !important;
  height: 42px !important;
}
.text-list-single{
    border-bottom: solid 1px #CCC;
}
.modal-content{
    border-radius: 0 !important;
}

/* Drop container */
.drop-container {
  width: 100%;
  min-height: 500px;
  border: 5px dashed #7a7a7a;
  margin: 0;
  position: relative;
  z-index: 9;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
}
.drop-container::before {
  content: "\f382";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  color: #e7e7e7;
  width: 100%;
  text-align: center;
  height: 200px;
  font-size: 200px;
  line-height: 200px;
  position: absolute;
  z-index: -1;
}
.drop-container.is-dragover {
  border-color: #17a2b8;
  background-color: rgba(23, 162, 184, .1);
}
.drop-container.is-dragover::before {
  color: rgba(23, 162, 184, .1);
}
.drop-container div {
  text-align: center;
  width: 100%;
}
.drop-container div span {
  font-size: 32px;
}
.drop-container .placeholder {
  font-size: 14px;
}
.drop-container input[type=file] {
  background-color: #428;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 0;
}
.drop-container input[type=submit] {
  position: absolute;
  width: .1px;
  height: .1px;
  top: 0;
  right: 0;
  z-index: -1;
  opacity: 0;
}

/* Top bar */
.top-bar {
  background-color: #fbfbfb;
  border-bottom: 1px solid #ffffff;
}
.top-bar h2 {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 0;
  padding: 18px 0
}
.top-bar h2 a,
.top-bar h2 a:hover {
  color: #222222;
  text-decoration: none;
}
.top-bar h2 a .subtitle,
.top-bar h2 a:hover .subtitle {
  color: #222222;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 1;
}
.top-bar h2 .position-absolute {
  top: 5px;
  right: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

/**
 * Texts list
 */
.archived-project-text-list h2,
.archived-project-edit-text h2 {
  margin: 30px auto 0;
  width: max-content;
  padding: 10px 20px;
  border: 1px solid #999;
  border-radius: 6px;
  color: #aaa;
  font-weight: 700;
  -webkit-transform: rotateZ(-5deg);
     -moz-transform: rotateZ(-5deg);
      -ms-transform:  rotate(-5deg);
       -o-transform: rotateZ(-5deg);
          transform: rotateZ(-5deg);
}
.archived-project-edit-text h2 {
  margin-top: 60px;
}

/**
 * Home
 **/


/**
 * Editor
 **/
.editor-left-column,
.editor-right-column {
  /*height: 928px;*/
  /*background-color: aqua;*/
}
.editor-title p,
.editor-content > p,
.editor-tags p {
  font-size: 20px;
  line-height: 20px;
  height: 20px;
  margin-bottom: 10px;
}
.editor-title div,
.editor-title textarea,
.editor-content > div,
.editor-tags div,
.editor-tags textarea {
  background-color: #ffffff;
  border: 1px solid #bbbbbb;
  margin-bottom: 20px;
  padding: 5px;
}
.editor-title {
  height: 126px;
}
.editor-title textarea,
.editor-title div {
  font-size: 28px;
  line-height: 28px;
  height: 76px;
  width: 100%;
}
.editor-content > div {
  font-size: 16px;
  line-height: 1;
  height: 540px;
  overflow-y: scroll;
}
.editor-tags {
  height: 104px;
}
.editor-tags textarea,
.editor-tags div {
  font-size: 14px;
  line-height: 14px;
  height: 54px;
  width: 100%;
}
.editor-right-column select {
  margin-right: 1rem;
}
/* TinyMCE */
#mceu_4 {
  padding: 0;
  height: 538px;
  background-color: #ffffff;
  border: 1px solid #bbbbbb;
  margin-bottom: 20px;
  box-shadow: none;
  overflow: visible;
}
#mceu_5 {
  border-bottom: 1px solid #bbbbbb;
}
#mceu_5::before {
  box-shadow: none !important;
}
#mceu_10,
#text-content_ifr {
  height: 503px !important;
  border: none;
}
#mceu_11 {
  display: none;
}
/* Custom checkbox */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 46px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 38px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 38px;
  width: 38px;
  background-color: #ffffff;
  border: 1px solid #bbbbbb;
}
.checkbox-container:hover input ~ .checkmark {
  background-color: #ffffff;
  /*background-color: #73c686;*/
}

.checkbox-container:hover input ~ .checkmark:after {
  left: 11px;
  top: 3px;
  width: 15px;
  height: 25px;
  border: solid #bbbbbb;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  display: block;
}
.checkbox-container:hover input:checked ~ .checkmark:after {
  border: solid #28a745;
  border-width: 0 3px 3px 0;
}
.checkbox-container input:checked ~ .checkmark {
  background-color: #ffffff;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}
.checkbox-container .checkmark:after {
  left: 11px;
  top: 3px;
  width: 15px;
  height: 25px;
  border: solid #28a745;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
} 
/* Upload file form */
.new-project-upload-form,
.new-translation-upload-form {
  background-color: #f2f2f3;
  border: 1px solid #bbbbbb;
  padding: 10px;
}
.new-project-upload-form .chosen-container-multi {
  width: 100% !important;
}

/**
 * Admin
 **/
#search-by-title {
  position: relative;
}
#search-by-title .input {
  /*width: calc( 100% - 43px );*/
  width: 100%;
  height: 38px;
  margin-right: -4px;
  padding-right: 38px;
  border: none;
  background: rgba(108, 117, 125, 0.2);
}
#search-by-title.empty .input {
  padding-right: 20px;
}
#search-by-title button.clear {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
  text-align: center;
}
#search-by-title.empty button.clear {
  display: none;
}
span.searched {
  background-color: rgba(23, 162, 184, 0.5);
}

.check-all {
  position: absolute;
  margin-top: .3rem;
  margin-left: -1.25rem;
}
form.texts .form-check-label {
  padding-left: 20px;
}
form.texts .form-check-label i {
  margin-left: -20px;
}
form.texts .text-list-single:first-child .form-check-label {
  padding-left: 0;
}
form.texts .text-list-single:first-child .form-check-label i {
  margin-left: 0;
}

.project-container .text-left.w-75 {
  min-height: 35px;
}
.project-container .text-left.w-75 button {
  position: relative;
}
.project-container .text-left.w-75 button:hover::after {
  content: "\f2ed";
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  z-index: 9;
  padding: .25rem .5rem;
  background-color: #dc3545;
  text-align: center;
  color: #fff;
  font-family: "Font Awesome 5 Free";
  font-size: .875rem;
  line-height: 1.5;
  font-weight: 900;
  cursor: pointer;
}

.modal-dialog .project-title {
  word-wrap: anywhere;
}

.completed-articles-count {
  display: inline-block;
  padding: 5px;
}
.completed-articles-count.completed {background-color: rgba(40, 167, 69, .1);}
.completed-articles-count.in-progress {background-color: rgba(0, 123, 255, .1);}
.completed-articles-count.added {background-color: rgba(108, 117, 125, .1);}
#project-details .nav-tabs .nav-item {margin-right: 5px;}
#project-details .nav-tabs .nav-link {
  border-radius: 0;
  padding: 5px 10px;
  color: #fff;
}
#project-details .nav-tabs .nav-item.show .nav-link,
#project-details .nav-tabs .nav-item.show .nav-link:focus,
#project-details .nav-tabs .nav-link.active,
#project-details .nav-tabs .nav-link.active:focus {
  -webkit-transform: scale(1.4);
     -moz-transform: scale(1.4);
      -ms-transform: scale(1.4);
       -o-transform: scale(1.4);
          transform: scale(1.4);
  -webkit-box-shadow: 0 0 4px 1px rgba(0,0,0,0.3) !important;
     -moz-box-shadow: 0 0 4px 1px rgba(0,0,0,0.3) !important;
          box-shadow: 0 0 4px 1px rgba(0,0,0,0.3) !important;
}

/* Archived projects */
.single-archived {
  position: relative;
  margin-bottom: 10px;
  padding-right: 40px;
  background-color: #eee;
  border-bottom: 1px solid #eee;
}
.single-archived h4 {
  margin: 0;
  padding-bottom: 8px;
  background-color: #fff;
}
.single-archived__langs {
  margin: 0;
  padding: 0 0 5px 0;
  list-style-type: none;
  background-color: #fff;
}
.single-archived__langs li {
  display: inline-block;
  margin: 0;
}
.single-archived__texts {
  margin: 0;
  padding: 0 8px 14px 0;
  background-color: #fff;
}
.single-archived__buttons {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px;
}
.single-archived__buttons button {
  display: block;
  width: 32px;
  margin-bottom: 4px;
  height: 32px;
  text-align: center;
}
.single-archived__buttons button:last-child {
  margin-bottom: 0;
}

.archived-cover {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  background-color: #e5e5e5;
  overflow: hidden;
}
.archived-cover strong {
  display: block;
  position: absolute;
  top: -webkit-calc( 50% - 35px );
  top:         calc( 50% - 35px );
  left: -webkit-calc( 50% - 334px );
  left:         calc( 50% - 334px );
  width: 668px;
  height: 70px;
  font-size: 70px;
  line-height: 1;
  text-transform: uppercase;
  color: #ddd;
  -webkit-transform: rotateZ(-5deg);
     -moz-transform: rotateZ(-5deg);
      -ms-transform:  rotate(-5deg);
       -o-transform: rotateZ(-5deg);
          transform: rotateZ(-5deg);
}
.archived-cover i {
  position: absolute;
  top: -webkit-calc( 50% - 50px );
  top:         calc( 50% - 50px );
  left: 20px;
  z-index: -1;
  color: #ddd;
  font-size: 100px;
}

/**
 * Error pages
 **/
.container-error .display-1 {
  font-size: 15rem;
}
.container-error .text-uppercase.text-muted {
  font-size: 1.7rem;
}
@media screen and (max-width: 575.98px) {
  .container-error .display-1 {
    font-size: 10rem;
  }
  .container-error .text-uppercase.text-muted {
    font-size: 1.1rem;
  }
}

/**
 * Footer
 **/
footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
footer a:hover {
  text-decoration: none;
}