/* banner */
.innner-pc.swiper-container {
    margin-bottom: 160px;
}

.innner-pc .container>* {
    margin-left: calc(1 / 12 * 100%);
}

.innner-pc .pc-small-title {
    padding-top: 264px;
}

.innner-pc .banner-text-title {
    padding: 0 0 24px;
}

.innner-pc .bottom-group {
    padding-top: 56px;
}

@media screen and (max-width: 1024px) {
    .innner-wap.swiper-container {
        margin-bottom: 80px;
    }

    .innner-wap .swiper-slide {
        background-size: cover;
    }

    .innner-wap .wap-small-title {
        padding-top: 130px;
    }

    .innner-wap .banner-text-title {
        padding: 0 0 24px;
    }

    .innner-wap .banner-text-content {
        max-width: 260px;
        margin: 0 auto;
    }

    .innner-wap .bottom-group {
        padding-top: 32px;
    }

    .swiper-container.innner-wap {
        height: 700px;
    }

    .innner-wap div.bottom-group {
        padding-top: 32px;
    }
}


/* part2 */
.part2 .container {
    width: 100%;
    max-width: 1488px !important;
    margin: 0 auto;
}

.part2 h2.title {
    font-size: 24px;
    font-weight: normal;
    line-height: 32px;
    letter-spacing: 1.5px;
    color: var(--color-brand-Auxiliary);
    text-align: center;
    margin-bottom: 16px;
}

.part2 p.des {
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    letter-spacing: 1.2px;
    text-align: center;
    color: var(--color-brand-Auxiliary);
    text-align: center;
    padding-bottom: 40px;
}

@media screen and (min-width: 1025px) {
    .part2 h2.title {
        font-size: 48px;
        line-height: normal;
        margin-bottom: 20px;
    }

    .part2 p.des {
        /*border-bottom: 2px solid rgba(0, 0, 0, .1);*/
        margin-bottom: 12px;
    }
}


/* flex */
@media screen and (min-width: 1025px) {
    .part2 .flex {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: stretch;
    }
}


/* select */
.select {
    display: flex;
    align-items: center;
}

.select span {
    white-space: nowrap;
    margin-right: 6px;
}

.select,
.select select {
    width: 100%;
    height: 48px !important;
}

.select::after {
    border-color: #363636 !important;
}

@media screen and (min-width: 1025px) {

    .select,
    .select select {
        max-width: 346px;
    }
}


/* searchbox */
.cms-filter-search {
    background-image: url('../images/common/icon-common-search.svg');
    background-position: 10px 12px;
    background-repeat: no-repeat;
    width: 100%;
    border-radius: 3px;
    border: solid 1px #e4e4e4;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    letter-spacing: 1.5px;
    color: var(--color-brand-Auxiliary);
    margin-bottom: 16px;
    padding: 12px;
    padding-left: 46px;
}

.cms-filter-search::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #e4e4e4;
    opacity: 1;
    /* Firefox */
}

.cms-filter-search:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #e4e4e4;
}

.cms-filter-search::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #e4e4e4;
}

.cms-filter-search:focus::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: transparent;
    opacity: 1;
    /* Firefox */
}

.cms-filter-search:focus:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: transparent;
}

.cms-filter-search:focus::-ms-input-placeholder {
    /* Microsoft Edge */
    color: transparent;
}

@media screen and (min-width: 1025px) {
    .cms-filter-search {
        max-width: 460px;
    }
}


/* tab */
.cms-table-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: #f5f8fa;
    padding: 4px;
    margin-bottom: 8px;
}

.cms-category-item {
    flex: 0 0 74px;
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
    letter-spacing: 1.5px;
    color: var(--color-brand-Auxiliary);
    text-align: center;
    padding: 8px 0;
}

.cms-category-item:not(:last-child) {
    margin-right: 8px;
}

.cms-category-item.active {
    cursor: pointer;
    color: #d91d22;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    /* box-shadow: 2px 2px 6px 0 rgba(214, 214, 214, 0.5); */
}

.cms-category-item:hover {
    cursor: pointer;
    color: #d91d22;
    background-color: #fff;
}

.cms-data {
    /*padding: 34px 48px 26px 40px !important;*/
    font-size: 16px;
    line-height: 1.5;
    color: #131329;
    border-bottom: 1px solid #fff
}

@media screen and (max-width:1024px) {
    .cms-data:not(:first-child) {
        text-align: center !important
    }
}

