﻿.res-demo-offer {
    max-width: 1200px;
    margin: auto;
}

.res-demo-title {
    display: flex;
    justify-content: center;
    margin: 40px auto 20px auto;
    align-items: center;
}

    .res-demo-title > span {
        display: block;
        width: 25px;
        height: 2px;
    }

        .res-demo-title > span:last-child {
            background-image: linear-gradient(to right, white, #e10a10);
        }

        .res-demo-title > span:first-child {
            background-image: linear-gradient(to left, white, #e10a10);
        }

    .res-demo-title > h1 {
        font-size: 13px;
        margin: auto 10px;
    }

.res-demo-offer p {
    text-align: center;
    margin: 20px auto;
    font-size: 10px;
}

.res-demo-offer table,
.res-demo-form {
    margin: 30px auto;
    width: 95%;
}

.res-demo-form {
    padding-bottom: 30px;
}

.res-demo-offer tr {
    display: flex;
}

    .res-demo-offer tr:last-child > th {
        font-weight: normal;
    }

    .res-demo-offer tr > th:first-child > span {
        background-image: linear-gradient(to bottom right, white, #016986);
        display: flex;
        width: 100%;
        justify-content: space-between;
        padding: 0 3px;
        align-items: center;
    }

    .res-demo-offer tr > th:nth-child(2) span {
        /* background-color: #bc7c7a; */
        background-image: linear-gradient(to bottom right, white, #cd7f32);
    }

    .res-demo-offer tr > th:nth-child(3) span {
        /* background-color: #b8b9bb; */
        background-image: linear-gradient(to bottom right, white, #c0c0c0);
    }

    .res-demo-offer tr > th:last-child span {
        /* background-color: #e8ba6c; */
        background-image: linear-gradient(to bottom right, white, #ffd700);
    }

    .res-demo-offer tr > th:first-child,
    .res-demo-offer tr > td:first-child {
        width: 40%;
    }

    .res-demo-offer tr > th,
    .res-demo-offer tr > td {
        width: 20%;
        display: inline-block;
        font-size: 10px;
        text-align: center;
        padding: 7px 0;
        background-image: linear-gradient(to bottom right, white, #e4e1e1);
    }

    .res-demo-offer tr > th {
        background-image: none;
    }

.res-demo-offer th > span {
    width: 90%;
    display: flex;
    padding: 5px 0;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin: auto;
    color: rgb(36, 36, 36);
    min-height: 40px;
}

.res-demo-offer td > span {
    background-color: #56cfa1;
    color: white;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    font-size: 10px;
}

.res-demo-form {
    box-shadow: 0 0px 5px 1px rgba(166, 166, 166, 0.82);
    border-radius: 10px;
}

.res-demo-group {
    padding: 10px;
    display: inline-block;
    width: 100%;
}

    .res-demo-group > label {
        display: block;
        margin: 5px auto;
        font-size: 11px;
    }

    .res-demo-group > input {
        display: block;
        width: 100%;
        border: 1px solid lightgray;
        padding: 5px;
        outline: none;
        border-radius: 5px;
        color: black;
        background-color: #f2f2f3;
    }


    .res-demo-group > span {
        display: block;
        margin: 10px auto;
        font-size: 11px;
        color: red;
        text-align: center
    }

.res-demo-img {
    width: 60%;
    margin: 30px auto 0;
}

    .res-demo-img > img {
        width: 100%;
    }



.res-demo-btn {
    margin: 20px auto auto;
    border: none !important;
    background-color: #00485b !important;
    color: white !important;
    cursor: pointer;
    font-size: 16px !important
}

    .res-demo-btn:hover {
        opacity: 0.6;
    }



/* media query *********************************************** */

@media screen and (min-width: 375px) {
    .res-demo-title > h1 {
        font-size: 14px;
    }

    .res-demo-offer p {
        font-size: 12px;
    }

    .res-demo-offer tr > th,
    .res-demo-offer tr > td {
        /*font-size: 11px;*/
        display: flex
    }

    .res-demo-group > label {
        display: block;
        margin: 5px auto;
        font-size: 12px;
    }
}

@media screen and (min-width: 480px) {
    .res-demo-title > h1 {
        font-size: 15px;
    }

    .res-demo-title > span {
        width: 35px;
        height: 2.5px;
    }

    .res-demo-offer p {
        font-size: 12px;
    }

    .res-demo-offer tr > th,
    .res-demo-offer tr > td {
        font-size: 12px;
        padding: 9px 0;
    }

    .res-demo-offer td > span {
        width: 19px;
        height: 19px;
        font-size: 11px;
    }

    .res-demo-img {
        width: 50%;
    }
}

@media screen and (min-width: 600px) {
    .res-demo-title > span {
        width: 45px;
        height: 3px;
    }

    .res-demo-title > h1 {
        font-size: 16px;
        margin: auto 15px;
    }

    .res-demo-offer tr > th,
    .res-demo-offer tr > td {
        font-size: 13px;
    }
}

@media screen and (min-width: 768px) {
    .res-demo-title > span {
        width: 50px;
        height: 4px;
    }

    .res-demo-title > h1 {
        font-size: 17px;
    }

    .res-demo-offer p {
        font-size: 13px;
    }

    .res-demo-offer table {
        margin: 50px auto;
        width: 80%;
    }

    .res-demo-offer tr > th,
    .res-demo-offer tr > td {
        font-size: 14px;
        padding: 10px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .res-demo-offer td > span {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .res-demo-group > label {
        font-size: 13px;
    }

    .res-demo-img {
        width: 40%;
    }
}

@media screen and (min-width: 992px) {
    .res-demo-title > span {
        width: 60px;
        height: 5px;
    }

    .res-demo-title > h1 {
        font-size: 18px;
    }

    .res-demo-offer p {
        margin: 30px auto;
        font-size: 14px;
    }

    .res-demo-offer td > span {
        width: 22px;
        height: 22px;
        font-size: 13px;
    }

    .res-demo-group {
        width: 49%;
        margin: 10px auto;
    }

        .res-demo-group > label {
            font-size: 14px;
        }
}

@media screen and (min-width: 1200px) {
    .res-demo-form {
        margin: 50px auto;
        width: 80%;
    }

    .res-demo-group input,
    .res-demo-group select,
    .res-demo-group select:focus {
        font-size: 16px !important;
    }

    .res-demo-img {
        width: 30%;
    }
}



.with-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 3px;
}

    .with-price > span {
        text-align: start
    }


/*.res-demo-offer td > div > span {
        display: block;
        margin-bottom: 5px;
    */
}
