﻿/* 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;
}

.btn-transparent {
    color: #000;
    background-color: transparent;
    border: none;
}

.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 */
}

.table td, .table th {
    vertical-align: middle;
}

.admin th:first-child, .admin td:first-child {
    width: 40%;
}

.general th:first-child, .general td:first-child {
    width: 12%;
}

.general td:first-child {
    font-weight: bold;
    color: #FFF;
}


.general th:nth-child(2), .general td:nth-child(2) {
    width: 50%;
}

.general th:nth-child(3), .general td:nth-child(3) {
    width: 16%;
}

.general td:nth-child(2) button {
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #bc0039;
    color: #000;
    border-radius: 0;
}

.general td:nth-child(2) button:hover {
    background-color: #98fb98;
    border-bottom: none;
    color: #FFFFFF;
    border-radius: 4px;
}

.admin td:nth-child(1) button {
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #bc0039;
    color: #000;
    border-radius: 0;
}

.admin td:nth-child(1) button:hover {
    background-color: #98fb98;
    border-bottom: none;
    color: #FFFFFF;
    border-radius: 4px;
}

.newTag {
    position: relative;
    display: inline-block;
    padding: 7px 36px 9px 16px;
    border-radius: 28px;
    background: #bc0039;
}

.newTag::before, .newTag::after {
    content: "";
    display: block;
    position: absolute;
}

.newTag::before {
    width: 18px;
    height: 18px;
    background: #FFF;
    border-radius: 50%;
    right: 8px;
    top: 10px;
}

.newTag::after {
    width: 7px;
    height: 7px;
    border-right: 2px solid #bc0039;
    border-top: 2px solid #bc0039;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 15px;
    top: 15px;
}


ul.menu, ul.sub {
    list-style-type: none;
    margin: 0;
    padding: 0;
    
    height: 40px;
}

    ul.menu li {
        min-width: 160px;
        position: relative;
    }

    ul.menu li a {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
        position: relative;
    }

        ul.menu li a:hover {
            background-color: #EEEEEE;
            border-bottom: 1px solid #333333;
        }

    ul.menu li ul.sub {
        position: absolute;
        right: 0;
        top: 40px;
    }

ul.sub li button {
    min-width: 160px;
    height: 40px;
    background-color: #EEEEEE;
    text-align: left;
    border-radius: 0;
    border-bottom: 1px solid #EEEEEE;
}

ul.sub li button:hover {
    border-bottom: 1px solid #333333;
}