@media screen and (max-width:1024px) {
    .cms-data {
        /*width: 25%;*/
        padding: 16px 8px !important;
        font-size: 14px;
        line-height: 1.5;
        color: #131329;
        border-bottom: 1px solid #fff;
        /* word-break: break-word */
    }
}

.cms-data .currency {
    color: #666
}

.cms-data-row {
    background-color: #f9fbfd;
    cursor: pointer
}

.cms-data-row:nth-child(even) {
    background-color: #f6f7fb
}

.cms-data-row:hover {
    background-color: #e4e4e4
}

/* .tab1,
.tab2 {
    display: none;
    overflow-x: scroll;
}
.tab1.active,
.tab2.active {
    display: block;
} */
@media screen and (min-width: 1025px) {
    .cms-table-categories {
        display: flex;
        flex-wrap: wrap;
        padding: 8px;
    }

    .cms-category-item {
        font-size: 20px;
        font-weight: bold;
        line-height: normal;
        padding: 12px 0;
        flex: 1;
    }
}


/* table */
.cms-table {
    width: 100%;
    table-layout: fixed;
    margin-bottom: 16px;
}

.cms-table thead th,
.cms-table tbody td {
    font-size: 12px;
    font-weight: bold;
    line-height: 24px;
    border: 0;
    word-wrap: break-word;
    padding: 12px;
}

.cms-table thead th {
    width: 25%;
    color: var(--color-icon-01);
    background-color: var(--color-brand-standard);
    text-align: center;
    vertical-align: middle;
}

.cms-table thead th:nth-child(1),
td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 1;
}

.cms-table tbody td:nth-child(1) {
    position: sticky;
    left: 0;
    background-color: #f9fbfd;
    z-index: 1;
}

.cms-table tbody td {
    font-weight: normal;
    color: var(--color-brand-Auxiliary);
    text-align: center;
    vertical-align: middle;
}

.cms-table tbody tr {
    background-color: #f9fbfd;
}

.cms-data-row:nth-child(even).ukStock {
    background-color: #682b9d14;
}

.cms-data-row:nth-child(odd).ukStock {
    background-color: #682b9d2e;
}

.cms-data-row:nth-child(even).euStock {
    background-color: #26543924;
}

.cms-data-row:nth-child(odd).euStock {
    background-color: #26543942;
}

.cms-table tbody tr {
    border-top: 2px solid white;
}

@media screen and (min-width: 1025px) {
    .cms-table {
        width: 100%;
    }

    .cms-table thead th:nth-child(1) {
        width: 20%;
    }

    .cms-table thead th:nth-child(2) {
        width: 10%;
    }

    .cms-table thead th:nth-child(3) {
        width: 10%;
    }

    .cms-table thead th:nth-child(4) {
        width: 10%;
    }

    .cms-table thead th:nth-child(5) {
        width: 10%;
    }

    .cms-table thead th:nth-child(6) {
        width: 15%;
    }

    .cms-table thead th:nth-child(7) {
        width: 15%;
    }

    .cms-table thead th,
    .cms-table tbody td {
        font-size: 16px;
    }

    .cms-table thead th:first-child,
    .cms-table tbody td:first-child {
        /*padding-left: 32px;*/
    }

    .cms-table tbody td {
        vertical-align: middle;
    }
}


/* d2 */
.cms-table tbody .depth-2 td {
    font-size: 14px;
    font-weight: bold;
}


/* d4 */
.cms-table tbody .depth-epth-4 p:not(:last-child) {
    margin-bottom: 8px;
}

.cms-table tbody .depth-4 td:nth-child(2) {
    text-align: right;
}


/* toggle */
.cms-table tbody .depth-2,
.cms-table tbody .depth-3,
.cms-table tbody .depth-4 {
    display: none;
}

.cms-table tbody .depth-1.active+.depth-2,
.cms-table tbody .depth-1.active+.depth-2+.depth-3,
.cms-table tbody .depth-1.active+.depth-2+.depth-3+.depth-4 {
    display: table-row;
}

.cms-table tbody .depth-1 {
    cursor: pointer;
}

.cms-table tbody .depth-1 td:first-of-type {
    position: relative;
}

.cms-table tbody .depth-1 td:first-of-type::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translate(0, -50%);
    width: 8px;
    height: 8px;
    background: url("../inpageImg/contract-specification/arrow-right.svg") no-repeat scroll center / contain;
}

.cms-table tbody .depth-1.active td:first-of-type::before {
    background-image: url("../inpageImg/contract-specification/arrow-down.svg");
}

