/*
Copyright (C) 2001-2021 OTRS AG, https://otrs.com/
Copyright (C) 2021 Znuny GmbH, https://znuny.org/

This software comes with ABSOLUTELY NO WARRANTY. For details, see
the enclosed file COPYING for license information (GPL). If you
did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
*/

/**
 * @package     Skin "Default"
 * @section     Input Fields
 */

@media screen,projection,tv,handheld {

/**
 * @subsection  General
 */
input:hover {
    cursor: pointer;
}

div.InputField_Container {
    position: static;
    display: flex;
    width: 100%;
}

#TransitionForm .Condition fieldset > div:first-child .InputField_Container:first-of-type {
    background: var(--white);
    border-radius: var(--border-radius-sm);
}

div.InputField_Container:hover,
input.InputField_Search {
    cursor: pointer;
}

input.InputField_Search:focus {
    cursor: text;
}

div.InputField_InputContainer {
    position: relative;
    display: flex;
    align-items: center;
    line-height: 11px;
    /*width: var(--main-field-size);*/
    width: 100%;
}

.InlineActions div.InputField_InputContainer {
    background: transparent;
}

#ticketDetails .Content div.InputField_InputContainer {
    max-width: 185px;
}

.ticket-modal div.InputField_InputContainer,
.mainStructure .SidebarColumn div.InputField_InputContainer {
    max-width: 80px;
}

.card-item div.InputField_Container,
.card-item div.InputField_Container div.InputField_InputContainer {
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius-sm);
}

.InputField_InputContainer i.fa.fa-caret-down {
    position: absolute;
    right: 12px;
    /*top: 23%;*/
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 100;
}

.InputField_Search:focus + i {
    transform: rotate(180deg);
}

.InputField_Search::-ms-clear {
    display: none;
    width : 0;
    height: 0;
}

.InputField_Search,
.InputField_Autocomplete {
    min-width: 120px;
}

.InputField_Search.Small {
    min-width: 130px;
    line-height: normal;
}

.InputField_Search[readonly=readonly]:focus {
    border-color: #C0C0C0;
}

.InputField_Search[readonly=readonly].Error:focus {
    border-color: #ff505e;
}

.SidebarColumn .WidgetSimple .InputField_Search,
.SidebarColumn .WidgetSimple .InputField_Autocomplete {
    min-width: 80px;
}

.WidgetSettingsForm .InputField_Search,
.WidgetSettingsForm .InputField_Autocomplete {
    min-width: 0px;
}

#Header div.InputField_Container {
    color: #000;
}

#ToolBar li.Extended form div.InputField_Container * {
    float: none;
}

#ToolBar div.InputField_Container li {
    height: auto;
    margin: inherit;
    width: auto;
}

#ToolBar div.InputField_Container a {
    display: inline-block;
    height: auto;
    text-indent: 0;
    width: auto;
}

#ToolBar .InputField_Search,
#ToolBar .InputField_Autocomplete {
    min-width: 65px;
}

.InputField_Search[disabled="disabled"] {
    /*color: #aaa;*/
    background: var(--disabled);
}

div.InputField_InputContainer .InputField_Search {
    margin: 0;
    z-index: 50;
    background: transparent; /* so <i>, positioned below, is visible */
    position: relative;
}

div.InputField_InputContainer .InputField_Search:focus + i {
    transform-origin: center center;
    transform: rotate(180deg);
}

table div.InputField_InputContainer .InputField_Search {
    min-width: 200px;
}

@media only screen and (max-width: 1024px) {
    table div.InputField_InputContainer .InputField_Search {
        min-width: 140px;
    }
}


#ContextSettingsDialog div.InputField_InputContainer .InputField_Search {
    min-width: 0px;
}

a.InputField_Action {
    position: absolute;
    color: var(--gray-dark);
    /* display: block;
    top: 11px; - parent has display:flex and align-items: center*/
    transition: var(--main-transition);
}

.InputField_InputContainer a.InputField_Action.InputField_ClearSearch {
    color: var(--gray-dark-semi);
    top: 0;
    display: flex;
    align-items: center;
    z-index: 50;
    height: 100%;
    margin-right: 4px;
}

.InputField_InputContainer a.InputField_Action.InputField_ClearSearch:hover {
    color: var(--black);
    text-decoration: none;
}

a.InputField_Action:hover {
    color: var(--primary-color);
}

div.InputField_Selection {
    display: none;
    position: absolute;
    top: 4px;
    height: 75%;
    line-height: 11px;
    text-shadow: none;
    /*margin-left: var(--margin-sm);*/
    border-radius: 6px;
    padding: 0 var(--padding-xs);
    z-index: 50;
    background: var(--pill-color-selected);
    transition: var(--main-transition);
    border: var(--border-width) var(--border-solid) var(--border-color);
}

.ActionRow div.InputField_Selection,
.InlineActions div.InputField_Selection {
    background: none;
    border: 0;
}

/*div.InputField_Selection {
    display: flex !important;
    align-items: center;
    position: absolute;
    z-index: 500;
    width: 100%;
    height: 100%;
    top: 0;
    line-height: var(--main-line-height);
    background-color: transparent;
    border-radius: var(--border-radius-xs);
    border: var(--border-width) var(--border-solid) var(--border-color);
}*/


div.InputField_Selection div {
    display: inline-block;
    font-size: var(--font-size-sm);
}

div.InputField_Selection div.Text {
    height: 100%;
    padding: 0 var(--padding-xs);
    /*line-height: 21px;*/
    display: inline-flex;
    align-items: center;
}

div.InputField_Selection div.Remove {
    color: var(--black);
    cursor: pointer;
}

div.InputField_Selection div.Remove i {
    font-size: var(--font-size-xs);
}

div.InputField_Selection div.Remove:hover a {
    background: var(--icon-hover-color-medium);
}

.AlreadyDisabled div.InputField_Selection div.Text {
    cursor: default;
}

.AlreadyDisabled div.InputField_Selection div.Remove {
    visibility: hidden;
    display: none;
}

div.InputField_Selection div.Remove a {
    color: var(--black);
    background-color: transparent;
    padding: 2px 4px;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

div.InputField_More {
    position: absolute;
    white-space: nowrap;
    /*bottom: 10px; - parent has display:flex and align-items: center */
}

div.InputField_ListContainer {
    position: absolute;
    z-index: 6103;
    display: none;
    text-shadow: none;
    padding-top: 1px;
    border-radius: var(--border-radius-xs);
    overflow: auto;
    background: var(--menu-bg);
    box-shadow: var(--menu-box-shadow);
}

@media only screen and (max-width: 1024px) {
    div.InputField_ListContainer {
        z-index: 999999;
    }
}


div.InputField_TreeContainer {
    background-color: var(--white);
    border: 1px solid #ccc;
    border-top: none;
    overflow-y: auto;
    box-sizing: content-box;
    line-height: 18px;
    border: 0;
    border-top: none;
    overflow-y: auto;
    box-sizing: border-box;
    line-height: 18px;
    /*border-radius: var(--border-radius-xs) var(--border-radius-xs) 0 0;*/
    min-width: 75px;
}

.ExpandToTop div.InputField_TreeContainer {
    border-top: 0;
    border-bottom: none;
}

div.InputField_ToolbarContainer {
    line-height: 21px;
    box-sizing: content-box;
    min-height: 21px;
    min-width: 275px;
    background: var(--menu-bg);
    box-shadow: var(--menu-box-shadow);
    border-bottom-left-radius: var(--border-radius-xs);
    border-bottom-right-radius: var(--border-radius-xs);
}

div.InputField_ToolbarContainer ul {
    width: 100%;
    display: table;
}

div.InputField_ToolbarContainer ul li {
    display: table-cell;
    text-align: center;
    padding: var(--padding-xs);
}

div.InputField_ToolbarContainer ul li:after {
    color: #bbb;
    content: "|";
    display: inline-block;
    float: right;
    cursor: default;
}

div.InputField_ToolbarContainer ul li:last-child:after {
    display: none;
}

.RTL div.InputField_ToolbarContainer ul li:last-child:after {
    display: inline-block;
}

.RTL div.InputField_ToolbarContainer ul li:first-child:after {
    display: none;
}

div.InputField_ToolbarContainer ul li a {
    color: #000;
    display: inline-block;
    margin: 2px 5px;
    font-size: 11px;
    line-height: 15px;
}

div.InputField_ToolbarContainer i {
    color: #000;
}

div.InputField_ToolbarContainer ul li a:hover {
    border-bottom: 2px solid #f92;
    margin-bottom: 0;
}

.InputField_Confirm,
.InputField_Filters.Active {
    font-weight: bold;
}

.InputField_FiltersList {
    display: flex;
    background: var(--white);
    white-space: nowrap;
    z-index: 1500;
    width: 100%;
    font-size: 11px;
}

.InputField_FiltersList span {
    cursor: default;
}

.InputField_FiltersList input[disabled="disabled"] + span {
    font-style: italic;
    color: #aaa;
}

/**
 * @subsection  Select
 */

.Field select,
form select {
    border: var(--border-width) var(--border-solid) var(--border-color);
    background-color: var(--white);
    -webkit-box-shadow: none;
    box-shadow: none;
    /*margin: var(--margin-xs);*/ 
    padding: var(--padding-xs) var(--padding-sm);
    font-size: var(--font-size-sm);
    color: var(--black);
    border-radius: var(--border-radius-sm);
    box-sizing: border-box;
    line-height: var(--input-line-height);
    transition: var(--main-transition);
    height: 30px;
}

form select:first-child {
    margin-left: 0;
}


.select-field-wrapper {
    display: flex;
    flex-direction: row;
    gap: var(--gap-xs);
    align-items: center;
}



/**
 * @subsection  jsTree theme
 */

.jstree-InputField {
    /*font-size: 11px;*/
    border: none;
    box-shadow: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

.jstree-InputField .jstree-node,
.jstree-InputField .jstree-children,
.jstree-InputField .jstree-container-ul {
    display: block;
    margin: 0;
    list-style-type: none;
    list-style-image: none;
    text-align: left;
}

.jstree-container-ul {
    padding: var(--padding-sm);
}

.RTL .jstree-InputField .jstree-node,
.RTL .jstree-InputField .jstree-children,
.RTL .jstree-InputField .jstree-container-ul {
    text-align: right;
}

.jstree-InputField .jstree-children .jstree-children {
    padding-left: 12px;
}

.jstree-InputField .jstree-node {
    white-space: nowrap;
}

.jstree-InputField .jstree-node.jstree-hidden {
    display: none !important;
}

.jstree-InputField .jstree-anchor {
    display: inline-block;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    vertical-align: top;
    color: var(--black);
    font-size: var(--font-size-sm);
}

.jstree-InputField .jstree-anchor:focus {
    outline: 0;
    background: transparent !important;
}

.jstree-InputField .jstree-anchor,
.jstree-InputField .jstree-anchor:link,
.jstree-InputField .jstree-anchor:visited,
.jstree-InputField .jstree-anchor:hover,
.jstree-InputField .jstree-anchor:active {
    text-decoration: none;
    color: inherit;
}

.jstree-InputField .jstree-icon {
    display: inline-block;
    text-decoration: none;
    margin: 0;
    padding: 0;
    vertical-align: top;
    text-align: center;
}

.jstree-InputField .jstree-icon:empty {
    display: inline-block;
    text-decoration: none;
    margin: 0;
    padding: 0;
    vertical-align: top;
    text-align: center;
}

/*.cke_top {
    background-color: transparent !important;
}*/

.cke_toolbar_separator {
    display: none !important;
}

a.cke_button:hover {
    background-color: #E2E2EA !important;
    border-radius: 5px !important ;
    border: none !important;
    padding: 4px 6px !important;
    cursor: pointer;
}

.RichTextField #cke_RichText,
.RichTextField #cke_Body,
.RichTextField #cke_EmailBody,
.RichTextField .cke {
    width: 100% !important;
    max-width: 99.7%; /* to avoid bug where border-right disappears in some containers*/
    /*max-width: var(--main-field-size) !important;*/
    border-radius: 10px !important;
    border: var(--border-width) var(-border-solid) var(--border-color) !important;
    overflow: hidden;
}

.cke_inner {
    border-radius: 10px !important;
}

.cke_bottom {
    display: none !important;
}

.jstree-InputField .jstree-ocl {
    cursor: pointer;
}

.jstree-InputField .jstree-leaf > .jstree-ocl {
    cursor: default;
}

.jstree-InputField .jstree .jstree-open > .jstree-children {
    display: block;
}

.jstree-InputField .jstree .jstree-closed > .jstree-children,
.jstree-InputField .jstree .jstree-leaf > .jstree-children {
    display: none;
}

.jstree-InputField .jstree-anchor > .jstree-themeicon {
    margin-right: 2px;
}

.jstree-InputField .jstree-no-icons .jstree-themeicon,
.jstree-InputField .jstree-anchor > .jstree-themeicon-hidden {
    display: none;
}

.jstree-InputField .jstree-rtl .jstree-anchor {
    padding: 0 1px 0 4px;
}

.jstree-InputField .jstree-rtl .jstree-anchor > .jstree-themeicon {
    margin-left: 2px;
    margin-right: 0;
}

.jstree-InputField .jstree-rtl .jstree-node {
    margin-left: 0;
}

.jstree-InputField .jstree-rtl .jstree-container-ul > .jstree-node {
    margin-right: 0;
}

.jstree-InputField .jstree-hovered {
    background-color: transparent !important;
}

.jstree-InputField .Disabled > .jstree-anchor {
    color: #aaa !important;
    font-style: italic;
    cursor: default;
}

.jstree-InputField .jstree-open,
.jstree-InputField .jstree-closed {
    cursor: pointer;
}

.jstree-InputField .jstree-wholerow-ul {
    position: relative;
}

.jstree-InputField .jstree-wholerow-ul .jstree-leaf > .jstree-ocl {
    cursor: pointer;
}

.jstree-InputField .jstree-wholerow-ul .jstree-anchor,
.jstree-InputField .jstree-wholerow-ul .jstree-icon {
    position: relative;
}

.jstree-InputField-NoTree .jstree-InputField .jstree-wholerow-ul .jstree-anchor,
.jstree-InputField-NoTree .jstree-InputField .jstree-wholerow-ul .jstree-icon {
    display: flex;
    align-items: center;
}

.jstree-InputField .jstree-wholerow-ul .jstree-wholerow {
    width: 100%;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    height: 34px;
    width: 100%;
    border-radius: var(--border-radius-xs);

}

.jstree-InputField .jstree-wholerow-ul .jstree-wholerow-clicked {
    background-color: var(--primary-color);
}

.jstree-InputField .jstree-wholerow-ul .jstree-wholerow:hover,
.jstree-InputField .jstree-wholerow-ul .jstree-wholerow-hovered,
.jstree-InputField .jstree-focused > .jstree-wholerow {
    background-color: var(--gray-light);
}

.jstree-InputField .jstree-wholerow-ul .jstree-wholerow-clicked:hover,
.jstree-InputField .jstree-wholerow-ul .jstree-wholerow-clicked.jstree-wholerow-hovered,
.jstree-InputField .jstree-focused > .jstree-wholerow-clicked {
    background-color: var(--gray-light);
}

.jstree-InputField .Disabled > .jstree-wholerow:hover,
.jstree-InputField .Disabled > .jstree-wholerow-hovered {
    background-color: var(--disabled);
    cursor: default;
}

.jstree-InputField .Disabled.jstree-open > .jstree-anchor,
.jstree-InputField .Disabled.jstree-closed > .jstree-anchor {
    cursor: pointer;
}

.jstree-InputField .jstree-clicked, 
.jstree-InputField .jstree-anchor.jstree-clicked {
    color: var(--white);
}

.jstree-InputField .jstree-hovered.jstree-clicked {
    color: var(--black);
}


.jstree-InputField.jstree-rtl .jstree-node {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==");
    background-position: 100% 1px;
    background-repeat: repeat-y;
}

.jstree-InputField.jstree-rtl .jstree-last {
    background: transparent;
}

.jstree-InputField.jstree-rtl .jstree-open > .jstree-ocl {
    background-position: -135px -39px;
}

.jstree-InputField.jstree-rtl .jstree-closed > .jstree-ocl {
    background-position: -103px -39px;
}

.jstree-InputField.jstree-rtl .jstree-leaf > .jstree-ocl {
    background-position: -71px -39px;
}

.jstree-InputField.jstree-rtl > .jstree-no-dots .jstree-node,
.jstree-InputField.jstree-rtl > .jstree-no-dots .jstree-leaf > .jstree-ocl {
    background: transparent;
}

.jstree-InputField.jstree-rtl > .jstree-no-dots .jstree-open > .jstree-ocl {
    background-position: -39px -39px;
}
.jstree-InputField.jstree-rtl > .jstree-no-dots .jstree-closed > .jstree-ocl {
    background-position: -7px -39px;
}

.jstree-InputField .jstree-themeicon-custom {
    background-color: transparent;
    background-image: none;
    background-position: 0 0;
}

.jstree-InputField.jstree-rtl .jstree-node {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg==');
}

.jstree-InputField.jstree-rtl .jstree-last {
    background: transparent;
}

.jstree-InputField .jstree-search {
    font-style: italic;
}

.jstree-InputField .jstree-no-match .jstree-ocl {
    display: none;
}

.jstree-InputField .jstree-no-match {
    margin-left: 2px !important;
}

.jstree-InputField.jstree-rtl .jstree-no-match {
    margin-right: 2px !important;
}

/**
 * @subsection  jsTree theme - Tree variant
 */
.jstree-InputField-Tree .jstree-node {
    /*
    min-height: 18px;
    line-height: 18px;
    margin-left: 18px;
    min-width: 18px;
    */
}

.RTL .jstree-InputField-Tree .jstree-node {
    margin-right: 18px;
    margin-left: 0;
}

.jstree-InputField-Tree > .jstree-container-ul > .jstree-node,
.RTL .jstree-InputField-Tree > .jstree-container-ul > .jstree-node {
    margin-left: 0;
    margin-right: 0;
}

.jstree-InputField-Tree .jstree-anchor {
    /*
    height: 18px;
    line-height: 18px;
    */
}

.jstree-InputField-Tree .jstree-icon {
    width: 18px;
    height: 18px;
    line-height: 18px;

}

.jstree-InputField-Tree .jstree-icon:empty {
    width: 18px;
    height: 18px;
    line-height: 18px;
}

.jstree-InputField-Tree.jstree-rtl .jstree-node {
    margin-right: 18px;
}

.jstree-InputField-Tree .jstree-wholerow {
/*
    height: 18px;
*/
}

.jstree-InputField-Tree .jstree-node,
.jstree-InputField-Tree .jstree-icon {
    background-image: url('../img/inputfield_tree.png');
}

.jstree-InputField-Tree .jstree-node {
    background-position: -295px -7px;
    background-repeat: repeat-y;
}

.jstree-InputField-Tree .jstree-last {
    background: transparent;
}

.jstree-InputField-Tree .jstree-open > .jstree-ocl {
    background-position: -135px -7px;
}

.RTL .jstree-InputField-Tree .jstree-open > .jstree-ocl {
    background-position: -135px -39px;
}

.jstree-InputField-Tree .jstree-closed > .jstree-ocl {
    background-position: -103px -7px;
}

.RTL .jstree-InputField-Tree .jstree-closed > .jstree-ocl {
    background-position: -103px -39px;
}

.jstree-InputField-Tree .jstree-leaf > .jstree-ocl {
    background-position: -71px -7px;
}

.RTL .jstree-InputField-Tree .jstree-leaf > .jstree-ocl {
    background-position: -71px -39px;
}

.jstree-InputField-Tree .jstree-themeicon {
    background-position: -263px -7px;
}

.RTL .jstree-InputField-Tree .jstree-themeicon {
    background-position: -263px -39px;
}

.jstree-InputField-Tree > .jstree-no-dots .jstree-open > .jstree-ocl {
    background-position: -39px -7px;
}

.RTL .jstree-InputField-Tree > .jstree-no-dots .jstree-open > .jstree-ocl {
    background-position: -39px -39px;
}

.jstree-InputField-Tree > .jstree-no-dots .jstree-closed > .jstree-ocl {
    background-position: -7px -7px;
}

.RTL .jstree-InputField-Tree > .jstree-no-dots .jstree-closed > .jstree-ocl {
    background-position: -7px -39px;
}



/**
 * @subsection  jsTree theme - No Tree variant
 */

.jstree-InputField-Tree > .jstree-no-dots .jstree-node {
    background: transparent;
    display: inherit;
    height: auto;
    padding: 0;
}

.jstree-InputField-NoTree .jstree-node,
.jstree-InputField .jstree-node {
    display: flex;
    align-items: center;
    position: relative;
    min-height: auto;
    line-height: 1;
    margin-left: 0;
    min-width: 18px;
    box-sizing: border-box;
    height: auto;
}

.jstree-InputField-NoTree .jstree-anchor,
.jstree-InputField .jstree-anchor {
    padding: var(--padding-sm) var(--padding-sm) var(--padding-sm) 0;
    border-bottom: 5px solid transparent;
}

.jstree-InputField-NoTree .jstree-leaf .jstree-icon,
.jstree-InputField .jstree-leaf .jstree-icon {
    display: none;
}

.jstree-InputField-NoTree .jstree-leaf a,
.jstree-InputField .jstree-leaf a {
    padding-left: var(--padding-sm);
}

.jstree-InputField .jstree-wholerow-ul .jstree-icon {
    margin: 8px var(--margin-xs);
}

.jstree-InputField-NoTree.jstree-rtl .jstree-node,
.jstree-InputField.jstree-rtl .jstree-node {
    margin-right: 2px;
}

.jstree-InputField-NoTree .jstree-wholerow,
.jstree-InputField .jstree-wholerow {
    /*height: 18px;*/
}


/**
 * @subsection  Checkbox Styles
 */

.radio-field-wrapper {
    display: flex;
    gap: var(--gap-sm);
    align-content: center;
    align-items: center;
}

.SidebarColumn label {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
}

th > input[type=checkbox] {
    display: inline-block;
    vertical-align: middle;
    margin-top: 0;
}

input[type=checkbox] {
    appearance: none; -webkit-appearance: none;
    position: relative;
    display: block;
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
    border: var(--border-width) solid #ccc; 
    background: transparent;
    border-radius: 3px;
    z-index: 100;
    background: var(--white);
}

input[type=checkbox] + input[type=checkbox]{
    margin-top: var(--margin-xs);
}

input[type=checkbox]:hover {
    border-color: var(--success-color);
}
  
input[type=checkbox]:checked {
    background:var(--success-color);
    border: 2px solid var(--success-color); 
}

input[type=checkbox]:checked:disabled {
    background: var(--disabled);
    border: 2px solid var(--disabled); 
}

input[type=checkbox]:checked + label {
    color: var(--black);
}

input[type=checkbox]::after,
input[type=checkbox]:disabled::after {
    position: absolute;
    z-index: 10000;
    content: '';
    transform: rotate(45deg);
    height: 8px;
    width: 4px;
    border-bottom: 2px solid transparent;
    border-right: 2px solid transparent;
    left: 3px;
    top: 0px;
    transition: var(--main-transition);
}

input[type=checkbox]:disabled::after {
    opacity: 0.8;
  }

input[type=checkbox]:checked::after{
    display: inline-block;
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
}

.checkbox-container,
div.card-item .checkbox-container {
    display: flex;
    flex-flow: row;
    align-items: center;
    gap: var(--padding-sm);
}

.checkbox-container .Field,
div.card-item .checkbox-container .Field {
    min-width: unset;
    width: auto;
}

.checkbox-container > input {
    margin: 0;
}

/******************************/
/*        Radio Buttons       */
input[type=radio]{
    appearance: none; 
    -webkit-appearance: none;
}

input[type=radio]::after {
    position: relative;
    left: 0;
}

input[type=radio]:checked::after {
    border-bottom: 2px solid var(--gray-dark);
    border-right: 2px solid var(--gray-dark);
}

input[type=radio]:checked::after,
input[type=radio].RadioRound:checked::after {
    border-bottom: 2px solid var(--success-color);
    border-right: 2px solid var(--success-color);
}

input[type="radio"], 
input[type="radio"].RadioRound {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--white);
    margin: 0;
    color: var(--black);
    width: 16px;
    height: 16px;
    border: var(--border-width-md) var(--border-solid) var(--black);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    max-width: 16px;
    min-height: 16px;
    max-height: 16px;
}

input[type="radio"]:checked,
input[type="radio"].RadioRound:checked {
    border: var(--border-width-md) var(--border-solid) var(--success-color);
}

input[type="radio"] + label, 
input[type="radio"].RadioRound + label {
    cursor: pointer;
}

input[type="radio"][disabled] + label, 
input[type="radio"][disabled].RadioRound + label {
    color: var(--disabled-text);
    cursor: default;
}

input[type="radio"][disabled], 
input[type="radio"][disabled].RadioRound,
input[type="radio"][disabled]:checked,
input[type="radio"][disabled].RadioRound:checked {
    background: var(--disabled);
    border-color: var(--disabled-input);
    cursor: not-allowed;
}

input[type="radio"]::before,
input[type="radio"].RadioRound::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 100%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--success-color);
}

