/*====================================== 5. Home-style-2 =======================================*/ /* 5.1 wpo-about-section-s2 */ .wpo-about-section-s2{ background: url(../images/about-bg.jpg) no-repeat center center; background-size: cover; .wpo-about-content{ padding: 80px; background: $white; @media(max-width:1700px){ padding: 40px 20px; } @media(max-width:1400px){ padding-bottom: 20px; } @media(max-width:991px){ margin-top: 0; } .about-title{ h2{ @media(max-width:1400px){ font-size: 40px; line-height: 50px; } @media(max-width:575px){ font-size: 24px; line-height: 35px; margin-bottom: 0px; } } } .theme-btn{ margin-left: 40px; @media(max-width:1400px){ margin-left: 20px; } @media(max-width:430px){ margin-left: 0; margin-top: 20px; } } .about-info-wrap{ @media(max-width:500px){ flex-wrap: wrap; margin-top: 0; } .about-info-left{ @media(max-width:1400px){ padding-right: 15px; } p{ @media(max-width:1400px){ font-size: 16px; } } } .about-info-right{ @media(max-width:1400px){ padding-left: 15px; } } } } } /* 5.2 wpo-fun-fact-section-s2 */ .wpo-fun-fact-section-s2{ background: $white; padding-left: 140px; padding-right: 140px; @media(max-width:1400px){ padding-left: 30px; padding-right: 30px; } @media(max-width:991px){ padding-left: 0px; padding-right: 0px; } &:before{ display: none; } .grid{ h3{ color: $dark-gray; } p{ color: $text-color!important; } &:before{ background: #c6c6c6; } } } /* 5.3 wpo-service-area-s2 */ .wpo-service-area-s2{ .container-fluid{ padding: 0; } .wpo-service-items{ .wpo-service-item{ position: relative; .wpo-service-text{ text-align: center; background: rgba(255,255,255,.9); position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 215px; height: 150px; padding-top: 18px; @media(max-width:1600px){ padding: 30px 15px; } .fi{ &:before{ font-size: 50px; } margin-bottom: 30px; } a{ display: block; font-size: 20px; color: $dark-gray; font-weight: 600; @media(max-width:1400px){ font-size: 15px; } &:hover{ color: $theme-primary-color; } } } } .owl-controls { width: 100%; margin: 0; position: absolute; left: 0; top: 50%; @include translatingY(); } .owl-nav [class*=owl-] { padding: 0; margin: 0; color: $theme-primary-color; @include transition-time(0.3s); border: 0; background: none; .fi{ &::before{ font-size: 20px; color: $theme-primary-color-s2; } } } .owl-nav .owl-prev, .owl-nav .owl-next { position: absolute; top: 50%; @include translatingY(-50%); background: $white; width: 50px; height: 50px; border-radius: 50%; opacity: 0; transition: all .3s; &:hover{ background: $theme-primary-color; .fi{ &:before{ color: $white; } } } @media(max-width:575px){ display: none; } } .owl-nav .owl-prev { left: 35px; } .owl-nav .owl-next { right: 35px; } .owl-dots { text-align: center; bottom: -40px; position: relative; button{ width: 10px; height: 12px; border: 0; background: #d4e6f5; margin-right: 10px; border-radius: 50%; } .owl-dot.active{ background-color: $theme-primary-color; } } &:hover{ .owl-nav .owl-prev, .owl-nav .owl-next { opacity: 1; } } } @media(max-width:575px){ padding-bottom: 50px; } }