/* Button styles customizable to the theme of design
/**/
div.advseach-form button,
div.advseach-form input[type="button"] {
	/*border-width:0;	*/
	border:1px solid rgba(0,0,0,0.12);
}
button#viewRequestHistory{
    margin-left: 10px;
	background-color: #008fc3;
    background-image: linear-gradient(to bottom, #00a2dd 0%, #007caa 100%);
    background-repeat: repeat-x;
	border-radius: 4px;
    color: white;
	height: 2em;
    margin-top: 10px;
}
#advsearch-submit,
#advsearch-cancel,
#advsearch-clear{
    width: auto;
    padding: 0 5px;
    float: inherit;
    line-height: normal;
    margin-left:5px;
	border-radius: 4px;
    color: white;
	box-sizing: unset;
	height: 2em;
}

#advsearch-clear {
    background-color: #96c9dc;
    background-image: -ms-linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
	background-image: -o-linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
	background-image: -moz-linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
	background-image: -webkit-linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
	background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
    background-repeat: repeat-x;
	color: black;
}
button#viewRequestHistory[disabled], 
input[type=button]#advsearch-submit[disabled],
input#determine-color[disabled], 
input#applay-color-dialog[disabled], 
input[type="button"][id^="change-color"][disabled] {
	opacity: 0.5;
}
input[type=button]#advsearch-cancel{
    background: #6ce471;
	background-image: -ms-linear-gradient(to bottom,#60d665 0%,#34a938 100%);
	background-image: -o-linear-gradient(to bottom,#60d665 0%,#34a938 100%);
	background-image: -moz-linear-gradient(to bottom,#60d665 0%,#34a938 100%);
	background-image: -webkit-linear-gradient(to bottom,#60d665 0%,#34a938 100%);
    background-image: linear-gradient(to bottom,#60d665 0%,#34a938 100%);
    background-repeat: repeat-x;
    color: white;
	margin-right: -2px;
}
input[type=button]#advsearch-submit {
    background-color: #008fc3;
    background-image: -ms-linear-gradient(to bottom, #00a2dd 0%, #007caa 100%);
	background-image: -o-linear-gradient(to bottom, #00a2dd 0%, #007caa 100%);
	background-image: -moz-linear-gradient(to bottom, #00a2dd 0%, #007caa 100%);
	background-image: -webkit-linear-gradient(to bottom, #00a2dd 0%, #007caa 100%);
	background-image: linear-gradient(to bottom, #00a2dd 0%, #007caa 100%);
    background-repeat: repeat-x;
}
input#determine-color,
input#applay-color-dialog,
input[type="button"][id^="change-color"]{
	background-color: #008fc3;
    background-image: linear-gradient(to bottom, #00a2dd 0%, #007caa 100%);
    background-repeat: repeat-x;
	border-radius: 4px;
	color: white;
	height: 2em;
}
input[type="button"][id^="change-color"]{
    border-radius: 5px;
    vertical-align: middle;
    padding: 0 2px 0 2px;
    width: 110px;
    line-height: 1em;
    background-color: dimgrey;
    color: white;
    height: 2em;
    margin-left: 4px;
}
input#close-color-dialog{
	height: unset! important;
	vertical-align: unset! important;
	border-radius: 4px;
	color: white;
}
/**/
.advsearch-loader.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    width: 80px;height: 80px;
    -webkit-animation: spin 2s linear infinite;
    animation:spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg);}
    100% { -webkit-transform: rotate(360deg);}
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.popup-advsearch-wnd {
    top: 10px;
    right: 0;
    left: 50%;
    font-size: 14px;
    z-index: 1020;
    margin: 0;
    height:calc(100% - 50px);
    height:-moz-calc(100% - 540px);
    height:-webkit-calc(100% - 50px);
    width:calc(100% - 50px);
    width:-moz-calc(100% - 50px);
    width:-webkit-calc(100% - 50px);
    position: fixed;
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%,0);
    position: fixed;
    padding: 15px;
    border: 1px solid #383838;
    background: #fefefe;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    display:none;
}
.popup-advsearch-wnd .close-wnd {
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    position: absolute;
    padding: 0;
    border: 2px solid #ccc;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    background-color: rgba(61, 61, 61, 0.8);
    -webkit-box-shadow: 0px 0px 10px #000;
    -moz-box-shadow: 0px 0px 10px #000;
    box-shadow: 0px 0px 10px #000;
    text-align: center;
    text-decoration: none;
    font: 13px/20px 'Tahoma', Arial, sans-serif;
    font-weight: bold;
    -webkit-transition: all ease .8s;
    -moz-transition: all ease .8s;
    -ms-transition: all ease .8s;
    -o-transition: all ease .8s;
    transition: all ease .8s;
}
.popup-advsearch-wnd .close-wnd:before {
    color: rgba(255, 255, 255, 0.9);
    content: "\2716";
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    font-size: 12px;
}
.popup-advsearch-wnd .close-wnd:hover {
    background-color: rgba(252, 20, 0, 0.8);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}

body.modal-open {
    overflow: hidden;
    position: fixed;
}

body.slider-corner-all corner-left1 range-shadow{
    overflow: hidden !important;
}

#product_count_preview{
    position:absolute;
    right:0;
    top:-28px;
    border-radius: 50%;
    padding: 4px;
    line-height: 20px;
    min-width:18px;
    text-align: center;
    vertical-align: middle;
    -webkit-box-shadow: 2px 2px 10px #000;
    -moz-box-shadow: 2px 2px 10px #000;
    box-shadow: 2px 2px 10px #000;
}

#product_count_preview i{
    margin: auto;
    display: block;
}

div.my-select-list{
    position:absolute;
    display:none;
    overflow:auto;
    border: 1px solid grey;
    width: 200px;
    background-color: white;
    z-index: 22;
    margin-top: -2px;
    max-height:250px;
}
div.my-select-list div#chklst:focus{
    background-color:Highlight;
    color:HighlightText;
    border:none;
}
#viewColorVarianForDummies:focus,
.advseach-chrct input[type="button"]:focus,
.advseach-chrct select:focus,
.advseach-chrct button:focus{
    border: 1px solid lightskyblue;
}

div.chklst:focus{
    background-color:Highlight;
    color:HighlightText;
    border:none;
}
span.button-my-select{
    border: 1px solid grey;
    max-height: 2em;
    line-height: 2em;
    max-width: 200px;
    border-radius: 1px;
    -ms-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    overflow: hidden;
    width: 250px;
    padding: 0;
    background-color: white;
    text-align: left;
    color:black;
    pointer-events: all;
    position:relative;
    cursor: pointer;
    display:block;
}
span.button-my-select.units {
    max-width: 50px;
    display: inline-block;
    height: 1.5em;
    border: 1px solid lightgrey;
    line-height: 1.5em;
    font-size: inherit;
}
span.button-my-select.units:after {
    content: '▼';
    font: normal normal normal 10px/1 FontAwesome;
    color: gray;
    right: 3px;
    top: 5px;
    position: absolute;
    display: inline-block;
    direction: rtl;
    -ms-cursor: hand;
    -webkit-cursor-pointer: hand;
    cursor: pointer;
    pointer-events: none;
}

.color-help-wnd,
.color-help-normalize-wnd,
.determine-color,
.history-list-wnd{
    z-index: 1050;
    max-height: 80%;
    max-width: 85%;
    min-width:250px;
    margin-top: 30px;
    display: block;
    position: absolute;
    background: white;/*rgb(250,250,250);*/
    border: 1px solid #d9d8d8;
    -webkit-box-shadow: 2px 2px 1px rgba(0,0,0,.15);
    -moz-box-shadow: 2px 2px 1px rgba(0,0,0,.15);
    box-shadow: 2px 2px 1px rgba(0,0,0,.15);
}
.color-help-wnd,
.color-help-normalize-wnd {
    padding: 10px;
    margin-top: 0;
}
.color-help-wnd {
    width: 90%;
    height:80%;
    left: 0;
    right: 0;
    margin: auto;
    top: 30px;
    position: fixed;
    outline:none;
}
.color-help-normalize-wnd {
    position: absolute;
}


.determine-color{
    margin: auto;
    left: 0;
    right: 0;
    padding:10px;
    position:fixed;
    max-width: 60%;
	box-sizing: unset;
}
.determine-color table td {
    min-width: 50px;
    pointer-events: all;
    padding: 10px;
    border: 1px solid #ebebeb;
}
.color-help-wnd p{
    text-align:justify!important;
    font-weight: normal!important;
    text-decoration: none!important;
    text-indent:2em;
    line-height: 1.3em;
}

#color-range-help{
    width: 18px;
    height: 18px;
    font-size: 16px;
    border-radius: 50%;
    color: #b3acac;
    border: 2px solid currentColor;
    text-align: center;
    font-weight: bold;
    margin-top: -4px;
    margin-left: 4px;
    -webkit-box-shadow: 2px 2px 1px rgba(0,0,0,.15);
    -moz-box-shadow: 2px 2px 1px rgba(0,0,0,.15);
    box-shadow: 2px 2px 1px rgba(0,0,0,.15);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: underline;
}
#color-range-help:hover{
    color: #746d6d;
}

