html {
  width: 100%;
  height: 100%;
}

a {
  cursor: pointer;
}

.grayed {
  color: #aaa;
  pointer-events: none;
  cursor: not-allowed;
}

#strategiesTable tr.selected,
#connectionsTable tr.selected {
  background-color: #cccccc;
}

/*.settings-checkbox {
    width: 20px;
    height: 20px;
}*/

.form-label {
  font-size: 14px;
  font-weight: 500;
}

.part-right div.dropdown-menu {
  position: absolute;
  right: -20px;
  left: auto;
  width: 100px;
}

#ribbon .dropdown-item {
  line-height: 30px;
  cursor: pointer;
}

nav li,
#ribbon a,
#header a,
.tasks-lines div.inner,
.pointer {
  cursor: pointer;
}

.settings-item {
  margin: 0px;
  padding-left: 14px;
}

.pathInput {
  direction: rtl;
}

#confirmDialog {
  z-index: 10000;
}

.form-group.required .control-label:after {
  color: #d00;
  content: "*";
  position: absolute;
  margin-left: 2px;
  top: 7px;
}

form.submitted .ng-invalid {
  border: 1px solid #f00;
}

.optimize-settings {
  margin-top: 3px;
}

.optimize-settings .line {
  width: 100%;
  display: inline-flex;
}

.optimize-settings .setting-label {
  width: 150px;
  text-align: right;
  margin-right: 20px;
}

#license-info {
  margin: 16px 0;
}

.dialog-info {
  margin: 0px 30px 15px 30px;
  text-align: center;
  color: #999;
}

fieldset.databank-action {
  border: 1px solid black;
  border-radius: 0;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

fieldset.databank-action .toolbar {
  margin-top: 5px;
  margin-bottom: 0;
  padding-bottom: 0;
}

fieldset.databank-action .sq-input {
  margin-bottom: 0;
}

fieldset.databank-action .sq-input.sq-input-radio label {
  font-size: 11px;
}

fieldset.databank-action label.panel-title {
  font-size: 16px;
}

fieldset.databank-action .close-btn {
  margin-right: 5px;
  margin-top: -5px;
  font-size: 20px;
  cursor: pointer;
}

fieldset.databank-action .db-select-label {
  margin-bottom: 10px;
  text-align: left;
  float: left;
}

fieldset.databank-action .db-select {
  margin-left: 130px;
  width: auto;
}

fieldset.databank-action .dir-path {
  display: inline-block;
  max-width: 65%;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
  font-weight: bold;
}

#databankViewsModal form,
#tradelistViewsModal form {
  text-align: left;
  padding-top: 15px;
}

#dbViewsForm,
#tlViewsForm {
  margin-bottom: 10px;
}

#dbViewsForm button,
#dbViewsForm select,
#tlViewsForm button,
#tlViewsForm select {
  width: 90%;
}

#tradelistViewsModal #tlViewsForm select {
  width: 100%;
}

#databankViewsModal #dbViewsForm select {
  width: 100%;
}

#dbViewsForm button,
#tlViewsForm button {
  width: 30%;
}

#dbViewDetailsForm .columnsGroup,
#tlViewDetailsForm .columnsGroup {
  margin: 0px;
}

#dbViewDetailsForm .columnsGroup label,
#tlViewDetailsForm .columnsGroup label {
  width: 100%;
  text-align: left;
  padding-left: 10px;
}

.vcenter {
  display: flex;
  align-items: center;
}

.databank-action .movement-arrows {
  position: absolute;
  right: 40px;
  top: 0;
}

.databank-action .movement-arrows span {
  cursor: pointer;
  margin-left: 5px;
}

/*.licence-dialog */

.licence-header {
  display: block;
  background-color: #288cfa;
  max-height: 300px;
  width: 100%;
  min-height: 190px;
  background-position: center center;
  background-image: url(../../../img/sq-loading-logo.png);
  background-repeat: no-repeat;
  flex: 1 1 38%;
}

.licence-header.product-QDM-header {
  background-image: url(../../../img/qdm_logo.png);
}

.licence-QDM-free {
  color: grey;
}

