﻿/* 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;
}

/* 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%;
}

html,
body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: normal;
}

/* custom background colours */
.ts-bg-secondary {
    background-color: #f9a240;
}

a.ts-bg-secondary:hover, a.ts-bg-secondary:focus,
button.ts-bg-secondary:hover,
button.ts-bg-secondary:focus {
    background-color: #545b62;
}

.ts-text-primary {
    color: #f9a240;
}

html,
body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
}

header {
    min-height: 60px;
}

footer {
    min-height: 45px;
}

/* Dialog Box Styles 
-------------------------------------------------- */

/* Effect Blur for dialog box*/
.blur-effect {
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    filter: blur(3px);
}
/* Outer background colour for dialog box*/
.modal-backdrop.show {
    background-color: black;
}

/* Remove right padding to the body caused by boostrap 4 when modal is displayed */
.fixModal {
    padding-right: 0 !important;
}

/* Make the default dialog box width bigger */
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 610px;
        margin: 1.75rem auto;
    }
}

/* -----------------------------------------------------------------------------------
    Jquery Selectable functionality creates a div with class ui-selectable-helper.
    When the view is scrollable, this class generates unwanted space.
----------------------------------------------------------------------------------- */
.ui-selectable-helper {
    /* Remove unwanted space generated by this div when dragging the cursor for selection */
    display: none;
}


/* ---------------------------------------------------------------------------------
    Nav bar hover effect on items
--------------------------------------------------------------------------------- */
.navbar-dark .navbar-nav .nav-item:hover, .navbar-dark .navbar-nav .nav-item:hover {
    background-color: rgba(0,0,0,0.1);
}

/* spinner */
.ts-loading {
    z-index: 999999;
    position: fixed;
    top: calc(50vh - 1.5rem);
    left: calc(50vw - 1.5rem);
    width: 3rem;
    height: 3rem;
    border: .35em solid currentColor;
    border-right-color: transparent;
}

/* remove default style from validation summary errors */
.validation-summary-errors ul {
    padding-left: 0;
    list-style: none;
}

.ts-fade {
    opacity: 0;
    cursor: default;
}

.ts-cursor-pointer-highlight {
    cursor: pointer;
}

.ts-cursor-pointer-highlight:hover, .ts-cursor-pointer-highlight:focus, .ts-cursor-pointer-highlight:active {
    opacity: 40%;
}

.ts-cursor-pointer {
    cursor: pointer;
}

.ts-trophy-gold {
    color: gold;
}

.ts-trophy-silver {
    color: silver;
}

.ts-trophy-bronze {
    color: saddlebrown;
}

.ts-leaderboard-person {
    background-color: #eaecef;
    border-radius: 25px;
}

.ts-leaderboard {
    height: 290px;
}

.ts-leaderboard-dates {
    font-size: 80%;
    font-weight: 400;
}

.disable-div {
    opacity: .5;
}

.ts-rota-scroll {
    overflow-y: auto;
    height: 65vh;
}

@media (min-width: 992px) {
    .ts-rota-scroll {
        overflow-y: auto;
        height: 76vh;
    }
}

.pulse {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    transform: scale(1);
    animation: pulse 1s ease;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
}

.ts-cursor-no-drop {
    cursor: no-drop !important;
}

.ts-cursor-pointer {
    cursor: pointer;
}

.ts-ghost {
    opacity: 20%;
}

.ts-rota-ghost {
    opacity: 50%;
}

.tiny-circle {
    width: 8px;
    height: 8px;
    margin-right: 1px;
    margin-left: 1px;
    border-radius: 50% !important;
}

.medium-circle {
    width: 12px;
    height: 12px;
    margin-right: 1px;
    margin-left: 1px;
    border-radius: 50% !important;
}

.large-circle {
    width: 12px;
    height: 12px;
    margin-right: 1px;
    margin-left: 1px;
    border-radius: 50% !important;
}

/*Overriden select2 width, normal behavor is causing problems*/
span.select2.select2-container.select2-container--default {
    width: 100% !important;
}

.sm-avatar {
    width: 32px;
    height: 32px;
    line-height: 30px;
    border-radius: 50%;
    border: 1px solid white;
    color: white;
}

/** ### OVERRIDES - BOOTSTRAP */
@media (max-width: 360px) {
    .ts-rota-scroll .col {
        padding-left: 5px;
        padding-right: 5px;
    }
}