button#viewColorVarianForDummies {
    height: 2em;
    width:180px;
    padding: 5px;
    border-radius: 1px;
    vertical-align: middle;
    margin-left: 10px;
    margin-right: 10px;
    line-height: 1em;
    background: transparent;
    display: inline-flex;
    margin-bottom: 10px;
    color: gray;
    border: 1px solid;
    text-align:left;
    position: relative;
}
span.bs-caret {
    font-size: 10px;
    right: 5px;
    color: gray;
    position: absolute;
    pointer-events: none;
    top:4px;
}

.color-variant-forDummies{
    z-index: 1050;
    max-height: -moz-calc(100vh*0.8);
    max-height: -webkit-calc(100vh*0.8);
    max-height: calc(100vh*0.8);
    min-width: 300px;
    left: -50px !important;
    margin-top: -10px;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    background:white;/*rgb(250,250,250);*/
    border: 1px solid #d9d8d8;
    -webkit-box-shadow: 2px 2px 1px rgba(0,0,0,.15);
    -moz-box-shadow: 2px 2px 1px rgba(0,0,0,.15);
    box-shadow: 2px 2px 1px rgba(0,0,0,.15);
}

.color-variant-forDummies ul.ul-list li {
    list-style: none;
    margin: 1px;
    display: flex;
    width: 99%;
    min-height: 40px;
}
ul.ul-list li.color-item span{
    margin-right: 5px;
}
ul.ul-list li.color-item div{
    display: inline-block;
    width: 60%;
    margin-right: 5px;
    vertical-align: middle;
    word-break: break-word;
}
ul.ul-list li.color-item div.color-gradient span {
    color: white;
    background: rgb(0,0,0,0.4);
    mix-blend-mode: difference;
}
ul.ul-list li.color-item div.colorName span {
    text-align: left;
    display: inline-block;
    width: 100%;
}
ul.ul-list li.color-item div.color-gradient {
    color: white;
}

