/* =========================
   YLEINEN
========================= */

.tilaus-wrapper {
    max-width: 700px;
}

/* INPUTIT */
#tilaus-haku-form input {
    width: 100%;
    background-color: #fff;
    border: 1px solid #b2adad;
    padding: 10px;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

/* NAPIT */
#tilaus-haku-form button,
#tilaus-tuotteet-form button {
    padding: 10px 14px;
    //border: none;
    cursor: pointer;
}

/* MESSAGES */
.success-msg { color: green; }
.error-msg { color: red; }


/* =========================
   DESKTOP TABLE
========================= */

.tilaus-table {
    width: 100%;
    border-collapse: collapse;
}

.tilaus-table th,
.tilaus-table td {
    border-bottom: 1px solid #b2adad;
    padding: 10px;
    text-align: left;
}

.item-checkbox {
    transform: scale(1.4);
}

    input#select-all {
        transform: scale(1.4);
        margin-right: 16px;
    }
.selectall {
margin-left: 11px;
margin-top: 20px;
}
/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .tilaus-wrapper {
        padding: 10px;
    }

    /* INPUTIT */
    #tilaus-haku-form input {
        font-size: 16px;
        padding: 12px;
    }

    /* NAPIT */
    #tilaus-haku-form button,
    #tilaus-tuotteet-form button {
        width: 100%;
        font-size: 16px;
        padding: 14px;
    }

    .tilaus-table {
        width: 100%;
    }

    .tilaus-table thead {
        display: none;
    }

    .tilaus-table tr {
        display: block;
        border-bottom: 1px solid #b2adad;
        padding: 12px 0;
    }

    .tilaus-table td {
        /*display: block;*/
        border: none;
        padding: 2px 0;
    }

    /* checkbox */
    .tilaus-table td:first-child {
        float: left;
        margin-right: 10px;
        padding-top: 4px;
    }

    .item-checkbox {
        transform: scale(1.4);
    }

    /* tuote-info */
    .sku {
        font-weight: bold;
        font-size: 15px;
        margin-left: 10px;
    }

    .name {
        font-size: 15px;
        margin-left: 10px;
    }

    .qty {
        font-size: 15px;
        color: #000;
        margin-left: 10px;
    }
    input#select-all {
        transform: scale(1.4);
        margin-right: 16px;
    }
    
    .selectall {
margin-top: 20px;
margin-left: 0px;
}
}