
.size-chart-content-table-button{
    position: fixed;
    width: calc(40vw + 42px);
    top: 1vh;
    right: 0;
    transform: translate(40vw,0);
    display: flex;
    align-items: center;
    transition: all 0.3s;
    z-index: 5;
}
.size-chart-content-table-button.active{
    z-index: 100;
}
.size-chart-content-table-button button.open{
    height: 260px;
    width: 42px;
    -webkit-box-shadow: 5px 5px 15px -5px rgba(0, 0, 0, 1);
    -moz-box-shadow: 5px 5px 15px -5px rgba(0, 0, 0, 1);
    box-shadow: 5px 5px 15px -5px rgba(0, 0, 0, 1);
    background-color: #FDD881;
    border-color: #FDD881;
    border-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
    padding: 6px;
    display: flex;

}

.size-chart-content-table-button button.open img{
    margin-top: 20px;
}

.size-chart-content-table-button button.open span{
    color: #242424;
    font-size: 20px;
    position: absolute;
    top: 65px;
    left: 85%;
    text-wrap: nowrap;
    background: none;
    transform-origin: 0 0;
    transform: rotate(90deg);
    line-height: 27px;
    font-weight: 600;
}

.size-chart-content-table-button.active{
    transform: translate(0,0);
}

#size-chart-content-table{
    z-index: 1;
    background: white;
    border: 1px solid #ccc;
    width: 100%;
}

#size-chart-content-table .modal-body{
    height: 100%;
    overflow: auto;
    max-height: 100vh;
    padding-bottom: 80px;
}

@media(max-width: 767px){
    .size-chart-content-table-button{
        align-items: flex-start;
        width: 100vw;
        top: 0;
        transform: translate(calc(100vw - 42px),0);

    }

    #size-chart-content-table .modal-body{
        height: 100%;
        overflow: auto;
        max-height: 100vh;
        padding-bottom: 60px;
    }

    .size-chart-content-table-button button.open{
        margin-top: 40%;
    }

    .size-chart-content-table-button button.open span{
        display: none;
    }

    .size-chart-content-table-button button.open {
        height: 82px;
    }
}

#sizeChart .modal-dialog{
    max-width: 1200px;
    width: 100%;
}

#sizeChart .modal-body .panel{
    display: flex;
    flex-wrap: wrap;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
}

.size-table th {
    background: #FDD881;
    padding: 8px 12px;
    text-align: center;
}

.size-table th:last-child {
    background: #088282;
    color: #fff;
}

.size-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #cfe9e7;
    text-align: center;
}

.size-table tr > td:last-child {
    color: #088282;
    font-weight: 600;
    text-decoration: none;
}

.size-table tr:nth-child(even){
    background-color: rgba(235, 233, 233, 0.3);
}

#size-chart-content-table > div > span{
    font-size: 20px;
    font-weight: 600;
}

.modal-header {align-items: center}

#header #size-chart-content-table .modal-body{
    display: flex;
    flex-wrap: wrap;
}