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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
| 1 |
+
/* CSS gốc giữ nguyên + thêm CSS cho hamburger menu */
|
| 2 |
+
|
| 3 |
body {
|
| 4 |
+
margin: 0px;
|
| 5 |
+
font-family: arial;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
#top {
|
| 9 |
+
width: 100%;
|
| 10 |
+
height: 48px;
|
| 11 |
+
background-color: green;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
#top-content {
|
| 15 |
+
height: 100%;
|
| 16 |
+
width: 80%;
|
| 17 |
+
margin: auto;
|
| 18 |
+
line-height: 40px;
|
| 19 |
+
color: white;
|
| 20 |
+
display: flex;
|
| 21 |
+
justify-content: space-between;
|
| 22 |
+
align-items: center;
|
| 23 |
+
font-family: Arial, sans-serif;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
#top-left {
|
| 27 |
+
display: flex;
|
| 28 |
+
flex-wrap: wrap;
|
| 29 |
+
gap: 15px;
|
| 30 |
+
width: 60%;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
#top-right {
|
| 34 |
+
width: 40%;
|
| 35 |
+
text-align: right;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
#top-right a {
|
| 39 |
+
color: white;
|
| 40 |
+
text-decoration: none;
|
| 41 |
+
font-weight: bold;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
#top-right a:hover {
|
| 45 |
+
text-decoration: underline;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.address {
|
| 49 |
+
padding-left: 15px;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
#banner {
|
| 53 |
+
width: 100%;
|
| 54 |
+
height: 200px;
|
| 55 |
+
background-color: #fff;
|
| 56 |
+
margin: auto;
|
| 57 |
+
padding: 55px;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
#banner-content {
|
| 61 |
+
width: 80%;
|
| 62 |
+
margin: auto;
|
| 63 |
+
height: 80px;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
#logo {
|
| 67 |
+
width: 25%;
|
| 68 |
+
height: 100%;
|
| 69 |
+
float: left;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
#logo img {
|
| 73 |
+
margin-top: 10px;
|
| 74 |
+
height: 60px;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
#deliver,
|
| 78 |
+
#support,
|
| 79 |
+
#time {
|
| 80 |
+
width: 20%;
|
| 81 |
+
height: 100%;
|
| 82 |
+
float: left;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
#deliver img,
|
| 86 |
+
#support img,
|
| 87 |
+
#time img {
|
| 88 |
+
margin-top: 25px;
|
| 89 |
+
height: 30px;
|
| 90 |
+
float: left;
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
#deliver .text-block,
|
| 94 |
+
#support .text-block,
|
| 95 |
+
#time .text-block {
|
| 96 |
+
line-height: 30px;
|
| 97 |
+
height: 60px;
|
| 98 |
+
width: 75%;
|
| 99 |
+
float: left;
|
| 100 |
+
margin-top: 10px;
|
| 101 |
+
padding-left: 7px;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
#cart {
|
| 105 |
+
width: 15%;
|
| 106 |
+
height: 100%;
|
| 107 |
+
float: left;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
#cart a {
|
| 111 |
+
display: block;
|
| 112 |
+
line-height: 36px;
|
| 113 |
+
background-color: orange;
|
| 114 |
+
color: white;
|
| 115 |
+
text-decoration: none;
|
| 116 |
+
border: 0;
|
| 117 |
+
border-radius: 15px;
|
| 118 |
+
float: right;
|
| 119 |
+
width: 130px;
|
| 120 |
+
text-align: center;
|
| 121 |
+
margin-top: 22px;
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
#menu {
|
| 125 |
+
width: 100%;
|
| 126 |
+
height: 48px;
|
| 127 |
+
background-color: green;
|
| 128 |
+
position: relative;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
#slideshow {
|
| 132 |
+
width: 100%;
|
| 133 |
+
height: 360px;
|
| 134 |
+
margin: auto;
|
| 135 |
+
text-align: center;
|
| 136 |
+
padding-top: 15px;
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
#slideshow img {
|
| 140 |
+
width: 80%;
|
| 141 |
+
height: 100%;
|
| 142 |
+
object-fit: cover;
|
| 143 |
+
display: block;
|
| 144 |
+
margin: auto;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
#container {
|
| 148 |
+
width: 100%;
|
| 149 |
+
min-height: 500px;
|
| 150 |
+
background-color: #fff;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
#chat {
|
| 154 |
+
background-color: white;
|
| 155 |
+
width: 60px;
|
| 156 |
+
height: 180px;
|
| 157 |
+
position: fixed;
|
| 158 |
+
bottom: 50px;
|
| 159 |
+
right: 10px;
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
#chat img {
|
| 163 |
+
width: 30px;
|
| 164 |
+
height: 30px;
|
| 165 |
+
margin: 15px 15px;
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
#footer {
|
| 169 |
+
width: 100%;
|
| 170 |
+
height: 370px;
|
| 171 |
+
background-color: green;
|
| 172 |
+
clear: both;
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
#content {
|
| 176 |
+
width: 80%;
|
| 177 |
+
margin: auto;
|
| 178 |
+
min-height: 500px;
|
| 179 |
+
background-color: #fff;
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
* {
|
| 183 |
+
box-sizing: border-box;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.cate {
|
| 187 |
+
width: 100%;
|
| 188 |
+
clear: both;
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
.cate-title {
|
| 192 |
+
width: 300px;
|
| 193 |
+
line-height: 40px;
|
| 194 |
+
font-size: 16pt;
|
| 195 |
+
background-color: green;
|
| 196 |
+
color: #fff;
|
| 197 |
+
padding-left: 15px;
|
| 198 |
+
border-radius: 15px;
|
| 199 |
+
text-transform: uppercase;
|
| 200 |
+
}
|
| 201 |
+
|
| 202 |
+
.item {
|
| 203 |
+
width: 25%;
|
| 204 |
+
padding: 15px;
|
| 205 |
+
float: left;
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
.product {
|
| 209 |
+
padding: 15px;
|
| 210 |
+
float: left;
|
| 211 |
+
width: 100%;
|
| 212 |
+
text-align: center;
|
| 213 |
+
line-height: 40px;
|
| 214 |
+
border-radius: 15px;
|
| 215 |
+
border: 1px solid #ddd;
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
.photo {
|
| 219 |
+
width: 150px;
|
| 220 |
+
height: 150px;
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
.name {
|
| 224 |
+
text-decoration: none;
|
| 225 |
+
font-weight: bold;
|
| 226 |
+
font-size: 16px;
|
| 227 |
+
color: green;
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
.price {
|
| 231 |
+
color: orange;
|
| 232 |
+
font-weight: bold;
|
| 233 |
+
font-size: 16px;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
.buy {
|
| 237 |
+
cursor: pointer;
|
| 238 |
+
background-color: orange;
|
| 239 |
+
color: #fff;
|
| 240 |
+
width: 120px;
|
| 241 |
+
height: 36px;
|
| 242 |
+
border: none;
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
#menu-content {
|
| 246 |
+
width: 80%;
|
| 247 |
+
margin: auto;
|
| 248 |
+
height: 100%;
|
| 249 |
+
}
|
| 250 |
+
|
| 251 |
+
/* =========================== */
|
| 252 |
+
/* HAMBURGER MENU CSS */
|
| 253 |
+
/* =========================== */
|
| 254 |
+
|
| 255 |
+
/* Hamburger button - mặc định ẩn */
|
| 256 |
+
.hamburger-menu {
|
| 257 |
+
display: none;
|
| 258 |
+
position: absolute;
|
| 259 |
+
left: 20px;
|
| 260 |
+
top: 50%;
|
| 261 |
+
transform: translateY(-50%);
|
| 262 |
+
z-index: 1001;
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
.hamburger-btn {
|
| 266 |
+
background: none;
|
| 267 |
+
border: none;
|
| 268 |
+
cursor: pointer;
|
| 269 |
+
padding: 5px;
|
| 270 |
+
width: 35px;
|
| 271 |
+
height: 35px;
|
| 272 |
+
display: flex;
|
| 273 |
+
flex-direction: column;
|
| 274 |
+
justify-content: space-between;
|
| 275 |
+
align-items: center;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
.hamburger-btn span {
|
| 279 |
+
display: block;
|
| 280 |
+
width: 25px;
|
| 281 |
+
height: 3px;
|
| 282 |
+
background-color: white;
|
| 283 |
+
transition: all 0.3s ease;
|
| 284 |
+
transform-origin: center;
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
/* Animation khi active */
|
| 288 |
+
.hamburger-btn.active span:nth-child(1) {
|
| 289 |
+
transform: rotate(45deg) translate(6px, 6px);
|
| 290 |
+
}
|
| 291 |
+
|
| 292 |
+
.hamburger-btn.active span:nth-child(2) {
|
| 293 |
+
opacity: 0;
|
| 294 |
+
}
|
| 295 |
+
|
| 296 |
+
.hamburger-btn.active span:nth-child(3) {
|
| 297 |
+
transform: rotate(-45deg) translate(6px, -6px);
|
| 298 |
}
|
| 299 |
|
| 300 |
+
/* Menu chính */
|
| 301 |
+
ul {
|
| 302 |
+
list-style: none;
|
| 303 |
+
margin: 0px;
|
| 304 |
+
padding: 0px;
|
| 305 |
}
|
| 306 |
|
| 307 |
+
ul li {
|
| 308 |
+
line-height: 48px;
|
| 309 |
+
float: left;
|
| 310 |
+
position: relative;
|
|
|
|
| 311 |
}
|
| 312 |
|
| 313 |
+
ul li li {
|
| 314 |
+
float: none;
|
| 315 |
+
background-color: #ddd;
|
| 316 |
+
color: #000;
|
| 317 |
+
width: 180px;
|
|
|
|
| 318 |
}
|
| 319 |
|
| 320 |
+
ul li li a {
|
| 321 |
+
color: #000;
|
| 322 |
+
border-bottom: 1px solid #ddd;
|
| 323 |
+
}
|
| 324 |
+
|
| 325 |
+
ul ul {
|
| 326 |
+
display: none;
|
| 327 |
+
}
|
| 328 |
+
|
| 329 |
+
ul li:hover ul {
|
| 330 |
+
display: block;
|
| 331 |
+
position: absolute;
|
| 332 |
+
top: 48px;
|
| 333 |
+
left: 0px;
|
| 334 |
+
}
|
| 335 |
+
|
| 336 |
+
ul li a {
|
| 337 |
+
text-decoration: none;
|
| 338 |
+
color: #fff;
|
| 339 |
+
display: block;
|
| 340 |
+
padding: 0px 15px;
|
| 341 |
+
line-height: 48px;
|
| 342 |
+
}
|
| 343 |
+
|
| 344 |
+
#menu a:hover {
|
| 345 |
+
background-color: orange;
|
| 346 |
+
color: #fff;
|
| 347 |
+
cursor: pointer;
|
| 348 |
+
}
|
| 349 |
+
|
| 350 |
+
/* Footer CSS */
|
| 351 |
+
.footer-container {
|
| 352 |
+
width: 80%;
|
| 353 |
+
margin: auto;
|
| 354 |
+
display: flex;
|
| 355 |
+
justify-content: space-between;
|
| 356 |
+
flex-wrap: wrap;
|
| 357 |
+
color: white;
|
| 358 |
+
padding: 30px;
|
| 359 |
+
border-radius: 10px;
|
| 360 |
+
font-family: Arial, sans-serif;
|
| 361 |
+
}
|
| 362 |
+
|
| 363 |
+
.footer-column {
|
| 364 |
+
width: 25%;
|
| 365 |
+
min-width: 140px;
|
| 366 |
+
margin-bottom: 20px;
|
| 367 |
+
}
|
| 368 |
+
|
| 369 |
+
.footer-map {
|
| 370 |
+
width: 48%;
|
| 371 |
+
min-width: 300px;
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
.footer-column h2 {
|
| 375 |
+
margin-top: 0;
|
| 376 |
+
font-size: 18px;
|
| 377 |
+
}
|
| 378 |
+
|
| 379 |
+
.footer-links li {
|
| 380 |
+
margin-bottom: 10px;
|
| 381 |
+
}
|
| 382 |
+
|
| 383 |
+
.footer-links {
|
| 384 |
+
display: flex;
|
| 385 |
+
flex-direction: column;
|
| 386 |
+
gap: 8px;
|
| 387 |
+
list-style: none;
|
| 388 |
+
padding: 0;
|
| 389 |
+
margin: 0;
|
| 390 |
+
}
|
| 391 |
+
|
| 392 |
+
.footer-links a {
|
| 393 |
+
color: white;
|
| 394 |
+
text-decoration: none;
|
| 395 |
+
color: #fff;
|
| 396 |
+
font-size: 16px;
|
| 397 |
+
}
|
| 398 |
+
|
| 399 |
+
.footer-links a:hover {
|
| 400 |
+
text-decoration: underline;
|
| 401 |
+
}
|
| 402 |
+
|
| 403 |
+
.contact-info {
|
| 404 |
+
width: 25%;
|
| 405 |
+
}
|
| 406 |
+
|
| 407 |
+
.support-links {
|
| 408 |
+
width: 21%;
|
| 409 |
+
}
|
| 410 |
+
|
| 411 |
+
.support-links ul {
|
| 412 |
+
list-style: none;
|
| 413 |
+
padding-left: 0;
|
| 414 |
+
}
|
| 415 |
+
|
| 416 |
+
.support-links ul li {
|
| 417 |
+
margin-bottom: 10px;
|
| 418 |
+
}
|
| 419 |
+
|
| 420 |
+
.support-links ul li a {
|
| 421 |
+
color: white;
|
| 422 |
+
text-decoration: none;
|
| 423 |
+
}
|
| 424 |
+
|
| 425 |
+
.support-links ul li a:hover {
|
| 426 |
+
text-decoration: underline;
|
| 427 |
+
}
|
| 428 |
+
|
| 429 |
+
.map {
|
| 430 |
+
width: 48%;
|
| 431 |
+
}
|
| 432 |
+
|
| 433 |
+
/* Grid System */
|
| 434 |
+
.col-1 {
|
| 435 |
+
width: 8.33%;
|
| 436 |
+
}
|
| 437 |
+
.col-2 {
|
| 438 |
+
width: 16.66%;
|
| 439 |
+
}
|
| 440 |
+
.col-3 {
|
| 441 |
+
width: 25%;
|
| 442 |
+
}
|
| 443 |
+
.col-4 {
|
| 444 |
+
width: 33.33%;
|
| 445 |
+
}
|
| 446 |
+
.col-5 {
|
| 447 |
+
width: 41.66%;
|
| 448 |
+
}
|
| 449 |
+
.col-6 {
|
| 450 |
+
width: 50%;
|
| 451 |
+
}
|
| 452 |
+
.col-7 {
|
| 453 |
+
width: 53.33%;
|
| 454 |
+
}
|
| 455 |
+
.col-8 {
|
| 456 |
+
width: 66.66%;
|
| 457 |
+
}
|
| 458 |
+
.col-9 {
|
| 459 |
+
width: 75%;
|
| 460 |
+
}
|
| 461 |
+
.col-10 {
|
| 462 |
+
width: 83.33%;
|
| 463 |
+
}
|
| 464 |
+
.col-11 {
|
| 465 |
+
width: 91.66%;
|
| 466 |
+
}
|
| 467 |
+
.col-12 {
|
| 468 |
+
width: 100%;
|
| 469 |
+
}
|
| 470 |
+
|
| 471 |
+
[class*="col-"] {
|
| 472 |
+
float: left;
|
| 473 |
+
padding: 15px;
|
| 474 |
+
box-sizing: border-box;
|
| 475 |
+
}
|
| 476 |
+
|
| 477 |
+
/* =========================== */
|
| 478 |
+
/* RESPONSIVE MEDIA QUERIES */
|
| 479 |
+
/* =========================== */
|
| 480 |
+
|
| 481 |
+
/* Mobile: <= 768px */
|
| 482 |
+
@media only screen and (max-width: 768px) {
|
| 483 |
+
.col-s-1 {
|
| 484 |
+
width: 8.33%;
|
| 485 |
+
}
|
| 486 |
+
.col-s-2 {
|
| 487 |
+
width: 16.66%;
|
| 488 |
+
}
|
| 489 |
+
.col-s-3 {
|
| 490 |
+
width: 25%;
|
| 491 |
+
}
|
| 492 |
+
.col-s-4 {
|
| 493 |
+
width: 33.33%;
|
| 494 |
+
}
|
| 495 |
+
.col-s-5 {
|
| 496 |
+
width: 41.66%;
|
| 497 |
+
}
|
| 498 |
+
.col-s-6 {
|
| 499 |
+
width: 50%;
|
| 500 |
+
}
|
| 501 |
+
.col-s-7 {
|
| 502 |
+
width: 53.33%;
|
| 503 |
+
}
|
| 504 |
+
.col-s-8 {
|
| 505 |
+
width: 66.66%;
|
| 506 |
+
}
|
| 507 |
+
.col-s-9 {
|
| 508 |
+
width: 75%;
|
| 509 |
+
}
|
| 510 |
+
.col-s-10 {
|
| 511 |
+
width: 83.33%;
|
| 512 |
+
}
|
| 513 |
+
.col-s-11 {
|
| 514 |
+
width: 91.66%;
|
| 515 |
+
}
|
| 516 |
+
.col-s-12 {
|
| 517 |
+
width: 100%;
|
| 518 |
+
}
|
| 519 |
+
|
| 520 |
+
/* Hiện hamburger menu */
|
| 521 |
+
.hamburger-menu {
|
| 522 |
+
display: block;
|
| 523 |
+
}
|
| 524 |
+
|
| 525 |
+
/* Ẩn slideshow */
|
| 526 |
+
#slideshow {
|
| 527 |
+
display: none;
|
| 528 |
+
}
|
| 529 |
+
/* Ẩn toàn bộ nội dung banner */
|
| 530 |
+
#banner-content {
|
| 531 |
+
display: none;
|
| 532 |
+
}
|
| 533 |
+
|
| 534 |
+
/* Menu mobile styling */
|
| 535 |
+
#main-menu {
|
| 536 |
+
position: fixed;
|
| 537 |
+
top: 96px; /* sau top + banner */
|
| 538 |
+
left: -100%;
|
| 539 |
+
width: 80%;
|
| 540 |
+
max-width: 300px;
|
| 541 |
+
background-color: green;
|
| 542 |
+
transition: left 0.3s ease;
|
| 543 |
+
z-index: 1000;
|
| 544 |
+
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
|
| 545 |
+
max-height: calc(100vh - 96px);
|
| 546 |
+
overflow-y: auto;
|
| 547 |
+
}
|
| 548 |
+
|
| 549 |
+
/* Menu khi mở */
|
| 550 |
+
#main-menu.menu-open {
|
| 551 |
+
left: 0;
|
| 552 |
+
}
|
| 553 |
+
|
| 554 |
+
/* Menu items trên mobile */
|
| 555 |
+
#main-menu li {
|
| 556 |
+
float: none;
|
| 557 |
+
width: 100%;
|
| 558 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
| 559 |
+
}
|
| 560 |
+
|
| 561 |
+
#main-menu li a {
|
| 562 |
+
padding: 15px 20px;
|
| 563 |
+
line-height: normal;
|
| 564 |
+
display: block;
|
| 565 |
+
color: white;
|
| 566 |
+
}
|
| 567 |
+
|
| 568 |
+
/* Submenu trên mobile */
|
| 569 |
+
#main-menu ul ul {
|
| 570 |
+
position: static;
|
| 571 |
+
display: none;
|
| 572 |
+
background-color: rgba(0, 0, 0, 0.2);
|
| 573 |
+
box-shadow: none;
|
| 574 |
+
}
|
| 575 |
+
|
| 576 |
+
#main-menu li:hover ul {
|
| 577 |
+
display: block;
|
| 578 |
+
position: static;
|
| 579 |
+
}
|
| 580 |
+
|
| 581 |
+
#main-menu ul ul li {
|
| 582 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
| 583 |
+
}
|
| 584 |
+
|
| 585 |
+
#main-menu ul ul li a {
|
| 586 |
+
padding-left: 40px;
|
| 587 |
+
background-color: transparent;
|
| 588 |
+
color: #ddd;
|
| 589 |
+
}
|
| 590 |
+
|
| 591 |
+
/* Mobile: Chỉ hiện bản đồ trong footer */
|
| 592 |
+
#footer > .footer-container > div {
|
| 593 |
+
display: none;
|
| 594 |
+
}
|
| 595 |
+
|
| 596 |
+
#footer > .footer-container > .footer-map {
|
| 597 |
+
display: block;
|
| 598 |
+
width: 100%;
|
| 599 |
+
min-width: 0;
|
| 600 |
+
}
|
| 601 |
+
}
|
| 602 |
+
|
| 603 |
+
/* Tablet: 769px - 1024px */
|
| 604 |
+
@media only screen and (min-width: 769px) and (max-width: 1024px) {
|
| 605 |
+
.col-m-1 {
|
| 606 |
+
width: 8.33%;
|
| 607 |
+
}
|
| 608 |
+
.col-m-2 {
|
| 609 |
+
width: 16.66%;
|
| 610 |
+
}
|
| 611 |
+
.col-m-3 {
|
| 612 |
+
width: 25%;
|
| 613 |
+
}
|
| 614 |
+
.col-m-4 {
|
| 615 |
+
width: 33.33%;
|
| 616 |
+
}
|
| 617 |
+
.col-m-5 {
|
| 618 |
+
width: 41.66%;
|
| 619 |
+
}
|
| 620 |
+
.col-m-6 {
|
| 621 |
+
width: 50%;
|
| 622 |
+
}
|
| 623 |
+
.col-m-7 {
|
| 624 |
+
width: 53.33%;
|
| 625 |
+
}
|
| 626 |
+
.col-m-8 {
|
| 627 |
+
width: 66.66%;
|
| 628 |
+
}
|
| 629 |
+
.col-m-9 {
|
| 630 |
+
width: 75%;
|
| 631 |
+
}
|
| 632 |
+
.col-m-10 {
|
| 633 |
+
width: 83.33%;
|
| 634 |
+
}
|
| 635 |
+
.col-m-11 {
|
| 636 |
+
width: 91.66%;
|
| 637 |
+
}
|
| 638 |
+
.col-m-12 {
|
| 639 |
+
width: 100%;
|
| 640 |
+
}
|
| 641 |
+
|
| 642 |
+
/* Ẩn hamburger menu */
|
| 643 |
+
.hamburger-menu {
|
| 644 |
+
display: none;
|
| 645 |
+
}
|
| 646 |
+
|
| 647 |
+
/* Hiện menu bình thường */
|
| 648 |
+
#main-menu {
|
| 649 |
+
position: static;
|
| 650 |
+
width: auto;
|
| 651 |
+
background: none;
|
| 652 |
+
box-shadow: none;
|
| 653 |
+
max-height: none;
|
| 654 |
+
overflow: visible;
|
| 655 |
+
left: auto;
|
| 656 |
+
}
|
| 657 |
+
|
| 658 |
+
#main-menu li {
|
| 659 |
+
float: left;
|
| 660 |
+
width: auto;
|
| 661 |
+
border-bottom: none;
|
| 662 |
+
}
|
| 663 |
+
|
| 664 |
+
#main-menu li a {
|
| 665 |
+
padding: 0px 15px;
|
| 666 |
+
line-height: 48px;
|
| 667 |
+
}
|
| 668 |
+
|
| 669 |
+
#menu,
|
| 670 |
+
#slideshow {
|
| 671 |
+
display: block;
|
| 672 |
+
}
|
| 673 |
+
|
| 674 |
+
/* Ẩn tất cả các con trong footer */
|
| 675 |
+
#footer > .footer-container > div {
|
| 676 |
+
display: none;
|
| 677 |
+
}
|
| 678 |
+
#header-top {
|
| 679 |
+
display: none;
|
| 680 |
+
}
|
| 681 |
+
/* Chỉ hiện phần có class footer-map */
|
| 682 |
+
#footer > .footer-container > . footer-map{
|
| 683 |
+
display: block;
|
| 684 |
+
width: 50%;
|
| 685 |
+
}
|
| 686 |
+
#footer > .footer-container > .footer-column{display: block;}
|
| 687 |
+
/* Tablet: ẨN bản đồ */
|
| 688 |
+
.footer-column1 {
|
| 689 |
+
display: none !important;
|
| 690 |
+
}
|
| 691 |
+
}
|
| 692 |
+
|
| 693 |
+
/* Desktop/PC: >= 1025px */
|
| 694 |
+
@media only screen and (min-width: 1025px) {
|
| 695 |
+
.col-x-1 {
|
| 696 |
+
width: 8.33%;
|
| 697 |
+
}
|
| 698 |
+
.col-x-2 {
|
| 699 |
+
width: 16.66%;
|
| 700 |
+
}
|
| 701 |
+
.col-x-3 {
|
| 702 |
+
width: 25%;
|
| 703 |
+
}
|
| 704 |
+
.col-x-4 {
|
| 705 |
+
width: 33.33%;
|
| 706 |
+
}
|
| 707 |
+
.col-x-5 {
|
| 708 |
+
width: 41.66%;
|
| 709 |
+
}
|
| 710 |
+
.col-x-6 {
|
| 711 |
+
width: 50%;
|
| 712 |
+
}
|
| 713 |
+
.col-x-7 {
|
| 714 |
+
width: 53.33%;
|
| 715 |
+
}
|
| 716 |
+
.col-x-8 {
|
| 717 |
+
width: 66.66%;
|
| 718 |
+
}
|
| 719 |
+
.col-x-9 {
|
| 720 |
+
width: 75%;
|
| 721 |
+
}
|
| 722 |
+
.col-x-10 {
|
| 723 |
+
width: 83.33%;
|
| 724 |
+
}
|
| 725 |
+
.col-x-11 {
|
| 726 |
+
width: 91.66%;
|
| 727 |
+
}
|
| 728 |
+
.col-x-12 {
|
| 729 |
+
width: 100%;
|
| 730 |
+
}
|
| 731 |
+
|
| 732 |
+
/* Ẩn hamburger menu */
|
| 733 |
+
.hamburger-menu {
|
| 734 |
+
display: none;
|
| 735 |
+
}
|
| 736 |
+
|
| 737 |
+
/* Hiện menu bình thường */
|
| 738 |
+
#main-menu {
|
| 739 |
+
position: static;
|
| 740 |
+
width: auto;
|
| 741 |
+
background: none;
|
| 742 |
+
box-shadow: none;
|
| 743 |
+
max-height: none;
|
| 744 |
+
overflow: visible;
|
| 745 |
+
left: auto;
|
| 746 |
+
}
|
| 747 |
+
|
| 748 |
+
#main-menu li {
|
| 749 |
+
float: left;
|
| 750 |
+
width: auto;
|
| 751 |
+
border-bottom: none;
|
| 752 |
+
}
|
| 753 |
+
|
| 754 |
+
#main-menu li a {
|
| 755 |
+
padding: 0px 15px;
|
| 756 |
+
line-height: 48px;
|
| 757 |
+
}
|
| 758 |
+
|
| 759 |
+
/* Desktop: Hiện tất cả */
|
| 760 |
+
#footer .footer-container > * {
|
| 761 |
+
display: block;
|
| 762 |
+
}
|
| 763 |
}
|