///////////////////////////// error page .error--page { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; h1 { font-family: sans-serif; font-size: 60px; } p { text-transform: uppercase; font-family: sans-serif; font-size: 14px; margin-top: -20px; } a { margin-top: 20px; font-family: 'sahel', sans-serif; } } ///////////////////////////// home page .home--page { .slider-container { overflow: hidden; #slider { overflow: hidden; .hero { overflow: hidden; .bg { //background-image: url("../img/home/hp-s1-i1.jpg"); } .txt--home { width: 400px; height: 300px; position: absolute; bottom: 20%; right: 200px; padding: 0 15px; @media (max-width: 768px) { right: 0; } @media (max-width: 400px) { width: 100%; } &:lang(en) { right: auto; left: 200px; @media (max-width: 768px) { left: 0; } } h1 { color: #fff; &:lang(en) { font-family: 'anton'; } } p { color: #fff; } } } .slick-dots { bottom: 80px; li { button::before { font-size: 10px; color: $red; } } } .slick-arrow { color: $red; z-index: 5; &.slick-prev { left: 80px; @media (max-width: 992px) { left: 40px; } } &.slick-next { right: 80px; @media (max-width: 992px) { right: 40px; } } } } } .s1 { position: relative; padding: 100px 0; .go-down-btn { width: 250px; height: 80px; background: #fff; text-align: center; position: absolute; top: -80px; left: calc(50% - 125px); z-index: 2; cursor: pointer; em { line-height: 80px; font-size: 30px; @extend %defaultTransition; } &:hover { em { color: $red; } } } .title-side { text-align: center; } } .s2 { text-align: center; @media (max-width: 1200px) { .section-bg { height: 450px; object-fit: cover; } } } .s3 { overflow-x: hidden; .panel { padding: 100px 100px 130px; } .parts { //width: 100%; &.p1 { width: 100%; text-align: center; p { display: inline-block; max-width: 480px; } } &.p2 { margin-top: 100px; } &.p3 { margin-top: 100px; } .txtBox { display: flex; width: 100%; height: 100%; flex-direction: column; justify-content: center; align-items: baseline; } } @media (max-width: 1200px) { .section-bg { height: 450px; object-fit: cover; } } } .s4 { .panel { padding: 100px 100px 200px; .parts { &.p1 { text-align: center; } } } .products { margin-top: -100px; padding: 0 100px; @media (max-width: 992px) { & { margin-top: 0; padding: 0; } } .parts { &.p2 { text-align: center; .product { display: block; background: #fff; padding-bottom: 20px; @extend %defaultBoxShadow; height: 100%; p { margin-top: 20px; } .imgBox { @extend %productHoverAnim; img { width: 100%; } } } } } } @media (max-width: 1200px) { .section-bg { height: 450px; object-fit: cover; } } } .s5 { position: relative; padding-bottom: 0; .txt { max-width: 600px; //height: 300px; position: absolute; top: 50%; right: 200px; @include transform(translateY(-50%)); &:lang(en) { right: auto; left: 200px; } .title { color: #fff; &::after { background: #fff; } span { display: block; font-size: 13px; color: #fff; } } p { margin-top: $mt; color: #fff; } @media (max-width: 992px) { //top: 50%; right: 0; //@include transform(translateY(-50%)); max-width: 100%; //height: auto; padding: 0 15px; &:lang(en) { right: auto; left: 0; } } } @media (max-width: 1600px) { & { .section-bg { height: 550px; object-fit: cover; } } } } .s6 { padding: 100px 0; background: #fff; .img-side { text-align: center; img { width: 100%; } } } } ///////////////////////////// about page .about--page { overflow: hidden; .hero { .bg { background-image: url("../img/about/hero.jpg"); } } .s1 { .parts { margin-bottom: 100px; &.p1 { text-align: center; direction: ltr; svg { width: 80px; } span { color: $theme; font-family: 'diodrum-bold'; font-size: 40px; @media (max-width: 450px) { font-size: 30px; } @media (max-width: 300px) { font-size: 25px; } } p { margin-top: 50px; direction: rtl; &:lang(en) { direction: ltr; } @media (max-width: 992px) { text-align: right; &:lang(en) { text-align: left; } } } } &.p2 { align-items: center; } &.p3 { align-items: center; } &.p4 { margin-bottom: 0; text-align: center; @media (max-width: 992px) { text-align: right; &:lang(en) { text-align: left; } } } } } .s2 { text-align: center; .timeline { width: 100%; display: flex; align-items: center; margin-top: 50px; .circle { position: relative; flex-basis: 15px; flex-shrink: 0; flex-grow: 1; height: 15px; border: 1px solid rgba(#000, 0.3); @include borderRadius(50%); @extend %defaultTransition; cursor: pointer; &.active { border: 1px solid $red; background: $red; span { color: $red; } } span { display: block; position: absolute; bottom: -40px; left: 50%; @include transform(translateX(-50%)); @extend %defaultTransition; } &:hover { border: 1px solid $red; span { color: $red; } } } .line { height: 2px; background: rgba(#000, 0.3); flex-basis: 100%; @extend %defaultTransition; &.active { background: $red; } } } .timeline-content { margin-top: 150px; .txtBox { display: flex; height: 100%; flex-direction: column; justify-content: center; text-align: right; &:lang(en) { text-align: left; } p { margin-top: 30px; } } .imgBox { width: 100%; img { width: 100%; } } } } .s3 { background: $theme; padding: 100px 0 150px; .title { color: #fff; &::after { background: #fff; } } p { color: #fff; margin-top: $mt; max-width: 700px; } } .s4 { padding-bottom: 0; .panel { direction: ltr; .txt { direction: ltr; text-align: left; p { font-family: 'diodrum-bold'; } @media (max-width: 992px) { text-align: center; margin-top: 30px; } } .img { text-align: center; } &:not(.p1) { margin-top: 20px; } } } } ///////////////////////////// services page .services--page { overflow-x: hidden; .hero { .bg { background-image: url('../img/services/hero.jpg'); } } .s1 { text-align: center; .top { .subtitle { margin-bottom: 30px; } } .content { text-align: right; &:lang(en) { text-align: left; } p { margin-bottom: 30px; } ul { margin-top: 10px; li { margin-bottom: 10px; p { display: inline-block; margin-bottom: 0; } } } .images { display: flex; justify-content: center; align-items: center; margin-top: 100px; flex-wrap: wrap; img { margin: 0 20px; @media (max-width: 768px) { margin-bottom: 10px; } } } } } .s2 { .parts { margin-top: 100px; &.p1 { margin-top: 0; text-align: center; } &.lastPart { text-align: center; } } @media (max-width: 1200px) { .section-bg { height: 450px; object-fit: cover; } } } } ///////////////////////////// products page .products--page { .hero { .bg { background-image: url('../img/products/hero.jpg'); } } .s1 { text-align: center; } .s2 { text-align: center; .product { display: block; background: #fff; padding-bottom: 30px; text-align: right; height: 100%; @extend %defaultBoxShadow; &:lang(en) { text-align: left; } .imgBox { @extend %productHoverAnim; img { width: 100%; } } h4 { padding: 0 15px; margin-top: 20px; } p { padding: 0 15px; margin-top: 15px; } } .no-product { background: $red; color: #fff; padding: 20px; margin-bottom: 50px; text-align: center; } } .s3 { background: #fff; margin-top: 100px; margin-bottom: 200px; padding: 0; text-align: center; position: relative; .panel { background: $theme; padding-bottom: 50px; .title { color: #fff; padding-bottom: 30px; span { display: block; &.subtitle { font-size: 14px; margin-top: 20px; color: #fff; } } &.title-shape-center { &::after { background: #fff; } } } p { color: #fff; margin-top: 20px; } a { margin-top: 100px; } &::before { display: block; content: ''; width: 100%; height: 100px; position: absolute; top: -90px; left: 0; background: $theme; } &::after { display: block; content: ''; width: 100%; height: 100px; position: absolute; bottom: -90px; left: 0; background: $theme; } } } } ///////////////////////////// products page .product-details--page { .hero { .bg { background-image: url('../img/products/products-hero.jpg'); } } .s1 { text-align: center; .image-preview { background: $bg; //width: 100%; padding: 100px; @include transform(translateY(200px)); @extend %defaultBoxShadow; @media (max-width: 768px) { padding: 0; } img { width: 100%; } } .images-carousel { padding: 0 50px; position: relative; &::before { content: ''; display: block; width: 100%; height: 50%; background: $darkGray; position: absolute; top: 50%; left: 0; @include transform(translateY(-50%)); } .slick-next { right: -25px; } .slick-prev { left: -25px; } #images { margin-top: 80px; img { width: 60%; min-height: 100px; object-fit: cover; margin: 0 auto; cursor: pointer; border: 3px solid transparent; @extend %defaultTransition; &.selected { border: 3px solid $red; } } } } } .s2 { margin-top: 200px; .parts { margin-top: 100px; &.p1 { text-align: center; margin-top: 0; margin-bottom: 100px; } } } .s3 { margin-top: 100px; .parts { margin-top: 100px; &.p1 { margin-top: 0; .title { display: block; text-align: center; } p { text-align: center; } } &.p2 { img { display: block; width: 90%; margin: 0 auto 20px; } p { text-align: center; } } &.p3 { text-align: center; img { width: 100%; } } &.p4 { h2 { margin-bottom: 50px; text-align: center; } .files { display: flex; justify-content: center; flex-wrap: wrap; .file { text-align: center; margin: 10px 20px; p { margin-top: 10px; } .btn { background: $theme; border-color: $theme; } } } } } } .s4 { text-align: center; } } ///////////////////////////// projects page .projects--page { .hero { .bg { background-image: url('../img/projects/hero.jpg'); } } .s1 { text-align: center; .projects { direction: ltr; .project { margin-top: 100px; .caption { margin-top: 50px; h4 { margin-bottom: 20px; } .description { margin-bottom: 20px; } } } .slick-slide { .imgBox { width: 100%; position: relative; img { @extend %defaultTransition; &.bg { display: block; width: 100%; opacity: 0; } &.img { display: block; position: absolute; width: 90%; top: 50%; left: 50%; @include transform(translate(-50%, -50%)); @extend %defaultTransition; } } } &.slick-center { .imgBox { img { &.img { width: 100%; top: 0; left: 0; @include transform(translate(0, 0)); } } } } } .slick-prev { left: 25px; z-index: 5; } .slick-next { right: 25px; z-index: 5; } } .no-project { p { background: $red; color: #fff; padding: 20px; margin-top: 80px; text-align: center; } } } .s2 { background: $theme; margin-top: -200px; padding-top: 200px; text-align: center; margin-bottom: 100px; .title { display: block; color: #fff; } } } ///////////////////////////// blog page .blog--page { .hero { .bg { background-image: url('../img/blog/hero.jpg'); } } .s1 { text-align: center; } .s2 { text-align: center; padding-bottom: 0; .filters { margin-bottom: 0; } } .s3 { .post { margin-top: 50px; .panel { display: flex; padding-top: 30px; padding-bottom: 30px; margin-top: 0; @media (max-width: 1200px) { padding-left: 15px; } @media (max-width: 992px) { flex-wrap: wrap; padding-top: 15px !important; padding-bottom: 15px !important; } .imgBox { flex-basis: 30%; @media (max-width: 992px) { flex-basis: 100%; } .img { width: 140%; position: relative; @media (max-width: 992px) { width: 100%; } &::before { content: ''; display: block; width: 80%; height: 70%; background: $theme; position: absolute; top: -15px; right: -15px; z-index: -1; } &:lang(en) { &::before { right: auto; left: -15px; } } img { width: 100%; height: 100%; object-fit: cover; } } } .txtBox { flex-basis: 70%; padding: 0 15px; @media (max-width: 992px) { flex-basis: 100%; } .date-category { width: 100%; text-align: right; margin-bottom: 30px; span { font-family: 'sahel', sans-serif; } &:lang(en) { text-align: left; span { font-family: 'diodrum', sans-serif; } } .category { margin-left: 20px; &:lang(en) { margin-left: 0; margin-right: 20px; } span { display: inline-block; } } } .btn { float: left; margin-top: 50px !important; @media (max-width: 1400px) { margin-top: 40px !important; } @media (max-width: 1200px) { margin-top: 30px !important; } } h4 { margin-bottom: 20px; } } } } .no-post { background: $red; color: #fff; padding: 20px; margin-top: 70px; text-align: center; } } } ///////////////////////////// blog details page .blog-details--page { .hero { .bg { background-image: url('../img/blog/hero.jpg'); } } .s1 { .date-category { text-align: center; margin-bottom: 80px; span { font-family: 'sahel', sans-serif; &:lang(en) { font-family: 'diodrum', sans-serif; } } .category { display: block; margin-bottom: 10px; } } .share { text-align: center; margin-top: 100px; ul { display: flex; justify-content: center; margin-top: 30px; li { margin: 0 30px; a { &:hover { i { opacity: 1; } } i { color: $red; opacity: 0.7; @extend %defaultTransition; } } } } } } .s2 { text-align: center; padding-bottom: 0; .title { display: block; } } } ///////////////////////////// contact page .contact--page { .hero { .bg { background-image: url('../img/contact/hero.jpg'); } } .s1 { .p1 { text-align: center; margin-bottom: 50px; } .p2 { ul { li { margin-bottom: 30px; a { @extend %defaultTransition; &:hover { color: $theme; b { color: $theme; } } i { color: $red; margin-left: 5px; &:lang(en) { margin-left: 0; margin-right: 5px; } } .phone-number { display: inline-block; direction: ltr !important; text-align: left; } } } } } .p3 { hr { border: 0.1px solid rgba(#000, 0.1); margin-bottom: 30px; } b { display: block; margin-bottom: 20px; } ul { margin-top: 30px; li { display: inline-block; margin-left: 20px; &:lang(en) { margin-left: 0; margin-right: 20px; } a { &:hover { i { color: $red; } } i { color: rgba(#000, 0.3); @extend %defaultTransition; font-size: 20px; } } } } } .p4 { position: relative; height: 200px; .mapouter { position: absolute; top: 50px; left: 0; } } } .s2 { margin-top: 300px; h2 { display: block; width: 100%; max-width: 700px; margin: 0 auto; text-align: center; line-height: 1.6em; } .form { margin-top: 50px; } } } ///////////////////////////// technical information page .tech-info--page { .hero { .bg { background-image: url('../img/tech-info/hero.jpg'); } } .s1 { .content { &.gTech { .imgBox { margin-top: 50px; width: 100%; text-align: center; img { width: 100%; max-width: 500px; } } } &.gStandard { ul { padding-right: 15px; li { list-style: decimal; list-style-position: outside; a { direction: ltr; color: $theme; @extend %defaultTransition; &:hover { color: $red; } } } } .i1 { width: 100%; max-width: 325px; } .i2 { width: 100%; max-width: 768px; } } &.gUsage { img { display: block; margin-top: 50px; margin-left: auto; margin-right: auto; width: 800px; max-width: 100%; } } h2 { margin-top: 80px; margin-bottom: 30px; &.first { margin-top: 0; } } p { margin-bottom: 20px; a { color: $theme; @extend %defaultTransition; &:hover { color: $red; } } } ul { margin-top: 40px; li { margin-bottom: 10px; p { margin: 0; } } } } } .s2 { text-align: center; padding-bottom: 0; .title { display: block; margin-bottom: 10px; } } } ///////////////////////////// calculation page .calculation--page { .hero { .bg { background-image: url('../img/calculation/hero.jpg'); } } .s1 { } .s2 { .app { $appLayoutPadding: 55px; @include transition(0.1s); & > .container-fluid, & > .container-fluid .row { padding: 0 !important; } .appTitle { text-align: center; .title { font-size: 30px; @media (max-width: 1400px) { font-size: 25px; } } } .appMethod { text-align: center; margin-bottom: 50px; background: $theme; padding: 15px; .txt { display: inline-block; margin: 0 10px 10px; } span { color: #fff; } .el-radio-button__orig-radio:checked + .el-radio-button__inner { background-color: $darkGray; border-color: #fff; @include boxShadow(-1px 0 0 0 $darkGray); } .el-radio-button .el-radio-button__inner { color: $theme; @extend %userSelect; @media (max-width: 530px) { font-size: 12px; } } .el-radio-button.is-active .el-radio-button__inner { color: #fff; } } .appLayout { padding: $appLayoutPadding; background: $theme; height: 100%; @include boxSizing(border-box); position: relative; @media (max-width: 1400px) { padding: 55px 15px; } span, p, b, * { color: #fff; } input { color: $red; } button { color: $red; span { color: $red; } } .layoutTitle { margin-bottom: 50px; } .class { margin-bottom: 40px; h4 { margin-bottom: 15px; } } .calculateBtn { text-align: center; .btn { @include borderRadius(5px); &:hover { background: $darkGray; color: #fff; } } } .el-radio { margin-bottom: 15px; } .el-radio__input.is-checked .el-radio__inner { background-color: $darkGray; border-color: $darkGray; } .el-form-item__label { @media (max-width: 600px) { float: none !important; &:lang(fa) { float: none !important; } } } .el-form-item__content { margin-left: 200px !important; @media (max-width: 600px) { margin-left: 0 !important; } &:lang(fa) { margin-left: 0 !important; margin-right: 200px !important; @media (max-width: 600px) { margin-right: 0 !important; } } } .el-input--suffix .el-input__inner { padding-right: 15px; } .el-input__inner { &::placeholder { color: $darkGray; } } .err { color: $red; } .copyRight { position: absolute; width: 100%; font-size: 12px; bottom: 5px; left: 0; p { color: rgba(#fff, 0.5); text-align: center; width: 100%; a { @keyframes blinking { from { color: rgba(#fff, 0.5); } to { color: rgba(#fff, 0.7); } } @include animation(blinking 1s alternate-reverse infinite); @extend %defaultTransition; color: rgba(#fff, 0.5); &:hover { color: rgba(#fff, 1); } } } } } .el-input { //width: auto; // //@media (max-width: 600px) { // width: 100%; //} input { font-family: 'sahel', 'diodrum', sans-serif; &:lang(en) { font-family: 'diodrum', sans-serif; } &::placeholder { font-family: 'sahel'; &:lang(en) { font-family: 'diodrum'; } } } .el-input__suffix { right: auto; left: 5px; &:lang(en) { right: 5px; left: auto; } .el-input__icon { color: #000; } } } .el-select { width: 100%; } .el-radio { margin-right: 20px; &:lang(fa) { margin-right: 0; margin-left: 20px; } } .appResult { background: lightgray; padding-left: $appLayoutPadding; padding-right: $appLayoutPadding; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; .success { color: #67C23A; } .failure { color: $red; } @keyframes waiting { from { opacity: 1; } to { opacity: 0; } } p { font-size: 0; letter-spacing: -10px; font-weight: bold; } .waiting { @include animation(waiting 0.7s alternate-reverse infinite); } } .weight { margin-top: 30px; background: lightgray; padding: 20px; text-align: center; opacity: 0; p { font-size: 0; letter-spacing: -10px; } .colored { color: $theme; } } } } .s3 { .notice { color: red; font-size: 14px; display: none; @media (max-width: 992px) { display: block; } } .tableBox { width: 100%; overflow: auto; table { width: 100%; min-width: 960px; border: 1px solid rgba(#000, 1); thead { background: $theme; color: #fff; th { padding: 20px; font-family: 'sahel-LD', 'diodrum', sans-serif; direction: ltr; &.middle { border-left: 2px solid rgba(#fff, 0.4) !important; border-right: 2px solid rgba(#fff, 0.4) !important; } } } tbody { background: rgba($theme, 0.2); color: #000; tr { line-height: 1.3em; td { border: 1px solid rgba(#000, 1); padding: 20px; font-family: 'sahel-LD', 'diodrum', sans-serif; direction: ltr; text-align: center; &:last-child { direction: ltr !important; } } &.odd { background: rgba(#000, 0.1); } } } } &.vehicles { } &.forklifts { margin-top: 50px; } } } }