@font-face {
  font-family: 'Arcadepix';
  src: url('Arcadepix.eot');
  src: url('Arcadepix.eot?#iefix')
      format('embedded-opentype'),
    url('Arcadepix.woff2') format('woff2'),
    url('Arcadepix.woff') format('woff'),
    url('Arcadepix.ttf') format('truetype'),
    url('Arcadepix.svg#Arcadepix') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* @import url('https://fonts.googleapis.com/css2?family=Bree+Serif&display=swap'); */
:root {
  --maincolor : #d5a00e;
}
* {
  scroll-behavior: smooth;
}
html {
  height: 100%;
}
.accordion-button {
  color: var(--maincolor);
}
.accordion-button:focus {
  border-color: transparent !important;
  box-shadow: initial !important;
}
.accordion-button:not(.collapsed) {
  color: var(--maincolor) !important;
  background-color: #eaeaea !important;
}
.accordion-item:not(:first-of-type) {
  border: 1px solid rgba(0,0,0,.125) !important;
}
.accordion-align-text {
  width: 90%;
  margin-bottom: 0;
}
body {
  min-height: 100%;
  display: -ms-flexbox;
  display: flex;
  padding: 10px 10px;

  background: linear-gradient(90deg, #fff 20px, transparent 1%) 50%,
    linear-gradient(#fff 20px, transparent 1%) 50%, #e2e2e2;
  background-size: 22px 22px;
  margin: 0;
  font-family: 'Arcadepix', Arial, Helvetica, sans-serif;
  /* font-family: 'Bree Serif', serif; */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body:not(.web3) .web3true {
  display: none;
}

a,
a:hover,
a:visited,
a:active,
a:link {
  text-decoration: none;
  color: black;
}
.anchorUnderline {
  text-decoration: underline !important;
}
a:hover {
  color: var(--maincolor);
}

a.classic,
a.classic:hover,
a.classic:visited,
a.classic:active,
a.classic:link {
  color: var(--maincolor);
}

a.classic:hover,
a.classic:focus {
  text-decoration: underline;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none;
  /* Prevent inheritance from `body` */
  background-color: #fff;
  border: 0.05rem solid #fff;
}

.cover-container {
  max-width: 42em;
}

/*
 * Header
 */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 30px;
}

.masthead {
  margin-bottom: 2rem;
}
.h2-margin {
  margin-top:10px;
  margin-bottom:10px;
}
.accordion-body {
  text-align:left !important;
}
.accordion-button {
  cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAzElEQVRYR+2X0Q6AIAhF5f8/2jYXZkwEjNSVvVUjDpcrGgT7FUkI2D9xRfQETwNIiWO85wfINfQUEyxBG2ArsLwC0jioGt5zFcwF4OYDPi/mBYKm4t0U8ATgRm3ThFoAqkhNgWkA0jJLvaOVSs7j3qMnSgXWBMiWPXe94QqMBMBc1VZIvaTu5u5pQewq0EqNZvIEMCmxAawK0DNkay9QmfFNAJUXfgGgUkLaE7j/h8fnASkxHTz0DGIBMCnBeeM7AArpUd3mz2x3C7wADglA8BcWMZhZAAAAAElFTkSuQmCC) 14 0, pointer !important; 
}
.masthead-brand {
  margin-bottom: 0;
}

.nav {
  color: black;
}

.nav-masthead .nav-link {
  background-color: transparent;
  border-bottom: 0.25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.w700 {
  font-weight: 700 !important;
}

.sblue {
  color: var(--maincolor);
}

.sp {
  line-height: 2;
  font-size:0.8rem !important;
}

.greeting {
  font-size: 15px;
  font-weight: 400;
  /* padding-bottom: 30px; */
}                               

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-link {
  padding: .5rem;
}

.nav-masthead .active {
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }

  .nav-masthead {
    float: right;
  }
}

h2 {
  font-size: 1.25rem;
}

/*
 * Cover
 */
.cover {
  margin-top:40px;
  margin-bottom:10px;
}

.cover .btn-lg {
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}

.cover-heading {
  margin-top: 15px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.5rem;
}

/*
 * Footer
 */
.footer-icon {
  width: 35px;
  height: 35px;
}

footer nav:nth-of-type(1) {
  display:flex;
  justify-content:space-evenly;
  gap:5px;
  align-items: center;
  margin-bottom: 30px;
  margin-top:40px;
}
footer nav:nth-of-type(2) {
  display:flex;
  justify-content:center;
  align-items: center;
  gap:40px;
}

footer a {
  font-size: 15px;
  font-weight: 700;
}

.mastfoot {
  margin-top: 50px;
  color: rgba(255, 255, 255, 0.5);
}

.tos-text {
  text-align: left;
  font-weight: 300;
  font-size: 15px;
}

.web3 .web3false {
  display: none;
}
#walletaddress {
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}

.notActive {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}
#networkContainer {
    top: 0;
    left: 0;
    background: #ff001d;
    color: #FFF;
    padding: 4px 12px;
    position: -webkit-sticky;
    position: sticky;
    z-index: 99999;
    margin-bottom:10px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    font-size: 1rem;
}
.swal2-container {
  z-index: 999999 !important;
}
.flexcolumn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap:10px;
}
.unselectable {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.lead {
  width:100%;
  font-size: 1rem;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.inner.cover.about {
  margin-left:auto;
  margin-right:auto;
  
}
.mb-zero {
  margin-bottom:0 !important;
}
.box-shadow {
  border-radius: 10px;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.5);
  transition:transform 0.2s ease-in-out;
}
.scale:hover {
  transform: scale(1.01);
}
.scale {
  transition:transform 0.2s ease-in-out;
}

.yield-badge {
  position: absolute;
  right: -10px;
  top: -10px;
  font-size: 20px;
}

body.approved .not-approved-spend {
  display: none;
}

body:not(.approved) .approved-spend {
  display: none;
}

.card {
  background-color: rgba(0, 0, 0, 0.3);
}

.swapcard,
.swapcard2 {
  display: inline-block;
  width: 300px;
  margin: 10px;
}

.nes-container {
  background-color: white;
  padding: 1.5rem 1.5rem;
  font-size:1rem;
}
.nes-container--group {
  padding: 0;
}
.nes-container--group .card {
  background-color: white;
}

@media screen and (max-width:700px) {
  .inner.cover.about, .nescard {
    width:100%;
  }
  #networkContainer {
    font-size:0.8rem;
  }
  .logo {
    font-size: 1rem;
  }
  .greeting {
    font-size: 13px;
  }      
  .lead {
    font-size: 0.8rem;
    /* justify-content: space-evenly; */
  }
  .nes-container {
    font-size:0.75rem;
  }
  .faq .nes-container .title {
    font-size:0.8rem;
  }
  h2 {
    font-size: 1rem;
  }
  footer nav:nth-of-type(1) {
    flex-direction: column;
  }
  .accordion-button, .accordion-body {
    font-size:0.8rem;
  }
}
.inner.cover.about .row {
  margin-left: 0;
  margin-right: 0;
}

