/* Shared with the listing filters; period is set by the server in Vietnam time. */
:root {
    --site-accent: #d32e2e;
    --site-on-accent: #fff;
    --site-accent-hover: #b52323;
    --site-accent-text: #b52323;
    --site-tint: #fff1f1;
    --site-tint-border: #efc4c4;
    --site-focus: #d32e2e;
}

body[data-theme="night"] {
    --site-accent: #4bb087;
    --site-on-accent: #102f23;
    --site-accent-hover: #3c9c75;
    --site-accent-text: #176648;
    --site-tint: #edf8f1;
    --site-tint-border: #bedfcd;
    --site-focus: #176648;
}

* {
    margin: 0;
    padding: 0;

}

html, body {
    height: 100%;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

a, a:visited, a:hover, a:active {
    color: inherit;
}

.container {
    background-color: #E9EBEE;
    width: 100%;
    max-width: 1280px;
    margin: auto;
    min-height: 100%;
    overflow: hidden;
}

body.morning {
    background: url('../images/bg-morning.jpg') center no-repeat fixed;
    background-size: cover;
}

body.night {
    background: url('../images/bg-night.jpg') center no-repeat fixed;
    background-size: cover;
}

body.bg-pattern {
    /*background: url('../images/bg-pattern.png') center  fixed;*/
    /*background: linear-gradient(#b5122d, #f16efa) center no-repeat fixed;*/
    /*background: linear-gradient(120deg, #e39b59 0%, #3c62b5 100%) fixed;*/
    background: #076585 fixed; /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #076585, #fff) fixed; /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #076585, #fff) fixed; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.morning, .reverse-night {
    background: #d32e2e;
}

.night, .reverse-morning {
    background: #4BB087;
}

span.morning, span.reverse-night {
    background: transparent;
    color: #d32e2e;
    font-weight: bold;
}

span.night, span.reverse-morning {
    background: transparent;
    color: #4BB087;
    font-weight: bold;
}

.home .mobile {
    display: none;
    font-size: 24px;
}

.btn-menu-mobile {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    border: 1px solid #ffffff;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 28px;
    border-radius: 2px;
    display: none;
}
nav {
    position: relative;
}
nav .parent-menu {
    width: 100%;
    /*background: #3f3f3f;*/
    position: relative;
}

nav ul li {
    list-style-type: none;
    display: inline-block;
}

nav .home {
    float: left;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 16px;
    display: block;
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    font-weight: 500;
    padding-left: 180px;
}

nav ul li.parent > *:first-child {
    text-transform: uppercase;
    color: #ffffff;
    font-size: calc(13px + 0.2vw);
    display: block;
    padding: 10px 1vw;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-weight: 500;
}

nav ul li.parent.morning:hover > *:first-child, .home.morning:hover {
    background: #4BB087;
    transition: 0.3s;
}

nav ul li.parent.night:hover > *:first-child, .home.night:hover {
    background: #d32e2e;
    transition: 0.3s;
}

nav ul li.parent .child-block {
    display: none;
    position: absolute;
    left: 0;
    width: calc(100% - 20px);
    padding: 5px 10px;
    background: #ffffff;
    z-index: 9;
    overflow: hidden;
    min-height: 300px;
}

nav ul li.parent .child-block.action-morning {
    border-bottom: 2px solid #d32e2e;
}

nav ul li.parent .child-block.action-night {
    border-bottom: 2px solid #4BB087;
}

nav ul li.parent .child-block hr {
    color: #939393;
    display: block;
    margin: 0.5em auto;
    border-style: inset;
    border-width: 1px;
}

nav ul li.parent .child-block div span {
    padding: 10px 0;
    display: block;
    font-size: 16px;
    font-weight: bold;
}

nav ul li.parent .child-block div:nth-of-type(1) {
    float: left;
    width: 180px;
}

nav ul li.parent .child-block div:nth-of-type(1) li {
    float: left;
    width: 100%;
}

nav ul li.parent .child-block div:nth-of-type(2) {
    overflow: hidden;
}

nav ul li.parent .child-block div:nth-of-type(2) li {
    float: left;
    width: 20%;
}

nav .child {
    padding: 5px 0;
    font-size: 14px;
}

nav ul li.parent:hover .child-block {
    display: block;
}

nav ul li.parent:hover .child-block a {
    color: #939393;
    font-weight: 500;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;

}

nav ul li.parent:hover .child-block a:hover {
    color: #d32e2e;
    text-shadow: none;
    transition: 0.3s;
}

.banner {
    height: 180px;
    position: relative;
    background-size: 100% 180px;
}

.banner > .banner-main-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.banner .logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner .logo {
    width: 160px;
    height: 160px;
    border: 1px solid #7c7c7c;
    background: #ffffff;
    border-radius: 3px;
    padding: 4px;
    position: absolute;
    left: 20px;
    top: 30px;
    z-index: 20;
}


.sidebar {
    float: right;
    width: 300px;
    height: 100%;
    padding: 10px 10px 0 0;
}

.sidebar ul li {
    list-style-type: none;
    font-size: 14px;
    height: 26px;
}

.sidebar ul li a {
    color: #000000;
}

.sidebar ul li a:hover, .sidebar ul li.active a {
    font-weight: 600;
    transition: 0.3s;
}

.content {
    overflow: hidden;
    padding: 10px 10px 0 10px;
}

.block {
    background: #ffffff;
    margin-bottom: 10px;
    border-radius: 2px;
    overflow: hidden;
}

.block-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 0 6px 0;
    color: #ffffff;
    text-shadow: none;
    position: relative;
    border-radius: 0 0 2px 2px;
}