ul.ul-list{
    overflow: auto;
    background: white;/*rgb(250,250,250);*/
    padding:0;
    border-radius: 0 !important;
    max-height: 100%;
    position: relative;
    margin: 0;
}
ul.ul-list li{
    font-weight: normal;
    margin: 1px 25px 1px 15px;
    list-style: square;
    cursor: pointer;
    text-decoration: none;
}
ul.ul-list li.selected{
    border: 1px outset;
}

ul.ul-list li.finded {
    color: #1f601f;
}
ul.ul-list li.notfound {
    color: #ae2f07;
}

ul.ul-list ul.history-group{
    font-weight: bolder;
    margin-left: 5px;
}
.btstrap-slct>select {
    position: absolute !important;
    bottom: 0;
    left: 50%;
    display: block !important;
    width: .5px !important;
    height: 100% !important;
    padding: 0 !important;
    opacity: 0 !important;
    border: none;
}
.drpdwn-menu {
    display: none;
    box-sizing: border-box;
    min-height: 60px;
}
.open > .drpdwn-menu {
    display: block;
}

button.btn.dropdown-tgl{
    width: 100%;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}
.virtual-check:not(.jq-checkbox) {
    margin: 4px 2px 0 6px;
}
.btstrap-slct.btn-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    max-width: 100%;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: -ms-fit-content;
    width: -o-fit-content;
    width: fit-content;
}

.btn-group.open .dropdown-tgl .filter-option {
    display: inline-block;
    overflow: hidden;
    width: 100%;
    text-align: left;
}
.btstrap-slct.btn-group .dropdown-tgl .filter-option {
    display: inline-block;
    overflow: hidden;
    width: 100%;
    text-align: left;
}
.btstrap-slct.btn-group .dropdown-tgl {
    width: 100%;
    z-index: 1;
}

