/* Size guide ("Storlekstabell") and its Featherlight lightbox, from kriss-functions' single-product.css. */
#sizing-chart {
    margin: 10px 0
}

.woocommerce .product #sizing-chart .lightbox-contents {
    display: none
}

.size-chart {
    color: #000
}

@media (min-width: 1470px) {
    .size-chart {
        /* max-width: calc(1280px - 290px);
        margin: auto; */
        padding-right: calc(90px + 50px + 150px)
    }
}

.size-chart h2 {
    font-size: 3.8em;
    margin-bottom: 1.8em;
    color: inherit;
    font-family: inherit;
    font-weight: 700;
}

.size-chart table {
    width: 100%;
    border: 0;
    border-spacing: 0;
    border-collapse: collapse;
    border-bottom: 1px solid
}

.size-chart table + table {
    margin-top: 30px
}

.size-chart table caption,
.size-chart .chart-footer h4 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.3em
}

.size-chart table caption {
    text-align: left;
    margin-bottom: 3px;
}

.size-chart table td,
.size-chart table th {
    padding: 5px;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.size-chart table th:first-child,
.size-chart table td:first-child,
.size-chart table th:last-child,
.size-chart table td:last-child {
    border: 0
}

@media (max-width: 767px) {
    .size-chart table th:last-child,
    .size-chart table td:last-child {
        display: none
    }
}

.size-chart table thead th,
.size-chart table tbody tr:nth-child(even) td {
    background: #666;
    color: #fff;
}

.size-chart table thead th {
    width: 65px;
    text-align: center
}

.size-chart table thead th:first-child {
    width: 25%;
}

.size-chart table thead th:last-child {
    width: auto
}

.size-chart table tbody td:not(:first-child) {
    text-align: center
}

.size-chart .num {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    text-align: center;
    line-height: 1.2;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-weight: 500;
    font-size: 1.2em;
}

.size-chart td .num {
    margin-right: .2em
}

.size-chart .chart-footer .size {
    display: inline-block;
    font-weight: 500;
    font-size: 1.3em;
    margin-right: 20px
}

.size-chart .chart-footer p {
    margin-top: 10px;
    text-align: center
}

.size-chart .chart-footer h4 {
    margin-bottom: 5px;
    margin-top: 1em;
    font-family: inherit;
    padding-bottom: 0;
    color: inherit;
}

.size-chart .chart-main,
.size-chart .chart-main .chart-image .chart-legends {
    position: relative
}

.size-chart .chart-main .chart-image {
    display: flex
}

@media (min-width: 1470px) {
    .size-chart .chart-main .chart-image {
        position: absolute;
        top: 0;
        bottom: -10px;
        right: calc(-90px - 50px);
    }
}

.size-chart .chart-main .chart-image img {
    max-height: 100%;
    width: auto
}

@media (max-width: 1469px) {
    .size-chart .chart-main .chart-image {
        margin: 15px 0
    }

    .size-chart .chart-main .chart-image img {
        max-height: 550px
    }
}

.size-chart .chart-main .chart-image .chart-legends {
    padding-left: 50px
}

.size-chart .chart-main .chart-image .chart-legends .legend {
    position: absolute;
    width: 150px;
    line-height: 1.4
}

@media (max-width: 420px) {
    .size-chart {
        font-size: .9em
    }

    .size-chart .chart-main .chart-image img {
        max-height: 450px
    }

    .size-chart .chart-main .chart-image .chart-legends {
        padding-left: 20px
    }

    .size-chart .chart-main .chart-image .chart-legends .legend {
        font-size: .9em
    }

    .size-chart td .num {
        display: block
    }

    .size-chart table thead th:first-child {
        width: 20%;
    }
}

.size-chart .chart-main .chart-image .chart-legends .legend p {
    margin: 0
}

.size-chart .chart-main .chart-image .chart-legends .legend.legend-1 {top: 12%}
.size-chart .chart-main .chart-image .chart-legends .legend.legend-2 {top: 30%}
.size-chart .chart-main .chart-image .chart-legends .legend.legend-3 {top: 52%}
.size-chart .chart-main .chart-image .chart-legends .legend.legend-4 {top: 70%}


.featherlight {
    overflow: auto;
    padding: 20px 0;
}

.featherlight .featherlight-content {
    width: 80%;
    max-height: none
}

@media (max-width: 1279px) {
    .featherlight .featherlight-content {
        width: calc(100% - 100px);
        margin: 50px
    }
}

@media (max-width: 767px) {
    .featherlight .featherlight-content {
        width: calc(100% - 40px);
        margin: 20px
    }
}

@media (max-width: 420px) {
    .featherlight .featherlight-content {
        width: 100%;
        margin: 0
    }
}


