#tv-lightbox .modal-body {
    padding: 20px;
    padding-top: 0;
}

#tv-lightbox .modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

#tv-lightbox .modal-dialog {
    /*max-width: 650px;*/
    /*margin: 50px auto;*/
}


#tv-lightbox .modal-content {
    background: #fff;
    border-radius: 4px;
    /*    padding: 20px;*/
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
    /*animation: fadeIn 0.3s ease-in-out;*/
}

#tv-lightbox {
    /*background: rgba(0, 0, 0, 0.5);*/
   /* position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    padding: 15px;*/
    overflow-x: hidden;
    /*overflow-y: auto;*/
    /*transition: opacity 0.3s ease-in-out;*/
}

#tv-lightbox .modal-header .material-icons {
    color: #ffffff;
    font-size: 21px;
    line-height: 18px;
}

.tv-close-btn {
    cursor: pointer;
    position: absolute;
    right: -16px;
    width: 30px;
    background-color: #000000d1 !important;
    top: -15px;
    opacity: 1;
    border-radius: 50%;
    height: 30px;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
}

.tv-close-btn:hover {
    opacity: .8 !important;
}

.tv-close-btn:focus {
    outline: none;
}

.table thead th {
    text-align: center;
}

.table td {
    text-align: center;
}

.tv-chart-link {
    border-radius: 0.725rem;
    cursor: pointer;
    clear: both;
    display: inline-block;
    margin: 10px 0;
    padding: 8px 10px;
    background-color: #24b9d7;
    color: #fff !important;
    border: 2px solid #24b9d7;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .7px;
    border-radius: 2px;

}

.tv-chart-link:hover {
    opacity: .7;
    color: #fff !important;
}

.tv-hidden,
#tv-lightbox .tv-chart-link {
    display: none;
}

.table.tv-table thead th {
    vertical-align: middle;
}

#tv-lightbox .tv-chart h1 {
    margin-bottom: 15px;
}

.table.tv-table td,
.table.tv-table th {
    padding: .5rem;
    vertical-align: top;
    border: 1px solid #dbdbdb !important;
}

.tv-close:hover {
    transition: all 0.19s ease-in-out;
}

.chart-list-wrapper {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.modal .modal-title {
    font-size: 1.1rem;
    color: #232323;
    /*margin: 12px 0;*/
}

.tv-description p {
    font-size: 14px;
    font-weight: 400;
     margin: 10px 0;
}

.size-chart-modal .main-tv-heading span,
.size-chart-modal .main-tv-heading {
    font-size: 14px;
}

.size-chart-modal thead tr {
    background-color: #f3f3f3;
}

.tabs.size-chart-tabs {
    border-radius: 3px;
    box-shadow: 0 0 6px rgb(0 0 0 / 12%);
}


.size-chart-tabs.tabs .nav-tabs .nav-link.active,
.size-chart-tabs.tabs .nav-tabs .nav-link:hover {
    border-bottom: 0;
    color: #ffffff;
    background-color: #24b9d7;
    border-color: #24b9d7;
}

.footer-size-chart-tabs.tabs .nav-tabs .nav-link.active,
.footer-size-chart-tabs.tabs .nav-tabs .nav-link:hover {
    /*border-bottom: 0;*/
    color: #ffffff;
    background-color: #24b9d7;
    border-color: #24b9d7;
}

.footer-size-chart-tabs.tabs .nav-tabs .nav-link,
.size-chart-tabs.tabs .nav-tabs .nav-link {
    font-size: .9rem;
    margin-bottom: 0;
    border: 1px solid #e4e4e4;
    border-radius: 3px 3px 0 0;
    letter-spacing: .7px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
}


/*custom scrollbar start*/
/* width */
.size-chart-modal::-webkit-scrollbar {
    height: 5px;
}

/* Track */
.size-chart-modal::-webkit-scrollbar-track {
    background: #e4e4e4;
}

/* Handle */
.size-chart-modal::-webkit-scrollbar-thumb {
    background: #c5bcbc;
    /*border-radius: 2px;*/
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;

}

/* Handle on hover */
.size-chart-modal::-webkit-scrollbar-thumb:hover {
    background: #ada8a8;
}

/*custom scrollbar end*/


.footer-size-chart-tabs.tabs .tab-pane,
.size-chart-tabs.tabs .tab-pane {
    padding-top: 0;
}

.footer-size-chart-tabs .nav.nav-tabs,
.size-chart-tabs .nav.nav-tabs {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.footer-size-chart-tabs .nav-tabs .nav-item+.nav-item,
.size-chart-tabs .nav-tabs .nav-item+.nav-item {
    margin-left: 0;
}


/*cgart popups tpl start*/

.table>thead>tr>th {
    border-block-width: 2px;
    border-top: 2px solid #d3d3d3 !important;
    padding: .75rem;
}

.tab-content {
    margin-top: 0;
}

.nav-tabs>li>a {
    font-size: 20px;
    padding: 0;
    margin-bottom: 10px;
    cursor: inherit;
    color: #000;
}

.nav-tabs>li>a:hover {
    border-color: transparent;
}

.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: none;
    background-color: transparent;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    color: #777777;
    background-color: transparent;
    border: none;
    border-bottom-color: transparent;
    cursor: default;
}

.table tbody>tr>td {
    padding: 12px 10px;
}

.tab-content {
    margin-top: 0 !important;
}

@media(min-width: 992px) {
    #product .pb-left-column.col-md-5 {
        width: 33.33% !important;
    }

    #product .pb-center-column.col-sm-4 {
        width: 41.6666% !important;
        padding: 0;
    }
}

