.fit-header-top{
    top: 0 !important;
}
.icon-right::after{
    position: absolute;
    right: 20px;
    top: 50%;
    bottom: 50%;
    transform: translate(-50%, -50%);
}
.wallet-text{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 20px;
}
.wallet-text img{
    height: 20px;
    width: 20px;
    margin-right: 6px;
}

.outer-dash-section{
    padding-top: 3.4rem;
}
.outer-dash-section .heading-main{
    /* background: linear-gradient(90deg, #a77327 0%, #efd67b 49.79%, #a77327 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    font-size: 36px;
    font-weight: 700;
    display: inline-block;
    color: #fff;
}

.purchase-btn-outer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.purchase-btn.border-btn{
    background: linear-gradient(90deg, #a77327 0%, #efd67b 49.79%, #a77327 100%);
    /* background: linear-gradient(to left, #a77327 0%, #52718e 100%); */
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    color: #000 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}
.purchase-btn .purchase-icon{
    display: inline-block;
    margin-right: 6px;
}
.sub-heading.balance-heading {
    justify-content: flex-start;
}
.sub-heading {
    color: #fff;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.outer-buy-box {
    border-radius: 20px;
    background: rgba(239, 214, 123, 0.05);
    padding: 0.9rem;
    max-width: 100%;
}
.outer-buy-box .form-label {
    color: #fff;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.outer-buy-box .input-group {
    border-radius: 50px;
    background: #FFF;
    padding: 6px;
}
.outer-buy-box .input-group .form-control {
    background-color: transparent;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--Color, #002E5B);
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.outer-buy-box .input-group .dropdown-toggle {
    background-color: transparent;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--Color, #002E5B);
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.outer-buy-box .input-group .dropdown-toggle img {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    object-fit: contain;
    margin-right: 0.3rem;
}
.outer-buy-box .input-group .dropdown-menu {
    padding: 0;
    overflow: hidden;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.outer-buy-box .input-group .dropdown-menu .dropdown-item {
    color: #545454;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 8px 10px;
}
.outer-buy-box .input-group .dropdown-menu .dropdown-item img {
    height: 22px;
    width: 22px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 5px;
}
.swap-icon {
    height: 38px;
    margin-top: 20px;
    background: linear-gradient(90deg, #a77327 0%, #efd67b 49.79%, #a77327 100%);
    border-radius: 50%;
    padding: 4px;
    width: 38px;
}
.outer-buy-box .input-group span img {
    height: 32px;
    width: 32px;
    object-fit: contain;
}
.text-red {
    color: #ED4040 !important;
    font-weight: 700 !important;
}
.text-green {
    color: green !important;
    font-weight: 700 !important;
}
.rule-list {
    padding-left: 20px;
    margin-top: 30px;
}
.rule-list li {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 1rem;
}
.stake-history-box {
    border-radius: 12px;
    background: #252628;
    padding: 12px 20px;
    margin-top: 30px;
}
.sub-heading a {
    display: block;
    color: var(--Color, #002E5B);
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline;
}

@media (max-width:992px){
    
    .purchase-btn.border-btn{
        font-size: 14px;
        padding: 10px 12px;
    }
    .purchase-btn .purchase-icon img{
        max-height: 26px;
    }
}

@media (max-width:460px){
    .purchase-btn.border-btn{
        min-width:100%;
    }
}
/* modal css code starts */
.connect-wallet-modal .modal-content{
 background-color: #000;
 border: 1px solid #a77327;
}
.connect-wallet-modal .connect-tech-div {
    max-width: 350px;
    margin: 0 auto 40px;
}
.connect-wallet-modal .connect-tech-div button img{
    height: 24px;
    width: auto;
    margin-left: 8px;
}

/* swap css new page */

.swap-outer-sec{
    min-height: 100vh;
}
.swap-outer-sec .outer-buy-box .input-group span{
color: #000;
font-weight: 600;

}
.swap-outer-sec .outer-buy-box .input-group span img{
    margin-left: 0.5rem;
}
.swap-outer-sec .swap-icon-center {
    position: relative;
    border: 1px solid #ddd;
    margin: 3rem  0 2rem !important;
}
.swap-outer-sec .swap-icon-center img {
    position: absolute;
    margin: 0;
    top: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 7px;
}
.swap-outer-sec .sub-heading{
    font-size: 1rem;
}



/* history page csas */

.table-view-transaction {
    display: table;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 30px;
    min-width: 1000px;
  }
  
  .table-view-transaction > div {
    display: table-row-group;
  }
  
  .table-view-transaction > div > div {
    display: table-row;
    transition: all ease-in-out 0.2s;
  }
  
  .table-view-transaction > div.tbody > div:hover {
    background-color: #202020;
  }
  
  .shadow-box-main.new-box .table-view-transaction > div > div p:first-child {
    max-width: 50px;
    padding: 12px 20px;
  }
  
  .table-view-transaction > div p {
    display: table-cell;
    border: none;
    padding: 12px 8px;
  }
  .table-view-transaction > div.thead{
    background: linear-gradient(90deg, #a77327 0%, #efd67b 49.79%, #a77327 100%);
  }
  .table-view-transaction > div.thead p {
    background-color: transparent;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 15px;
}
  
  .table-view-transaction > div p.count-first {
    width: 80px;
  }
  
  .table-view-transaction > div.tbody p {
    color: #fff;
    font-size:16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 15px;
    border-bottom: 1px solid #ddd;
  }
  
  .table-view-transaction > div.tbody p .mobile-only {
    display: none;
  }
  
  .table-view-transaction .border-btn {
    padding: 4px 12px;
    font-size: 0.775rem;
    line-height: 18px;
  }
  
  @media (max-width: 992px) {
    .dashboard-layout .input-group .input-group-text {
      padding: 0.275rem 0.75rem;
    }
  
    .table-view-transaction {
      display: block;
    }
  
    .table-view-transaction > div {
      display: block;
    }
  
    .table-view-transaction > div.thead {
      display: none !important;
    }
  
    .table-view-transaction > div > div {
        display: block;
        border: 1px solid #ddd;
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 10px;
    }
  
    .table-view-transaction > div p {
      display: block;
      border: none !important;
      padding: 0;
    }
  
    .table-view-transaction > div.tbody p .mobile-only {
      display: inline-block !important;
      min-width: 110px;
    }
  
  
    .table-view-transaction {
      min-width: auto;
    }
}

/* exchange page css */

.exchange-box-sec {
    padding: 180px 0 20px;
    background-color: #000;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.exchange-box-sec .right-img{
    max-width: 400px;
}
.exchange-box-sec h2 {
    background: linear-gradient(90deg, #a77327 0%, #efd67b 49.79%, #a77327 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 50px;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 30px;
}
.exchange-box-sec p {
    font-size: 16px;
}
.video-bg-animation {
    opacity: 0.5;
    position: absolute;
    left: auto;
    top: 0;
    width: auto;
    right: 0;
    margin: auto;
    height: 100%;
}
 
.outer-box-product{
    border: 2px solid #d5b25c;
    padding: 14px;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, .8);
    position: relative;
    margin: 20px 0;
    transition: all ease-in-out .4s;
}

.outer-box-product img {
    height: 40px;
    margin-bottom: 15px;
}
.outer-box-product h4{
    font-weight: 600;
}
.outer-box-product p {
    margin: 10px 0;
    min-height: 130px;
}
.products-new-box .outer-box-product p{
    min-height: 150px;
}
.outer-box-product:hover{
transform: scale(1.08);
}
.product-section-new{
    padding: 50px 0;
}
.why-choos-ex-sec{
    padding: 60px 0;
  
}
.feature-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
    padding: 0;
    justify-content: space-between;
}
.feature-list li {
    width: 49%;
    padding-right: 15px;
    margin-bottom: 30px;
    list-style: none;
    padding-left: 40px;
    position: relative;
}
.feature-list li::before {
    content: "";
    background-image: url(../images/adf-coin.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    height: 28px;
    width: 28px;
}
.video-bg-animation.left {
    left: 0;
    right: auto;
    transform: rotate(270deg);
    
}
.exchange-box-sec::after{
content: "";
position: absolute;
width: 100%;
height: 100%;
background-image: url(../images/right-gradient2.png);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: 0;
}
.exchange-box-sec.left-gradient::after{
background-image: url(../images/left-gradient.png);
}

.exchange-box-sec > .container{
position: relative;
z-index: 1;
}
.video-bg-animation.left.dleft {
    left: -10%;
    right: auto;
    transform: rotate(90deg);
}
.exchange-box-sec.de-bg::after{
    background-image: url(../images/right-gradient2.png);
}
.disable-btn {
    opacity: 0.2;
    background-color: #ddd !important;
    background: none;
    cursor: not-allowed !important;
}
.navbar-dark .navbar-toggler {
    color: #fff;
    border: none !important;
    background: linear-gradient(90deg, #a77327 0%, #efd67b 49.79%, #a77327 100%);
    /* height: 20px; */
    padding: 2px 7px;
    box-shadow: none !important;
    outline: none !important;
}
.navbar-dark .navbar-toggler-icon {
    height: 16px;
    width: 16px;
    object-fit: contain;
    background-image: url(../images/menu.png) !important;
}
@media (max-width:1300px){
    .products-new-box .outer-box-product p{
    min-height: 170px;
}
}
@media (max-width:1200px){
    .products-new-box .outer-box-product p{
    min-height: 120px;
}
}
@media (max-width: 992px){
    .exchange-box-sec h2 {
        font-size: 38px;
    }
    .exchange-box-sec p {
        font-size: 14px;
    }
    .custom p {
        font-size: 14px;
    }
    .video-bg-animation.left.dleft {
        left: -15%;
    }
    .exchange-box-sec .img-product {
        max-width: 100%;
    }
}
@media (max-width: 768px){
    .feature-list li {
        width: 100%;
        padding-right: 0;
    }
    .exchange-box-sec h2 {
        font-size: 26px;
    }
    .exchange-box-sec p {
        font-size: 12px;
    }
    .exchange-box-sec::after{
        content: none;
    }
    .exchange-box-sec {
        padding: 140px 0 50px;
        text-align: center;
        min-height: auto;
    }
    .feature-list li h5{
        font-size: 18px;
    }
    .why-choos-ex-sec {
        padding: 25px 0;
    }
    .outer-box-product:hover {
        transform: none;
    }
    .outer-box-product p {
        min-height: auto;
    }
    .exchange-box-sec .text-end{
        text-align: center !important;
    }
    .exchange-box-sec .img-product {
        max-width: 220px;
        margin-top: 20px !important;
    }
    .video-bg-animation{
        display: none !important;
    }
}
@media (max-width:576px){
        .products-new-box .outer-box-product p{
    min-height: auto;
}
}


/* roadmap css */

.roadmap-sec{
    padding: 5rem 0;
}
.timeline-image .time-box .title {
    font-size: 2.8rem;
    color: #000;
    line-height: normal;
    font-weight: 600;
    text-shadow: 0px 0px 2px #a77327;
}
.timeline-image .time-box .year {
    color: #000;
   
}
.timeline-image .time-box {
    position: relative;
    text-align: center;
    display: block;
    padding-top: 0.4rem;
}
.timeline-image .time-box .time-txt {
    position: absolute;
    left: 0;
    right: 0;
    top: 1.3rem;
}
.timeline {
    position: relative;
    padding: 0.2rem 0 0 0;
    list-style: none;
    max-width: 100%;
    overflow: hidden;
    width: 900px;
    margin: 0 auto;
}
.timeline .timeline-body {
    max-height: 5rem;
    overflow: auto;
}
.timeline>li:nth-child(even) {
    position: relative;
    margin-bottom: 3.1rem;
    height: 8.8rem;
    right: 0px;
}
.timeline > li:nth-child(2n+1) {
    position: relative;
    margin-bottom: 3.1rem;
    height: 8.8rem;
    left: 0;
}
.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}
.timeline>li:after {
    clear: both;
    min-height: 6.4rem;
}
.timeline > li .timeline-panel {
    position: relative;
    float: left;
    width: 17.4rem;
    padding: 2rem 0px 0.8rem;
    text-align: right;
    /* opacity: 0; */
    -webkit-transition: all ease-in-out .5s;
    -o-transition: all ease-in-out .5s;
    transition: all ease-in-out .5s;
}
.timeline-panel.show{opacity: 1 !important;}
.timeline>li .timeline-panel:before {
    right: auto;
    left: -1rem;
    border-right-width: 1rem;
    border-left-width: 0;
}
.timeline>li .timeline-panel:after {
    right: auto;
    left: -0.9rem;
    border-right-width: 0.9rem;
    border-left-width: 0;
}
.timeline > li .timeline-image {
    z-index: 100;
    position: absolute;
    left: 18.5rem;
    /* margin-left: -100px; */
    width: 7.6rem;
}
.timeline > li.timeline-inverted .timeline-image {
    right: 18.5rem;
    left: initial;
}
.timeline>li .timeline-image h4 {
    margin-top: 0.8rem;
    font-size: 0.7rem;
    line-height: 0.9rem;
}
.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 2rem 0 0.7rem;
    text-align: left;
    width: 17.5rem;
}
.timeline>li.timeline-inverted>.timeline-panel:before {
    right: auto;
    left: -1rem;
    border-right-width: 1rem;
    border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    right: auto;
    left: -0.9rem;
    border-right-width: 0.9rem;
    border-left-width: 0;
}
.timeline>li:last-child {
    margin-bottom: 0;
}
.timeline .timeline-body>p,
.timeline .timeline-body>ul {
    margin-bottom: 0;
    color:#fff !important;
    font-size: 1rem;
}
/*.timeline > li .line .dot{position: relative;}*/
.timeline > li.timeline-inverted .line::after {
    right: 27.5rem;
    left: initial;
}
.timeline > li .line::after {
    -webkit-animation: 2.5s blow 0s linear infinite;
    animation: 2.5s blow 0s linear infinite;
    position: absolute;
    content: '';
    width: 0.7rem;
    height: 0.7rem;
    top: 9.8rem;
    margin: 0 auto;
    border-radius: 50%;
    z-index: 0;
    background: #a77327;
    left: 28rem;
    z-index: 100;
    /* right: 0; */
}
@-webkit-keyframes blow{
    0% {
        -webkit-box-shadow: 0 0 0 0px rgba(255,178,26,0.4);
                box-shadow: 0 0 0 0px rgba(255,178,26,0.4);
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 0.5);
        transform: scale3d(1, 1, 0.5);
    }
    50% {
        -webkit-box-shadow: 0 0 0 10px rgba(255,178,26,0.4);
                box-shadow: 0 0 0 10px rgba(255,178,26,0.4);
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 0.5);
        transform: scale3d(1, 1, 0.5);
    }
    100% {
        -webkit-box-shadow: 0 0 0 20px rgba(255,178,26,0.4);
                box-shadow: 0 0 0 20px rgba(255,178,26,0.4);
        opacity: 0;
        -webkit-transform: scale3d(1, 1, 0.5);
        transform: scale3d(1, 1, 0.5);
    }
}
@keyframes blow{
    0% {
        -webkit-box-shadow: 0 0 0 0px rgba(255,178,26,0.4);
                box-shadow: 0 0 0 0px rgba(255,178,26,0.4);
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 0.5);
        transform: scale3d(1, 1, 0.5);
    }
    50% {
        -webkit-box-shadow: 0 0 0 10px rgba(255,178,26,0.4);
                box-shadow: 0 0 0 10px rgba(255,178,26,0.4);
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 0.5);
        transform: scale3d(1, 1, 0.5);
    }
    100% {
        -webkit-box-shadow: 0 0 0 20px rgba(255,178,26,0.4);
                box-shadow: 0 0 0 20px rgba(255,178,26,0.4);
        opacity: 0;
        -webkit-transform: scale3d(1, 1, 0.5);
        transform: scale3d(1, 1, 0.5);
    }
}

/*Style for even div.line*/
.timeline > li:nth-child(2n+1) .line::before {
    content: "";
    position: absolute;
    top: 4.3rem;
    bottom: 0;
    left: 28rem;
    width: 2px;
    height: 11.5rem;
    background-color: #ddd;
    -ms-transform: rotate(-55deg);
    -webkit-transform: rotate(-55deg);
    transform: rotate(-55deg);
}
/*Style for odd div.line*/
.timeline > li:nth-child(2n) .line::before {
    content: "";
    position: absolute;
    top: 4.5rem;
    bottom: 0;
    left: initial;
    width: 2px;
    height: 11.5rem;
    background-color: #ddd;
    -ms-transform: rotate(55deg);
    -webkit-transform: rotate(55deg);
    transform: rotate(55deg);
    right: 28rem;
}

@media (max-width:  992px)
{
    .timeline > li .timeline-image {
        left: 12.5rem;
    }
    .timeline > li.timeline-inverted .timeline-image {
        right: 12.5rem;
    }
    .timeline > li:nth-child(2n+1) .line::before {
        top: 4.3rem;
        left: 22rem;
    }
    .timeline > li .line::after {
        top: 9rem;
        left: 21rem;
    }
    .timeline > li:nth-child(2n) .line::before {
        top: 4.5rem;
        right: 22rem;
    }
    .timeline > li.timeline-inverted .line::after {
        right: 21rem;
        top: 9rem;
    }
    .timeline > li .timeline-panel,
    .timeline > li.timeline-inverted > .timeline-panel {
        width: 12rem;
    }
    .timeline .timeline-body>p, .timeline .timeline-body>ul {
        font-size: 0.8rem;
    }
}


@media (max-width:  768px)
{

/*timeline responsive*/
    .timeline > li:nth-child(2n+1) {
    height: 7.5rem;
}
.timeline > li:nth-child(2n) {
    height: 7.5rem;
}
.timeline > li .line::after {
    top: 7.5rem;
}
.timeline > li .timeline-image {
    left: 1.3rem;
    width: 5rem;
}
.timeline > li.timeline-inverted .timeline-image{
    left: 1.3rem;
}
.timeline-image .time-box .title {
    font-size: 1.6rem;
}
.timeline-image .time-box .year {
    font-size: 0.8rem;
}
    .timeline > li .timeline-panel {
     float: left; 
    width: auto;
    text-align: left;
    margin-left: 8.5rem;
    padding: 1rem 0 0.7rem;
        }
        .timeline > li:nth-child(2n+1) .line::before {
            left: 3.8rem;
            -ms-transform: rotate(180deg);
            -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
        }
        .timeline > li.timeline-inverted .timeline-image {
            right: initial;
        }
        .timeline > li.timeline-inverted > .timeline-panel {
            float: left;
            width: auto;
            padding: 1rem 0 0.7rem;
        }
        .timeline > li:nth-child(2n) .line::before {
            left: 3.8rem;
            -ms-transform: rotate(180deg);
            -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
        }
        .timeline > li .line::after {
            left: 3.5rem;
            top: 8rem;
        }
        .timeline > li.timeline-inverted .line::after {
            right: initial;
            left: 3.5rem;
            top: 8rem;
        }
        .timeline .timeline-body>p, .timeline .timeline-body>ul {
            font-size: 0.8rem;
        }
        .feature-list li{
            margin-bottom: 16px;
        }
    }