﻿/* 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%;
}

body {
    /* Margin bottom by footer height */
    /* margin-bottom: 60px; */
}
.footer {
  /* position: absolute;
  bottom: 0; */
  width: 100%;
  white-space: nowrap;
  line-height: 40px; /* Vertically center the text there */
}

.table-responsive-stack tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}


.table-responsive-stack td,
.table-responsive-stack th {
    display: block;
    /*      
   flex-grow | flex-shrink | flex-basis   */
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.table-responsive-stack .table-responsive-stack-thead {
    font-weight: bold;
}

@media screen and (max-width: 990px) {
    .table-responsive-stack tr {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        border-bottom: 3px solid #ccc;
        display: block;
    }
    /*  IE9 FIX   */
    .table-responsive-stack td {
        float: left\9;
        width: 100%;
    }
}

.badge {
    height: auto !important;
    width: auto !important;
}

.ui-effects-wrapper {
    display: inline;
}

.note-top-border {
    border-top: 1px;
    border-color: black;
    margin-top: 10px;
    border-style: solid;
    border-left-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    font-style: italic;
    color: slategrey;
    text-align: justify;
}

/* --text area resizing-- */
/* https://css-tricks.com/the-cleanest-trick-for-autogrowing-textareas */
.grow-wrap {
    /* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
    display: grid;
}

.grow-wrap::after {
    /* Note the weird space! Needed to preventy jumpy behavior */
    content: attr(data-replicated-value) " ";
    /* This is how textarea text behaves */
    white-space: pre-wrap;
    /* Hidden from view, clicks, and screen readers */
    visibility: hidden;
}

.grow-wrap > textarea {
    /* You could leave this, but after a user resizes, then it ruins the auto sizing */
    resize: none;
    /* Firefox shows scrollbar on growth, you can hide like this. */
    overflow: hidden;
}

.grow-wrap > textarea,
.grow-wrap::after {
    /* Identical styling required!! */
    border: 1px solid black;
    padding: 0.5rem;
    font: inherit;
    /* Place on top of each other */
    grid-area: 1 / 1 / 2 / 2;
}

/* -- */

form-control-collection {

    height: fit-content;
}

@media screen and (max-width: 575px) {
    .buttoncard-container {
        text-align: center;
        width: 100%;
    }
    .buttoncard-button {
        margin-top: 10px;
        margin-bottom: 10px;
        width: 100%;
    }
    .buttoncard-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        height: 100%;
    }
    .buttoncard-icon {
        margin-right: 5%;
        min-width: 30%;
        text-align-last: left;
    }
    .buttoncard-text {
    }
}

@media screen and (min-width: 576px) {
    .buttoncard-container {
        text-align: center;
        width: 650px
    }

    .buttoncard-button {
        margin-top: 10px;
        margin-bottom: 10px;
        width: 100%;
        height: 150px;
    }

    .buttoncard-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        height: 100%;
    }

    .buttoncard-icon {
        margin-right: 5%;
        min-width: 30%;
        text-align-last: left;
    }

    .buttoncard-text {
    }
}

/*div container
div row
div col-12 col-sm-6
div button
div content
div icon
div text*/