.block-title:before, .block-title:after {
    content: '';
    height: 100%;
    background: #ffffff;
    position: absolute;
    top: 0;
    -webkit-transform: skew(-25deg);
    -moz-transform: skew(-25deg);
    -ms-transform: skew(-25deg);
    -o-transform: skew(-25deg);
    transform: skew(-25deg);
    z-index: 1;
}

.block-title:before {
    width: 8px;
    left: 15px;
}

.block-title:after {
    width: 4px;
    left: 27px;
}

.block-content {
    padding: 10px;
}

.back-top {
    position: fixed;
    bottom: 10px;
    right: 20px;
    cursor: pointer;
    border-radius: 2px;
    z-index: 2;
}

.back-top img {
    display: block;
    width: 40px;
    height: 40px;
}

/* *** table *** */
.table {
    width: 100%;
}

.table .tr {
    width: 100%;
    overflow: hidden;
}

.table .td {
    float: left;
}

.table-sim {
    border: 1px solid #F9F9F9;
    overflow: hidden;
}

.table-sim .td {
    width: calc(20% - 10px);
    text-align: center;
    padding: 5px;

}

.table-sim .td:first-child {
    text-align: left;
}

.table-sim .td:last-child {
    text-align: right;
}

.table-sim .tr:first-child .td {
    font-weight: bold;
    color: #FFF;
}

.table-sim .tr:not(:first-child) .td {
    height: 35px;
    padding: 0 5px;
}

.table-sim .tr:not(:first-child):nth-child(odd) {
    background: #F9F9F9
}

.table-sim .tr:not(:first-child):hover {
    background: #fff8c4;
    transition: 0.3s;
}

