@font-face {
  font-family: 'Roboto Regular';
  src: url('fonts/Roboto/RobotoRegular/RobotoRegular.ttf');
}

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

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
  display: none !important;
}

:root {
  --eo-widget-height: 100%;
  --eo-widget-width: 100%;
  --eo-widget-header-height: 60px;
  --eo-widget-chart-height: calc(var(--eo-widget-height) - var(--eo-widget-header-height));
}

.icon-font-call:before {
  content: '\e602';
}

.icon-font-put:before {
  content: '\e603';
}

.icon-font-clocks:before {
  content: '\e60d';
}

[class^='icon-font-'],
[class*=' icon-font-'] {
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  height: 100%;
  width: 100%;
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 62.5%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  width: 100%;
  height: 100%;
  line-height: 1.5;
  margin: 0 auto;
  font-family: 'Roboto Regular', Arial;
  color: #25323a;
  font-size: 14px;
}

div,
input {
  box-sizing: border-box;
}

body input {
  font-family: 'Roboto Regular', Arial;
  line-height: 1.2;
  padding: 0;
  width: 100%;
}

.preloader {
  position: absolute;
  width: 100%;
  height: 101%;
  z-index: 9999;
  background-color: #252f42;
  transition: opacity 1s ease-out 1s;
  opacity: 1;
  pointer-events: none;
}

.preloader:before {
  content: '';
  height: 44px;
  width: 137px;
  position: absolute;
  left: 50%;
  top: 50%;
  background: url('images/logo.svg') no-repeat 0 60%;
  -webkit-background-size: 137px;
  background-size: 137px;
  margin-left: -68px;
  margin-top: -22px;
}

.preloaderHide {
  opacity: 0;
}

#test-option {
  position: relative;
  width: var(--eo-widget-width);
  height: var(--eo-widget-height);
  overflow: hidden;
}

#scene {
  width: var(--eo-widget-width);
  height: var(--eo-widget-chart-height);
  position: absolute;
  left: 0;
  top: 60px;
  z-index: 5;
  background-color: #273247;
}

#deals-panel {
  position: absolute;
  width: 320px;
  height: 60px;
  background-color: rgba(21, 27, 39, 0.6);
  z-index: 8;
  left: 50%;
  bottom: 30px;
  margin-left: -151px;
  border-radius: 5px;
  display: flex;
  justify-content: space-evenly;
}

#deals-panel > div {
  padding-top: 7px;
  box-sizing: border-box;
}

#deals-panel .amount {
  width: 82px;
  padding-left: 10px;
}

#deals-panel .profit {
  width: 90px;
}

#deals-panel .deals-buttons {
  width: 120px;
}

#deals-panel .deals-buttons .operate-button {
  height: 46px;
  color: #ffffff !important;
  width: 57px;
  float: left;
  display: block;
  text-align: left;
  transition: 0.15s;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
  position: relative;
}

#deals-panel .deals-buttons .operate-button:before {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  background: url('images/call.svg') no-repeat;
  background-size: 85%;
  display: block;
  border-radius: 4px;
  left: 15px;
  top: 10px;
}

#deals-panel .deals-buttons .operate-button:first-child {
  margin-right: 5px;
}

#deals-panel .deals-buttons .operate-button:active {
  transform: translateY(0.5px);
}

#deals-panel .deals-buttons .operate-button.call {
  background: linear-gradient(to right, #0cbe80 0%, #06ce71 100%);
}

#deals-panel .deals-buttons .operate-button.call:hover {
  background: linear-gradient(to right, #00aa6c 0, #00ba5d 100%);
}

#deals-panel .deals-buttons .operate-button.put {
  background: linear-gradient(to right, #b92b6e 0%, #ca2d59 100%);
}

#deals-panel .deals-buttons .operate-button.put:before {
  background: url('images/put.svg') no-repeat;
  background-size: 85%;
}

#deals-panel .deals-buttons .operate-button.put:hover {
  background: linear-gradient(to right, #a5175a 0, #b61945 100%);
}

#deals-panel .block {
  text-align: left;
  overflow: hidden;
}

#deals-panel .block .title {
  color: #d1dced;
  font-size: 10px;
}

#deals-panel .block .profit {
  font-size: 20px;
  color: #ffffff;
}

#deals-panel .block .input {
  font-size: 20px;
  background-color: transparent;
  position: relative;
}

#deals-panel .block .input input {
  background: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 20px;
  color: #fff;
  height: 30px;
  line-height: 30px;
  padding: 0 5px 0 16px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0);
  box-sizing: border-box;
  border-radius: 2px;
  transition: 0.2s;
}

#deals-panel .block .input input:hover {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#deals-panel .block .input input:focus {
  border: 1px solid #259efa;
}

