@font-face {
  font-family: 'rcicons';

  src: url('../fonts/RCIcons/rcicons.eot?44705679');
  src: url('../fonts/RCIcons/rcicons.eot?44705679#iefix') format('embedded-opentype'),
       url('../fonts/RCIcons/rcicons.woff2?44705679') format('woff2'),
       url('../fonts/RCIcons/rcicons.woff?44705679') format('woff'),
       url('../fonts/RCIcons/rcicons.ttf?44705679') format('truetype'),
       url('../fonts/RCIcons/rcicons.svg?44705679#rcicons') format('svg');

  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'rcicons';
    src: url('../fonts/RCIcons/rcicons.svg?74666722#rcicons') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "rcicons";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.animate-spin {
  -moz-animation: spin 2s infinite linear;
  -o-animation: spin 2s infinite linear;
  -webkit-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
  display: inline-block;
}
@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

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

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

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-ms-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

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

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}



.icon-no-margin::before {
    margin: 0;

}
// -- ICON CLASSES -- //
// sorter = lambda s: '\n'.join(sorted(s.splitlines()))

.icon-delete:before { content: '\e800'; } /* '' */
.icon-ok:before { content: '\e801'; } /* '' */
.icon-comment:before { content: '\e802'; } /* '' */
.icon-bookmark:before { content: '\e803'; } /* '' */
.icon-branch:before { content: '\e804'; } /* '' */
.icon-tag:before { content: '\e805'; } /* '' */
.icon-lock:before { content: '\e806'; } /* '' */
.icon-unlock:before { content: '\e807'; } /* '' */
.icon-feed:before { content: '\e808'; } /* '' */
.icon-left:before { content: '\e809'; } /* '' */
.icon-right:before { content: '\e80a'; } /* '' */
.icon-down:before { content: '\e80b'; } /* '' */
.icon-folder:before { content: '\e80c'; } /* '' */
.icon-folder-open:before { content: '\e80d'; } /* '' */
.icon-trash-empty:before { content: '\e80e'; } /* '' */
.icon-group:before { content: '\e80f'; } /* '' */
.icon-remove:before { content: '\e810'; } /* '' */
.icon-fork:before { content: '\e811'; } /* '' */
.icon-more:before { content: '\e812'; } /* '' */
.icon-options:before { content: '\e812'; } /* '' */
.icon-search:before { content: '\e813'; } /* '' */
.icon-scissors:before { content: '\e814'; } /* '' */
.icon-download:before { content: '\e815'; } /* '' */
.icon-doc:before { content: '\e816'; } /* '' */
.icon-cog:before { content: '\e817'; } /* '' */
.icon-cog-alt:before { content: '\e818'; } /* '' */
.icon-eye:before { content: '\e819'; } /* '' */
.icon-eye-off:before { content: '\e81a'; } /* '' */
.icon-cancel-circled2:before { content: '\e81b'; } /* '' */
.icon-cancel-circled:before { content: '\e81c'; } /* '' */
.icon-plus:before { content: '\e81d'; } /* '' */
.icon-plus-circled:before { content: '\e81e'; } /* '' */
.icon-minus-circled:before { content: '\e81f'; } /* '' */
.icon-minus:before { content: '\e820'; } /* '' */
.icon-info-circled:before { content: '\e821'; } /* '' */
.icon-upload:before { content: '\e822'; } /* '' */
.icon-home:before { content: '\e823'; } /* '' */
.icon-flag-filled:before { content: '\e824'; } /* '' */
.icon-git:before { content: '\e82a'; } /* '' */
.icon-hg:before { content: '\e82d'; } /* '' */
.icon-svn:before { content: '\e82e'; } /* '' */
.icon-comment-add:before { content: '\e82f'; } /* '' */
.icon-comment-toggle:before { content: '\e830'; } /* '' */
.icon-rhodecode:before { content: '\e831'; } /* '' */
.icon-up:before { content: '\e832'; } /* '' */
.icon-down:before { content: '\e832'; } /* '' */
.icon-merge:before { content: '\e833'; } /* '' */
.icon-spin-alt:before { content: '\e834'; } /* '' */
.icon-spin:before { content: '\e838'; } /* '' */
.icon-docs:before { content: '\f0c5'; } /* '' */
.icon-menu:before { content: '\f0c9'; } /* '' */
.icon-sort:before { content: '\f0dc'; } /* '' */
.icon-paste:before { content: '\f0ea'; } /* '' */
.icon-doc-text:before { content: '\f0f6'; } /* '' */
.icon-plus-squared:before { content: '\f0fe'; } /* '' */
.icon-angle-left:before { content: '\f104'; } /* '' */
.icon-angle-right:before { content: '\f105'; } /* '' */
.icon-angle-up:before { content: '\f106'; } /* '' */
.icon-angle-down:before { content: '\f107'; } /* '' */
.icon-circle-empty:before { content: '\f10c'; } /* '' */
.icon-circle:before { content: '\f111'; } /* '' */
.icon-folder-empty:before { content: '\f114'; } /* '' */
.icon-folder-open-empty:before { content: '\f115'; } /* '' */
.icon-code:before { content: '\f121'; } /* '' */
.icon-info:before { content: '\f129'; } /* '' */
.icon-minus-squared:before { content: '\f146'; } /* '' */
.icon-minus-squared-alt:before { content: '\f147'; } /* '' */
.icon-doc-inv:before { content: '\f15b'; } /* '' */
.icon-doc-text-inv:before { content: '\f15c'; } /* '' */
.icon-plus-squared-alt:before { content: '\f196'; } /* '' */
.icon-file-code:before { content: '\f1c9'; } /* '' */
.icon-history:before { content: '\f1da'; } /* '' */
.icon-circle-thin:before { content: '\f1db'; } /* '' */
.icon-sliders:before { content: '\f1de'; } /* '' */
.icon-trash:before { content: '\f1f8'; } /* '' */