@media(max-width: 991px) {

    .pb-left-column,
    .pb-right-column,
    .pb-center-column {
        width: 100%;
    }

    .tv-container {
        width: 100%;
    }
}

@media(max-width: 575px) {
    .tv-container {
        width: 100%;
    }

    .tv-close {
        right: 0;
    }
}

@media(max-width: 480px) {
    .tv-container {
        width: 100%;
    }
}

@media(max-width: 330px) {
    .table>thead>tr>th {
        padding: 2px;
    }

    .table tbody>tr>td {
        padding: 12px 5px;
        font-size: 12px;
    }

    .tv-container {
        width: 100%;
        /*padding: 10px;*/
    }

    .psc-th span {
        font-size: 11px;
    }
}

#gear-right {
    z-index: -1;
}
.modal-open {
    overflow: hidden !important;
}

/*cgart popups tpl end*/

/*media start*/


@media(max-width: 991px) {

    .pb-left-column,
    .pb-right-column,
    .pb-center-column {
        width: 100%;
    }

    .tv-container {
        width: 100%;
    }

    .footer-size-chart-tabs.tabs .nav-tabs .nav-link,
    .size-chart-tabs.tabs .nav-tabs .nav-link {
        font-size: .8rem;
        padding: 3px 5px;
    }
}

@media(max-width: 767px) {
    .tv-chart-link {
        font-size: .8rem;
        padding: 3px 5px;
    }

    #tv-lightbox .modal-header .material-icons {
        font-size: 19px;
        line-height: 15px;
    }

    .tv-close-btn {
            right: -9px;
    width: 26px;
        height: 26px;
    }
}

@media(max-width: 575px) {
    .tv-container {
        width: 100%;
        /*padding: 15px;*/
    }

    .modal .modal-title {
        font-size: .9rem;
        margin: 0;
    }

    .tv-description p {
        font-size: .8rem;
    }

    .size-chart-modal .main-tv-heading span,
    .size-chart-modal .main-tv-heading {
        font-size: 13px;
    }

    #tv-lightbox .modal-header {
        padding: 8px;
    }

    .table.tv-table td,
    .table.tv-table th {
        font-size: 14px;
    }
}

@media(max-width: 480px) {
    .tv-container {
        /*width: 400px;*/
        width: 100%;
    }

    .table.tv-table td,
    .table.tv-table thead th {
        font-size: 12px;
        padding: 5px;
    }

    #tv-lightbox .tv-chart h1 {
        font-size: 18px;
    }
}

@media(max-width: 400px) {
    .tabs {
        padding: 10px;
    }

    .tv-container {
        /*width: 350px;*/
        width: 100%;
    }
}

@media(max-width: 330px) {
    .table.tv-table thead th {
        padding: 2px;
    }

    .psc-close {
        right: 0;
    }

    .tv-container {
        width: 100%;
    }

    .prosize-chart-content,
    .tv-th span {
        font-size: 11px;
    }
}

/*@media(min-width: 992px){

#tv-lightbox .modal-dialog {
    top: 50%;
    transform: translateY(-50%) !important;
}    
}*/

/*media end*/
