home.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779
  1. @import '../app.scss';
  2. // Fonts
  3. @import '../fonts/awesome/awesome-font.css';
  4. @import '../fonts/iransans/iransans-font.css';
  5. body {
  6. font-family: iransans;
  7. }
  8. h1 {
  9. font-size: 1.5rem;
  10. }
  11. h2 {
  12. font-size: 1.4rem;
  13. }
  14. h3 {
  15. font-size: 1.3rem;
  16. }
  17. h4 {
  18. font-size: 1.2rem;
  19. }
  20. h5 {
  21. font-size: 1.1rem;
  22. }
  23. h6 {
  24. font-size: 1rem;
  25. }
  26. .fs-8 {
  27. font-size: 0.8rem;
  28. }
  29. a {
  30. transition: all 0.3s ease-in-out;
  31. text-decoration: none;
  32. &:hover {
  33. text-decoration: none;
  34. }
  35. }
  36. // navbar
  37. .navbar {
  38. min-height: 80px;
  39. .nav-link {
  40. transition: all 0.3s ease-in-out;
  41. font-weight: 600;
  42. padding: 0 0.875rem;
  43. @media screen and (max-width: 991px){
  44. padding: 0.375rem 0;
  45. font-weight: 500;
  46. //border-top: 1px solid #eee;
  47. border-top: 1px dashed #eee;
  48. }
  49. }
  50. .navbar-toggler{
  51. height: 64px;
  52. border: none;
  53. padding: 0;
  54. outline: none;
  55. &:focus{
  56. box-shadow: none;
  57. }
  58. .hamburger-toggle{
  59. position: relative;
  60. display: inline-block;
  61. width: 50px;
  62. height: 50px;
  63. z-index: 11;
  64. float: right;
  65. .hamburger {
  66. position: absolute;
  67. transform: translate(-50%, -50%) rotate(0deg);
  68. //left: 50%;
  69. left: 25px;
  70. top: 50%;
  71. width: 50%;
  72. height: 50%;
  73. pointer-events: none;
  74. span {
  75. width: 100%;
  76. height: 4px;
  77. position: absolute;
  78. background: $secondary;
  79. border-radius: 2px;
  80. z-index: 1;
  81. transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0), background 0.2s cubic-bezier(0.77,0.2,0.05,1.0), all 0.2s ease-in-out;
  82. left: 0px;
  83. &:first-child{
  84. top: 10%;
  85. transform-origin: 50% 50%;
  86. transform: translate(0% -50%) !important;
  87. }
  88. &:nth-child(2){
  89. top: 50%;
  90. transform: translate(0,-50%);
  91. }
  92. &:last-child{
  93. left: 0px;
  94. top: auto;
  95. bottom: 10%;
  96. transform-origin: 50% 50%;
  97. }
  98. }
  99. &.active{
  100. span {
  101. position: absolute;
  102. margin: 0;
  103. &:first-child{
  104. top: 45%;
  105. transform: rotate(45deg);
  106. }
  107. &:nth-child(2){
  108. left: 50%;
  109. width: 0px;
  110. }
  111. &:last-child{
  112. top: 45%;
  113. transform: rotate(-45deg);
  114. }
  115. }
  116. }
  117. }
  118. }
  119. }
  120. .navbar-nav {
  121. //padding-right: 1.25rem;
  122. padding: 0 1rem;
  123. }
  124. }
  125. .navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .nav-link.active,
  126. .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
  127. color: $secondary;
  128. }
  129. // footer
  130. footer {
  131. line-height: 2;
  132. text-align: justify;
  133. background-color: #212529;
  134. color: $white;
  135. padding: 2rem 0;
  136. .about {
  137. text-align: justify;
  138. line-height: 2;
  139. }
  140. hr {
  141. background-color: $white;
  142. opacity: 1;
  143. }
  144. .menu-footer_menu {
  145. list-style: none;
  146. line-height: 2;
  147. padding-right: 0;
  148. padding-left: 0;
  149. display: flex;
  150. flex-wrap: wrap;
  151. @media screen and (max-width: 991px) {
  152. justify-content: center;
  153. }
  154. .menu-item {
  155. margin-left: 1.25rem;
  156. @media screen and (max-width: 991px) {
  157. margin: 0 0.75rem;
  158. }
  159. a {
  160. color: $white;
  161. }
  162. }
  163. }
  164. .social {
  165. a {
  166. color: $white;
  167. }
  168. }
  169. .newsletter-subscription {
  170. .input-group {
  171. max-width: 300px;
  172. @media screen and (max-width: 320px) {
  173. max-width: 100%;
  174. }
  175. }
  176. .input-subscription {
  177. text-align: right;
  178. }
  179. }
  180. }
  181. // style for content single article page
  182. .container-article-width {
  183. @media screen and (min-width: 1400px){
  184. max-width: 1200px;
  185. }
  186. @media screen and (min-width: 1200px) and (max-width: 1399px){
  187. max-width: 750px;
  188. }
  189. @media screen and (min-width: 992px) and (max-width: 1199px){
  190. max-width: 800px;
  191. }
  192. .article-content-holder {
  193. margin: 3rem 0;
  194. .title {
  195. margin-bottom: 1.5rem;
  196. line-height: 2;
  197. color: $primary;
  198. }
  199. .author-published-holder {
  200. display: flex;
  201. align-items: center;
  202. margin-bottom: 1.5rem;
  203. .author-avatar {
  204. width: 3rem;
  205. height: 3rem;
  206. border-radius: 50%;
  207. }
  208. .author-published-text {
  209. margin-right: 0.75rem;
  210. .author-name {
  211. margin-bottom: 0.625rem;
  212. }
  213. .published-at {
  214. color: lighten($gray, 20);
  215. font-size: 80%;
  216. }
  217. }
  218. }
  219. .content-text {
  220. h1, h2, h3, h4,h5, h6 {
  221. margin-top: 2em;
  222. margin-bottom: 1em;
  223. &:first-child {
  224. margin-top: 0;
  225. }
  226. }
  227. div {
  228. text-align: justify;
  229. line-height: 2;
  230. margin-bottom: 0.75rem;
  231. }
  232. ul {
  233. list-style-type: none;
  234. padding-right: 1.2rem;
  235. padding-left: 1.2rem;
  236. li {
  237. line-height: 2;
  238. &:before {
  239. content: '✓';
  240. color: $primary;
  241. padding: 2px 0 2px 2px;
  242. font-weight: 600;
  243. }
  244. }
  245. }
  246. ol {
  247. counter-reset: item;
  248. padding-right: 1.2rem;
  249. padding-left: 1.2rem;
  250. li {
  251. display: block;
  252. line-height: 2;
  253. &:before {
  254. content: counter(item) ". ";
  255. counter-increment: item;
  256. color: $primary;
  257. font-weight: 600;
  258. }
  259. }
  260. }
  261. div {
  262. img {
  263. margin: 1rem 0;
  264. @media screen and (max-width: 992px){
  265. max-width: 100%;
  266. }
  267. }
  268. }
  269. video {
  270. margin: 1rem 0;
  271. width: 100%;
  272. }
  273. table {
  274. margin: 1rem 0;
  275. thead {
  276. background-color: $primary;
  277. color: $white;
  278. }
  279. }
  280. blockquote{
  281. background: #f9f9f9;
  282. border-right: 0.625rem solid $info;
  283. margin: 0.5rem 1.2rem;
  284. padding: 10px 20px;
  285. &:before {
  286. content: '\201D';
  287. line-height: 0;
  288. right: -11px;
  289. position: relative;
  290. top: 30px;
  291. color: $info;
  292. font-size: 3em;
  293. }
  294. }
  295. }
  296. }
  297. .article-button {
  298. display: flex;
  299. justify-content: space-between;
  300. align-items: center;
  301. margin-bottom: 3rem;
  302. }
  303. }
  304. // comments
  305. .comment-customers {
  306. .parent-reply-body {
  307. .reply-post {
  308. border-left: 1px solid;
  309. color: lighten($gray, 20);
  310. height: 22px;
  311. padding-left: 0.625rem;
  312. .reply-post-icon {
  313. transition: all 0.5s ease;
  314. &:hover {
  315. cursor: pointer;
  316. }
  317. }
  318. }
  319. .reply-post-like-button {
  320. padding-right: 0.625rem;
  321. font-size: 15px;
  322. display: inline-block;
  323. color: #afb6bc;
  324. }
  325. .user-description {
  326. display: flex;
  327. justify-content: space-between;
  328. align-items: center;
  329. margin-bottom: 0.5rem;
  330. @media screen and (max-width: 576px){
  331. align-items: baseline;
  332. }
  333. .user-description-holder {
  334. display: flex;
  335. align-items: flex-end;
  336. @media screen and (max-width: 576px){
  337. align-items: flex-start;
  338. flex-direction: column;
  339. }
  340. }
  341. .user-name {
  342. color: $primary;
  343. font-weight: 600;
  344. padding-left: 0.625rem;
  345. @media screen and (max-width: 576px){
  346. margin-bottom: 0.5rem;
  347. }
  348. }
  349. .item-details {
  350. display: flex;
  351. align-items: baseline;
  352. color: lighten($gray, 20);
  353. font-size: 80%;
  354. .item-details-clock {
  355. margin-left: 0.25rem;
  356. }
  357. .item-details-time {
  358. border-right: 1px solid;
  359. padding-right: 0.25rem;
  360. }
  361. .item-details-date {
  362. padding-left: 0.25rem;
  363. }
  364. }
  365. }
  366. .user-comment-text {
  367. margin: 1rem 0;
  368. text-align: justify;
  369. }
  370. }
  371. .form-reply-opinion {
  372. margin: 0.5rem 0 1.5rem;
  373. }
  374. }
  375. // latest article in single bolg page
  376. .latest-article {
  377. .card {
  378. background: transparent;
  379. border: none
  380. }
  381. .card-title {
  382. line-height: 2;
  383. text-align: justify;
  384. color: $primary;
  385. }
  386. .card-text {
  387. text-align: justify;
  388. }
  389. .author-published-holder {
  390. display: flex;
  391. align-items: center;
  392. margin-bottom: 1.5rem;
  393. margin-top: 1rem
  394. }
  395. .author-avatar {
  396. width: 3rem;
  397. height: 3rem;
  398. border-radius: 50%;
  399. }
  400. .author-published-text {
  401. margin-right: 0.75rem;
  402. }
  403. .author-name {
  404. margin-bottom: 0.625rem;
  405. }
  406. .published-at {
  407. color: lighten($gray, 20);
  408. font-size: 80%;
  409. }
  410. }
  411. // pagination
  412. .pagination-holder {
  413. margin-top: 2rem;
  414. .pagination {
  415. padding-right: 0;
  416. }
  417. .page-item:first-child .page-link {
  418. border-top-left-radius: 0;
  419. border-bottom-left-radius: 0;
  420. border-top-right-radius: 0.25rem;
  421. border-bottom-right-radius: 0.25rem;
  422. }
  423. .page-item:last-child .page-link {
  424. border-top-right-radius: 0;
  425. border-bottom-right-radius: 0;
  426. border-top-left-radius: 0.25rem;
  427. border-bottom-left-radius: 0.25rem;
  428. }
  429. }
  430. // style for category blog page
  431. .article-category-title-holder {
  432. color: $primary;
  433. line-height: 2;
  434. }
  435. .article-category-content-holder {
  436. .article-content {
  437. position: relative;
  438. padding: 32px 32px;
  439. transition: all 0.3s ease-in-out;
  440. border-bottom: 1px solid #e8eaf1;
  441. &:hover {
  442. background-color: #e8eaf1;
  443. border-bottom: 1px solid #e8eaf1;
  444. border-radius: 0.25rem;
  445. }
  446. .sub-title {
  447. color: lighten($gray, 20);
  448. font-size: 80%;
  449. display: flex;
  450. justify-content: space-between;
  451. margin-bottom: 0.25rem;
  452. @media screen and (max-width: 576px) {
  453. flex-direction: column;
  454. }
  455. .fa {
  456. color: $info;
  457. }
  458. .published-at {
  459. margin-left: 0.625rem;
  460. }
  461. }
  462. .title {
  463. font-size: 1.1rem;
  464. font-weight: 500;
  465. line-height: 2;
  466. }
  467. .lead-text {
  468. margin-top: 0.625rem;
  469. color: $gray;
  470. line-height: 2;
  471. text-align: justify;
  472. }
  473. .category {
  474. margin-top: 0.75rem;
  475. }
  476. .article-footer {
  477. margin-top: 1.2rem;
  478. display: flex;
  479. align-items: center;
  480. justify-content: space-between;
  481. .author-published-holder {
  482. display: flex;
  483. align-items: center;
  484. .author-avatar {
  485. width: 3rem;
  486. height: 3rem;
  487. border-radius: 50%;
  488. }
  489. .author-name {
  490. margin-right: 0.75rem;
  491. }
  492. }
  493. /*.duration-of-study {
  494. color: lighten($gray, 20);
  495. font-size: 80%;
  496. @media screen and (max-width: 576px) {
  497. margin-top: 0.75rem;
  498. }
  499. }*/
  500. }
  501. }
  502. }
  503. // -----------------------home
  504. //banner home page
  505. .banner-holder {
  506. .banner-item {
  507. min-height: 545px;
  508. position: relative;
  509. background-size: cover !important;
  510. background-position: center center !important;
  511. display: flex;
  512. align-items: center;
  513. justify-content: center;
  514. @media screen and (max-width: 991px){
  515. display: none;
  516. }
  517. .content-holder {
  518. width: 50%;
  519. text-align: center;
  520. .content-title {
  521. font-size: 1.8rem;
  522. font-weight: 700;
  523. line-height: 3;
  524. color: $primary;
  525. }
  526. .content-sub-title {
  527. line-height: 2;
  528. color: $primary;
  529. font-weight: 500;
  530. font-size: 1.1rem;
  531. }
  532. }
  533. }
  534. .banner-item-md {
  535. @media screen and (min-width: 992px){
  536. display: none;
  537. }
  538. .img-holder {
  539. position: relative;
  540. .overlay-img {
  541. position: absolute;
  542. left: 0;
  543. right: 0;
  544. top: 0;
  545. bottom: 0;
  546. background: linear-gradient(rgba(245, 245, 245, 0.7), rgba(226, 226, 226, 0.5));
  547. }
  548. .content {
  549. position: absolute;
  550. top: 50%;
  551. left: 50%;;
  552. transform: translate(-50%,-50%);
  553. width: 95%;
  554. text-align: center;
  555. .content-title {
  556. color: $primary;
  557. font-weight: 600;
  558. font-size: 1.1rem;
  559. line-height: 2;
  560. @media screen and (max-width: 425px) {
  561. font-size: 0.9rem;
  562. font-weight: 500;
  563. }
  564. }
  565. .content-sub-title {
  566. color: $primary;
  567. font-weight: 500;
  568. line-height: 2;
  569. @media screen and (max-width: 425px) {
  570. font-size: 0.7rem;
  571. font-weight: 400;
  572. }
  573. }
  574. }
  575. }
  576. }
  577. }
  578. // services home page
  579. .services-holder {
  580. text-align: center;
  581. padding: 2.5rem 0 ;
  582. .feature-box-holder {
  583. background-color: $white;
  584. border-radius: 0.93rem;
  585. padding: 1.5rem 1.8rem;
  586. position: relative;
  587. filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.099));
  588. border-bottom-width: 4px;
  589. border-bottom-style: solid;
  590. border-bottom-color: $secondary;
  591. transition: all .4s ease;
  592. border-top-width: 4px;
  593. border-top-style: solid;
  594. border-top-color: transparent;
  595. box-sizing: border-box;
  596. @media screen and (max-width: 991px){
  597. margin-bottom: 3rem;
  598. }
  599. &:hover {
  600. border-top-width: 4px;
  601. border-top-style: solid;
  602. border-top-color: $secondary;
  603. }
  604. .featured-icon-holder {
  605. position: absolute;
  606. top: -38px;
  607. right: 25px;
  608. .featured-icon {
  609. height: 63px;
  610. width: 63px;
  611. line-height: 63px;
  612. background-color: $secondary;
  613. border-radius: 50%;
  614. display: flex;
  615. align-items: center;
  616. justify-content: center;
  617. i {
  618. color: $white;
  619. font-size: 1.2rem;
  620. }
  621. }
  622. }
  623. .feature-content {
  624. .feature-title {
  625. text-align: justify;
  626. font-size: 1.04rem;
  627. line-height: 2;
  628. font-weight: 500;
  629. margin: 0.5rem 0 0.35rem 0;
  630. }
  631. .sub-title {
  632. text-align: justify;
  633. line-height: 2;
  634. color: lighten($gray , 10);
  635. }
  636. .link-holder {
  637. font-size: 85%;
  638. text-align: justify;
  639. font-weight: 500;
  640. margin-top: 0.625rem;
  641. a {
  642. &:hover {
  643. color: $secondary;
  644. }
  645. }
  646. }
  647. }
  648. }
  649. .end-button {
  650. display: inline-block;
  651. width: 100%;
  652. position: relative;
  653. margin-top: 2.75rem;
  654. @media screen and (max-width: 991px){
  655. margin-top: 0;
  656. }
  657. &:before, &:after {
  658. position: absolute;
  659. content: "";
  660. right: auto;
  661. left: 50%;
  662. top: 20px;
  663. height: 1px;
  664. width: 30%;
  665. margin: 0 40px;
  666. background-color: lighten($gray, 40);
  667. transition: all .4s;
  668. }
  669. &:before {
  670. right: auto;
  671. left: 50%;
  672. }
  673. &:after {
  674. right: 50%;
  675. left: 0;
  676. }
  677. span {
  678. display: flex;
  679. align-items: center;
  680. justify-content: center;
  681. position: relative;
  682. height: 40px;
  683. width: 40px;
  684. line-height: 37px;
  685. font-size: 1.25rem;
  686. font-weight: 400;
  687. border-radius: 50%;
  688. border: 1px solid;
  689. margin: 0 auto;
  690. transition: all .4s;
  691. }
  692. }
  693. .end-button-text {
  694. margin-top: 0.6rem;
  695. }
  696. }
  697. // title section for home page
  698. .title {
  699. font-weight: 600;
  700. font-size: 1.4rem;
  701. line-height: 2;
  702. margin-bottom: 0.5rem;
  703. text-align: center;
  704. }
  705. .title-desc {
  706. width: 70%;
  707. margin: 0 auto 72px;
  708. font-size: 0.875rem;
  709. line-height: 2;
  710. color: lighten($gray , 10);
  711. @media screen and (max-width: 768px) {
  712. width: 95%;
  713. }
  714. }
  715. // customer home page
  716. .customer-holder {
  717. background-color: $white;
  718. text-align: center;
  719. padding: 2.5rem 0;
  720. .title-desc {
  721. margin-bottom: 2.5rem;
  722. }
  723. .owl-carousel {
  724. .item {
  725. img {
  726. display: block;
  727. width: 100%;
  728. opacity: 0.2;
  729. transition: ease opacity 500ms;
  730. &:hover {
  731. opacity: 1;
  732. }
  733. }
  734. }
  735. }
  736. }
  737. // contact-us home page
  738. .contact-us-holder {
  739. text-align: center;
  740. padding: 2.5rem 0;
  741. .submit-holder {
  742. text-align: right;
  743. }
  744. .contact-info-holder {
  745. .contact-info {
  746. display: flex;
  747. margin-bottom: 1rem;
  748. .fa {
  749. color: $secondary;
  750. }
  751. }
  752. .contact-info-content {
  753. text-align: right;
  754. margin-right: 0.75rem;
  755. .contact-title {
  756. color: $secondary;
  757. }
  758. }
  759. }
  760. }