.altaadresa input[type="checkbox"] {
    position: relative;
    width: 40px;
    height: 20px;
    -webkit-appearance: none;
    background: #c6c6c6;
    outline: none;
    border-radius: 50px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}
.altaadresa input:checked[type="checkbox"] {
    background: #6699ff;
}
.altaadresa input[type="checkbox"]:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    top: 0;
    left: 0;
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}
.altaadresa input:checked[type="checkbox"]:before {
    left: 20px;
}

.altaadresa p {
    position: absolute;
    margin-top: -21px;
    margin-left: 50px;
}

#altaadresa {
    cursor: pointer;
}

.altaadresa {
    margin-top: 30px;
    margin-bottom: 30px;
}
.generalorderdiv {
    text-align: left;
    width: 82%;
    top: 0;
    height: 1400px;
    right: 0;
    position: absolute;
    padding: 70px 20px;
}

.generalorderdiv h2 {
    color: #28a0b0;
    font-size: 18px;
    text-align: left;
}

.generalorderdiv .pozitieinput {
    margin-left: 0;
    transform: unset;
    margin-top: 15px;
}

.paginaorder {
    min-height: 1300px;
    height: 100%;
}
.steps-form {
    max-width: 500px;
    margin: 0 auto;
}

label,
input {
    display: block;
}

.steps-box {
}
.buttonsimplu {
    color: black;
    border: 1px solid #949494;
    padding: 3px;
    font-weight: 400;
    border-radius: 3px;
    background-image: linear-gradient(#fff, #ccc);
    margin-bottom: 20px;
    margin-top: 20px;
    width: 240px;
    margin-left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.buttonsimplu:hover {
    background-image: linear-gradient(#ccc, #fff);
}
.invoicesec {
    background: #f7f7f7;
    position: relative;
    width: 18%;
    height: 100%;
    text-align: center;
    float: left;
    top: 0;
    border: 1px solid #ccc;
    left: 0;
    padding: 70px 20px;
}
.invoicesec h5 {
    background: #5e5e5e;
    font-size: 18px;
    color: #fff;
    padding: 10px;
    margin-top: 20px;
}

.invoicesec h4 {
    display: block;
    font-size: 18px;
    color: #28a0b0;
}

.cardordercontent {
    display: block;
    width: 100%;
    text-align: left;
}

.invoicesec img {
    width: 120px;
    margin-left: 50%;
    transform: translateX(-50%);
}
.invoicesec p {
    font-weight: 400;
    color: #000;
    margin-bottom: -5px;
}
.invoicesec pret {
    float: right;
}

.invoicesec .separator {
    border: 1px dashed rgba(0, 23, 25, 0.3);
    margin-top: 20px;
    margin-bottom: 20px;
}

.paymentinfo {
    width: 450px;
    text-align: center;
    border: 1px solid #ccc;
    padding: 20px;
    margin-left: 750px;
    margin-top: -550px;
    box-shadow: 0 0 17px rgba(0, 0, 0, 0.3);
    padding-top: 15px;
}

.paymentinfo .pozitieinput {
    margin-left: 20px;
    margin-right: 20px;
    width: 150px !important;
    display: inline-block !important;
    transform: none;
}

.shippinginfo .pozitieinput {
    margin-left: 20px;
    margin-right: 20px;
    width: 150px !important;
    display: inline-block !important;
    transform: none;
}

.fieldsrequired {
    font-weight: 900 !important;
    position: relative;
    width: 150px;
    text-align: left;
    margin-left: 0px;
    color: red;
    margin-top: 5px;
    display: block;
    height: auto;
}
.shippinginfo {
    width: 450px;
    border: 1px solid #ccc;
    padding: 20px;
    margin-left: 750px;
    margin-top: 100px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 0 17px rgba(0, 0, 0, 0.3);
}

.shippinginfo h2 {
    color: #28a0b0;
    font-size: 20px;
    text-align: center;
}

.generalorderdiv .g-recaptcha {
    margin-left: 0;
    transform: unset;
}

@media only screen and (max-width: 1024px) {
    .generalorderdiv {
        text-align: center;
        width: 90%;
        min-height: 1400px;
        height: auto;
        right: 0;
        margin-left: 50%;
        padding: 70px 20px;
        position: relative;
        transform: translateX(-50%);
    }
    .generalorderdiv .pozitieinput {
        margin-left: 50%;
        transform: translateX(-50%);
        margin-top: 15px;
    }

    .altaadresa input[type="checkbox"] {
        transform: translateX(-300%);
        margin-left: 50%;
    }

    .generalorderdiv .g-recaptcha {
        text-align: center;
        margin-left: 50%;
        transform: translateX(-50%);
        width: 300px;
        margin-bottom: 20px;
    }
    .altaadresa p {
        position: absolute;
        margin-top: -21px;
        margin-left: 50%;
        transform: translateX(-50%);
    }
    .invoicesec {
        position: unset;
        box-shadow: 0 0 17px rgba(0, 0, 0, 0.3);
        width: 90%;
        height: auto;
        text-align: left;
        margin-top: 70px;
        right: unset;
        display: block;
        margin-left: 50%;
        transform: translateX(-50%);
        padding: 20px;
        margin-bottom: 50px;
    }
    .generalorderdiv h2 {
        text-align: center;
    }

    .cardordercontent {
        margin-top: -10px;
        text-align: left;
    }
    .preductpreview {
        display: none;
    }
    .paymentinfo {
        margin-top: 150px;
    }
    .invoicesec h5 {
        position: relative;
        width: auto;
        text-align: left;
        bottom: unset;
        margin-bottom: -30px;
        padding-left: 5%;
    }
    .pretcard {
        width: 100%;
        display: block;
        height: 50px;
    }
    .pretshipping {
        width: 100%;
        height: 50px;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
        display: block;
    }
    .prettotal {
        width: 100%;
        display: block;
        right: 0;
        text-align: center;
        margin: 0;
        position: relative;
        height: auto;
    }
    .invoicesec pret {
        float: right;
        margin-right: 5%;
        position: relative;
    }
    .invoicesec p {
        text-align: left;
        padding-left: 5%;
    }
    .fieldsrequired {
        width: 100%;
        text-align: center;
    }
    .paginaorder {
        height: auto;
    }
}