.grid-container {
  display:grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr) );
}

.tokenpair {
  margin-bottom: 15px;
}

.noborder {
  border-radius: 0px !important;
}

.token1,
.token2 {
  display: inline-block;
  height: 50px;
  width: 50px;
  border-radius: 99px;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  background: #000;
  background-size: cover !important;
}

.token2 {
  position: relative;
  right: 8px;
}

.token1 {
  position: relative;
  left: 8px;
  z-index: 99;
}
.icn {
  height: 80px;
}

.top-m20 {
  margin-top: 20px;
}

.bottom-m20 {
  margin-bottom: 20px;
}

.no-pad {
  padding: 0px !important;
}

.card-link + .card-link {
  margin-left: 0px;
}
.farm-btn {
  width: 120px;
}

.apy0 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.nes-dialog {
  max-width: 600px;
}

.tos-link {
  color: #007bff !important;
}

.v-hidden {
  visibility: hidden;
}

h2.card-text + h2.card-text {
  padding-top: 0px;
  /* font-size: 20px; */
}

.talign-left {
  text-align: left;
}

.faq .nes-container {
  margin-bottom: 30px;
  text-align: left;
}

.faq .nes-container .title {
  color: var(--maincolor);
}

.faq h2 {
  text-align: left;
  /* margin-bottom: 20px; */
}
