﻿body {
    overflow: auto;
}


.cb-content {
    overflow: auto;
}

#cbTableMain {
    border: 1px dotted #ddd;
    border-top: none;
}


.compareBarcode .cb-header { border-bottom: 1px dashed #ddd; }

    .compareBarcode .cb-header h2 {
        display: inline-block;
        font-size: 30px;
        margin-right: 20px;
        line-height: 100px;
        margin: 0;
    }

#cbTable {
    position: relative;
}

    #cbTable .col-xs-12 {
        width: calc(100% - 40px);
        overflow: auto;
    }

    #cbTable table {
        position: relative;
        max-width: unset;
    }

        #cbTable table tr > td {
            float: left;
            border-top: 1px dashed #ddd;
            padding: 26px 20px;
            border-left: 1px dashed #ddd;
            width: 302px;
        }

            #cbTable table tr > td p {
                margin-bottom: 0;
            }

        #cbTable table tr:first-child > td {
            border-top: 0;
            min-height: 190px;
        }

        #cbTable table tr > td:first-child {
            border-left: 0;
            width: 182px;
        }
        /*#cbTable table tr > td:last-child { border-right: 1px dashed #ddd; }*/
        #cbTable table tr td.full.item {
            background: rgb(245,245,245);
            position: relative
        }

        #cbTable table tr td.full .top p {
            display: inline-block;
            width: 140px;
        }

        #cbTable table tr td.full .top .pull-right {
            cursor: pointer;
            width: 120px;
            padding: 0 15px 0 5px;
            line-height: 26px;
            background: #ffffff;
            font-size: 14px;
            color: #999;
            border-radius: 3px;
            border: 1px solid #ddd;
        }

        #cbTable table tr td.full .bottom {
            position: absolute;
            width: 100%;
            left: 0;
            bottom: 30px;
        }

        #cbTable table tr td.empty {
            cursor: pointer;
            position: relative
        }

            #cbTable table tr td.empty .AddBtn {
                width: 70px;
                height: 70px;
                border-radius: 50%;
                font-size: 24px;
                text-align: center;
                line-height: 70px;
                border: 1px dashed #aaa;
                color: #999;
                margin: 15px auto;
                cursor: pointer;
            }

            #cbTable table tr td.empty:hover .AddBtn {
                color: #fe8e14;
                border-color: #fe8e14
            }

            #cbTable table tr td.empty p {
                margin-top: 10px;
                font-size: 14px;
                color: #aaa;
                text-align: center
            }

            #cbTable table tr td.empty:hover p {
                color: #fe8e14;
            }

        #cbTable table .barcodeList {
            display: none;
            position: absolute;
            cursor: initial;
            border: 1px solid #ddd;
            top: 80px;
            width: 300px;
            background: #ffffff;
            z-index: 5;
            height: 61vh;
            overflow: auto;
            overflow-x: hidden
        }

            #cbTable table .barcodeList li {
                height: 40px;
                line-height: 40px;
                color: #606060;
                font-size: 14px;
                padding: 0 20px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            #cbTable table .barcodeList .bType {
                background: #ddd;
                color: #999;
            }

            #cbTable table .barcodeList .bCode {
                cursor: pointer;
                border-bottom: 1px solid #ddd
            }

                #cbTable table .barcodeList .bCode:hover {
                    background: #fe8e14;
                    color: #ffffff
                }

        #cbTable table tr td.full .barcodeList {
            top: 60px;
            left: 60px;
        }

    #cbTable .addNewCompareLine {
        cursor: pointer;
        background: #ffffff;
        position: absolute;
        right: 0px;
        top: 0;
        border: 1px dashed #ddd;
        color: #999;
        width: 46px;
        height: 190px;
        font-size: 24px;
        line-height: 190px;
        text-align: center;
    }

#footer .footerTopCnt {
    background: #323234;
}

#footerBottom, #footerTop {
    width: 98vw;
}

#footer .footerBottomCnt {
    background: #2a2a2b;
}

@media (min-width: 1680px) {
    .container { 
        max-width: 1640px; 
    }
}

@media (min-width: 992px) {
    .compareBarcode .cb-header h2 {
        font-size: 30px;
        margin-right: 20px;
    }
}
/*
@media (max-width: 767px) {
    #cbTable table {
        width: 100% !important;
    }

    #cbTable .col-xs-12 {
        width: 100%;
    }

    #cbTable table tr > td, #cbTable .addNewCompareLine {
        display: none;
    }

        #cbTable table tr > td:first-child, #cbTable table tr > td:nth-child(2) {
            display: table-cell;
        }

        #cbTable table tr > td:first-child {
            width: 20%
        }

        #cbTable table tr > td:nth-child(2) {
            width: 80%;
        }

    .cb-header a {
        display: block;
    }

    .compareBarcode .cb-header h2 {
        line-height: 50px;
    }
}

@media (max-width: 536px) {
    #cbTable table tr > td:first-child {
        display: none;
    }

    #cbTable table tr > td:nth-child(2) {
        width: 100%;
    }
}
*/
.pull-right {
    float: right !important;
}
