#mobile-vihicle-type, div#truck .mobile-table, div#bus .mobile-table {
    visibility: hidden;
    display: none;
}

ul#vihicle-type {
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

ul#vihicle-type li {
    display: inline-block;
    list-style-type: none;
    text-align: center;
    width: 25%;
}

ul#vihicle-type li img {
    cursor: pointer;
    opacity: 0.7;
}

ul#vihicle-type li img:hover {
    opacity: 1;
}

ul#vihicle-type li.selected img {
    cursor: default;
    opacity: 1;
}

ul#vihicle-type li div {
    padding: 15px 0 20px;
}

ul#vihicle-type li a {
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px dotted;
    font-size: 16px;
    font-weight: bold;
    color: #016dab;
}

ul#vihicle-type li.selected div {
    background-color: #f4f0e7;
}

ul#vihicle-type li.selected a {
    cursor: default;
    border-bottom: none;
}

div#auto, div#truck, div#bus, div#machinary {
    background-color: #f4f0e7;
    margin-bottom: 40px;
}

div#auto, div#truck, div#bus {
    padding: 35px 8% 25px;
}

div#machinary {
    padding: 25px 10% 10px;
}

div#auto #tax div {
    display: inline-block;
    vertical-align: text-top;
    line-height: 39px;
    padding-right: 1.5%;
}

div#auto #tax div small {
    display: block;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1em;
    font-style: italic;
    color: #a8a59e;
}

div#auto #tax div input#text {
    width: 125px;
    height: 39px;
    border: solid 1px #a8a59e;
    border-radius: 1px;
    vertical-align: middle;
}

div#auto #tax div input#button {
    width: 113px;
    height: 38px;
    border: none;
    padding: 0 3%;
    background: none;
    border-radius: 5px;
    background-color: #006dab;
    color: #fff;
    font-size: 14px;
}

div#auto #tax div input#button:hover {
    background-color: #177ab3;
}

div#auto #tax div#auto_text {
    display: block;
    font-weight: normal;
    vertical-align: middle;
    margin-top: 14px;
    margin-left: 7.5%; /*80px;*/
}

div#auto #tax div#auto_text span {
    display: inline-block;
    font-size: 25px;
    font-weight: normal;
    vertical-align: middle;
    margin-bottom: 3px;
    margin-left: 9px;
}

div#truck table, div#bus table {
    margin: 22px auto 12px;
    width: 100%;
}

div#truck, div#bus, div#truck td, div#bus td {
    text-align: center;
}

div#truck td, div#bus td {
    border-right: 1px solid #adadad;
    line-height: 2.25em;
    padding: 4px 4%;
}

div#truck td:first-child, div#bus td:first-child {
    padding-left: 0;
}

div#truck td:last-child, div#bus td:last-child {
    border-right: none;
    padding-right: 0;
}

div#truck td div.sum, div#bus td div.sum {
    font-size: 18px;
}

div#machinary table {
    width: 100%;
    max-width: 100%;
    margin: 0;
    line-height: 1.6em;
}

div#machinary table td {
    vertical-align: middle;
    padding: 12px 0;
}

div#machinary table td:first-child {
    width: 80%;
    padding-right: 2%;
}

div#machinary table td:first-child[colspan="2"] {
    width: 80%;
    padding-right: 0;
}

div#machinary table td:last-child {
    width: 20%;
}

div#machinary table.inner-table {
    margin-top: 10px;
}

div#machinary table.inner-table tr td {
    padding: 8px 0;
}

div#machinary table.inner-table tr td:first-child {
    padding-left: 25px;
    padding-right: 2%;
}

article .entry-content table.example-table tr td:first-child {
    padding: 20px 5% 20px 0;
}

article .entry-content table.example-table tr td:last-child {
    font-size: 1.8em;
    vertical-align: middle;
    width: 52%;
    padding-left: 3%;
    text-align: center;
}

article .entry-content table.example-table ol {
    margin: 0;
    -webkit-padding-start: 1.2em;
}

span.td-left {
    display: inline-block;
    width: 70%;
}

.tax-title {
    font-weight: bold;
}

