.ratecard-1 * {
    box-sizing: border-box;
}

.ratecard-1 .header {
    background-color: #327a81;
    color: white;
    font-size: 1.5em;
    padding: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.ratecard-1 img {
    border-radius: 50%;
    height: 60px;
    width: 60px;
}

.ratecard-1 .table-users {
    border: 1px solid #327a81;
    border-radius: 10px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
    max-width: calc(100% - 2em);
    margin: 1em auto;
    overflow: hidden;
    width: 800px;
}

.ratecard-1 table {
    width: 100%;
    text-align: center !important;
}

.ratecard-1 table td,
.ratecard-1 table th {
    color: #2b686e;
    padding: 10px;
    text-align: center !important;
}

.ratecard-1 table td {
    text-align: center;
    vertical-align: middle;
}

.ratecard-1 table td:last-child {
    font-size: 0.95em;
    line-height: 1.4;
    text-align: left;
}

.ratecard-1 table th {
    background-color: #daeff1;
    font-weight: 300;
}

.ratecard-1 table tr:nth-child(2n) {
    background-color: white;
}

.ratecard-1 table tr:nth-child(2n+1) {
    background-color: #edf7f8;
}

@media screen and (max-width: 500px) {

    .ratecard-1 table,
    .ratecard-1 tr,
    .ratecard-1 td {
        display: inline-block;
    }

    .ratecard-1 td:first-child {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100px;
    }

    .ratecard-1 td:not(:first-child) {
        clear: both;
        margin-left: 100px;
        padding: 4px 20px 4px 90px;
        position: relative;
        text-align: left;
    }

    .ratecard-1 td:not(:first-child):before {
        color: #91ced4;
        content: '';
        display: block;
        left: 0;
        position: absolute;
    }

    .ratecard-1 td:nth-child(1):before {
        content: 'Travel Dates: ';
    }

    .ratecard-1 td:nth-child(2):before {
        content: 'Min. Stay:';
    }

    .ratecard-1 td:nth-child(3):before {
        content: 'Rates:';
    }

    .ratecard-1 tr {
        padding: 10px 0;
        position: relative;
    }

    .ratecard-1 tr:first-child {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .ratecard-1 .header {
        background-color: transparent;
        color: #fff;
        font-size: 2em;
        font-weight: 700;
        padding: 0;
        text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
    }

    .ratecard-1 img {
        border: 3px solid;
        border-color: #daeff1;
        height: 100px;
        margin: 0.5rem 0;
        width: 100px;
    }

    .ratecard-1 td:first-child {
        background-color: #c8e7ea;
        border-bottom: 1px solid #91ced4;
        border-radius: 10px 10px 0 0;
        position: relative;
        top: 0;
        transform: translateY(0);
        width: 100%;
    }

    .ratecard-1 td:not(:first-child) {
        margin: 0;
        padding: 5px 1em;
        width: 100%;
    }

    .ratecard-1 td:not(:first-child):before {
        font-size: 0.8em;
        padding-top: 0.3em;
        position: relative;
    }

    .ratecard-1 td:last-child {
        padding-bottom: 1rem !important;
    }

    .ratecard-1 tr {
        background-color: white !important;
        border: 1px solid #6cbec6;
        border-radius: 10px;
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
        margin: 0.5rem 0;
        padding: 0;
    }

    .ratecard-1 .table-users {
        border: none;
        box-shadow: none;
        overflow: visible;
    }
}