.unit {
    padding: 0;
    margin: 0;
}
.unit navbar {
    width: 100%;
}

.unit .bigUnit {
    /*position: relative;*/
    /*width: 100%;*/
    margin-left: 0;
    margin-right: 0;
    height: 370px;
    margin-bottom: 2px;
}

.unit .currentUnit {
    height: 100%;
}


/*@media screen and (max-width: 1060px) {*/
    /*.unit .currentUnit {*/
        /*height: 220px;*/
        /*width: 30%;*/
        /*position: absolute;*/
        /*margin-left: 35%;*/
        /*margin-top: -5%;*/
        /*padding: 0%;*/
        /*margin-bottom: 100%;*/
    /*}*/
/*}*/

/*@media screen and (max-width: 800px) {*/
    /*.unit .currentUnit {*/
        /*height: 220px;*/
        /*width: 30%;*/
        /*position: absolute;*/
        /*margin-left: 35%;*/
        /*margin-top: -7%;*/
        /*padding: 0%;*/
        /*margin-bottom: 100%;*/
    /*}*/
/*}*/

.unit .nextUnit, .unit .prevUnit {
    height: 100%;
    position: relative;
}

.unit .prevUnit {
    padding-right: 0;
}

.unit .nextUnit {
    padding-left: 0;
}

.unit .nextUnit div {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translate(0, -50%);
    width: 85%;
}

.unit .prevUnit div {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(0, -50%);
    width: 85%;
}

.unit .triangle {
    /*position: absolute;*/
    height: 100%;
    display: table;
}

.unit .triangle span {
    /*position: absolute;*/
    display: table-cell;
    vertical-align: middle;
}

.unit .glyphicon-triangle-left {
    /*position: absolute;*/
    /*margin-left: 3%;*/
    font-size: 3em;
    cursor: pointer;

}

.unit .glyphicon-triangle-right {
    /*position: absolute;*/
    /*float:right;*/
    /*margin-right: 8%;*/
    font-size: 3em;
    cursor: pointer;
}

.print-container {
    float: right;
    display: table;
    height: 100px;
}

.print-container div {
    display: table-cell;
    vertical-align: middle;
}

.print {
    clear: both;
    padding-top: 1px;
    padding-bottom: 1px;
}
.partrowinfo{
    background-color: orange !important;
}

.scrollArea table .col2 .th-inner .ng-scope {
    display: inline;
}
.scrollableContainer {
	height: inherit;
}

.col2p .form-control{
    width: 70px;
}

.scrollableContainer {
    height: inherit;
    position: relative;
    padding-top: 32px;
    overflow: hidden;
    width: 100%;
}
.scrollableContainer .headerSpacer {
    /*border: 1px solid #1b50a0;*/
    /*border-bottom-color: #1b50a0;*/
    border: 1px solid #0950a0;
    border-bottom-color: #0950a0;
    position: absolute;
    height: 32px;
    top: 0;
    right: 0;
    left: 0;
}
.scrollableContainer th .orderWrapper {
    position: absolute;
    top: 0;
    right: 2px;
    cursor: pointer;
}
.scrollableContainer th .orderWrapper .order {
    font-size: 8pt;
    color: #BDBDBD;
}
.scrollableContainer th .orderWrapper .active {
    color: #464646;
}

.scrollArea {
    height: 100%;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid #d5d5d5;
    /*  the implementation of this is still quite buggy; specifically, it doesn't like the 
        absolutely positioned headers within 
    -webkit-overflow-scrolling: touch;  */
    -webkit-overflow-scrolling: auto;
}
.scrollArea table {
    overflow-x: auto;
    overflow-y: auto;
    margin-bottom: 0;
    width: 100%;
    border: none;
    /*border-collapse: separate;*/
}
.scrollArea table th {
    padding: 0 !important;
    border: none !important;
    min-width: 40px;
}
.scrollArea table .th-inner {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: absolute;
    top: 0;
    height: 32px;
    line-height: 32px;
}

.scrollArea table th .box {
    padding: 0 8px;
    padding-right: 11px;    /*  order icon width*/
    /* border-left: 1px solid #ddd; */
}

/*  to hack fix firefox border issue    */
@-moz-document url-prefix() {
    .scrollArea table th .box{
        border-right: 1px solid #ddd;
        border-left: none;
    }
}

.scrollArea table .th-inner .ng-scope {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}
.scrollArea table tr th:first-child th .box {
    border-left: none;
}
.scrollArea table .th-inner.condensed {
    padding: 0 3px;
}
.scrollArea table tbody tr td:first-child {
    border-left: none;
}
.scrollArea table tbody tr td:last-child {
    border-right: none;
}
.scrollArea table tbody tr:first-child td {
    border-top: none;
}
.scrollArea table tbody tr:last-child td {
    border-bottom: 2px solid #ddd;
}
.scrollArea table tbody tr td {
    border-bottom: 1px solid #ddd;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scrollableContainer .scaler {
    position: absolute;
    top: 0px;
    width: 2px;
    height: 100%;
    background-color: #CFCFCF;
}

.scrollableContainer th .resize-rod {
    position: absolute;
    top: 0;
    right: 0;
    cursor: col-resize;
    width: 4px;
    height: 100%;
}

.scrollable-resizing .scrollableContainer {
    cursor: col-resize;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}


/*****************PRINT*******************
******************************************/
@media screen {
    #printSection {
        display: none;
    }
}
@media print{
    html {
        width: 100%;
        height: 100%;
    }
    body * {
        display:none;
        width: 100%;
        height: 100%;
    }
    app {
        display:none !important;
        height: 0px;
    }
    #printSection, #printSection * {
        display:block !important;
        width: 100%;
        height: 100%;

    }
    #printSection {
        position:absolute;
        left:0;
        top:0;
    }
}
/******************END********************
******************************************/

@media screen and (min-width:0\0) and (min-resolution:+72dpi) {

}

@supports (-moz-appearance:meterbar) and (background-blend-mode:difference,normal) {
    .unitscrollable{
        clear:both
    }
}

@supports (-webkit-appearance:none) {

}

.unit .unitscrollable .unitscrollable__row:hover{
    background-color: orange;
}

.unit .unitscrollable .btn[disabled] {
    cursor: default;
}

.unit .prevUnit img, .unit .nextUnit img {
    max-height: 175px;
}

.unit-page .navbar {
    margin-bottom: 0;
}

.unit input::-webkit-outer-spin-button,
.unit input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

#unitTable td>input {
    padding: 1px 12px;
}

#unitTable td>button {
    padding: 0px 12px;
}

#unitTable td>input {
    height: 22px;
} 
#unitTable>tbody>tr>td {
    padding: 4px 8px;
}

#unitTable th {
    font-size: 13px;
} 