/*!
 * Dark Mode Switch v1.0.1 (https://github.com/coliff/dark-mode-switch)
 * Copyright 2021 C.Oliff
 * Licensed under MIT (https://github.com/coliff/dark-mode-switch/blob/main/LICENSE)
 */

[data-theme="dark"] {
  background-color: #161b28 !important;
  color: #ccced1 !important;
}

[data-theme="dark"] code{
  background-color: #1d2333 !important;
  color: #f6f6f6 !important;
}

/* SYNTAX */
[data-theme="dark"] pre,
[data-theme="dark"] pre code,
[data-theme="dark"] .hljs {
  background-color: #1d2333 !important;
}
[data-theme="dark"] .text-secondary,
[data-theme="dark"] .btn-arena,
[data-theme="dark"] sup {
  color: #ccced1 !important;
}
[data-theme="dark"] .page-links .post-page-numbers {
   background-color: #1d2333 !important;
   border: 1px solid #484e5d;
}

[data-theme="dark"] .page-links .post-page-numbers.current {
   background-color: #ccced1 !important;
   border: 1px solid #484e5d;
   color: #161b28 !important;
}

/*!
  Theme: StackOverflow Dark
  Description: Dark theme as used on stackoverflow.com
  Author: stackoverflow.com
  Maintainer: @Hirse
  Website: https://github.com/StackExchange/Stacks
  License: MIT
  Updated: 2021-05-15

  Updated for @stackoverflow/stacks v0.64.0
  Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less
  Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less
*/

[data-theme="dark"] .hljs {
  /* var(--highlight-color) */
  color: #fafafa;
  /* var(--highlight-bg) */
  background: #1d2333;
}

[data-theme="dark"] .hljs-subst {
  /* var(--highlight-color) */
  color: #fafafa;
}

[data-theme="dark"] .hljs-comment {
  /* var(--highlight-comment) */
  color: #999999;
}

[data-theme="dark"] .hljs-keyword,
[data-theme="dark"] .hljs-selector-tag,
[data-theme="dark"] .hljs-meta [data-theme="dark"] .hljs-keyword,
[data-theme="dark"] .hljs-doctag,
[data-theme="dark"] .hljs-section {
  /* var(--highlight-keyword) */
  color: #88aece;
}

[data-theme="dark"] .hljs-attr {
  /* var(--highlight-attribute); */
  color: #88aece;
}

[data-theme="dark"] .hljs-attribute {
  /* var(--highlight-symbol) */
  color: #c59bc1;
}

[data-theme="dark"] .hljs-name,
[data-theme="dark"] .hljs-type,
[data-theme="dark"] .hljs-number,
[data-theme="dark"] .hljs-selector-id,
[data-theme="dark"] .hljs-quote,
[data-theme="dark"] .hljs-template-tag {
  /* var(--highlight-namespace) */
  color: #f08d49;
}

[data-theme="dark"] .hljs-selector-class {
  /* var(--highlight-keyword) */
  color: #88aece;
}

[data-theme="dark"] .hljs-string,
[data-theme="dark"] .hljs-regexp,
[data-theme="dark"] .hljs-symbol,
[data-theme="dark"] .hljs-variable,
[data-theme="dark"] .hljs-template-variable,
[data-theme="dark"] .hljs-link,
[data-theme="dark"] .hljs-selector-attr {
  /* var(--highlight-variable) */
  color: #b5bd68;
}

[data-theme="dark"] .hljs-meta,
[data-theme="dark"] .hljs-selector-pseudo {
  /* var(--highlight-keyword) */
  color: #88aece;
}

[data-theme="dark"] .hljs-built_in,
[data-theme="dark"] .hljs-title,
[data-theme="dark"] .hljs-literal {
  /* var(--highlight-literal) */
  color: #f08d49;
}

[data-theme="dark"] .hljs-bullet,
[data-theme="dark"] .hljs-code {
  /* var(--highlight-punctuation) */
  color: #cccccc;
}

[data-theme="dark"] .hljs-meta [data-theme="dark"] .hljs-string {
  /* var(--highlight-variable) */
  color: #b5bd68;
}

[data-theme="dark"] .hljs-deletion {
  /* var(--highlight-deletion) */
  color: #de7176;
}

[data-theme="dark"] .hljs-addition {
  /* var(--highlight-addition) */
  color: #76c490;
}

[data-theme="dark"] .hljs-emphasis {
  font-style: italic;
}

[data-theme="dark"] .hljs-strong {
  font-weight: bold;
}

[data-theme="dark"] .hljs-formula,
[data-theme="dark"] .hljs-operator,
[data-theme="dark"] .hljs-params,
[data-theme="dark"] .hljs-property,
[data-theme="dark"] .hljs-punctuation,
[data-theme="dark"] .hljs-tag {
  /* purposely ignored */
  text-decoration: none;
}


