
footer {
    display: block;
    line-height: 1.0;
    font-size: 80%;
}

.box100 {
    padding: 1rem 1rem;
    border-radius: 10px 10px;
    color:rgb(200,200,200);
    height:100%
}


.bg-navbar {
/*
    background: rgb(70,70,255);
*/
    background: linear-gradient(35deg, rgb(28, 99, 183) 90%, limegreen);
    background: rgb(28, 99, 183);
}

.bg-footer {
/*
    background: rgb(70,70,255);
*/
    background: linear-gradient(35deg, rgb(28, 99, 183) 90%, limegreen);
    background: rgb(28, 99, 183);
}


.colour-1 {
  background: rgb(72,60,70);
  color: #fff;
}

.colour-2,
.colour-2 a {
  background: rgb(60,110,113);
  color: #fff;
}


.colour-4 {
  background: rgb(130,32,74);
}

.colour-5 {
  background: rgb(85,140,140);
}

.colour-6 {
  background: rgb(145,124,120);
}

.colour-gray-220 {
    background-color: rgb(220,220,220);
    color: rgb(0,0,0)
}

.colour-gray-245 {
    background-color: rgb(245,245,245);
    color: rgb(0,0,0)
}

.justify {
    text-align: justify
}

.help-block {
    color:rgb(100,100,100);
    font-size:80%;
}

/*===========================================================================
multi column div
see http://www.w3schools.com/css/css3_multiple_columns.asp
===========================================================================*/

div.multicol2 {
    -webkit-column-count: 2;    /* Chrome, Safari, Opera */
    -moz-column-count: 2;       /* Firefox */
    column-count: 2;
    -webkit-column-gap: 50px;   /* Chrome, Safari, Opera */
    -moz-column-gap: 50px;      /* Firefox */
    column-gap: 50px;
}

div.multicol3 {
    -webkit-column-count: 3;    /* Chrome, Safari, Opera */
    -moz-column-count: 3;       /* Firefox */
    column-count: 3;
    -webkit-column-gap: 40px;   /* Chrome, Safari, Opera */
    -moz-column-gap: 40px;      /* Firefox */
    column-gap: 40px;
}


/*===========================================================================
adapt navbar layout
===========================================================================*/
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.99);
}

.nav-link {
    padding: 0px;
}


/*===========================================================================
adapt tab bar layout
===========================================================================*/
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-item .nav-link{
    border-top-left-radius: .8rem;
    border-top-right-radius: .8rem;
    background-color:rgba(222, 226,230,0.2);
    color:black;
}

.nav-tabs .nav-item .nav-link.active {
    colorb:red;
    background-color:rgb(222, 226, 230);
    font-weight: 900;
}





.word-break-all {
/*
    word-break: break-word;
*/
    word-wrap: break-word;
}



/*===========================================================================
sticky footer
https://media.kulturbanause.de/2017/04/responsive-sticky-footer-flexbox.html
===========================================================================*/
html, body {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
}

main {
    flex: 1;
}



/*===========================================================================
fractions in html
https://stackoverflow.com/questions/7525977/how-to-write-fraction-value-using-html
===========================================================================*/


.fraction {
  display: inline-block;
/*
  font-size: 1.2em;
*/
  padding: 0 0.05em;
  text-align: left;
  vertical-align: middle;
}

.fraction::before {
/*
    border-bottom: 1px solid #000;
*/
    content: attr(top);
    display: block;
    line-height: 1em;
/*
    padding: 0 0.2em;
*/
}
.fraction::after {
    content: attr(bottom);
    display: block;
    line-height: 1em;
/*
    padding: 0 0.2em;
*/
}

/*
<div class="fraction small" top="Observation" bottom="Calendar"></div>
*/


.text-tiny {
  font-size: 75%;
}

.text-small {
  font-size: 90%;
}



/*===========================================================================
align material icons vertical: https://stackoverflow.com/questions/56171473/different-material-icons-styles-do-not-align
===========================================================================*/
i.material-icons, i.material-icons-outlined {
  vertical-align: middle;
  position: relative;
/*
  top: -1px;
*/
}
.material-icons.md-36 { font-size: 36px; }




