.page-content {
  min-height: calc(100vh - 50px) !important;
}
.page-content .page-bar {
  border-radius: 0;
}

.main-page-bar {
  position: fixed !important;
  width: calc(100% - 235px);
  z-index: 999;
}

.page-sidebar-closed .main-page-bar {
  width: calc(100% - 45px);
}

#newPlatform .modal-dialog {
  width: 700px;
}

#newPlatform .modal-body h4 {
  font-weight: 400;
}

#header_inbox_bar ul.dropdown-menu {
  width: 30px;
}

.page-subnav {
  visibility: hidden;
  padding-top: 0 !important;
}

.page-subnav li a {
  font-size: 12px !important;
  text-decoration: none !important;
}

.page-subnav li a span {
  color: #337ab7 !important;
}

.page-subnav li:first-child span {
  font-size: 12px !important;
  color: #666 !important;
}

.comparison-yes {
  display: none;
}

.comparison-vs {
  font-weight: 600;
  font-style: italic;
  text-transform: none;
}

#linkAlerts > .badge-warning {
  display: none;
}

.demo-note-title {
  color: #32c5d2;
  font-weight: 400 !important;
  font-size: 28px;
}

.demo-note-btn {
  font-weight: 600;
}

.demo-note-btn.btn-outline {
  float: left;
}

.demo-note-message {
  color: #999;
}

.portlet-title .dropdown-menu .list-scroller .dd-list li a {
  border: 0px;
  color: #6f6f6f;
  cursor: pointer;
  font-size: 14px;
  font-weight: 300;
  line-height: 30px;
  margin: 0px;
  text-decoration: none;
}

.portlet-title .dropdown-menu .list-scroller .dd-list li {
  width: 100%;
  padding: 3px;
  padding-left: 3px;
  padding-left: 10px;
  background: #fff;
}

.portlet-title .dropdown-menu .list-scroller .dd-list li:hover {
  background: #f6f6f6;
}

.portlet-title .dropdown-menu .list-scroller {
  margin: 0px;
  padding: 0px;
  height: 200px;
}

.right {
  float: right;
}

.input-icon.right {
  float: right;
}

.right-list .input-icon.right {
  float: none !important;
}

.input-icon.right > .icon-magnifier {
  margin-top: 8px;
}

input.searcher {
  border-radius: 25px !important;
  border-color: #ccc !important;
}

/********************************
    Chart
*/
#chart .portlet-title .m-grid {
  table-layout: auto;
}

#chart .portlet-title .chart-legend {
  font-size: 12px;
  display: none;
}

#chart .portlet-title .chart-legend td {
  text-align: left;
}

#chart .portlet-title .chart-legend .legend-dates {
  margin-right: 10px;
  font-weight: bold;
}

#chart .portlet-title .chart-legend .legend-color {
  padding-left: 10px;
  padding-top: 2px;
  font-size: 6px;
}

#chart .portlet-title .chart-legend .legend-current .color-0 {
  background-color: #5c9bd1;
}

#chart .portlet-title .chart-legend .legend-current .color-1 {
  background-color: #e87e04;
}

#chart .portlet-title .chart-legend .legend-previous .color-0 {
  background-color: #90b2cf;
}

#chart .portlet-title .chart-legend .legend-previous .color-1 {
  background-color: #e7a252;
}

#chart .portlet-title .chart-legend .legend-label {
  margin-left: 5px;
  margin-right: 15px;
}

#chart .portlet-title .dropdown-menu .list-scroller .dd-list li a {
  display: block;
}

#chart .portlet-title .dropdown-menu .input-icon input {
  border-left: none;
  border-top: none;
  border-right: none;
}

#chart .portlet-title .dropdown-menu {
  min-width: 240px;
}

/* phones */
@media (max-width: 1259px) {
  #chart .portlet-title .m-grid-responsive-lg .m-grid-col {
    text-align: center;
  }
}
#datepicker i {
  font-weight: 600;
}

/********************************
    Metrics
*/
#metrics2 .dashboard-stat2 {
  padding-bottom: 0;
  cursor: default;
  border: 1px solid #e5e5e5;
}

#metrics2 .dashboard-stat2 .display .icon > i {
  font-size: 20px;
  position: absolute;
  right: 25px;
}

#metrics2 .dashboard-stat2 .display .number h3 {
  font-size: 27px;
}

#metrics2 .popover {
  width: 400px;
  max-width: 400px;
}

