.finalise-enabled.finalised .comp:not(.commenting-comp),
.finalise-enabled.finalised .comp:not(.commenting-comp) *{
    cursor: not-allowed !important; 
}




.colors-comp{
    display:inline-block;
    height: 22px;

}

.colors-comp button{
    text-decoration: none !important;
    padding-right: 0;
    border: none;
}


.colors-comp button:hover{
    margin-top: 0;
    border-bottom-width: 4px;
}



/* text button */
.colors-comp button[data-text]{
    padding-left: 0;
    max-width: 0;
    
    /*translatez to not jump on chrome*/
    -webkit-transform: scaleX(0) translateZ(0);
            transform: scaleX(0) translateZ(0);
			
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    
    -webkit-transition: -webkit-transform 0.3s, max-width 0s;
            transition: transform 0.3s, max-width 0s;
            
    -webkit-transition-delay: 0s, 0.3s; /* Safari */
            transition-delay: 0s, 0.3s;
}

.colors-comp button[data-text].active{
    max-width: 100px;
    
    -webkit-transform: scaleX(1) translateZ(0);
            transform: scaleX(1) translateZ(0);
            
            
    -webkit-transition-delay: 0s, 0s; /* Safari */
            transition-delay: 0s, 0s;
            

}

.colors-comp button[data-circles]{
    padding: 0;
}


.color-checkboxes{
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    
    white-space: nowrap;
}

.color-checkboxes .checkbox{
	margin-left: 0;
	margin-right: 9px;
}

.color-checkboxes .checkbox:last-child {
	margin-right: 0;
}




.circle{
    display:inline-block;
    vertical-align: middle;
    height: 19px;
}

.circle > div{
    width: 0;
    height: 100%;
    
    margin-left: 0;
    margin-right: 0;
    
    -webkit-transition: width 0.3s, margin 0.3s;
            transition: width 0.3s, margin 0.3s;
}

.circle > div:after{
    display:block;
    content:'';
    width: 100%;
    border-radius: 50%;
    /* border: none !important; */
    height: 100%;
}

.circle.active > div{
    width: 19px;
    margin-left: 3px;
    margin-right: 3px;
}


.circle-red > div:after{
    background-color: #e25a60;
}

.circle-red.active > div:after{
    border: 1px solid #d0474d;
}

.circle-yellow > div:after{
    background-color: #f9bf62;
}

.circle-yellow.active > div:after{
    border: 1px solid #f5b34a;
}

.circle-green > div:after{
    background-color: #42b879;
}

.circle-green.active > div:after{
    border: 1px solid #3aa16a;
}

.circle-blue > div:after{
	background-color: #347fb1;
}

.circle-blue.active > div:after{
    border: 1px solid #2c6b96;
}

/* .circle.circle-purple > div:after{
	background-color: #ab63a9;
} */


.colors-popup{
    position: absolute;
    padding: 15px;
    background-color: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.2);
}


.theme-dark .colors-popup{
    background-color: #444444;
    border-color: #585858;
}

/* disable transitions on checkboxes when preparing */
.colors-popup.no-trans,
.colors-popup.no-trans *,
.colors-popup.no-trans *:after,
.colors-popup.no-trans *:before{
	-webkit-transition: none;
			transition: none;
}


.rating-comp {
/*    text-align: left;*/
   height: 22px;
}

.theme-dark .rating-comp .checkbox label::before {
    background-color: transparent !important;
}

.rating-comp .checkbox-inline{
    margin-left: 0;
    margin-right: 6px;
    vertical-align: middle;
}

.rating-comp .checkbox-inline:last-child {
	margin-right: 0;
}






.tagging-comp {
    position: relative;
    display:inline-block;
    width: 22px;
    height: 23px; /*to match height of comment comp*/
}


.tagging-comp button {
    position: absolute;
    border: none !important;

    padding:6px;
    line-height: 1;
    left: -6px; 
    top: -6px; 
    /*move to left*/
}

.tagging-comp button:hover{
    margin-top: 0;
    border-bottom-width: 4px;
}




.tagging-comp button:focus {
    /*disable outline - clickable area of this button is greather than content*/
    outline: none !important;
}

.tagging-comp button span {
    display:block;
    width: 22px;
    height: 22px;
    background-image: url("../../../img/sprites.svg");
    
    
    -webkit-transition: opacity 0.3s;
            transition: opacity 0.3s;
}

.tagging-comp button:focus span {
    /*when focus show outline only on content not clickable area the same as checkboxes uiser in rating and tagging*/
    box-shadow:  0 0 0 1px #72b5f7;
}

.tagging-comp button span.off {
    background-position: -101px 0;
}

.tagging-comp.active button span.off {
    opacity: 0;
}

.tagging-comp button span.on {
    position: absolute;
    top:6px;
    left:6px;
    opacity: 0;
    background-position: -126px 0;
}

.tagging-comp.active button span.on {
    opacity: 1;
}














.commenting-comp {
    position: relative;
    display:inline-block;
    width: 24px;
    height: 23px;
}


.commenting-comp button {
    position: absolute;
    border: none !important;

    padding:6px;
    line-height: 1;
    left: -6px; 
    top: -6px; 
    /*move to left*/
}

.commenting-comp button:hover{
    margin-top: 0;
    border-bottom-width: 4px;
}


.commenting-comp button:focus {
    /*disable outline - clickable area of this button is greather than content*/
    outline: none !important;
}

.commenting-comp button span {
    display:block;
    width: 24px;
    height: 24px;
    background-image: url("../../../img/sprites.svg");
    
    
    -webkit-transition: opacity 0.3s;
            transition: opacity 0.3s;
}

.commenting-comp button:focus span {
    /*when focus show outline only on content not clickable area the same as checkboxes uiser in rating and tagging*/
    box-shadow:  0 0 0 1px #72b5f7;
}

.commenting-comp button span.off {
    background-position: -50px 0;
}

.commenting-comp.active button span.off {
    opacity: 0;
}

.commenting-comp button span.on {
    position: absolute;
    top:6px;
    left:7px;
    opacity: 0;
    background-position: -76px 0;
}

.commenting-comp.active button span.on {
    opacity: 1;
}
