RyanEarnshaw

Untitled

Feb 24th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.25 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: -webkit-flex;
  26. display: -webkit-box;
  27. display: -moz-flex;
  28. display: -ms-flex;
  29. display: flex;
  30. float: left;
  31. margin: 100px 10% 0 10%;
  32. width: 80%;
  33. }
  34.  
  35. .section {
  36. position: relative;
  37. display: inline-block;
  38. float: left;
  39. background-color: #ffffff;
  40. align-items: stretch;
  41. }
  42. .section.s1 { width: 90%; }
  43. .section.s2 { width: 10%; }
  44. .section.s1 {
  45. padding-left: 5vw;
  46. }
  47.  
  48.  
  49.  
  50.  
  51. .section .title {
  52. position: relative;
  53. display: inline-block;
  54. float: left;
  55. width: 100%;
  56. margin: 40px 0 0;
  57. }
  58. .section .title h1 {
  59. font-size: 24px;
  60. font-family: sans-serif;
  61. font-weight: 600;
  62. color: #363636;
  63. }
  64. .section .body {
  65. position: relative;
  66. display: inline-block;
  67. float: left;
  68. width: 100%;
  69. }
  70.  
  71. .email-modal {
  72. position: absolute;
  73. display: inline-block;
  74. top: 30px;
  75. left: 50%;
  76. transform: translateX(-50%);
  77. width: 100%;
  78. max-width: 600px;
  79. padding: 10px 0 12px;
  80. box-sizing: border-box;
  81. z-index: 100;
  82. border-radius: 5px;
  83. animation: email_animation 5s 0.5s 1 normal forwards;
  84. }
  85. @keyframes email_animation {
  86. 0% { top: -100px; }
  87. 20% { top: 30px; }
  88. 80% { top: 30px; }
  89. 100% { top: -100px; }
  90. }
  91. .email-modal.email-successful { background-color: #8ec640; }
  92. .email-modal.email-unsuccessful { background-color: #e04040; }
  93. .email-modal h1 {
  94. position: relative;
  95. display: inline-block;
  96. width: 100%;
  97. color: #000000;
  98. font-family: sans-serif;
  99. font-weight: bolf;
  100. font-size: 12px;
  101. text-align: center;
  102. }
  103.  
  104. .section .body .form {
  105. position: relative;
  106. display: inline-block;
  107. width: 100%;
  108. float: left;
  109. }
  110. .section .body .form h1 {
  111. font-size: 20px;
  112. font-family: sans-serif;
  113. font-weight: bold;
  114. color: #6b6b6b;
  115. margin: 35px 0 17px 0 ;
  116. line-height: 25px;
  117. }
  118. .section .body .form h2 {
  119. font-size: 15px;
  120. font-family: sans-serif;
  121. font-weight: 100;
  122. color: #6b6b6b;
  123. margin: 25px 0;
  124. }
  125. .section .body .form h2 span {
  126. color: #ff0000;
  127. }
  128.  
  129.  
  130. .section .body .form form {
  131. position: relative;
  132. display: inline-block;
  133. float: left;
  134. width: 100%;
  135. }
  136. .section .body .form input {
  137. color: #8ec640;
  138. font-size: 13px;
  139. border: none;
  140. padding: 13px 5px;
  141. margin: 3px 0;
  142. background-color: #dfdfdf;
  143. border-radius: 2px;
  144. font-family: arial;
  145. box-sizing: border-box;
  146. float: left;
  147. width: 100%;
  148. }
  149. .section .body .form input:focus,
  150. .section .body .form input:valid,
  151. .section .body textarea:focus,
  152. .section .body textarea:valid {
  153. box-shadow: none;
  154. outline: none;
  155. background-position: 0 0;
  156. }
  157. .section .body textarea {
  158. float: middle;
  159. display: inline-block;
  160. resize: none;
  161. background-color: #dfdfdf;
  162. color: #8ec640;
  163. width: 100%;
  164. height: 200px;
  165. font-family: arial;
  166. font-size: 13px;
  167. padding: 13px 5px;
  168. box-sizing: border-box;
  169. border: 0;
  170. }
  171. .section .body .option_area {
  172. position: relative;
  173. display: inline-block;
  174. font-family: sans-serif;
  175. font-size: 15px;
  176. text-align: left;
  177. color: #aea9b1;
  178. font-size: 13px;
  179. border: none;
  180. background-color: #dfdfdf;
  181. border-radius: 2px;
  182. font-family: arial;
  183. box-sizing: border-box;
  184. float: left;
  185. width: 100%;
  186. }
  187. .section .body .option_area .opt {
  188. position: relative;
  189. display: inline-block;
  190. width: 100%;
  191. padding: 10px 0 10px 0px;
  192. color: #676767;
  193. margin: 0;
  194. }
  195. .section .body .option_area .opt input {
  196. margin: 0;
  197. font-size: 13px;
  198. border: none;
  199. background-color: #dfdfdf;
  200. border-radius: 2px;
  201. font-family: arial;
  202. box-sizing: border-box;
  203. width: 30px;
  204. }
  205.  
  206. .section .body .form .buttoncontainer {
  207. position: relative;
  208. display: inline-block;
  209. width: 100%;
  210. }
  211. .section .body .form .insubmit {
  212. font-size: 14px;
  213. float: left;
  214. padding: 15px 40px;
  215. font-family: 'Raleway';
  216. background-color: #8ec640;
  217. color: #ffffff;
  218. }
Advertisement
Add Comment
Please, Sign In to add comment