/* dark theme */
/* :root {
    --mainBG: #023430;
    --darkBlue: #001E2B;
    --btnBG: #00684A;
    --brightGreen: #caffbf;
    --mainText: #fff;
    --lightBlue: rgba(173, 216, 230, 0.248);
    --lightGray: rgba(173, 216, 230, 0.248);
    --lightYellow: #ffd5000a;
    --boxShadow: rgba(0, 0, 0, 0.28);
} */
/* light theme */
:root {
    --mainBG: #fff;
    --darkBlue: #001E2B;
    --btnBG: #9fbada53;
    --brightGreen: #caffbf;
    --mainText: #000;
    --lightBlue: rgba(173, 216, 230, 0.248);
    --lightGray: rgba(173, 216, 230, 0.248);
    --lightYellow: #ffd5000a;
    --boxShadow: rgba(0, 0, 0, 0.28);
}

body {
    color: var(--mainBG);
    border: var(--mainBG) solid 8px;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

#people-form {
    margin-top: 1rem;
}



#cataloguing-header {
    height: 10rem;
    /* border-top: var(--mainBG) solid 3px; */
    border-bottom: var(--mainBG) solid 8px;
    background-color: var(--btnBG);
    color: var(--mainText);
}

label {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.info-icon {
    cursor: pointer;
    font-size: 12px;
    /* Adjust size as needed */
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 17px;
}

h4 {
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 17px;
}

#show-people,
#show-places {
    font-size: 1.8rem;
    padding: .1rem 1rem;
}

.name-section .check-boxes {
    position: absolute;
    right: -1.2rem;
}

#show-people,
#populated-btn {
    -webkit-border-radius: 5px 0px 0px 5px;
    border-radius: 5px 0px 0px 5px;
}

#show-places,
#geographic-btn {
    -webkit-border-radius: 0px 5px 5px 0px;
    border-radius: 0px 5px 5px 0px;
    border-left: none;
}

.nav-section-btn {
    font-weight: 500;
}

.fa-style {
    font-size: 12px;
    position: relative;
    left: .035rem;
    top: .05rem;
    font-weight: bold;
}

:root {
    --inputHeight: 25px;
    --inputWidth: 175px;
}

select {
    height: var(--inputHeight);
    border-radius: 3px !important;
    width: var(--inputWidth);
    ;
}

textarea {
    border: var(--mainBG) solid 1px;
}

input[type=text],
select,
.chosen-choices {
    height: var(--inputHeight);
    ;
    border-radius: 5px !important;
    box-sizing: border-box;
    border: 1px solid var(--mainBG);
    font-size: 15px;
    border: var(--mainText) solid 2px;
    width: var(--inputWidth);
}

.checkbox-item {
    display: inline;
    /* background-color: var(--mainText); */
}



.select-btn-item {
    -webkit-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
}

.select-btn-item:nth-of-type(1) {
    -webkit-border-radius: 5px 0px 0px 5px;
    border-radius: 5px 0px 0px 5px;
}

.select-btn-item:nth-of-type(4) {
    -webkit-border-radius: 0px 5px 5px 0px;
    border-radius: 0px 5px 5px 0px;
}

.select-btn-item:nth-of-type(-n+3),
.select-btn-item:nth-of-type(-n+3):hover,
.select-btn-item:nth-of-type(-n+3).active {
    border-right: none;
}



#extra-options {
    border: var(--mainText) solid 2px;
    max-width: 200px;
    -webkit-box-shadow: 0px 0px 2px 1px var(--boxShadow);
    box-shadow: 0px 0px 2px 1px var(--boxShadow);
    height: auto;
}

.checkbox-item {
    margin: .1rem 0;
}



#people-preview-text,
#places-preview-text {
    font-size: 1.2rem;
    margin: 0;
}

.subheader-text {
    background-color: rgb(240, 240, 240);
    /* background-color: var(--btnBG); */
    /* border: black solid 2px; */

    border-radius: 5px;
    color: black;
    padding: 1rem 1rem;
    position: relative;
}

.subheader-text p {
    margin: 0;
    font-size: 1.2rem;
}

.preview-icon {
    position: absolute;
    top: .3rem;
    right: .3rem;
    cursor: pointer;
    transition: .15s ease-in-out opacity;
}

.preview-icon:hover {
    opacity: .7;
}

.editable {
    border: 1px solid #ccc;
    padding: 2px;
}

.form-style {
    border: var(--darkBlue) solid 3px;
    padding: 2rem;
    border-radius: 7px;
    /* background-color: rgba(128, 128, 128, 0.034); */
    -webkit-box-shadow: 0px 0px 6px 1px var(--boxShadow);
    box-shadow: 0px 0px 6px 1px var(--boxShadow);
    position: relative;
    background-color: var(--mainBG);
    color: var(--mainText);
}

.other-options-container .btn-custom-outline {
    border-radius: 0;
}



.main-btn-option {
    margin: .1rem .07rem;
}


.btn-custom-outline {
    border: var(--mainText) solid 2px;
    background-color: white;
}



.btn-custom-outline:hover,
.btn-custom-outline.active,
.btn-custom-outline:active {
    background-color: var(--btnBG);
    border: var(--mainText) solid 2px;
    color: var(--mainText);
}



.popover-text p {
    margin: .5rem 0;
}

.form-reset-icon {
    color: var(--mainText);
    /* Use the dark blue color */
    font-size: 1.4rem;
    /* Make the icon a bit smaller */
    cursor: pointer;
    /* Change cursor to pointer on hover */
    transition: opacity 0.15s ease;
    /* Smooth transition for opacity change */
    position: absolute;
    top: 1rem;
    right: 1rem
}

.form-reset-icon:hover {
    opacity: 0.5;
    /* Make the icon lighter on hover */
}

#non-human-text-item .info-icon,
#years-section .info-icon {
    position: relative;
    bottom: .1rem;
    right: .1rem;
}

#buttonGroup .info-icon {
    position: relative;
    top: .1rem;
    right: .1rem;
}

#ficticious-text-item .info-icon {
    position: relative;
    top: .12rem;
    left: .07rem;
}

.btn-outline-custom {
    background-color: var(--mainText);
    border-radius: 50px;
    padding: .2rem .35rem;
    border: var(--btnBG) solid 3px;
    transition: opacity .15s ease-in-out;
}


.btn-outline-custom:hover {
    opacity: .7;
}

.btn-outline-custom i {
    color: var(--btnBG);

}

.custom-btn {
    border-radius: 50px;
    padding: .3rem .4rem;
    transition: opacity .15s ease-in-out;
}

.custom-btn:hover {
    opacity: .7;

}

.btn-outline-light {
    border: var(--darkBlue) solid 2px !important;
}

#country {
    max-width: 225px;
}

#geographical-features-select {
    max-width: 150px;
}

.chosen-container {
    width: 200px !important;
}

.chosen-container-multi .chosen-choices {
    border: black solid 2px;
}

.city-section {
    position: relative;
}

.city-results {
    position: absolute;
    top: var(--inputHeight);
    right: 0;
    border: black solid 2px;
    width: var(--inputWidth);
    background-color: white;
    border-radius: 5px;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1;
}

.city-results li {
    list-style: none;
    padding-left: 1rem;
    transition: .15s ease-in-out all;
    cursor: pointer;
}

.city-results li:hover {
    background-color: var(--btnBG);
}

.city-results ul {
    padding-left: 0;
    margin-bottom: 0;
}