.btstrap-slct>.dropdown-tgl {
    width: 100%;
    padding-right: 25px;
    z-index: 1;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: top;
    border-top: 4px solid #000000;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "▼";
}
.dropdown-tgl .caret {
    top: 50%;
    margin-top: -8px;
    vertical-align: middle;
    margin-left: -4px;
    right: 12px;
    position: absolute;
}
.bs-searchbox {
    padding: 4px 8px;
}
ul.drpdwn-menu {
    overflow-y: auto;
}
ul.drpdwn-menu.inner{
    position: relative;
    list-style-type: none;
    float: none;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

ul.drpdwn-menu li{
    line-height: 20px;
    position: relative;
    white-space: nowrap;
    display: block;
    margin: 0;
}
ul.drpdwn-menu li.hidden{
    display: none;
}
ul.drpdwn-menu li.selected{
    border: 1px solid white;
    padding: 1px;
}
ul.drpdwn-menu li a{
    text-decoration: none;
    -ms-cursor: hand;
    -webkit-cursor-pointer: hand;
    cursor: pointer;
    user-select: none;
    display: block;
    padding: 3px 20px;
    clear: both;
}
.btstrap-slct.btn-group .drpdwn-menu.open{

    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: -ms-fit-content;
    width: -o-fit-content;
    width: fit-content;
    position:fixed;
    left: 0px;
    z-index: 1000;
    float: left;
    padding: 5px 0px;
    margin: 2px 0px 0px;
    list-style: none;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 10px;
    background-clip: padding-box;
    overflow: hidden;
}

.btstrap-slct.btn-group .drpdwn-menu.inner {
    float: none;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-left: 8px;
}

.btstrap-slct.btn-group .drpdwn-menu ul{
    overflow-y: auto;
    overflow-x: hidden;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: -ms-fit-content;
    width: -o-fit-content;
    width: 100%;
}
.hidden-value.hidden,
.chklst.cloned {
    display:none !important;
}

.advseach-charcts{
    display: inline-table;
    position:relative;
}

.advseach-chrct{
    display: inline-block;
    margin-top: 20px;
    margin-left: 20px;
    box-sizing: border-box;
    vertical-align: top;
    font-size: small;
    float: left;
    position: relative;
}

.advseach-chrct p{
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
    overflow: unset !important;
}

.advseach-chrct-list{
    display: block;
    overflow-y: auto;
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
    position: relative;
}

.advsearch-count{
    position: relative;
    z-index: 199;
    opacity: .8;
    font-size: small;
    font-weight: bolder;
    margin-left: -3em;
    margin-top: -20px;
    border: 1px double;
    border-radius: 10px;
    float: right;
    color: green;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 1.8em;
    margin-left: -1.7em;
    display: none;
}

.color-dialog input[type="text"],
.advseach-chrct-list input[type="text"]{
    border: 1px solid grey;
    height: 2em;
    padding: 0;
    border-radius: 1px;
    line-height: normal;
    width: 100%;
}

.advseach-chrct-list input[type="number"]{
    border: 1px solid grey;
    height: 2em;
    width: 65px;

    border-radius: 1px;
    padding: 0;
    line-height: normal;

}
.color-input input[type="number"].color-value,
.color-input input[type="number"].color-value,
.advseach-chrct-list input[type="number"].color-value {
    width: 3em !important;
    text-align: right !important;
}

.advseach-chrct-list input[type="number"][id$="_deviations"]{
    width: 3em;
    text-align: right;
}

.advseach-chrct-list input[type="range"]{
    width: 90px;
}

.advseach-chrct-list input[type="number"] {
    -ms-appearance: textfield;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;

}
.advseach-chrct-list input[type="number"]:hover,
.advseach-chrct-list input[type="number"]:focus {
    -ms-appearance: number-input;
    -webkit-appearance: number-input;
    -moz-appearance: number-input;
    appearance: number-input;

}


.advseach-chrct-list select{
    border: 1px solid grey;
    max-height: 2em;
    line-height: 2em;
    max-width: 250px;
    border-radius: 1px;
    -ms-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    overflow:hidden;
    padding:0;
	width:100%;
}

.advseach-selectdiv{
    float: left;
    width: 100%;
}

.advseach-chrct-list select::-ms-expand {
    display: none;
}

.advsearchchkbox{
    margin: 1px 2px 0 1px;
}

.advseach-chrct-list .range-metrics {
    display: block;
    background: #e8e8e8;
    height: 2px;
    margin-top: 10px;
    position: relative;
    width: 100%;
}

.advseach-chrct-list .range-metrics-vertical {
    position: relative;
    width: 2px;
    height: 150px;
    display: block;
    background: #e8e8e8;
    margin-left: 12px;
    margin-top: 0;
}
.advseach-chrct-list .slider-range{
    left: 0%;
    width: 100%;
    height: 2px;
    background: rgb(0,0,0,.4);

}
.advseach-chrct-list .slider-range-vertical{
    left: 100%;
    width: 2px;
    height: 100%;
    background: rgb(0,0,0,.4);
}

.advseach-chrct-list .slider-range,
.advseach-chrct-list .slider-range-vertical{
    cursor: pointer;
}

.advseach-chrct-list .slider-corner-all {
    width: 14px;
    height: 14px;
    background: -webkit-linear-gradient(108deg, #cedce7 0%,#000 100%);
    background: -moz-linear-gradient(108deg, #cedce7 0%,#000 100%);
    background: -moz-linear-gradient(108deg, #cedce7 0%,#000 100%);
    background: linear-gradient(108deg, #cedce7 0%,#000 100%);
    border-radius: 50%;
    outline: none;
    position: absolute;
    margin-left: -7px;
    margin-top: -7px;
    text-decoration: none;
    -ms-touch-action: auto;
    touch-action: auto;
    z-index: 2;
}

.corner-left1,
.corner-left2,
.corner-left{
    left: 0%;
}
.corner-left:before{
    content: attr(data-pos);
    font-size: x-small;
    margin-top: 11px;
    display: block;
    float:right;
}
.corner-left1.end:before,
.corner-left2.end:before,
.corner-left.end:before{
    float:left;
}
.corner-right1,
.corner-right2,
.corner-right{
    left: 100%;
}

.corner-right:before{
    content: attr(data-pos);
    font-size: x-small;
    margin-top: 11px;
    display: block;
    float:left;
}
.corner-right1.end:before,
.corner-right2.end:before,
.corner-right.end:before{
    float:right;
}
.corner-left1:before,
.corner-right1:before,
.corner-left2:before,
.corner-right2:before{
    content: '|';
    display: block;
    margin-left: 5px;
    margin-top: -14px;
}
.corner-right:before,
.corner-right1:after,
.corner-right2:after,
.corner-left:before,
.corner-left1:after,
.corner-left2:after,
.corner-top:after,
.corner-bottom:after,
.corner-top1:after,
.corner-bottom1:after{
    min-width: -moz-max-content;
    min-width: -webkit-max-content;
    min-width: max-content;
    white-space: pre-wrap;
}
.corner-right1:after,
.corner-left1:after {
     content: attr(data-pos);
     font-size: x-small;
     display: block;

}

.corner-right2:after,
.corner-left2:after {
    content: attr(data-pos);
    font-size: x-small;
    display: block;
}

.corner-left1:after,
.corner-left2:after {
    float: right;
}

.corner-right1:after,
.corner-right2:after {
    float: left;
}
.corner-top,
.corner-top1{
    top: 0%;
}
.corner-top:before,
.corner-top1:before{
    display: block;
    content: '−';
    margin-left: -7px;
    margin-top: -3px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;

}
.corner-bottom,
.corner-bottom1{
    top: 100%;
}
.corner-bottom:before,
.corner-bottom1:before{
    display: block;
    content: '−';
    margin-left: -7px;
    margin-top: -2px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
}

.corner-top:after,
.corner-bottom:after{
    content: attr(data-pos);
    font-size: x-small;
    margin-top: -21px;
    display: block;
    margin-left: 15px
}
.corner-top1:after,
.corner-bottom1:after{
    content: attr(data-pos);
    font-size: x-small;
    margin-top:-21px;
    display: block;
    margin-left: 15px;
}


.range-shadow{
    -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    box-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

div.multiplication-sign {
    text-align: center;
    font-weight: bold;
}

.in0 {
    background: lightgray;
    border: 1px solid lightgray;
    width: 100%;
    height: 80px;
	box-sizing: unset;
}
.in0:before{
    content: attr(data-maxwidth);
    text-align: center;
    position: absolute;
    left: 0;
    bottom: -18px;
    right: 0;
    white-space: nowrap;
    font-size: x-small;
}

.in0:after{
    content: attr(data-maxheight);
    position: absolute;
    top: 45%;
    left: -25px;
    -webkit-transform:  rotate(-90deg);
    -moz-transform:  rotate(-90deg);
    -ms-transform:  rotate(-90deg);
    -o-transform:  rotate(-90deg);
    transform: rotate(-90deg);
    white-space: nowrap;
    font-size: x-small;
}
.in1 {
    border: 1px solid;
    width: 100%;
    height: 40px;
	box-sizing: unset;
}
.in2 {
    border: 1px solid;
    width: 100px;
    height: 80px;
	box-sizing: unset;
    z-index: 2;
}
.in3 {
    border: 1px solid;
    width: 125px;
    height: 60px;
	box-sizing: unset;
    z-index: 3;
}
.in4 {
    width: 100px;
    height: 40px;
	box-sizing: unset;
    z-index: 4;
    background: #FFF;
}

.in4:before{
    content: attr(data-minwidth);
    text-align: center;
    position: absolute;
    left: 2px;
    bottom: 0;
    right: 0;
    white-space: nowrap;
    font-size: x-small;
    filter: contrast(80);
}

.in4.vmove:before{
    top: 22px;
}
.in4.vmove:after{
    margin-top: -40px;
}

.in4:after{
    content: attr(data-minheight);
    position: absolute;
    top: 45%;
    left: 0;
    -webkit-transform:  rotate(-90deg);
    -moz-transform:  rotate(-90deg);
    -ms-transform:  rotate(-90deg);
    -o-transform:  rotate(-90deg);
    transform: rotate(-90deg);
    white-space: nowrap;
    font-size: x-small;
    font-weight: bolder;
}

.in4.hmove:after{
    left: -28px;
}


.advseach-chrct-list .advsrcouter {
    position: relative;
    width: 100%;
}
.advseach-chrct-list .inner {
    margin: auto;
    position: absolute;
    left: -3px;
    right: 0;
    top: 0;
    bottom: 0;
}

button.my-button{
    border-radius: 0;
    background: white;
    border: 1px solid lightgrey;
    width: 20px;
    height: 20px;
    padding: 0;
    color: black;
    line-height: 0;
    pointer-events: all;
}
button.curcle-all-range{
    float: left;
    top:0;	
}

button.light-all-range{
    float: left;
    margin-left: -20px;
    margin-top: 95%;
}

button.saturation-all-range{
    position: absolute;
    right: -10px;
    top: 0;
}

#reset-bool,
#reset-color-all,
#reset-color,
#reset-range{
    color:blue;
    -ms-cursor: hand;
    -webkit-cursor-pointer: hand;
    cursor:pointer;
    line-height: 1em;
    display: block;
    margin-top:2em;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: -ms-fit-content;
    width: -o-fit-content;
    width: fit-content;
}
#dialog-back{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgb(254,254,254,0.4);
    z-index: 1024;
    top: 0;
    left: 0;
    display: none;
}
.color-dialog{
    max-width: 900px;
    width:90%;
    left:5px !important;
    right:15px !important;
    top: 15px !important;
    margin: 0 25px;
    padding: 0 2px 0 10px !important;
    position:relative !important;

}
.content-dialog{
    left: 0;
    right: 0;
    top: 40px;
    height: -moz-fit-content;
    height: -webkit-fit-content;
    height: -ms-fit-content;
    height: -o-fit-content;
    height: fit-content;
    margin:auto;
    padding: 0 10px;
    z-index: 1025;
    position: absolute;
    background: white;
    border: 1px solid #d9d8d8;
    border-radius:3px;
    -webkit-box-shadow: 2px 2px 1px rgba(0,0,0,.15);
    -moz-box-shadow: 2px 2px 1px rgba(0,0,0,.15);
    box-shadow: 2px 2px 1px rgba(0,0,0,.15);
}
.dialog-info div.content-dialog h2 {
   margin:40px 10px 0 0;
   width:100%;
   word-wrap: normal;
   text-align:center;
}
input#applay-color-dialog{
    margin-right: 5px;
}
table.color-and-or{
    display:none;
    margin-left: 4px;
}
button#viewColorVarianForDummies[data-input="color-2"]{
    display: none;
    margin-top: 10px;
}
table.color-and-or td[rowspan="2"] {
    position: relative;
}
table.color-and-or td[rowspan="2"]:after{
    content: '▼';
    font: normal normal normal 10px/1 FontAwesome;
    color: gray;
    position: absolute;
    right: 5px;
    top: 35%;
    display: inline-block;
    direction: rtl;
    -ms-cursor: hand;
    -webkit-cursor-pointer: hand;
    cursor: pointer;
    pointer-events: none;
}
div#color-and-or-div{
    display:none;
    margin-left: 4px;
}
div.color-range{
    width: 130px;
    height: 25px;
    border: 1px solid #d9d8d8;
    color:white;
}
.wrap {
    margin-top: 8px;
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}

.wrap .wrapper {
    margin-top: 20px;
}


div.range-circle{
    left: 0;
    right: 0;
    top: -41px;
    bottom: 0;
    margin: auto;
    position: absolute;
    z-index: 1;
    background: transparent;
    pointer-events: none;
}

div.circle {
    position: absolute;
    border: 1px solid black;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius:50%;
    background: transparent;
    border: 1px solid white;
    pointer-events: none;
}

div.circle.circle-max:before,
div.circle.circle-min:before{
    content: attr(data-radius);
    font-size: x-small;
    position: absolute;
    color: white;
}
div.circle.circle-max:before{
    margin-left: -20px;
    margin-top: 1px;
}
div.circle.circle-max.fortop:before{
    margin-top: -15px;
}
div.circle.circle-min.fortop:before{
    margin-top: -2em;
}

div.circle-ray {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: white;
    width: 50%;
    height: 1px;
    margin-left: 50%;
    -webkit-transform-origin: left;
    -o-transform-origin: left;
    -moz-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
    pointer-events: none;
    touch-action: none;
    cursor: pointer;
}
div.circle-ray:before {
    content: attr(data-dgr);
    font-size: x-small;
    position: absolute;
    right: -24px;
    -ms-cursor: hand;
    -webkit-cursor-pointer: hand;
    cursor: pointer;
    pointer-events: auto;
    touch-action: pan-x pan-y;
    border-radius: 20px;
    border: 1px dotted lightgrey;
    min-width: 2em;
    height: 2em;
    line-height: 2em;
    top: -10px;
}
div.circle-ray.min:after {
    content: '⇓';
    margin-left: 41%;
    margin-top: -4px;
    position: absolute;
    color: white;
}
div.circle-ray.max:after {
    content: '⇑';
    margin-left: 35%;
    top: -15px;
    position: absolute;
    color: white;
}

div.circle-ray.min.top:before,
div.circle-ray.max.top:before {

    -webkit-transform:  rotate(90deg);
    -moz-transform:  rotate(90deg);
    -ms-transform:  rotate(90deg);
    -o-transform:  rotate(90deg);
    transform: rotate(90deg);
}

div.circle-ray.min.top:before,
div.circle-ray.max.top:before{
    margin-right: 1px;
}
div.circle-ray.min.bottom:before,
div.circle-ray.max.bottom:before{
    margin-top: 0px;
}


div.circle-ray.min.left:before,
div.circle-ray.max.left:before {
    right: -21px;
    -webkit-transform:  rotate(180deg);
    -moz-transform:  rotate(180deg);
    -ms-transform:  rotate(180deg);
    -o-transform:  rotate(180deg);
    transform: rotate(180deg);
}
div.circle-ray.min.bottom:before,
div.circle-ray.max.bottom:before {
    -webkit-transform:  rotate(-90deg);
    -moz-transform:  rotate(-90deg);
    -ms-transform:  rotate(-90deg);
    -o-transform:  rotate(-90deg);
    transform: rotate(-90deg);
    margin-right: 3px;
}
div.circle-ray.min.bottom.small:before,
div.circle-ray.max.bottom.small:before {
    -webkit-transform:  rotate(-90deg);
    -moz-transform:  rotate(-90deg);
    -ms-transform:  rotate(-90deg);
    -o-transform:  rotate(-90deg);
    transform: rotate(-90deg);
    margin-right: 2px;
}
div.circle-ray.min.right:before,
div.circle-ray.max.right:before {
    right: -22px;
}
circle.iro__marker__outer,
circle.iro__marker__inner{
    -ms-cursor: hand;
    -webkit-cursor-pointer: hand;
    cursor: pointer;
    pointer-events: auto;
}
div.saturation-range{
    width: 13px;
    height: 100%;
    border: 1px solid;
    border-radius: 18px;
    float: right;
    margin-right: -42px;
    pointer-events: auto;
    touch-action: auto;
    position: relative;;
}
div.saturation-range-pos{
    display: block;
    right:-38px;
    margin-top: -2px;
    width:5px;
    height:5px;
    border:1px solid black;
    border-radius:50%;
    background: white;
    position:absolute;
    pointer-events: auto;
    touch-action: pan-y;
    -ms-cursor: hand;
    -webkit-cursor-pointer: hand;
    cursor: pointer;
    z-index:2;
}

div.saturation-range-cur{
    height:1px;
    width: 100%;
    background-color: white;
    border: none;
    position: absolute;
    margin-top: -1px;
    pointer-events: none;
    touch-action: none;
    cursor: pointer;

}
div.saturation-range-cur:before{
    content: attr(data-saturation);
    font-size: x-small;
    position: relative;
    display: block;
    text-align: left;
    right: -16px;
    -ms-cursor: hand;
    -webkit-cursor-pointer: hand;
    cursor: pointer;
    pointer-events: auto;
    touch-action: pan-y;
    border-radius: 20px;
    border: 1px dotted lightgrey;
    min-width: 2em;
    text-align: center;
    height: 2em;
    line-height: 2em;
}

div.saturation-range-cur.max:before{
    top: -20px;
}
div.light-range{
    height: 13px;
    left: 0;
    right: -2px;
    margin: auto;
    position: relative;
    pointer-events: none;
    touch-action: none;
}

div.light-range-cur {
    width: 1px;
    background-color: white;
    border: none;
    height: 100%;
    position: relative;
    pointer-events: none;
    touch-action: none;
    cursor: pointer;
}
.light-range-cur.max {
    margin-top: -13px;
}
div.light-range-cur:before{
    content: attr(data-light);
    font-size: x-small;
    top: -22px;
    position: absolute;
    -ms-cursor: hand;
    -webkit-cursor-pointer: hand;
    cursor: pointer;
    pointer-events: auto;
    touch-action: pan-x;
    border-radius: 20px;
    border: 1px dotted lightgrey;
    min-width: 2em;
    height: 2em;
    line-height: 2em;
    text-align: center;
}
div.light-range-cur.min:before{
    margin-left: -4em;

}
.light-range-cur.max:before {
    margin-left: -2em;
}
.half.readout #swatch {
    height: 80px;
    border-radius: 2px;
    border: 1px solid;
    float: left;
    display: table;
    pointer-events: none;
    touch-action: none;
}
.half.readout #swatch div[id^="row"]{
    pointer-events: none;
    touch-action: none;
}

