@import "flive-vars";

@font-face {
  font-family: 'fontello';
  src: url('./font/fontello.eot?94680220');
  src: url('./font/fontello.eot?94680220#iefix') format('embedded-opentype'),
       url('./font/fontello.woff2?94680220') format('woff2'),
       url('./font/fontello.woff?94680220') format('woff'),
       url('./font/fontello.ttf?94680220') format('truetype'),
       url('./font/fontello.svg?94680220#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

// simple icon size
.icon-xs {
  font-size: 1rem;
}
.icon-sm {
  font-size: 1.4rem;
}
.icon-md {
  font-size: 2.2rem;
}
.icon-lg {
  font-size: 3rem;
}
.icon-auto {
  font-size: 1em;
}

// circle style
.circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border-width: 1px;
  border-style: solid;
  line-height: 1em;
  font-weight: normal;
  position: relative;
  z-index: 3;
  text-align: center;
  overflow: hidden;
  width: 2em;
  height: 2em;
  margin: 0 auto;
}

// circle icon size
.circle-xs {
  font-size: 1rem;
}
.circle-sm {
  font-size: 1.4rem;
}
.circle-md {
  font-size: 2.2rem;
}
.circle-lg {
  font-size: 3rem;
}
.circle-auto {
  font-size: 1em;
}

.circle-wrapper {
  display: inline-block;
}

.icon {
  display: flex;
  text-decoration: none;
  &:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;

    display: inline-block;
    text-decoration: inherit;
    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); */
  }
}

.icon-doc:before { content: '\e800'; } /* '' */
.icon-app-launcher:before { content: '\e801'; } /* '' */
.icon-sigfox:before { content: '\e802'; } /* '' */
.icon-trash:before { content: '\e803'; } /* '' */
.icon-certification:before { content: '\e804'; } /* '' */
.icon-eye:before { content: '\e805'; } /* '' */
.icon-eye-off:before { content: '\e806'; } /* '' */
.icon-ok-circle:before { content: '\e807'; } /* '' */
.icon-world:before { content: '\e808'; } /* '' */
.icon-ok-ellipsis:before { content: '\e809'; } /* '' */
.icon-attach:before { content: '\e80a'; } /* '' */
.icon-link:before { content: '\e80b'; } /* '' */
.icon-briefcase:before { content: '\e80c'; } /* '' */
.icon-sdr-dongle:before { content: '\e80d'; } /* '' */
.icon-technical-quickstart:before { content: '\e80e'; } /* '' */
.icon-mail:before { content: '\e80f'; } /* '' */
.icon-location:before { content: '\e810'; } /* '' */
.icon-resize-cover:before { content: '\e811'; } /* '' */
.icon-resize-contain:before { content: '\e812'; } /* '' */
.icon-search:before { content: '\e813'; } /* '' */
.icon-phone:before { content: '\e814'; } /* '' */
.icon-signal:before { content: '\e815'; } /* '' */
.icon-certificate-outline:before { content: '\e816'; } /* '' */
.icon-integrator:before { content: '\e818'; } /* '' */
.icon-soc:before { content: '\e81a'; } /* '' */
.icon-software-partner:before { content: '\e81b'; } /* '' */
.icon-kit-maker:before { content: '\e81d'; } /* '' */
.icon-solution:before { content: '\e81e'; } /* '' */
.icon-solution-provider:before { content: '\e81f'; } /* '' */
.icon-kit:before { content: '\e820'; } /* '' */
.icon-chip-maker:before { content: '\e822'; } /* '' */
.icon-manufacturer:before { content: '\e823'; } /* '' */
.icon-tech-hub:before { content: '\e824'; } /* '' */
.icon-transceiver:before { content: '\e825'; } /* '' */
.icon-consulting-company:before { content: '\e826'; } /* '' */
.icon-consulting:before { content: '\e827'; } /* '' */
.icon-module-maker:before { content: '\e828'; } /* '' */
.icon-utilities:before { content: '\e829'; } /* '' */
.icon-module:before { content: '\e82a'; } /* '' */
.icon-na:before { content: '\e82b'; } /* '' */
.icon-contact:before { content: '\e82c'; } /* '' */
.icon-design-house:before { content: '\e82d'; } /* '' */
.icon-platform-provider:before { content: '\e82f'; } /* '' */
.icon-platform:before { content: '\e830'; } /* '' */
.icon-device-maker:before { content: '\e831'; } /* '' */
.icon-design:before { content: '\e832'; } /* '' */
.icon-device:before { content: '\e833'; } /* '' */
.icon-distributor:before { content: '\e839'; } /* '' */
.icon-service:before { content: '\e840'; } /* '' */
.icon-edit:before { content: '\e845'; } /* '' */
.icon-development:before { content: '\e846'; } /* '' */
.icon-industrialization:before { content: '\e847'; } /* '' */
.icon-library:before { content: '\e848'; } /* '' */
.icon-start:before { content: '\e849'; } /* '' */
.icon-study:before { content: '\e84a'; } /* '' */
.icon-down:before { content: '\e84e'; } /* '' */
.icon-left:before { content: '\e84f'; } /* '' */
.icon-right:before { content: '\e850'; } /* '' */
.icon-up:before { content: '\e851'; } /* '' */
.icon-resize-full:before { content: '\e852'; } /* '' */
.icon-resize-small:before { content: '\e853'; } /* '' */
.icon-account:before { content: '\e854'; } /* '' */
.icon-basket:before { content: '\e855'; } /* '' */
.icon-card:before { content: '\e856'; } /* '' */
.icon-antenna-designer:before { content: '\e857'; } /* '' */
.icon-refdesign:before { content: '\e858'; } /* '' */
.icon-wrench:before { content: '\e859'; } /* '' */
.icon-sigfox-operator:before { content: '\e85e'; } /* '' */
.icon-test-house:before { content: '\e860'; } /* '' */
.icon-security-expert:before { content: '\e861'; } /* '' */
.icon-secure-element:before { content: '\e862'; } /* '' */
.icon-company:before { content: '\e863'; } /* '' */
.icon-cloud-platform-provider:before { content: '\e864'; } /* '' */
.icon-cloud-platform:before { content: '\e86d'; } /* '' */
.icon-user:before { content: '\f061'; } /* '' */
.icon-doc-text:before { content: '\f0f6'; } /* '' */
.icon-battery:before { content: '\f240'; } /* '' */

.icon-card:before {
  /*
    /!\ don't remove !
  */
  font-size: 0.8em;
}
.icon-sigfox-id {
  -webkit-font-smoothing: antialiased;
  padding: 0.01em 0.2em 0.2em 0.2em;
  border-radius: 0.25em;
  white-space: nowrap;
  border: 0.05em solid;
  display: inline-block;
  line-height: 0.28em;
  &:before, &:after {
    display: inline !important;
    font-style: normal;
    font-family: $title-font-family;
    font-size: 0.4em;
  }
  &:before {
    font-weight: 500;
    content: 'sigfox';
    margin-right: 0.2em;
  }
  &:after {
    font-weight: 100;
    content: 'id';
  }
}
.icon-close {
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: 1em;
  height: 1em;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  &:before, &:after {
    margin: -.05em;
    position: absolute;
    content: "";
    border-left: 0.1em solid;
    height: 1em;
    top: 0;
  }
  &:before {
    right: 0.5em;
    transform: rotate(45deg);
  }
  &:after {
    left: 0.5em;
    transform: rotate(-45deg);
  }
}
