﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.modal {
    color: black;
}

.tooltip {
    z-index: 7000;
}

.error {
    color: #dc3545;
}

td.actions {
    width: 50px;
    text-align: center;
}

td.actions .dropdown > button {
    width: 100%;
    height: 100%;
}

.maximized {
    height: 100% !important;
    width: 100% !important;
    position: fixed !important;
    left: 0;
    top: 0;
    z-index: 5000;
    background-color: var(--theme-background-color) !important;
}

.sidebar-right {
    height: 100% !important;
    width: 25% !important;
    position: fixed !important;
    right: 0;
    z-index: 1024;
    min-width: 200px;
    overflow: auto;
}

.tutorial-arrow {
    z-index: 1040;
    position: absolute;
    bottom: -2.75rem;
    color: #28a745;
}

.sidebar-right .support-item-header {
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

img {
    max-width: 100%;
}

label:not(.custom-control-label) {
    font-weight: 600;
}

.cursor-pointer {
    cursor: pointer;
}

.image-container {
    position: relative;
}

.caption-bottom {
    background-color: rgba(0, 0, 0, 0.50);
    padding: 1.25rem;
    position: absolute;
    bottom: 0%;
    font-size: 18px;
    width:100%;
}

.caption-small {
    padding: 0.25rem !important;
}

.pulse {
    transition: all 0.5s ease-in;
}

.pulse {
    animation: pulse 1s infinite alternate-reverse;
    transform: scaleX(-1) scaleY(1) rotate(270deg);
}

@keyframes pulse {
    0% {
        transform: scaleX(-1) scaleY(1) rotate(270deg);
        opacity: 0.5;
    }
    100% {
        transform: scaleX(-1.5) scaleY(1.5) rotate(270deg);
    }
}


.text-theme {
    color: var(--theme-text-color);
}

.text-yt {
    color: red !important;
}

.text-twitch {
    color: rgb(145, 71, 255) !important;
}

.text-rss {
    color: rgb(250, 123, 50) !important;
}

.text-html5 {
    color: rgb(228, 77, 38) !important;
}

.text-discord {
    color: rgb(93, 117, 197) !important;
}

.text-reddit {
    color: rgb(255, 69, 0) !important;
}

.text-twitter {
    color: rgb(29, 161, 242) !important;
}

.text-weather {
    color: rgb(246, 148, 28) !important;
}

.text-stocks {
    color: rgb(35, 200, 11) !important;
}

.text-google {
    color: rgb(91, 168, 83) !important;
}

#app-search-results {
    top: 100%;
    min-width: 100%;
    border-radius: .2rem;
    max-width: 70vw;
    color: black;
    z-index: 10000;
    overflow: auto;
    white-space: nowrap;
    border: 1px solid black;
    max-height: 60vh;
}

#app-search-results .app-search-results-page {
    text-decoration: none;
    color: black;
    padding: 2px;
}

#app-search-results .app-search-results-page a {
    text-decoration: none;
    color: black;
}

#app-search-results .app-search-results-page:hover {
    background-color: #212529;
    color: white;
}

#app-search-results .app-search-results-page:hover a {
    color: white;
}

.template-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 25px;
    column-gap: 5%;
    text-align: center;
}

.template-button {
    background-color: transparent;
    color: var(--theme-text-color);
}

.template-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
}