﻿/* 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;
}

.checkbox-checked {
  background-color: #1b6ec2;
}

.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;
}

/* tk font size on all pages */
h1 {
    font-size: 20px;
    font-family: Calibri;
    color: dodgerblue;
}

h2 {
    font-size: 18px;
    font-family: Calibri;
    color: dodgerblue;
}

h3 {
    font-size: 17px;
    font-family: Calibri;
    color: dodgerblue;
}

h4 {
    font-size: 16px;
    font-family: Calibri;
    color: dodgerblue;
}

h5 {
    font-size: 15px;
    font-family: Calibri;
    color: dodgerblue;
}

h6 {
    font-size: 14px;
    font-family: Calibri;
    color: dodgerblue;
}

figure {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 40px;
    margin-right: 40px;
}

    body, button, input, select, textarea {
    font-size: 14px;
    font-family: Calibri;
}

/* 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;
    font-family: Arial, Helvetica, sans-serif;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/****  new from tk  ****/
button.btn-primary {
    padding: 5px;
    box-shadow: 0 0 5px 0 #e5e5e5;
}

button.btn-secondary {
    padding: 5px;
    box-shadow: 0 0 5px 0 #e5e5e5;
}

img#center-img {
    display: block;
    margin: auto;
}

mpheader {
    background-color: #666;
    padding: 30px;
    text-align: center;
    font-size: 35px;
    color: white;
}

mppic60 {
    float: left;
    width: 60%;
    background: #ccc;
    padding: 0px;
}

mptext40 {
    float: left;
    padding: 20px;
    width: 40%;
    background-color: #f1f1f1;
    /* height: 300px; /* only for demonstration, should be removed */
}

.container-main {
    display: flex;
    flex-direction: column;
    background-color: azure
}

.container-main > div {
    background-color: #f1f1f1;
    width: 100%;
    margin: 10px;
    text-align: left;
    line-height: 20px;
    font-size: 15px;
}

mppic {
    float: left;
    height: 50%;
    width: 100%;
    background: #ccc;
    padding: 0px;
}

mptext {
    float: left;
    padding: 20px;
    height: 30%;
    width: 100%;
    background-color: #f1f1f1;
    /* height: 300px; /* only for demonstration, should be removed */
}

img {
    max-width: 100%;
    max-height: 100%; /* drop down menue on MainPage */
}

ul.dropdown {
    margin: 30px;
    padding: 0;
    color: aliceblue;
    background-color: snow;
    display: table-column-group;
    width: auto;
    list-style-type: none;
    box-shadow: 0 0 5px 0 #e5e5e5;
    margin-top: 2vh;
}

/* list element of dropdown*/
ul.dropdown li {
    display: inline-block;
    padding: 5px 5px;
    line-height: 22px;
    border-radius: 5px;
    background-color: darkgrey;
    border-bottom: 2px solid #ccc;
}

/* this is for dropdown-menu */
div.dropdown-menu {
    display: none;
    position: absolute;
    background-color: lightgray;
    width: auto;
}

div.dropdown-menu a {
    display: block;
    color: dodgerblue;
    background-color: whitesmoke;
    line-height: 22px;
    padding: 5px 5px;
    width: auto;
}

.dropdown-menu a:hover {
    background-color: powderblue;
}


#MyDayCalendarTable {
    border-style: inset;
    border-color: lightgrey;
    border-width: 1px
}

#MyDayCalendarTable td {
    border-style: inset;
    border-color: lightgrey;
    border-width: 1px;
    padding: 1px;
}

.CellWithComment {
    position: relative;
}

.CellComment {
    display: none;
    position: absolute;
    z-index: 150;
    border: 1px;
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: blue;
    padding: 3px;
    color: dodgerblue;
    top: -20px;
    left: 20px;
    width: max-content;
}

.CellWithComment:hover span.CellComment {
    display: block;
}

#MyWeekCalendarTable {
    border-style: inset;
    border-color: lightgrey;
    border-width: 1px
}

#MyWeekCalendarTable td {
    border-style: inset;
    border-color: lightgrey;
    border-width: 1px;
    padding: 1px;
}

.CellWithComment {
    position: relative;
}

.CellComment {
    display: none;
    position: absolute;
    z-index: 150;
    border: 1px;
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: blue;
    padding: 3px;
    color: dodgerblue;
    top: -20px;
    left: 20px;
    width: max-content;
}

.CellWithComment:hover span.CellComment {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #ffffff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }