/*!
    colors:
    border:#999
    border-selected:#6c7a86
    color-placeholder:#6c7a86;
    tag-background: #6c7a86
    active-option-background-color:#4cddf3;
 */

 @import url('nc-lib.css');

 /*input container*/
 .combox-container {
     direction: rtl;
     position: relative;
     display:inline-block;
 }
 
 .combox-container li {
     list-style: none;
 }
 
 .combox-rtl {
     direction: rtl;
     text-align: right;
 }
 
 
 .combox-hidden {
     position: absolute;
     overflow: hidden;
     clip: rect(0px, 0px, 0px, 0px);
     width: 1px;
     height: 1px;
     margin: -1px;
     padding: 0;
     border: 0 none;
 }
 
 .combox-visible {
     position: absolute;
     /*left: 0;*/
     right: 0;
     top: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     z-index: 11;
 }
 
 .combox-desktop.multiple .combox-visible {
     display: none;
 }
 
 .combox-desktop.multiple.native-open .combox-visible {
     top: 100%;
     min-height: 200px !important;
     height: auto;
     opacity: 1;
     display: block;
 }
 
 .combox-container.multiple.combox-mobile .combox-selected {
     z-index: 0;
 }
 
 /*input-box*/
 .combox-selected {
     position: relative;
     z-index: 1;
     box-sizing: border-box;
     /*width: 100%;*/
     /*padding: 7px 28px 7px 16px;*/
     /*padding: 4px 4px 4px 28px;*/ /*rtl*/
     padding: 1px 4px 1px 28px; /*rtl*/
     cursor: pointer;
     /*border: 1px solid #999;
     border-radius: 3px;*/
     border-bottom: 1px solid #999;
     text-align: right; /*rtl*/
     background-color: #fff;
     outline:none;
     font-size:16px;
 }
 
 /*input-button*/
     .combox-selected::before {
         position: absolute;
         top: 50%;
         /*right: 10px;*/
         left: 5px; /*10px*/
         width: 0;
         height: 0;
         content: '';
         /*button*/
         -o-transform: rotate(0deg) translate3d(0px, -50%, 0px);
         -ms-transform: rotate(0deg) translate3d(0px, -50%, 0px);
         -moz-transform: rotate(0deg) translate3d(0px, -50%, 0px);
         -webkit-transform: rotate(0deg) translate3d(0px, -50%, 0px);
         transform: rotate(0deg) translate3d(0px, -50%, 0px);
         border-width: 4px 4px 0 4px;
         border-style: solid;
         border-color: #6c7a86 transparent transparent;
     }
 
 .combox-input-container.loading::after {
     position: absolute;
     top: 50%;
     /*right: 20px;*/
     left: 20px;
     width: 20px;
     height: 20px;
     content: '';
     -o-transform: translate3d(0px, -50%, 0px);
     -ms-transform: translate3d(0px, -50%, 0px);
     -moz-transform: translate3d(0px, -50%, 0px);
     -webkit-transform: translate3d(0px, -50%, 0px);
     transform: translate3d(0px, -50%, 0px);
     -o-transform-origin: 50% 0 0;
     -ms-transform-origin: 50% 0 0;
     -moz-transform-origin: 50% 0 0;
     -webkit-transform-origin: 50% 0 0;
     transform-origin: 50% 0 0;
     -moz-animation: 500ms linear 0s normal forwards infinite running spin;
     -webkit-animation: 500ms linear 0s normal forwards infinite running spin;
     animation: 500ms linear 0s normal forwards infinite running spin;
     border-width: 3px;
     border-style: solid;
     border-color: #aaa #ddd #ddd;
     border-radius: 50%;
 }
 .combox-container.open .combox-selected::before,
 .combox-container.native-open .combox-selected::before {
     border-width: 0 4px 4px 4px;
     border-style: solid;
     border-color: transparent transparent #6c7a86;
 }
 
 /*input-text*/
.combox-label {
    display: none;
    /*overflow: hidden;*/ /*cancel movinf after selected*/
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.combox-placeholder {
    color: #6c7a86;
    font-size:16px;
    /*display:inline-block;*/
}
 
 .combox-tags {
     margin: 0;
     padding: 0;
     white-space: normal;
 }
 
 .has-selected .combox-tags {
     margin: 0 0 -2px;
 }
 
 .combox-tag {
     list-style: none;
     position: relative;
     /*float: left;*/
     float: right;
     /*padding: 1px 25px 1px 8px;*/ /*space for x in right*/
     padding: 1px 20px 1px 12px; /*space for x in right and v in left*/
     margin: 0 2px 2px 0;
     cursor: default;
     /*color: #fff;*/
     color: #000;
     border: solid 1px #6c7a86;
     /*border: medium none;*/
     border-radius: 4px;
     /*background: #6c7a86 none repeat scroll 0 0;*/
     font-weight: normal;
     font-size: 98%;
 }
 
 .combox-container.multiple.has-selected .combox-selected {
     /*padding: 5px 28px 5px 5px;*/
     padding: 5px 5px 5px 28px;/*rtl*/
     display:table;/*===*/
 }
 
 /*options-container*/
 .combox-options-container {
     position: absolute;
     z-index: var(--zindex_popover) !important; /*11111;*/
     top: calc(100% - 1px);
     /*left: 0;*/
     right: 0;
     display: none;
     box-sizing: border-box;
     width: 100%;
     border: solid 1px #999;
     /*border-width: 0 1px 1px;
     border-style: solid;
     border-color: transparent #999 #999;*/
     border-radius: 0 0 3px 3px;
     background-color: #fff;
 }
 
 .combox-container.open .combox-options-container {
     display: block;
     animation: m_fadeIn 0.65s cubic-bezier(0.0, 0.0, 0.2, 1);
 }
 
 .combox-input-container {
     position: relative;
     display: none;
 }
 
 .combox-clear,
 .combox-input-clear,
 .combox-tag-remove {
     position: absolute;
     top: 50%;
     /*right: 22px;*/
     left: 10px; /*22px*/
     width: 20px;
     height: 20px;
     padding: 0;
     cursor: pointer;
     -o-transform: translate3d(0px, -50%, 0px);
     -ms-transform: translate3d(0px, -50%, 0px);
     -moz-transform: translate3d(0px, -50%, 0px);
     -webkit-transform: translate3d(0px, -50%, 0px);
     transform: translate3d(0px, -50%, 0px);
     border: medium none;
     background-color: transparent;
     z-index: 11;
 }
 
 .combox-clear,
 .combox-input-clear {
     display: none;
 }
 
 .combox-container.has-selected .combox-clear,
 .combox-input-container.active .combox-input-clear {
     display: block;
 }
 
 .combox-selected .combox-tag-remove {
     right: 2px;
 }
 
 /*button ac for activate /tag x size and bg-color*/
 .combox-tag-acx {
     position: absolute;
     top: 10%;
     /*right: 10px;*/
     left: 3px; /*22px*/
     width: 4px;
     height: 10px;
     padding: 0;
     cursor: pointer;
     -o-transform: translate3d(0px, -50%, 0px);
     -ms-transform: translate3d(0px, -50%, 0px);
     -moz-transform: translate3d(0px, -50%, 0px);
     -webkit-transform: translate3d(0px, -50%, 0px);
     transform: translate3d(0px, -50%, 0px);
     border: medium none;
     background-color: transparent;
     z-index: 11;
 }
 
     .combox-tag-acx::before,
     .combox-tag-acx::after {
         position: absolute;
         top: 4px;
         left: 3px;
         /*right: 10px;*/
         width: 4px;
         height: 10px;
         content: 'v';
         /*background-color: #6c7a86;*/
         color: green;
         font-weight:400;
     }
 /*tag ac size and color*/
     .combox-tag-acx::before,
     .combox-tag-acx::after {
         /*top: 4px;
     width: 3px;
     height: 12px;*/
         top: 4px;
         width: 4px;
         height: 10px;
         /*background-color: #fff;*/
         /*background-color: #6c7a86;*/
         color: green;
         font-weight: 400;
     }
 
 /*button x for clear /tag x size and bg-color*/
 .combox-clear::before,
 .combox-clear::after,
 .combox-input-clear::before,
 .combox-input-clear::after,
 .combox-tag-remove::before,
 .combox-tag-remove::after {
     position: absolute;
     top: 5px;
     /*left: 9px;*/
     right: 9px;
     width: 2px;
     height: 10px;
     content: ' ';
     background-color: #6c7a86;
     /*background-color: red;*/
 }
 /*tag x size and color*/
 .combox-tag-remove::before,
 .combox-tag-remove::after {
     /*top: 4px;
     width: 3px;
     height: 12px;*/
     top: 5px;
     width: 2px;
     height: 10px;
     /*background-color: #fff;*/
     background-color: #6c7a86;
     /*background-color: red;*/
 }
 
 .combox-clear:before,
 .combox-input-clear::before,
 .combox-tag-remove::before {
     -o-transform: rotate(45deg);
     -ms-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
     -webkit-transform: rotate(45deg);
     transform: rotate(45deg);
 }
 
 .combox-clear:after,
 .combox-input-clear::after,
 .combox-tag-remove::after {
     -o-transform: rotate(-45deg);
     -ms-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
     -webkit-transform: rotate(-45deg);
     transform: rotate(-45deg);
 }
 
 .combox-input-container.active,
 .combox-input-container.active .combox-clear {
     display: block;
 }

.combox-input {
    top: 5px;
    /*left: 5px;*/
    right: 5px;
    box-sizing: border-box;
    width: calc(100% - 30px);
    margin: 10px 15px;
    /*padding: 7px 30px 7px 9px;*/
    padding: 7px 9px 7px 30px; /*rtl*/
    border: 1px solid #999;
    border-radius: 3px;
}
 
 .combox-notif {
     display: none;
     box-sizing: border-box;
     width: 100%;
     /*padding: 8px 16px;*/
     padding: 8px 8px;/*rtl*/
     border-top: 1px solid #999;
     border-radius: 0 0 3px 3px;
     background-color: #fff;
 }
 
 .combox-container.notif .combox-notif {
     display: block;
 }
 
 .combox-container.notif .combox-selected {
     border-radius: 3px 3px 0 0;
 }
 
 .combox-options {
     direction: rtl; /*rtl*/
     position: relative;
     top: calc(100% + 2px);
     display: none;
     overflow-x: auto;
     overflow-y: auto;
     max-height: 200px;
     margin: 1px;
     padding: 0;
 }
 
 .combox-container.open .combox-options,
 .combox-container.open .combox-input-container,
 .combox-container.notif .combox-options-container {
     display: block;
 }
 
 /*option-item*/
.combox-option {
    position: relative;
    display: block;
    /*padding: 5px 20px;*/
    /*padding: 4px 5px;*/ /*rtl*/
    padding: 3px 5px;
    list-style: outside none none;
    cursor: pointer;
    font-weight: normal;
    font-size: 14px;
}
 
 .combox-options.optgroups > .combox-option {
     /*padding-left: 25px;*/
     padding-right: 25px;/*rtl*/
 }
 
 .combox-optgroup {
     font-weight: bold;
     padding: 0;
 }
 
 .combox-optgroup--label {
     font-weight: bold;
     margin-top: 10px;
     /*padding: 5px 15px;*/
     padding: 5px 5px 0 15px;/*rtl*/
 }
 
 .combox-match {
     text-decoration: underline;
 }
 
 .combox-option.selected {
     background-color: #ddd;
     /*border: solid 1px #999;
     border-radius: 3px;*/
 }
 
 .combox-option.active {
     color: #fff;
     /*background-color: #5897fb;*/
     background-color: #4cddf3;
     /*border: solid 1px #999;
     border-radius: 3px;*/
 }
 
 .combox-option.disabled {
     opacity: 0.4;
 }
 
 .combox-option.excluded {
     display: none;
 }
 
 .item-excluded {
     display: none;
 }
 
 .combox-container.open .combox-selected {
     border-color: #999 #999 transparent #999;
     border-radius: 3px 3px 0 0;
 }
 
 .combox-container.open .combox-selected::after {
     -o-transform: rotate(180deg) translate3d(0px, 50%, 0px);
     -ms-transform: rotate(180deg) translate3d(0px, 50%, 0px);
     -moz-transform: rotate(180deg) translate3d(0px, 50%, 0px);
     -webkit-transform: rotate(180deg) translate3d(0px, 50%, 0px);
     transform: rotate(180deg) translate3d(0px, 50%, 0px);
 }
 
 .combox-disabled {
     opacity: .6;
 }
 
 .combox-empty,
 .has-selected .combox-placeholder {
     display: none;
 }
 
 .has-selected .combox-label {
     display: block;
 }
 
 /* TAGGABLE */
 .taggable .combox-selected {
     /*padding: 4px 28px 4px 4px;*/
     padding: 4px 4px 4px 28px;/*rtl*/
 }
 
 .taggable .combox-selected::after {
     display: table;
     content: " ";
     clear: both;
 }
 
 .taggable .combox-label {
     width: auto;
 }
 
 .taggable .combox-tags {
     /*float: left;*/
     float:right;
     display: block;
 }
 
 .taggable .combox-placeholder {
     display: none;
 }
 
 .input-tag {
     /*float: left;*/
     float:right;
     min-width: 90px;
     width: auto;
 }
 
 .combox-tag-input {
     border: medium none;
     padding: 3px 10px;
     width: 100%;
     font-family: inherit;
     font-weight: inherit;
     font-size: inherit;
 }
 
 
 @-webkit-keyframes spin {
     0% {
         -webkit-transform: rotate(0deg) translate3d(0px, -50%, 0px);
         transform: rotate(0deg) translate3d(0px, -50%, 0px);
     }
     100% {
         -webkit-transform: rotate(360deg) translate3d(0px, -50%, 0px);
         transform: rotate(360deg) translate3d(0px, -50%, 0px);
     }
 }
 @keyframes spin {
     0% {
         -webkit-transform: rotate(0deg) translate3d(0px, -50%, 0px);
         transform: rotate(0deg) translate3d(0px, -50%, 0px);
     }
     100% {
         -webkit-transform: rotate(360deg) translate3d(0px, -50%, 0px);
         transform: rotate(360deg) translate3d(0px, -50%, 0px);
     }
 }
 .combox-container.open.inverted .combox-selected {
     border-color: transparent #999 #999;
     border-radius: 0 0 3px 3px;
 }
 
 .combox-container.inverted .combox-options-container {
     border-width: 1px 1px 0;
     border-color: #999 #999 transparent;
     border-radius: 3px 3px 0 0;
     background-color: #fff;
 }
 
 .combox-container.inverted .combox-options-container {
     top: auto;
     bottom: calc(100% - 1px);
 }
 
 .combox-container ::-webkit-input-placeholder {
     color: #6c7a86;
     opacity: 1;
 }
 
 .combox-container ::-moz-placeholder {
     color: #6c7a86;
     opacity: 1;
 }
 
 .combox-container :-ms-input-placeholder {
     color: #6c7a86;
     opacity: 1;
 }
 
 .combox-container ::placeholder {
     color: #6c7a86;
     opacity: 1;
 }
 
 /*color-box =======================================*/
 .color-option > span {
     border-radius: 1px;
     display: inline-block;
     height: 10px;
     margin: 0 0 0 8px;
     width: 10px;
 }
 
 .combox-option.disabled .color-option {
     opacity: 0.2;
 }