.treechain-content {
    min-height: 100vh;
    background-image: url("https://cdn.ecomatcher.com/web/treechain/TreeChain-Blue-01.jpg");
    background-size: 80%;
    background-position: bottom;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
    background-color: #000;
}

.treechain-content h1.treechain-title {
    margin-bottom: 20px;
    font-size: 64px;
    padding-top: 150px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 59px;
    letter-spacing: normal;
    text-align: center;
    color: #FFFFFF;
}

.treechain-content h1.treechain-title .beta {
    background-color: #fff;
    padding: 3px 5px;
    font-weight: bold;
    border-radius: 5px;
    color: #000;
    font-size: 12px;
    opacity: 0.5;
    display: none;
}

.treechain-content .treechain-subtitle {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 27px;
    text-align: center;
    letter-spacing: normal;
    color: #E7E7E7;
}

.treechain-content #treechain-form {
    margin-top: 100px;
}

.treechain-content #treechain-form .form-label {
    margin-bottom: 20px;
    font-size: 22px;
    color: #adadad;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 14px;
    line-height: 27px;
    text-align: center;
    color: #E7E7E7;
    letter-spacing: normal;
}

.treechain-content #treechain-form .treechain-search-container {
    border-radius: 40px;
    border: 1px solid #fff;
    margin: 0 auto;
    width: 90vw;
    max-width: 500px;
    height: 45px;
    text-align: center;
}

.treechain-content #treechain-form .treechain-search-container #treechain-input {
    padding: 10px 20px;
    color: white;
    border: none;
    background: transparent;
    width: 260px;
    text-align: center;
    font-size: 1.2em;
}

.treechain-content #treechain-form .treechain-search-container #treechain-input::placeholder,
.treechain-content #treechain-form .treechain-search-container #treechain-input::-ms-input-placeholder {
    text-transform: unset;
}

.treechain-content #treechain-form .treechain-search-container #treechain-button {
    height: 45px;
    float: right;
    border: none;
    background-color: #95ad47;
    width: 170px;
    color: white;
    font-weight: 600;
    border-radius: 0px 40px 40px 0px;
    cursor: pointer;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    letter-spacing: normal;
    color: #FFFFFF;
}

.treechain-content #treechain-form #loading-treechain {
    display: none;
}

.treechain-content #treechain-form #loading-treechain div {
    background: #ffffff !important;
}

.treechain-content #treechain-form .treechain-result-error {
    display: none;
    margin-top: 20px;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
    letter-spacing: normal;
    color: #E54242;
}

.treechain-content .treechain-sample-history {
    margin: 30px auto;
}

.treechain-content .treechain-sample-history span {
    color: #95AD47;
    text-align: center;
    font-family: "Montserrat";
    font-size: 14px;
    letter-spacing: normal;
    font-weight: 500;
    line-height: 27px; /* 192.857% */
    cursor: pointer;
}

.treechain-content .treechain-sample-history img {
    padding-left: 5px;
    color: #95AD47;
    cursor: pointer;
}

.treechain-content .treechain-sample-history span:hover,
.treechain-content .treechain-sample-history img:hover {
    border-bottom: 1px solid #95AD47;
}

.treechain-content .treechain-footer {
    position: absolute;
    bottom: 70px;
    width: 100%;
}

.treechain-content .treechain-footer .treechain-footer-absolute {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treechain-content .treechain-footer h5 {
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 14px;
    line-height: 27px;
    text-align: center;
    letter-spacing: normal;
    color: #E7E7E7;
    margin-left: 10px;
}

.treechain-content .treechain-footer img {
    padding-right: 10px;
    max-width: 80px;
    height: auto;
    border-right: .5px solid #8F8F8F;
}

/* Timeline */
.treechain-result {
    display: none;
    max-width: 1024px;
    margin: 0 auto;
    padding: 50px 20px;
}

.treechain-result .treechain-result-title {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 34px;
    line-height: 41px;
    text-align: center;
    color: #333333;
    margin-bottom: 10px;
}

.treechain-result .treechain-result-subtitle {
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    text-align: center;
    color: #555555;
    margin-bottom: 30px;
}

.treechain-result .treechain-warning {
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    color: #555555;
    margin-bottom: 50px;
    background-color: #E6F4FF;
    border: solid 1px #00448D;
    border-radius: 10px;
    position: relative;
    padding: 10px 25px;
}

.treechain-result .treechain-warning p i {
    color: #00448D;
    margin-right: 10px;
}

.treechain-result .treechain-warning #treechain-warning-close-btn {
    position: absolute;
    right: 15px;
    top: 0px;
    line-height: 48px;
}

