/* Base */

:root {
  --primary-bg-color: #000;
  --primary-text-color: #000;
  --primary-color: #DA181B;
  --primary-btn-text-color: #DA181B;
  --secondary-bg-color: #eee;
  --invert-color: #fff;
}

html,
body {
  font-family: "Poppins", sans-serif, arial, verdana;
  font-size: 100%;
  line-height: 1.625;
  color: var(--primary-text-color);
  background-color: var(--secondary-bg-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
}
::-webkit-input-placeholder {
  color: #fff;
}
:-moz-placeholder {
  color: #fff;
  opacity: 1;
}
::-moz-placeholder {
  color: #fff;
  opacity: 1;
}
:-ms-input-placeholder {
  color: #fff;
}
:placeholder-shown {
  color: #fff;
}
::selection {
  background-color: #fff9c4;
  text-shadow: none;
}

a {
  color: var(--primary-text-color);
  text-decoration: none;
}
a:hover,
a:focus {
  color: var(--primary-color);
  text-decoration: underline;
}
a:focus {
  outline: none;
}
.nohover:hover {
  text-decoration: none;
}
a.muted {
  opacity: 0.6;
  color: #212b35;
}
a.muted:hover {
  opacity: 1;
  text-decoration: none;
}

input,
button {
  outline: none;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
}
select::-ms-expand {
  display: none;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.4;
}
h1 {
  font-size: 2rem;
  line-height: 2.4rem;
  font-weight: 700;
}
h2 {
  font-size: 1rem;
  font-weight: 700;
}

.back-top {
  z-index: 5000;
  display: block;
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  transition: all 0.3s;
  background-color: #ff9100;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24);
  width: 56px;
  height: 56px;
  border: 1px solid #ff9100;
}
.back-top:hover {
  background-color: #fff;
  transition: all 0.3s;
  bottom: 40px;
  color: #fff;
  border-color: #fff;
}
.back-top span {
  color: #fff;
  font-size: 1em;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-8px, -14px);
  line-height: 1.5em;
  width: 15px;
}
.back-top:hover span {
  color: #ff9100;
}
.back-top-show {
  opacity: 1;
  transition: all 0.3s;
}

