RyanEarnshaw

Untitled

Apr 26th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.55 KB | None | 0 0
  1. .bodycontainer {
  2. position: relative;
  3. display: inline-block;
  4. margin-top: 80px; /* size of header */
  5. margin-left: 20%; /* size of side-nav */
  6. background-color: #ffffff;
  7. float: left;
  8. width: 80%;
  9. }
  10. .innercont {
  11. position: relative;
  12. display: inline-block;
  13. float: left;
  14. padding: 5vh 5vw;
  15. box-sizing: border-box;
  16. background-color: #ffffff;
  17. }
  18.  
  19.  
  20.  
  21. .innercont .fullimage {
  22. position: relative;
  23. display: inline-block;
  24. width: 100%;
  25. float: left;
  26. }
  27.  
  28. .innercont .title {
  29. position: relative;
  30. display: inline-block;
  31. float: left;
  32. width: 100%;
  33. margin: 20px 0 40px;
  34. }
  35. .innercont .title h1 {
  36. font-size: 40px;
  37. font-family: 'Work Sans';
  38. font-weight: 100;
  39. color: #8ec640;
  40. }
  41. .innercont .title:after {
  42. content: '';
  43. position: absolute;
  44. bottom: -16px;
  45. width: 0px;
  46. height: 2px;
  47. background-color: #8ec640;
  48. animation: underline_animation 1s 0.5s 1 normal forwards;
  49. -o-animation: underline_animation 1s 0.5s 1 normal forwards;
  50. -moz-animation: underline_animation 1s 0.5s 1 normal forwards;
  51. -webkit-animation: underline_animation 1s 0.5s 1 normal forwards;
  52. }
  53. @keyframes underline_animation {
  54. 0% { width: 0px; }
  55. 100% { width: 100px; }
  56. }
  57. @-webkit-keyframes underline_animation {
  58. 0% { width: 0px; }
  59. 100% { width: 100px; }
  60. }
  61. @-moz-keyframes underline_animation {
  62. 0% { width: 0px; }
  63. 100% { width: 100px; }
  64. }
  65. @-o-keyframes underline_animation {
  66. 0% { width: 0px; }
  67. 100% { width: 100px; }
  68. }
  69. .innercont .body {
  70. position: relative;
  71. display: inline-block;
  72. float: left;
  73. width: 100%;
  74. }
  75. .innercont .body .column {
  76. position: relative;
  77. display: inline-block;
  78. height: 100%;
  79. float: left;
  80. }
  81. .innercont .body .column.c1 { width: 30%; margin-right: 5%; }
  82. .innercont .body .column.c2 { width: 65% }
  83.  
  84. .innercont .body h2 {
  85. position: relative;
  86. font-size: 15px;
  87. font-family: 'Work Sans';
  88. font-weight: 100;
  89. color: #6b6b6b;
  90. margin: 7px 0;
  91. line-height: 25px;
  92. width: 100%;
  93. float: left;
  94. }
  95. .innercont .body .column.c1 h2 {
  96. font-weight: bold;
  97. }
  98. .innercont .body h2 a {
  99. font-weight: 600;
  100. color: #8ec640;
  101. text-decoration: none;
  102. }
  103. .innercont .body h2 span {
  104. font-size: 24px;
  105. font-family: 'Raleway';
  106. font-weight: 200;
  107. color: #83c640;
  108. }
  109. .innercont .body .column.c1 .quote {
  110. position: relative;
  111. display: inline-block;
  112. margin-top: 20px;
  113. padding: 5px 0px 10px 0px;
  114. border-top: 2px solid #8ec640;
  115. border-bottom: 2px solid #8ec640;
  116. }
  117. .innercont .body .column.c1 .quote h2 {
  118. width: 100%;
  119. line-height: 25px;
  120. font-size: 13px;
  121. font-weight: 100;
  122. font-family: 'Raleway';
  123. margin-top: 10px;
  124. color: #8ec640;
  125. }
  126. .innercont .body .column.c1 .quote h3 {
  127. font-size: 17px;
  128. font-family: 'Work Sans';
  129. color: #8ec640;
  130. font-weight: 400;
  131. width: 100%;
  132. margin-top: 10px;
  133. }
  134.  
  135. .innercont .body .imagetable {
  136. position: relative;
  137. float: left;
  138. max-width: 100%;
  139. max-height: 30px;
  140. border-collapse: collapse;
  141. margin-top: 15px;
  142. margin-bottom: 40px;
  143. }
  144. .innercont .body .imagetable img {
  145. position: relative;
  146. top: 0;
  147. max-width: 95%;
  148. max-height: 90%;
  149. border-radius: 13px;
  150. }
  151. .innercont .body .imagetable .left { width: 50%; }
  152. .innercont .body .imagetable .left img { left: 0; }
  153. .innercont .body .imagetable .right { width: 50%; }
  154. .innercont .body .imagetable .right img { right: 0; }
  155.  
  156.  
  157. .innercont .body .our-approach-icons {
  158. position: relative;
  159. display: inline-block;
  160. width: 100%;
  161. float: left;
  162. }
  163. .innercont .body .our-approach-icons .icon {
  164. position: relative;
  165. display: inline-block;
  166. width: 25%;
  167. float: left;
  168. text-align: center;
  169. }
  170. .innercont .body .our-approach-icons .icon img {
  171. position: relative;
  172. display: inline-block;
  173. width: 70%;
  174. float: none;
  175. }
  176. .innercont .body .our-approach-icons .icon:after {
  177. content: url('../images/our approach/arrow.png');
  178. position: absolute;
  179. display: block;
  180. top: 50%;
  181. right: 0;
  182. height: 30px;
  183. }
  184. .innercont .body .our-approach-icons .icon:nth-child(4):after {
  185. content: ' ';
  186. }
  187. .innercont .body .our-approach-icons .icon h1 {
  188. position: relative;
  189. display: inline-block;
  190. width: 100%;
  191. font-size: 18px;
  192. font-family: 'Work Sans';
  193. font-weight: 100;
  194. color: #6b6b6b;
  195. margin: 7px 0;
  196. line-height: 25px;
  197. float: none;
  198. }
  199. .innercont .body .our-approach-icons .icon h2 {
  200. position: relative;
  201. display: inline-block;
  202. width: 100%;
  203. font-size: 14px;
  204. float: none;
  205. }
  206.  
  207.  
  208. .innercont .body .buttoncontainer {
  209. position: relative;
  210. display: inline-block;
  211. float: left;
  212. width: 100%;
  213. padding-top: 50px;
  214. text-align: center;
  215. }
  216. .innercont .body .buttoncontainer .ctabutton {
  217. position: relative;
  218. display: inline-block;
  219. height: 48px;
  220. background-color: #f47d31;
  221. width: 270px;
  222. border-radius: 5px;
  223. box-shadow: 0 0 20px 0 rgba(0,0,0,.3);
  224. }
  225.  
  226. .innercont .body .buttoncontainer .ctabutton h1 {
  227. position: relative;
  228. font-size: 16px;
  229. font-family: 'Work Sans';
  230. font-weight: 100;
  231. color: #ffffff;
  232. padding: 10px 0px 0px 10px;
  233. line-height: 25px;
  234. float: left;
  235. text-align: left;
  236. transition: all 0.5s ease;
  237. }
  238. .innercont .body .buttoncontainer .ctabutton .icon {
  239. position: absolute;
  240. width: 50px;
  241. height: 100%;
  242. top: 0px;
  243. right: 0px;
  244. background-color: #c36427;
  245. overflow: hidden;
  246. border-radius: 5px;
  247. transition: width 0.5s ease, background-color 0.5s ease;
  248. }
  249. .innercont .body .buttoncontainer .ctabutton .baseicon {
  250. position: absolute;
  251. width: 25px;
  252. height: 25px;
  253. top: 50%;
  254. right: 50%;
  255. transform: translate(50%,-50%);
  256. transition: right 0.3s ease, all 0.5s ease;
  257. }
  258. .innercont .body .buttoncontainer .ctabutton:hover .icon {
  259. width: 100%;
  260. background-color: #88bc40;
  261. }
  262. .innercont .body .buttoncontainer .ctabutton:hover h1 {
  263. transform: translateX(-100%);
  264. }
  265. .innercont .body .buttoncontainer .ctabutton:hover .baseicon {
  266. right: 50%;
  267. transform: translate(50%,-50%) scale(1.4);
  268. transition: right 0.1s ease, all 0.5s ease;
  269. }
  270.  
  271. .innercont .body .contact {
  272. position: relative;
  273. display: inline-block;
  274. width: 100%;
  275. margin-top: -5px;
  276. padding: 20px 0;
  277. border-top: 1px solid #d7d7d7;
  278. }
  279. .innercont .body .contact .image {
  280. position: absolute;
  281. display: inline-block;
  282. width: 100px;
  283. height: 100px;
  284. border-radius: 100%;
  285. overflow: hidden;
  286. -webkit-box-shadow: 0px 0px 0px 2px #c5c5c5;
  287. -moz-box-shadow: 0px 0px 0px 2px #c5c5c5;
  288. box-shadow: 0px 0px 0px 2px #c5c5c5;
  289. transform: translateX(0);
  290. }
  291. .innercont .body .contact .image img {
  292. position: absolute;
  293. display: inline-block;
  294. left: 50%;
  295. top: 50%;
  296. max-width: 100%;
  297. max-height: 100%;
  298. transform: translate(-50%, -50%);
  299. }
  300. .innercont .body .contact .text-column {
  301. position: relative;
  302. display: inline-block;
  303. width: 100%;
  304. float: left;
  305. padding-left: 140px;
  306. box-sizing: border-box;
  307. }
  308. .innercont .body .text-column .contact-title {
  309. font-size: 24px;
  310. margin-bottom: 20px;
  311. }
  312. .innercont .body .contact .telephone-image {
  313. position: relative;
  314. display: inline-block;
  315. width: 20px;
  316. height: 20px;
  317. float: left;
  318. }
  319. .innercont .body .contact .telephone-text {
  320. position: relative;
  321. display: inline-block;
  322. width: auto;
  323. float: left;
  324. margin: 0 10px;
  325. }
  326. .innercont .body .contact .email-image {
  327. position: relative;
  328. display: inline-block;
  329. width: 20px;
  330. height: 20px;
  331. float: left;
  332. margin-top: 2px;
  333. }
  334. .innercont .body .contact .email-text,
  335. .innercont .body .contact .email-text h2 {
  336. position: relative;
  337. display: inline-block;
  338. margin: 0;
  339. float: left;
  340. width: auto;
  341. }
  342. .innercont .body .contact .email-text {
  343. margin: 0 10px;
  344. }
  345.  
  346.  
  347.  
  348.  
  349. .innercont .body .bullet-header {
  350. font-size: 26px;
  351. margin-top: 40px;
  352. padding-left: 30px;
  353. }
  354. .innercont .body .bullet-header::before {
  355. content: url('../images/our approach/arrow.png');
  356. position: absolute;
  357. display: block;
  358. top: -4px;
  359. left: 0;
  360. height: 30px;
  361. }
  362.  
  363. .gallery {
  364. position: relative;
  365. display: inline-block;
  366. width: 100%;
  367. text-align: center;
  368. margin-top: 40px;
  369. padding-top: 30px;
  370. border-top: 2px solid #bbbbbb;
  371. }
  372. .inspirationimage {
  373. position: relative;
  374. display: inline-block;
  375. width: 30%;
  376. }
  377. /* MEDIA QUERIES */
  378.  
  379.  
  380.  
  381. /* ----------------------------------------------------*/
  382. /* Code That Doesnt Change Between Mobile Resolution */
  383. /* ----------------------------------------------------*/
  384. @media only screen and (min-width : 0px) and (max-width : 992px) {
  385. .innercont .body .column.c1 { width: 100%; margin-right: 0; }
  386. .innercont .body .column.c2 { width: 100% }
  387. .innercont .body .buttoncontainer { padding: 25px 0; }
  388. .innercont .body .buttoncontainer .ctabutton.but1 { width: 100%; }
  389. .innercont .body .buttoncontainer .ctabutton.but2 { width: 100%; }
  390. .innercont .body .buttoncontainer .ctabutton.but3 { width: 100%; }
  391. .innercont .body .contact { border-top: 2px solid #d0d0d0; padding: 20px 0; margin: 0;}
  392. }
  393.  
  394.  
  395. /* ----------------------------------------------------*/
  396. /* Custom, iPhone Retina */
  397. /* ----------------------------------------------------*/
  398. @media only screen and (max-width : 320px) {
  399. .innercont .body .our-approach-icons .icon { width: 100%; }
  400. .inspirationimage { width: 48%; }
  401. }
  402.  
  403.  
  404. /* ----------------------------------------------------*/
  405. /* Extra Small Devices, Phones */
  406. /* ----------------------------------------------------*/
  407. @media only screen and (min-width : 320px) and (max-width : 480px) {
  408. .innercont .body .our-approach-icons .icon { width: 100%; }
  409. .inspirationimage { width: 48%; }
  410. }
  411.  
  412.  
  413.  
  414. /* ----------------------------------------------------*/
  415. /* Small Devices, Tablets */
  416. /* ----------------------------------------------------*/
  417. @media only screen and (min-width : 480px) and (max-width : 768px) {
  418. .innercont .body .our-approach-icons .icon {
  419. width: 50%;
  420. }
  421. }
  422.  
  423.  
  424.  
  425. /* ----------------------------------------------------*/
  426. /* Medium Devices, Desktops */
  427. /* ----------------------------------------------------*/
  428. @media only screen and (min-width : 768px) and (max-width : 992px) {
  429. .innercont .body .our-approach-icons .icon {
  430. width: 50%;
  431. }
  432. }
  433.  
  434.  
  435. /* ----------------------------------------------------*/
  436. /* Large Devices, Wide Screens */
  437. /* ----------------------------------------------------*/
  438. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  439. .innercont .body .buttoncontainer .ctabutton.but1 { width: 100%; }
  440. .innercont .body .buttoncontainer .ctabutton.but2 { width: 100%; }
  441. .innercont .body .buttoncontainer .ctabutton.but3 { width: 100%; }
  442.  
  443. }
Advertisement
Add Comment
Please, Sign In to add comment