.table-sim .btn-cart {
    border-radius: 2px;
    display: inline-block;
    color: #FFFFFF;
    width: 50px;
    text-align: center;
    padding: 5px;
    margin: 4px 0;
    cursor: pointer;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.table-sim .btn-cart:hover {
    background: #3F3F3F;
    transition: 0.3s;
}

.table-sim .number {
    font-size: 18px;
    font-weight: 700;
    color: #D32E2E;
    line-height: 38px;
}

.table-sim .cost, .table-sim .tr:not(:first-child) .td.point {
    font-weight: 700;
    font-size: 14px;
    line-height: 38px;
    color: #000;
}

.table-sim .network img {
    height: 16px;
    margin-top: 10px;
}

.pagination-block {
    text-align: right;
    margin-top: 5px;
}

.pagination {
    overflow: hidden;
    float: right;
}

.pagination li {
    display: inline-block;
    font-size: 14px;
    min-width: 20px;
    border-radius: 2px;
    background: #E9EBEE;
    padding: 6px 2px 3px 3px;
    margin-right: 5px;
    text-align: center;

}

.pagination-block.action-morning .pagination li.active, .pagination-list.action-morning .pagination li.active {
    background: #d32e2e;
}

.pagination-block.action-night .pagination li.active, .pagination-list.action-night .pagination li.active {
    background: #4BB087;
}

.pagination li a {
    display: block;
    text-decoration: none;
    color: #000000;
}

.pagination li.active a {
    color: #ffffff;
}

/* *** end table *** */

.search-sim {
    overflow: hidden;
}

.tip {
    float: right;
    width: 40%;
}

.tip ul {
    max-width: 400px;
    font-size: 13px;
    text-align: left;
    margin: 0 auto;
    padding-left: 20px;
}

.tip ul li {
    margin: 5px 0;
}

.search {
    overflow: hidden;
}

.simple-input {
    width: 100%;
    margin-top: 5px;
    font-size: 14px;
}

.simple-input input {
    float: left;
    border-radius: 2px 0 0 2px;
    width: calc(100% - 30px);
    border: 1px solid #E9EBEE;
    border-right: none;
    box-sizing: border-box;
    height: 30px;
    padding: 5px 10px;
    outline: none;
}

.simple-input button {
    border: none;
    border-radius: 0 2px 2px 0;
    color: #ffffff;
    text-align: center;
    width: 30px;
    height: 30px;
    float: left;
    box-sizing: border-box;
}

.advance-input > * {
    margin-top: 10px;
    float: left;
}

.advance-input .cost-from-to, .advance-input .select-left {
    width: calc(50% - 5px);

}

.advance-input .cost-from-to {

    width: 100%;
}

.advance-input .select-left {

    width: calc(50% - 5px);
    margin-right: 5px;
}

.advance-input .select-right {
    margin-left: 5px;
    width: calc(50% - 5px);
}

.advance-input .cost-from-to label {
    border-radius: 2px 0 0 2px;
    color: #ffffff;
    text-align: center;
    width: 50px;
    height: 30px;
    line-height: 30px;
    float: left;
    box-sizing: border-box;
    font-size: 12px;
}

.advance-input .cost-from, .advance-input .cost-to {
    width: calc(50% - 5px);
    float: left;
}

.advance-input .cost-from {
    margin-right: 5px;
}

.advance-input .cost-to {
    margin-left: 5px;
}

.advance-input .cost-from-to input {
    float: left;
    border-radius: 0 2px 2px 0;
    width: calc(100% - 50px);
    border: 1px solid #E9EBEE;
    border-left: none;
    box-sizing: border-box;
    height: 30px;
    padding: 5px 10px;
    outline: none;
}

.advance-input select {
    border-radius: 2px;
    width: 100%;
    border: 1px solid #E9EBEE;
    box-sizing: border-box;
    height: 30px;
    padding: 5px 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #ffffff;
    color: #202b33;
    text-shadow: none;
    outline: none;

    background: url('../images/arrowdown.gif') no-repeat;
    background-position: 98% center;
}

.advance-input select option {
    padding: 5px;
    color: #000000;
}

.advance-input .except-number label {
    border-radius: 2px 0 0 2px;
    color: #ffffff;
    text-align: center;
    width: 130px;
    height: 30px;
    line-height: 30px;
    float: left;
    box-sizing: border-box;
    font-size: 12px;
}

.advance-input .except-number {
    font-size: 12px;
    width: 100%;
    border: 1px solid #E9EBEE;
    border-radius: 0 2px 2px 0;
    box-sizing: border-box;
}

.fb-page {
    margin-bottom: 10px;
    border-radius: 2px;
    overflow: hidden;
}

footer {
    clear: both;
    padding: 10px;
    background: #000000;
    overflow: hidden;
}

.info, .google-map {
    float: left;
    padding: 10px 0;
    min-height: 100px;
    box-sizing: border-box;
}

.info {
    width: 60%;
    color: #E9EBEE;
}

.info .fa {
    font-size: 20px;
    display: inline-block;
    width: 30px;
}

.google-map {
    width: 40%;
    height: 300px;
}

.info ul li, .info ul {
    list-style-type: none;
    margin-top: 5px;
    font-size: 13px;
}

.info ul li i {
    font-weight: bold;
}

.google-map .map_notice {
    max-width: 300px;
}

.google-map .map_notice h4 {
    text-transform: uppercase;
    margin-bottom: 5px;
}

.google-map .map_notice strong {
    font-weight: bold;
}

.google-map .map_notice a {
    text-decoration: underline;
    color: #286596;
}

.advance-input .except-number .checkbox-inline {
    margin: 10px 0 0 15px;
    display: inline-block;
}

.order {
    overflow: hidden;
}

.order .number-info {
    width: calc(60% - 10px);
    float: left;
    margin: 5px;
}

.order .number-info div {
    height: 40px;
    line-height: 40px;
}

.order .number-info div span {
    float: left;
    width: 100px;
}

.order .number-info div h1 {
    color: #D32E2E;
}

.order .number-info div img {
    margin-top: 5px;
}

.order .number-info .network-logo {
    display: inline-block;
    width: auto;
    max-width: 110px;
    height: 30px;
    object-fit: contain;
    vertical-align: middle;
}

.order .number-guide {
    width: calc(40% - 10px);
    float: left;
    margin: 5px;
    font-size: 12px;
}

.order .number-guide p {
    font-size: 13px;
}

.order .number-guide ul {
    margin: 10px 0 0 20px;
}

.related {
    clear: both;
    margin-top: 20px;
}

.related h4 {
    font-weight: 300;
    font-size: 14px;
}

.related a {
    text-align: center;
    font-size: 13px;
    color: #4267B2;
    display: block;
    padding: 10px 0 5px 0;
}

.dash {
    font-size: 12px;
    text-align: center;
    clear: both;
    margin: 5px auto;
    font-weight: bold;
    max-width: 300px;
    position: relative;
    display: block;
}

.dash:after {
    position: absolute;
    content: '';
    background: #ffffff;
    width: 160px;
    margin: auto;
    left: 0;
    right: 0;
    top: 12px;
    border-bottom: 1px solid var(--site-accent);
    z-index: 1;
}

.dash span {
    color: var(--site-accent);
    background: #ffffff;
    display: inline-block;
    z-index: 3;
    padding: 5px;
    position: relative;
}

.order-form, .order-call, .order-guide {
    background: #f2f2f2;
    border-radius: 2px;

    max-width: 500px;
    margin: auto;
    padding: 10px;
}

.order-form p, .order-guide p {
    font-size: 13px;
    text-align: center;
}

.order-guide ul {
    margin: 10px 0;
}

.order-guide ul li {
    font-size: 12px;
    margin: 5px 0 0 10px;
}

.order-form label {
    width: 100%;
    font-size: 12px;
    display: block;
    margin: 10px 0 3px 0;
}

.order-form input, .order-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
    border-radius: 2px;
    border: 1px solid #E9EBEE;
    outline: none;
}