.p-vertical {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.error {
  color: #e83c19;
}

/* Tagify */

.tagify tag>div {
  background-color: #d7eccc;
  border-radius: .5rem;
}

/* Bootstrap modifications */

.navbar {
  background-color: #fff;
}

.btn {
  font-size: 1rem;
  padding: 0 2rem;
  margin: 0 1rem;
  font-weight: bold;
  height: 48px;
  text-transform: uppercase;
  border-radius: .5rem;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  border: 0;
}

.btn:hover {
  transition: all .2s;
  text-decoration: none;
  opacity: .95;
}

.btn.focus,
.btn:focus,
.btn:not([disabled]):not(.disabled).active:focus,
.btn:not([disabled]):not(.disabled):active:focus,
.show > .btn.dropdown-toggle:focus {
  box-shadow: none;
}

.btn-sm {
  padding: 0 .5rem;
  height: 28px;
}

.btn-single {
  margin-right: 0;
}

.btn-primary {
  background: linear-gradient(180deg, #DA181B 20%, #62170F 100%);
  border-color: var(--primary-color);
  color: var(--invert-color);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #DA181B 20%, #62170F 100%);
  border-color: var(--primary-bg-color);
}
.btn-primary.focus,
.btn-primary:focus {
  border-color: var(--primary-bg-color);
  color: #fff;
}
.btn-primary:not([disabled]):not(.disabled).active,
.btn-primary:not([disabled]):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  border-color: var(--primary-bg-color);
  background: linear-gradient(180deg, #DA181B 20%, #62170F 100%);
}

.btn-secondary {
  background: linear-gradient(180deg, #fcd992 20%, #f8a906 100%);
  border-color: #c4cdd5;
  color: #62170f;
}
.btn-secondary:hover {
  background: linear-gradient(180deg, #fcd992 20%, #f8a906 100%);
  border-color: #c4cdd5;
  color: #62170f;
}
.btn-secondary.focus,
.btn-secondary:focus {
  border-color: var(--primary-color);
  background: linear-gradient(180deg, #fcd992 20%, #f8a906 100%);
  color: #62170f;
  outline: 0;
}
.btn-secondary:not([disabled]):not(.disabled).active,
.btn-secondary:not([disabled]):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
  color: #62170f;
  border-color: var(--primary-color);
  outline: 0;
  background: linear-gradient(180deg, #fcd992 20%, #f8a906 100%);
}

.btn-danger {
  background: linear-gradient(to bottom, #ee6b50, #ec5b3e);
  border-color: #e83c19;
  box-shadow: inset 0 1px 0 0 #ef775e;
  color: #ffffff;
}
.btn-danger:hover {
  background: linear-gradient(to bottom, #ed6347, #eb4f30);
  border-color: #e83c19;
}
.btn-danger.focus,
.btn-danger:focus {
  border-color: #bf0711;
  box-shadow: inset 0 1px 0 0 #ef775e, 0 0 0 1px #bf0711;
}
.btn-danger:not([disabled]):not(.disabled).active,
.btn-danger:not([disabled]):not(.disabled):active,
.show > .btn-danger.dropdown-toggle {
  color: #ffffff;
  border-color: #bf0711;
  box-shadow: inset 0 1px 0 0 #ef775e, 0 0 0 1px #bf0711 !important;
  background: linear-gradient(to bottom, #ed6347, #eb4f30);
}

.badge {
  font-size: 100%;
  font-weight: 400;
  border-radius: 3px;
}
.badge-sm {
  font-size: 75%;
  font-weight: 700;
}
.badge-lg {
  font-size: 125%;
}

.badge-primary {
  color: #fff;
  background-color: #5664c1;
}
.badge-secondary {
  color: #576775;
  background-color: #dfe4e8;
}
.badge-success {
  color: #fff;
  background-color: #63b556;
}
.badge-danger {
  background-color: #ee6a4f;
  color: #fff;
}
.badge-warning {
  background-color: #ffea8a;
  color: #576775;
}

.nav-link {
  font-size: 0.875em;
}
.nav-link i {
  vertical-align: -0.1em;
  margin-right: 0.5rem;
}

.dropdown a {
  color: #2b2b2b;
  font-size: 0.875em;
}
.dropdown a:hover,
.dropdown a:focus {
  text-decoration: none;
}
.dropdown .dropdown-menu {
  margin-top: 1rem;
  border-radius: 3px;
  border: 0;
}
.dropdown .dropdown-menu:after {
  position: absolute;
  top: -5px;
  left: 1rem;
  content: "";
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  transform: rotate(45deg);
  background-color: #fff;
  overflow: hidden;
  pointer-events: none;
  box-shadow: -2px -2px 2px 0px rgba(39, 44, 48, 0.04);
}
.dropdown .dropdown-menu a {
  color: #212b35;
  padding: 0.6rem 1rem;
}
.dropdown .dropdown-menu a:hover,
.dropdown .dropdown-menu a:focus {
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
}
.dropdown .dropdown-menu-right:after {
  left: auto;
  right: 1rem;
}
.dropdown-menu.dropdown-menu-right {
  left: auto;
  right: 0;
  margin-top: 2rem;
}
.dropdown-toggle::after {
  position: relative;
  top: 1px;
  right: -0.25rem;
}
.dropdown-item i {
  margin-right: 0.25rem;
  top: 1px;
  position: relative;
}
.dropdown-silent .btn {
  background: none !important;
  padding: 0.5rem 1rem 0 0;
  border-color: transparent;
  color: #007ad7;
  box-shadow: none;
}
.dropdown-silent .btn:focus {
  background: none;
  border-color: transparent;
  box-shadow: none !important;
}
.dropdown-silent .btn:after {
  display: none;
}
.dropdown-silent .btn:not([disabled]):not(.disabled):focus,
.dropdown-silent .btn:not([disabled]):not(.disabled):active {
  border-color: transparent;
  box-shadow: none !important;
}

@media (max-width: 719px) {
  #menu-dropdown-account {
      padding: 0.5rem 0;
      display: block;
  }
  .dropdown-menu.dropdown-menu-right {
      right: auto;
      margin-top: 1rem;
      position: relative;
      width: 100%;
  }
  .navbar .dropdown .dropdown-menu {
      margin: 0 -2rem 0 2rem;
  }
  .navbar .dropdown .dropdown-menu:after,
  .navbar .dropdown .dropdown-menu i {
      display: none;
  }
  .dropdown .dropdown-menu {
      transition: all 0.3s;
      height: 0;
  }
  .dropdown.show .dropdown-menu {
      transition: all 0.3s;
      height: auto;
  }
}

@media (min-width: 720px) {
  .dropdown-toggle + .dropdown-menu {
      transform: scale(0) !important;
      opacity: 0;
      transition: all 0.3s;
      display: block;
      top: -100% !important;
  }
  .dropdown-toggle.show + .dropdown-menu {
      transform: scale(1) !important;
      opacity: 1;
      transition: all 0.3s;
      top: 100% !important;
  }
}

.bg-dark {
  background-color: var(--primary-bg-color) !important;
}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.7);
}
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.85);
}
.navbar-dark .navbar-nav .active .nav-link:focus,
.navbar-dark .navbar-nav .active .nav-link:hover {
  color: rgba(255, 255, 255, 1);
}

.table {
  font-size: 0.875rem;
}
.table th {
  border: 0;
}
.table .btn {
  margin-right: 0;
}
.table td,
.table thead th {
  border-color: #e6e6e6;
  vertical-align: middle;
  padding: .3rem;
}
.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.025);
}
.table .table {
  width: 100%;
}
.table .table td,
.table .table thed th {
  border: 0;
}
.table img {
  max-width: 50px;
}

.pagination {
  border-radius: 3px;
}
.pagination i {
  vertical-align: 0;
}
.page-link {
  background: linear-gradient(to bottom, #fff, #f9fafb);
  border-color: #c4cdd5;
  color: var(--primary-color);
  box-shadow: 0 1px 0 0 rgba(22, 29, 37, 0.05);
  color: #212b35;
}
.page-link:focus,
.page-link:hover {
  color: var(--primary-color);
  background: linear-gradient(to bottom, #f9fafb, #f4f6f8);
  border-color: #c4cdd5;
}
.page-item.active .page-link {
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-color));
  border-color: var(--primary-color);
  color: #fff;
  cursor: default;
}
.page-item.disabled .page-link {
  border-color: #c4cdd5;
  color: rgba(33, 43, 53, 0.25);
  background: linear-gradient(to bottom, #fff, #f9fafb);
}

.row {
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}
.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}
.form-row {
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}
.form-row > .col,
.form-row > [class*="col-"] {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.form-label {
  margin-bottom: .5rem;
  font-weight: bold;
  font-size: 1rem;
}

.modal-content {
  border: 0;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 rgba(63, 63, 68, 0.15);
}
.modal-footer > :not(:first-child) {
  margin-right: 0;
}
.modal-backdrop {
  background-color: #fff;
}
.modal-backdrop.show {
  opacity: 0.7;
}

.alert {
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  border: 0;
  border-radius: 3px;
  color: #212b35;
}
.container .alert {
  max-width: 100%;
}
.alert-primary {
  background-color: rgba(86, 100, 193, 0.25);
}
.alert-secondary {
  background-color: rgb(223, 228, 232);
}
.alert-success {
  background-color: #ecf3e3;
  color: #7eac41;
}
.alert-danger {
  background-color: #ffe7e7;
  color: #f05656;
}
.alert-warning {
  background-color: rgba(255, 242, 76, 0.25);
}
.alert-dismissible .close {
  padding: 0.75rem;
  line-height: 1.2rem;
}
.alert-dismissible .close:focus,
.alert-dismissible .close:active {
  outline: none;
}
.alert p:last-child {
  margin-bottom: 0;
}

.card {
  background-color: #f4f6f8;
  border-color: #e2e3e5;
  height: 100%;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
      padding-right: 1rem;
      padding-left: 1rem;
  }
}

/* Forms */

.input-group-text {
  background-color: #fff;
  border-right: 1px solid #fff;
  border-radius: 3px;
  margin-right: -1px;
  z-index: 1;
  padding: 0.375rem 0.3rem;
}
.input-group-append .input-group-text,
.input-group-prepend .input-group-text {
  padding: 0.375rem 0.75rem;
  background-color: #eeeeee;
  border: 1px solid #afafaf;
  height: 48px;
  border-top-left-radius: .5rem;
  border-bottom-left-radius: .5rem;
}

.form-control {
  border-radius: .5rem;
  height: 48px;
  line-height: 48px;
  font-size: 1.125rem;
  padding: 0 1rem;
  border-color: #afafaf;
}
.form-control:focus {
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
  outline: 0;
}

.form-control-color {
  pointer-events: none;
  border: 1px solid #afafaf;
  background-color: transparent;
  border-radius: .5rem;
}

.form-select {
  border-radius: .5rem;
  height: 48px;
  line-height: 48px;
  font-size: 1.125rem;
  padding: 0 1rem;
  border-color: #afafaf;
}

.form-select:focus {
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.custom-select:focus {
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
  outline: 0;
}

textarea.form-control {
  line-height: 1.4;
  padding: 1rem;
  min-height: 120px;
}

.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  background-color: var(--primary-color);
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary-color);
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary-color);
}
.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(71, 193, 191, 0.25);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,
.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
  animation: pulse 1s;
}

