@charset "utf-8";

.contrast-body {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.contrast-body .contrast-body-left {
    width: 1140px;
}

.contrast-body .contrast-body-right {
    width: 340px;
}

/* contrast-body-panel */
.contrast-body-panel {
    padding: 20px 20px 25px;
    background-color: #f7f8fc;
}

.contrast-body-panel:nth-child(n+2) {
    margin-top: 20px;
}

.contrast-body-panel .panel-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contrast-body-panel .panel-title h4 {
    color: #333;
    font-size: 20px;
    font-weight: normal;
}

.contrast-body-panel .panel-title h4 i {
    color: #0036ff;
    font-size: 24px;
}

.contrast-body-panel .panel-title .panel-title-right a {
    box-sizing: border-box;
    display: inline-block;
    border-radius: 2px;
    color: #0036ff;
    font-size: 15px;
    line-height: 30px;
}

.contrast-body-panel .panel-title .panel-title-right a.btn {
    padding: 0 10px;
    background-color: #0036ff;
    color: #fff;
}

.contrast-body-panel .panel-title .panel-title-right a.btn.outline {
    padding: 0 8px;
    border: 1px solid #0036ff;
    background-color: transparent;
    color: #0036ff;
}

.contrast-body-panel .panel-title .panel-title-right a:nth-child(n+2) {
    margin-left: 5px;
}

.contrast-body-panel .panel-title .panel-title-right a i {
    margin-right: 3px;
    font-size: 14px;
}

.contrast-body-panel .panel-body {
    margin-top: 15px;
}
/* contrast-body-panel */

/* product-metadata-list */
.contrast-body-panel .panel-body .product-metadata-list {
    display: flex;
    align-items: center;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item {
    position: relative;
    width: 242px;
    height: 254px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 35, 166, 0.1);
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,35,166,0.2);
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .product-icon {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .product-icon img {
    width: 100%;
    height: 100%;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .contrast-product-remove {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 5px;
    cursor: pointer;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .contrast-product-remove i {
    color: #0036ff;
    font-size: 14px;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .product-image-box img {
    display: inline-block;
    width: 217px;
    height: 165px;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item h3 {
    margin-top: -15px;
    color: #222;
    font-size: 16px;
    font-weight: normal;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item p {
    margin-top: 8px;
    color: #999;
    font-size: 14px;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .product-action-btns {
    margin: 15px 0 20px;
    font-size: 0;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .product-action-btns a {
    display: inline-block;
    height: 26px;
    padding: 0 12px;
    border-radius: 2px;
    background-color: #0036ff;
    border: 1px solid #0036ff;
    color: #fff;
    font-size: 13px;
    line-height: 26px;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .product-action-btns a i {
    margin-right: 3px;
    font-size: 14px;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .product-action-btns a.outline {
    background-color: transparent;
    color: #0036ff;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .product-action-btns a:nth-child(n+2) {
    margin-left: 8px;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .contrast-add {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .contrast-add a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .contrast-add a .contrast-icon i {
    color: #0036ff;
    font-size: 30px;
    line-height: 1;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-product-item .contrast-add a h3 {
    margin-top: 10px;
    color: #0036ff;
    font-weight: bold;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-separate {
    position: relative;
    display: flex;
    align-items: center;
    height: 254px;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-separate:after {
    content: '';
    position: absolute;
    width: 1px;
    height: 254px;
    left: 49%;
    background-color: #f2f2f2;
}

.contrast-body-panel .panel-body .product-metadata-list .contrast-separate span {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 0 8px;
    border-radius: 50%;
    background-color: #e3e3e3;
    color: #8a8a8a;
    line-height: 28px;
    text-align: center;
}
/* product-metadata-list */

/* contrast-specs-box */
.contrast-body-panel .panel-body .contrast-specs-box {
    margin: 0 -10px;
}

.contrast-body-panel .panel-body .contrast-specs-box .specs-group-title {
    height: 18px;
    margin: 24px 10px;
}

.contrast-body-panel .panel-body .contrast-specs-box .specs-group-title h4 {
    display: flex;
    color: #222;
    font-size: 18px;
    font-weight: normal;
}

.contrast-body-panel .panel-body .contrast-specs-box .specs-group-title h4:before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    margin-right: 5px;
    background-color: #0036ff;
}

.contrast-body-panel .panel-body .contrast-specs-box .contrast-specs-list {
    display: flex;
    padding: 10px;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.3s;
}

.contrast-body-panel .panel-body .contrast-specs-box .contrast-specs-list:hover {
    background-color: #fff;
}

.contrast-body-panel .panel-body .contrast-specs-box .contrast-specs-list .contrast-specs-item {
    width: 242px;
}

.contrast-body-panel .panel-body .contrast-specs-box .contrast-specs-list .contrast-specs-item:nth-child(n+2) {
    margin-left: 44px;
}

.contrast-body-panel .panel-body .contrast-specs-box .contrast-specs-list .contrast-specs-item .spec-label {
    color: #999;
    font-size: 16px;
}

.contrast-body-panel .panel-body .contrast-specs-box .contrast-specs-list .contrast-specs-item .spec-data {
    margin-top: 15px;
    color: #222;
    font-size: 16px;
}

.contrast-body-panel .panel-body .contrast-specs-box .contrast-specs-list .contrast-specs-item .spec-data.spec-canvas-box {
    position: relative;
    height: 60px;
}

.contrast-body-panel .panel-body .contrast-specs-box .contrast-specs-list .contrast-specs-item .spec-data.spec-canvas-box canvas {
    width: 100%;
    max-height: 60px;
}

.contrast-body-panel .panel-body .contrast-specs-box .contrast-specs-list .contrast-specs-item .spec-data.spec-canvas-box span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    line-height: 60px;
    text-align: center;
    font-size: 14px;
    background: #eeeff5;
    color: #b5b5b5;
}
/* contrast-specs-box */

/* contrast-history */
.contrast-history .panel-body li {
    border-top: 1px solid #f2f2f2;
    transition: background-color .6s;
}

.contrast-history .panel-body li:hover {
    background-color: #fff;
}

.contrast-history .panel-body li:first-child {
    border-top: none;
}

.contrast-history .panel-body li a {
    display: block;
    padding: 10px 0;
}

.contrast-history .panel-body li a p {
    display: inline-block;
    overflow: hidden;
    width: 250px;
    color: #222;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contrast-history .panel-body li a span {
    display: inline-block;
    padding: 2px 5px;
    border-radius: 10px;
    background-color: #e1e3ed;
    color: #222;
    font-size: 14px;
}

.contrast-history .panel-body li a time {
    margin-top: 10px;
    color: #8c8c8c;
    font-size: 14px;
}
/* contrast-history */

/* contrast-hot-list */
.contrast-hot-list .contrast-hot-item {
    overflow: hidden;
    position: relative;
    padding: 8px 0;
    border-top: 1px solid #eff2ff;
    transition: background-color .6s;
}

.contrast-hot-list .contrast-hot-item:hover {
    background-color: #fff;
}

.contrast-hot-list .contrast-hot-item:first-child {
    border: none;
}

.contrast-hot .panel-title h4 i {
    color: #ff6000;
}

.contrast-hot-list .contrast-hot-item .gpu-info-box a {
    display: flex;
    align-items: center;
}

.contrast-hot-list .contrast-hot-item .gpu-info-box .gpu-icon {
    width: 50px;
    height: 50px;
}

.contrast-hot-list .contrast-hot-item .gpu-info-box .gpu-icon img {
    width: 100%;
    height: 100%;
}

.contrast-hot-list .contrast-hot-item .gpu-info-box .gpu-info {
    width: 240px;
    margin-left: 10px;
}

.contrast-hot-list .contrast-hot-item .gpu-info-box .gpu-info h5 {
    color: #222;
    font-size: 17px;
    font-weight: normal;
}

.contrast-hot-list .contrast-hot-item .gpu-info-box .gpu-info p {
    margin-top: 8px;
    color: #888888;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contrast-hot-list .contrast-hot-item .add-to-compare {
    position: absolute;
    right: -120px;
    top: 0;
    bottom: 0;
    width: 120px;
    box-sizing: border-box;
    padding-right: 20px;
    background: linear-gradient(to right,rgba(255,255,255,0.1),#fff,#fff);
    line-height: 60px;
    text-align: right;
    transition: right .6s;
}

.contrast-hot-list .contrast-hot-item:hover .add-to-compare,
.contrast-hot-list .contrast-hot-item.active .add-to-compare {
    right: 0;
}

.contrast-hot-list .contrast-hot-item .add-to-compare a {
    color: #0036ff;
    font-size: 14px;
}
/* contrast-hot-list */