/*===========================================================================
add purple button
===========================================================================*/
.btn-purple {
  color: #fff;
  background-color: rgb(148,0,211);
  border-color: rgba(148,0,211,.5);
}

.btn-purple:hover {
  color: #fff;
  background-color: rgb(130,0,200);
  border-color: rgba(148,0,211,.5);
}

.btn-purple:focus, .btn-purple.focus {
  box-shadow: 0 0 0 0.2rem rgba(148,0,211,.5);
}

.btn-primary.disabled, .btn-primary:disabled {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

/* TODO */
.btn-purple:not(:disabled):not(.disabled):active, .btn-purple:not(:disabled):not(.disabled).active,
.show > .btn-purple.dropdown-toggle {
  color: #fff;
  background-color: #0062cc;
  border-color: #005cbf;
}

/* TODO */
.btn-purple:not(:disabled):not(.disabled):active:focus, .btn-purple:not(:disabled):not(.disabled).active:focus,
.show > .btn-purple.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}



































.btn-outline-purple {
  color: rgb(148,0,211);
  background-color: transparent;
  background-image: none;
  border-color: rgb(148,0,211);
}

.btn-outline-purple:hover {
  color: #fff;
  background-color: rgb(148,0,211);
  border-color: rgb(148,0,211);
}

.btn-outline-purple:focus, .btn-outline-purple.focus {
  box-shadow: 0 0 0 0.2rem rgba(148,0,211,0.5);
}

/* TODO */
.btn-outline-primary.disabled, .btn-outline-primary:disabled {
  color: #007bff;
  background-color: transparent;
}
/* TODO */
.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
/* TODO */
.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}




/*===========================================================================
Layout of Range Slider http://bootsnipp.com/snippets/featured/stylish-range-selectors
===========================================================================*/
.range {
    display: table;
    position: relative;
    height: 25px;
    margin-top: 20px;
    background-color: rgb(245, 245, 245);
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.range input[type="range"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    -ms-appearance: none !important;
    -o-appearance: none !important;
    appearance: none !important;

    display: table-cell;
    width: 100%;
    background-color: transparent;
    height: 25px;
    cursor: pointer;
}
.range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    -ms-appearance: none !important;
    -o-appearance: none !important;
    appearance: none !important;

    width: 11px;
    height: 25px;
    color: rgb(255, 255, 255);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0px;
    background-color: rgb(153, 153, 153);
}

.range input[type="range"]::-moz-slider-thumb {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    -ms-appearance: none !important;
    -o-appearance: none !important;
    appearance: none !important;

    width: 11px;
    height: 25px;
    color: rgb(255, 255, 255);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0px;
    background-color: rgb(153, 153, 153);
}

.range output {
    display: table-cell;
    padding: 3px 5px 2px;
    min-width: 40px;
    color: rgb(255, 255, 255);
    background-color: rgb(153, 153, 153);
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;

    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
}
.range input[type="range"] {
    outline: none;
}

.range.range-primary input[type="range"]::-webkit-slider-thumb {
    background-color: rgb(66, 139, 202);
}
.range.range-primary input[type="range"]::-moz-slider-thumb {
    background-color: rgb(66, 139, 202);
}
.range.range-primary output {
    background-color: rgb(66, 139, 202);
}
.range.range-primary input[type="range"] {
    outline-color: rgb(66, 139, 202);
}

.range.range-success input[type="range"]::-webkit-slider-thumb {
    background-color: rgb(92, 184, 92);
}
.range.range-success input[type="range"]::-moz-slider-thumb {
    background-color: rgb(92, 184, 92);
}
.range.range-success output {
    background-color: rgb(92, 184, 92);
}
.range.range-success input[type="range"] {
    outline-color: rgb(92, 184, 92);
}

.range.range-info input[type="range"]::-webkit-slider-thumb {
    background-color: rgb(91, 192, 222);
}
.range.range-info input[type="range"]::-moz-slider-thumb {
    background-color: rgb(91, 192, 222);
}
.range.range-info output {
    background-color: rgb(91, 192, 222);
}
.range.range-info input[type="range"] {
    outline-color: rgb(91, 192, 222);
}