.licence-header.product-QDM {
  width: 100%;
  background-repeat: no-repeat;
  background-color: #288cfa;
  background-image: url(../../../img/qdm_logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  height: 208px;
  margin-bottom: 10px;
}

.licence-dialog .license-info-panel {
  font-size: 12px;
  text-align: center;
  line-height: 15px;
  color: #888888;
}

.license-flex-panel {
  flex: 1 1 auto;
}

.license-disclaimer {
  font-size: 12px;
  text-align: left;
  padding: 0 20px;
  line-height: 12px;
  color: #aaaaaa;
}

.licence-dialog {
  background-color: #ffffff;
  padding-bottom: 5px;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.licence-dialog .license-panel {
  width: 258px;
  margin: 0 auto;
  position: relative;
}

.licence-dialog #license-info {
  font-size: 13px;
  margin-top: 0;
  text-align: center;
  margin-bottom: 10px;
  height: 18px;
  flex: 0 0 18px;
}

.licence-dialog.failed #license-info {
  color: #ff4040;
}

.licence-dialog.failed #license-panel-info {
  color: #ff4040;
}

#license-panel-info {
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
  color: #555555;
  height: 17px;
  flex: 0 0 17px;
}

.licence-dialog #help-link-panel {
  text-align: center;
}

.licence-dialog a#help-link {
  color: #337ab7;
  text-decoration: underline;
  font-size: 12px;
  margin-bottom: 16px;
  display: block;
}

.licence-dialog a#upgrade-link,
.licence-dialog a#downgrade-link {
  color: #337ab7;
  text-decoration: underline;
  font-size: 12px;
  margin-bottom: 16px;
  display: block;
}

.licence-dialog input#license {
  width: 100%;
  display: block;
  border: 1px solid #000000;
  background-color: #d7e8fc;
  border-radius: 0;
  height: 30px;
  margin-bottom: 13px;
}

.licence-dialog #license-form button {
  display: block;
  padding: 3px 6px;
  background-color: #288cfa;
  font-weight: 700;
  color: #ffffff;
  height: 30px;
  line-height: 25px;
  text-align: center;
  border: 0;
  width: 100%;
  margin-bottom: 22px;
}

.licence-dialog #license-form label {
  font-size: 12px;
  display: block;
  font-weight: 400;
  margin-bottom: 0;
  padding-left: 2px;
  color: #555555;
}

.licence-dialog #license-form .form-group {
  margin-bottom: 11px;
}

.licence-or {
  text-align: center;
  font-size: 12px;
  color: #888888;
  border-top: 1px solid #a0a0a0;
}

.licence-or div {
  display: inline-block;
  position: relative;
  top: -8px;
  background-color: #ffffff;
  padding: 0 15px;
}

.licence-dialog .licence-buttons {
  text-align: center;
  margin-top: -6px;
  font-size: 12px;
  line-height: 28px;
}

.licence-dialog .licence-buttons a {
  display: block;
  color: #207ace;
}

.licence-dialog #license-verify-prog {
  position: absolute;
  right: 8px;
  top: 22px;
}

.licence-dialog .license-terms {
  margin: 10px 10px 10px 10px;
}

.licence-dialog .license-terms input {
  float: left;
  width: 13px;
  height: 20px;
  margin: 0 4px 0 0;
}

.licence-dialog .license-terms label {
  padding-top: 2px;
}

.licence-dialog .btnLST {
  margin-left: 6px;
}

@media screen and (max-width: 380px) {
  #license-panel-info {
    margin-left: 99px;
    padding-left: 2%;
    font-size: 12px;
  }
  .licence-dialog input#license {
    width: 120px;
    font-size: 12px;
    margin-left: 2%;
  }
  #license-form label {
    font-size: 12px;
  }
}

.help-panel label {
  margin-left: 20px;
  font-size: 11px;
  font-weight: 400;
  color: #404048;
  --border: 1px solid #ffe765;
  --border-radius: 3px;
  margin-bottom: 4px;
  padding: 6px 7px;
}

.help-panel hr {
  margin: 0px;
  display: none;
}

.disabled-area {
  position: absolute;
  z-index: 1000;
  background-color: #fff;
  opacity: 0.4;
  cursor: not-allowed;
}