#deals-panel .block .currency {
  color: #ffffff;
  height: 30px;
  margin-left: 3px;
  line-height: 30px;
}

#chart-header {
  position: absolute;
  top: 0;
  width: var(--eo-widget-width);
  height: var(--eo-widget-header-height);
  left: 0;
  background-color: #242e40;
  color: #ffffff;
  z-index: 8;
  text-align: left;
  display: inline-grid;
  grid-template-columns: 4fr 7fr;
}

#chart-header .logo {
  height: var(--eo-widget-header-height);
  background: url('images/logo.svg') no-repeat 15px 50%;
  background-size: 160px;
}

#chart-header .params {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#chart-header .params .asset {
  margin-right: 3%;
  width: 110px;
}

#chart-header .params .asset span {
  display: block;
  box-sizing: border-box;
  border: 1px solid #38445e;
  padding: 3px 15px;
  border-radius: 3px;
  font-size: 18px;
  background: #273247;
  text-align: center;
}

#chart-header .params .balance {
  margin-right: 3%;
  width: 100px;
}

#chart-header .params .balance span {
  font-size: 18px;
  line-height: 18px;
  display: block;
}

#chart-header .params .balance i {
  display: block;
  font-style: normal;
  font-size: 10px;
  line-height: 10px;
  color: #d1dced;
}

#chart-header .params .big-button {
  color: #fff !important;
  font-size: 11px;
  display: block;
  text-align: center;
  transition: 0.15s;
  text-transform: uppercase;
  line-height: 1.35em;
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  text-decoration: none !important;
  background: linear-gradient(to right, #03bfa0 0%, #04be7f 100%);
  margin-right: 15px;
  padding: 4px 10px;
  width: 120px;
}

#chart-header .params .big-button strong {
  display: block;
  white-space: nowrap;
}

#chart-header .params .big-button:hover {
  background: linear-gradient(to right, #00ab8c 0, #00aa6b 100%);
}

#chart-header .params .big-button:active {
  transform: translateY(0.5px);
}

.chart-message {
  width: var(--eo-widget-width);
  height: var(--eo-widget-chart-height);
  position: absolute;
  left: 0;
  top: var(--eo-widget-header-height);
  z-index: 8;
  background-color: RGBA(23, 31, 36, 0.75);
  transition: 0.4s;
  opacity: 0;
  text-align: center;
}

.chart-message .dialog {
  background-color: RGBA(23, 31, 36, 0.85);
  width: 320px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -160px;
  transform: scale(0) translateY(-50%);
  opacity: 0;
  font-size: 16px;
  color: #fff;
  padding: 13px 20px 24px;
  border-radius: 5px;
  -webkit-transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275); /* easeOutBack */
  box-shadow: 0 0 20px rgba(65, 65, 65, 0.2);
}

.chart-message .dialog .times {
  color: #ffffff;
  position: absolute;
  font-size: 20px;
  cursor: pointer;
  top: 0;
  right: 10px;
  z-index: 6;
  opacity: 0.7;
}

.chart-message .dialog .times:hover {
  opacity: 1;
}

.chart-message .dialog .ok {
  height: 30px;
  line-height: 30px;
  width: 130px;
  background-color: #00a8ed;
  border-radius: 3px;
  margin: 14px 5px 0;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: 0.15s;
  display: inline-block;
  text-decoration: none;
}

.chart-message .dialog .ok:hover {
  background-color: #259efa;
}

.chart-message .dialog .button {
  height: 30px;
  line-height: 30px;
  width: 130px;
  background-color: #aaaeb3;
  border-radius: 3px;
  margin: 14px auto 0;
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: 0.15s;
  display: inline-block;
}

.chart-message .dialog .title {
  color: #259efa;
  font-size: 20px;
  margin-bottom: 5px;
}

.chart-message.showed {
  opacity: 1;
  z-index: 10;
}

.chart-message.showed .dialog {
  transform: scale(1) translateY(-50%);
  opacity: 1;
}

.await-buttons {
  line-height: 40px;
  border: 2px solid #00a8ed;
  border-radius: 5px;
  color: #00a8ed;
  width: 100%;
  height: 46px;
}

.await-buttons i {
  display: block;
  font-size: 33px;
  float: left;
  margin-left: 15px;
  margin-top: 5px;
  margin-right: 12px;
}

.await-buttons span {
  display: inline-block;
  line-height: 32px;
  vertical-align: middle;
  font-size: 32px;
}

@media (max-width: 550px) {
  #chart-header .logo {
    width: 55px;
    height: 50px;
    background-position: 15px 4px;
    background-size: cover;
  }

  #chart-header .params .asset {
    position: absolute;
    left: 15px;
    top: 68px;
  }

  #chart-header .params .asset span {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
  }
}