@-webkit-keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 #bdc3c7;
  }
  100% {
      box-shadow: 0 0 0 1.5em rgba(189, 195, 199, 0);
  }
}

@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 #bdc3c7;
  }
  100% {
      box-shadow: 0 0 0 1.5em rgba(189, 195, 199, 0);
  }
}

/* Layout */

.separator {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e6e6e6;
}

.shadow-default {
  box-shadow: 0 0 0 1px rgba(39, 44, 48, 0.05), 0 2px 7px 1px rgba(39, 44, 48, 0.16);
}
.shadow-primary {
  box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 rgba(63, 63, 68, 0.15);
}

.box {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 3px;
}
.box-primary {
  background-color: rgba(255, 255, 255, 1);
}
.box-secondary {
  background-color: rgba(249, 250, 251, 1);
}

.box-topmenu {
  color: var(--primary-color);
}
.box-topmenu.float-end {
  margin-right: 0;
  margin-left: 1rem;
}

.navbar-brand {
  padding: 0;
  margin-right: 2em;
}
.navbar-brand .svg {
  height: 32px;
  width: auto;
  position: relative;
  top: 0px;
  margin-left: .5rem;
}

.content {
  padding: 5rem 0 2rem;
}
/*
.content .container form{padding-bottom: 2rem;}	
.content .container form>.row:last-of-type{position: fixed;left: 0;right: 0;bottom: 0;padding: 1rem;background-color: #fff;box-shadow: 0 0 10px rgb(63 63 68 / 5%);}
*/
.page-menu > li > a {
  padding-right: 1em;
}

