///////////////////////////// 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/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/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/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: 50%; @media (max-width: 1200px) { width: 80%; } @media (max-width: 992px) { 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: 250px; img { width: 60%; margin: 0 auto; cursor: pointer; } } } } .s2 { margin-top: 100px; .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; } &.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; &:lang(en) { text-align: left; } .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; .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; } } } } } .content { direction: rtl; text-align: right; &:lang(en) { direction: ltr; text-align: left; } a { color: blue; } p, a, span, b, ul, li, em, h1, h2, h3, h4, h5, h6, strong { font-family: 'sahel', sans-serif; direction: unset; text-align: unset; &:lang(en) { font-family: 'diodrum'; direction: unset; text-align: unset; } &[dir="ltr"] { direction: ltr; text-align: left; p, a, span, b, ul, li, em, h1, h2, h3, h4, h5, h6, strong { direction: ltr; text-align: left; } } &[dir="rtl"] { direction: rtl; text-align: right; p, a, span, b, ul, li, em, h1, h2, h3, h4, h5, h6, strong { direction: rtl; text-align: right; } } } } } .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; i { color: $red; margin-left: 5px; &:lang(en) { margin-left: 0; margin-right: 5px; } } } } } .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; p { direction: ltr; } } } .i1 { width: 100%; max-width: 325px; } .i2 { width: 100%; max-width: 768px; } } 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 { .appTitle { text-align: center; } .appMethod { text-align: center; margin-bottom: 50px; background: $red; padding: 15px; span { color: #fff; } .el-radio-button__orig-radio:checked + .el-radio-button__inner { background-color: $darkGray; border-color: $darkGray; @include boxShadow(-1px 0 0 0 $darkGray); } .el-radio-button .el-radio-button__inner { color: $red; } .el-radio-button.is-active .el-radio-button__inner { color: #fff; } } .appLayout { padding: 55px; background: $red; height: 100%; @include boxSizing(border-box); @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; } } } .el-input { //width: auto; // //@media (max-width: 600px) { // width: 100%; //} } .el-select { width: 100%; } .el-radio { margin-right: 20px; &:lang(fa) { margin-right: 0; margin-left: 20px; } } } } }