#setupColumns .mt-checkbox {
  margin-bottom: 0;
}

#setupColumns .modal-body p {
  margin: 0px;
  margin-bottom: 10px;
}

#metrics2 .dashboard-stat2 .number span.comparison-no {
  margin-right: -6px;
}

#metrics2 .dashboard-stat2 .number span.comparison-yes {
  margin-left: -6px;
}

#metrics2 .dashboard-stat2 .number small.comparison-yes {
  width: 100%;
}

#metrics2 .dashboard-stat2 .number h3 i {
  font-size: 18px;
}

/************************
    Tables
*/
.home-table-fullreport {
  display: block;
  font-size: 12px;
}

.portlet-title {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.portlet-title > div:first-child {
  flex: 1;
}
.portlet-title > div:first-child:not(:only-of-type) {
  margin-right: 15px;
}

.portlet-datatable .portlet-title {
  margin-bottom: 0;
}

.dataTables_wrapper .dataTables_info {
  margin-left: 20px;
}

.capitalize {
  text-transform: capitalize;
}

table.dataTable-data td.dt-body-capitalize,
table.dataTable-data th.capitalize {
  text-transform: capitalize;
}

.table-tools {
  flex-shrink: 0;
  margin-right: 10px;
}
.table-tools.btn-icon-only {
  width: 30px;
  height: 30px;
  padding: 4px 0;
  border-color: #c3c3c3;
}
.table-tools #table-resolution label {
  padding: 4px 12px;
}
.table-tools .customize-columns:after {
  content: " Customize";
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  font-size: 12px;
}

table.dataTable-data {
  margin-top: 0 !important;
  display: none;
}

table.dataTable-data th {
  padding-left: 10px !important;
}

table.dataTable-data th.sorting_asc,
table.dataTable-data th.sorting_desc {
  background-color: #f3f4f6 !important;
}

table.dataTable-data thead tr.comparison-yes {
  background-color: #f3f4f6;
  font-weight: 800;
}

table.dataTable-data thead tr.comparison-yes .comparison-vs {
  font-weight: normal;
  font-size: 12px;
}

table.dataTable-data thead tr.comparison-yes th {
  text-align: right;
}

table.dataTable-data thead tr.comparison-yes th:first-child {
  vertical-align: middle;
  text-align: left;
}

table.dataTable-data tr td {
  vertical-align: bottom;
}

table.dataTable-data .comparison div {
  font-size: 12px;
  padding-left: 20px;
}

table.dataTable-data .comparison div:last-child {
  font-weight: 800;
}

.table-scrollable {
  /* By default datatables have an ugly maring on top and bottom */
  margin: 0 !important;
}

table.dataTable thead tr th {
  border-bottom: 0;
}

.dataTables_length label {
  margin: 0;
}

@media (max-width: 992px) {
  .table-tools .customize-columns:after {
    content: "";
  }
  .pagination li a,
  .pagination li span {
    padding: 6px 10px;
  }
}
@media (max-width: 700px) {
  .portlet-title {
    display: block;
    flex-direction: unset;
  }
  .portlet-title .caption {
    display: block !important;
    float: none !important;
  }
  .portlet-title .dataTables_length {
    float: right;
  }
}
/************************
    Table setupColumns dialog
*/
#setupColumns2 p,
#setupKeyMetrics p {
  margin: 0;
}

.search-input {
  border-left: none;
  border-top: none;
  border-right: none;
  border-radius: 0;
}

/*#setupColumns2 .search-input, #setupKeyMetrics .search-input {
    border-left:none;
    border-top:none;
    border-right:none;
}*/
#setupColumns2 ol > li span.text,
#setupKeyMetrics ol > li span.text {
  margin-left: -35px;
}

#setupColumns2 .modal-body,
#setupKeyMetrics .modal-body {
  height: 450px;
}

#setupColumns2 .scroller,
#setupKeyMetrics .scroller {
  height: 320px;
}

#setupColumns2 .cf.nestable-lists,
#setupKeyMetrics .cf.nestable-lists {
  padding: 10px;
  width: 100%;
}