.support img,
.support svg {
  display: block;
  margin: 0 auto 0.5rem;
  width: auto;
  height: 37px;
}
.support svg path {
  fill: var(--primary-color);
}

/* Admin Base */

.functions-more,
.toggle-close {
  display: none;
}

/* Login */

.page-admin-login .svg {
  width: auto;
  height: 96px;
}

/* Add article */

.article-photo-grid {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.article-photo-grid > li {
  float: left;
  width: 20%;
  padding: 0 0.5rem 1rem;
}
.article-photo-grid > li:first-child {
  width: 40%;
}

.drag {
  cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABF0lEQ…%2BX%2BvObByYdEkFh8%2F6qXFrrfeocIk8x2VrNl9A%2F0l7Ib3y%2F5wAAAAAElFTkSuQmCC), move;
  cursor: -webkit-grab;
  cursor: grab;
}

.article-photo-grid > li:hover .article-photo-overlay {
  opacity: 1;
}
.article-photo-overlay {
  z-index: 3;
  background-color: rgba(49, 55, 61, 0.75);
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.1s ease-in-out;
  transition: opacity 0.1s ease-in-out;
}
.photo-overlay-actions {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
}
.photo-overlay-actions a {
  padding: 1rem 0.7rem;
  display: block;
  line-height: 0;
  text-align: center;
}
.photo-overlay-actions a:hover {
  text-decoration: none;
}
.photo-overlay-actions i {
  color: #fff;
}

