@media print {
    button {
        display: none;
    }
}


* {
    margin: 0;
    padding: 0;
}


.mp-wrapper {
    width: 100%;
    height: 100%;
} 

.mp-cont-wait {
    width: 75%;
    height: 100%;
    display: none;
}

.mp-cont-wait img {
    display: block;
    margin: 50px auto;
}

.mp-warn-info {
    background-color: #ff0;
    font-weight: bold;
    padding: 5px 100px;
    display: none;
    margin-bottom: 5px;
}


@media screen and (min-width: 600px)
{

    html, body {
        width: 100%;
        height: 100%;
        font-family: helvetica, sans-serif;
        font-size: 12px;
        color: #000000;
    }

    body {
        background-color: #6cf;
    }

    .middle {
        margin-top: 0;
        margin-bottom: 0;
        position: relative;
        top: 50%;
        transform: translateY(-70%);
    }


    
    
    
    
    
    
    
    
    .mp-error > div {
        margin: 20px auto 20px auto;
        width: 400px;
        background-color: #f00;
        color: #ff0;
        font-size: 13px;
        font-weight: bold;
        white-space: pre-wrap;
    }

    .mp-warn > div {
        margin: 20px auto 20px auto;
        width: 400px;
        background-color: #ff0;
        color: #000;
        font-size: 13px;
        font-weight: bold;
        white-space: pre-wrap;
    }

    .mp-error ul,
    .mp-warn ul {
        margin: 0;
        padding: 1em;
    }

    .mp-error li,
    .mp-warn li {
        margin-left: 4em;
    }


    .mp-success > div {
        margin: 20px auto 20px auto;
        width: 400px;
        background-color: #080;
        color: #ff0;
        font-size: 13px;
        font-weight: bold;
        white-space: pre-wrap;
    }

    .mp-success ul {
        margin: 0;
        padding: 1em;
    }

    .mp-success li {
        margin-left: 4em;
    }



    .mp-table1 {
        border-collapse: collapse; white-space: nowrap;
    }

    .mp-table1 td,
    .mp-table1 th {
        border: 1px dashed #808080;
        padding-left: 1ex;
        padding-right: 1ex;
    }

    .mp-table1 th,
    .mp-table1 tfoot td {
        border-style: solid;
    }

    .mp-table1-colnum th {
        font-weight: normal;
        font-size: smaller;
        color: #333;
    }

    .mp-table1 tbody td:first-child {
        border-left-style: solid;
    }

    .mp-table1 tbody td:last-child {
        border-right-style: solid;
    }

    .mp-table1 tbody tr:last-child td {
        border-bottom-style: solid;
    }

    .mp-table1 th {
        background-color: #0099ff;
        text-align: center;
    }

    .mp-table1 tfoot td {
        font-weight: bold;
        background-color: #5F9EA0;
        border-bottom-style: solid;
    }

    .mp-table1-rem {
        display: inline-block;
        font-family: tahoma, sans-serif;
        font-weight: normal;
        font-size: 11px;
        line-height: 10px;
        /*padding-left: 1em;*/
    }

    /*.mp-table1 tbody > tr:nth-child(5n+5) {
        background-color: #33ffff;
    }*/

    .mp-table1 *[data-clnk],
    .mp-table1 *[data-par],
    .mp-table1 *[data-params]
    {
        cursor: pointer;
    }

    .mp-table1 td[data-clnk]:hover,
    .mp-table1 td[data-params]:hover,
    .mp-table1 td[data-par]:hover,
    .mp-table1 tr[data-params]:hover
    {
        text-decoration: underline;
    }

    .mp-table1 caption {
        padding: 5px 10px;
        background-color: #236B8E;
        font-weight: bold;
        color: #dadada;
    }

    .mp-table1-sum {
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        border-bottom: 1px solid #000;
        font-weight: bold;
        background-color: #5F9EA0;
    }

    
    /*
    Nowa tabela standardowa 20200519   ############################################
    */

    .std-table {
        border-collapse: collapse;
        white-space: pre;
    }
    

    .std-table caption {
        padding: 5px 10px;
        background-color: #236B8E;
        font-weight: bold;
        color: #dadada;
        white-space: pre;
    }

    
    .std-table th,
    .std-table td
    {
        text-align: center;
        border: 1px dashed #808080;
        padding-left: 1ex;
        padding-right: 1ex;

    }

    
    .std-table th {
        background-color: #0099ff;
        border-style: solid;
    }
    
    .std-table *[data-params]
    {
        cursor: pointer;
    }
    
    .std-table *[data-params]:hover { text-decoration: underline; }

    
    .std-table tbody td:first-child {
        border-left-style: solid;
    }

    .std-table tbody td:last-child {
        border-right-style: solid;
    }

    .std-table tbody tr:last-child td {
        border-bottom-style: solid;
    }

    
    .std-table tr.sum {
        border-bottom: 1px solid #000;
        font-weight: bold;
        background-color: #5F9EA0;    
    }

    .std-table tr.sum > td {
        padding-top: 0.5em;
        padding-bottom: 0.5em;    
    }

    .mp-tr-selected td {
        border-top: 3px solid #00f;
        border-bottom: 3px solid #00f;
    }


    /*#########################################################################################*/
    
    
/*    .mp-wrapper {
        width: 100%;
        height: 100%;
    } 

    .mp-cont-wait {
        width: 75%;
        height: 100%;
        display: none;
    }

    .mp-cont-wait img {
        display: block;
        margin: 50px auto;
    }*/

    .mp-title {
        text-align: center;
        font-size: 13px;
        font-weight: bold;
        color: #00ffff;
        background-color: #000080;
        /*//padding-top: 1ex;*/
        /*//padding-bottom: 1ex;*/
        line-height: 24px;
    }

    .mp-top {
    }




    .std-form {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        align-content: flex-start;
        flex-wrap: wrap;
        margin: 1em;
    }

    .std-form > * {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        margin-right: 1em;
    }

    .std-form > label > span {
        margin-right: 0.25em;
    }

    .std-form select {
        font-family: helvetica, sans-serif;
        font-size: 12px;
    }

    .std-form button {
        font-family: helvetica, sans-serif;
        font-size: 12px;
        font-weight: bold;
        padding-left: 5px;
        padding-right: 5px;
    }


    .std-form-break {
        flex-basis: 100%;
    }


    .mp-table-f1 {
        margin-top: 15px;
    }

    .mp-table-f1 td,
    .mp-table-f1 button {
        padding: 3px 10px;
    }

    .mp-table-f1 button {
        font-weight: bold;
        margin-top: 10px;
    }

    .mp-table-f1 input {
        padding: 3px 10px;
    }

    .mp-form1 {
        margin: 5px 0px;
       display: inline-block;
    }

    .mp-form1 label {
        margin-left: 15px;
    }

    .mp-form1 select {
        font-family: helvetica, sans-serif;
        font-size: 12px;
    }

    .mp-form1 button {
        font-family: helvetica, sans-serif;
        font-size: 12px;
        font-weight: bold;
        padding-left: 5px;
        padding-right: 5px;
    }

    .mp-form1 #Download_Btn,
    .mp-form1 #Download1_Btn,
    .mp-form1 #Download2_Btn
    {
        margin-left: 20px;
    }

    .mp-dict-sel select,
    .mp-dict-sel img {
        display: none;
    }


    .mp-popup {
        background-color: #6cf;
        position: fixed;
        border: 2px solid #808080;
        box-shadow: 5px 5px 3px #808080;
        min-width: 250px;
        min-height: 150px;
        display: none;
    }

    .mp-popup-cont {
        height: 365px;
        min-height: 115px;
        overflow: auto;
    }

    .mp-popup-title {
        color: #0ff;
        font-size: 14px;
        font-weight: bold;
        padding-left: 1em;
    }

    .mp-popup-close {
        cursor: pointer;
        font-size: 18px;
        font-weight: bold;
        color: #0ff;
        padding-right: 10px;
        padding-left: 20px;
    }

    .mp-popup-top {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        height: 30px;
        border: 1px solid #000;
        align-items: center;
        background-color: #000080;
        cursor: move;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .mp-popup-resizer {
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 99999;
        cursor: nw-resize
    }


    .combo-holder {
        display: inline-grid;
        grid-template-areas: 'label field' '. list';
    }
    .combo-label {
        grid-area: label;
        margin: auto 0;
    }
    .combo-field {
        grid-area: field;
    }
    .combo-list {
        grid-area: list;
        height: 0px;
        width: 0px;
        overflow: visible;
    }



    .combo-table {
        border-collapse: collapse; white-space: nowrap;
        margin: 0 0 0 0;
        z-index: 1;
        position: absolute;
        background-color: #6cb;
        opacity: 1;
        cursor: alias;
    }

    .combo-table td,
    .combo-table th {
        border: 1px dashed #808080;
        padding-left: 1ex;
        padding-right: 1ex;
    }

    .combo-table th {
        border-style: solid;
        background-color: #0099ff;
        text-align: center;
    }

    .combo-table tbody tr:hover {
        text-decoration: underline;
    }
    .combo-table tbody td:first-child {
        border-left-style: solid;
    }
    .combo-table td:last-child {
        border-right-style: solid;
    }
    .combo-table tr:last-child td {
        border-bottom-style: solid;
    }

    .combo-table-bar {
        background-color: #ff0;
    }

    .init-pass {
        font-family: monospace;
        font-size: 1.5em;
        letter-spacing: 0.3em;
    }

}


 /*================================= Mobile ========================================*/



@media screen and (max-width: 500px)
{
    
    html, body {
        width: 100%;
        height: 100%;
        font-family: helvetica, sans-serif;
        font-size: 16px;
        color: #fff;
    }

    
    body {
        background-color: #000;
    }

    select {
        font-size: 15px;
        max-width: 290px;
    }
    
    
    .mp-error > div {
        margin-top: 20px;
        width: 100%;
        background-color: #f00;
        color: #ff0;
        font-size: 17px;
        font-weight: bold;
    }

    .mp-warn > div {
        margin-top: 20px;
        width: 100%;
        background-color: #ff0;
        color: #000;
        font-size: 17px;
        font-weight: bold;
    }

    .mp-error ul,
    .mp-warn ul {
        margin: 0;
        padding: 2em;
    }

    
    .mp-title {
        text-align: center;
        font-size: 17px;
        font-weight: bold;
        color: #00ffff;
        background-color: #000080;
        line-height: 24px;
    }
    
    
    .std-form {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        align-content: flex-start;
        flex-wrap: nowrap;
        margin: 1em;
        padding-left: 0.5em;
    }

    
    .std-form > * {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        margin-right: 1em;
        margin-bottom: 2em;
    }
    
    .std-form > label > span {
        margin-right: 0.25em;
    }
    
    
    .std-table {
        border-collapse: collapse;
        white-space: pre-wrap;
        margin: 1ex 1ex 0 1ex;
    }
    
    .std-table caption {
        padding: 5px 10px;
        background-color: #236B8E;
        font-weight: bold;
        color: #dadada;
    }

    .std-table thead {
        display: none;
    }
    
    .std-table td {
        display: block;
        padding-left: 1ex;
        padding-right: 1ex;
        padding-bottom: 1ex;
        max-height: 999999px;
        text-align: left;
        border-left: 1px solid #777;
        border-right: 1px solid #777;
    }
    
    .std-table tbody tr:first-child td:first-child {
        border-top: 1px solid #777;
    }

}