#setupColumns2 .left-list,
#setupColumns2 .right-list,
#setupKeyMetrics .left-list,
#setupKeyMetrics .right-list {
  float: left;
  width: 48%;
}
#setupColumns2 .left-list li > .btn,
#setupColumns2 .right-list li > .btn,
#setupKeyMetrics .left-list li > .btn,
#setupKeyMetrics .right-list li > .btn {
  border-radius: 4px 0 0 4px;
}
#setupColumns2 .left-list li > .dd3-content,
#setupColumns2 .right-list li > .dd3-content,
#setupKeyMetrics .left-list li > .dd3-content,
#setupKeyMetrics .right-list li > .dd3-content {
  border-radius: 0 4px 4px 0;
  border-color: #e1e5ec;
}

#setupColumns2 .left-list,
#setupKeyMetrics .left-list {
  margin-right: 10px;
  margin-top: 14px;
}

#setupColumns2 ol > li > button,
#setupKeyMetrics ol > li > button {
  float: left;
  height: 30px;
}

#setupColumns2 .dd3-content,
#setupKeyMetrics .dd3-content {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#setupColumns2 .up-down,
#setupKeyMetrics .up-down {
  float: right;
}

#setupColumns2 ol > li:first-child a.up,
#setupKeyMetrics ol > li:first-child a.up {
  visibility: hidden;
}

#setupColumns2 ol > li:last-child a.down,
#setupKeyMetrics ol > li:last-child a.down {
  visibility: hidden;
}

@media (max-width: 992px) {
  .dd3-content {
    padding: 5px 2px 5px 40px;
    font-size: 10px;
  }
}
/************************
    Bug Submission
*/
.bugTitle {
  margin-bottom: 15px;
}

label.error {
  color: #e73d4a;
}

.error-absolute label.error {
  position: absolute;
  left: 0px;
  top: 35px;
}

/********************************
    Key Metrics Chart
*/
.keymetric {
  margin: 0;
  /* min-height:220px; */
  padding-bottom: 12px;
}

.keymetric .dashboard-stat2 {
  cursor: default;
  border: 1px solid #e5e5e5;
  margin: 13px 13px 0 13px;
  padding: 9px;
}

.keymetric .dashboard-stat2 .display {
  margin: 0;
}

.keymetric .dashboard-stat2 .display .icon > i {
  font-size: 18px;
  position: absolute;
  right: 25px;
}

.keymetric .dashboard-stat2 .display .number h3 {
  font-size: 20px;
}

.keymetric .dashboard-stat2 .number span.comparison-no {
  margin-right: -6px;
}

.keymetric .dashboard-stat2 .number span.comparison-yes {
  margin-left: -6px;
}

.keymetric .dashboard-stat2 .number small.comparison-yes {
  width: 100%;
}

.keymetric .dashboard-stat2 .number h3 i {
  font-size: 15px;
}

/*Load Bar*/
.affLoadBar {
  display: none;
  height: 2px;
  width: 100px;
  background-color: #36c6d3;
  margin-left: -20px;
  position: absolute;
  bottom: -1px;
  transition: 0.3s all;
}

.affLoadBar:before {
  content: "";
  height: 100%;
  left: 100%;
  width: 10%;
  min-width: 20px;
  max-width: 80px;
  position: absolute;
  display: block;
  background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 33%, rgba(255, 255, 255, 0.7) 66%, rgba(255, 255, 255, 0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 33%, rgba(255, 255, 255, 0.7) 66%, rgba(255, 255, 255, 0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 33%, rgba(255, 255, 255, 0.7) 66%, rgba(255, 255, 255, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
  animation: loader 1s infinite;
  -webkit-animation: loader 1s infinite;
}

@keyframes loader {
  0% {
    left: 0px;
    display: none;
    width: 10%;
  }
  50% {
    left: 0px;
    display: block;
    width: 20%;
  }
  100% {
    left: 100%;
    display: block;
    width: 10%;
  }
}
@-webkit-keyframes loader {
  0% {
    left: 0px;
    display: none;
    width: 100px;
  }
  50% {
    left: 0px;
    display: initial;
    width: 300px;
  }
  100% {
    left: 100%;
    display: initial;
    width: 100px;
  }
}
/*Spinner*/
#metrics2,
.portlet-body {
  position: relative;
}

.portlet-body,
.google-chart-data {
  min-height: 50px;
}

#tab_api .portlet-body {
  min-height: none;
}

#metrics2 .affLoadSpinner {
  top: calc(50% - 36px);
}

/*.page-filters > select {
    border-top: none;
    border-left: none;
    border-right: none;
    color: #888;
    width: 100px;
}*/
.info-link {
  margin-left: 20px;
  font-style: italic;
}

.font-italic {
  font-style: italic;
}

.dataTables_paginate {
  margin-right: 20px !important;
}

/* Reports */
#reports > .portlet-title span.report-name,
#dashboard_form > .portlet-title span.dashboard-name {
  font-size: 24px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px !important;
  background-color: #fff;
  cursor: pointer;
}

