

.ds-deff
{
	content:url(../img/icons/unit_spear.png);
}

.ds-off
{
	content:url(../img/icons/unit_axe.png);
}
.ds_attack
{
	content:url(../img/icons/att.png);
}
.ds_attack_small
{
	content:url(../img/icons/attack_small.png);
}
.ds_attack_medium
{
	content:url(../img/icons/attack_medium.png);
}
.ds_attack_large
{
	content:url(../img/icons/attack_large.png);
}
.ds_spear
{
	content:url(../img/icons/unit_spear.png);
}
.ds_sword
{
	content:url(../img/icons/unit_sword.png);
}
.ds_axe
{
	content:url(../img/icons/unit_axe.png);
}
.ds_archer
{
	content:url(../img/icons/unit_archer.png);
}
.ds_spy
{
	content:url(../img/icons/unit_spy.png);
}
.ds_light
{
	content:url(../img/icons/unit_light.png);
}
.ds_heavy
{
	content:url(../img/icons/unit_heavy.png);
}
.ds_marcher
{
	content:url(../img/icons/unit_marcher.png);
}
.ds_ram
{
	content:url(../img/icons/unit_ram.png);
}
.ds_catapult
{
	content:url(/img/icons/unit_catapult.png);
}
.ds_snob
{
	content:url(../img/icons/unit_snob.png);
}
.ds_knight
{
	content:url(../img/icons/unit_knight.png);
}


.ds-bonus-1
{
	content:url(../img/icons/bonus_1.png);
}
.ds-bonus-2
{
	content:url(../img/icons/bonus_2.png);
}
.ds-bonus-3
{
	content:url(../img/icons/bonus_3.png);
}
.ds-bonus-4
{
	content:url(../img/icons/bonus_4.png);
}
.ds-bonus-5
{
	content:url(../img/icons/bonus_5.png);
}
.ds-bonus-6
{
	content:url(../img/icons/bonus_6.png);
}
.ds-bonus-7
{
	content:url(../img/icons/bonus_7.png);
}
.ds-bonus-8
{
	content:url(../img/icons/bonus_8.png);
}
.ds-bonus-9
{
	content:url(../img/icons/bonus_9.png);
}
.ds-report
{
	content:url(../img/icons/report.png);
}
.ds_main
{
	content:url(../img/icons/building_main.png);
}
.ds_storage
{
	content:url(../img/icons/building_storage.png);
}
.ds_smith
{
	content:url(../img/icons/building_smith.png);
}
.ds_farm
{
	content:url(../img/icons/building_farm.png);
}


/* Pi-hole: A black hole for Internet advertisements
*  (c) 2017 Pi-hole, LLC (https://pi-hole.net)
*  Network-wide ad blocking via your own hardware.
*
*  This file is copyright under the latest version of the EUPL.
*  Please see LICENSE file for your rights under this license. */

.small-box {
	cursor: default;
	-webkit-user-select: none; /* Chrome/Safari */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+ */

	/* Rules below not implemented in browsers yet */
	-o-user-select: none;
	user-select: none;
}
.small-box span {
	transition-duration: 500ms;
}
.small-box span.glow {
	text-shadow: 0px 0px 5px #fff;
}
.skin-blue .list-group-item:hover {
	background: #ddd;
}
@-webkit-keyframes Pulse{
	from {color:#630030;-webkit-text-shadow:0 0 2px transparent;}
	50% {color:#e33100;-webkit-text-shadow:0 0 5px #e33100;}
	to {color:#630030;-webkit-text-shadow:0 0 2px transparent;}
}
@keyframes Pulse{
	from {color:#630030;text-shadow:0 0 2px transparent;}
	50% {color:#e33100;text-shadow:0 0 5px #e33100;}
	to {color:#630030;text-shadow:0 0 2px transparent;}
}
.lookatme {
	-webkit-animation-name: Pulse;
	animation-name: Pulse;
	-webkit-animation-duration: 2s;
	animation-duration: 2s;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
}

/* Optimize Queries-Table for small screens */
#all-queries td:nth-of-type(1),  /* Time column */
#all-queries td:nth-of-type(5) { /* Status column */
    white-space: nowrap;
}
#all-queries td:nth-of-type(3) { /* Domain column */
    min-width: 200px;
    word-break: break-all;
    white-space: pre-wrap;
}
#all-queries_info { /* Allow Info String to wrap (useful while filtering entries on small screen) */
	white-space: unset;
}
#all-queries_wrapper .pagination > li > a { /* adjust the buttons width */
    padding-left: 6px;
    padding-right: 6px;
    min-width: 34px;
    text-align: center;
}
@media screen and (max-width: 500px),
       screen and (min-width: 767px) and (max-width: 1000px) {
     /* Hide "Previous" & "Next"-Buttons in Pagination */
    #all-queries_wrapper .pagination > li.previous,
    #all-queries_wrapper .pagination > li.next {
        display: none;
    }
    #all-queries_wrapper .pagination > li:nth-of-type(2) a {
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }
    #all-queries_wrapper .pagination > li:nth-last-of-type(2) a {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }
}

