@media print {
    h1, 
    button,
    .uaz__menu,
    .uaz__user,
    .uaz__header-text,
    .uaz__box-footer { 
        display: none !important; 
    }

    .uaz__header {
        height: auto;
    }
    .uaz__logo {
    	/*position: relative !important;*/
    	width: 100px !important;
    }
    .uaz__modification__print{
        position: absolute;
        right: 0;
        margin-top: -40px;
        margin-right: 16px;
        width: 200px;
    }
    /*.uaz__logo-img {
    	position: relative !important;
    	top: 0 !important;
    	left: 0 !important;
    	transform: auto !important;
    	height: auto !important;
    	width: 100% !important;
    }*/

    * { -webkit-print-color-adjust: exact; }

    .print-only {
        display: block;
    }
    .no-print {
        display: none;
    }
    
    a[href]:after {
        content: none !important;
    }

    .rg-top,
    .rg-right,
    .rg-left {
        display: none !important;
        border: transparent !important;
    }

    .rg-top span,
    .rg-right span,
    .rg-left span {
        display: none !important;
        border: transparent !important;
    }

    /*.uaz__content,
    .uaz__container {
        height: auto !important;
    }*/

    .uaz__total-height {
    	height: auto !important;
    }
    .uaz__content {
        height: auto !important;
    }

    .uaz__panel-default {
    	display: auto !important;
        height: auto !important;
    	min-height: auto !important;
    }

    .uaz__product-model-group {
        border-top: 1px solid #000;
        border-bottom: 1px solid #eee;
    }

    .uaz__panel-content,
    .uaz__model-list {;
        /*display: inline-block !important;*/
        height: auto !important;
        width: 100% !important;
        border: 1px solid #000 !important;
    }
    
    .uaz__model-list-item:first-child,
    .uaz__row-border:first-child {
        border-top: 1px solid transparent !important;
    }

    .uaz__panel-header-dark,
    thead tr {
        border: 1px solid #000 !important;
        /*display: flex;*/
    }

    .uaz__model-list-item {
        color: #000 !important;
    }

    .uaz__model-list-item,
    .uaz__row-border {
    	border-top: 1px solid #000 !important;
        display: flex;
    }
    .uaz__row-border .active {
    	border: none !important;
    }
    .uaz__model-list-item.active, .uaz__row-border.active {
        border-top: 1px solid #eee !important;
        border-right: none !important;
        border-bottom: 1px solid #eee !important;
        border-left: none !important;
    }
    /*end MODDIFICATIONS PAGE*/

    /*start GROUPs PAGE*/
    .uaz__groups-column:first-child {
	    border-right: 2px solid #000 !important;
    }
    .uaz__row-border:last-child {
        border-bottom: 2px solid #000 !important;
    }

    .uaz__print-subgroups {
        height: auto !important; 
        padding-bottom: 5px;
    }

    .uaz__groups-partgroups {
        height: auto !important;
    }
    .uaz__groups-illustrations {
        padding-top: 35px !important;
    }
    /*end GROUPs PAGE*/



    /*ИЛЛЮСТРАЦИИ*/

    .uaz__footer {
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
    }

    .uaz__viewport_screen {
        width: 80% !important;
        height: 14cm !important;
        min-height: 0 !important;
        border: none;
        margin: 0 auto;
    }
    #viewport_zoom {
        height: 100% !important;
        width: 100% !important;
    }
    .uaz__viewport_zoom-svg, .uaz__viewport_zoom-svg svg {
        width: 100%;
        height: 100%;
    }

    .uaz__footer,
    .uaz__illustration-footer,
    .uaz__illustration-footer-content,
    .uaz__parts-buttons,
    .uaz__parts-flowcharts {
        /*page-break-before: always !important;*/
        height: auto !important;
    }   

    .uaz__illustration-footer-content.uaz__on {
        /*border: 1px solid #000 !important;*/
        display: initial !important;
    }

    .uaz__illustration-btn.active {
        border: 1px solid #000 !important;
    }

    .uaz__illustration-btn-content {
        /*padding: 0 !important;*/
        height: auto !important;
        border: 1px solid #000 !important;
    }

    .uaz__panel-header-dark {
        page-break-after: avoid;
    }

    .uaz__print-illustration {
        /*width: 50% !important;*/
        page-break-after: avoid;
        height: auto;
    }

    .uaz__print-parts {
        /*width: 50% !important;*/
        height: auto;
    }

    /*end ИЛЛЮСТРАЦИИ*/

    /* Time standards */

    .time-stands__panel {
        border: none !important;
    }
    .time-stands__print-info {
        padding: 5px;
    }
    .time-stands__print-info div {
        margin-bottom: 4px;
    }
    .time-stands__operations-print {
        width: 100%;
        float: none;
    }
    .time-stands__results-col-print-5 {
        -ms-flex: 0 0 41.6%;
        flex: 0 0 41.6%;
        max-width: 41.6%;
    }
    .time-stands__results-col-print-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .time-stands__results-col-print-2 {
        -ms-flex: 0 0 16.6%;
        flex: 0 0 16.6%;
        max-width: 16.6%;
    }

    /* Time standards */


    .uaz__footer-close {
        display: none !important;
    }

    .uaz__light-table,
    .uaz__light-table tr {
        border: 1px solid #000 !important;
    }

    .uaz__dark-table tbody, 
    .uaz__dark-table thead, 
    .uaz__light-table tbody, 
    .uaz__light-table thead {
        display: block !important;
    }

    thead {
        width: 100% !important;
        height: 100px !important;
        display: block !important;
    }

    .uaz__off .uaz__parts-buttons {
        border: 1px solid #000 !important;
    }

    .uaz__ngsb-wrap {
        height: auto !important; 
    }

    .uaz__ngsb-scrollbar {
        display: none !important;
    }

    .uaz__ngsb-container {
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
    }

    /*Diagnostic*/

    .uaz__col-sm-9.diagnostic-structure__right-side {
        width: 100%;
    }

    .uaz__panel-content.diagnostic .uaz__panel-row,
    .uaz__panel-content.diagnostic .uaz__row {
        width: 100%;
    }

    .uaz__col-sm-1, .uaz__col-sm-2, .uaz__col-sm-3, .uaz__col-sm-4,
    .uaz__col-sm-5, .uaz__col-sm-6, .uaz__col-sm-8 {
        float: left;
    }
    .uaz__col-sm-1 {
        width: 8.33333333%;
    }
    .uaz__col-sm-2 {
        width: 16.66666667%;
    }
    .uaz__col-sm-3 {
        width: 25%;
    }
    .uaz__col-sm-4 {
        width: 33.33333333%;
    }
    .uaz__col-sm-5 {
        width: 41.66666667%;
    }
    .uaz__col-sm-6 {
        width: 50%;
    }
    .uaz__col-sm-8 {
        width: 66.66666667%;
    }

    .uaz__panel-content.diagnostic .last-row .result-title-col{
        width: 10%;
    }
    .uaz__panel-content.diagnostic .last-row .result-date-col{
        width: 10%;
    }
    .uaz__panel-content.diagnostic .last-row .uaz__col-sm-8{
        width: 62%;
    }
}