[data-theme="dark"] .text-black-50 {
  color: #6e767d !important;
}
[data-theme="dark"] .entry-content.text-black-50 {
  color: #c3c3c3 !important;
}
[data-theme="dark"]  .card {
  background-color: #202739;
}

[data-theme="dark"] .counter .text-danger {
  color: #fafafa !important;
}
[data-theme="dark"] .bg-primary,
[data-theme="dark"] .dropdown-menu {
  background-color: #202739 !important;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
  color: #fafafa;
  background-color: #1d2333;
}

[data-theme="dark"] #thumbnail-slider .splide__slide {
	color: #fafafa;
}

[data-theme="dark"] #thumbnail-slider .splide__slide.is-active {
	color: #fafafa !important;
}

[data-theme="dark"] .bg-pro {
  background-image: linear-gradient(to right, #161b28, #0f0f0f, #131313, #171717, #1a1a1a, #1a1a1a, #1a1a1a, #1a1a1a, #171717, #131313, #0f0f0f, #161b28);
}

[data-theme="dark"] .children .splide__arrow {
  background-color: #fafafa;
}

[data-theme="dark"] .children .splide__arrow svg {
  fill: #161b28;
}

[data-theme="dark"] h1{
	color:#fafafa !important; /* fallback */
}

[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] strong,
[data-theme="dark"] b {
  color:#fafafa !important; /* fallback */
}

/*Custom links */
[data-theme="dark"] h2 a,
[data-theme="dark"] h3 a,
[data-theme="dark"] h4 a,
[data-theme="dark"] .nav-title,
[data-theme="dark"] h2 a:visited,
[data-theme="dark"] h3 a:visited,
[data-theme="dark"] h4 a:visited,
[data-theme="dark"] a,
[data-theme="dark"] a:visited {
    color: #fafafa !important;
}

[data-theme="dark"] h2 a:hover,
[data-theme="dark"] h3 a:hover,
[data-theme="dark"] h4 a:hover,
[data-theme="dark"] .nav-title:hover,
[data-theme="dark"] a:hover,
[data-theme="dark"] a:focus,
[data-theme="dark"] a:active {
  color: #dedede !important;
}
[data-theme="dark"] a.terms {
  color: #8ecd8f !important;
}
[data-theme="dark"] blockquote {
	background-color: #202739;
}

[data-theme="dark"] .comments-area .reply a{
  border: 1px solid #8ecd8f !important;
  background-color: #8ecd8f !important;
}
[data-theme="dark"] .comments-area .reply a:hover{
  color: #ffffff !important;
  border: 1px solid #40d04f !important;
  background-color: #40d04f !important;
}

[data-theme="dark"] #cancel-comment-reply-link{
  background-color: #8ecd8f;
  color: #ffffff !important;
}

[data-theme="dark"] .bg-black {
  background-color: #fafafa !important;
}

[data-theme="dark"] .bg-dark {
  background-color: #1d2333 !important;
}

[data-theme="dark"] .bg-light {
  background-color: #202739 !important;
}

[data-theme="dark"] .bg-white {
  background-color: #1d2333 !important;
}

[data-theme="dark"] .text-dark {
	color: #fafafa !important;
}
[data-theme="dark"] .offcanvas-header .btn-close {
  color: #fafafa !important;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fafafa'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}
[data-theme="dark"] .offcanvas-header .btn-close:hover {
  color: #fafafa !important;
}
[data-theme="dark"] .offcanvas-body .dropdown-divider {
  opacity: .25 !important;
}
[data-theme="dark"] .btn {
	text-decoration: none !important;
}
[data-theme="dark"] .btn-light,
[data-theme="dark"] .btn-white,
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-warning,
[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-success {
	background-color: #202739 !important;
	border-color: #202739 !important;
	color: #fafafa !important;
}
[data-theme="dark"] .btn-dark {
	color: #000 !important;
}

/* 
[data-theme="dark"] .btn-toggle {
	color: #fafafa !important;
} */

[data-theme="dark"] .navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="dark"] .card,
[data-theme="dark"] .border,
[data-theme="dark"] .border.sticky,
[data-theme="dark"] .border-bottom,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-start,
[data-theme="dark"] .border-end,
[data-theme="dark"] .widget-toc ul li:not(:last-child){
    border-color: #484e5d !important;
}

[data-theme="dark"] .mysearch .form-control  {
  border-color: #484e5d !important;
  background-color: #202739 !important;
}

[data-theme="dark"] .shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.20) !important;
}

[data-theme="dark"] .shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] .shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.30) !important;
}

