RyanEarnshaw

Untitled

Mar 17th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.64 KB | None | 0 0
  1. .bodycontainer {
  2. position: relative;
  3. display: inline-block;
  4. margin-top: 140px; /* 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. .headerimage {
  12. position: absolute;
  13. display: inline-block;
  14. width: 100%;
  15. height: 220px;
  16. top: 0;
  17. left: 0;
  18. }
  19. .headerimage img {
  20. width: 100%;
  21. height: 100%;
  22. }
  23. .innercont {
  24. position: relative;
  25. display: inline-block;
  26. float: left;
  27. padding: 5vh 5vw;
  28. box-sizing: border-box;
  29. background-color: #ffffff;
  30. }
  31.  
  32.  
  33.  
  34.  
  35.  
  36. .innercont .title {
  37. position: relative;
  38. display: inline-block;
  39. float: left;
  40. width: 100%;
  41. margin: 20px 0 20px;
  42. }
  43. .innercont .title h1 {
  44. font-size: 24px;
  45. font-family: sans-serif;
  46. font-weight: 600;
  47. color: #8ec640;
  48. }
  49. .innercont .title:after {
  50. content: '';
  51. position: absolute;
  52. bottom: -10px;
  53. width: 100px;
  54. height: 2px;
  55. background-color: #8ec640;
  56. }
  57. .innercont .body {
  58. position: relative;
  59. display: inline-block;
  60. float: left;
  61. width: 100%;
  62. }
  63. .innercont .body .column {
  64. position: relative;
  65. display: inline-block;
  66. height: 100%;
  67. float: left;
  68. }
  69. .innercont .body .column.c1 { width: 30%; margin-right: 5%; }
  70. .innercont .body .column.c2 { width: 65% }
  71.  
  72. .innercont .body h2 {
  73. position: relative;
  74. display: inline-block;
  75. font-size: 15px;
  76. font-family: sans-serif;
  77. font-weight: 100;
  78. color: #6b6b6b;
  79. padding: 17px 0;
  80. line-height: 25px;
  81. width: 100%;
  82. }
  83. .innercont .body .list {
  84. position: relative;
  85. display: inline-block;
  86. width: 45%;
  87. margin-right: 5%;
  88. float: left;
  89. }
  90. .innercont .body .list h2:nth-child(1) {
  91. border-top: 2px solid #8ec640;
  92. }
  93. .innercont .body .list h2:nth-last-child(1) {
  94. border-bottom: 2px solid #8ec640;
  95. }
  96. .innercont .body .list h2 {
  97. border-top: 1px solid #8ec640;
  98. border-bottom: 1px solid #8ec640;
  99. color: #8ec640;
  100. }
  101.  
  102. .innercont .body h2 a {
  103. font-weight: 600;
  104. color: #8ec640;
  105. text-decoration: none;
  106. }
  107. .innercont .body .quote {
  108. display: inline-block;
  109. padding: 10px 0px 10px 0px;
  110. border-top: 2px solid #8ec640;
  111. border-bottom: 2px solid #8ec640;
  112. }
  113. .innercont .body .quote h2 {
  114. width: 100%;
  115. line-height: 25px;
  116. font-size: 13px;
  117. font-weight: 100;
  118. margin-top: 10px;
  119. color: #8ec640;
  120. }
  121. .innercont .body .quote h3 {
  122. font-size: 17px;
  123. font-family: sans-serif;
  124. color: #8ec640;
  125. font-weight: 100;
  126. width: 100%;
  127. margin-top: 10px;
  128. }
  129. .innercont .body h2 span {
  130. font-weight: bold;
  131. color: #83c640;
  132. }
  133.  
  134. .carouselcontainer {
  135. position: relative;
  136. display: inline-block;
  137. width: 100%;
  138. height: 150px;
  139. }
  140. .quotecontainer {
  141. position: relative;
  142. display: inline-block;
  143. width: 80%;
  144. height: 100%;
  145. float: left;
  146. overflow: hidden;
  147. }
  148. .quotecontainer .customer {
  149. display: inline-block;
  150. position: absolute;
  151. height: 100%;
  152. width: 25%;
  153. left: 0;
  154. top: 0;
  155. font-size: 18px;
  156. line-height: 25px;
  157. color: rgba(0,0,0,0.4);
  158. }
  159. .quotecontainer .customer img {
  160. position: absolute;
  161. display: inline-block;
  162. top: 50%;
  163. left: 50%;
  164. transform: translate(-50%, -50%);
  165. max-width: 80%;
  166. max-height: 100%;
  167. }
  168. .leftbuttonarrowcontainer,
  169. .rightbuttonarrowcontainer {
  170. position: relative;
  171. display: inline-block;
  172. width: 10%;
  173. max-width: 40px;
  174. height: 100%;
  175. float: left;
  176. }
  177. .leftbuttonarrow,
  178. .rightbuttonarrow {
  179. position: absolute;
  180. top: 50%;
  181. left: 50%;
  182. transform: translate(-50%, -50%);
  183. width: 100%;
  184. z-index: 5;
  185. }
  186. .leftbuttonarrow img,
  187. .rightbuttonarrow img{
  188. width: 100%;
  189. }
  190.  
  191.  
  192. .body .case_study_title {
  193. position: relative;
  194. display: inline-block;
  195. width: 100%;
  196. border-bottom: 1px solid #8ec640;
  197. background-color: transparent;
  198. float: left;
  199. margin: 10px 0;
  200. cursor: pointer;
  201. }
  202. .body .case_study_title h2 {
  203. position: relative;
  204. display: inline-block;
  205. margin: 0;
  206. width: 100%;
  207. float: left;
  208. color: #8ec640;
  209. background-color: transparent;
  210. font-size: 14px;
  211. font-family: sans-serif;
  212. font-weight: 100;
  213. padding-bottom: 10px;
  214. }
  215. .body .case_study_title h3 {
  216. position: absolute;
  217. display: inline-block;
  218. right: 30px;
  219. bottom: 10px;
  220. color: #8ec640;
  221. background-color: transparent;
  222. font-size: 14px;
  223. font-family: sans-serif;
  224. font-weight: 100;
  225. }
  226. .body .case_study_title .plus {
  227. position: absolute;
  228. display: inline-block;
  229. right: 0;
  230. top: 0;
  231. color: #8ec640;
  232. background-color: transparent;
  233. font-size: 30px;
  234. font-family: sans-serif;
  235. font-weight: bold;
  236. padding-bottom: 10px;
  237. opacity: 0;
  238. transition: opacity 0.5s ease;
  239. }
  240. .body .case_study_title .minus {
  241. position: absolute;
  242. display: inline-block;
  243. right: 3px;
  244. bottom: 17px;
  245. height: 4px;
  246. width: 13px;
  247. background-color: #8ec640;
  248. opacity: 0;
  249. transition: opacity 0.5s ease;
  250. }
  251. .body .case_study_title .plus.active,
  252. .body .case_study_title .minus.active {
  253. opacity: 1;
  254. }
  255. .body .case_study_container {
  256. position: relative;
  257. display: inline-block;
  258. max-height: 0;
  259. overflow: hidden;
  260. transition: max-height 1s cubic-bezier(0,1,0,1);
  261. }
  262. .body .case_study_container.open {
  263. max-height: 1000px;
  264. transition: max-height 1s ease-in-out;
  265. }
  266. .body .case_study_container h1 {
  267. position: relative;
  268. display: inline-block;
  269. margin: 0;
  270. width: 100%;
  271. float: left;
  272. color: #8ec640;
  273. background-color: transparent;
  274. font-size: 14px;
  275. font-family: sans-serif;
  276. font-weight: 100;
  277. padding-top: 10px;
  278. }
  279. .body .case_study_container h2 {
  280. position: relative;
  281. display: inline-block;
  282. margin: 0;
  283. width: 100%;
  284. float: left;
  285. color: #a7a7a7;
  286. background-color: transparent;
  287. font-size: 14px;
  288. font-family: sans-serif;
  289. font-weight: 100;
  290. padding-top: 10px;
  291. }
  292.  
  293.  
  294. .body .imagetable {
  295. position: relative;
  296. float: left;
  297. width: 100%;
  298. border-collapse: collapse;
  299. }
  300. .body .imagetable img {
  301. position: relative;
  302. left: 50%;
  303. transform: translateX(-50%);
  304. max-width: 40%;
  305. max-height: 40%;
  306. }
  307. .body .imagetable .width50 { width: 25%; }
  308.  
  309.  
  310. /* MEDIA QUERIES */
  311.  
  312.  
  313.  
  314. /* ----------------------------------------------------*/
  315. /* Code That Doesnt Change Between Mobile Resolution */
  316. /* ----------------------------------------------------*/
  317. @media only screen and (min-width : 0px) and (max-width : 992px) {
  318. .innercont .body .column.c1 { width: 100%; margin-right: 0; }
  319. .innercont .body .column.c2 { width: 100% }
  320. }
  321.  
  322.  
  323. /* ----------------------------------------------------*/
  324. /* Custom, iPhone Retina */
  325. /* ----------------------------------------------------*/
  326. @media only screen and (max-width : 320px) {
  327.  
  328. }
  329.  
  330.  
  331. /* ----------------------------------------------------*/
  332. /* Extra Small Devices, Phones */
  333. /* ----------------------------------------------------*/
  334. @media only screen and (min-width : 320px) and (max-width : 480px) {
  335.  
  336. }
  337.  
  338.  
  339. /* ----------------------------------------------------*/
  340. /* Small Devices, Tablets */
  341. /* ----------------------------------------------------*/
  342. @media only screen and (min-width : 480px) and (max-width : 768px) {
  343.  
  344. }
  345.  
  346.  
  347. /* ----------------------------------------------------*/
  348. /* Medium Devices, Desktops */
  349. /* ----------------------------------------------------*/
  350. @media only screen and (min-width : 768px) and (max-width : 992px) {
  351.  
  352. }
  353.  
  354.  
  355. /* ----------------------------------------------------*/
  356. /* Large Devices, Wide Screens */
  357. /* ----------------------------------------------------*/
  358. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  359. .innercont .body .buttoncontainer .ctabutton h1 { width: 70%; }
  360. .innercont .body .buttoncontainer .ctabutton.but3 { height: 70px; width: 100%; margin-right: 0; }
  361. }
Advertisement
Add Comment
Please, Sign In to add comment