.aspect-ratio {
  position: relative;
  display: block;
  background: #fafbfc;
  padding: 0;
}
.aspect-ratio::before {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid rgba(195, 207, 216, 0.3);
}
.aspect-ratio-square {
  width: 100%;
  padding-bottom: 100%;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.aspect-ratio-circle::before {
  border-radius: 50%;
}
.aspect-ratio-content {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

/* Edit article */

.article-seo-example h3 {
  min-height: 21px;
  display: block;
  font-size: 18px;
  color: #1a0dab;
  line-height: 21px;
  margin-bottom: 2px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.article-seo-example span {
  display: block;
  word-wrap: break-word;
  color: #006621;
  font-size: 13px;
  line-height: 16px;
  margin-bottom: 2px;
}
.article-seo-example p {
  display: block;
  color: #545454;
  line-height: 18px;
  font-size: 13px;
  margin: 0;
}

.article-tags i {
  font-size: 0.6rem;
  position: relative;
  top: -1px;
}
.article-tags a {
  margin: 1rem 0.75rem 0 0;
  display: inline-block;
}
.article-tags a:hover .badge {
  text-decoration: line-through;
}

/* Edit variants */

.article-variant-edit-menu,
.article-variant-edit-menu li:last-child,
.article-variant-edit-menu li:last-child a {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
.article-variant-edit-menu a {
  display: block;
  margin: 0 -1rem;
  padding: 1rem 2rem;
  border-top: 1px solid #e6e6e6;
  background-color: #fff;
}
.article-variant-edit-menu a:hover {
  text-decoration: none;
  background-color: rgba(249, 250, 251, 1);
}
.article-variant-edit-menu .active a {
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-color));
  color: #fff;
}

/* Order details */

.page-admin-order-details table img {
  max-width: 50px;
}
.page-admin-order-details table tr td:first-child {
  width: 50px;
}
.page-admin-order-details .order-item .num {
  width: 75px;
  display: inline-block;
}
.order-item-price {
  width: 25% !important;
  text-align: left !important;
}

/* Timeline */

.timeline .row {
  position: relative;
}
.timeline .row:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  margin-top: -0.6rem;
  bottom: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 3px solid #f4f6f8;
  background-color: #ced4da;
  z-index: 1;
}
.timeline .row:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  width: 3px;
  background-color: #ced4da;
}
.timeline .row:nth-child(1):after {
  top: 50%;
}
.timeline .row:last-of-type:after {
  bottom: 50%;
}
.timeline .row > div {
  padding: 0.75rem 0 0.75rem 2.5rem;
}
.timeline .row > div:nth-of-type(2) {
  padding: 0.75rem 1rem 0.75rem 0;
}

/* Pretty - https://lokesh-coder.github.io/pretty-checkbox/ */