.main-header>.navbar, .navbar>.sidebar-toggle {
  height: 50px;
}

#resetButton {
	color: red;
	font-weight: bold;
}

.vertical-alignment-helper {
    display: table;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.vertical-alignment-helper > .vertical-align-center {
    display: table-cell;
    vertical-align: middle;
}
.vertical-alignment-helper > .vertical-align-center > .modal-content {
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    pointer-events: all;
}

.alSpinner {
    top: 0.1em;
    left: 0.1em;
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    border: 4px solid silver;
    border-right-color: transparent;
    -webkit-animation: fa-spin 1s infinite linear;
    animation: fa-spin 1s infinite linear;
}

.extratooltipcanvas{
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#chartjs-tooltip {
    opacity: 1;
    position: absolute;
    background: rgba(0, 0, 0, .7);
    color: white;
    border-radius: 3px;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
    pointer-events: none;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.chartjs-tooltip-key {
    display: inline-block;
    width: 20px;
    height: 10px;
    margin-right: 10px;
}

.chart-legend {
    height:250px;
    overflow:auto;
}

.chart-legend ul {
    list-style-type: none;
}

.chart-legend li {
    cursor:pointer;
}

.chart-legend li span {
    display: inline-block;
    width: 20px;
    height: 12px;
    margin-right: 5px;
}

.strike {
    text-decoration: line-through !important;
}

.float-left{
    float:left;
}

.fa-paypal-icon {
    width: 18px;
    margin-left: 2px;
}

.sidebar-toggle:before {
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
}

.tooltip-inner {
    max-width: 350px !important;/* set this to your maximum fitting width */
    width: inherit !important;/* will take up least amount of space */ 
}

.toggle {
    cursor: pointer;
    display: inline-block;
  }
  
  .toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 58px;
    height: 32px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
  }
  .toggle-switch:before, .toggle-switch:after {
    content: "";
  }
  .toggle-switch:before {
    display: block;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    width: 24px;
    height: 24px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left 0.25s;
  }
  .toggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
  }
  .toggle-checkbox:checked + .toggle-switch {
    background: #56c080;
  }
  .toggle-checkbox:checked + .toggle-switch:before {
    left: 30px;
  }
  
  .toggle-checkbox {
    position: absolute;
    visibility: hidden;
  }
  
  details {
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 0.5em 0.5em 0;
    cursor: pointer; 
  }
  
  summary {
    font-weight: bold;
    margin: -0.5em -0.5em 0;
    padding: 0.5em;
    cursor: pointer; 
  }
  
  details[open] {
    padding: 0.5em;
    cursor: pointer; 
  }
  
  details[open] summary {a
    border-bottom: 1px solid #aaa;
    margin-bottom: 0.5em;
    cursor: pointer;
  }

.notification-menu-item {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  white-space: normal;
}

.notification-menu-item-unread {
  font-weight: 600;
}

.notification-menu-item-read {
  opacity: 0.75;
}

.notification-menu-text {
  flex: 1 1 auto;
}

.notification-menu-link {
  flex: 0 0 auto;
  white-space: nowrap;
}

.notification-menu-empty {
  padding: 10px;
  text-align: center;
  color: #777;
}

.notification-overlay {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2050;
  width: 320px;
  max-width: calc(100% - 3rem);
  background: rgba(24, 24, 24, 0.95);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.notification-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 193, 7, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.notification-overlay-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.notification-overlay-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.notification-overlay-item {
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-overlay-item:last-child {
  border-bottom: none;
}

.notification-overlay-item-unread {
  background: rgba(255, 193, 7, 0.15);
}

.notification-overlay-text {
  font-size: 0.95rem;
  line-height: 1.4;
}

.notification-overlay-link {
  align-self: flex-start;
  font-size: 0.85rem;
  color: #ffc107;
  text-decoration: underline;
}

.notification-overlay-link:hover,
.notification-overlay-link:focus {
  color: #ffe082;
}

.notification-overlay-hidden {
  display: none !important;
}

@media (max-width: 600px) {
  .notification-overlay {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-width: none;
  }
}
  
