/* Fonts */
@font-face {
  font-family: 'Amasis Bold';
  font-style: normal;
  font-weight: bold;
  src: url('./fonts/AmasisMTStd-Bold.otf');
}

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

@font-face {
  font-family: 'Roboto Bold';
  font-style: normal;
  font-weight: bold;
  src: url('./fonts/Roboto-Bold.ttf');
}

/* Removes default margin and padding */
body {
  padding: 0;
  margin: 0;
}

/* Sidebar Funding Circle logo */
img[alt="Funding Circle Logo"] {
  width: 142px !important;
  max-width: none !important;
  height: auto !important;
}

/* Headings */
h1 {
  font-family: Amasis Bold, serif !important;
  font-size: 33px !important;
  color: #75227D !important;
  margin-top: 8px !important;
}

h1::after {
  display: block;
  width: 50.53px;
  height: 3px;
  background-color: #ff6b00;
  content: "";
}

h2,
h3 {
  color: #424554 !important;
  font-family: Roboto Bold, sans-serif !important;
  margin-bottom: 8px !important;
}

h5 {
  color: #737480 !important;
}

/* Optional tag */
.nested-optional-tag {
  margin: -4px 1px;
}

/* Deprecated tag */
.liGlHU {
  color: #FE6B00 !important;
  font-weight: lighter !important;
  background-color: #FFF6EA !important;
}

/* Common tables */
th {
  background-color: #F7F8FE;
}

td {
  background-color: white;
}

/* Polling tables */
.polling-table th {
  width: 12em;
}

/* Links */
a {
  text-decoration: underline !important;
}

/* Regex patterns */
.sc-gGCDDS {
  border-radius: 2px;
  background-color: rgba(104, 104, 207, 0.05) !important;
  color: rgba(50, 50, 159, 0.9) !important;
  margin: 0 5px;
  padding: 0 5px;
  border: 1px solid rgba(50, 50, 159, 0.1);
}

/* Search icon */
.search-icon path {
  fill: #028DD0 !important;
}

/* Sidebar dropdown arrows */
.jLPfXH {
  transform: rotate(1deg) !important;
}

.lbZXRr {
  transform: rotate(180deg) !important;
}

.iCKoBZ {
  transform: rotate(1deg) !important;
}

.menu-content polygon {
  fill: #028DD0 !important;
}

/* Sidebar menu items font, background and text color*/
.scrollbar-container * {
  font-family: Roboto !important;
}

.scrollbar-container .active {
  color: #424554 !important;
  font-weight: bold;
  background-color: #F7F8FE !important;
}

.scrollbar-container label:hover {
  color: #fc4e1e !important;
  background-color: #F7F8FE !important;
}

/* Sidebar endpoint circles */
.menu-content .operation-type {
  display: block !important;
  margin: 8px auto 0 auto !important;
  height: 8px !important;
  width: 8px !important;
  border-radius: 4px !important;
  color: transparent !important;
}

/* Download button */
a.sc-brSvTw {
  color: #fff;
  background-color: #028DD0;
  border-radius: 5px;
  border: 1px solid #028DD0;
  text-decoration: none !important;
  transition: all .1s ease-in;
}

a.sc-brSvTw:hover {
  background-color: #009bde;
  border: 1px solid #009bde;
}

/* Authorizations section dropdown arrow */
.jCLLyq {
  transform: rotate(1deg) !important;
}

.dlBJJS {
  transform: rotate(180deg) !important;
}

.fWzMDg {
  transform: rotate(1deg) !important;
}

/* Green responses dropdown arrows */
.gxCGhS {
  transform: rotate(1deg) !important;
}

.ghbOdK {
  transform: rotate(180deg) !important;
}

.jSCaiY {
  transform: rotate(1deg) !important;
}

/* Orange responses dropdown arrows */
.cZUcwM {
  transform: rotate(1deg) !important;
}

.gSZfIU {
  transform: rotate(180deg) !important;
}

.kUruFO {
  transform: rotate(1deg) !important;
}

/* Red responses dropdown arrows */
.egtFI {
  transform: rotate(1deg) !important;
}

.jOIWHs {
  transform: rotate(180deg) !important;
}

.gJvQJy {
  transform: rotate(1deg) !important;
}

/* Mobile menu button */
.sc-kTLmzF {
  background-color: #028DD0 !important;
}

.sc-kTLmzF:hover {
  background-color: #009bde !important;
}

.sc-kTLmzF svg {
  color: #fff !important;
}

/* Responsive behaviour for mobile view */
@media screen and (max-width: 436px) {
  .sc-gsWcmt a {
    font-size: 12px;
  }
}

@media screen and (max-width: 394px) {
  a.sc-GvhzO {
    margin-left: 0;
    margin-right: 6px;
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 372px) {
  .sc-gsWcmt a {
    padding-left: 16px;
  }
}

/* Right column */
.sc-hHEiqL.bnnCUV td[kind="field"] {
  max-width: 250px;
}

/* Point delineators */
.sc-ieecCq.jzDXTi {
  display: inline !important;
}

/* Property name - wraps inline with the point */
.property-name {
  display: inline !important;
  max-width: 220px !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

/* Required labels - always on their own line */
.sc-nVkyK.eyZzuM {
  display: block !important;
  margin-top: 4px !important;
  clear: both !important;
}

/* Tooltips */
.sc-egiyK.cUKGZj,
.sc-dIsUp.jsXYTl {
  display: inline !important;
  margin-left: 4px !important;
}
