﻿/* 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;*/
    background-color: #28b7ff;
    border-color: #28b7ff;
}

.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 */
}

.control-label {
    font-weight: 500;
}

/* Tool Tip styles
-------------------------------------------------- */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
    }

    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

/* Tool Tip styles
-------------------------------------------------- */
[data-toggle="collapse"] .fa:before {
    content: "\f139";
    font-size: 2em;
}

[data-toggle="collapse"].collapsed .fa:before {
    content: "\f13a";
    font-size: 2em;
}


/* Form Validation styles
-------------------------------------------------- */
form .error {
    color: #ff0000
}

/* Speech Bubble styles
Source: https://www.natashatherobot.com/speech-bubble-css/
-------------------------------------------------- */
.speech-bubble {
    font-weight: bold;
    font-size: x-large;
    height: 200px;
    width: 200px;
    background: white;
    position: relative;
    color: #004086;
    cursor: pointer;
    border: 23px solid #28b7ff;
    border-radius: 100px;
}

.speech-bubble:before {
    content: "";
    position: absolute;
    outline: white;
    top: 102%;
    left: 44%;
    height: 60px;
    width: 60px;
    box-sizing: border-box;
    transform: rotate(45deg) translate(-50%);
    border-bottom: inherit;
    border-right: inherit;
    box-shadow: inherit;
}

.centered {
    display: flex; /*https://stackoverflow.com/questions/5703552/how-can-i-center-text-horizontally-and-vertically-inside-a-div-block*/
    justify-content: center;
    align-items: center;
}