#aliexpress-modal-body {
    padding: 25px;
    font-family: 'Montserrat','Roboto',"Helvetica Neue",Helvetica,Arial,sans-serif;
    color: var(--text-color);
}

#aliexpress-modal-body .modal-header {
    display: none;
}

#aliexpress-modal-body .loader {
    margin: 40px auto;
    width: 70px;
    height: 70px;
    border-width: 14px;
}

#aliexpress-modal-body .flex-row {
    display: flex;
    flex-direction: row;
}

#aliexpress-modal-body .flex-col {
    display: flex;
    flex-direction: column;
}

#aliexpress-modal-body .row-1 {
    display: flex;
    flex-direction: row;
}

#aliexpress-modal-body .row-1 .product-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    background: #d1d1dc;
}

#aliexpress-modal-body .row-1 .product-video {
    width: 100%;
    height: auto;
    border-radius: 6px;
    background-color: rgb(34, 34, 34)
}

#aliexpress-modal-body .row-1 .left {
    width: 50%;
    padding-right: 30px;
}

#aliexpress-modal-body .row-1 .right {
    width: 50%;
    display: flex;
    flex-direction: column;
}

#aliexpress-modal-body .product-title {
    font-weight: 500;
    margin: 0 0 10px 0;
    font-size: 1.4em;
    color: var(--text-color);
}

#aliexpress-modal-body .feature-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 0 15px 0;
}

#aliexpress-modal-body .feature-tags .tag {
    color: white;
    padding: 2px 6px;
    font-size: 0.7em;
    margin-right: 5px;
    font-weight: 600;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #00000012;
}

#aliexpress-modal-body .tag.tag-yellow {
    background: #f4bf10;
}

#aliexpress-modal-body .tag.tag-mint {
    background: #46c3aa;
}

#aliexpress-modal-body .product-price {
    font-weight: bold;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

#aliexpress-modal-body .product-price .glyphicon {
    margin-right: 7px;
}

#aliexpress-modal-body .action-button-row {
    display: flex;
    flex-direction: row;
}

#aliexpress-modal-body .view-product-btn {
    text-align: center;
    padding: 9px 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    border: 1px solid #48486c38;
    border-radius: 5px;
    background: #48486c;
    cursor: pointer;
    transition: 0.2s background;
    text-decoration: none;
    margin-right: 4px;
}

#aliexpress-modal-body .view-product-btn:hover {
    background: #51518c;
}

#aliexpress-modal-body .view-product-btn .glyphicon {
    margin-left: 5px;
}

#aliexpress-modal-body #import-product-btn {
    text-align: center;
    padding: 9px 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    border: 1px solid #5cb85c38;
    border-radius: 5px;
    background: #5cb85c;
    cursor: pointer;
    transition: 0.2s background;
    text-decoration: none;
    margin-left: 4px;
}

#aliexpress-modal-body #import-product-btn:hover {
    background: #4e9f4e;
}

#aliexpress-modal-body #import-product-btn .glyphicon {
    margin-left: 5px;
}

#aliexpress-modal-body .mt20 {
    margin-top: 20px;
}

#aliexpress-modal-body .outlined-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #48486c36;
    flex: 1;
}

#aliexpress-modal-body .ad-section .outlined-item {
    align-items: flex-start;
}

#aliexpress-modal-body .ad-section .outlined-item .ad-copy {
    margin-bottom: 16px;
}

#aliexpress-modal-body .outlined-item .glyphicon {
    margin-right: 5px;
}

#aliexpress-modal-body .flex-row .outlined-item {
    margin: 0 7px;
}

#aliexpress-modal-body .flex-row .outlined-item:first-of-type {
    margin-left: 0px;
}

#aliexpress-modal-body .flex-row .outlined-item:last-of-type {
    margin-right: 0px;
}

#aliexpress-modal-body .outlined-item .item-value {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 2px;
    text-align: center;
}

#aliexpress-modal-body .outlined-item .item-title {
    color: #48486c94;
    font-weight: 500;
    font-size: 0.92em;
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

#aliexpress-modal-body .outlined-item .category-name {
    color: #4f91c2;
}

#aliexpress-modal-body .line {
    width: 100%;
    border-bottom: 1px solid #48486c29;
    margin: 20px 0;
}

#modal-aliexpress-order-chart {
    width:100%;
    max-height:175px;
    overflow:hidden;
}

#aliexpress-modal-body .aliexpress-chart {
    padding: 20px;
}