.order-form input::-webkit-outer-spin-button,
.order-form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.order-form input[type='number'] {
    -moz-appearance: textfield;
}

.order-form textarea {
    resize: vertical;
    min-height: 100px;
}

.order-form button {
    width: 100%;
    border-radius: 2px;
    text-align: center;
    padding: 5px;
    margin-top: 10px;
    border: 1px solid transparent;
    color: #ffffff;
    background: #4BB087;
    font-size: 14px;
    cursor: pointer;
}

.order-form button:hover {
    background: #d32e2e;
    transition: 0.3s;
}

.order-call p {
    font-size: 13px;
    text-align: center;
}

.order-call ul li {
    list-style-type: none;
    padding: 2px 0 2px 10%;
}

.hotline {
    color: var(--site-accent);
    font-weight: bold;
    font-size: 14px;
}

.hotline:hover {
    color: var(--site-accent-hover);
    transition: 0.3s;
}

.hotline:not(:last-child):after {
    content: ' - ';
    color: #ffffff;
}

.alert {
    font-size: 14px;
    padding: 5px 0;
}

.alert.alert-success {
    color: #4BB087;
}

.alert.alert-error, .alert.alert-danger {
    color: #d32e2e;
}

.btn-call-bot {
    position: fixed;
    bottom: 10px;
    left: 10px;
    display: block;
    height: 52px;
    text-align: center;
    background: #d32e2e;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
    z-index: 9999;
    padding-right: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .22);
}

.btn-call-bot a {
    display: block;
    height: 52px;
    text-decoration: none;
}

