home.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  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 lighten($secondary, 11);
  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: lighten($secondary, 11);
  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. color: lighten($secondary, 10);
  315. &:hover {
  316. cursor: pointer;
  317. }
  318. }
  319. }
  320. .reply-post-like-button {
  321. padding-right: 0.625rem;
  322. font-size: 15px;
  323. display: inline-block;
  324. color: #afb6bc;
  325. .fa {
  326. color: lighten($secondary, 10);
  327. }
  328. }
  329. .user-description {
  330. display: flex;
  331. justify-content: space-between;
  332. align-items: center;
  333. margin-bottom: 0.5rem;
  334. @media screen and (max-width: 576px){
  335. align-items: baseline;
  336. }
  337. .user-description-holder {
  338. display: flex;
  339. align-items: flex-end;
  340. @media screen and (max-width: 576px){
  341. align-items: flex-start;
  342. flex-direction: column;
  343. }
  344. }
  345. .user-name {
  346. color: $primary;
  347. font-weight: 600;
  348. padding-left: 0.625rem;
  349. @media screen and (max-width: 576px){
  350. margin-bottom: 0.5rem;
  351. }
  352. }
  353. .item-details {
  354. display: flex;
  355. align-items: baseline;
  356. color: lighten($gray, 20);
  357. font-size: 80%;
  358. .item-details-clock {
  359. color: lighten($secondary, 10);
  360. }
  361. .item-details-calendar {
  362. margin-left: 0.25rem;
  363. color: lighten($secondary, 10);
  364. }
  365. .item-details-time {
  366. border-right: 1px solid;
  367. padding-right: 0.25rem;
  368. }
  369. .item-details-date {
  370. padding-left: 0.25rem;
  371. }
  372. }
  373. }
  374. .user-comment-text {
  375. margin: 1rem 0;
  376. text-align: justify;
  377. }
  378. }
  379. .form-reply-opinion {
  380. margin: 0.5rem 0 1.5rem;
  381. }
  382. }
  383. // latest article in single bolg page
  384. .latest-article {
  385. .card {
  386. background: transparent;
  387. border: none
  388. }
  389. .card-title {
  390. line-height: 2;
  391. text-align: justify;
  392. color: $primary;
  393. }
  394. .card-text {
  395. text-align: justify;
  396. }
  397. .author-published-holder {
  398. display: flex;
  399. align-items: center;
  400. margin-bottom: 1.5rem;
  401. margin-top: 1rem
  402. }
  403. .author-avatar {
  404. width: 3rem;
  405. height: 3rem;
  406. border-radius: 50%;
  407. }
  408. .author-published-text {
  409. margin-right: 0.75rem;
  410. }
  411. .author-name {
  412. margin-bottom: 0.625rem;
  413. }
  414. .published-at {
  415. color: lighten($gray, 20);
  416. font-size: 80%;
  417. }
  418. }
  419. // pagination
  420. .pagination-holder {
  421. margin-top: 2rem;
  422. .pagination {
  423. padding-right: 0;
  424. }
  425. .page-item:first-child .page-link {
  426. border-top-left-radius: 0;
  427. border-bottom-left-radius: 0;
  428. border-top-right-radius: 0.25rem;
  429. border-bottom-right-radius: 0.25rem;
  430. }
  431. .page-item:last-child .page-link {
  432. border-top-right-radius: 0;
  433. border-bottom-right-radius: 0;
  434. border-top-left-radius: 0.25rem;
  435. border-bottom-left-radius: 0.25rem;
  436. }
  437. }
  438. // style for category blog page
  439. .article-category-title-holder {
  440. color: $primary;
  441. line-height: 2;
  442. }
  443. .article-category-content-holder {
  444. .article-content {
  445. position: relative;
  446. padding: 32px 32px;
  447. transition: all 0.3s ease-in-out;
  448. border-bottom: 1px solid #e8eaf1;
  449. &:hover {
  450. background-color: #e8eaf1;
  451. border-bottom: 1px solid #e8eaf1;
  452. border-radius: 0.25rem;
  453. }
  454. .sub-title {
  455. color: lighten($gray, 20);
  456. font-size: 80%;
  457. display: flex;
  458. justify-content: space-between;
  459. margin-bottom: 0.25rem;
  460. @media screen and (max-width: 576px) {
  461. flex-direction: column;
  462. }
  463. .fa {
  464. color: lighten($secondary, 10);
  465. }
  466. .published-at {
  467. margin-left: 0.625rem;
  468. }
  469. }
  470. .title {
  471. font-size: 1.1rem;
  472. font-weight: 500;
  473. line-height: 2;
  474. }
  475. .lead-text {
  476. margin-top: 0.625rem;
  477. color: $gray;
  478. line-height: 2;
  479. text-align: justify;
  480. }
  481. .category {
  482. margin-top: 0.75rem;
  483. }
  484. .article-footer {
  485. margin-top: 1.2rem;
  486. display: flex;
  487. align-items: center;
  488. justify-content: space-between;
  489. .author-published-holder {
  490. display: flex;
  491. align-items: center;
  492. .author-avatar {
  493. width: 3rem;
  494. height: 3rem;
  495. border-radius: 50%;
  496. }
  497. .author-name {
  498. margin-right: 0.75rem;
  499. }
  500. }
  501. /*.duration-of-study {
  502. color: lighten($gray, 20);
  503. font-size: 80%;
  504. @media screen and (max-width: 576px) {
  505. margin-top: 0.75rem;
  506. }
  507. }*/
  508. }
  509. }
  510. }
  511. // -----------------------home
  512. //banner home page
  513. .banner-holder {
  514. .banner-item {
  515. min-height: 545px;
  516. position: relative;
  517. background-size: cover !important;
  518. background-position: center center !important;
  519. display: flex;
  520. align-items: center;
  521. justify-content: center;
  522. @media screen and (max-width: 991px){
  523. display: none;
  524. }
  525. .content-holder {
  526. width: 50%;
  527. text-align: center;
  528. .content-title {
  529. font-size: 1.8rem;
  530. font-weight: 700;
  531. line-height: 3;
  532. color: $primary;
  533. }
  534. .content-sub-title {
  535. line-height: 2;
  536. color: $primary;
  537. font-weight: 500;
  538. font-size: 1.1rem;
  539. }
  540. }
  541. }
  542. .banner-item-md {
  543. @media screen and (min-width: 992px){
  544. display: none;
  545. }
  546. .img-holder {
  547. position: relative;
  548. .overlay-img {
  549. position: absolute;
  550. left: 0;
  551. right: 0;
  552. top: 0;
  553. bottom: 0;
  554. background: linear-gradient(rgba(245, 245, 245, 0.7), rgba(226, 226, 226, 0.5));
  555. }
  556. .content {
  557. position: absolute;
  558. top: 50%;
  559. left: 50%;;
  560. transform: translate(-50%,-50%);
  561. width: 95%;
  562. text-align: center;
  563. .content-title {
  564. color: $primary;
  565. font-weight: 600;
  566. font-size: 1.1rem;
  567. line-height: 2;
  568. @media screen and (max-width: 425px) {
  569. font-size: 0.9rem;
  570. font-weight: 500;
  571. }
  572. }
  573. .content-sub-title {
  574. color: $primary;
  575. font-weight: 500;
  576. line-height: 2;
  577. @media screen and (max-width: 425px) {
  578. font-size: 0.7rem;
  579. font-weight: 400;
  580. }
  581. }
  582. }
  583. }
  584. }
  585. }
  586. // services home page
  587. .services-holder {
  588. text-align: center;
  589. padding: 2.5rem 0 ;
  590. .feature-box-holder {
  591. background-color: $white;
  592. border-radius: 0.93rem;
  593. padding: 1.5rem 1.8rem;
  594. position: relative;
  595. filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.099));
  596. border-bottom-width: 4px;
  597. border-bottom-style: solid;
  598. border-bottom-color: $secondary;
  599. transition: all .4s ease;
  600. border-top-width: 4px;
  601. border-top-style: solid;
  602. border-top-color: transparent;
  603. box-sizing: border-box;
  604. @media screen and (max-width: 991px){
  605. margin-bottom: 3rem;
  606. }
  607. &:hover {
  608. border-top-width: 4px;
  609. border-top-style: solid;
  610. border-top-color: $secondary;
  611. }
  612. .featured-icon-holder {
  613. position: absolute;
  614. top: -38px;
  615. right: 25px;
  616. .featured-icon {
  617. height: 63px;
  618. width: 63px;
  619. line-height: 63px;
  620. background-color: $secondary;
  621. border-radius: 50%;
  622. display: flex;
  623. align-items: center;
  624. justify-content: center;
  625. i {
  626. color: $white;
  627. font-size: 1.2rem;
  628. }
  629. }
  630. }
  631. .feature-content {
  632. .feature-title {
  633. text-align: justify;
  634. font-size: 1.04rem;
  635. line-height: 2;
  636. font-weight: 500;
  637. margin: 0.5rem 0 0.35rem 0;
  638. }
  639. .sub-title {
  640. text-align: justify;
  641. line-height: 2;
  642. color: lighten($gray , 10);
  643. }
  644. .link-holder {
  645. font-size: 85%;
  646. text-align: justify;
  647. font-weight: 500;
  648. margin-top: 0.625rem;
  649. a {
  650. &:hover {
  651. color: $secondary;
  652. }
  653. }
  654. }
  655. }
  656. }
  657. .end-button {
  658. display: inline-block;
  659. width: 100%;
  660. position: relative;
  661. margin-top: 2.75rem;
  662. @media screen and (max-width: 991px){
  663. margin-top: 0;
  664. }
  665. &:before, &:after {
  666. position: absolute;
  667. content: "";
  668. right: auto;
  669. left: 50%;
  670. top: 20px;
  671. height: 1px;
  672. width: 30%;
  673. margin: 0 40px;
  674. background-color: lighten($gray, 40);
  675. transition: all .4s;
  676. }
  677. &:before {
  678. right: auto;
  679. left: 50%;
  680. }
  681. &:after {
  682. right: 50%;
  683. left: 0;
  684. }
  685. span {
  686. display: flex;
  687. align-items: center;
  688. justify-content: center;
  689. position: relative;
  690. height: 40px;
  691. width: 40px;
  692. line-height: 37px;
  693. font-size: 1.25rem;
  694. font-weight: 400;
  695. border-radius: 50%;
  696. border: 1px solid;
  697. margin: 0 auto;
  698. transition: all .4s;
  699. }
  700. }
  701. .end-button-text {
  702. margin-top: 0.6rem;
  703. }
  704. }
  705. // title section for home page
  706. .title {
  707. font-weight: 600;
  708. font-size: 1.4rem;
  709. line-height: 2;
  710. margin-bottom: 0.5rem;
  711. text-align: center;
  712. }
  713. .title-desc {
  714. width: 70%;
  715. margin: 0 auto 72px;
  716. font-size: 0.875rem;
  717. line-height: 2;
  718. color: lighten($gray , 10);
  719. @media screen and (max-width: 768px) {
  720. width: 95%;
  721. }
  722. }
  723. // customer home page
  724. .customer-holder {
  725. background-color: $white;
  726. text-align: center;
  727. padding: 2.5rem 0;
  728. .title-desc {
  729. margin-bottom: 2.5rem;
  730. }
  731. .owl-carousel {
  732. .item {
  733. img {
  734. display: block;
  735. width: 100%;
  736. opacity: 0.2;
  737. transition: ease opacity 500ms;
  738. &:hover {
  739. opacity: 1;
  740. }
  741. }
  742. }
  743. }
  744. }
  745. // contact-us home page
  746. .contact-us-holder {
  747. text-align: center;
  748. padding: 2.5rem 0;
  749. .submit-holder {
  750. text-align: right;
  751. }
  752. .contact-info-holder {
  753. .contact-info {
  754. display: flex;
  755. margin-bottom: 1rem;
  756. .fa {
  757. color: $secondary;
  758. }
  759. }
  760. .contact-info-content {
  761. text-align: right;
  762. margin-right: 0.75rem;
  763. .contact-title {
  764. color: $secondary;
  765. }
  766. }
  767. }
  768. }