RyanEarnshaw

Untitled

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