.mainBanner { background-size: cover; background-position: 0% 50%; overflow: hidden; position: relative; } .productText { background-position: 50% 50%; overflow: hidden; position: relative; background-attachment: fixed; } .fullwithImage { width: 100%; } .paddingTop { padding-top: 20px; } .modal-dialog { max-width: 60%; margin: 5% auto; } .middleDetail { padding: 20px 0px; } .mainBanner::before, .productText::before { content: ""; background-color: rgba(0, 0, 0, 0.8); width: 100%; height: 100%; z-index: 1; position: absolute; } .desktopTextRight { text-align: right; } a { color: #4c4c4c; text-decoration: none; background-color: transparent; } a:hover { color: #4c4c4c; } h1 { line-height: 40px; font-weight: bold; font-size: 1.6rem; } h2 { font-weight: bold; font-size: 1.2rem; margin-bottom: 20px; } .tableExtensiveTitle { width: 49%; border-bottom: 1px solid #fff; padding: 10px; background-color: #e6e6e6; display: inline-block; } .riceboxWrap { margin: 40px -15px; } .tableExtensiveDetail { width: 50%; border-bottom: 1px solid #fff; padding: 10px; background-color: #fff; display: inline-block; } .riceDetail { margin-bottom: 40px; margin-top: 40px; } .riceBox { position: relative; border-radius: 20px; background-size: cover; width: 100%; background-position: 50% 50%; height: 240px; } .riceBox h2 { text-shadow: 2px 2px 4px #4c4c4c; color: #fff; padding: 200px 10px 10px 10px; text-align: right; } .recipesWrap p { padding: 10px; } .largBtn { color: #00579f; text-align: center; border-radius: 20px; margin: 40px auto; border: 1px solid #00579f; padding: 20px; width: 50%; display: block; } .recipesWrap { margin: 20px 0px; } .largBtn:hover { color: #00579f; } .smallFont { font-size: 0.8rem; } .bannerTitle { margin-bottom: 20px; line-height: 35px; } .bannerDes { padding: 100px 0; position: relative; z-index: 2; color: #fff; } .bannerJPDDes { padding: 140px 0; position: relative; z-index: 2; color: #fff; } .mainBannerDetail { position: relative; } .bannerDes p, .bannerJPDDes p { border-radius: 10px; padding: 20px; width: 46%; border: 1px solid #fff; } .bannerProductImg { top: 32px; width: 45%; z-index: 3; right: 0px; position: absolute; } .bannerProductDes { z-index: 2; position: relative; padding: 40px 0px; background-color: #2b2b2b; } .globalsiteBtn { color: #81898b; line-height: 36px; padding-left: 34px; position: relative; } .globalsiteBtn:hover { color: #81898b; } .globalsiteBtn::before { content: ""; top: -2px; left: 0px; background-image: url(../img/f_global_logo.png); padding: 12px 15px; position: absolute; background-size: 100%; } .productColorBox { -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; -ms-transition: all 0.5s ease; transition: all 0.5s ease; width: 46%; border-radius: 20px; padding: 20px; box-shadow: 0px 4px 22px #cdcdcd; text-align: center; margin: 10px auto; } .marginBottom { margin-bottom: 20px; } .marginTop { margin-top: 20px; } .productIntroTitle { padding: 20px; } .productColor { margin-bottom: 40px; padding: 0 10%; display: flex; flex-direction: row; } .productIntroRow { margin: 40px 0px; } .valign { justify-content: center; align-items: center; } .productDetail, .productIntro { padding: 40px 0px; } .productTextDes { padding: 6% 20px; position: relative; z-index: 3; } .blueColor { color: #00579f; } .grayColor { color: #939c9e; } .orangeColor { color: #ff8801; } .whiteColor { color: #fff; } .ciWrap { text-align: right; } .darkBg { background-color: #f3f3f3; } .functionTableTitle { color: #fff; width: 30%; padding: 10px; background-color: #4c4c4c !important; } .functionTablelist { background-color: #f3f3f3 !important; } .functionTableWarp { margin: 0px; border: 1px solid #fff; } .functionTablelist ul li { display: inline-block; width: 32%; padding: 10px 20px; position: relative; vertical-align: top; } .functionTablelist ul { padding: 0; } .footer { margin: 0px; padding: 40px 0px; } .rightMarginTop { margin-top: 60px !important; } .videoRowWarp { padding: 40px 0px; } .productFunctions { padding: 60px 15px; } .functionTablelist i { font-size: 0.1rem; position: absolute; left: 0px; top: 16px; } .recipesWrap a:hover { color: #00579f; } .cardImg { background-size: cover; height: 300px; position: relative; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; -ms-transition: all 1s ease; transition: all 1s ease; } .cardImg i { opacity: 1; font-size: 5rem; z-index: 4; position: absolute; top: 50%; /* position the top edge of the element at the middle of the parent */ left: 50%; /* position the left edge of the element at the middle of the parent */ transform: translate(-50%, -50%); /* This is a shorthand of translateX(-50%) and translateY(-50%) */ color: #fff; } .videoBtn:hover .cardImg i { opacity: 1; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; -ms-transition: all 1s ease; transition: all 1s ease; } .cardImgWrap { overflow: hidden; } .videoBtn:hover .cardImg { -o-transform: scale(1.1); -ms-transform: scale(1.1); -moz-transform: scale(1.1); -webkit-transform: scale(1.1); transform: scale(1.1); } .videoBtn .cardImg::before { content: ""; opacity: 0.5; z-index: 1; background-color: rgba(0, 0, 0, 1); width: 100%; height: 100%; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; -ms-transition: all 1s ease; transition: all 1s ease; } .videoBtn:hover .cardImg::before { content: ""; opacity: 1; background-color: rgba(0, 0, 0, 0.5); width: 100%; height: 100%; z-index: 1; position: absolute; } .videoBtn:hover { text-decoration: none; } .videoRow { display: flex; flex-direction: row; } .videoCard { width: 47%; padding: 10px; margin: 0px 20px; } .videoCard p { padding: 10px 0px; } .productColorBox:hover { -o-transform: scale(1.05); -ms-transform: scale(1.05); -moz-transform: scale(1.05); -webkit-transform: scale(1.05); transform: scale(1.05); } .scrollToTop { text-align: center; color: #fff; font-size: 1.4rem; z-index: 1000; position: fixed; bottom: 50px; right: 20px; background: rgb(0, 0, 0); background: rgba(0, 0, 0, 0.7); width: 35px; height: 33px; display: block; text-decoration: none; -webkit-border-radius: 35px; -moz-border-radius: 35px; border-radius: 10px; display: none; -webkit-transition: all 0.3s linear; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } .scrollToTop:hover { color: #cdcdcd; } .step { vertical-align: top; display: inline-block; padding: 20px; border: 1px solid #cdcdcd; border-radius: 20px; } .riceItem { margin-bottom: 20px; } .step p { width: 100px; height: 2rem; line-height: 24px; }