#reports > .portlet-title span.report-name:hover,
#dashboard_form > .portlet-title span.dashboard-name:hover {
  background-color: #eef1f5;
}

.portlet.light > .portlet-title > .caption {
  /* display: flex !important;
  flex-direction: row; */
  align-items: center;
}
.portlet.light > .portlet-title > .caption .caption-subject {
  margin-right: 10px;
}
.portlet.light > .portlet-title > .caption .caption-helper {
  margin-left: 5px !important;
}

.dd-handle {
  font-size: 14px;
}

/* slim scroll */
.list-scroller,
.scroller,
.slimScrollDiv {
  min-height: 300px;
  padding: 0;
}

.portlet-title .dropdown-menu .list-scroller {
  margin: 0px;
  height: 200px;
}

.portlet-title .dropdown-menu .list-scroller .dd-list li {
  width: 200px;
  padding: 3px;
  padding-left: 10px;
  background: #fff;
}

.portlet-title .dropdown-menu .list-scroller .dd-list li.dd-none {
  border-bottom: 1px solid #ddd;
}

.portlet-title .dropdown-menu .list-scroller .dd-list li:hover {
  background: #f6f6f6;
}

.portlet-title .dropdown-menu .list-scroller .dd-list li a {
  border: 0px;
  color: #6f6f6f;
  cursor: pointer;
  font-size: 14px;
  font-weight: 300;
  line-height: 30px;
  margin: 0px;
  text-decoration: none;
}

.portlet-title .dropdown-menu .list-scroller .dd-list li a:hover {
  text-decoration: none;
}

/* COMMON DROP AREA style */
.drop-area {
  margin-top: 0;
  border: 2px dashed #32c5d2;
  background: #fff;
  padding: 20px;
  margin: 0 auto;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
}
.drop-area h3 {
  margin: 0;
}

.drop-area:hover {
  background: #eaf9fa;
}

.table-scrollable {
  /* By default datatables have an ugly maring on top and bottom */
  margin: 0 !important;
}

.blockOverlay {
  z-index: 999 !important;
}

.tooltip {
  white-space: nowrap;
}

.alert.alert-info.trial {
  margin-top: 35px;
  display: none;
}

/* overay if there is no connected platforms */
#connect-platform-overlay {
  position: fixed; /* Sit on top of the page content */
  display: block;
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 235px; /* sidebar space */
  right: 0;
  bottom: 0;
  background-color: rgb(255, 255, 255);
  z-index: 1000; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}
#connect-platform-overlay #call-to-action {
  position: absolute;
  top: 150px;
  left: 350px;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
#connect-platform-overlay #call-to-action h1 {
  margin-bottom: 15px;
}
#connect-platform-overlay #call-to-action h4 {
  margin-bottom: 20px;
}
#connect-platform-overlay #plug {
  -ms-transform: none;
  bottom: 19vh;
  height: 35vh;
  left: 0;
  position: absolute;
  transform: none;
  width: auto;
}
#connect-platform-overlay #people {
  position: absolute;
  right: 235px;
  -ms-transform: none;
  height: calc(90vh - 100px);
  max-width: none;
  top: 100px;
  transform: none;
  width: auto;
}

.page-sidebar-closed #connect-platform-overlay {
  left: 45px;
}
.page-sidebar-closed #connect-platform-overlay #plug {
  bottom: 15vh;
  height: 40vh;
}
.page-sidebar-closed #connect-platform-overlay #people {
  right: 0px;
  height: calc(100vh - 100px);
  top: 100px;
}

@media (max-width: 991px) {
  .page-sidebar-closed #connect-platform-overlay {
    left: 0px;
  }
  #connect-platform-overlay #call-to-action {
    -ms-transform: none;
    left: 30px;
    text-align: center;
    top: calc(50vh - 100px);
    transform: none;
    width: calc(100vw - 60px);
  }
  #plug {
    display: none;
  }
  #people {
    display: none;
  }
}
.dropzone {
  display: flex;
  align-items: center;
  justify-content: space-around;
}