* {
  box-sizing: border-box;
/* margin: 0;
  padding: 0;*/
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  list-style: none;
  color: inherit;
}

body, html {
  height: 100%;
  padding: 0px;
  margin: 0px;
}

a {
    cursor: pointer;
    text-decoration: none;
}

#dd-modal {
  position: absolute;
}

.react-child {
  height: 100%;
}

.common-page {
  margin: 8px;
}

#react-entry-point, #page-content {
  height: 100%;
}

.main {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.page {
  display: flex;
  flex: auto;
  align-items: center;
  justify-content: center;
}

.page-wrapper {
  max-width: 1140px;
  width: 100%;
  padding: 34px 0 47px 0;
  display: flex;
  flex-direction: column;
}

.makerdao-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  position: relative;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#price-component-output,
#on-chain-price-volume-output {
  width: 100%;
}

.relative {
  position: relative;
}

.flex-space-between {
  justify-content: space-between;
}

.mt50 {
  margin-top: 50px;
}

.mt40 {
  margin-top: 40px;
}

.fill-width {
  width: 100%;
}

.left {
  margin-right: auto;
  display: flex;
  flex: 1;
  position: relative;
}

.right {
  margin-left: auto;
  position: relative;
}

.insight-right-block {
  max-width: 360px;
  width: 100%;
  height: 430px;
}

.makerdao-row-column {
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 1140px) {
  .makerdao-row {
    flex-direction: column;
    width: 100%;
  }

  .makerdao-row-column {
    width: 100%;
  }

  .makerdao-row-column-second {
    margin-top: 40px;
  }

  .left {
    flex-direction: column;
    width: 100%;
    margin: initial;
  }

  .right {
    flex-direction: column;
    width: 100%;
    margin: initial;
    margin-top: 50px;
  }

  .insight-right-block {
    flex-direction: column;
    width: 100%;
    margin: initial;
    max-width: 100%;
    height: initial;
  }

  .price-component-output {
    flex-direction: column;
    width: 100%;
    margin: initial;
  }

  .page-wrapper {
    padding: 34px 20px 47px 20px;
  }

  .price-date-range-selector {
    position: relative !important;
    left: initial !important;
    top: initial !important;
    margin-left: auto;
  }

  .cdp-owners-balance-selector {
    position: relative !important;
    left: initial !important;
    top: initial !important;
    margin-left: auto;
  }

  .collateral-ratio-distribution-selector {
    position: relative !important;
    left: initial !important;
    top: initial !important;
    margin-left: auto;
  }

  .on-chain-price-volume-selector {
    position: relative !important;
    left: initial !important;
    top: initial !important;
    margin-left: auto;
  }

  .net-locks-and-draws-selector {
    position: relative !important;
    left: initial !important;
    top: initial !important;
    margin-left: auto;
  }

  .stability-fee-selector {
    position: relative !important;
    left: initial !important;
    top: initial !important;
    margin-left: auto;
  }

  .social-volume-selector {
    position: relative !important;
    left: initial !important;
    top: initial !important;
    margin-left: auto;
  }

  body {
    margin: 0;
  }

  html {
    margin: 0;
  }
}

/* DROPDOWN */
.dd-wrapper {
  position: relative;
}

.dd {
  position: absolute;
  z-index: 10;
  width: 100%;
  left: 5px;
  right: 5px;
  top: calc(100% + 6px);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.dd.dd-first-time {
  transition: opacity 0.25s ease;
}

.dd__bg,
.dd__arrow {
  position: absolute;
}

.dd__bg {
  background-color: var(--white);
  box-sizing: border-box;
  transition: 0.25s ease;
  border-radius: 4px;
  overflow: hidden;
  z-index: -1;
  box-shadow: 0px 4px 8px rgba(21, 24, 31, 0.04),
    0px 8px 14px rgba(21, 24, 31, 0.04), 0px 12px 32px rgba(21, 24, 31, 0.05);
  border: 1px solid var(--grey-light-3);
  width: 100%;
  height: 100%;
}

.dd__arrow {
  width: 10px;
  height: 10px;
  background: var(---white);
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) rotate(45deg);
  box-shadow: -3px -3px 5px rgba(82, 90, 125, 0.04);
}

.dd__list {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
}

.dd__content {
  position: absolute;
  opacity: 0;
  transition: 0.25s ease;
  padding: 0;
  white-space: nowrap;
}

.dd__trigger {
  display: inline-block;
}

.dd.has-dropdown-active {
  opacity: 1;
  visibility: visible;
}

.dd__item.active .dd__content {
  opacity: 1;
  z-index: 2;
}


/* END DROPDOWN */

/* MakerDAO PRO Top Transactions Table */

#top_transactions_table table th {
  border-radius: 4px !important;
  border: none !important;
  box-shadow: none;
  background: #f9fafc;
  padding: 7px !important;
}

#top_transactions_table table th span {
  color: #9faac4;
}

#top_transactions_table table td {
  color: rgb(24, 27, 43);
  font-size: 14px;
  height: 60px !important;
  padding: 10px !important;
  border: none !important;
}

/* END MakerDAO PRO Top Transactions Table */

/* MAKERDAO STYLES */

.price-date-range-selector {
  position: absolute;
  left: 110px;
  top: 7px;
}

.cdp-owners-balance-selector {
  position: absolute;
  left: 235px;
  top: 6px;
}

.collateral-ratio-distribution-selector {
  position: absolute;
  left: 300px;
  top: 6px;
}

.on-chain-price-volume-selector {
  position: absolute;
  left: 195px;
  top: 6px;
}

.net-locks-and-draws-selector {
  position: absolute;
  left: 210px;
  top: 6px;
}

.stability-fee-selector {
  position: absolute;
  left: 145px;
  top: 6px;
}

.social-volume-selector {
  position: absolute;
  left: 160px;
  top: 6px;
}

/* END MAKERDAO STYLES */


/* Signals panel styles */

.controllers_wrapper {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
}

@media (min-width: 768px){
  .controllers_wrapper {
      max-width: 750px;
  }
}

@media (min-width: 992px){
  .controllers_wrapper {
      max-width: 960px;
  }
}

@media (min-width: 1200px){
  .controllers_wrapper {
      max-width: 1140px;
  }
}

@media (min-width: 1366px) {
  .controllers_wrapper {
      max-width: 1280px;
  }
}


@media (min-width: 1560px) {
  .controllers_wrapper {
      max-width: 1440px;
  }
}

@media (min-width: 1720px) {
  .controllers_wrapper {
      max-width: 1560px;
  }
}

.controllers_wrapper input {
  font-size: inherit;
  height: auto;
  padding: 3px 0
}

.controllers_wrapper #time_range input {  
  text-align: center;
  padding: 0;
  height: 35px;
}

.controllers_wrapper #time_range {
  margin-bottom: 10px;
}

.controllers_wrapper #only_last_versions * {
  box-sizing: content-box;
}

@media (max-width: 1199px){
  .controllers_wrapper .flex{
    flex-wrap: wrap;
  }
}