input[type="radio"]:checked::before,
input[type="radio"].RadioRound:checked::before {
    transform: scale(1);
}

input[type="radio"]::after,
input[type="radio"]:checked::after,
input[type="radio"].RadioRound::after,
input[type="radio"].RadioRound:checked::after,
input[type="radio"][disabled]::before,
input[type="radio"][disabled].RadioRound::before {
    display: none;
}



/******************************/

/******************************/
/*        Dynamic Field       */
div.Row {
    padding: 0;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    width: 100%;
    gap: var(--padding-sm);
}

div.Row label,
div.Row .Field {
    padding: 0;
}

div.Row .Field > div:not(.InputField_Container):not(.TooltipErrorMessage) {
    display: flex;
    gap: var(--gap-xs);
    align-items: center;
    /*padding-bottom: 5px;*/
}

.Row.Row_DynamicField_DynamicFieldCheckBox {
    display: flex;
    flex-flow: row-reverse;
    align-items: center;
    gap: var(--gap-xs);
    justify-content: start;
}

.Row_DynamicField_DynamicFieldCheckBox label {
    padding: 0;
}

.Row_DynamicField_DynamicFieldCheckBox div.Field {
    background: unset;
    width: auto;
}

.Row_DynamicField_DynamicFieldCheckBox .Field input:not(:checked),
.Row_DynamicField_DynamicFieldDate .Field input,
.Row_DynamicField_DynamicFieldDateTime .Field input {
    background: var(--white);
}

.Row.Row_DynamicField_DynamicFieldTextArea {
    min-width: 100%;
}

/******************************/






} /* end @media */
