body{ color:#222; font-family: 'Roboto', sans-serif; background:#f1f1f1 ; position:relative; min-width: 1220px; font-size: 14px; } a{ color: #222; text-decoration: none; transition: all .3s ease; } a:hover { text-decoration: none; transition: all .3s ease; color: #00a551; } .ul, .ol { margin: 0; padding: 0; list-style: none; } img { max-width: 100%; height: auto; } b{ font-weight: bold; } .clearfix::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; } .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; } @keyframes tada{ 0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1) } 10%,20%{-webkit-transform:scale(.9) rotate(-8deg);-ms-transform:scale(.9) rotate(-8deg);transform:scale(.9) rotate(-8deg) } 30%,50%,70%{-webkit-transform:scale(1.3) rotate(8deg);-ms-transform:scale(1.3) rotate(8deg);transform:scale(1.3) rotate(8deg) } 40%,60%{-webkit-transform:scale(1.3) rotate(-8deg);-ms-transform:scale(1.3) rotate(-8deg);transform:scale(1.3) rotate(-8deg) } 100%,80%{-webkit-transform:scale(1) rotate(0);-ms-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); } } // checkbox .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);-ms-transform:rotate(45deg);transform:rotate(45deg);} // radio .radio-container{position:relative;padding-left:25px;cursor:pointer;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: 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; &::before{ content:""; position:absolute; top:0; left:-15%; bottom:0; width:0; height:100%; background-color:rgba(255, 255, 255, 0.5); transition:none; transform:skewX(-25deg); } &:hover::before{ width:120%; background-color:rgba(255, 255, 255, 0); transition:all .45s ease-out; z-index:2; } } } .container { padding: 0 10px; max-width: 1220px; min-width: 1220px; } .row { margin: 0 -10px; } .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; li{ float: left; position: relative; z-index: 1; &::after{ content:'/'; padding: 0 8px; } &:last-child{ a{ color: #848484; } &::after{ content: none; } } a{ color: #0083FF; font-weight: 500; font-size: 15px; line-height: 18px; } } h1{ font-size: inherit; font-weight: inherit; margin: 0; line-height: inherit; } } .paging { text-align: center; margin: 16px 0 26px 0; 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; &:hover, &.current{ color: #fff; background: #0083FF; border-color: #0083FF; } } } .sprite{ background-image:url(../images/hoanglong_sprite.png);width: 96px;height: 19px;vertical-align:text-bottom;display:inline-block;background-repeat:no-repeat; } .custom-dots{ .owl-dots{ margin: 0; position: absolute; bottom: 17px; left: 0; right: 0; .owl-dot{ &.active{ span{ background: #00a551; border: 2px solid #fff; } } span{ width: 12px; height: 12px; margin: 0 10px 0 0; border: 1px solid #7a7a7a; background: 0; &:hover{ background: #00a551; border: 2px solid #fff; } } } } } .custom-nav { .owl-nav { button { margin: 0 !important; z-index: unset; width: 32px; height: 46px; transform: translateY(-50%); background: #e5e5e5 !important; color: #444 !important; &:hover{ background: #e5e5e5 !important; } i { font-size: 12px; } } .owl-prev{ border-radius: 0 8px 8px 0; } .owl-next{ border-radius: 8px 0 0 8px; } } } .showroom-address{ color: #222; padding: 18px 22px; font-weight: 500; display: flex; flex-wrap: wrap; p{ margin-bottom: 20px; position: relative; width: 50%; padding-right: 15px; padding-left: 34px; line-height: 25px; &::before{ content:''; background-image: url(../images/hoanglong_sprite.png); background-repeat: no-repeat; height: 25px; width: 25px; position: absolute; left: 0; top: 0; background-position: -245px -45px; } } } .header-top{ padding: 7px 0; a{ color :#fff; line-height: 25px; display: inline-block; } .item-left{ a{ margin-left: 20px; } } .showroom-container{ &::before{ content: ''; position: absolute; width: 100%; height: 100%; padding: 17px 0; } &:hover{ .showroom-address{ transition: .25s all; transform: scaleY(1); } } } .showroom-address{ position: absolute; left: 0; right: 0; width: 1200px; top: 32px; box-shadow: 0px 0px 6px 0px rgba(0,0,0,.4); z-index: 1; transition: .25s all; transform: scaleY(0); transform-origin: top; } .bg-icon{ padding-left: 25px; position: relative; &::before{ content:''; background-image: url(../images/hoanglong_sprite.png); background-repeat: no-repeat; height: 25px; position: absolute; bottom: 0; left: 0; top: 0; transition: .25s all; } &:hover{ &::before{ top: -3px; transition: .25s all; } } } .icon-zalo{ padding-left: 46px; &::before{ width: 46px; background-position: -10px -6px; } } .icon-tool{ padding-left: 30px; &::before{ width: 25px; background-position: -62px -10px; } } .icon-ticket{ padding-left: 38px; &::before{ width: 32px; background-position: -104px -8px; } } .icon-news{ padding-left: 28px; &::before{ width: 22px; background-position: -151px -10px; } } .icon-tuyendung{ padding-left: 30px; &::before{ width: 25px; background-position: -188px -10px; } } .item-right{ &::before{ width: 19px; background-position: -227px -7px; } } } .header-mid{ padding: 10px 0; .logo{ width: 184px; margin-right: 20px; } .header-search{ width: 490px; margin-right: 20px; position: relative; } .header-mid-right-group{ width: 486px; padding-right: 11px; } } .header-search{ .box-search { box-shadow: 0px 0px 5px 1px #cccccc; padding: 5px 6px; border-radius: 7px; position: relative; overflow: hidden; } .option-holder{ display: none; a{ display: block; font-size: 13px; } } .search-select-container{ border: 1px solid #cccccc; border-radius: 7px; overflow: hidden; width: 150px; margin-right: 10px; } select{ width: 100%; border: 0; font-weight: lighter; height: 32px; padding-left: 10px; } .text-search { width: calc(100% - 220px); border: 0; } .btn-search { background: #00a551; color: #fff; font-size: 18px; border: 0; position: absolute; top: 0; right: 0; bottom: 0; width: 60px; } .tag-search { font-weight: lighter; display: flex; justify-content: flex-end; flex-wrap: wrap; } .tag-search a { margin: 6px 0 0 3px; background: #ebebeb; display: inline-block; border-radius: 5px; padding: 4px 10px; } } .header-mid-right-group { display: flex; justify-content: space-between; a{ &:hover{ .sprite{ transition: .25s all; bottom: 3px; } } } .sprite { width: 40px; height: 40px; display: block; margin: auto; transition: .25s all; position: relative; bottom: 0; } .icon-buildpc{ width: 50px; background-position: -8px -37px; } .icon-tragop{ background-position: -74px -42px; } .icon-phone{ background-position: -135px -38px; animation: phonering 1.8s infinite ease-in-out; float: left; } .icon-cart{ background-position: -184px -38px; } .cart-count { width: 22px; height: 22px; line-height: 23px; border-radius: 50%; font-weight: 500; color: #fff; background: #ff3000; position: absolute; text-align: center; top: -5px; right: 0; } .hotline-header-group{ line-height: 1; } .hotline-text{ float: left; margin-top: 15px; } span{ display: block; } } .header-bottom{ padding-bottom: 11px; position: relative; .header-menu{ width: 184px; margin-right: 20px; } .header-social{ width: calc(100% - 204px); a{ display: block; margin-right: 20px; border: 1px solid #707070; border-radius: 5px; text-align: center; float: left; width: calc(100% / 4 - 15px); padding: 4px; position: relative; transition: .1s all; &::before{ content: ''; display: inline-block; width: 28px; height: 31px; background: url(../images/hoanglong_sprite.png) no-repeat; vertical-align: middle; background-position: -10px -87px; margin: 0 8px 1px 0; } &:nth-child(2)::before{ width: 31px; background-position: -57px -88px; } &:nth-child(3)::before{ width: 48px; background-position: -108px -88px; } &:nth-child(4)::before{ width: 30px; background-position: -179px -88px; } &:last-child{ margin: 0; } &:hover{ color: #fff; background: #00a551; border-color: #00a551; transition: .1s all; &::before{ filter: invert(1); } } } } } .header-menu{ background: #fff; position: unset; a{ height: 100%; display: flex; align-items: center; padding: 0 9px; transition: unset; &:hover{ color: #fff; background: #00a551; .cat-thumb{ filter: invert(1); } } } .title { display: block; background: #00a551; color: #fff !important; border-radius: 5px; position: relative; padding: 10.5px 13px; font-weight: 500; &::after{ content:'\f0d7'; font-family: Fontawesome; position: absolute; right: 13px; } } .sub-menu-container { opacity: 0; visibility: hidden; background: #fff; z-index: 2; position: absolute; top: 0; left: 200px; box-shadow: 0px 0px 6px 0px rgba(0,0,0,.2); width: calc(1200px - 184px); height: 546px; overflow: auto; padding: 10px; transition: .3s all; &::after{ content:''; display: block; clear: both; } a{ margin-bottom: 5px; &:hover{ background: unset; color: #00a551; } } } .menu-container { background: #fff; width: 184px; height: 546px; position: absolute; top: 100%; box-shadow: 0px 0px 6px 0px rgba(0,0,0,.2); } .item { height: calc(100% / 16); &:hover{ .sub-menu-container{ transition: .3s all; left: 184px; opacity: 1; visibility: visible; } } } .cat-thumb { display: block; width: 25px; margin-right: 7px; height: 25px; background-position: center; background-size: contain; background-repeat: no-repeat; } .cat-title { width: calc(100% - 32px); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .sub-item { width: 25%; margin-bottom: 15px; float: left; } .cat-2 { font-weight: bold; color: #00a551 !important; background: 0 !important; } } .video { position: relative; cursor: pointer; &::before {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0,0,0,0.2);z-index: 0;transition: .3s all;} &::after{ content: '\f04b'; font-family: 'FontAwesome'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; transition: .3s all; color: #fff; background: rgba(0,0,0,0.63); border-radius: 10px; text-align: center; width: 68px; height: 48px; font-size: 23px; line-height: 48px; padding-left: 4px; } &:hover{ &::after{ opacity: 1; background: red; } } } .homepage{ .home-banner-container{ width: calc(100% - 204px); margin: 18px 0 27px auto; display: flex; flex-wrap: wrap; a{ display: block; } } .banner-slider{ margin: 0 20px 19px 0; width: 660px; min-height: 345px; } .banner-right { width: calc(100% - 680px); min-height: 345px; .item{ overflow: hidden; border-radius: 10px; &:first-child{ margin-bottom: 20px; } } img{ display: block; } iframe{ height: 162px; } } .banner-under{ min-height: 163px; a{ overflow: hidden; border-radius: 15px; margin-right: 18px; width: calc(100% / 3 - 11px); &:last-child{ margin-right: 0; } } } .tab-product-container { padding: 23px 20px 66px 20px; background-repeat: no-repeat; background-size: 100% 100%; border-radius: 0 0 15px 15px; overflow: hidden; min-height: 503px; background-color: #00a551; } .tab-url{ padding-bottom: 18px; } .tab-button-container { background: #fff; border-radius: 10px 10px 0 0; overflow: hidden; a{ display: block; font-size: 16px; width: calc(100% / 3); float: left; text-align: center; padding: 16px; &.active{ color: #fff; background: #00a551; border-radius: 10px 10px 0 0; } } } .tab-pro-holder{ width: calc(100% - 286px); margin: auto 0 auto auto; } .home-social{ margin: 40px 0 30px 0; } } .p-item-2021 { background: #fff; padding: 20px 7px 17px 7px; border-radius: 10px; &:hover{ img{ transition: .3s all; bottom: 20px; } } .p-img-2021 { display: block; position: relative; padding-bottom: 100%; margin-bottom: 15px; } img{ transition: .3s all; } .p-price-container { overflow: hidden; height: 49px; margin-bottom: 10px; } .p-name{ height: 42px; line-height: unset; } } .p-container-2021{ display: flex; flex-wrap:wrap; .p-item-2021{ width: calc(100% / 5 - 16px); margin-right: 20px; padding: 20px 10px; &:nth-child(5n){ margin-right: 0; } &:nth-child(n+11){ display: none; } } } .box-pro-container{ background: #fff; margin: 20px 0; .cat-title-group{ position: relative; padding-right: 10px; display: flex; align-items: center; justify-content: space-between; &::after{ content:''; background: #00a551; height: 3px; position: absolute; left: 0; right: 0; bottom: 0; } } .title { color: #fff; background: #00a551; text-transform: uppercase; font-size: 24px; margin: 0; padding: 9px 14px; line-height: 1.4; display: inline-block; position: relative; &::after{ content:''; background: url(../images/bg-cat-home.png) no-repeat; position: absolute; top: 0; bottom: 0; right: -56px; width: 58px; } } .cat-child{ display: inline-block; text-transform: uppercase; a{ position: relative; border-right: 2px solid #ccc; padding-right: 15px; margin-right: 15px; &:last-child{ border: 0; margin: 0; padding: 0; } } } } .home-news-container{ padding: 21px 0; box-shadow: 0px 0px 17px 0px rgba(0,0,0,.1); position: relative; .title{ border-bottom: 1px solid #222; margin-bottom: 15px; p{ font-weight: bold; font-size: 24px; margin: 0; } } .item{ margin-right: 20px; width: calc(100% / 4 - 15px); &:last-child{ margin-right: 0; } &::after{ content:''; display: block; clear: both; } } .time { line-height: 1.2; text-align: center; border: 1px solid; width: 46px; padding: 8px 0; margin-right: 9px; float: left; } .art-img { position: relative; padding-bottom: 56%; display: block; margin-bottom: 13px; } .art-title-group{ width: calc(100% - 55px); float: left; } .art-title{ font-weight: 300; display: block; height: 32px; overflow: hidden; line-height: 1.2; } .name { color: #fff; background: #00a551; border-radius: 4px; display: inline-block; padding: 0px 7px; margin-bottom: 5px; } } footer{ .newsletter-container { padding: 29px 0; } .newsletter-submit{ background: #00a551; font-weight: 300; color: #fff; width: 93px; border: 0; position: absolute; top: 0; right: 0; bottom: 0; } .item-right{ position: relative; background: #fff; border-radius: 6px; overflow: hidden; } .newsletter-input { border: 0; margin: 0; padding: 0 0 0 17px; width: calc(100% - 100px); height: 42px; } .footer-social{ padding: 20px 0; border-bottom: 1px solid #e1e1e1; } .footer-youtube-holder{ iframe{ height: 250px; } } .showroom-address { border: 1px solid #e1e1e1; padding: 14px; min-height: 250px; p{ padding-right: 0; } } .footer-youtube-holder { min-height: 250px; background: #000; display: flex; align-items: center; } .youtube-sub { width: 113px; height: 30px; background-position: -268px -10px; } .footer-info{ padding: 20px 0; .item { width: 32.5%; float: left; margin-right: 20px; } .info-item-group{ float: left; width: calc(100% - 32.5% - 20px); display: flex; justify-content: space-around; } } .info-item{ padding-top: 5px; a{ display: block; margin: 10px 0; } .title{ margin-bottom: 14px; } } } .global-fixed-right { position: fixed; top: 50%; transform: translateY(-50%); right: -100%; transition: .4s all; &.active{ right: 5px; transition: .4s all; } a { display: block; text-align: center; margin-bottom: 5px; width: 40px; height: 40px; line-height: 2.6; border-radius: 50%; background: #4267b2; color: #fff; font-size: 16px; &:nth-child(2){ background: #ff0000; } &:nth-child(3), &:nth-child(5){ background: #3754a5; } &:nth-child(4){ background: #ff4900; } &:nth-child(6){ background: #00a551; } &:hover i{ animation: tada 1.5s infinite ease-in-out; } } .fa-youtube { color: #fff !important; } } // Screen 1600px @media(min-width: 1600px){ .container { max-width: 1620px; min-width: 1620px; } .logo.text-center, .header-bottom .header-menu, .header-menu .menu-container { width: 250px; } .header-bottom .header-social { width: calc(100% - 270px); } .header-mid .header-search { width: 655px; margin-right: 155px; } .header-mid .header-mid-right-group { width: 500px; padding-right: 20px; } .header-menu .item:hover .sub-menu-container { left: 250px; } .header-menu .menu-container, .header-menu .sub-menu-container { height: 716px; } .header-menu .sub-menu-container { width: calc(1600px - 250px); } .homepage .home-banner-container { width: calc(100% - 270px); min-height: 460px; } .homepage .banner-slider { width: 880px; min-height: 460px; } .homepage .banner-right { width: calc(100% - 900px); min-height: 220px; iframe{ height: 220px; } } .homepage .tab-product-container { padding: 37px 20px 122px 20px; } .homepage .tab-url{ padding-bottom: 40px; } .homepage .tab-pro-holder{ width: calc(100% - 385px); } .p-item-2021{ padding: 24px 15px; .p-img-2021 { margin-bottom: 20px; } } .p-container-2021{ .p-item-2021{ width: calc(100% / 6 - 17px); &:nth-child(5n){ margin-right: 20px; } &:nth-child(6n){ margin-right: 0; } &:nth-child(n+11){ display: block; } &:nth-child(n+13){ display: none; } } } footer { .footer-youtube-holder{ iframe{ height: 288px; } } .showroom-address { padding: 18px 22px; min-height: 288px; } } }