body {
    font-family: Helvetica, Arial, sans-serif;
    margin: 0px;
}

label {
    font-weight: normal;
}

.box {
    float: left;
    width: 100px;
    margin: 1em;
}

/* PR  PR  PR  PR  PR  PR  PR  PR  PR  PR  PR  PR  PR  PR  PR */


.dict-button {
    border-radius: 50%;
    /* border: 1px solid gray; */
    border: 1px solid rgb(13 10 253 / 30%);
    color: rgb(13 10 253 / 70%);
    font-size: calc(1.325rem + .1vw);
    min-width: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    /* margin-right: 0.5rem;
    margin-top: 0.2rem; */
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    /* margin-top: 21px; */
}

a.dict-button {
    border: 1px solid black;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.dict-button:hover {
    background: #90b2b8;
    color: white;
}

.dict-button-parent {
    position: relative;
    z-index: 3;
}

.dict-button-article {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    background-color: #90b2b8;
    width: 280px;
    padding: 5px 10px;
}

input.bigbox { 
    height: 1.95rem; 
    width: 1.95rem;
}
input.middlebox { 
    height: 1.5rem; 
    width: 1.5rem;
}
div.middlebox { 
    max-height: 1.5rem; 
    max-width: 1.5rem;
}

.big-cbx-label {
    display: block;
    margin: 0.25rem 0;
}
.big-cbx-label .outer-div{
    display: flex;
    align-items: center;
}
.big-cbx-label .inner-div-cbx{
    width: 3rem;
    margin: 0;
    line-height: 0px;
}
.big-cbx-label .inner-div-label{
    width: 100%;
}
.big-cbx-label:hover {
    cursor: pointer;
    background-color: gainsboro;
}
        
input.custom-bigbox { 
    height: 1.5rem;
    line-height: 1.5rem;
    width: 1.5rem;
    border: 1px solid gray;
    border-radius: 0.2rem;
    padding: 0;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    background-color: gray;
}
input.custom-bigbox:placeholder-shown { 
    background-color: white;
}
input.custom-bigbox:disabled { 
    opacity: 0.35;
}

.select-from-list {
    position: relative;
}
.select-from-list .parent-from-ul {
    max-width: calc(100vw - 5rem);
    position: absolute; 
    top: 2.5rem; 
    left: 0.75rem; 
    z-index: 9; 
    background-color: #e0cee2;
}
.select-from-list li:hover{
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    color: black;
    cursor: pointer;
}
.select-from-list li{
    background-color: inherit;
}

.parent-from-ul {
    max-height: calc(100vh / 3);
    overflow-y: auto;
}
.parent-from-ul ul{
    border: 1px solid #9d81a1;
}

.border-gradient-bottom {
    background-image: linear-gradient(to bottom, transparent 0%, transparent calc(100% - 30px), #e0cee2 calc(100% - 30px), #321e35 calc(100% + 30px), transparent calc(100% + 30px), transparent 100%);
}
.border-gradient-top {
    background-image: linear-gradient(to top, transparent 0%, transparent calc(100% - 30px), #e0cee2 calc(100% - 30px), #321e35 calc(100% + 30px), transparent calc(100% + 30px), transparent 100%);
}
.border-gradient-top-and-bottom {
    background-image: linear-gradient(to top, transparent 0%, transparent calc(100% - 30px), #e0cee2 calc(100% - 30px), #321e35 calc(100% + 30px), transparent calc(100% + 30px), transparent 100%), linear-gradient(to bottom, transparent 0%, transparent calc(100% - 30px), #e0cee2 calc(100% - 30px), #321e35 calc(100% + 30px), transparent calc(100% + 30px), transparent 100%);
}

@media (min-width: 768px) {
    .hovered-line:hover {
        background-color: #e9e9e9;
    }
}
.input-file-wrapper {
    width: 100%;
    position: relative;
    margin: 2rem 0;
}
.input-file-wrapper span {
    padding: 1rem;
    border: 1px solid #e9e9e9;
}

.input-file {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.block-input-cbx-outer {
    height: calc(2.25rem + 2px); 
    width: calc(2.25rem + 2px); 
    border: 1px solid #ced4da; 
    border-top-right-radius: 0.375rem 0.375rem; 
    border-bottom-right-radius: 0.375rem 0.375rem; 
    border-left: none; 
    padding: 0.15rem;
}
.block-input-cbx-inner {
    height: 1.75rem; 
    width: 1.75rem;
}
.border-radius-right-none {
    border-top-right-radius: 0px 0px; 
    border-bottom-right-radius: 0px 0px;
}

.datepicker.form-control, .wedatepicker.form-control {
    background-image: url('/images/event_b.png');   
    background-repeat: no-repeat;
    background-position: bottom 0.2rem right 0.4rem;
    background-size: 2rem;
}

.datepicker.form-control-sm, .wedatepicker.form-control-sm {
    background-image: url('/images/event_b.png');   
    background-repeat: no-repeat;
    background-position: bottom 0.2rem right 0.4rem;
    background-size: 1.65rem;
}

.double-line-after {
    position: relative;
    margin-bottom: 2rem;
}
.double-line-after::after {
    content: '';
    position: absolute;
    left: calc(10% + 0.75rem);
    right: 10%;
    bottom: -0.75rem;
    height: 3px;
    border: none;
    border-top: 1px solid #7e7e7e;
    border-bottom: 1px solid #bfbfbf;
}
        
.label-for-required::before {
    content: '*';
    font-family: monospace;
    color: red;
    font-size: 1.2em;
    margin-left: -0.65rem;
    margin-top: -0.2rem;
}

.hovered:hover {
    background-color: #e9e9e9;
}

/* Размеры заголовков в зависимости от ширины экрана */
/* Брейкпоинты те же, что в Bootstrap */
.head-responsive {
    font-size: 16px; /* xs <576px */
}

@media (min-width: 576px) {
    .head-responsive {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .head-responsive {
        font-size: 20px;
    }
}

@media (min-width: 992px) {
    .head-responsive {
        font-size: 24px;
    }
}

@media (min-width: 1200px) {
    .head-responsive {
        font-size: 26px;
    }
}

/* Дополнительные размеры для модалки Bootstrap */
@media (min-width: 1200px) {
    .modal-xxl {
        --bs-modal-width: 1000px;
    }
}

@media (min-width: 1500px) {
    .modal-xxxl {
        --bs-modal-width: 1300px;
    }
}

/* PR END  PR END  PR END  PR END  PR END  PR END  PR END  PR END  PR END  PR END  PR END */


.clickable, .tr_clicked, .tr_step_clicked,
.td_click, .row-people, .row-survey, .pointed {
    cursor: pointer;
}
.clickable{
    opacity: 0.6;
}
.clickable:hover, .tr_step_clicked:hover, .tr_clicked:hover {
    background-color: #e4e4e4;
    opacity: 1;
}
.clickable:active {
    opacity: 0.7;
}
.td_click:hover {
    background-color: #b4b4b4;
}
.row-people-head, 
.row-people:hover, .row-survey:hover {
    background-color: #f6f6f6;
}

tr.tr-shadow:hover {
    box-shadow: inset 0 0px 18px 0px green;
}

.edited-locked {
    background-color: rgb(255, 138, 138);
    opacity: 0.5;
}

.edited {
    background-color: rgb(255, 209, 209);
}

.container-centered {
    width: 50%;
    margin: auto;
}

.container-under-navbar {
    margin-top: 50px;
}

.container-person {
    background-color: #F4F4F4;
    padding: 20px 13px;
}

.top {
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    color: #004890;
    overflow: auto;
}

.top_left {
    float: left;
    width: 150px;
}

.top_right {
    float: right;
    margin-top: 70px;
    width: calc(100% - 150px);
}
.top_center {
    margin-top: 70px;
}

.user-info {
    background-color: #4B3D3B;
    color: #fff;
    padding: 4px;
    overflow: auto;
    height: 19px;
}

.used-field {
    border: 2px solid red;
    background-color: #ffe0e0;
}

.login {
    border: 1px solid #c0c0c0;
    background-color: #fff;
    border-radius: 12px;
    margin: 10px auto 0;
    padding: 20px;
    width: 300px;
    overflow: auto;
}

.txt_login {
    width: 99%;
    margin-top: 5px;
    font-size: 20px;
}

.button_login:hover {
    background: #00A1DC none repeat scroll 0px 0px;
}

.button_login {
    width: 50%;
    float: right;
    border: 1px solid #A4A4A4;
    background: #008ec2 none repeat scroll 0px 0px;
    border-radius: 7px;
    color: #fff;
    height: 30px;
}

.login-incorrect {
    display: flex;  
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    height: 3rem;
    padding: 0 1rem;
    margin: 60px auto 0;
    color: red;
    font-weight: bold;
}

.container-peoples {
    padding-left: 0 !important;
}

.container-surveys {
    padding-left: 0 !important;
    margin-left: 150px !important;
}

.container-filter {
    width: 150px;
    height: 100%;
    position: fixed;
    top: 50px;
    bottom: 0;
    right: auto;
    left: 0;
    background-color: #f6f6f6;
}

.form-filter {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.div_reality {
    float: left;
    width: 70%;
}

.div_files {
    float: left;
    width: 29%;
}

.tr_pp_list_item {
    border: 1px solid #4B3D3B;
    cursor: pointer;
}
.tr_pp_list_item td {
    padding: 4px 0px 4px 0px;
}
.tr_pp_list_item .left {
    padding: 4px 8px 4px 8px;
}
.tr_pp_list_item:hover {
    background-color: #c0c0c0;
}

.search_wrapper {
    clear: both;
    flex-grow: 1;
}
.search_results_content {
    float: left;
    width: calc(100% - 300px);
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 40px;
    padding-left: 10px;
}
.search_right_panel {
    position: relative;
    width: 290px;
    margin-left: -300px;
    margin-top: 10px;
    float: right;
    overflow: hidden;
}
.search_right_panel_box {
    width: 100%;
}
.search_right_panel_outer {
    box-sizing: border-box;
    float: right;
    width: 290px;
    z-index: 11;
    padding: 10px;
    border: 1px solid #bbbbbb;
    background-color: #f1f1f1;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    border-radius: 3px;
}

.footer {
    clear: both;
    flex-shrink: 0;
    width: 100%;
    height: 60px;
    margin-top: 20px;
    background: transparent;
}
.footer-content {
    width: 100%;
    height: 40px;
    background-color: #465872;
}
.footer-header {
    width: 100%;
    height: 20px;
}

.one-screen {
    height: calc(100vh - 42px);
    overflow-y: auto;
}

.one-screen-with-footer {
    height: calc(100vh - 42px - 22px);
    overflow-y: auto;
}

.col-20 {
    flex: 0 0 auto;
    width: 20%;
}
.col-80 {
    flex: 0 0 auto;
    width: 80%;
}

.filter-serach-input {
    display: block;
    width: 100%;
    padding: .2rem .5rem;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.2;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    border: 1px solid #ffc107;
    background-color: #ffa5000f;
    border-radius: 1px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.filter-serach-input:focus {
    outline: 2px solid orange;
}

.search_results_fixed {
    width: calc(100% - 300px); 
    position: fixed; 
    top: 120px
}
.filter-search,
.filter-search .filter-row:not(:first-child) {
    padding-top: 5px;
    padding-bottom: 5px;
}
.filter-row {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
}
.filter-row.from-to,
.filter-row.from-to-one-line,
.cbx-line {
    padding-left: 10px;
}
.filter-row.from-to-one-line input {
    width: 40%
}
.filter-row select {
    width: 90%
}
.filter-row.one-data input {
    width: 75%
}
.filter-row.one-data label {
    width: 25%;
    font-weight: 700;
}
.search-category {
    font-weight: 700;
    padding-bottom: 5px;
}
.form-search {
    display: block;
    width: 100%;
    height: 2em;
    padding: 0 0.5em;
    border: 1px solid #aaa;
    border-radius: 0.25em;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-search:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.form-search:disabled {
    opacity: .5;
}
.filter-cbx-line {
    font-weight: 700;
    margin-right: 5px;
    padding: 0 3px 5px 3px;
}
.filter-cbx-line span img {
    padding-left: 7px;
}
.filter-cbx-line:hover {
    cursor: pointer;
    color: black;
}
.cbx-filter {
    margin: 3px 0px;
}
/* input[type=checkbox], input[type=radio] {
    vertical-align: -2px;
    margin: 0;
    padding: 0;
} */
.cbx-filter:hover {
    cursor: pointer;
}
.view-part-top,
.view-part-bot {
    max-height: 250px;
    overflow-x: hidden;
    text-overflow: ellipsis;
}
.view-part-top {
    margin-left: -10px;
    padding-left: 20px;
    margin-right: -9px;
    padding-right: 0px;
    overflow-y: hidden;
}
.view-part-bot {
    margin-left: -20px;
    padding-left: 20px;
}

.scrollbar::-webkit-scrollbar {
    width: 7px;
    background-color: #e3e3e4;
}
.scrollbar::-webkit-scrollbar-thumb {
    background-color: #757575;
}
.scrollbar {
  /* for Firefox */
  scrollbar-color: #757575 #e3e3e4;
  scrollbar-width: thin;
}

.outline_bot_div {
    box-shadow: #ffc10796 0px -30px 36px -28px inset;
}
.outline_top_div {
    box-shadow: #ffc10796 0px 30px 36px -28px inset;
}

.t-results {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px;
    border: 1px solid #bbbbbb;
    border-radius: 3px;
}
.t-results th {
    background: #f1f1f1;
    padding: 0.2rem 0.3rem;
}
.t-results td {
    padding: 0.1rem 0.2rem;
    border-top: 1px solid #bbbbbb;
    border-left: 1px solid #f4f8ff;
}
.t-results tr:first-child th:first-child {
    text-align: center;
}
/* .t-results tr td:first-child {
    text-align: center;
} */

.photo_t {
    position: relative;
    overflow: hidden;
    width: 200px;
    object-fit: contain;
    max-height: 250px;
    margin: 10px;
    border: 2px solid #c3cad8;
    -webkit-box-shadow: 3px 3px 6px 4px #888;
    -moz-box-shadow: 3px 3px 6px 4px #888;
    box-shadow: 3px 3px 6px 4px #888;
}
.photo_t img {
    width: 200px;
    height: 250px;
    font-size: 240px;
    text-indent: 1px;
    line-height: 1;
    color: rgb(182, 182, 182);
}
.manCard {
    clear: both;
    overflow: auto;
    width: 99%; 
    min-height: 220px;
    margin-bottom: 20px;
    margin-right: 20px;
    -webkit-box-shadow: 3px 3px 6px 4px #888;
    -moz-box-shadow: 3px 3px 6px 4px #888;
    box-shadow: 3px 3px 6px 4px #888;
}
.manCard-photo {
    float: left;
    width: 220px; 
    margin-bottom: 5px;
}
.manCard-data {
    float: right; 
    width: calc(100% - 220px);
    padding: 10px 15px;
    font-size: 14px; 
}
.manCard-data hr {
    margin-top: 0.4rem;
    margin-bottom: 0.6rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
}
.manCard-data ul,
.sort-data ul {
    list-style: none; 
    margin-bottom: 0px;
    padding-inline-start: 0px;
}
.manCard-data ul li {
    padding-bottom: 0.4rem;
}
.manCard-img img {
    margin-left: 15px;
    padding: 2px;
}
span.data-name {
    padding-right: 0.2rem;
    color: rgb(87, 87, 87);
}
span.data-value {
    display: inline-block;
    color: rgb(24, 24, 24);
}
.clear-btn {
    color:#c0511e;
    cursor: pointer;
    border: none;
}
.clear-btn:hover {
    color:#ee4b00;
    font-weight: bold;
}
/* #filters_line {
    flex: 0 0 auto;
    width: calc(100% - 300px - 150px);
} */

.filter-data {
    position: fixed;
    left: 50%;
    transform: translate(-50%, 0%);
    display: flex;
    flex-wrap: wrap;
    z-index: 2000;
    top: 4px;
    max-height: 48px;
    width: 60%;
    margin: 0;
    overflow-y: auto;
}
.filter-data .one-filter {
    display: flex;
    flex-wrap: wrap;
    margin: 1px;
    background-color: #dddddd;
    padding: 0px 3px;
    border: 1px solid rgb(172, 172, 172);
    border-radius: 3px;
    color: rgb(165, 0, 0);
    font-size: 0.8em;
    font-weight: 700;
}
.filter-data .one-filter.inactive-filter {
    color: darkgray;
    font-weight: normal;
}
.filter-data span{
    padding-right: 5px;
}
.filter-data span p{
    max-width: 270px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.close {
    font-size: 1.5rem;
    line-height: 0.8;
}

.left-nav-button {
    position: fixed;
    display: flex;
    z-index: 12;
    top: 75px;
    left: 0;
    width: 28px;
    height: 32px;
    margin: 0;
    background: #60b9c7;
    cursor: pointer;
    font-size: 18px;
    color: rgb(255, 255, 180);
}
.left-nav-button:hover {
    width: 29px;
    height: 34px;
    background: #01a7c0;
    font-size: 19px;
    color: rgb(247, 247, 92);
    border-top: 1px solid #0297ad;
    border-left: 1px solid #0297ad;
    border-bottom: 1px solid #0297ad;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    box-shadow:0 0 7px #555;
    text-shadow: 0 0 7px #fffb00;
}
.left-nav-button div{
    display: block;
    margin: auto;
}
.full_width {
    width: calc(100% - 30px);
    margin-left: 30px;
    transition: 0.5s ease-out;
}

.div-buttons img {
    height: 1.9rem;
    margin-right: 2rem;
    cursor: pointer;
}
.div-buttons img:hover {
    background-color: rgb(175, 175, 175);
}

.sort-data {
    position: absolute; 
    top: 1.5em; 
    left: -10px;
    z-index: 9;
    background-color: #ffffff;
    white-space: nowrap; 
    border: 1px solid rgb(187, 187, 187);
    box-shadow: 0 5px 25px rgba(30,31,33,.22);
}
.sort-data li {
    padding: 0 10px; 
}
.sort-data li:hover{
    cursor: pointer;
    background-color: #bbbbbb;
    text-shadow: 1px 0px 0px black;
}
.sort-data li.active{
    text-shadow: 1px 0px 0px black;
}

.btn-img.active {
    padding: 1px 4px;
    border: none;
}
.btn-img.not-active {
    padding: 1px 4px;
    opacity: 0.35;
    border: none;
}
.btn-img.active:hover {
    cursor: pointer;
    background-color: #d0f8ff;
}
.btn-img.active:focus {
    outline: 1px solid #4ba3b1;
}
.btn-img.not-active:hover {
    opacity: 0.45;
    cursor: pointer;
    background-color: #d0f8ff;
}
.btn-img.not-active:focus {
    outline: 1px solid #90b2b8;
}
.alert-div-outer {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 2000;
}
.alert-div-inner {
    display: none;
    max-width: 350px;
    margin-bottom: 10px;
    background-color: #fad8ff;
    border: 1px solid #cdb3d1;
    border-radius: 0.2rem;
    -webkit-box-shadow: 5px 6px 12px 2px #948097;
    -moz-box-shadow: 5px 6px 12px 2px #948097;
    box-shadow: 5px 6px 12px 2px #948097;
}
.alert-div-inner hr{
    margin: 0;
}
.alert-div-inner .alert-div-header,
.alert-div-inner .alert-div-text{
    margin: 0.5rem 0.8rem;
}

.spinner-border {
    display: inline-block;
    width: 6rem;
    height: 6rem;
    vertical-align: text-bottom;
    border: .35em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(255,255,255);
    z-index: 2000;
    opacity: 0.9;
}
.overlay-under {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 2001;
}

table.table_sort th:not(.not_sort) {
    cursor: pointer;
}

.table-base {
	width: 100%;
	border: none;
	margin-bottom: 20px;
}
.table-base thead th {
	font-weight: bold;
	text-align: left;
	border: none;
	padding: 0.3rem;
	background: #d8d8d8;
	/* font-size: 14px; */
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}
.table-base tbody td {
	text-align: left;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 0.3rem;
	/* font-size: 14px; */
	vertical-align: middle;
}
.table-base thead tr th:first-child/*, .table tbody tr td:first-child*/ {
	border-left: none;
}
.table-base thead tr th:last-child/*, .table tbody tr td:last-child*/ {
	border-right: none;
}
.table-base tbody tr:nth-child(even){
	background: #f3f3f3;
}

.table-simple {
	width: 100%;
	border: none;
	margin-bottom: 20px;
}
.table-simple thead th {
	font-weight: bold;
	text-align: left;
	border: none;
	padding: 0.3rem;
	background: #d8d8d8;
	/* font-size: 14px; */
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}
.table-simple tbody td {
	text-align: left;
	border: 1px solid rgb(158, 158, 158);
    padding: 2px 5px;
	vertical-align: middle;
}

.sidenav-dark {
    background-color: black;
    overflow-y: scroll
}            
.sidenav-dark a, .sidenav-dark span.open-menu, .dropdowm-list-dark {
    padding: 5px;
    text-decoration: none;
    font-size: 16px;
    color: #818181;
    display: block;
    line-height: 1.1rem;
}
.sidenav-dark span.open-menu {
    padding: 2px 5px;
    font-size: 16px;
    color: #c1c1c1;
    border: 1px solid black;
}
.sidenav-dark h4 {
    color: #abaaaa;
}
.sidenav-dark a:hover, .sidenav-dark span.open-menu:hover, .dropdowm-list-dark:hover {
    color: #f1f1f1;
}
.sidenav-dark span.open-menu:hover {
    border-color: #f1f1f1;
    cursor: pointer;
}
.sidenav-dark ul {
    padding-left: 4px;
}
.sidenav-dark a.active {
    text-decoration: underline;
    color: #f1f1f1;
}
.sidenav-dark ul.sub-ul {
    margin-left: 10px;
}
.sidenav-dark ul.sub-ul a {
    font-size: 14px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.navbar-brand.abs {
    position: absolute;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.dropdown-tools ul {
    display: none;
    position: absolute;
    right: 0.9rem;
    top: 100%;
    border: 1px solid darkgray;
    border-radius: 0.2rem;
    padding: 0.5rem 1rem;
    width: auto;
    margin-top: 0.3rem;
    z-index: 1021;
}
.dropdown-tools li {
    list-style-type: none;
    margin: 0.25rem 0;
}

.bg-new-question {
    background: rgba(43, 255, 0, 0.9);
    -webkit-box-shadow: 0px 0px 7px 5px rgba(43, 255, 0, 0.9);
    -moz-box-shadow: 0px 0px 7px 5px rgba(43, 255, 0, 0.9);
    box-shadow: 0px 0px 7px 5px rgba(43, 255, 0, 0.9);
}

.bg-lightgreen {
    background-color: lightgreen;
}

a.link {
    color: inherit;
    text-decoration: none;
}
a.link:visited {
    background-color: none;
}
a.link:hover {
    background-color: lightgreen;
}
a.link:active {
    background-color: hotpink;
}

.image-btn:hover {
    padding: 0px;
    margin-right: 0px;
    opacity: 0.8;
}
.image-btn {
    cursor: pointer;
    padding: 2px 0px;
    margin-right: 2px;
}

.btn-glowing-blue {
    -webkit-animation: glowing-blue 1500ms infinite;
    -moz-animation: glowing-blue 1500ms infinite;
    -o-animation: glowing-blue 1500ms infinite;
    animation: glowing-blue 1500ms infinite;
}
@-webkit-keyframes glowing-blue {
  0% { background-color: #0a78b5; -webkit-box-shadow: 0 0 3px #0a78b5; }
  50% { background-color: #1096f1; -webkit-box-shadow: 0 0 40px #1096f1; }
  100% { background-color: #0a78b5; -webkit-box-shadow: 0 0 3px #0a78b5; }
}

@-moz-keyframes glowing-blue {
  0% { background-color: #0a78b5; -moz-box-shadow: 0 0 3px #0a78b5; }
  50% { background-color: #1096f1; -moz-box-shadow: 0 0 40px #1096f1; }
  100% { background-color: #0a78b5; -moz-box-shadow: 0 0 3px #0a78b5; }
}

@-o-keyframes glowing-blue {
  0% { background-color: #0a78b5; box-shadow: 0 0 3px #0a78b5; }
  50% { background-color: #1096f1; box-shadow: 0 0 40px #1096f1; }
  100% { background-color: #0a78b5; box-shadow: 0 0 3px #0a78b5; }
}

@keyframes glowing-blue {
  0% { background-color: #0a78b5; box-shadow: 0 0 3px #0a78b5; }
  50% { background-color: #1096f1; box-shadow: 0 0 40px #1096f1; }
  100% { background-color: #0a78b5; box-shadow: 0 0 3px #0a78b5; }
}

.btn-glowing-red {
    -webkit-animation: glowing 1500ms infinite;
    -moz-animation: glowing 1500ms infinite;
    -o-animation: glowing 1500ms infinite;
    animation: glowing 1500ms infinite;
}
@-webkit-keyframes glowing {
  0% { background-color: #b50a0a; -webkit-box-shadow: 0 0 3px #b50a0a; }
  50% { background-color: #f13210; -webkit-box-shadow: 0 0 40px #f13210; }
  100% { background-color: #b50a0a; -webkit-box-shadow: 0 0 3px #b50a0a; }
}

@-moz-keyframes glowing {
  0% { background-color: #b50a0a; -moz-box-shadow: 0 0 3px #b50a0a; }
  50% { background-color: #f13210; -moz-box-shadow: 0 0 40px #f13210; }
  100% { background-color: #b50a0a; -moz-box-shadow: 0 0 3px #b50a0a; }
}

@-o-keyframes glowing {
  0% { background-color: #b50a0a; box-shadow: 0 0 3px #b50a0a; }
  50% { background-color: #f13210; box-shadow: 0 0 40px #f13210; }
  100% { background-color: #b50a0a; box-shadow: 0 0 3px #b50a0a; }
}

@keyframes glowing {
  0% { background-color: #b50a0a; box-shadow: 0 0 3px #b50a0a; }
  50% { background-color: #f13210; box-shadow: 0 0 40px #f13210; }
  100% { background-color: #b50a0a; box-shadow: 0 0 3px #b50a0a; }
}