.swatch{
    border: 1px solid white;
    height: 20px;
    display:table-cell;
    width: 20px;
    -ms-cursor: hand;
    -webkit-cursor-pointer: hand;
    cursor:pointer;
    pointer-events: auto;
}
.swatch.outrange:before,
.swatch.selected:not(.inrange):before{
    display: block;
    position: relative;
    background: white;
    width: 5%;
    height: 100%;
    -webkit-transform:  rotate(45deg);
    -moz-transform:  rotate(45deg);
    -ms-transform:  rotate(45deg);
    -o-transform:  rotate(45deg);
    transform: rotate(45deg);
    left: 50%;
    content: '';
    opacity: 0.9;
    mix-blend-mode: difference;
}

.half {
    position: relative;
}

.half.readout .title {
    font-family: sans-serif;
    line-height: 24px;
    display: inline-block;
    padding: 8px 0;
    text-align: center;
}
.half.readout .color-attr{
    display: inline-block;
    width: 14px;
}
label.color-attr,
label.color-attribute{
    cursor: default;
}
.half.readout .color-attribute{
    float: left;
    width: 14px;
    top: 0;
    bottom: 0;
    margin: auto;
    font-size: larger;
    height:22px;
    padding-left: 5px;
}
.half.readout .color-attribute-text{
    margin-left:-5px;
    font-size:smaller;
    display:block;
    position: absolute;
}
.half.readout .color-input{
    float:left;
}
.half.readout .color-label {
    font-size: smaller;
    width: 17px;
    margin-left: -5px;
}
.half.readout .color-cell {
    display: inline-flex;
}
.numeric-color{
    text-align: left;
}
::placeholder{
    color:lightgray;
}
.close-wnd {
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    position: absolute;
    padding: 0;
    border: 2px solid #ccc;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    background-color: rgba(61, 61, 61, 0.8);
    -webkit-box-shadow: 0px 0px 10px #000;
    -moz-box-shadow: 0px 0px 10px #000;
    box-shadow: 0px 0px 10px #000;
    text-align: center;
    text-decoration: none;
    font: 13px/20px 'Tahoma', Arial, sans-serif;
    font-weight: bold;
    -webkit-transition: all ease .8s;
    -moz-transition: all ease .8s;
    -ms-transition: all ease .8s;
    -o-transition: all ease .8s;
    transition: all ease .8s;
}
.close-wnd:before {
    color: rgba(255, 255, 255, 0.9);
    content: "\2716";
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    /*
	font-size: 12px;
    vertical-align: middle;
    line-height: 1em;
    text-align: center;
	*/
}
.close-wnd:hover {
    background-color: rgba(252, 20, 0, 0.8);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}