/* All color variables are in the colors.css file and imported in the app.jsx file */


.fontFamilyInter {
    font-family: Inter, serif;
}

a > .content {
    color: black;
}

.content b,
.content strong {
    font-weight: 700;
}

.flex-column {
    flex-direction: column;
    display: flex;
    justify-content: flex-start;
}

.flex-row {
    flex-direction: row;
    display: flex;
    justify-content: flex-start;
}

.align-center {
    align-items: center;
}

.justify-space {
    justify-content: space-between;
}

.box-space-under {
    margin-bottom: 5px;
}

.round-box {
    padding: 5px 10px;
    background: white;
    border-radius: 16px;
}

.indent-once {
    padding-left: 20px;
}

.orgSequenceEditButtons > button {
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 24px;
    padding: 3px;
}

.orgSequenceEditButtons > button:hover {
    background: #C5DBFF;
}

.directDelegation {
    border-radius: 16px;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.15);
    background: #F1DCD9;
}

.spacer {
    margin-top: 50px;
}

.directDelegation > p {
    font-size: 22px;
    margin-bottom: 10px;
}

.directDelegation > div > button {
    padding-top: 0;
    padding-bottom: 0;
}

.lawSelectOrg {
    border-radius: 16px;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.15);
    margin-top: 50px;
}