/* Table Pagination */
.cms-table-pg {
    display: flex;
    justify-content: flex-end;
}

.cms-table-pg-numbers {
    display: flex;
    list-style: none !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
}

.cms-table-pg-numbers li {
    width: 32px;
    height: 32px;
    margin: 0 2px;
    border-radius: 1px;
    border: solid 1px #e6e8eb;
    text-align: center;
    font-size: 14px;
    line-height: 2;
    color: #8a8f9a;
    cursor: pointer;
    display: none;
}

.cms-table-pg-numbers li:hover,
.cms-table-pg-numbers li:focus,
.cms-table-pg-numbers li.active {
    color: #ffffff;
    background-color: #d91d22;
}

.cms-table-pg-numbers li.show {
    display: block;
}

.cms-table-pg-previous,
.cms-table-pg-next {
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 1px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.cms-table-pg-previous.active,
.cms-table-pg-previous:hover,
.cms-table-pg-next.active,
.cms-table-pg-next:hover {
    color: #d91d22;
}

.cms-table-pg-total {
    display: none;
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 1px;
    border: none;
    font-size: 14px;
    line-height: normal;
    color: #ffffff;
    cursor: pointer;
    background-color: #d91d22;
    white-space: nowrap;
}

/* Shape */
.chevron::before {
    border-style: solid;
    border-width: 0.25em 0.25em 0 0;
    content: '';
    display: inline-block;
    height: 0.45em;
    left: 0.15em;
    position: relative;
    transform: rotate(-45deg);
    width: 0.45em;
}

.chevron.right:before {
    left: 0;
    transform: rotate(45deg);
}

.chevron.left:before {
    left: 0.25em;
    transform: rotate(-135deg);
}

@media (max-width:834px) {
    .cms-table {
        min-width: 400px;
        text-align: center !important;
    }

    .part2 .tab-content {
        overflow-x: scroll;
    }
}

.cms-table.CFD thead th:nth-child(1) {
    width: 33.33%;
}

.cms-table.CFD thead th:nth-child(2) {
    width: 33.33%;
}

.cms-table.CFD thead th:nth-child(3) {
    width: 33.33%;
}

.nav-tabs.nav-justified>.active>a,
.nav-tabs.nav-justified>li>a {
    border: none !important;
}

li.cms-category-item.active {
    border: 1.5px solid #ddd;
    border-bottom-color: #fff;
    /* border-bottom: none; */
}

li.cms-category-item {
    border-bottom: 1.5px solid #ddd;
    border-radius: 4px 4px 0 0;
    vertical-align: middle;
}

.stockLegend {
    display: flex;
    padding: 20px;
    gap: 50px;
    text-align: center;
    margin: auto;
}

.stockLegend div {
    margin: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.stockLegend a {
    color: black;
    font-size: 16px;
    display: block;
}

.stockLegend a:hover {
    color: #E7833A;
}

.tableLinks,
.tableLinks:visited,
.tableLinks:active,
.tableLinks:hover {
    color: black;
    font-size: 14px;
}

.stockIcon {
    width: 20px;
    height: 20px;
}

.cms-data-row:nth-child(even).ukStock:hover,
.cms-data-row:nth-child(odd).ukStock:hover {
    background-color: #c19cdfb5;
}

.cms-data-row:nth-child(even).euStock:hover,
.cms-data-row:nth-child(odd).euStock:hover {
    background-color: #8a9b91;
}


#swiper-slide-desktop-1 {
    background-image: url(/asset/inpageImg/conditions/contract_pc.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#swiper-slide-wap-1 {
    background-image: url(/asset/inpageImg/conditions/contract_pc.png);
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-position-x: calc(100% + 670px);
}

@media (max-width:1900px) {
    #swiper-slide-desktop-1 div.banner-text-content {
        max-width: 25%;
    }
}

@media (max-width:1300px) {

    #swiper-slide-desktop-1 h1,
    #swiper-slide-desktop-1 div.banner-text-content {
        color: white;
        text-shadow: 0 0 5px #ffffff4f, 0 0 10px #ffffff, 0 0 15px #ffffff47;
    }
}

#swiper-slide-wap-1 h1,
#swiper-slide-wap-1 p.banner-text-content {
    color: white;
    text-shadow: 0 0 5px #00000099, 0 0 10px #0000008a, 0 0 15px #00000057;

}

@media (max-width: 767px) {
    li.cms-category-item.active {
        border-bottom-color: #ddd;
        border-radius: 10px;
    }

    li.cms-category-item {
        border-bottom: none;
    }
}