RyanEarnshaw

Untitled

Apr 26th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.58 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.  
  171. .innercont .body .our-approach-icons .icon:after {
  172. content: url('../images/our approach/arrow.png');
  173. position: absolute;
  174. display: block;
  175. top: 50%;
  176. transform: translateY(-50%);
  177. right: 0;
  178. height: 30px;
  179. }
  180. .innercont .body .our-approach-icons .icon:nth-child(4):after {
  181. content: '';
  182. }
  183. .innercont .body .our-approach-icons .icon img {
  184. position: relative;
  185. display: inline-block;
  186. width: 70%;
  187. float: none;
  188. }
  189. .innercont .body .our-approach-icons .icon h1 {
  190. position: relative;
  191. display: inline-block;
  192. width: 100%;
  193. font-size: 18px;
  194. font-family: 'Work Sans';
  195. font-weight: 100;
  196. color: #6b6b6b;
  197. margin: 7px 0;
  198. line-height: 25px;
  199. float: none;
  200. }
  201. .innercont .body .our-approach-icons .icon h2 {
  202. position: relative;
  203. display: inline-block;
  204. width: 100%;
  205. font-size: 14px;
  206. float: none;
  207. }
  208.  
  209.  
  210. .innercont .body .buttoncontainer {
  211. position: relative;
  212. display: inline-block;
  213. float: left;
  214. width: 100%;
  215. padding-top: 50px;
  216. text-align: center;
  217. }
  218. .innercont .body .buttoncontainer .ctabutton {
  219. position: relative;
  220. display: inline-block;
  221. height: 48px;
  222. background-color: #f47d31;
  223. width: 270px;
  224. border-radius: 5px;
  225. box-shadow: 0 0 20px 0 rgba(0,0,0,.3);
  226. }
  227.  
  228. .innercont .body .buttoncontainer .ctabutton h1 {
  229. position: relative;
  230. font-size: 16px;
  231. font-family: 'Work Sans';
  232. font-weight: 100;
  233. color: #ffffff;
  234. padding: 10px 0px 0px 10px;
  235. line-height: 25px;
  236. float: left;
  237. text-align: left;
  238. transition: all 0.5s ease;
  239. }
  240. .innercont .body .buttoncontainer .ctabutton .icon {
  241. position: absolute;
  242. width: 50px;
  243. height: 100%;
  244. top: 0px;
  245. right: 0px;
  246. background-color: #c36427;
  247. overflow: hidden;
  248. border-radius: 5px;
  249. transition: width 0.5s ease, background-color 0.5s ease;
  250. }
  251. .innercont .body .buttoncontainer .ctabutton .baseicon {
  252. position: absolute;
  253. width: 25px;
  254. height: 25px;
  255. top: 50%;
  256. right: 50%;
  257. transform: translate(50%,-50%);
  258. transition: right 0.3s ease, all 0.5s ease;
  259. }
  260. .innercont .body .buttoncontainer .ctabutton:hover .icon {
  261. width: 100%;
  262. background-color: #88bc40;
  263. }
  264. .innercont .body .buttoncontainer .ctabutton:hover h1 {
  265. transform: translateX(-100%);
  266. }
  267. .innercont .body .buttoncontainer .ctabutton:hover .baseicon {
  268. right: 50%;
  269. transform: translate(50%,-50%) scale(1.4);
  270. transition: right 0.1s ease, all 0.5s ease;
  271. }
  272.  
  273. .innercont .body .contact {
  274. position: relative;
  275. display: inline-block;
  276. width: 100%;
  277. margin-top: -5px;
  278. padding: 20px 0;
  279. border-top: 1px solid #d7d7d7;
  280. }
  281. .innercont .body .contact .image {
  282. position: absolute;
  283. display: inline-block;
  284. width: 100px;
  285. height: 100px;
  286. border-radius: 100%;
  287. overflow: hidden;
  288. -webkit-box-shadow: 0px 0px 0px 2px #c5c5c5;
  289. -moz-box-shadow: 0px 0px 0px 2px #c5c5c5;
  290. box-shadow: 0px 0px 0px 2px #c5c5c5;
  291. transform: translateX(0);
  292. }
  293. .innercont .body .contact .image img {
  294. position: absolute;
  295. display: inline-block;
  296. left: 50%;
  297. top: 50%;
  298. max-width: 100%;
  299. max-height: 100%;
  300. transform: translate(-50%, -50%);
  301. }
  302. .innercont .body .contact .text-column {
  303. position: relative;
  304. display: inline-block;
  305. width: 100%;
  306. float: left;
  307. padding-left: 140px;
  308. box-sizing: border-box;
  309. }
  310. .innercont .body .text-column .contact-title {
  311. font-size: 24px;
  312. margin-bottom: 20px;
  313. }
  314. .innercont .body .contact .telephone-image {
  315. position: relative;
  316. display: inline-block;
  317. width: 20px;
  318. height: 20px;
  319. float: left;
  320. }
  321. .innercont .body .contact .telephone-text {
  322. position: relative;
  323. display: inline-block;
  324. width: auto;
  325. float: left;
  326. margin: 0 10px;
  327. }
  328. .innercont .body .contact .email-image {
  329. position: relative;
  330. display: inline-block;
  331. width: 20px;
  332. height: 20px;
  333. float: left;
  334. margin-top: 2px;
  335. }
  336. .innercont .body .contact .email-text,
  337. .innercont .body .contact .email-text h2 {
  338. position: relative;
  339. display: inline-block;
  340. margin: 0;
  341. float: left;
  342. width: auto;
  343. }
  344. .innercont .body .contact .email-text {
  345. margin: 0 10px;
  346. }
  347.  
  348.  
  349.  
  350.  
  351. .innercont .body .bullet-header {
  352. font-size: 26px;
  353. margin-top: 40px;
  354. padding-left: 30px;
  355. }
  356. .innercont .body .bullet-header::before {
  357. content: url('../images/our approach/arrow.png');
  358. position: absolute;
  359. display: block;
  360. top: -4px;
  361. left: 0;
  362. height: 30px;
  363. }
  364.  
  365. .gallery {
  366. position: relative;
  367. display: inline-block;
  368. width: 100%;
  369. text-align: center;
  370. margin-top: 40px;
  371. padding-top: 30px;
  372. border-top: 2px solid #bbbbbb;
  373. }
  374. .inspirationimage {
  375. position: relative;
  376. display: inline-block;
  377. width: 30%;
  378. }
  379. /* MEDIA QUERIES */
  380.  
  381.  
  382.  
  383. /* ----------------------------------------------------*/
  384. /* Code That Doesnt Change Between Mobile Resolution */
  385. /* ----------------------------------------------------*/
  386. @media only screen and (min-width : 0px) and (max-width : 992px) {
  387. .innercont .body .column.c1 { width: 100%; margin-right: 0; }
  388. .innercont .body .column.c2 { width: 100% }
  389. .innercont .body .buttoncontainer { padding: 25px 0; }
  390. .innercont .body .buttoncontainer .ctabutton.but1 { width: 100%; }
  391. .innercont .body .buttoncontainer .ctabutton.but2 { width: 100%; }
  392. .innercont .body .buttoncontainer .ctabutton.but3 { width: 100%; }
  393. .innercont .body .contact { border-top: 2px solid #d0d0d0; padding: 20px 0; margin: 0;}
  394. }
  395.  
  396.  
  397. /* ----------------------------------------------------*/
  398. /* Custom, iPhone Retina */
  399. /* ----------------------------------------------------*/
  400. @media only screen and (max-width : 320px) {
  401. .innercont .body .our-approach-icons .icon { width: 100%; }
  402. .inspirationimage { width: 48%; }
  403. }
  404.  
  405.  
  406. /* ----------------------------------------------------*/
  407. /* Extra Small Devices, Phones */
  408. /* ----------------------------------------------------*/
  409. @media only screen and (min-width : 320px) and (max-width : 480px) {
  410. .innercont .body .our-approach-icons .icon { width: 100%; }
  411. .inspirationimage { width: 48%; }
  412. }
  413.  
  414.  
  415.  
  416. /* ----------------------------------------------------*/
  417. /* Small Devices, Tablets */
  418. /* ----------------------------------------------------*/
  419. @media only screen and (min-width : 480px) and (max-width : 768px) {
  420. .innercont .body .our-approach-icons .icon {
  421. width: 50%;
  422. }
  423. }
  424.  
  425.  
  426.  
  427. /* ----------------------------------------------------*/
  428. /* Medium Devices, Desktops */
  429. /* ----------------------------------------------------*/
  430. @media only screen and (min-width : 768px) and (max-width : 992px) {
  431. .innercont .body .our-approach-icons .icon {
  432. width: 50%;
  433. }
  434. }
  435.  
  436.  
  437. /* ----------------------------------------------------*/
  438. /* Large Devices, Wide Screens */
  439. /* ----------------------------------------------------*/
  440. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  441. .innercont .body .buttoncontainer .ctabutton.but1 { width: 100%; }
  442. .innercont .body .buttoncontainer .ctabutton.but2 { width: 100%; }
  443. .innercont .body .buttoncontainer .ctabutton.but3 { width: 100%; }
  444.  
  445. }
Advertisement
Add Comment
Please, Sign In to add comment