.btn-call-bot span {
    color: #fff;
    padding-right: 4px;
    font-weight: bold;
}

.btn-call-bot i {
    color: #ffffff;
    font-size: 1.5em;
    line-height: 40px;
    border: 2px solid #ffffff;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    width: 40px;
    margin: 4px 0 4px 4px;
    -webkit-animation: Rotate 1300ms linear 1300ms 5;
    animation: Rotate 1300ms linear 1300ms 5;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
}

.contact-social-bot {
    position: fixed;
    left: 10px;
    bottom: 72px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.contact-social-bot__item {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px 0 4px;
    border-radius: 24px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .22);
    -webkit-tap-highlight-color: transparent;
}

.contact-social-bot__item:hover,
.contact-social-bot__item:focus {
    color: #fff;
    text-decoration: none;
}

.contact-social-bot__item--zalo {
    background: #0068ff;
}

.contact-social-bot__item--facebook {
    background: #1877f2;
}

.contact-social-bot__item i {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin-right: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-size: 18px;
    box-sizing: border-box;
}

.contact-social-bot__zalo-logo {
    display: block;
    width: 36px;
    height: 36px;
    margin-right: 8px;
    flex: 0 0 36px;
}

.contact-social-bot__item span {
    color: #fff;
    white-space: nowrap;
}

