﻿/* Links styles
-------------------------------------------------- */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a { color: rgba(0, 0, 0, 255); }

.active_a { color: #a02222 }

a:hover {
    color: darkred;
    text-decoration: underline;
}

/* Button styles
-------------------------------------------------- */

.btn-primary {
    color: #fff;
    background-color: #a02222;
    border-color: darkred;
}

.btn-primary:hover {
    background-color: darkred;
    border-color: darkred;
}

.btn-primary:focus, .btn-primary.focus { box-shadow: 0 0 0 0.1rem rgba(139, 0, 0, 255); }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: darkred;
    border-color: darkred;
}

.control_button {
    margin-bottom: 3px;
    min-width: 135px;
}

/* Table styles
-------------------------------------------------- */

.table-bordered th,
.table-bordered td {
    border: 1px solid rgba(190, 190, 190, 255);
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid rgba(190, 190, 190, 255);
}

th { white-space: nowrap }

.multiline {
    white-space: pre-line;
}

/* hr styles
-------------------------------------------------- */

.hr { background: darkgrey }

/* 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;
    /* background: lightgray; */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    background-color: #FFF;
}

/* Dropdown styles
------------------------------------------------------- */

.my_dropdown {
    float: left;
    overflow: hidden;
}

.nav_btn :hover { background-color: #ddd; }

.my_dropdown .my_dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: black;
    min-width: 70px;
    padding: 8px;
    background-color: inherit;
    font-family: inherit;
    text-align: left;
    margin: 0;
}

.my_dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    padding: 8px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.my_dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.my_dropdown-content a:hover { background-color: #ddd; }

.my_dropdown:hover .my_dropdown-content { display: block; }

/* File upload styles 
------------------------------------------------------- */

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label {
    display: inline-block;
    cursor: pointer;
}

.inputfile:focus + label,
.inputfile + label:hover {
    color: darkred;
    text-decoration: underline;
}

/* main styles 
------------------------------------------------------- */

main {
    background-color: rgba(211, 211, 211, .97);
    padding: 15px
}