.range.range-warning input[type="range"]::-webkit-slider-thumb {
    background-color: rgb(240, 173, 78);
}
.range.range-warning input[type="range"]::-moz-slider-thumb {
    background-color: rgb(240, 173, 78);
}
.range.range-warning output {
    background-color: rgb(240, 173, 78);
}
.range.range-warning input[type="range"] {
    outline-color: rgb(240, 173, 78);
}

.range.range-danger input[type="range"]::-webkit-slider-thumb {
    background-color: rgb(217, 83, 79);
}
.range.range-danger input[type="range"]::-moz-slider-thumb {
    background-color: rgb(217, 83, 79);
}
.range.range-danger output {
    background-color: rgb(217, 83, 79);
}
.range.range-danger input[type="range"] {
    outline-color: rgb(217, 83, 79);
}


.form-control::placeholder {
    color: rgb(0,0,0);
    opacity: 0.35;
}



/*===========================================================================
Breadcrumps navigation, example
<div id="crumbs">
    <ul>
        <li class="current2"><div>IIII</div></li>
        <li ><div><a>link</a></div></li>
        <li class="current"><div>no link</div></li>
    </ul>
</div>
===========================================================================*/


#crumbs {
    text-align: center;
}

#crumbs ul {
    list-style: none;
    display: inline-table;
}
#crumbs ul li {
    display: inline;
}

#crumbs ul li div {
    display: block;
    float: left;
    height: 30px; /*50 12*/
    background: rgb(151,151,151);
    text-align: center;
    padding: 3px 20px 0 30px;/*  first is related to height, second fourth are left right padding*/
    position: relative;
    margin: 0 10px 0 0; /* see exception in #crumbs ul li:last-child div */

    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    top: 0px
}

#crumbs ul li:last-child div
{
    margin: 0 0px 0 0;
}

#crumbs ul li div,
#crumbs ul li div a
{
    color: #fff;
    text-decoration: none;
}

#crumbs ul li div:after {
    content: "";
    /* without bootstrap
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    */
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid rgb(151,151,151);
    position: absolute; right: -15px;
    top: 0px;
    z-index: 1;
}

#crumbs ul li div:before {
    content: "";
    /* without bootstrap
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    */
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;

    /* used bg-color here */
    border-left: 15px solid rgb(255,255,255);
    position: absolute; left: 0;
    top:  0px;
}

#crumbs ul li:first-child div {
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}
#crumbs ul li:first-child div:before
{
    display: none;
}

#crumbs ul li:last-child div
{
    padding-right: 20px; /* padding rigth of last li div 80px original*/
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}
#crumbs ul li:last-child div:after
{
    display: none;
}

#crumbs ul li div:hover,
#crumbs ul li.current div:hover
{
    background: rgb(28, 99, 183);
}

#crumbs ul li div:hover:after,
#crumbs ul li.current div:hover:after {
    border-left-color: rgb(28, 99, 183);
}


#crumbs ul li.current div
{
    background: rgb(99,99,99);
}

#crumbs ul li.current div:after
{
    content: "";
    /* without bootstrap
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    */
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid rgb(99,99,99);
    position: absolute; right: -15px;
    top: 0px;
    z-index: 1;
}

#crumbs .current span.dropdown-menu{
    background-color: rgb(100,100,100);
}


#crumbs span.dropdown-menu{
    background-color: rgb(150,150,150);
}

#crumbs .dropdown-item {
  padding: 0.15rem 0.5rem;
  font-size: 0.8rem;
}

#crumbs .dropdown-item:hover {
  color: black;
}

/*===========================================================================
card for alert to switch polly picasso
===========================================================================*/
.card2 {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 2px solid rgba(255, 0, 0, 0.8);
  border-radius: 0.35rem;
}

.card-body2 {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0.5rem;
}

/*===========================================================================
card with reduced margin
===========================================================================*/

.card-body3 {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0.75rem;
}
.card-header3 {
  padding: 0.5rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}


/* formatting for all occurences of "none"/"unspecified"/... */
.unspecified {
    color: #A4A4A4;
    font-style: italic;
}
