* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    font-style: normal;
}

.flexPanel {
    display:flex !important;
    flex-wrap: wrap;
    justify-content:left;
    gap:1rem;
}

.bolder {
    font-weight: 900;
}
.panel {
    max-width: 25rem;
}
.flexPanel {
    display:flex !important;
    flex-wrap: wrap;
    justify-content:left;
    gap:1rem;
}
/*variables*/
:root {
    --main-background:#1b2a44;
}

#home header h1, #home header h2 {
    font-size: 2em;
    padding: 0 20px;
    color: #e06245;
    font-weight: 500;
}

#home header h2 {
    font-size: 1em;
}


fieldset {
    max-width: 750px;
    border-radius: 8px;
    border: solid 2px var(--main-background);
    padding: 1em 2em;
    margin: 0 .75em 1.5em .75em;
    background-color: rgba(255,255,255,.8);
}

fieldset:last-of-type {
    margin-bottom: 0;
}

.field {
    display: flex;
    flex-flow:column;
    margin-bottom: 1.5em;
    position: relative;
}

.field-radiobutton {
    display: block;
    margin-bottom: .65em;
}

body .ui-radiobutton .ui-radiobutton-box {
    border-color: var(--main-background);
}

.ui-radiobutton .ui-state-active, .ui-radiobutton .ui-state-focus {
    box-shadow: none;
}

body .ui-radiobutton .ui-radiobutton-box.ui-state-active {
    border-color: #1b2a44;
    background: #1b2a44 !important;
    color: #fff;
}

body .ui-radiobutton .ui-radiobutton-box.ui-state-active {
    border-color:none;
    color:#fff
}


body .ui-radiobutton .ui-radiobutton-box.ui-state-focus {
    box-shadow: 0 0 0 .1em var(--main-background);
    border:0;
}

body .ui-radiobutton .ui-radiobutton-box.ui-state-active .ui-icon-bullet {
    background: none;
    border:0;
}

body .ui-radiobutton .ui-radiobutton-box.ui-state-active {
    border-color: #1b2a44;
    background: #1b2a44;
    color: #fff;
}
.transition {
    transition: all 0.2s;
    touch-action: manipulation;
}

legend {
    font-size: 2em;
    padding: 0 .5em;
    color: #e06245;
    font-weight: 500;
}

label.transition {
    display: block;
    margin-top: .5em;
}

.outputLabel {
    font-size: 1.2rem !important;
}

label:first-of-type {
    margin-top: 0;
}

input.transition {
    border: solid 1px #ccc;
    border-radius: 4px;
    font-size: 1rem;
    padding: 1rem;
    width: 100%;
    cursor: text;
    color: #707070;
}


input:not(:placeholder-shown) + label,
input:focus + label,
textarea:not(:placeholder-shown) + label,
textarea:focus + label {
    transform: translate(0, 0) scale(1);
    cursor: pointer;
}

.checks label {
    display: inline-block;
    padding-top: 0;
}

input[type="submit"] {
    padding: .25em;
    display: block;
    width: 50%;
    cursor:pointer;
    background-color:var(--main-background);
    color: white;
    opacity: 0.8;
    border-radius: 5px;
    height: 5vh;
}

input[type="submit"]:hover {
    opacity: 1;
}

#output input {
    padding: 0;
}

input[type="number"] {
    width: 40px;
    font-size: 1em;
}

@media screen and (min-width: 700px) {
    fieldset {
        max-width: 600px;
        margin: 0 auto;
    }
}
.radiogroup {
    display:flex;
}

.radiolabel {
    flex: 0 1 150px;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--main-background);
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.field p {
    margin-top: 1rem;
}

.ui-button, .ui-chkbox-box, .ui-chkbox-label {
    margin:1rem 1rem 1rem 0 !important;

}

#backButton {
    background-color: #ba8c22 !important;
    border:none;
    position: absolute;
    left: 20px;
    top: 118px;
    padding:0;
}

#backButton:hover {
    background-color: #c09f36 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/*fix*/
div.ui-button:nth-child(1) {
    border-right-width: 1px !important;
}

.field > ul > li {
    margin-left: 1rem;
    font-weight:bold;
}

.dataRegistration,
.dataRegistration > tbody > tr > th,
.dataRegistration > tbody > tr > td {
    border: 1px solid !important;
    text-align: left;
}

.dataRegistration > tbody > tr > th {
    background-color:#dcd;
}

table.dataRegistration, .section8_text {
    width: 70%;
    margin-left:1rem;
}
.tableheader {
    margin-top: 2rem;
    margin-left:1rem;
}

.center{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


@media only screen and (max-width: 768px) {
    table.dataRegistration, .section8_text  {
        width: 95%;
    }
}
.announcement {
    margin-left: 1rem;
    margin-right: 1rem;
}

@media only screen and (min-width: 768px) {
    .announcement {
        width: 50%
    }
}

.margin-left {
    margin-left: 1rem !important;
}

.ui-datatable-footer ul  li {
    list-style-type: none;
}

.registrationEditPanel {
    padding-right: 1rem;
}

.inputTextRegistrationEdit {
    width: 25rem;
}

.nondisplay{
    display:none;
}

.display_inline {
    display: inline-block;
}