/* CUSTOM FOR GENERATEBLOCK */
[data-theme="dark"] .gb-container,
[data-theme="dark"] .gb-container .gb-grid-column .gb-container{
	border-color: #484e5d !important;
}
[data-theme="dark"] .gb-icon svg path {
	fill: #fafafa !important;
}
[data-theme="dark"] .gb-button-text {
	color: #a0a0a0 !important;
}
[data-theme="dark"] .gb-button-text:hover {
	color: #fafafa !important;
}
[data-theme="dark"] .gb-button {
	background-color: #343434 !important;
	border-color: #343434 !important;
}
[data-theme="dark"] .gb-button:hover {
	background-color: #575757 !important;
	border-color: #575757 !important;
}
/* ACCORDION */
[data-theme="dark"] .accordion-button {
	color: #ccced1;
 }
 [data-theme="dark"] .accordion-button:not(.collapsed) {
	color: #fafafa;
  }
[data-theme="dark"] .accordion-item {
  background-color: transparent;
  }
[data-theme="dark"] .accordion-button:not(.collapsed)::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b0b0b0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
color: #fafafa;
}
[data-theme="dark"] .accordion-button::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fafafa'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
color: #fafafa;
}
/* RESET DEFAULT */
[data-theme="dark"] input[type="button"],
[data-theme="dark"] input[type="reset"],
[data-theme="dark"] input[type="submit"] {
	border-color: #d8d8d8;
	background: #d7dadc;
	color: #1a1a1b;
}

[data-theme="dark"] input[type="button"]:hover,
[data-theme="dark"] input[type="reset"]:hover,
[data-theme="dark"] input[type="submit"]:hover {
	border-color: #d7dadc;
}

[data-theme="dark"] input[type="button"]:active,
[data-theme="dark"] input[type="button"]:focus,
[data-theme="dark"] input[type="reset"]:active,
[data-theme="dark"] input[type="reset"]:focus,
[data-theme="dark"] input[type="submit"]:active,
[data-theme="dark"] input[type="submit"]:focus {
	border-color: #d7dadc;
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="url"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="search"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="range"],
[data-theme="dark"] input[type="date"],
[data-theme="dark"] input[type="month"],
[data-theme="dark"] input[type="week"],
[data-theme="dark"] input[type="time"],
[data-theme="dark"] input[type="datetime"],
[data-theme="dark"] input[type="datetime-local"],
[data-theme="dark"] input[type="color"],
[data-theme="dark"] textarea {
	border: 1px solid #484e5d;
	background-color: #202739;
}

[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] input[type="url"]:focus,
[data-theme="dark"] input[type="password"]:focus,
[data-theme="dark"] input[type="search"]:focus,
[data-theme="dark"] input[type="number"]:focus,
[data-theme="dark"] input[type="tel"]:focus,
[data-theme="dark"] input[type="range"]:focus,
[data-theme="dark"] input[type="date"]:focus,
[data-theme="dark"] input[type="month"]:focus,
[data-theme="dark"] input[type="week"]:focus,
[data-theme="dark"] input[type="time"]:focus,
[data-theme="dark"] input[type="datetime"]:focus,
[data-theme="dark"] input[type="datetime-local"]:focus,
[data-theme="dark"] input[type="color"]:focus,
[data-theme="dark"] textarea:focus {
	color: #fafafa !important;
	background-color: #1d2333 !important;
}
/**
* END
*/
[data-theme="dark"] .logo-arrow {
  color: #000;
}

[data-theme="dark"] .footer {
  background-color: #202739;
}

[data-theme="dark"] .splash .bg-white {
  background-color: #202739 !important;
}

[data-theme="dark"] .footer a,
[data-theme="dark"] .widget a,
[data-theme="dark"] .footer a:visited,
[data-theme="dark"] .widget a:visited {
  color: #fafafa !important;
}
[data-theme="dark"] .footer a:hover,
[data-theme="dark"] .widget a:hover {
  color: #8ecd8f !important;
}

[data-theme="dark"] .tag-links a{
	border: 1px solid #484e5d;
}
[data-theme="dark"] .widget.widget-page ul li {
	border-top: 1px solid #202739;
}

[data-theme="dark"] h2.widget-title-border:before,
[data-theme="dark"] h2.widget-title-border-related:before{
	background-color:#161b28;
	color:#161b28;
}
[data-theme="dark"] h2.widget-title-border:after,
[data-theme="dark"] h2.widget-title-border-related:after{
	background-color:#484e5d;
}
[data-theme="dark"] h2.widget-title-border span,
[data-theme="dark"] h2.widget-title-border-related span { 
	background:#161b28;
}
[data-theme="dark"] .table {
  color: #ccced1;
}