.pretty {
  position: relative;
  display: block;
  margin-right: 1em;
  white-space: nowrap;
  line-height: 1;
}
.pretty input {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 1em;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  box-sizing: border-box;
}
.pretty.p-switch input {
  min-width: 2em;
}
.pretty.p-switch .state {
  position: relative;
}
.pretty.p-switch .state:before {
  content: "";
  border: 1px solid #ee6a4f;
  border-radius: 60px;
  width: 2em;
  box-sizing: unset;
  height: calc(1em + 2px);
  position: absolute;
  top: 0;
  top: calc((0% - (100% - 1em)) - 16%);
  z-index: 0;
  transition: all 0.5s ease;
  background-color: #ee6a4f;
}
.pretty.p-switch input:checked ~ .state:before {
  border-color: #63b556;
}
.pretty.p-switch.p-fill input:checked ~ .state:before {
  border-color: #63b556;
  background-color: #63b556 !important;
}
.pretty .state label {
  position: initial;
  display: inline-block;
  font-weight: 400;
  margin: 0;
  text-indent: 1.5em;
  min-width: calc(1em + 2px);
}
.pretty.p-switch .state label {
  text-indent: 2.5em;
}
.pretty .state label:after,
.pretty .state label:before {
  content: "";
  width: calc(1em + 2px);
  height: calc(1em + 2px);
  display: block;
  box-sizing: border-box;
  border-radius: 0;
  border: 1px solid transparent;
  z-index: 0;
  position: absolute;
  left: 0;
  top: calc((0% - (100% - 1em)) - 15%);
  background-color: transparent;
}
.pretty .state label:before {
  border-color: #bdc3c7;
}
.pretty.p-switch .state label:after,
.pretty.p-switch .state label:before {
  transition: all 0.5s ease;
  border-radius: 100%;
  left: 0;
  border-color: transparent;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
}
.pretty.p-switch input:checked ~ .state label:before {
  opacity: 0;
}
.pretty.p-switch.p-fill input:checked ~ .state label:before {
  opacity: 0;
}
.pretty.p-switch .state label:after {
  background-color: #fff !important;
}
.pretty.p-switch input:checked ~ .state label:after {
  background-color: var(--primary-color) !important;
  left: 1em;
}
.pretty.p-switch.p-fill input:checked ~ .state label:after {
  background-color: #fff !important;
  left: 1em;
}

/* Icon font - https://icomoon.io/app/#/ */

@font-face {
  font-family: "icomoon";
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/icomoon.eot?y9at3q");
  src: url("../fonts/icomoon.eot?y9at3q#iefix") format("embedded-opentype"), url("../fonts/icomoon.ttf?y9at3q") format("truetype"), url("../fonts/icomoon.woff?y9at3q") format("woff"),
      url("../fonts/icomoon.svg?y9at3q#icomoon") format("svg");
}