// MERGED ICONS BASED ON CURRENT ONES
.icon-repo-group:before { &:extend(.icon-folder-open:before); }
.icon-repo-private:before { &:extend(.icon-lock:before); }
.icon-repo-lock:before { &:extend(.icon-lock:before); }
.icon-unlock-alt:before { &:extend(.icon-unlock:before); }
.icon-repo-unlock:before { &:extend(.icon-unlock:before); }
.icon-repo-public:before { &:extend(.icon-unlock:before); }
.icon-rss-sign:before { &:extend(.icon-feed:before); }
.icon-code-fork:before {  &:extend(.icon-fork:before);  }
.icon-arrow_up:before { &:extend(.icon-up:before); }
.icon-arrow_down:before { &:extend(.icon-down:before); }
.icon-file:before { &:extend(.icon-file-code:before); }
.icon-file-text:before { &:extend(.icon-file-code:before); }
.icon-directory:before { &:extend(.icon-folder:before); }
.icon-more-linked:before { &:extend(.icon-more:before); }
.icon-clipboard:before { &:extend(.icon-docs:before); }
.icon-copy:before { &:extend(.icon-docs:before); }
.icon-true:before { &:extend(.icon-ok:before); }
.icon-false:before { &:extend(.icon-delete:before); }
.icon-expand-linked:before { &:extend(.icon-down:before); }
.icon-pr-merge-fail:before { &:extend(.icon-delete:before); }
.icon-wide-mode:before { &:extend(.icon-sort:before); }
.icon-flag-filled-red:before { &:extend(.icon-flag-filled:before); }
.icon-user-group-alt:before { &:extend(.icon-group:before); }

// TRANSFORM
.icon-merge:before {transform: rotate(180deg);}
.icon-wide-mode:before {transform: rotate(90deg);}
.icon-options:before {transform: rotate(90deg);}
.icon-down:before {transform: rotate(180deg);}


// -- END ICON CLASSES -- //


//--- ICONS STYLING ------------------//

.icon-git { color: @color4 !important; }
.icon-hg { color: @color8 !important; }
.icon-svn { color: @color1 !important; }
.icon-git-inv { color: @color4 !important; }
.icon-hg-inv { color: @color8 !important; }
.icon-svn-inv { color: @color1 !important; }
.icon-repo-lock { color: #FF0000; }
.icon-repo-unlock { color: #FF0000; }
.icon-false { color: @grey5 }
.icon-expand-linked { cursor: pointer; color: @grey3; font-size: 14px }
.icon-more-linked { cursor: pointer; color: @grey3 }
.icon-flag-filled-red { color: @color5 !important; }
.icon-filled-red { color: @color5 !important; }

.repo-switcher-dropdown .select2-result-label {
    .icon-git:before {
        &:extend(.icon-git-transparent:before);
    }
    .icon-hg:before {
        &:extend(.icon-hg-transparent:before);
        color: @alert4;
    }
    .icon-svn:before {
        &:extend(.icon-svn-transparent:before);
    }
}

.icon-user-group:before {
  &:extend(.icon-group:before);
  margin: 0;
  font-size: 16px;
}
