/*
** ©2026 sustainablecivicsolutions.org. All rights reserved.
*/

html {
    font-size: 20px;
}

body {
    font-family: 'Figtree', sans-serif;
}

input, select, textarea, button {
   font-family: inherit;
   font-size: inherit;
}

header {
    display: flex;
    align-items: center;
    background-image: url(./logo120.jpg);
    background-repeat: no-repeat;
    background-size: 80px;
    background-position-x: 5px;
    background-position-y: 5px;
    min-height: 60px;
    background-color: #ebf5f4ff;
    border: solid 1px darkgray;
    border-radius: .3rem;
    margin: .3rem 0;
    padding: 1rem 1rem 1rem 100px;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 100%;
    color: #292929;
}

footer {
    font-size: 70%;
    margin-top: 2em;
}

p {
    margin-top: 0;
    margin-bottom: .6em;
    line-height: 110%;
}

p:last-of-type {
    margin-bottom: 0;
}

h2 {
    margin-top: .4em;
    margin-bottom: .15em;
}

ul {
    margin-top: 0;
}

/* Following for "default" tables that are not covered by DataTable.js stylesheet */

table.default {
    margin: .3rem 0;
    border-collapse: collapse;
}

table.default th,
table.default td {
    border: solid 1px darkgray;
    padding: .2em;
    text-align: left;
}

table.default th {
    background-color: #d1d1ea;
    vertical-align: bottom;
}


input[type="radio"] {
    height: 1rem;
    margin-right: .5em;
}

/* radio/check wrapper hanging indent style */
div.rbcb {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

div.rbcb input,
div.rbcb label {
    cursor: pointer;
}

form {
    border: solid 1px darkgray;
    border-radius: .3rem;
    padding: .6em;
}

.formfield {
    margin-bottom: 1em;
}

.formfield input,
.formfield select {
    display: block;
    width: 20em;
    max-width: 90%; /* Prevent form overflow */
}

.formfield input[type="checkbox"],
.formfield input[type="radio"]
 {
    display: unset;
    width: unset;
}

.formfield input:invalid,
.formfield select:invalid {
    background-color: #ff00000a;
    border: 1px solid darkred
}

.formactions {
    margin-top: 1em;
}

button {
    margin-top: .2em;
    margin-right: .3rem;
}

dialog .title {
    font-weight: bold;
    font-size: 120%;
}

#svmode {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 1;
    transform: translateX(-50%);
    background-color: darkred;
    border-radius: 0 0 .3em .3em;
    color: #ffff8d;
    padding: .1em 1.5em;
    font-size: 75%;
    font-weight: bold;
    cursor: pointer;
}

#activeevent {
    background-color: #c8d3c8;
    border: solid 1px darkgray;
    margin: .3rem 0;
    font-size: 130%;
    padding: 0.3rem;
    border-radius: 0.3rem;
}

.keyword {
    font-size: 140%;
    font-weight: bold;
}

iframe.qr {
    border: none;
    height: 220px;
    width: 220px;
}

#svbutton {
    position: fixed;
    width: 4em;
    height: 4em;
    left: 0;
    top: 0;
}

#popover {
    padding: .3em;
    font-size: 90%;
    border: solid 1px darkgray;
    border-radius: .3rem;
    background-color: lightyellow;
    position: absolute;
    width: 30%;
}

#google_translate_element {
    position: fixed;
    top: 0;
    right: 0;
}

/* SCSC Styles */

div.SCSCSIPicker div.options {
    margin-top: 1em;
    font-size: 80%;
}