RyanEarnshaw

Untitled

Apr 25th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.82 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. padding-bottom: 200px;
  7. background-color: #ffffff;
  8. float: left;
  9. width: 80%;
  10. }
  11. .innercont {
  12. position: relative;
  13. display: inline-block;
  14. float: left;
  15. padding: 5vh 5vw;
  16. box-sizing: border-box;
  17. background-color: #ffffff;
  18. }
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25. .innercont .title {
  26. position: relative;
  27. display: inline-block;
  28. float: left;
  29. width: 100%;
  30. margin: 20px 0 40px;
  31. }
  32. .innercont .title:nth-child(3) {
  33. margin: 90px 0 0px;
  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. .innercont .body .list {
  135. position: relative;
  136. display: inline-block;
  137. width: 100%;
  138. margin-bottom: 20px;
  139. float: left;
  140. }
  141. .innercont .body .list h2:nth-child(1) {
  142. border-top: 2px solid #8ec640;
  143. }
  144. .innercont .body .list h2:nth-last-child(1) {
  145. border-bottom: 2px solid #8ec640;
  146. }
  147. .innercont .body .list h2 {
  148. /*border-top: 1px solid #8ec640;
  149. border-bottom: 1px solid #8ec640;*/
  150. /* if you put the lists back together then seperate them into two */
  151. color: #8ec640;
  152. margin: 0;
  153. padding: 7px 0;
  154. }
  155.  
  156.  
  157.  
  158.  
  159. .carouselcontainer {
  160. position: relative;
  161. display: inline-block;
  162. width: 100%;
  163. height: 150px;
  164. margin-top: 30px;
  165. }
  166. .quotecontainer {
  167. position: relative;
  168. display: inline-block;
  169. width: 80%;
  170. height: 100%;
  171. float: left;
  172. overflow: hidden;
  173. }
  174. .quotecontainer .customer {
  175. display: inline-block;
  176. position: absolute;
  177. height: 100%;
  178. width: 25%;
  179. left: 0;
  180. top: 0;
  181. font-size: 18px;
  182. line-height: 25px;
  183. color: rgba(0,0,0,0.4);
  184. }
  185. .quotecontainer .customer img {
  186. position: absolute;
  187. display: inline-block;
  188. top: 50%;
  189. left: 50%;
  190. transform: translate(-50%, -50%);
  191. max-width: 80%;
  192. max-height: 100%;
  193. }
  194. .leftbuttonarrowcontainer,
  195. .rightbuttonarrowcontainer {
  196. position: relative;
  197. display: inline-block;
  198. width: 10%;
  199. max-width: 40px;
  200. height: 100%;
  201. float: left;
  202. }
  203. .leftbuttonarrow,
  204. .rightbuttonarrow {
  205. position: absolute;
  206. top: 50%;
  207. left: 50%;
  208. transform: translate(-50%, -50%);
  209. width: 100%;
  210. z-index: 5;
  211. cursor: pointer;
  212. }
  213. .leftbuttonarrow:hover,
  214. .rightbuttonarrow:hover {
  215. transform: translate(-50%, -50%) scale(1.2);
  216. }
  217. .leftbuttonarrow img,
  218. .rightbuttonarrow img{
  219. width: 100%;
  220. }
  221.  
  222.  
  223. .body .case_study_title {
  224. position: relative;
  225. display: inline-block;
  226. width: 100%;
  227. border-bottom: 1px solid #8ec640;
  228. background-color: transparent;
  229. float: left;
  230. margin: 10px 0;
  231. cursor: pointer;
  232. }
  233. .body .case_study_title h2 {
  234. position: relative;
  235. display: inline-block;
  236. margin: 0;
  237. width: 100%;
  238. float: left;
  239. color: #8ec640;
  240. background-color: transparent;
  241. font-size: 14px;
  242. font-family: sans-serif;
  243. font-weight: 100;
  244. padding: 0;
  245. padding-bottom: 10px;
  246. }
  247. .body .case_study_title h3 {
  248. position: absolute;
  249. display: inline-block;
  250. right: 30px;
  251. bottom: 10px;
  252. color: #8ec640;
  253. background-color: transparent;
  254. font-size: 14px;
  255. font-family: sans-serif;
  256. font-weight: 100;
  257. }
  258. .body .case_study_title .plus {
  259. position: absolute;
  260. display: inline-block;
  261. right: 0;
  262. top: 0;
  263. color: #8ec640;
  264. background-color: transparent;
  265. font-size: 30px;
  266. font-family: sans-serif;
  267. font-weight: bold;
  268. padding-bottom: 10px;
  269. opacity: 0;
  270. transition: opacity 0.5s ease;
  271. }
  272. .body .case_study_title .minus {
  273. position: absolute;
  274. display: inline-block;
  275. right: 3px;
  276. bottom: 17px;
  277. height: 4px;
  278. width: 13px;
  279. background-color: #8ec640;
  280. opacity: 0;
  281. transition: opacity 0.5s ease;
  282. }
  283. .body .case_study_title .plus.active,
  284. .body .case_study_title .minus.active {
  285. opacity: 1;
  286. }
  287. .body .case_study_container {
  288. position: relative;
  289. display: inline-block;
  290. max-height: 0;
  291. overflow: hidden;
  292. transition: max-height 1s cubic-bezier(0,1,0,1);
  293. text-align: center;
  294. }
  295. .body .case_study_container.open {
  296. max-height: 1000px;
  297. transition: max-height 1s ease-in-out;
  298. }
  299. .body .case_study_container h1 {
  300. position: relative;
  301. display: inline-block;
  302. margin: 0;
  303. width: 100%;
  304. float: left;
  305. color: #8ec640;
  306. background-color: transparent;
  307. font-size: 14px;
  308. font-family: sans-serif;
  309. font-weight: 100;
  310. padding-top: 10px;
  311. text-align: left;
  312. }
  313. .body .case_study_container h2 {
  314. position: relative;
  315. display: inline-block;
  316. margin: 0;
  317. width: 100%;
  318. float: left;
  319. color: #a7a7a7;
  320. background-color: transparent;
  321. font-size: 14px;
  322. font-family: sans-serif;
  323. font-weight: 100;
  324. padding-top: 10px;
  325. text-align: left;
  326. }
  327. .body .case_study_container img {
  328. position: relative;
  329. display: inline-block;
  330. width: 400px;
  331. margin-top: 20px;
  332. }
  333.  
  334.  
  335. .body .imagetable {
  336. position: relative;
  337. float: left;
  338. width: 100%;
  339. border-collapse: collapse;
  340. }
  341. .body .imagetable img {
  342. position: relative;
  343. left: 50%;
  344. transform: translateX(-50%);
  345. max-width: 40%;
  346. max-height: 40%;
  347. border-radius: 13px;
  348. }
  349. .body .imagetable .width50 { width: 25%; }
  350.  
  351.  
  352. /* MEDIA QUERIES */
  353.  
  354.  
  355.  
  356. /* ----------------------------------------------------*/
  357. /* Code That Doesnt Change Between Mobile Resolution */
  358. /* ----------------------------------------------------*/
  359. @media only screen and (min-width : 0px) and (max-width : 992px) {
  360. .innercont .body .column.c1 { width: 100%; margin-right: 0; }
  361. .innercont .body .column.c2 { width: 100% }
  362. }
  363.  
  364.  
  365. /* ----------------------------------------------------*/
  366. /* Custom, iPhone Retina */
  367. /* ----------------------------------------------------*/
  368. @media only screen and (max-width : 320px) {
  369.  
  370. }
  371.  
  372.  
  373. /* ----------------------------------------------------*/
  374. /* Extra Small Devices, Phones */
  375. /* ----------------------------------------------------*/
  376. @media only screen and (min-width : 320px) and (max-width : 480px) {
  377.  
  378. }
  379.  
  380.  
  381. /* ----------------------------------------------------*/
  382. /* Small Devices, Tablets */
  383. /* ----------------------------------------------------*/
  384. @media only screen and (min-width : 480px) and (max-width : 768px) {
  385.  
  386. }
  387.  
  388.  
  389. /* ----------------------------------------------------*/
  390. /* Medium Devices, Desktops */
  391. /* ----------------------------------------------------*/
  392. @media only screen and (min-width : 768px) and (max-width : 992px) {
  393.  
  394. }
  395.  
  396.  
  397. /* ----------------------------------------------------*/
  398. /* Large Devices, Wide Screens */
  399. /* ----------------------------------------------------*/
  400. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  401. .innercont .body .buttoncontainer .ctabutton h1 { width: 70%; }
  402. .innercont .body .buttoncontainer .ctabutton.but3 { height: 70px; width: 100%; margin-right: 0; }
  403. }
Advertisement
Add Comment
Please, Sign In to add comment