.treechain-result .treechain-warning #treechain-warning-close-btn:hover {
    cursor: pointer;
}

.emcm-treechain-timeline {
    position: relative;
    padding-left: 4rem;
    margin: 0 0 0 30px;
}

.emcm-treechain-timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #C8CAD1;
}

.emcm-treechain-timeline .timeline-container {
    position: relative;
    margin-bottom: 2.5rem;
}

.emcm-treechain-timeline .timeline-container .timeline-icon {
    position: absolute;
    left: -100px;
    top: calc(50% - 30px);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
    background: #C8CAD1;
}

.emcm-treechain-timeline .timeline-container .timeline-icon i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.emcm-treechain-timeline .timeline-container .timeline-icon img {
    width: 100%;
    max-width: 35px;
    height: 100%;
}

.emcm-treechain-timeline .timeline-container .timeline-body {
    display: grid;
    grid-template-columns: max-content 1fr;
    background: #FFFFFF;
    border-top: 3px solid #ffffff;
    border-radius: 15px;
    box-shadow: 9px 9px 80px 10px rgba(17, 17, 17, 0.06);
}

.emcm-treechain-timeline .timeline-container:first-child .timeline-body {
    border-top: 3px solid #95AD47;
    box-shadow: 9px 9px 30px rgba(149, 173, 71, 0.18);
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-left {
    padding: 30px 35px;
    border-right: 1px solid #E8EAE9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-left .timeline-date-day {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 30px;
    line-height: 32px;
    text-align: center;
    color: #646776;
    letter-spacing: normal;
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-left .timeline-date-month,
.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-left .timeline-date-year {
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    color: #B6B5BA;
    letter-spacing: normal;
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-top {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: normal;
    color: #343434;
    text-align: left;
    padding: 15px 25px;
    border-bottom: 1px solid #E8EAE9;
    width: 100%;
    text-transform: uppercase;
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-top {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: normal;
    color: #343434;
    text-align: left;
    padding: 15px 25px;
    border-bottom: 1px solid #E8EAE9;
    width: calc(100% - 50px);
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item {
    padding: 15px 25px;
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item .timeline-item-title {
    font-family: 'Montserrat';
    letter-spacing: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #646776;
    margin-bottom: 5px;
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item .timeline-item-value {
    font-family: 'Montserrat';
    letter-spacing: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #333333;
    margin-bottom: 10px;
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item .timeline-item-value.stored {
    min-height: 60px;
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item .timeline-item-value.text-elipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item .timeline-item-value a {
    text-decoration: underline;
    cursor: pointer;
    color: #333333;
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item .timeline-item-img img {
    max-width: 175px;
    position: relative;
    display: block;
    border-radius: 5px;
}

.emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item .timeline-item-img.logo img {
    max-height: 70px;
}

.emcm-treechain-timeline .timeline-container .timeline-icon {
    color: #FFFFFF;
    background: #DFE2EB !important;
}

.emcm-treechain-timeline .timeline-container:first-child .timeline-icon {
    background: #95AD47 !important;
}

.treechain-result .emcm-treechain-result-action {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 100px;
    margin-bottom: 50px;
}

.treechain-result .emcm-treechain-result-action .emcm-treechain-back,
.treechain-result .emcm-treechain-result-action .emcm-treechain-track {
    min-width: 100px;
    background-color: #95AD47;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    padding: 12px 30px;
    border-radius: 200px;
    border: 1px solid #95AD47;
    cursor: pointer;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    letter-spacing: normal;
}

.treechain-result .emcm-treechain-result-action .emcm-treechain-track:hover,
.treechain-result .emcm-treechain-result-action .emcm-treechain-back {
    color: #95AD47;
    background-color: #ffffff;
}

.treechain-result .emcm-treechain-result-action .emcm-treechain-back:hover {
    color: #ffffff;
    background-color: #95AD47;
}

@media screen and (max-width: 768px) {
    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom {
        display: block;
    }

    .treechain-result .emcm-treechain-result-action {
        margin-top: 50px;
    }

    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item {
        padding-bottom: 0;
    }

    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item:last-child {
        padding-bottom: 15px;
    }

    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item .timeline-item-value.stored {
        min-height: unset;
    }

    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item .timeline-item-img.stored {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .treechain-content {
        min-height: calc(100vh - 100px);
        background-size: 200%;
    }

    .treechain-content h1.treechain-title {
        font-size: 40px;
        margin-bottom: 10px;
    }
    
    .treechain-content .treechain-subtitle {
        font-size: 20px;
    }

    .treechain-content #treechain-form .form-label {
        font-size: 14px;
    }

    .treechain-content #treechain-form .treechain-search-container #treechain-input {
        max-width: 60%;
    }

    .treechain-content #treechain-form .treechain-search-container #treechain-button {
        width: 100%;
        max-width: 28%;
    }

    .treechain-content .treechain-footer {
        bottom: 20px;
    }

    .treechain-content .treechain-footer .treechain-footer-absolute {
        width: 90%;
    }

    .treechain-content .treechain-footer img {
        padding-right: 0;
        border-right: unset;
    }

    .treechain-content .treechain-footer .treechain-footer-absolute h5 {
        border-left: .5px solid #8F8F8F;
        padding-left: 10px;
        text-align: left;
        line-height: 20px;
    }

    /* timeline */
    .treechain-result {
        max-width: 80%;
        margin: 0 auto;
        margin-top: 10px;
    }

    .treechain-result .treechain-result-subtitle {
        margin-bottom: 50px;
    }

    .emcm-treechain-timeline {
        padding-left: 0rem;
        margin: 0 0 0 10px;
    }

    .emcm-treechain-timeline:before {
        all: unset;
    }

    .emcm-treechain-timeline .timeline-container .timeline-icon {
        left: -27.5px;
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .emcm-treechain-timeline .timeline-container .timeline-sub-body-left {
        display: flex !important;
        flex-direction: row !important;
        justify-content: start !important;
        gap: 5px !important;
        padding-top: 20px !important;
        padding-bottom: 0px !important;
        margin-left: 5px !important;
        border-right: unset;
    }

    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-left .timeline-date-day, 
    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-left .timeline-date-month, 
    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-left .timeline-date-year {
        font-family: 'Montserrat';
        font-weight: 400 !important;
        font-size: 14px !important;
        line-height: 17px !important;
        letter-spacing: normal;
        color: #646776;
    }

    .emcm-treechain-timeline .timeline-container .timeline-sub-body-right {
        display: block;
        margin-left: 30px;
        margin-right: 10px;
    }

    .emcm-treechain-timeline .timeline-container .timeline-icon {
        top: 20px;
    }

    .emcm-treechain-timeline .timeline-container .timeline-icon img {
        max-width: 30px;
    }

    .emcm-treechain-timeline .timeline-container .timeline-body {
        display: block;
    }

    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-top {
        padding-left: 10px;
        padding-top: 5px;
        width: calc(100% - 50px);
    }

    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom {
        display: block;
    }

    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item {
        padding-left: 10px;
        padding-bottom: 0;
        padding-top: 10px;
    }

    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item:last-child {
        padding-bottom: 15px;
    }

    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item .timeline-item-value.stored {
        min-height: unset;
    }

    .emcm-treechain-timeline .timeline-container .timeline-body .timeline-sub-body-right .timeline-sub-body-right-bottom-item .timeline-item-img.stored {
        margin-bottom: 15px;
    }

    .treechain-result .emcm-treechain-result-action {
        margin-top: 30px;
        flex-direction: column;
        gap: 15px;
    }

    .treechain-result .emcm-treechain-result-action .emcm-treechain-track,
    .treechain-result .emcm-treechain-result-action .emcm-treechain-back {
        width: 80%;
    }

    .treechain-result .emcm-treechain-result-action .emcm-treechain-track {
        order: 1;
    }

    .treechain-result .emcm-treechain-result-action .emcm-treechain-back {
        order: 2;
    }
}