/* Ukrywanie i pokazywanie etapów */

.hidden-stage {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.active-stage {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#stage1tab {
    width: 100%;
    border-collapse: collapse;
}

#stage1tab th,
#stage1tab td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#stage1tab th {
    background-color: #f2f2f2;
}

#stage1tab tr:nth-child(even) {
    background-color: #f9f9f9;
}

#stage2tab {
    width: 100%;
    border-collapse: collapse;
}

#stage2tab th,
#stage2tab td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#stage2tab th {
    background-color: #f2f2f2;
}

#stage2tab tr:nth-child(even) {
    background-color: #f9f9f9;
}

#stage3tab {
    width: 100%;
    border-collapse: collapse;
}

#stage3tab th,
#stage3tab td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#stage3tab th {
    background-color: #f2f2f2;
}

#stage3tab tr:nth-child(even) {
    background-color: #f9f9f9;
}

#summary-quantity th,
#summary-quantity td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#summary-quantity th {
    background-color: #f2f2f2;
}

#summary-quantity tr:nth-child(even) {
    background-color: #f9f9f9;
}

#description th,
#description td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#description th {
    background-color: #f2f2f2;
}

#summary-quantity tr:nth-child(even) {
    background-color: #f9f9f9;
}

.smarty-style-1 {
    width: 100%
}

.smarty-style-2 {
    background-color: red;
    color: white;
    font-weight: bold;
    display: none;
    padding: 20px;
}

.smarty-style-3 {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
}

.smarty-style-4 {
    line-height: 31px;
}

.smarty-style-5 {
    height: 31px;
}

.smarty-style-6 {
    display: none;
}

.smarty-style-7 {
    background-color: red;
    color: white;
    font-weight: bold;
    display: none;
    padding: 20px;
}

.smarty-style-8 {
    color: red
}

.smarty-style-9 {
    font-size: 1.5em
}

.smarty-style-10 {
    text-align: center;
}

.footerMasterKey {
    width: 100%;
}

#stage1uwagi {
    padding: 11px;
}

#stage1confirm,
#stage2back,
#stage2confirm,
#stage3confirm,
#stage3back {
    float: right;
    margin-right: 0px;
    margin-left: 15px;
}

#stage2error,
#stage2error,
#stage3error {
    background-color: red;
    color: white;
    font-weight: bold;
    display: none;
    padding: 20px;
}

.footerMasterKey {
    width: auto;
    padding-right: 0px;
    margin-right: -15px;
}

@media (max-width: 768px) {
    .tableOverflow {
        width: 100%;
        overflow-x: scroll;
        float: left;
    }
    .tableOverflow table {
        min-width: 800px;
    }
    .footerMasterKey>div {
        margin-bottom: 15px;
    }
    .footerMasterKey .btn,
    #stage3 .btn {
        width: 100%;
        float: right;
        margin-bottom: 15px;
    }
}