@media screen and (max-width: 450px) {
    html, body {
        height: 100%;
    }

    #primary {
        height: 100%;
        background: #f2f2f3;
    }

    .description-content {
        display: none;
        visibility: hidden;
    }

    header {
        margin-bottom: 8px;
        overflow: hidden;
        background: #fff;
    }

    .tax-title {
        text-align: left;
        font-size: 1.125rem;
        font-weight: 600;
        line-height: 1.75rem;
    }

    .tax-calculator {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        padding: 16px 16px 0 16px;
        background: #fff;
        -webkit-box-shadow: 0 2px 10px 0 rgb(28 24 25 / 10%);
        box-shadow: 0 2px 10px 0 rgb(28 24 25 / 10%);
    }

    div#auto #tax div {
        display: block;
        font-size: 14px;
        line-height: 24px;
        color: #1c1819;
    }

    div#auto, div#truck, div#bus, div#machinary {
        background: none;
        padding: 0;
        margin: 0;
    }

    #vihicle-type {
        visibility: hidden;
        display: none;
    }

    #mobile-vihicle-type {
        visibility: visible;
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    #mobile-vihicle-type > div {
        width: 100%;
        border: 1px solid rgba(28, 24, 25, .2);
        -webkit-border-radius: 3px;
        border-radius: 3px;
        overflow: hidden;
        height: 44px;
        background: url(images/select-arrow.png) no-repeat 95% 19px #fff;
    }

    table tr:not(:last-child) {
        border-bottom: 1px solid rgba(28, 24, 25, .1);
    }

    table td {
        border: none !important;
    }

    table td:first-child {
        width: 55%;
        padding-right: 5%;
    }

    table > td:last-child, table > td table > td:last-child {
        text-align: center;
    }

    table.inner-table tr td:first-child {
        padding-left: 0 !important;
    }

    span.td-left {
        width: 100%;
    }

    div#truck table, div#bus table {
        visibility: hidden;
        display: none;
    }

    div#truck .mobile-table, div#bus .mobile-table {
        visibility: visible;
        display: table;
    }

    #mobile-vihicle-type select {
        background: transparent;
        background: rgba(0, 0, 0, 0);
        -webkit-appearance: none;
        border: 0;
        border-radius: 0;
        outline: 0;
        height: 43px;
        padding: 2px 17px 0;
        font-size: 16px;
        width: 100%;
        cursor: pointer;
    }

    .tax-calculator div#auto #tax .input-group {
        display: block;
        position: relative;
        margin-bottom: 16px;
    }

    .tax-calculator div#auto #tax .input-group small {
        position: absolute;
        right: 10px;
        top: 12px;
        font-size: 16px;
        font-style: normal;
        color: #888b94;
    }

    .tax-calculator div#auto #tax .input-group input#text {
        border: 1px solid rgba(28, 24, 25, .2);
        -webkit-border-radius: 3px;
        border-radius: 3px;
        padding: 0 16px;
        width: 100%;
        font-size: 16px;
        height: 44px;
        -webkit-appearance: none;
        appearance: none;
        margin-top: 4px;
    }

    .tax-calculator div#auto #tax .input-group input#button {
        background-color: #2a81dd;
        -webkit-box-shadow: 0 2px 10px 0 rgb(28 24 25 / 10%);
        box-shadow: 0 2px 10px 0 rgb(28 24 25 / 10%);
        -webkit-border-radius: 3px;
        border-radius: 3px;
        border: 1px solid rgba(28, 24, 25, .1);
        color: #fff;
        height: 44px;
        width: 100%;
        padding: 0 10px;
        -webkit-transition: background-color .2s ease;
        transition: background-color .2s ease;
        -webkit-appearance: none;
        appearance: none;
        font-size: 16px;
        outline: none;
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
    }

    div#auto #tax div#auto_text {
        margin: 0;
        padding-bottom: 16px;
        font-size: 16px;
    }

    div#auto #tax div#auto_text strong {
        display: block;
        padding: 8px 0;
    }

    div#auto #tax div#auto_text > br {
        display: none;
    }
}