@media only screen and (max-width: 640px) {
    .btn-call-bot {
        width: 52px;
        padding-right: 0;
        overflow: hidden;
    }

    .btn-call-bot span {
        display: none;
    }

    .btn-call-bot i {
        margin-right: 4px;
    }

    .contact-social-bot {
        bottom: 72px;
    }

    .contact-social-bot__item {
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 4px;
        box-sizing: border-box;
        justify-content: center;
    }

    .contact-social-bot__item i {
        margin: 0;
    }

    .contact-social-bot__zalo-logo {
        margin: 0;
    }


    .contact-social-bot__item span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

@media only screen and (max-height: 420px) and (orientation: landscape) {
    .contact-social-bot {
        left: 72px;
        bottom: 10px;
        flex-direction: row;
    }
}

/* tin tức */
.container-new {
    width: calc(100% - 20px);
    padding: 10px;
}

.read-news {
    width: calc(100% - 20px);
    padding: 10px;
}

.read-news .clear img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.read-news .article-body iframe[src*="youtube.com"],
.read-news .article-body iframe[src*="youtube-nocookie.com"] {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    margin: 12px auto;
}

.read-news .article-meta {
    margin: -4px 0 12px;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.read-news .article-meta time {
    white-space: nowrap;
}

.read-news .clear p {
    font-size: 13px;
    line-height: 18px;
    margin: 4px 0;
}

.header-title {
    font-size: 1.2em;
    position: relative;
    width: calc(100% - 10px);
    border-bottom: 5px solid #e1e1e1;
    /*border-left: 5px solid #e1e1e1;*/
    padding: 0 0 5px 5px;
    font-weight: 600;
    margin-bottom: 10px;
}

.container-new .container-new-item {
    width: 100%;
    border-bottom: 1px solid #e1e1e1;
    display: flex;
    padding: 10px 0;
}

.container-new .container-new-item a:hover {
    color: #2f92d4 !important;
}
.container-new .container-new-item {
    width: 100%;
    display: inline-block;
    border-bottom: none;
    height: auto;
    border-bottom: 1px solid #f0ebf2;
}

.container-new .container-new-item:last-child {
    border: none;
}

.container-new .container-new-item .left {
    float: left;
    max-width: 320px;
    margin-right: 5px;
    overflow: hidden;
    max-height: 180px;
    width: 35%;
    /*width: calc(100% + 10vw );*/
    /*height: calc(100% + 5vw );*/

}

.container-new .container-new-item .left img {
    width: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;

}

.container-new .container-new-item .left img:hover {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.container-new .container-new-item .right {
    float: left;
    width: calc(100% - 330px);
    margin-left: 5px;
}

.container-new .container-new-item .right h3 {
    width: 100%;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.container-new .container-new-item .right h3:hover {
    transition: 0.4s;
    color: #777777;
}

.container-new .container-new-item .time {
    color: #777777;
    font-size: 0.8em;
    margin: 5px 0;
}

.container-new .container-new-item .description {
    color: #000;
    font-size: 0.8em;
    margin: 5px 0;
}

.container-new .container-new-item .time i {
    color: #777777;
    /*font-size: 0.8em;*/
    margin-right: 5px;
}

.pagination-list {
    text-align: center;
    margin-bottom: 20px;

}

.pagination-list li {
    display: inline-block;
    background: #333333;
    margin: 0 5px;
}

.pagination-list li:hover {
    transition: 0.3s;
    background: #feab2b;
}

.pagination-list li.selected {
    display: inline-block;
    background: #feab2b;
}

.pagination-list li a {
    display: block;
    padding: 8px 14px;
    color: #ffffff;
}

.social-btn {
    width: 100%;
    display: inline-block;
    margin: 0 0 20px 0;
}

.social-btn a {
    float: left;
    display: block;
    width: 100px;
    text-align: center;
}

.social-btn .fa {
    padding: 9px 30px;
    color: #fff;
    font-size: 1.4em;
    display: block;
}

.social-btn .fa-facebook {
    background: #3b5998;
}

.social-btn .fa-google-plus {
    background: #dd4b39;
}

.social-btn .fa-twitter {
    background: #00aced;
}

.social-btn .fa-linkedin {
    background: #0976b4;
}

.social-btn .fa-reddit {
    background: #6e6e6e;
}

.sidebar .search {
    margin-bottom: 10px;
}

.new-nav {
    display: none;
}

.loader {
    text-align: center;
    margin: 16px 0;
}

i.faa-spin {
    font-size: 24px;
}

.item-content {
    display: inline-block;
    width: calc(33.33333% - 22px);
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    padding: 0.75rem 8px;
    margin-bottom: 8px;
}

.item-content:hover {
    cursor: pointer;
    background: #d4edda;
    border-color: #155724;
    transition: 0.3s;
}

.item-content.active {
    background: #d4edda;
    border-color: #155724;
}

.item-content .flex {
    display: flex;
}

.item-content .flex div.item-image {
    flex: 1;
    margin-right: 8px;
}

.item-content .flex div.item-info {
    flex: 1 70%;
    text-align: right;
}

.item-content .flex div h3 {
    color: #D32E2E;
    font-size: 100%;
}
.map {
    max-width: 40%;
    display: inline-block;
    position: relative;
}
.contact.map {
    max-width: calc(100% - 392px);
    margin: 36px 0 0 16px;
    display: inline-block;
}
.order.contact {
    margin-bottom: 10px;
    width: 372px;
}
.map a{
    display: block;
}
.map img {
    width: 100%;
    height: auto;
    display: block;
}

/* SEO 2026 hotfix: keep footer map responsive without distortion from HTML dimensions. */
footer .map img {
    width: 100%;
    height: auto;
    display: block;
}
.map .mask-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    opacity: 0;
}
.map .mask-map:hover {
    transition: 0.3s;
    opacity: 1;
}
.map .mask-map span {
    position: absolute;top: 44%;left: 29%;
}

@-webkit-keyframes Rotate {
    0% {
        -webkit-transform: rotate(0deg);
    }
    4% {
        -webkit-transform: rotate(-45deg);
    }
    8% {
        -webkit-transform: rotate(0deg);
    }
    12% {
        -webkit-transform: rotate(-45deg);
    }
    16% {
        -webkit-transform: rotate(0deg);
    }
    20% {
        -webkit-transform: rotate(-45deg);
    }
    24% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes Rotate {
    0% {
        transform: rotate(0deg);
    }
    4% {
        transform: rotate(-45deg);
    }
    8% {
        transform: rotate(0deg);
    }
    12% {
        transform: rotate(-45deg);
    }
    16% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(-45deg);
    }
    24% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@media only screen and (max-width: 900px) {
    .sidebar {
        width: 250px;
    }

    .block-content div.left {
        float: inherit;
    }

    .block-content div.right {
        float: inherit;
    }

    .block-content div.w-50 {
        width: 100% !important;
    }

    .container-new .container-new-item .right {
        width: calc(65% - 10px);
    }

    .container-new .container-new-item .right h3 {
        font-size: calc(13px + 0.1vw);
    }

    .item-content .flex div.item-image img {
        width: 32px;
        height: auto;
        margin-top: 12px;
    }
}

@media only screen and (max-width: 800px) {
    .banner, .home .desktop {
        display: none;
    }

    .home .mobile {
        display: block;

    }

    .search-sim .block-content {
        display: -webkit-box;
        display: -moz-box;
        display: -webkit-flex;
        display: flex;

        -webkit-flex-flow: row wrap;
        flex-flow: row wrap;
    }

    .search {
        flex: 1 100%;
        order: 1;
    }

    .tip {
        float: inherit;
        flex: 2 100%;
        order: 2;
        margin-top: 5px;
    }

    .sidebar {
        display: none;
    }

    .btn-menu-mobile {
        display: block;

    }

    nav {
        overflow: hidden;

    }

    nav .home {
        padding-left: 10px;
    }

    nav .parent-menu {
        float: left;
        display: none;
    }

    nav ul li {
        display: block;
    }

    nav ul li.parent:hover .child-block {
        display: none;

    }

    nav ul li.parent .child-block {
        position: relative;
        min-height: inherit;
    }

    nav ul li.parent .child-block div:nth-of-type(2) li {
        width: 33.33%;
    }

    .pagination {
        float: initial;
        text-align: center;
    }

    .info {
        width: 45%;
    }
    .map {
        max-width: 55%;
    }
    .new-nav {
        width: 100%;
        display: block;
    }

    .new-nav .parent-menu {
        display: block;
    }

    .new-nav .parent-menu .parent {
        display: inline-block;
        color: #ffffff;
    }

    .new-nav .parent-menu .parent a {
        padding: 4px 5px;
        text-transform: uppercase;
        font-size: calc(12px + 0.5vw);
    }
}

@media only screen and (max-width: 640px) {
    nav ul li.parent .child-block div:nth-of-type(2) li {
        width: 50%;
    }

    nav ul li.parent .child-block div:nth-of-type(1) {
        width: 130px;
    }

    .table-sim .td.point {
        display: none;
    }

    .table-sim .td {
        width: calc(25% - 10px);
    }

    .info{
        width: 100%;
    }

    .map {
        max-width: 100%;
    }
    .contact.map {
        display: none;
    }
    .contact.order {
        width: 100%;
    }
    .order .number-info, .order .number-guide {
        width: 100%;
        float: inherit;
    }

    .container-new .container-new-item .right .time {
        display: none;
    }

    .item-content {
        width: calc(50% - 22px);
    }

    .item-content .flex div.item-image img {
        width: auto;
        height: auto;
        margin-top: 0;
    }
}

@media only screen and (max-width: 480px) {
    .advance-input .except-number {
        padding-bottom: 10px;
    }

    nav ul li.parent .child-block div:nth-of-type(2) li {
        width: 100%;
    }

    .advance-input .except-number label {
        width: 100%;
    }

    .table-sim .tr:first-child .td {
        font-size: 12px;
    }

    .table-sim .number {
        font-weight: bold;
        font-size: 14px;
        font-family: Arial;
    }

    .table-sim .cost {
        font-size: 11px;
    }

    .item-content .flex div.item-image img {
        width: 32px;
        height: auto;
        margin-top: 12px;
    }
}

@media only screen and (max-width: 400px) {
    .table-sim .number, .table-sim .cost, .table-sim .tr:first-child .td:nth-child(5n+5),
    .table-sim .number, .table-sim .cost, .table-sim .tr:first-child .td:nth-child(5n+3),
    .table-sim .td {
        width: calc(18% - 10px) !important;
    }

    .table-sim .number, .table-sim .cost, .table-sim .tr:first-child .td:nth-child(5n+1),
    .table-sim .number, .table-sim .cost, .table-sim .tr:first-child .td:nth-child(5n+2) {
        width: calc(32% - 10px) !important;
    }

    .table-sim .btn-cart {
        width: 100%;
        display: block;
        padding: 5px 0;
    }

    .order .number-info div h1 {
        font-size: 1.5em;
    }

    .order .number-info div h3 {
        font-size: 1.1em;
    }

    .item-content .flex div.item-info h3 {
        font-size: 14px;
    }

    .item-content .flex div.item-info span {
        font-size: 13px;
    }
}

@media only screen and (max-width: 360px) {
    .order .number-info div h1 {
        font-size: 1.5em;
    }

    .order .number-info div h3 {
        font-size: 1.1em;
    }

    .item-content .flex div.item-info h3 {
        font-size: 12px;
    }

    .item-content .flex div.item-info span {
        font-size: 11px;
    }

    .item-content .flex div.item-image img {
        width: 24px;
        height: auto;
        margin-top: 12px;
    }
}

.row {
    display: block;
    margin: 10px 0;
}

a.web {
    color: #4BB087;
    font-weight: bold;
    font-size: 14px;
}

a.web:hover {
    color: #d32e2e;
    transition: 0.3s;
}

a.web:not(:last-child):after {
    content: ' - ';
    color: #ffffff;
}

.block-content div.left {
    float: left;
}

.block-content div.right {
    float: right;
}

.block-content div.w-50 {
    width: calc(50% - 5px);
}

.order-item {
    font-size: 13px;
}

.order-item:not(:last-child) {
    border-bottom: 1px solid #f0ebf2;
    margin-bottom: 10px;
}

.order-item p {
    margin-bottom: 5px;
    text-transform: capitalize;
}

.order-item .time-order {
    color: #c9c9c9;
}

.order-item .name-order {
    color: #d32e2e;
    font-weight: bold;
}

.service {
    width: 100%;
    display: block;
}

.service .form-group input {
    width: calc(100% - 30px);
    margin: 0.75rem auto;
    display: block;
    line-height: 30px;
    border: 1px solid #E9EBEE;
    height: 32px;
    padding: 0px 10px;
    padding: 0 10px;
    outline: none
}

.service .form-group button {
    display: block;
    max-width: 312px;
    width: 100%;
    margin: auto;
    padding: 12px 0;
    outline: none;
    color: #fff;
    border: none
}

.service h3 {
    color: #0000ff;
    margin: 8px 0
}

.service p {
    line-height: 2.5rem;
}

.service p > span {
    color: red;
    margin-left: 16px;
    vertical-align: middle;
    padding-right: 8px
}

.service .form-group {
    display: block;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
}

.service .form-group select {
    width: calc(100% - 4px);
    margin: 0 auto;
    display: block;
    padding: 5px 10px;
    height: 32px;
    line-height: 32px;
    border-radius: 0;
    border: 1px solid #E9EBEE;
    width: calc(100% - 8px);
    margin: 0 auto;
    display: block;
    padding: 0 10px;
    height: 32px;
    line-height: 32px;
    background: #FFF url(../images/arrowdown.gif) no-repeat;
    background-position: 98% center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.service .alert {
    display: block;
    color: #fff !important;
    margin: 0 8rem 1rem;
    position: relative;
    padding: 1.5rem 1em;
    text-align: center;
}

.service .alert.alert-success {
    background: #28a745 !important;
}

.service .alert.alert-danger {
    background: #d32e2e !important;
}

.service .alert button {
    position: absolute;
    top: -4px;
    border: 0;
    background: transparent;
    font-size: 1.75rem;
    color: #6c757d;
    right: 8px;
}

.service .alert button:hover {
    color: #d32e2e;
    cursor: pointer;
}

/* Tiptap 3 article output */
.read-news .article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 14px auto;
}
.read-news .article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
}
.read-news .article-body th,
.read-news .article-body td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
}
.read-news .article-body div[data-youtube-video] {
    margin: 14px 0;
    clear: both;
}
.read-news .article-body div[data-youtube-video] iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}
.read-news .article-body pre {
    overflow-x: auto;
    padding: 12px;
    background: #f6f6f6;
}
@media only screen and (max-width: 640px) {
    .read-news .article-body table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }
}

/* Mobile hardening for Thu mua / Cam mua page.
 * Keep desktop styling unchanged while preventing the service form and long text
 * from exceeding the content box on narrow screens. */
@media only screen and (max-width: 640px) {
    .service {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .service .row {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service .form-group {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service .form-group input,
    .service .form-group select,
    .service .form-group button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service p,
    .service h2,
    .service h3 {
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .service h2 {
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .service .hotline {
        white-space: normal;
    }

    .service .site-success-dialog {
        box-sizing: border-box;
    }
}