.lawSelectOrg > div,
.directDelegation > div{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.lawSelectOrg > div:not(:last-child),
.directDelegation > div:not(:last-child) {
    margin-bottom: 20px;
}

.lawSelectOrg > div > strong,
.directDelegation > div > strong {
    font-size: 14px;
}

.lawSelectOrg > div > span,
.directDelegation > div > span {
    background-color: #F5E19A;
    border-radius: 24px;
    padding: 0 20px;
}

.lawSelectOrg > div > button:not(.continueAction),
.directDelegation > div > button:not(.continueAction) {
    font-size: 14px;
    border-radius: 16px;
    border: 2px solid black;
    height: auto;
    white-space: normal;
}

.lawSelectOrg > .lawDelegationPath {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.lawDelegationPath > div {
    display: flex;
    flex-direction: column;
}

.lawDelegationPath > div > i {
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 5px;
}

.orgLawDelegationPath {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.orgLawDelegationPath > * {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.orgLawDelegationPath > div > i {
    font-size: 12px;
}

.orgLawAddCommentButton {
    font-size: 12px;
    border-radius: 16px;
    border-color: black;
    border-width: 1px;
    color: #050037;
}

.orgLawBoxRight {
    width: 25%;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
}

.orgLawWysiwygContainer {
    width: 100%;
    font-size: 14px;
    padding-right: 10px;
}

.orgSelectOrg {
    width: 75%;
}

.orgSelectToOrgList {
    align-items: flex-start;
    width: auto;
    margin-bottom: 10px;
}

.delegationPathBox:not(:last-child) {
    margin-bottom: 50px;
}

.delegationPathBox .dropdown {
    font-size: 14px;
    min-width: 225px;
    word-wrap: break-word;
}

.delegationPathBox > div > strong {
    font-size: 14px;
}

.delegationPathBox,
.orgDelegationPathBox {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    margin-top: 0;
    border-radius: 16px;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.15);
}

.orgDelegationPathBox {
    flex-direction: column;
}
.orgDelegationPathBox > div {
    display: flex;
    justify-content: space-between;
}

div.toOrgList {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

div.delegationSequence {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
div.delegationSequence > strong {
    color: #363636;
    font-weight: 700;
    font-size: 14px;
}
div.delegationSequence > i {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.toOrgList > div {
    flex-direction: column;
    width: 55%;
    max-width: 200px;
    min-width: 180px;
}

.toOrgListElementContainer {
    min-width: 225px;
    max-width: 375px;
}

.toOrgListElement {
    display: flex;
    justify-content: center;
    background: #C5DBFF;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 16px;
    font-size: 14px;
}

.toOrgListElement > p {
    margin: 0 10px;
    text-align: center;
    word-break: break-word;
}

.publicDelegateDropdownButton {
    width: 100%;
    position: relative;
    z-index: 2;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #F2F3F5;
    font-family: Inter, serif;
    cursor: pointer;
}

.publicDelegateDropdownButton:hover {
    border: 1px solid black;
}

.publicDelegateDropdownButtonActive {
    border: 1px solid black;
}

.publicDelegateDropdownContent {
    width: inherit;
    z-index: 1;
    position: absolute;
    right: 0;
    top: 15px;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
    padding-top: 10px;
    background: white;
}

.publicDelegateDropdownContent > span {
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    background: white;
    padding: 5px 10px;
}

.publicDelegateDropdownContent > span:hover {
    background: #F2F3F5;
}

.closeDropdownOnClickOutside {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0);
}

.delegationSelect {
    border: 1px solid transparent;
    font-size: 14px;
    background: #F2F3F5;
    border-radius: 8px;
    text-align: left;
    font-family: Inter, serif;
}

.delegationSelect:hover {
    border: 1px solid black;
}

.delegationSelect > option {
    background: white;
}

.delegationSelect > option:hover {
    background: red;
}



div.active_wrapper {
    background: #c5dbff80 !important;
}

.editDeleteButton {
    border-radius: 24px;
    border: none;
    height: 32px;
    background: white;
}
.editDeleteButton:focus:not(:active) {
    box-shadow: none;
}
.editDeleteButton[disabled] {
    background: #E6E6E6;
}
.editDeleteButton:hover:enabled {
    background: #C5DBFF;
}

.saveDelegation {
    background: #9BDFB7;
}
.continueAction {
    background: #F5E19A;
}
.saveDelegation:focus:not(:active),
.continueAction:focus:not(:active) {
    box-shadow: none;
}
.continueActionAltBackground[disabled] {
    background: #E6E6E6;
}
.saveDelegation[disabled] {
    background: #E6E6E6;
}
.continueActionAltBackground.continueAction {
    max-width: 250px;
}

.saveDelegation, .continueAction {
    border-radius: 24px;
    border: 0;
    padding: 8px 12px;
    color: #021815;
}

.saveDelegation, .continueAction,
.orgLawSeeParagraphsButton {
    width: 100%;
    height: auto;
    white-space: normal;
    line-height: normal;
    max-width: 200px;
    min-width: 100px;
}

.orgLawSeeParagraphsButton {
    border-radius: 16px;
    border-color: black;
    font-size: 14px;
    padding: 4px 8px;
}

.modal-button-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 20px;
}

.modal-delete-button,
.modal-cancel-button,
.modal-edit-button {
    border-radius: 24px;
    font-size: 20px;
    width: 160px;
    color: #050037;
    margin: 0 10px;
}

.modal-cancel-button {
    border: 1px solid #050037;
}

.modal-delete-button {
    background: rgba(234, 90, 58, 0.5);
}

.modal-edit-button {
    background: #9BDFB7;
}

.modal-card-head {
    padding: 30px 40px 0;
    border-radius: 16px 16px 0 0;
    border: none;
    background: #FFFFFF;
}

.modal-card-title {
    color: #000000;
    font-size: 1.25rem;
    line-height: 0.5;
    font-weight: bold;
    text-align: center;
}

.modal-card-body {
    border-radius: 0 0 16px 16px;
    padding: 24px 40px 30px;
}

.modalEditContainer {
    display: flex;
    flex-direction: column;
}

.modalEditContainer > div {
    margin-top: 20px;
    margin-bottom: 20px;
}

.modalEditDelegationList {
    
}

.reportButton {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--lighter-yellow);
    color: var(--dark-purple);
    font-size: 20px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.reportButton:hover {
    color: var(--dark-purple);
    cursor: pointer;
}
/* Tooltip styles */
.reportButton::before {
    content: attr(data-tooltip);
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    padding: 4px 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
}
.reportButton:hover::before {
    opacity: 1;
    visibility: visible;
}
.reportButtonClicked {
    border: 2px solid var(--dark-purple);
}

select, option {
    cursor: pointer;
}

select.dropdownAlt {
    border: solid 1px black;
    width: 140px;
    text-align: center;
    background: transparent;
}

.orgDropdown {
    width: 200px;
    max-width: 200px;
    min-width: 180px;
}

.dropdown {
    font-size: 14px;
    color: rgb(74, 74, 74);
    height: 1.75em;
    border-radius: 8px;
    border: 0.1rem solid var(--black);
}
.dropdownBlueBackground {
    background: #C5DBFF;
    color: #050037;
    font-size: 14px;
}
.dropdownBlueBackground > option {
    background: white;
    font-size: 14px;
}

.dropdownLong {
    height: 4.25rem;
    max-width: 250px;
    text-align: right;
    direction: ltr;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.editModalDropdown {
    background: #C5DBFF;
    border-radius: 8px;
    padding: 5px 10px;
}

.editModalDropdown > option {
    background: white;
}

.paragraphNoteBox {
    background: #FCE6E1;
    padding: 10px 20px;
    border-radius: 16px;
    box-shadow: none;
    font-size: 12px;
    margin: 10px 0;
}

.breadcrumbButtonHolder {
    display: flex;
    align-items: center;
    height: 24px;
}

.breadcrumbButton {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #050037;
    font-size: 16px;
}
.breadcrumbButton[disabled] {
    cursor: not-allowed;
}
.breadcrumbButton > strong {
    color: #050037;
}

.activeTabSlider,.disabledTabSlider {
    display: inline-block;
    width: 100%;
    height: 4px;
    border-radius: 3px;
    margin-top: 2px;
}
.activeTabSlider {
    background-color: #050037;
}
.disabledTabSlider {
    background-color: transparent;
}

.previewDelegationOrgPath {
    padding-bottom: 10px;
}

.previewDelegationOrgPath > div {
    padding: 2px;
    border: none;
    margin-bottom: 0;
    font-size: 14px;
}

.button.is-loading::after {
    border-color: #71A4F7;
    border-right-color: transparent;
    border-top-color: transparent;
}

.summaryBreadCrumbs {
    font-size: 12px;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.summaryLastCrumb {
    margin-top: 10px;
}

.summaryLastCrumb > strong {
    color: #050037;
}

.summaryActiveBar {
    display: inline-block;
    width: 100%;
    height: 4px;
    border-radius: 3px;
    margin-top: 5px;
    background-color: #050037;
}

.summaryBreadCrumbs > strong, .summaryBreadCrumbs > p {
    padding: 0 2px 0 2px;
}

.summaryBody > div {
    display: flex;
}

.summaryTitle {
    margin-top: 0;
    justify-content: center;
}
.summaryTitle > p {
    font-size: 24px;
    color: black;
    margin-left: 10px;
}

.summaryButtonHolder {
    justify-content: space-evenly;
    margin-top: 30px;
}

.summaryDelegationCount, .summaryPreview {
    justify-content: center;
}

.summaryDelegationCount {
    margin-top: 40px;
    font-size: 16px;
    font-weight: 650;
}

.summaryDelegation {
    margin-bottom: 15px;
    line-height: 1.2;
    color: black;
    margin-right: 10px;
}

.summaryDelegation > p {
    font-size: 14px;
}
.summaryDelegation > i {
    font-size: 12px;
    display: flex;
    flex-direction: column;
}
.summaryDelegation > span {
    font-size: 12px;
    font-weight: lighter;
    color: #727272;
}

.summaryPreview {
    margin-top: 15px;
}

.summaryList {
    flex-direction: column;
    justify-content: flex-start;
    max-height: 300px;
    overflow: auto;
    margin: 20px 20px 0 20px;
}

.summaryContinue, .summaryContinue:hover,
.summaryEnd, .summaryEnd:hover,
.summaryPreview > button, .summaryPreview > button:hover {
    min-width: 180px;
    border-radius: 24px;
    border: none;
}

.summaryContinue, .summaryContinue:hover {
    background: #F5E19A;
    color: #050037;
}

.summaryEnd, .summaryEnd:hover {
    background: #C4DBFF;
    color: #021815;
}

.summaryPreview > button, .summaryPreview > button:hover {
    background: #050037;
    color: #FFFFFF;
}

.summaryPreview > button > div {
    margin-left: 4px;
    height: 18px;
}

div:has(.summaryPreview) {
}

.customScrollbar::-webkit-scrollbar {
    width: 12px;
}

.customScrollbar::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #E6E6E6;
}

.WarningText {
    padding: 6px 10px;
    background-color: var(--lighter-red);
    color: var(--black);
    font-size: 16px;
    border-radius: 10px;
    width: fit-content;
}

.warningBox {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 108%;
    padding: 8px 20px 8px 20px;
    margin-top: 20px;
    margin-left: -20px;
    background-color: #EA5A3A80;
    color: #021815;
    line-height: normal;
    font-size: 14px;
}
.directHelpContainer {
    margin-top: 50px;
}
.directHelpContainer > span {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    word-break: break-word;
}
.directHelpContainer > span > div > input {
    width: 24px;
}
.directHelpContainer > span > p,
.directHelpContainer > span > strong {
    font-size: 12px;
    margin-left: 10px;
}

.directDelegateSelectContainer {
    display: flex;
}
.directDelegateSelectContainer .directHelpContainer {
    width: 20%;
    margin: 25px 0 0 10px;
}
.directDelegateSelectContainer > div {
    width: 80%;
}

.okButton {
    font-size: 16px;
    height: 40px;
    border-radius: 24px;
    padding: 8px 16px 8px 16px;
    color: #021815;
    background-color: #C5DBFF;
}

.lawListAdminButton,
.lawListAdminButton:hover {
    border-radius: 24px;
    color: white;
    background: #050037;
    padding: 8px 14px;
}
.lawListAdminButton:first-child {
    margin-right: 5%;
}

.lawListAdminButtonContainer {
    display: flex;
    max-width: 285px;
    width: 100%;
    margin: 0 10px;
}

.lawViewList {
    
}

tbody > tr.lawViewListRow {
    background: white;
    width: 100%;
    border-radius: 16px;
    color: #050037;
}
tbody > tr.lawViewListRow:hover {
    color: #050037;
    background: #C5DBFF;
}

.lawViewRowTitle {
    width: 45%;
    min-width: 185px;
    font-size: 16px;
}

.lawViewRowParagraphs > p {
    text-align: center;
    font-size: 12px;
    min-width: 95px;
    width: 95px;
    padding: 2px 6px;
    border-radius: 14px;
    background: #C5DBFF;
}

.lawViewListRowBlue {
    display: flex;
    align-items: center;
    padding: 0 10px;
    width: 40%;
}

.lawViewListRowBlue > p {
    min-width: 85px;
    width: 85px;
    margin-left: 15px;
}

.lawViewListRowRose, .lawViewListRowRoseEmpty {
    width: 30%;
}

.lawViewListRowRose > p {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 16px;
    background: #FCE6E1;
    text-align: center;
}

.lawViewListRowDelegated {
    width: 190px;
    padding: 0 10px;
}

.lawViewListLawOpen {
    font-size: 12px;
    width: 75px;
    color: #050037;
    background: white;
    border: #050037 1px solid;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 0 2px 0;
}
.lawViewListLawOpen:hover {
    color: white;
    background: var(--dark-purple);
}
.MuiSvgIcon-root.lawViewListLawOpenArrow {
    margin-left: 5px;
    font-size: 14px;
}

.lawListViewLawVersionsContainer {
    display: flex;
    justify-content: flex-end;
}
.lawListViewLawVersionsButton {
    background: #C5DBFF;
    color: #050037;
    display: inline-flex;
    align-items: center;
    border-radius: 24px;
    padding: 8px 18px;
}
.lawListViewLawVersionsButton:hover {
    color: #050037;
}

.lawListPageContainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lawListPageButton {
    border: none;
    border-radius: 24px;
    width: 40px;
    height: 40px;
    padding-top: 2px;
    cursor: pointer;
    color: #050037;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lawListPageButton:hover {
    color: #050037;
}
.lawListPageButton.inactive {
    background: #E6E6E6;
}
.lawListPageButton.active {
    background: #C5DBFF;
}

.lawListPageText {
    margin: 0 20px 0 20px;
    min-width: 60px;
    text-align: center;
}

.lawListFilterContainer {
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.lawViewListLawOpen:hover {
    color: white;
    background: var(--dark-purple);
}

.LawView.Header {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.LawView.ReturnButton {
    padding: 6px 10px;
}
.LawView.ToDraftButton {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    font-size: 12px;
}
.LawView.ReturnButton,
.LawView.ToDraftButton {
    color: var(--dark-purple);
    border: 1px solid var(--dark-purple);
    display: inline-flex;
    border-radius: 24px;
}
.LawView.ReturnButton:hover,
.LawView.ToDraftButton:hover {
    background: var(--light-blue);
}

.LawView.InfoTitle {
    color: var(--gray);
    font-size: 14px;
    margin-top: 20px;
}
.LawView.InfoText {
    color: var(--delegation-black);
    font-size: 12px;
}
.LawView.CategoryList span {
    display: block;
}
.LawView.Spacer {
    margin-top: 20px;
    display: block;
}

.LawView.Checkbox {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    margin-top: 20px;
}
.LawView.Checkbox > p {
    margin-left: 10px;
}

.LawView.CheckboxText .checkbox {
    
}
.LawView.CheckboxText .LawView.Checkbox {
    margin-right: 20px;
}

.LawView.ToExternalButton {
    display: inline-block;
    color: var(--dark-purple);
    font-size: 12px;
    border: 1px solid var(--dark-purple);
    padding: 5px 15px;
    border-radius: 24px;
    margin-top: 20px;
}
.LawView.ToExternalButton:hover {
    background: var(--dark-purple);
    color: var(--white);
}
.LawView.OpenNewIcon {
    color: inherit;
    margin: 0 0 -2px 2px;
    font-size: 0.9rem;
}

.LawView.ParagraphBox {
    width: 100%;
    margin-top: 20px;
    padding: 15px 20px;
    color: var(--delegation-black);
}

.LawView.ParagraphTitleBar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.LawView.ParagraphTitleInfo {
    display: flex;
    flex-wrap: wrap;
}

.LawView.Allow,
.LawView.Ban,
.LawView.County,
.LawView.Municipality {
    margin-left: 10px;
    padding: 6px 15px;
    border-radius: 16px;
    font-size: 12px;
}

.LawView.Allow {
    background: var(--light-green);
}
.LawView.Ban {
    background: var(--light-red);
}
.LawView.County {
    background: var(--light-yellow);
}
.LawView.Municipality {
    background: var(--light-blue);
}

.LawView.Text {
    font-size: 12px;
    margin-top: 15px;
}



.LawViewLawActionButtons{
    display: flex;
}

.LawViewNewParagraphButton,
.LawViewEditButton,
.LawViewDeleteButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 26px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: var(--dark-purple)
}
.LawViewNewParagraphButton:hover,
.LawViewEditButton:hover,
.LawViewDeleteButton:hover {
    border: 1px solid var(--dark-purple);
}

.LawViewNewParagraphButton {
    background: var(--white);
}
.LawViewEditButton {
    background: var(--lighter-blue);
    margin-left: 15px;
}
.LawViewDeleteButton {
    background: var(--light-red);
    margin-left: 15px;
}
.LawViewParagraphRow {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

label > .LawViewIrrelevantCheckbox {
    margin-right: 5px;
}
label:has(.LawViewIrrelevantCheckbox) {
    display: flex;
    color: var(--delegation-black);
    font-size: 12px;
    margin-right: 5px;
}

.lawListFilterContainerRightSide {
    margin-left: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 275px;
    min-width: 260px;
    width: 30%;
}

.LawReportTopArea {
    display: flex;
    justify-content: flex-end;
}

.lawListContainer {
    display: flex;
}

.AlphabetFilter {
    display: flex;
    flex-direction: column;
    margin-right: 15px;
}
.AlphabetFilter[data-extraTopMargin=true] {
    margin-top: 30px;
}

.AlphabetFilterButton {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: black;
    margin: 5px;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-family: Inter, serif;
}
.AlphabetFilterButton:hover {
    background: var(--blue);
    color: var(--white);
}
.AlphabetFilterButton[data-hasActiveLaw=true] {
    background: var(--light-blue);
    color: black;
}
.AlphabetFilterButton[data-active=true] {
    background: var(--blue);
    color: var(--white);
}

.OrgUnitTreeSpacer {
    width: 100%;
    height: 20px;
}

/* Public page */

.PublicHelperTextContainer {
    display: flex;
    align-items: center;
    color: var(--dark-purple);
}
.PublicHelperTextContainer > svg {
    margin: 0 20px;
}

.PublicDescriptionFieldSmall {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: white;
    height: 150px;
    margin: -24px 0 0 0;
    overflow: hidden;
    border-radius: 8px;
}
.PublicDescriptionFieldInnerContainer {
    width: 100%;
    display: flex;
    padding: 10px;
    font-size: 14px;
}
.PublicDescriptionFieldSmall > .PublicDescriptionFieldInnerContainer > div:first-child {
    overflow: hidden;
}
.PublicDescriptionField > .PublicDescriptionFieldInnerContainer > div {
    height: calc(100vh - 200px);
    overflow: auto;
}
.PublicDescriptionFieldInnerContainer > div:first-child {
    margin-right: 20px;
    margin-bottom: 0;
    padding-top: 5px;
    padding-right: 25px;
    width: 100%;
}

.PublicDescriptionField {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: var(--white);
    margin-top: -24px;
    border-radius: 8px;
    height: calc(100% - 158px);
    width: 100%;
}
.PublicDescriptionField > .PublicDescriptionFieldInnerContainer > div::-webkit-scrollbar {
    width: 6px;
}
.PublicDescriptionField > .PublicDescriptionFieldInnerContainer > div::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #71A4F7;
    height: 40px;
}
.PublicDescriptionField > .PublicDescriptionFieldInnerContainer > div::-webkit-scrollbar-track {
    margin-top: 40px;
    border-radius: 8px;
    background-color: #C4DBFF;
}

.PublicDescriptionFieldButton {
    font-family: Inter;
    position: relative;
    top: 85px;
    width: 185px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    margin-right: 20px;
    background: var(--lighter-blue);
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 16px;
    gap: 8px;
    margin-top: 5px;
}
.PublicDescriptionFieldButton > svg {
    width: 20px;
    height: 20px;
}

.PublicDescriptionField,
.PublicDescriptionFieldSmall {
    line-height: 1rem;
}

.PublicDescriptionFieldInnerContainer > div:first-child > * {
    font-size: 14px;
    color: black;
}
.PublicDescriptionFieldInnerContainer > h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Law tree */

.LawTreeLawList {
    display: flex;
}


.DraftTabRow {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
}
.DraftTabContainer {
    display: flex;
    flex-wrap: wrap;
}

.DraftPageComponentContainer {
    
}
.DraftPageComponentContainerOverflow {
    overflow: auto;
}

/* Preview page, log view toggle */

.LogViewReportToggleContainer {
    display: flex;
    justify-content: space-between;
    min-width: 180px;
    margin-right: 40px;
}
.LogViewReportToggleContainer > div:last-child {
    margin-top: -8px;
}

.LogViewReportToggleContainerMobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 110px;
}
.LogViewReportToggleContainerMobile > div:last-child {
    margin-top: 8px;
}

span.LogViewToggleSwitch {
    width: 28px;
    height: 16px;
    padding: 0;
    display: flex;
}

span.LogViewToggleSwitchBase {
    padding: 2px;
    color: grey;
    &.LogViewToggleSwitchChecked {
        transform: translateX(12px);
        color: white;
        & + .LogViewToggleTrack {
            opacity: 1;
            background-color: var(--blue);
        }
    }
}

.LogViewToggleSwitch span.LogViewToggleThumb {
    width: 12px;
    height: 12px;
    box-shadow: none;
    color: white;
}

.LogViewToggleSwitch span.LogViewToggleTrack {
    border-radius: 8px;
    opacity: 1;
    background-color: var(--blue);
}

.LogViewToggleGridContainer {
    cursor: pointer;
}




.LogViewTable {
    width: 100%;
    font-size: 14px;
    color: var(--black);
}

.LogViewTableHeader td {
    padding-top: 7px;
    padding-bottom: 7px;
}
.LogViewTableHeader td:first-child {
    padding-left: 20px;
}
.LogViewTableHeader td:last-child {
    padding-right: 5px;
}

.LogViewTableSortButton {
    font-family: Inter, serif;
    font-size: 14px;
    border: none;
    background: transparent;
    color: var(--gray);
    cursor: pointer;
    display: flex;
    padding: 0;
}

.LogViewRowBody {
}
.LogViewRowBody td {
    background: white;
}
.LogViewRowBody tr:not(:first-child):nth-last-child(2) td {
    border-radius: 0 0 8px 8px;
}
/*
    These can be a bit complicated, but it selects form tbody
    Selecting the first <tr> that is second to last (last is spacer <tr>)
        (this basically only picks rows that are not extended)
    Select that elements first <td>
    Then do the same but with last <td>
*/
.LogViewRowBody tr:first-child:nth-last-child(2) td:first-child {
    border-radius: 8px 0 0 8px;
}
.LogViewRowBody tr:first-child:nth-last-child(2) td:last-child {
    border-radius: 0 8px 8px 0;
}
.LogViewRowBody tr:nth-last-child(2) td div {
    margin-bottom: 5px;
}

.LogViewRowLaw {
}
.LogViewRowLaw td {
    vertical-align: middle;
    padding-top: 7px;
    padding-bottom: 7px
}
.LogViewRowLaw td strong {
    font-size: 16px;
}
.LogViewRowLaw td:first-child {
    font-size: 12px;
    border-top-left-radius: 8px;
    padding-left: 20px;
}
.LogViewRowLaw td:last-child {
    font-size: 12px;
    border-top-right-radius: 8px;
    padding-right: 20px;
    text-align: center;
}

.LogViewRowLawButton {
    font-family: Inter, serif;
    width: 140px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    padding: 2px 10px 2px 8px;
    background: var(--light-blue);
    cursor: pointer;
    margin: 0 10px;
}
.LogViewRowLawButton :first-child {
    margin-right: 5px;
}

.LogViewRowParagraph {

}

.LogViewRowDelegations {
    display: flex;
    margin: 5px 20px 5px 20px;
}
.LogViewRowDelegations div {
    display: flex;
    flex-direction: column;
    width: 150px;
    min-width: 150px;
    background: var(--light-blue);
    padding-top: 5px;
    padding-bottom: 5px;
}
.LogViewRowDelegations div:first-child {
    width: calc(100% - 280px);
    min-width: calc(35% + 70px);
    border-radius: 8px 0 0 8px;
    padding-left: 10px;
    padding-right: 10px;
}
.LogViewRowDelegations div:last-child {
    width: 130px;
    min-width: 130px;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    text-align: center;
}

.LogViewDelegationPath {
    font-size: 12px;
}

.LogViewRowSpacer {
    height: 8px;
    background: transparent;
}


/*
    Version Page
*/

.VersionPageContainer {
    color: black;
    margin: 0 40px;
}

.VersionPagePublish {
    width: fit-content;
    font-size: 16px;
    margin-bottom: 25px;
    margin-top: -25px;
}
.VersionPagePublish > :first-child {
    padding: 8px 15px;
    border-radius: 14px;
    border: none;
    display: flex;
}
.VersionPagePublish > * > svg {
    margin-right: 5px;
}
.VersionPagePublishButton {
    background: var(--dark-purple);
    color: white;
    cursor: pointer;
    font-size: 16px;
}
.VersionPagePublishPublished {
    background: var(--green);
    color: black;
}
.VersionPagePublishCant {
    background: var(--light-red);
    color: black;
}

.VersionPageHeaderMetaData {
    display: flex;
    flex-wrap: wrap;
}
.VersionPageHeaderMetaData > div:last-child {
    margin-left: auto;
}
.VersionPageHeaderMetaData > span {
    width: 120px;
    min-width: 120px;
}
.VersionPageHeaderMetaData > span:last-of-type {
    width: 270px;
    min-width: 270px;
    margin-left: 20px;
}
.VersionPageHeaderMetaData > span > p:first-child {
    font-size: 14px;
    color: var(--dark-purple);
}
.VersionPageHeaderMetaData > span > *:not(:first-child) {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.VersionPageHeaderMetaData > span > p > button {
    background: transparent;
    border: none;
}
.VersionPageHeaderMetaData > span > p > button:hover {
    cursor: pointer;
}
.VersionPageHeaderMetaData > span > p > button > svg {
    font-size: 14px;
}

.VersionPageHeaderButtonHolder {
    display: flex;
}
.VersionPageHeaderButtonHolder > * {
    margin-right: 10px;
}

.VersionPageInfoTextButton {
    display: flex;
    align-items: center;
    height: 40px;
    min-width: 210px;
    border: 1px solid transparent;
    background: var(--lighter-blue);
    border-radius: 16px;
    font-size: 16px;
    cursor: pointer;
}
.VersionPageInfoTextButton:hover {
    border: 1px solid var(--dark-purple);
}
.VersionPageInfoTextButton :first-child {
    margin-right: 5px;
}

.VersionPagePoliticianLinkButton {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
    border-radius: 50%;
    background-color: var(--lighter-yellow);
    color: var(--dark-purple);
    font-size: 20px;
    cursor: pointer;
}
.VersionPagePoliticianLinkButton:hover {
    border: 1px solid var(--dark-purple);
}

.VersionPageToggleSwitch {
    display: flex;
    flex-direction: row-reverse;
}

.VersionPageContent {
}

.VersionPageReportContainerContainer {
    margin-top: 20px;
}

.VersionPageInfoTextContainer {
    font-size: 14px;
    padding: 10px;
}
.VersionPageInfoTextContainer > h2 {
    font-size: 24px;
    padding: 20px;
}

.Tooltip .MuiTooltip-tooltip {
    font-size: 14px;
    background: var(--darker-gray);
}


.PoliticianLinkModal {
}
.PoliticianLinkModal label,
.PoliticianLinkModal a,
.PoliticianLinkModal p,
.PoliticianLinkModal time{
    font-size: 14px;
}

.PoliticianLinkModalBox {
    border-radius: 16px;
    padding: 0;
}

.PoliticianLinkModalBox > .PoliticianLinkModalRow > * {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 10px;
    color: var(--dark-purple);
}

.PoliticianLinkModalRow {
    padding-bottom: 10px;
}

.PoliticianLinkModalLinkRow {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}


.PoliticianLinkModalSubtitle {
    background: var(--lighter-blue);
    padding: 10px 20px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.PoliticianLinkModalRadioContainer {
    display: flex;
}
.PoliticianLinkModalRadioContainer > label {
    display: flex;
}
.PoliticianLinkModalRadioContainer > label:not(:first-child) {
    margin-left: 15px;
}
.PoliticianLinkModalRadioContainer > label > *:last-child {
    margin-left: 8px;
}

.PoliticianLinkModalLinkInfo {
    max-width: 415px;
    word-break: break-all;
}
.PoliticianLinkModalLinkInfo a {
    margin-bottom: 10px;
    text-decoration: underline;
    color: black;
}

.PoliticianLinkModalLinkGenerate:hover,
.PoliticianLinkModalLinkCopy:hover,
.PoliticianLinkModalLinkCopy:focus,
.PoliticianLinkModalLinkCopy:active,
.PoliticianLinkModalLinkDelete:hover {
    color: white;
    box-shadow: none;
    border-color: #dbdbdb; /* Same color as kf-bui Button border */
}

.PoliticianLinkModalLinkGenerate {
    font-size: 16px;
    border-radius: 24px;
    color: white;
    background: var(--dark-purple);
    width: 130px;
}
.PoliticianLinkModalLinkCopy {
    margin-bottom: 5px;
    font-size: 12px;
    border-radius: 24px;
    color: white;
    background: var(--dark-purple);
    width: 100px;
}
.PoliticianLinkModalLinkDelete {
    font-size: 12px;
    border-radius: 24px;
    color: white;
    background: var(--red);
    width: 100px;
}

.PoliticianLinkModalRowLast {
    display: flex;
    flex-direction: row-reverse;
}

.PoliticianLinkModalCloseButton {
    font-size: 16px;
    border-radius: 24px;
    color: var(--dark-purple);
    background: white;
    width: 80px;
    border: 1px solid var(--dark-purple);
}
.PoliticianLinkModalCloseButton:hover {
    border-color: var(--dark-purple);
}








:root {
  --black: #000000;
  --white: #ffffff;
  --delegation-black: #021815;
  --dark-purple: #050037;
  --green: #9BDFB7;
  --light-green: #EAF6E7;
  --red: #EA5A3A;
  --light-red: #F4AC9C;
  --lighter-red: #F1DCD9;
  --blue: #71A4F7;
  --light-blue: #E1ECFF;
  --lighter-blue: #C5DBFF;
  --light-yellow: #FCF5D3;
  --lighter-yellow: #F5E19A;
  --pink: #FCE6E1;
  --gray: #9A9999;
  --darker-gray: #616161;
  --transparent-gray: #00000066;
  --box-shadow: #00000026;
}



@-webkit-keyframes medium-editor-image-loading {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes medium-editor-image-loading {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes medium-editor-pop-upwards {
  0% {
    opacity: 0;
    -webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
    transform: matrix(0.97, 0, 0, 1, 0, 12);
  }
  20% {
    opacity: .7;
    -webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
    transform: matrix(0.99, 0, 0, 1, 0, 2);
  }
  40% {
    opacity: 1;
    -webkit-transform: matrix(1, 0, 0, 1, 0, -1);
    transform: matrix(1, 0, 0, 1, 0, -1);
  }
  100% {
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
}

@keyframes medium-editor-pop-upwards {
  0% {
    opacity: 0;
    -webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
    transform: matrix(0.97, 0, 0, 1, 0, 12);
  }
  20% {
    opacity: .7;
    -webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
    transform: matrix(0.99, 0, 0, 1, 0, 2);
  }
  40% {
    opacity: 1;
    -webkit-transform: matrix(1, 0, 0, 1, 0, -1);
    transform: matrix(1, 0, 0, 1, 0, -1);
  }
  100% {
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
}

.medium-editor-anchor-preview {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  left: 0;
  line-height: 1.4;
  max-width: 280px;
  position: absolute;
  text-align: center;
  top: 0;
  word-break: break-all;
  word-wrap: break-word;
  visibility: hidden;
  background-color: #363636;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  padding: 4px 9px;
}
.medium-editor-anchor-preview a {
  color: #fff;
  display: inline-block;
  margin: 5px 5px 10px;
}

.medium-editor-anchor-preview-active {
  visibility: visible;
}

.medium-editor-dragover {
  background: #ddd;
}

.medium-editor-image-loading {
  -webkit-animation: medium-editor-image-loading 1s infinite ease-in-out;
  animation: medium-editor-image-loading 1s infinite ease-in-out;
  background-color: #333;
  border-radius: 100%;
  display: inline-block;
  height: 40px;
  width: 40px;
}

.medium-editor-placeholder {
  color: #757575;
  position: relative;
}
.medium-editor-placeholder:after {
  content: attr(data-placeholder) !important;
  font-style: italic;
  position: absolute;
  left: 0;
  top: 0;
  white-space: pre;
  padding: inherit;
  margin: inherit;
}

.medium-editor-placeholder-relative {
  position: relative;
}
.medium-editor-placeholder-relative:after {
  content: attr(data-placeholder) !important;
  font-style: italic;
  position: relative;
  white-space: pre;
  padding: inherit;
  margin: inherit;
}

.medium-toolbar-arrow-under:after,
.medium-toolbar-arrow-over:before {
  border-style: solid;
  content: '';
  display: block;
  height: 0;
  left: 50%;
  margin-left: -8px;
  position: absolute;
  width: 0;
}

.medium-toolbar-arrow-under:after {
  border-width: 8px 8px 0 8px;
}

.medium-toolbar-arrow-over:before {
  border-width: 0 8px 8px 8px;
  top: -8px;
}

.medium-editor-toolbar {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  left: 0;
  position: absolute;
  top: 0;
}
.medium-editor-toolbar ul {
  margin: 0;
  padding: 0;
}
.medium-editor-toolbar li {
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
}
.medium-editor-toolbar li button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 3px;
  background-color: transparent;
  box-shadow: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 1rem;
  height: 2.25em;
  line-height: 1.5;
  position: relative;
  vertical-align: top;
  user-select: none;
  color: #050037;
  cursor: pointer;
  padding-left: 0.75em;
  padding-right: 0.75em;
  text-align: center;
  outline: none;
  white-space: nowrap;
  justify-content: flex-end;
}

.medium-editor-toolbar li button:hover {
  outline: none;
  background-color: #f9f9f9;
  border-color: #050037;
  color: #050037;
}

.medium-editor-toolbar li button:focus {
  outline: none;
  border: 1px solid #050037;
  -webkit-box-shadow: 0 0 0.5em rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0.5em rgba(255, 255, 255, 0.25);
  color: #050037;
}

.medium-editor-element:focus {
  outline: unset;
  border-color: #050037 !important;
  box-shadow: 0 0 0 0.125em #05003740 !important;
}

.medium-editor-toolbar li button:active {
  outline: none;
  background-color: #f2f2f2;
  border-color: transparent;
  -webkit-box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.2);
  box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.2);
  color: #0a0a0a;
}

.medium-editor-toolbar li .medium-editor-action-underline {
  text-decoration: underline;
}
.medium-editor-toolbar li .medium-editor-action-pre {
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 12px;
  font-weight: 100;
  padding: 15px 0;
}

.medium-editor-toolbar-active {
  visibility: visible;
}

.medium-editor-sticky-toolbar {
  position: fixed;
  top: 1px;
}

.medium-editor-relative-toolbar {
  position: relative;
}

.medium-editor-toolbar-active.medium-editor-stalker-toolbar {
  -webkit-animation: medium-editor-pop-upwards 160ms forwards linear;
  animation: medium-editor-pop-upwards 160ms forwards linear;
}

.medium-editor-action-bold {
  font-weight: bolder;
}

.medium-editor-action-italic {
  font-style: italic;
}

.medium-editor-toolbar-form {
  display: none;
}
.medium-editor-toolbar-form input,
.medium-editor-toolbar-form a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.medium-editor-toolbar-form .medium-editor-toolbar-form-row {
  line-height: 14px;
  margin-left: 5px;
  padding-bottom: 5px;
}
.medium-editor-toolbar-form .medium-editor-toolbar-input,
.medium-editor-toolbar-form label {
  border: none;
  box-sizing: border-box;
  font-size: 14px;
  margin: 0;
  padding: 6px;
  width: 316px;
  display: inline-block;
}
.medium-editor-toolbar-form .medium-editor-toolbar-input:focus,
.medium-editor-toolbar-form label:focus {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  box-shadow: none;
  outline: 0;
}
.medium-editor-toolbar-form a {
  display: inline-block;
  font-size: 24px;
  font-weight: bolder;
  margin: 0 10px;
  text-decoration: none;
}

.medium-editor-toolbar-form-active {
  display: block;
}

.medium-editor-toolbar-actions:after {
  clear: both;
  content: "";
  display: table;
}

.medium-editor-element {
  word-wrap: break-word;
  min-height: 30px;
}
.medium-editor-element img {
  max-width: 100%;
}
.medium-editor-element sub {
  vertical-align: sub;
}
.medium-editor-element sup {
  vertical-align: super;
}

.medium-editor-hidden {
  display: none;
}

