BCB Bank static website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

603 line
11 KiB

  1. @font-face {
  2. src: url("fonts/Archivo_Black/ArchivoBlack-Regular.ttf") format("truetype");
  3. font-family: archivo-black;
  4. font-style: normal;
  5. }
  6. @font-face {
  7. src: url("fonts/Open_Sans/OpenSans-Bold.ttf") format("truetype");
  8. font-family: open-sans;
  9. font-weight: bolder;
  10. }
  11. @font-face {
  12. src: url("fonts/Open_Sans/OpenSans-SemiBold.ttf") format("truetype");
  13. font-family: open-sans;
  14. font-weight: bold;
  15. }
  16. @font-face {
  17. src: url("fonts/Open_Sans/OpenSans-Regular.ttf") format("truetype");
  18. font-family: open-sans;
  19. font-style: normal;
  20. }
  21. @font-face {
  22. src: url("fonts/Open_Sans/OpenSans-LightItalic.ttf") format("truetype");
  23. font-family: open-sans;
  24. font-weight: normal;
  25. font-style: italic;
  26. }
  27. section h3 {
  28. font-size: 36px;
  29. font-family: "Archivo Black", sans-serif;
  30. line-height: 1.2;
  31. color: #403e41;
  32. }
  33. @media screen and (max-width: 1024px) {
  34. section h3 {
  35. text-align: center;
  36. }
  37. }
  38. section h3 mark {
  39. color: #28aae2;
  40. }
  41. section p {
  42. color: #808285;
  43. font-size: 16px;
  44. letter-spacing: 0.8px;
  45. }
  46. section figure {
  47. width: 50%;
  48. }
  49. section figure img {
  50. width: 100%;
  51. height: 100%;
  52. }
  53. section .description {
  54. width: 50%;
  55. align-self: center;
  56. }
  57. @media screen and (max-width: 1024px) {
  58. section .description {
  59. width: 100%;
  60. }
  61. }
  62. section .description p {
  63. line-height: 1.8;
  64. }
  65. #home {
  66. box-shadow: 0 8px 20px -6px #a6a8ab;
  67. display: flex;
  68. }
  69. @media screen and (max-width: 1024px) {
  70. #home {
  71. flex-direction: column;
  72. }
  73. }
  74. #home p {
  75. padding: 30px 0;
  76. width: 75%;
  77. }
  78. @media screen and (max-width: 1024px) {
  79. #home p {
  80. margin: 0 auto;
  81. }
  82. }
  83. #home figure {
  84. opacity: 1;
  85. transition: opacity 500ms ease;
  86. }
  87. @media screen and (max-width: 1024px) {
  88. #home figure {
  89. width: 100%;
  90. margin-top: 30px;
  91. }
  92. }
  93. #home figure.hide {
  94. opacity: 0;
  95. }
  96. #home .description {
  97. overflow-x: hidden;
  98. }
  99. #home .description p,
  100. #home .description button {
  101. position: relative;
  102. left: 0;
  103. opacity: 1;
  104. transition: left 500ms ease, opacity 500ms ease;
  105. }
  106. #home .description h3 {
  107. opacity: 1;
  108. left: 0;
  109. position: relative;
  110. transition: left 500ms ease, opacity 500ms ease;
  111. }
  112. @media screen and (max-width: 1024px) {
  113. #home .description h3 {
  114. position: absolute;
  115. left: 50%;
  116. width: 100%;
  117. transform: translateX(-50%);
  118. }
  119. }
  120. #home .description p {
  121. transition-delay: 500ms;
  122. }
  123. #home .description button {
  124. transition-delay: 1000ms;
  125. }
  126. #home .description.hide h3,
  127. #home .description.hide p,
  128. #home .description.hide button {
  129. left: 10%;
  130. opacity: 0;
  131. }
  132. #home button {
  133. border: none;
  134. background-color: #28aae2;
  135. color: white;
  136. padding: 20px 30px;
  137. outline: none;
  138. font-size: 16px;
  139. cursor: pointer;
  140. }
  141. @media screen and (max-width: 1024px) {
  142. #home button {
  143. display: block;
  144. margin: 0 auto;
  145. margin-bottom: 40px;
  146. }
  147. }
  148. #home button .fas {
  149. padding-left: 12px;
  150. font-size: 14px;
  151. position: relative;
  152. left: 0;
  153. transition: left 500ms ease;
  154. }
  155. #home button:hover .fas {
  156. left: 10px;
  157. }
  158. #home,
  159. #about {
  160. position: relative;
  161. }
  162. @media screen and (max-width: 1024px) {
  163. #home,
  164. #about {
  165. padding-top: 100px;
  166. }
  167. }
  168. @media screen and (max-width: 1024px) {
  169. #home h3,
  170. #about h3 {
  171. position: absolute;
  172. top: 35px;
  173. left: 50%;
  174. transform: translateX(-50%);
  175. width: 100%;
  176. }
  177. }
  178. #about {
  179. background-color: #f0f0f0;
  180. display: block;
  181. margin-bottom: 225px;
  182. }
  183. @media screen and (max-width: 1024px) {
  184. #about {
  185. margin-bottom: 50px;
  186. }
  187. }
  188. #about .wrapper {
  189. width: 85%;
  190. margin: 0 auto;
  191. display: flex;
  192. justify-content: space-around;
  193. }
  194. @media screen and (max-width: 1024px) {
  195. #about .wrapper {
  196. flex-direction: column-reverse;
  197. padding-bottom: 30px;
  198. }
  199. }
  200. #about .wrapper a {
  201. display: inline-block;
  202. margin: 10px 0;
  203. }
  204. #about .wrapper a button {
  205. color: white;
  206. padding: 10px 15px;
  207. background-color: #28aae2;
  208. border: none;
  209. font-size: 16px;
  210. cursor: pointer;
  211. outline: none;
  212. transition: background-color 500ms ease;
  213. }
  214. #about .wrapper a button:hover {
  215. background-color: #403e41;
  216. }
  217. #about figure {
  218. width: 35%;
  219. position: relative;
  220. left: 6%;
  221. opacity: 0;
  222. transition: left 1000ms ease, opacity 1000ms ease;
  223. }
  224. #about figure.show {
  225. left: 0;
  226. opacity: 1;
  227. }
  228. @media screen and (max-width: 1024px) {
  229. #about figure {
  230. width: 100%;
  231. display: block;
  232. margin: 0 auto;
  233. }
  234. }
  235. #about figure img {
  236. transform: scale(1.3);
  237. top: 25%;
  238. position: relative;
  239. width: 100%;
  240. }
  241. @media screen and (max-width: 1024px) {
  242. #about figure img {
  243. transform: scale(1);
  244. }
  245. }
  246. #about .description {
  247. opacity: 0;
  248. transition: opacity 1000ms ease;
  249. width: 55%;
  250. }
  251. @media screen and (max-width: 1024px) {
  252. #about .description {
  253. width: 100%;
  254. }
  255. }
  256. #about .description.show {
  257. opacity: 1;
  258. }
  259. #about p {
  260. padding: 14px 0;
  261. }
  262. #about p:nth-of-type(1) {
  263. font-style: italic;
  264. font-weight: bold;
  265. color: black;
  266. }
  267. #service {
  268. display: block;
  269. }
  270. #service h3 {
  271. text-align: center;
  272. }
  273. #service p {
  274. width: 50%;
  275. margin: 0 auto;
  276. text-align: center;
  277. padding: 20px 0 40px;
  278. line-height: 1.8;
  279. }
  280. @media screen and (max-width: 1024px) {
  281. #service p {
  282. width: 90%;
  283. }
  284. }
  285. #service .owl-service {
  286. width: 82%;
  287. margin: 0 auto;
  288. display: block;
  289. }
  290. @media screen and (max-width: 1024px) {
  291. #service .owl-service {
  292. width: 100%;
  293. }
  294. }
  295. #service .owl-service li {
  296. list-style: none;
  297. background-color: #f0f0f0;
  298. width: 90%;
  299. margin: 0 auto;
  300. }
  301. #service .owl-service li .inner-contents {
  302. padding-top: 20px;
  303. }
  304. #service .owl-service li .inner-contents img {
  305. width: 50px;
  306. height: 50px;
  307. display: block;
  308. margin: 0 auto;
  309. padding-top: 20px;
  310. }
  311. #service .owl-service li .inner-contents p {
  312. width: 90%;
  313. margin: 0 auto;
  314. font-size: 14px;
  315. }
  316. #service .owl-service li .inner-contents .title {
  317. text-align: center;
  318. padding-top: 20px;
  319. color: #403e41;
  320. font-size: 14px;
  321. font-weight: bold;
  322. }
  323. #service .service-carousel-btn {
  324. margin: 20px auto;
  325. text-align: center;
  326. padding: 20px 0;
  327. }
  328. #service .service-carousel-btn i {
  329. font-size: 16px;
  330. padding: 0 10px;
  331. color: #28aae2;
  332. cursor: pointer;
  333. }
  334. #branches {
  335. background-color: #f0f0f0;
  336. padding: 20px 0;
  337. }
  338. #branches h3 {
  339. text-align: center;
  340. padding: 20px 0;
  341. }
  342. #branches p {
  343. text-align: center;
  344. width: 50%;
  345. margin: 0 auto;
  346. }
  347. @media screen and (max-width: 1024px) {
  348. #branches p {
  349. width: 90%;
  350. }
  351. }
  352. #branches .owl-branches {
  353. width: 80%;
  354. margin: 0 auto;
  355. height: 55vh;
  356. }
  357. @media screen and (max-width: 1024px) {
  358. #branches .owl-branches {
  359. width: 100%;
  360. }
  361. }
  362. #branches .owl-branches .owl-item-branches {
  363. display: flex;
  364. width: 97%;
  365. background-color: white;
  366. margin: 50px 0;
  367. }
  368. @media screen and (max-width: 1024px) {
  369. #branches .owl-branches .owl-item-branches {
  370. width: 90%;
  371. margin: 50px auto;
  372. }
  373. }
  374. #branches .owl-branches .owl-item-branches figure {
  375. width: 500px;
  376. height: 255px;
  377. }
  378. @media screen and (max-width: 1024px) {
  379. #branches .owl-branches .owl-item-branches figure {
  380. width: 350px;
  381. }
  382. }
  383. #branches .owl-branches .owl-item-branches figure img {
  384. width: 100%;
  385. height: 100%;
  386. object-fit: cover;
  387. }
  388. #branches .owl-branches .owl-item-branches .description {
  389. margin: 0 20px;
  390. padding: 10px 0;
  391. }
  392. #branches .owl-branches .owl-item-branches .description .person-name,
  393. #branches .owl-branches .owl-item-branches .description .person-info {
  394. font-size: 14px;
  395. font-weight: bold;
  396. }
  397. #branches .owl-branches .owl-item-branches .description .person-info {
  398. padding: 2px 0;
  399. color: #808285;
  400. }
  401. #branches .owl-branches .owl-item-branches .description .person-name {
  402. color: #28aae2;
  403. padding-top: 20px;
  404. }
  405. #branches .owl-branches .owl-item-branches blockquote {
  406. font-size: 16px;
  407. color: #808285;
  408. line-height: 1.3;
  409. }
  410. #branches .branches-carousel-btn {
  411. text-align: center;
  412. padding-bottom: 30px;
  413. position: relative;
  414. z-index: 2;
  415. }
  416. #branches .branches-carousel-btn i {
  417. padding: 10px;
  418. background-color: #d2d4d5;
  419. color: #57595b;
  420. margin: 0 12px;
  421. cursor: pointer;
  422. }
  423. #enquiry {
  424. background: linear-gradient(#28aae2, #2b3991);
  425. }
  426. #enquiry h3 {
  427. text-align: center;
  428. color: white;
  429. padding: 60px 0 30px;
  430. }
  431. #enquiry p {
  432. width: 50%;
  433. margin: 0 auto;
  434. text-align: center;
  435. color: #fafafa;
  436. line-height: 1.8;
  437. }
  438. @media screen and (max-width: 1024px) {
  439. #enquiry p {
  440. width: 90%;
  441. }
  442. }
  443. #enquiry form fieldset {
  444. border: none;
  445. width: 35%;
  446. margin: 0 auto;
  447. padding: 30px 0;
  448. }
  449. @media screen and (max-width: 1024px) {
  450. #enquiry form fieldset {
  451. width: 90%;
  452. }
  453. }
  454. #enquiry form fieldset input {
  455. background-color: transparent;
  456. border: 2px solid white;
  457. padding: 8px 18px;
  458. clear: both;
  459. width: 48%;
  460. margin: 10px 0;
  461. }
  462. #enquiry form fieldset input:nth-child(even) {
  463. float: right;
  464. }
  465. #enquiry form fieldset ::-webkit-input-placeholder {
  466. color: #fafafa;
  467. }
  468. @media screen and (max-width: 1024px) {
  469. #enquiry form fieldset ::-webkit-input-placeholder {
  470. padding-left: 13px;
  471. }
  472. }
  473. #enquiry form fieldset ::-moz-placeholder {
  474. color: #fafafa;
  475. }
  476. @media screen and (max-width: 1024px) {
  477. #enquiry form fieldset ::-moz-placeholder {
  478. padding-left: 13px;
  479. }
  480. }
  481. #enquiry form fieldset :-ms-input-placeholder {
  482. color: #fafafa;
  483. }
  484. @media screen and (max-width: 1024px) {
  485. #enquiry form fieldset :-ms-input-placeholder {
  486. padding-left: 13px;
  487. }
  488. }
  489. #enquiry form fieldset :-moz-placeholder {
  490. color: #fafafa;
  491. }
  492. @media screen and (max-width: 1024px) {
  493. #enquiry form fieldset :-moz-placeholder {
  494. padding-left: 13px;
  495. }
  496. }
  497. #enquiry form fieldset textarea {
  498. background-color: transparent;
  499. border: 2px solid white;
  500. width: 100%;
  501. padding: 8px;
  502. font-family: open-sans;
  503. }
  504. #enquiry form fieldset button {
  505. display: block;
  506. margin: 20px auto;
  507. padding: 8px 18px;
  508. width: 40%;
  509. background-color: transparent;
  510. border: none;
  511. border: 2px solid white;
  512. color: white;
  513. font-size: 14px;
  514. }
  515. #contact {
  516. padding: 30px 0;
  517. }
  518. #contact h3 {
  519. text-align: center;
  520. padding: 10px 0 20px;
  521. }
  522. #contact p {
  523. width: 50%;
  524. margin: 0 auto;
  525. text-align: center;
  526. line-height: 1.8;
  527. }
  528. @media screen and (max-width: 1024px) {
  529. #contact p {
  530. width: 90%;
  531. }
  532. }
  533. #contact .inner-container {
  534. display: flex;
  535. width: 80%;
  536. margin: 40px auto;
  537. padding: 20px 0;
  538. justify-content: space-between;
  539. }
  540. @media screen and (max-width: 1024px) {
  541. #contact .inner-container {
  542. flex-direction: column;
  543. width: 90%;
  544. }
  545. }
  546. #contact .inner-container figure {
  547. width: 60%;
  548. }
  549. @media screen and (max-width: 1024px) {
  550. #contact .inner-container figure {
  551. width: 100%;
  552. }
  553. }
  554. #contact .inner-container .description-container {
  555. width: 30%;
  556. }
  557. @media screen and (max-width: 1024px) {
  558. #contact .inner-container .description-container {
  559. width: 100%;
  560. }
  561. }
  562. #contact .inner-container .description-container li {
  563. display: flex;
  564. justify-content: space-evenly;
  565. padding: 15px 0;
  566. }
  567. #contact .inner-container .description-container li address {
  568. font-size: 16px;
  569. color: #57595b;
  570. font-family: open-sans;
  571. font-style: normal;
  572. line-height: 1.8;
  573. }
  574. #contact .inner-container .description-container li label {
  575. color: #57595b;
  576. font-weight: bold;
  577. font-size: 16px;
  578. }
  579. #contact .inner-container .description-container li address,
  580. #contact .inner-container .description-container li .contact-content {
  581. width: 70%;
  582. }
  583. #contact .inner-container .description-container li .contact-content {
  584. display: flex;
  585. font-size: 16px;
  586. }
  587. #contact .inner-container .description-container li .contact-content li {
  588. color: #57595b;
  589. padding: 0 15px 0 0;
  590. }
  591. #contact .inner-container .description-container li .contact-content li i {
  592. font-size: 18px;
  593. }
  594. /*# sourceMappingURL=home.css.map */