label.bb-left-menu,
label.conditions-menu {
  height: 25px;
  width: 300px;
  border: 1px solid rgb(199, 199, 199);
  vertical-align: middle;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  padding-top: 2px;
  padding-left: 4px;
  background-color: #fff;
}

label.bb-left-menu.selected,
label.conditions-menu.selected {
  background-color: #85d3ff;
}

.checkbox-label {
  font-size: 12px;
  color: #727272;
  font-weight: 400;
  background-image: none;
}

.dropdown-tf:before {
  position: absolute;
  top: -7px;
  left: 141px;
  display: inline-block;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff;
  border-left: 7px solid transparent;
  border-bottom-color: #2196f3;
  /* rgba(0, 0, 0, 0.14902);*/
  content: "";
}

.dropdown-tf {
  position: absolute;
  top: 27px;
  right: 161px;
  margin-top: 0px;
}

.dropdown-tf li.vertical {
  margin-top: -2px;
}

.dropdown-tf .line {
  display: flex;
  padding: 0px 10px 0px 10px;
}

.dropdown-tf .sq-input {
  width: 62px !important;
  padding-right: 0 !important;
}

.dropdown-tf .dropdown-header {
  background-color: #2196f3;
  color: #fff;
  text-align: center;
}

.dropdown-tf .radio label.horizontal {
  margin-top: 17px;
}

.dropdown-tf .radio label {
  width: 80px;
}

.dropdown-tf .dropdown-menu {
  margin-top: 0px;
  border-top: none;
  padding-top: 0;
  overflow: hidden;
}

.dropdown-tf .dropdown-menu > li > a {
  color: #207ace;
  text-decoration: underline;
  padding: 0;
  margin-right: 17px;
  display: inline-block;
  line-height: 28px;
  vertical-align: middle;
  margin-right: 17px;
  font-size: 11px;
}

.dropdown-tf .dropdown-menu > li > a:hover {
  background: transparent;
  filter: none;
}

.dropdown-tf .dropdown-footer {
  text-align: right;
  padding-bottom: 4px;
  padding-right: 18px;
}

.dropdown-tf .dropdown-menu .radio label {
  margin-left: 0;
}

.react-stockcharts-grabbing-cursor,
.react-stockcharts-crosshair-cursor {
  stroke: #000000;
  stroke-width: 1;
  opacity: 1 !important;
  fill-opacity: 0 !important;
}

.sqm-panel-menu .smart-form button {
  width: 80px;
  margin-left: 6px;
}

.sqm-panel-menu .smart-form .dropdown-toggle {
  width: auto;
  margin-left: 0px;
  min-width: 80px;
}

body .btn.btn-default.sqn-btn-help {
  float: right;
  color: #207ace;
  height: 22px;
  line-height: 10px;
  padding-left: 4px;
  padding-right: 15px;
}

body .btn.btn-default.sqn-btn-help span {
  vertical-align: -2px;
  font-size: 12px;
}

body .btn.btn-default.sqn-btn-help:before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  background-position: center center;
  background-image: url(../../../img/sqn-btn-help.png);
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 10px;
}

body .modal-footer .btn.btn-default.sqn-btn-help {
  float: left;
  margin-right: 0;
  margin-top: 3px;
}

.sqn-settings-body-header {
  max-width: 946px;
  display: flex;
  padding: 0 0 6px 0;
  border-bottom: 1px solid #c1c1c1;
  margin-bottom: 8px;
  flex: 0 0 auto;
  color: #777777;
  background-color: transparent;
  --border-radius: 3px;
}

.sqn-settings-body-header.builder-settings-blocks {
  max-width: 1186px;
}

.row-limited.settings-blocks-grids {
  max-width: 1201px;
}

.sqn-settings-body-header .btn.btn-default.sqn-btn-help {
  flex: 0 0 auto;
}

.sqn-settings-body-header .sqn-settings-tab-desc {
  flex: 1 1 auto;
  padding: 0 7px;
  font-style: italic;
}

.sqn-settings-body-inner {
  position: relative;
  flex: 1 1 auto;
}
