Files
Homepage_PC_Xanh_2021/scss/pc_xanh.css

1884 lines
33 KiB
CSS
Raw Normal View History

2021-03-24 10:47:36 +07:00
body {
color: #222;
font-family: 'Roboto', sans-serif;
background: #f5f5f5;
position: relative;
min-width: 1220px;
font-size: 14px;
}
a {
color: #222;
text-decoration: none;
-webkit-transition: all .3s ease;
transition: all .3s ease;
}
a:hover {
text-decoration: none;
-webkit-transition: all .3s ease;
transition: all .3s ease;
color: #f58634;
}
.ul, .ol {
margin: 0;
padding: 0;
list-style: none;
}
img {
max-width: 100%;
height: auto;
}
b {
font-weight: bold;
}
.clearfix::after, .header-middle-container .item::after, .header-menu-group .sub-menu-group::after, .home-top-article-group .art-item::after, .product-box-group .box-title::after, .home-article-container .art-item::after {
content: '';
clear: both;
display: block;
}
.clear {
clear: both;
}
button, input, select {
outline: none !important;
}
table {
width: 100% !important;
-webkit-overflow-scrolling: touch;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
select, textarea, input {
font-size: 16px;
}
}
@media (min-width: 1200px) {
select, textarea, input {
font-size: 14px;
}
}
iframe {
max-width: 100%;
width: 100%;
display: block;
}
.text-10 {
font-size: 10px;
}
.text-11 {
font-size: 11px;
}
.text-12 {
font-size: 12px;
}
.text-13 {
font-size: 13px;
}
.text-14 {
font-size: 14px;
}
.text-15 {
font-size: 15px;
}
.text-16 {
font-size: 16px;
}
.text-17 {
font-size: 17px;
}
.text-18 {
font-size: 18px;
}
.text-20 {
font-size: 20px;
}
.text-22 {
font-size: 22px;
}
.text-24 {
font-size: 24px;
}
.green {
color: #00a551;
}
.red {
color: #e20505;
}
.grey {
color: #999;
}
.orange {
color: #f58634;
}
.bg-orange {
background: #f58634;
}
.bg-green {
background: #00a551;
}
.font-300 {
font-weight: 300;
}
.font-500 {
font-weight: 500;
}
.font-600 {
font-weight: 600;
}
.underline {
text-decoration: underline;
}
.fit-img {
width: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-width: 100%;
max-height: 100%;
margin: auto;
display: block;
}
@-webkit-keyframes tada {
0% {
-webkit-transform: scale(1);
transform: scale(1);
}
10%, 20% {
-webkit-transform: scale(0.9) rotate(-8deg);
transform: scale(0.9) rotate(-8deg);
}
30%, 50%, 70% {
-webkit-transform: scale(1.3) rotate(8deg);
transform: scale(1.3) rotate(8deg);
}
40%, 60% {
-webkit-transform: scale(1.3) rotate(-8deg);
transform: scale(1.3) rotate(-8deg);
}
100%, 80% {
-webkit-transform: scale(1) rotate(0);
transform: scale(1) rotate(0);
}
}
@keyframes tada {
0% {
-webkit-transform: scale(1);
transform: scale(1);
}
10%, 20% {
-webkit-transform: scale(0.9) rotate(-8deg);
transform: scale(0.9) rotate(-8deg);
}
30%, 50%, 70% {
-webkit-transform: scale(1.3) rotate(8deg);
transform: scale(1.3) rotate(8deg);
}
40%, 60% {
-webkit-transform: scale(1.3) rotate(-8deg);
transform: scale(1.3) rotate(-8deg);
}
100%, 80% {
-webkit-transform: scale(1) rotate(0);
transform: scale(1) rotate(0);
}
}
@-webkit-keyframes phonering {
0% {
-webkit-transform: rotate(0) scale(1) skew(1deg);
}
10% {
-webkit-transform: rotate(-25deg) scale(1) skew(1deg);
}
20% {
-webkit-transform: rotate(25deg) scale(1) skew(1deg);
}
30% {
-webkit-transform: rotate(-25deg) scale(1) skew(1deg);
}
40% {
-webkit-transform: rotate(25deg) scale(1) skew(1deg);
}
50% {
-webkit-transform: rotate(0) scale(1) skew(1deg);
}
100% {
-webkit-transform: rotate(0) scale(1) skew(1deg);
}
}
.label-container {
display: block;
position: relative;
padding-left: 30px;
margin-bottom: 14px;
cursor: pointer;
font-size: 14px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.label-container input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
.label-container .checkmark {
position: absolute;
top: 2px;
left: 0;
height: 15px;
width: 15px;
border: 1px solid #bbb;
background-color: #fff;
border-radius: 3px;
}
.label-container:hover input ~ .checkmark {
border-color: #14903f;
}
.label-container input:checked ~ .checkmark {
background-color: #d58430;
border-color: #d58430;
}
.checkmark:after {
content: "";
position: absolute;
display: none;
}
.label-container input:checked ~ .checkmark:after {
display: block;
}
.label-container .checkmark:after {
left: 4px;
top: 1px;
width: 6px;
height: 9px;
border: solid white;
border-width: 0 3px 3px 0;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.radio-container {
position: relative;
padding-left: 25px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
margin: 0 40px 0 0;
}
.radio-container input {
position: absolute;
opacity: 0;
cursor: pointer;
}
.radio-container .checkmark {
position: absolute;
top: 2px;
left: 0px;
height: 16px;
width: 16px;
background-color: #fff;
border-radius: 50%;
border: 2px solid #999;
}
.radio-container input:checked ~ .checkmark {
background-color: #fff;
border: 2px solid #008445;
}
.checkmark:after {
content: "";
position: absolute;
display: none;
}
.radio-container input:checked ~ .checkmark:after {
display: block;
}
.radio-container .checkmark:after {
top: 3px;
left: 3px;
width: 6px;
height: 6px;
border-radius: 50%;
background: #008445;
}
.bg-popup {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
cursor: -webkit-grab;
cursor: grab;
background: rgba(0, 0, 0, 0.5);
z-index: 99;
}
.autocomplete-suggestions {
position: absolute;
width: 100%;
border: solid 1px #ddd;
right: 0;
margin-top: 2px;
max-height: 300px;
overflow: auto;
display: none;
background: #fff;
z-index: 999;
}
.autocomplete-suggestions a {
display: block;
padding: 10px;
overflow: hidden;
}
.autocomplete-suggestions a img {
width: 60px;
float: left;
}
.autocomplete-suggestions a .info {
display: block;
margin-left: 65px;
}
.autocomplete-suggestions a .info .name {
display: block;
color: #333;
}
.autocomplete-suggestions a .info .price {
color: #ec1c24;
}
.autocomplete-suggestions a:hover {
background-color: #f5f5f5;
}
.autocomplete-suggestions::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #f1f1f1;
border-radius: 10px;
}
.autocomplete-suggestions::-webkit-scrollbar {
width: 6px;
background-color: #f1f1f1;
}
.autocomplete-suggestions::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: #ccc;
}
.icon-star {
background-image: url(../images/star_sprite.png);
width: 96px;
height: 19px;
vertical-align: text-bottom;
display: inline-block;
background-repeat: no-repeat;
}
.icon-star.star-0 {
background-position: 0 -109px;
}
.icon-star.star-1 {
background-position: 0 -88px;
}
.icon-star.star-2 {
background-position: 0 -66px;
}
.icon-star.star-3 {
background-position: 0 -42px;
}
.icon-star.star-4 {
background-position: 0 -21px;
}
.icon-star.star-5 {
background-position: 0 0;
}
.hover-img a {
position: relative;
overflow: hidden;
display: block;
}
.hover-img a::before {
content: "";
position: absolute;
top: 0;
left: -15%;
bottom: 0;
width: 0;
height: 100%;
background-color: rgba(255, 255, 255, 0.5);
-webkit-transition: none;
transition: none;
-webkit-transform: skewX(-25deg);
transform: skewX(-25deg);
}
.hover-img a:hover::before {
width: 120%;
background-color: rgba(255, 255, 255, 0);
-webkit-transition: all .45s ease-out;
transition: all .45s ease-out;
z-index: 2;
}
.container {
padding: 0 12px;
max-width: 1224px;
min-width: 1224px;
}
.row {
margin: 0 -12px;
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
padding: 0 10px;
}
#breadcrumb {
margin: 0 0 12px 0;
position: relative;
font-size: 13px;
}
#breadcrumb li {
float: left;
position: relative;
z-index: 1;
}
#breadcrumb li::after {
content: '/';
padding: 0 8px;
}
#breadcrumb li:last-child a {
color: #848484;
}
#breadcrumb li:last-child::after {
content: none;
}
#breadcrumb li a {
color: #0083FF;
font-weight: 500;
font-size: 15px;
line-height: 18px;
}
#breadcrumb h1 {
font-size: inherit;
font-weight: inherit;
margin: 0;
line-height: inherit;
}
.paging {
text-align: center;
margin: 16px 0 26px 0;
}
.paging a {
display: inline-block;
margin-right: 3px;
width: 35px;
height: 31px;
line-height: 31px;
border-radius: 5px;
border: 1px solid #edeef2;
color: #888;
background: #fff;
}
.paging a:hover, .paging a.current {
color: #fff;
background: #f58634;
border-color: #f58634;
}
.global-fixed-right {
position: fixed;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
right: -100%;
-webkit-transition: .4s all;
transition: .4s all;
z-index: 2;
}
.global-fixed-right.active {
right: 5px;
-webkit-transition: .4s all;
transition: .4s all;
}
.global-fixed-right a {
display: block;
text-align: center;
margin-bottom: 5px;
width: 40px;
height: 40px;
line-height: 40px;
border-radius: 50%;
background: #4267b2;
color: #fff;
font-size: 20px;
}
.global-fixed-right a:nth-child(2) {
background: #ff0000;
}
.global-fixed-right a:nth-child(3), .global-fixed-right a:nth-child(5) {
background: #3754a5;
}
.global-fixed-right a:nth-child(4) {
background: #ff4900;
}
.global-fixed-right a:nth-child(6) {
background: #00a551;
}
.global-fixed-right a:hover i {
-webkit-animation: tada 1.5s infinite ease-in-out;
animation: tada 1.5s infinite ease-in-out;
}
.global-fixed-right .fa-youtube {
color: #fff !important;
}
.orange-linear {
background: repeating-linear-gradient(to right, #f27213, #ffae3b, #f58735);
width: 100%;
background-size: 200% auto;
background-position: 0 100%;
-webkit-animation: gradient 2s infinite;
animation: gradient 2s infinite;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
}
@-webkit-keyframes gradient {
0% {
background-position: 0 0;
}
100% {
background-position: -200% 0;
}
}
@keyframes gradient {
0% {
background-position: 0 0;
}
100% {
background-position: -200% 0;
}
}
.splice {
background: url(../images/pc_xanh_splice.png) no-repeat;
}
header {
background: #fff;
}
header .header-top-container {
background: #000;
position: relative;
border-bottom: 1px solid #f58634;
}
.top-item {
background: #000;
position: relative;
}
.top-item a {
color: #fff;
display: block;
}
.top-item a:hover i {
bottom: 3px;
-webkit-transition: .3s all;
transition: .3s all;
}
.top-item i {
position: relative;
bottom: 0;
-webkit-transition: .3s all;
transition: .3s all;
}
.top-item .sub-item {
display: none;
background: #fff;
position: absolute;
-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
padding: 15px;
top: 100%;
border-radius: 4px;
z-index: 9;
}
.top-item .item {
float: left;
margin-right: 18px;
line-height: 28px;
padding: 7px 0;
}
.top-item .item:hover .sub-item {
display: block;
}
.top-item .orange-linear {
padding: 0 13px;
border-radius: 40px;
}
.top-item .fa {
padding-right: .15rem;
}
.top-item .header-banhang .online-title {
color: #ffffff;
font-size: 18px;
padding: 5px 10px;
background: #f58735;
font-weight: 500;
}
.top-item .header-banhang .online-content {
border-top: 1px solid #e1e1e1;
padding-top: 7px;
font-size: 14px;
}
.top-item .header-banhang p {
margin-bottom: 10px;
}
.header-middle-container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 10px 0 18px 0;
}
.header-middle-container a {
color: #fff;
display: block;
}
.header-middle-container .header-logo {
width: 190px;
margin-right: 12px;
}
.header-middle-container .header-search {
width: 493px;
margin-right: 12px;
position: relative;
}
.header-middle-container .header-middle-right {
width: 493px;
padding: 0 9px 0 5px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.header-middle-container .header-middle-right .text {
white-space: nowrap;
}
.header-middle-container .search-select-container {
width: 145px;
}
.header-middle-container select {
width: 100%;
height: 38px;
border: 0;
padding-left: 8px;
}
.header-middle-container .text-search {
border: 0;
margin: 0;
padding: 0 0 0 10px;
height: 38px;
width: calc(100% - 190px);
}
.header-middle-container .btn-search {
position: absolute;
top: 0;
bottom: 0;
right: 0;
background: 0;
border: 0;
width: 38px;
padding: 0;
}
.header-middle-container form {
overflow: hidden;
border-radius: 5px;
}
.header-middle-container .item {
color: #fff;
position: relative;
}
.header-middle-container .item:hover .splice {
-webkit-transition: .3s all;
transition: .3s all;
bottom: 5px;
}
.header-middle-container .item a:hover {
color: #f58634;
}
.header-middle-container .splice {
width: 33px;
height: 33px;
display: block;
margin-right: 8px;
float: left;
position: relative;
-webkit-transition: .3s all;
transition: .3s all;
bottom: 0;
}
.header-middle-container .text {
width: calc(100% - 41px);
float: left;
}
.header-middle-container .icon-phone {
background-position: -7px 0;
-webkit-animation: phonering 1.8s infinite ease-in-out;
animation: phonering 1.8s infinite ease-in-out;
}
.header-middle-container .icon-buildpc {
background-position: -54px -1px;
width: 38px;
}
.header-middle-container .icon-user {
background-position: -108px -1px;
}
.header-middle-container .icon-cart {
background-position: -160px 0px;
margin: 0;
}
.header-middle-container .item-buildpc .text {
width: calc(100% - 46px);
}
.header-middle-container .cart-count {
width: 18px;
height: 18px;
text-align: center;
line-height: 18px;
color: #222;
background: #f58634;
font-size: 12px;
font-weight: bold;
position: absolute;
border-radius: 50%;
top: -5px;
right: -8px;
}
.header-bottom-container {
-webkit-box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.2);
position: relative;
}
.header-menu-group {
width: 190px;
margin-right: 12px;
float: left;
}
.header-menu-group .title {
background: #f58634;
color: #fff;
text-align: center;
line-height: 38px;
cursor: pointer;
}
.header-menu-group .cat-list-group {
position: absolute;
background: #fff;
z-index: 2;
top: 100%;
width: 190px;
height: 488px;
}
.header-menu-group .cat-list-group:hover {
z-index: 2;
}
.header-menu-group .item {
height: calc(100% / 14);
padding: 0 3px 0 7px;
}
.header-menu-group .item:hover {
background: #f58634;
}
.header-menu-group .item:hover > a {
color: #fff;
}
.header-menu-group .item:hover .cat-thumb {
-webkit-filter: invert(1);
filter: invert(1);
}
.header-menu-group .item > a {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
height: 100%;
-webkit-transition: unset;
transition: unset;
}
.header-menu-group .item:hover .sub-menu-group {
-webkit-transition: .25s all;
transition: .25s all;
left: 190px;
opacity: 1;
visibility: visible;
}
.header-menu-group .sub-menu-group {
position: absolute;
top: 0;
left: 200px;
height: 488px;
background: #fff;
z-index: 3;
width: calc(1200px - 190px);
-webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
padding: 15px;
-webkit-transition: .25s all;
transition: .25s all;
opacity: 0;
visibility: hidden;
overflow: auto;
}
.header-menu-group a {
display: block;
}
.header-menu-group .box-item {
width: 25%;
margin-bottom: 20px;
float: left;
}
.header-menu-group .box-item a {
margin-bottom: 5px;
}
.header-menu-group .cat-2 {
color: #f58634;
font-weight: bold;
}
.header-menu-group .cat-title {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 13px;
font-weight: lighter;
width: calc(100% - 25px);
}
.header-menu-group .cat-thumb {
width: 20px;
height: 20px;
margin-right: 5px;
display: block;
background-position: center;
background-size: 100%;
background-repeat: no-repeat;
}
.header-bottom-right {
float: left;
width: calc(100% - 202px);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 4px 0;
}
.header-bottom-right .item {
margin-right: 12px;
width: calc(100% / 5 - 10px);
border: 1px solid #b7b7b7;
border-radius: 5px;
padding: 3px 0;
line-height: 1;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-transition: .1s all;
transition: .1s all;
}
.header-bottom-right .item:last-child {
margin-right: 0;
}
.header-bottom-right .item:hover {
-webkit-transition: .1s all;
transition: .1s all;
color: #fff;
background: #f58634;
border-color: #f58634;
}
.header-bottom-right .item:hover .splice {
-webkit-filter: brightness(10);
filter: brightness(10);
}
.header-bottom-right .splice {
width: 23px;
height: 22px;
margin-right: 8px;
}
.header-bottom-right .text {
font-weight: 500;
}
.header-bottom-right .icon-1 {
background-position: -6px -50px;
}
.header-bottom-right .icon-2 {
background-position: -43px -48px;
}
.header-bottom-right .icon-3 {
background-position: -81px -48px;
width: 29px;
}
.header-bottom-right .icon-4 {
background-position: -124px -50px;
}
.header-bottom-right .icon-5 {
background-position: -168px -50px;
}
.custom-dots .owl-dots {
margin: 0 !important;
position: absolute;
bottom: 10px;
left: 0;
right: 0;
}
.custom-dots .owl-dots .owl-dot.active span, .custom-dots .owl-dots .owl-dot:hover span {
background: #f58634;
}
.custom-dots .owl-dots .owl-dot span {
margin: 0 12px 0 0;
background: #787480;
}
.homepage {
padding-top: 12px;
}
.homepage .slider-home {
min-height: 351px;
}
.homepage .home-banner-container {
width: calc(100% - 202px);
margin: auto 0 20px auto;
}
.homepage .home-banner-left {
width: 695px;
margin-right: 12px;
float: left;
}
.homepage .home-banner-right {
float: left;
width: 291px;
}
.homepage .banner-under-group {
margin-top: 12px;
min-height: 112px;
}
.homepage .banner-under-group a {
display: block;
margin-right: 12px;
width: calc(100% / 3 - 8px);
float: left;
}
.homepage .banner-under-group a:last-child {
margin-right: 0;
}
.homepage .banner-video-group {
margin-top: 12px;
min-height: 173px;
}
.homepage .banner-video-group iframe {
height: 173px;
}
.homepage .video-holder {
position: relative;
cursor: pointer;
-webkit-transition: .2s all;
transition: .2s all;
}
.homepage .video-holder::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.3);
-webkit-transition: .2s all;
transition: .2s all;
}
.homepage .video-holder::after {
content: '\f144';
font-family: FontAwesome;
font-size: 48px;
color: #ffff;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-transition: .2s all;
transition: .2s all;
opacity: .5;
line-height: 1;
}
.homepage .video-holder:hover {
-webkit-transition: .2s all;
transition: .2s all;
}
.homepage .video-holder:hover::before, .homepage .video-holder:hover::after {
-webkit-transition: .2s all;
transition: .2s all;
opacity: 1;
}
.homepage .video-holder.active::before, .homepage .video-holder.active::after {
content: none;
}
.home-top-article-group .title-group {
border-bottom: 1px solid #f58634;
height: 38px;
}
.home-top-article-group .title {
padding: 0px 3px 0px 11px;
line-height: 38px;
position: relative;
}
.home-top-article-group .title::after {
content: '';
border-bottom: 38px solid #f58634;
border-right: 25px solid transparent;
position: absolute;
top: 0;
bottom: 0;
right: -25px;
}
.home-top-article-group .art-item {
display: block;
padding: 8.6px 12px;
border-bottom: 1px solid #f5f5f5;
font-size: 13px;
}
.home-top-article-group .art-img {
display: block;
width: 77px;
margin-right: 12px;
float: left;
min-height: 45px;
}
.home-top-article-group .art-text {
width: calc(100% - 89px);
float: left;
height: 40px;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.home-collection-container {
margin: 20px 0 25px 0;
border-radius: 22px 22px 0 0;
overflow: hidden;
}
.home-collection-container .bg-title {
padding-bottom: 82px;
background-size: 100% 102%;
background-repeat: no-repeat;
}
.home-collection-container .collection-product-group {
padding: 0 10px 10px 10px;
}
.p-item-2021 {
padding: 18px 8px 10px 8px;
}
.p-item-2021:hover img {
-webkit-transition: .3s all;
transition: .3s all;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
.p-item-2021 .p-name {
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
line-height: 18px;
margin: 10px 0;
}
.p-item-2021 .p-sku {
font-size: 12px;
color: #656565;
text-transform: uppercase;
position: absolute;
top: 0;
left: 0;
}
.p-item-2021 .p-discount-2021 {
background: url(../images/sale-off.png);
background-position: center;
background-size: 47px 47px;
color: #fff;
font-weight: 600;
width: 47px;
height: 47px;
line-height: 47px;
text-align: center;
position: absolute;
top: 10px;
right: 0;
}
.p-item-2021 .p-img {
padding-top: calc(100% + 13px);
overflow: hidden;
}
.p-item-2021 img {
max-width: 100%;
max-height: 100%;
-webkit-transition: .3s all;
transition: .3s all;
-webkit-transform: scale(1);
transform: scale(1);
}
.p-item-2021 .p-type {
position: absolute;
bottom: 0;
left: 0;
}
.p-item-2021 .icon-new {
display: inline-block;
width: 30px;
height: 17px;
margin-right: 3px;
background: url(../images/icon-new.png) no-repeat;
background-position: center;
background-size: 30px 17px;
}
.p-item-2021 .icon-hot {
display: inline-block;
background: url(../images/icon-hot.png) no-repeat;
width: 30px;
height: 30px;
background-position: center;
background-size: 30px 30px;
}
.p-item-2021 .p-price-group {
height: 63px;
margin-bottom: 7px;
}
.p-item-2021 .p-buy {
cursor: pointer;
height: 18px;
background-position: -250px -16px;
padding-left: 20px;
color: #222;
}
.p-item-2021 .p-button {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.p-item-2021 .p-sale-off {
color: #d82a29;
}
.p-item-2021 .p-old-price {
margin: 1px 0;
}
.product-box-group {
margin: 25px 0;
}
.product-box-group .box-title {
position: relative;
}
.product-box-group .box-title::before {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 2px;
background: #f58634;
}
.product-box-group .title {
text-transform: uppercase;
margin: 0;
font-weight: 600;
position: relative;
font-size: 22px;
background: #f58634;
color: #fff;
display: inline-block;
padding: 14px 5px 14px 20px;
line-height: 1.4;
float: left;
}
.product-box-group .title::after {
content: '';
background: url(../images/box-title-bg.png) no-repeat;
position: absolute;
top: 0;
bottom: 0;
right: -55px;
width: 56px;
}
.product-box-group .children-lists {
float: left;
line-height: 56px;
margin-left: 48px;
font-size: 13px;
}
.product-box-group .children-lists a {
margin-right: 30px;
vertical-align: sub;
}
.product-box-group .children-lists a:last-child {
margin-right: 0;
}
.product-box-group .view-all {
line-height: 58px;
float: right;
}
.collection-tab-group {
background: #fff;
}
.collection-tab-group .title {
padding-left: 70px;
position: relative;
}
.collection-tab-group .title::before {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 60px;
background: url(../images/pc_xanh_splice.png) no-repeat;
background-position: -199px 0px;
-webkit-animation: phonering 1.8s infinite ease-in-out;
animation: phonering 1.8s infinite ease-in-out;
}
.collection-tab-group .title-rigt-group {
float: right;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.collection-tab-group .title-rigt-group a {
line-height: inherit;
margin: 0 0 0 7px;
}
.collection-tab-group .title-rigt-group .view-all {
margin: 0 0 0 13px;
padding-right: 8px;
}
.collection-tab-group .children-lists {
margin-left: 0;
}
.collection-tab-group .children-lists a {
color: #555555;
font-weight: 600;
font-size: 14px;
background: #ebebeb;
padding: 11.5px 18px;
border-radius: 5px;
-webkit-transition: unset;
transition: unset;
}
.collection-tab-group .children-lists a:hover, .collection-tab-group .children-lists a.active {
background: #f58634;
color: #fff;
-webkit-transition: unset;
transition: unset;
}
.home-article-container {
margin: 28px 0;
padding: 13px 9px;
}
.home-article-container .box-title {
width: 170px;
margin-right: 23px;
float: left;
max-height: 350px;
overflow: auto;
}
.home-article-container .box-title a {
display: block;
margin-bottom: 7px;
font-weight: 600;
background: #ebebeb;
border-radius: 30px;
text-align: center;
text-transform: uppercase;
line-height: 38px;
padding: 0 13px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
-webkit-transition: unset;
transition: unset;
}
.home-article-container .box-title a:hover, .home-article-container .box-title a.active {
background: #f58634;
color: #fff;
-webkit-transition: unset;
transition: unset;
}
.home-article-container .box-holder {
width: calc(100% - 193px);
float: left;
}
.home-article-container .art-big {
width: 595px;
margin-right: 12px;
position: relative;
float: left;
}
.home-article-container .art-list-group {
width: calc(100% - 607px);
float: left;
}
.home-article-container .art-big-text {
padding: 16px;
position: absolute;
left: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.4);
color: #fff;
}
.home-article-container .art-big-text .art-title {
font-size: 24px;
overflow: hidden;
max-height: 75px;
margin: 0 0 5px 0;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
font-weight: 600;
line-height: 1.3;
}
.home-article-container time {
color: #ababab;
display: block;
line-height: 1;
}
.home-article-container time::before {
content: '\f017';
font-family: FontAwesome;
padding-right: 2px;
}
.home-article-container .art-item {
margin-bottom: 15px;
}
.home-article-container .art-item:last-child {
margin-bottom: 0;
}
.home-article-container .art-item a {
display: block;
}
.home-article-container .art-img {
margin-right: 11px;
float: left;
width: 130px;
}
.home-article-container .art-text {
float: left;
width: calc(100% - 141px);
}
.home-article-container .art-text a {
overflow: hidden;
max-height: 42px;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
margin-bottom: 5px;
font-weight: 600;
}
.home-article-container .art-text time {
font-size: 12px;
}
footer .item-title {
padding: 27px 0 22px 0;
margin: 0;
font-size: 1.17em;
font-weight: 500;
line-height: 1.2;
}
footer .footer-info-group {
background: #111;
color: #fff;
padding-bottom: 10px;
}
footer .footer-info-group a {
display: block;
margin-bottom: 8px;
color: #fff;
}
footer .footer-info-group a:hover {
text-decoration: underline;
}
footer .info-item-group {
width: calc(100% / 4);
float: left;
}
footer .social i {
font-size: 14px;
color: #fff;
width: 24px;
height: 24px;
line-height: 24px;
border-radius: 50%;
margin-right: 10px;
text-align: center;
}
footer .fa-facebook {
background: #485894;
}
footer .fa-youtube-play {
background: #ce0707;
}
footer .fa-users {
background: #222222;
}
footer .view-mobile {
color: #da251c;
background: #fff;
border-radius: 5px;
max-width: 128px;
text-align: center;
padding: 9px 0px;
font-weight: bold;
margin: 10px 0;
}
footer .footer-newsletter-container {
padding: 40px 0 30px 0;
}
footer .footer-newsletter-container p {
margin-bottom: 20px;
font-size: 1.5em;
font-weight: 500;
line-height: 1.2;
}
footer .registor-form-group {
border: 1px solid #ddd;
border-radius: 5px;
position: relative;
background: #fff;
width: 600px;
margin: auto;
height: 40px;
overflow: hidden;
-webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
}
footer .registor-form-group input {
padding: 0 140px 0 10px;
outline: none;
border: none;
background: #fff;
border-radius: 3px;
width: 100%;
height: 100%;
}
footer .registor-form-group a {
color: #fff;
position: absolute;
right: 0;
top: 0;
bottom: 0;
background: #f58634;
line-height: 40px;
padding: 0 55px;
}
@media (min-width: 1624px) {
.container {
max-width: 1624px;
min-width: 1624px;
}
.header-menu-group {
width: 256px;
}
.header-menu-group .title {
text-align: left;
padding-left: 12px;
line-height: 40px;
}
.header-menu-group .cat-list-group {
width: 256px;
height: 642px;
}
.header-menu-group .item {
padding: 0 10px 0 15px;
}
.header-menu-group .item:hover .sub-menu-group {
left: 256px;
width: calc(1600px - 256px);
}
.header-menu-group .sub-menu-group {
height: 642px;
}
.header-menu-group .cat-thumb {
margin-right: 10px;
}
.header-menu-group .cat-title {
width: calc(100% - 30px);
font-size: 14px;
font-weight: normal;
}
.header-middle-container .header-logo {
width: 256px;
text-align: center;
}
.header-middle-container .header-search {
width: 658px;
}
.header-middle-container .header-middle-right {
width: calc(100% - 938px);
padding: 0;
-webkit-box-pack: space-evenly;
-ms-flex-pack: space-evenly;
justify-content: space-evenly;
}
.header-bottom-right {
width: calc(100% - 268px);
padding: 5px 0;
height: 40px;
}
.homepage .home-banner-container {
width: calc(100% - 268px);
}
.homepage .slider-home {
min-height: 467px;
}
.homepage .home-banner-left {
width: 926px;
}
.homepage .banner-under-group {
min-height: 151px;
}
.homepage .home-banner-right {
width: 390px;
}
.homepage .banner-video-group iframe {
height: 232px;
}
.home-top-article-group .art-item {
padding: 11px 12px;
font-size: 14px;
font-weight: normal;
}
.home-top-article-group .art-img {
width: 110px;
height: 64px;
}
.home-top-article-group .art-text {
width: calc(100% - 122px);
}
.home-collection-container {
margin: 25px 0;
}
.home-collection-container .bg-title {
padding-bottom: 113px;
}
.home-article-container {
padding: 13px 13px 13px 0;
}
.home-article-container .box-title {
width: 256px;
margin-right: 12px;
padding: 0 28px;
}
.home-article-container .box-holder {
width: calc(100% - 268px);
}
.home-article-container .art-big {
width: 792px;
}
.home-article-container .art-list-group {
width: calc(100% - 804px);
}
.home-article-container .art-item {
margin-bottom: 12px;
}
.home-article-container .art-img {
width: 184px;
margin-right: 15px;
height: 107px;
}
.home-article-container .art-text {
width: calc(100% - 199px);
}
}
/*# sourceMappingURL=pc_xanh.css.map */