[class^="icon-"],
[class*=" icon-"] {
  font-family: "icomoon" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  font-size: 1.36em;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-arrow-from-bottom:before {
  content: "\e900";
}
.icon-arrow-left:before {
  content: "\e901";
}
.icon-arrow-right:before {
  content: "\e902";
}
.icon-arrow-to-bottom:before {
  content: "\e903";
}
.icon-ban:before {
  content: "\e904";
}
.icon-caret-down:before {
  content: "\e905";
}
.icon-caret-up:before {
  content: "\e906";
}
.icon-check:before {
  content: "\e907";
}
.icon-cog:before {
  content: "\e908";
}
.icon-credit-card:before {
  content: "\e909";
}
.icon-ellipsis-h:before {
  content: "\e90a";
}
.icon-ellipsis-v:before {
  content: "\e90b";
}
.icon-envelope:before {
  content: "\e90c";
}
.icon-exchange:before {
  content: "\e90d";
}
.icon-exclamation-circle:before {
  content: "\e90e";
}
.icon-eye:before {
  content: "\e90f";
}
.icon-file-alt:before {
  content: "\e910";
}
.icon-home:before {
  content: "\e911";
}
.icon-images:before {
  content: "\e912";
}
.icon-lock:before {
  content: "\e913";
}
.icon-minus:before {
  content: "\e914";
}
.icon-minus-circle:before {
  content: "\e915";
}
.icon-pen:before {
  content: "\e916";
}
.icon-plus:before {
  content: "\e917";
}
.icon-plus-circle:before {
  content: "\e918";
}
.icon-print:before {
  content: "\e919";
}
.icon-search:before {
  content: "\e91a";
}
.icon-shopping-cart:before {
  content: "\e91b";
}
.icon-sign-in:before {
  content: "\e91c";
}
.icon-sign-out:before {
  content: "\e91d";
}
.icon-stack-overflow:before {
  content: "\e91e";
}
.icon-star:before {
  content: "\e91f";
}
.icon-tags:before {
  content: "\e920";
}
.icon-times:before {
  content: "\e921";
}
.icon-times-circle:before {
  content: "\e922";
}
.icon-trash-alt:before {
  content: "\e923";
}
.icon-truck:before {
  content: "\e924";
}
.icon-unlock:before {
  content: "\e925";
}
.icon-user:before {
  content: "\e926";
}
.icon-user-regular:before {
  content: "\e927";
}

.icon-fw {
  width: 1.67rem;
  display: inline-block;
  text-align: center;
}
.icon-1x {
  font-size: 1em;
}
.icon-2x {
  font-size: 2em;
}
.icon-3x {
  font-size: 3em;
}
.icon-4x {
  font-size: 4em;
}
.icon-5x {
  font-size: 5em;
}
.icon-6x {
  font-size: 6em;
}
.icon-7x {
  font-size: 7em;
}
.icon-8x {
  font-size: 8em;
}
.icon-9x {
  font-size: 9em;
}
.icon-10x {
  font-size: 10em;
}
.icon-lg {
  font-size: 2.26em;
  vertical-align: -0.15em;
}
.icon-sm {
  font-size: 0.875em;
  vertical-align: 0;
}
.icon-spin {
  -webkit-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear;
}
.icon-rotate-90 {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.icon-rotate-180 {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.icon-rotate-270 {
  -webkit-transform: rotate(270deg);
  transform: rotate(270deg);
}
.icon-flip-horizontal {
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
}
.icon-flip-vertical {
  -webkit-transform: scale(1, -1);
  transform: scale(1, -1);
}

/* TinyMCE modifications */

.mce-tinymce {
  border-width: 0 !important;
  box-shadow: none !important;
}
.mce-tinymce-container {
  border: 1px solid #ced4da;
  border-radius: 3px;
}

/* Autocomplete modifications */

.ui-menu .ui-menu-item:hover {
  color: #fff;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-color));
}
.ui-widget-content {
  border-color: #e2e3e5;
  box-shadow: 0 0 0 1px rgba(39, 44, 48, 0.05), 0 2px 7px 1px rgba(39, 44, 48, 0.16);
}
.article-photo-grid .ui-state-default {
  background-color: transparent;
  border: 0;
}

/* Dropzone modifications */

.dropzone {
  border: 0;
  padding: 0;
  min-height: auto;
}
.dropzone .dz-message {
  margin-bottom: 0;
}

/* Nestable modifications */

.dd3-inner-content {
  border-right: 0;
  border-radius: 3px;
}
.dd3-content {
  padding: 0px 0px 0px 28px;
}
.dd3-content i {
  position: relative;
  right: auto;
  top: auto;
}

/* Media queries */

@media (max-width: 719px) {
  .container-fluid {
      padding-left: 10px;
      padding-right: 10px;
  }
  .content {
      padding: 4.2rem 0 1rem;
  }

  .navbar-toggler {
      border: 0;
      padding: 0.15rem 0;
  }
  .navbar-toggler-icon {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)'");
  }

  h1 {
      font-size: 1.4rem;
  }
}

@media (min-width: 720px) {
  .container-fluid {
      max-width: 85%;
  }
}

/* Animated hamburger menu */

.navbar-toggler .inline-svg,
.navbar-toggler .inline-svg rect {
  width: 40px;
  height: 25px;
  position: relative;
  top: -3px;
  right: -14px;
}
.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
}

.svg-menu-toggle {
  fill: #fff;
  pointer-events: all;
  cursor: pointer;
}
.svg-menu-toggle .bar {
  transform: rotate(0) translateY(0) translateX(0);
  opacity: 1;
  transform-origin: 20px 10px;
  transition: transform 0.4s ease-in-out, opacity 0.2s ease-in-out;
}
.svg-menu-toggle .bar:nth-of-type(1) {
  transform-origin: 20px 10px;
}
.svg-menu-toggle .bar:nth-of-type(3) {
  transform-origin: 20px 20px;
}

.svg-menu-toggle.active .bar:nth-of-type(1) {
  transform: rotate(-45deg) translateY(0) translateX(0);
}
.svg-menu-toggle.active .bar:nth-of-type(2) {
  opacity: 0;
}
.svg-menu-toggle.active .bar:nth-of-type(3) {
  transform: rotate(45deg) translateY(0em) translateX(0em);
}

#insert_image img {
  max-width: 100px;
  max-height: 100px;
  cursor: pointer;
  margin: 0 5px 5px 0;
}