#aliexpress-modal-body .chart-title .growth-label {
    margin-left: 10px;
    border: 1px solid #0080004d;
    padding: 3px 7px;
    border-radius: 5px;
    font-size: 0.7em;
    font-weight: 500;
    color: green;
}

#aliexpress-modal-body .chart-title .growth-label.great {
    border: 1px solid #85ad85;
    color: #216d21;
}

#aliexpress-modal-body .chart-title .growth-label.good {
    border: 1px solid orange;
    color: #bf851b;
}

#aliexpress-modal-body .chart-title .growth-label.poor {
    border: 1px solid #ab7171;
    color: #9c3131;
}

#aliexpress-modal-body .chart-subheader {
    align-self: flex-start;
    font-size: 0.9em;
    margin-left: 12px;
}

#aliexpress-modal-body .section-title {
    font-weight: 600;
    font-size: 1.2em;
    display: flex;
    align-items: baseline;
    margin-bottom: 15px;
    margin-top: 40px;
}

#aliexpress-modal-body .section-title .glyphicon {
    margin-right: 7px;
}

/* The flag doesn't show otherwise */
#aliexpress-modal-body .section-title.top-country-section-title {
    align-items: inherit;
}

/* This allows us to use <b> without it breaking into a separate column (since display: flex is default) */
#aliexpress-modal-body .top-country-section .outlined-item {
    display: block;
    opacity: 0.9;
}

#aliexpress-modal-body .top-country-section .top-country-name {
    font-weight: bold;
}

#aliexpress-modal-body .other-metrics-section .outlined-item {
    max-width: 33%;
}

#aliexpress-modal-body .matching-pages-section {
    display: none;
}

#aliexpress-modal-body .matching-pages-section .outlined-item {
    padding: 10px 0;
    width: 100%;
}

#aliexpress-modal-body .matching-page-item {
    align-self: flex-start;
    color: inherit;
    width: 100%;
    text-decoration: none;
    display: flex;
    padding: 20px;
    transition: 0.2s background;
    border-bottom: 1px solid #48486c1c;
}

#aliexpress-modal-body .matching-page-item:last-of-type {
    border-bottom: none;
}

#aliexpress-modal-body .matching-page-item:hover {
    background: #48486c0e;
}

#aliexpress-modal-body .matching-page-item .page-title {
    font-weight: 600;
    margin-bottom: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

#aliexpress-modal-body .matching-page-item .page-link {
    opacity: 0.7;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #6e6eb2;
    text-decoration: underline;
    display: flex;
    align-items: center;
}

#aliexpress-modal-body .matching-page-image {
    height: 40px;
    width: 40px;
    background: #f3f3f4;
    object-fit: cover;
    margin-right: 15px;
}

#aliexpress-modal-body .matching-page-item .page-platform {
    color: white;
    padding: 2px 6px;
    font-size: 0.7em;
    font-weight: 600;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #00000012;
    display: inline-block;
    margin-right: 8px;
}

#aliexpress-modal-body .matching-page-item .page-platform.Amazon {
    background: #131921;
}

#aliexpress-modal-body .matching-page-item .page-platform.Walmart {
    background: #0470dc;
}

#aliexpress-modal-body .matching-page-item .page-platform.eBay {
    background: #f7b20e;
}

#aliexpress-modal-body .matching-page-item .page-platform.Supplier {
    background: #ff4747;
}

#aliexpress-modal-body .matching-page-item .page-platform.Etsy {
    background: #f0651d;
}

#aliexpress-modal-body .matching-page-item .page-platform.Shopify {
    background: #7ab55c;
}

#aliexpress-modal-body .hide-overflow {
    overflow: hidden;
}

@media screen and (max-width: 600px) {
    #aliexpress-modal-dialog {
        margin-left: 45px;
    }
    #aliexpress-modal-body .row-1 {
        flex-direction: column;
    }
    #aliexpress-modal-body .product-title {
        margin-top: 15px;
    }
    #aliexpress-modal-body .other-metrics-section .outlined-item {
        max-width: 100%;
    }
    #aliexpress-modal-body .row-1 .left {
        width: initial;
        padding: initial;
    }
    #aliexpress-modal-body .row-1 .right {
        width: initial;
    }
    #aliexpress-modal-body .modal-header {
        display: initial;
    }
    #aliexpress-modal-body .flex-row .outlined-item {
        margin: 0 0 7px 0;
    }
    #aliexpress-modal-body .flex-row {
        flex-direction: column;
    }
}