Guest User

CSS

a guest
Feb 19th, 2015
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.94 KB | None | 0 0
  1. /* Getting the new tags to behave */
  2. article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video {
  3. display: block;
  4. }
  5. mark, rp, rt, ruby, summary, time {
  6. display: inline
  7. }
  8. /* Global properties ======================================================== */
  9. body {
  10. font-family: 'PT Serif Caption', serif;
  11. font-size:14px;
  12. line-height:24px;
  13. color:#343434;
  14. min-width:1020px;
  15. background:url(../images/bg-body.gif) #e6e4d7;
  16. text-transform:uppercase
  17. }
  18. html, body {
  19. height:100%;
  20. }
  21. .ic {
  22. border:0;
  23. float:right;
  24. background:#fff;
  25. color:#f00;
  26. width:50%;
  27. line-height:10px;
  28. font-size:10px;
  29. margin:-220% 0 0 0;
  30. padding:0;
  31. overflow:hidden
  32. }
  33. p {
  34. padding-bottom:18px;
  35.  
  36. }
  37.  
  38.  
  39. a {
  40. color:#fff;
  41. text-decoration:none;
  42. }
  43. h1 {
  44. float:left;
  45. display:block;
  46. position:relative;
  47. z-index:10;
  48. }
  49.  
  50. h1 a {
  51. display:block;
  52. }
  53.  
  54. h2,h3,h4,h5,h6 {
  55. font-family: 'PT Serif Caption', serif;
  56. font-weight:normal;
  57. color:#343434;
  58. }
  59.  
  60. h3 {
  61. font-size:35px;
  62. line-height:38px;
  63. padding:33px 0 18px;
  64. text-shadow:0 1px 2px #c5c2a9;
  65.  
  66. }
  67.  
  68. h3 span {
  69. color:#D53827;
  70. display:block;
  71. margin-bottom:-9px;
  72. }
  73.  
  74. h3 strong {
  75. font-weight:normal;
  76. color:#d53827
  77. }
  78.  
  79. h3 em {
  80. color:#999;
  81. font-size:20px;
  82. line-height:24px;
  83. display:block;
  84. font-style:normal
  85. }
  86.  
  87. h3 sup {
  88. font-size: 30px;
  89. vertical-align: top;
  90. line-height: 15px;
  91. }
  92.  
  93. h4 {
  94. font-size:20px;
  95. line-height:28px;
  96. display:block;
  97. color:#d53827;}
  98.  
  99. h5 {
  100. color:#fff;
  101. font-size:15px;
  102. line-height:18px;
  103. padding:0 0 8px 0;
  104. font-weight:normal;
  105. }
  106. h6 {
  107. color:#2d2f38;
  108. font-size:20px;
  109. line-height:20px;
  110. padding:0 0 19px 0;
  111. font-weight:bold;
  112. }
  113.  
  114. .padd-1{padding-top:11px}
  115. .padd-2{padding-top:15px}
  116. .inner-1{padding-right:35px}
  117.  
  118. .relative {
  119. position:relative
  120. }
  121.  
  122. /* Global Structure ============================================================= */
  123.  
  124.  
  125. .main {
  126. margin: 0 auto;
  127. position: relative;
  128. width: 940px;}
  129.  
  130. .overflow {overflow:hidden;}
  131.  
  132. /* Header */
  133.  
  134.  
  135. header {
  136. padding:0;
  137. position: relative;
  138. z-index:99;
  139. background:url(../images/tail-header.gif);
  140. }
  141.  
  142. .line-top{
  143. background:url(../images/line-top.gif) repeat-x 0 0;
  144. height:7px;
  145. }
  146.  
  147. .row-top{
  148. padding:21px 0 14px
  149. }
  150. /* Content */
  151. #content {
  152. position:relative;
  153. }
  154.  
  155. /* Left & Right alignment */
  156.  
  157. .fleft {
  158. float:left;
  159. }
  160. .fright {
  161. float:right;
  162. }
  163. .clear {
  164. clear:both;
  165. }
  166. .alignright {
  167. text-align:right;
  168. }
  169. .aligncenter {
  170. text-align:center;
  171. }
  172. .wrapper {
  173. width:100%;
  174. overflow:hidden;
  175. }
  176. .overflow {
  177. overflow:hidden;
  178. }
  179. /*----- other -----*/
  180. .img-indent {
  181. float:left;
  182. margin:1px 30px 0 0
  183. }
  184. .img-indent1 {
  185. margin:4px 0 24px 0
  186. }
  187.  
  188. /*===== menu =====*/
  189. nav {
  190. padding:18px 0 0 0;
  191. float:right;
  192. display:block;
  193. z-index:99;
  194. }
  195. .sf-menu, .sf-menu * {
  196. margin: 0;
  197. padding: 0;
  198. list-style: none;
  199. }
  200. .sf-menu {
  201. position:relative;
  202. }
  203. .sf-menu > li {
  204. margin-left:7px;
  205. float:left;
  206. position:relative;
  207. -webkit-transition: all 0.3s ease;
  208. -moz-transition: all 0.3s ease;
  209. -o-transition: all 0.3s ease;
  210. transition: all 0.3s ease;
  211. border-radius:4px;
  212. background:url(../images/point.png)
  213. }
  214.  
  215. .sf-menu a {
  216. color:#343434;
  217. font-size:14px;
  218. line-height:20px;
  219. text-decoration:none;
  220. }
  221.  
  222. .sf-menu > li > a {
  223. display:block;
  224. padding:12px 14px;
  225. }
  226.  
  227. .sf-menu ul {
  228. position: absolute;
  229. top: -999em;
  230. width: 160px;
  231. display:none;
  232. background:url(../images/bg-body.gif);
  233. padding:11px 14px 14px;
  234. border-radius:8px;
  235. -moz-border-radius:8px;
  236. -webkit-border-radius:8px;
  237. box-shadow:inset 0 1px 3px #c5c2a9;
  238. -moz-box-shadow: inset 0 1px 3px #c5c2a9;
  239. -webkit-box-shadow: inset 0 1px 3px #c5c2a9;
  240.  
  241. }
  242. .sf-menu > li.sfHover , .sf-menu > li:hover, .sf-menu li.active {
  243. background:url(../images/tail-item.gif);
  244. box-shadow:inset 0 1px 3px #c5c2a9;
  245. -moz-box-shadow: inset 0 1px 3px #c5c2a9;
  246. -webkit-box-shadow: inset 0 1px 3px #c5c2a9;
  247.  
  248. }
  249.  
  250. .sf-menu > li.sfHover > a, .sf-menu > li > a:hover, .sf-menu li.active a {
  251. color:#d53827;
  252.  
  253.  
  254. }
  255.  
  256.  
  257. .sf-menu li li.sfHover > a, .sf-menu li li a:hover, .sf-menu li li a.active {
  258. color:#d53827;
  259. }
  260. .sf-menu li:hover ul, .sf-menu li.sfHover ul {
  261. left: 0px;
  262. top: 47px; /* match top ul list item height */
  263. z-index: 99;
  264. }
  265. ul.sf-menu li:hover li ul, ul.sf-menu li.sfHover li ul {
  266. top: -999em;
  267. }
  268. ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {
  269. left: 256px; /* match ul width */
  270. top: 27px;
  271. }
  272. ul.sf-menu li li:hover li ul, ul.sf-menu li li.sfHover li ul {
  273. top: -999em;
  274. }
  275. ul.sf-menu li li li:hover ul, ul.sf-menu li li li.sfHover ul {
  276. left: 10em; /* match ul width */
  277. top: 0px;
  278. }
  279.  
  280. /*===== content =====*/
  281.  
  282. #content {
  283. padding:0 0 44px;
  284. background:url(../images/tail-cont.gif;)
  285. }
  286.  
  287. .border-horiz{background:url(../images/border-horiz.gif) repeat-x 0 0;height:2px;}
  288. .border-horiz.extra{margin-top:40px;}
  289. .border-horiz.extra1{margin-top:24px;}
  290. .box-slogan{text-align:center;width:940px;margin:0 auto;padding-bottom:15px;}
  291. .box-slogan h3{padding-bottom:12px;}
  292.  
  293. .thumbnail-1 figure{margin-bottom:18px;}
  294. .box-img{
  295. padding:10px;
  296. background:#fff;
  297. border-radius:16px;
  298. -moz-border-radius:16px;
  299. -webkit-border-radius:16px;
  300. box-shadow:0 0 3px #c5c2a9;
  301. -moz-box-shadow: 0 0 3px #c5c2a9;
  302. -webkit-box-shadow:0 0 3px #c5c2a9;
  303. display:inline-block;
  304. }
  305. .box-img img{
  306. border-radius:7px;
  307. -moz-border-radius:7px;
  308. -webkit-border-radius:7px;}
  309.  
  310. .row-1{
  311. padding-bottom:40px;
  312. }
  313.  
  314. .quote-1{
  315. font-style:italic;
  316. position:relative;
  317. padding-left:30px:
  318. }
  319.  
  320. .quote-1:before{
  321. width:27px;
  322. height:21px;
  323. position:absolute;
  324. content:"";
  325. background:url(../images/quote-part.png) no-repeat 0 0;
  326. left:0;
  327. top:0;
  328. }
  329.  
  330. .name-author{
  331. text-align:right;
  332. color:#D53827;
  333. font-style:italic;
  334. }
  335.  
  336. .list-popular.news{padding-right:22px}
  337. .list-popular a{
  338. font-size:20px;
  339. color:#d53827;
  340. line-height:24px;
  341. margin-bottom:2px;
  342. display:inline-block}
  343. .list-popular a:hover{color:#343434}
  344.  
  345. .list-dropcap{overflow:hidden;margin-left:-25px;padding-top:25px}
  346. .list-dropcap li{float:left;width:190px;margin-left:25px}
  347. .list-dropcap a{
  348. color:#343434;
  349. font-size:20px;
  350. line-height:24px}
  351. .list-dropcap a:hover{color:#d53827;}
  352.  
  353. .dropcap{float:left;width:54px;
  354. background:#d53827;
  355. border-radius:26px;
  356. -moz-border-radius:26px;
  357. -webkit-border-radius:26px;
  358. font-size:45px;
  359. line-height:48px;
  360. text-transform:uppercase;
  361. color:#fff;
  362. text-align:center;
  363. padding:1px 0 5px;
  364. margin:0 12px 18px 0
  365. }
  366. .list-dropcap1{padding-top:10px}
  367. .list-dropcap1 .dropcap{background:#000;margin-bottom:8px}
  368. .list-dropcap1 li{padding-bottom:32px}
  369. .list-dropcap1 h4{color:#343434;line-height:24px}
  370. .side-bar{
  371. width:280px;
  372. float:left;
  373. margin:20px 20px 0 -30px;
  374. padding:0 10px 7px 40px;
  375. background:#fff;
  376. border-radius:18px;
  377. -moz-border-radius:18px;
  378. -webkit-border-radius:18px;
  379. box-shadow:0 0 3px #c5c2a9;
  380. -moz-box-shadow: 0 0 3px #c5c2a9;
  381. -webkit-box-shadow:0 0 3px #c5c2a9;
  382. }
  383. .side-bar.extra{padding:18px 10px 0 40px}
  384. .side-bar.extra1{padding:0px 20px 27px 30px}
  385. .list-1 {padding:6px 0 23px}
  386.  
  387. .list-1 li {
  388. background:url(../images/marker-1.png) no-repeat 7px 10px;
  389. padding:0 0 0 20px;
  390. display:block;
  391. line-height:24px;
  392. }
  393. .list-1 li a {
  394. display:inline-block;
  395. -webkit-transition: all 0.2s ease;
  396. -moz-transition: all 0.2s ease;
  397. -o-transition: all 0.2s ease;
  398. transition: all 0.2s ease;
  399. color:#d53827;
  400. }
  401. .list-1 li a:hover{color:#343434}
  402.  
  403. .list-teachers{}
  404. .list-teachers li{padding-bottom:25px}
  405. .list-teachers li figure{float:left;margin-right:30px}
  406.  
  407. .list-recipes{}
  408. .list-recipes li figure{float:left;margin-right:30px}
  409. .list-recipes li h4{padding-top:14px}
  410. .list-recipes li{padding-bottom:30px}
  411. .list-recipes.extra h4{padding-top:10px}
  412.  
  413. .privacy {
  414. width:750px;
  415. padding:0 0 0 0
  416. }
  417.  
  418. /*----- lists -----*/
  419.  
  420.  
  421. /*----- links -----*/
  422. .link-1{color:#d53827}
  423. .link-1:hover{text-decoration:none;
  424. color:#343434}
  425.  
  426. /*----- btns -----*/
  427.  
  428. .btn {
  429. display:inline-block;
  430. color:#fff;
  431. padding:8px 16px;
  432. background:#db3222;
  433. -webkit-transition: all 0.3s ease;
  434. -moz-transition: all 0.3s ease;
  435. -o-transition: all 0.3s ease;
  436. transition: all 0.3s ease;
  437. box-shadow:0 1px 2px #c5c2a9;
  438. -moz-box-shadow: 0 1px 2px #c5c2a9;
  439. -webkit-box-shadow:0 1px 2px #c5c2a9;
  440. }
  441. .btn:hover {
  442. background:#2e2e2e
  443. }
  444.  
  445. .button {
  446. display:inline-block;
  447. color:#fff;
  448. padding:8px 16px;
  449. background:#db3222;
  450. -webkit-transition: all 0.3s ease;
  451. -moz-transition: all 0.3s ease;
  452. -o-transition: all 0.3s ease;
  453. transition: all 0.3s ease;
  454. box-shadow:0 1px 2px #c5c2a9;
  455. -moz-box-shadow: 0 1px 2px #c5c2a9;
  456. -webkit-box-shadow:0 1px 2px #c5c2a9;
  457. }
  458.  
  459. .button:hover {
  460. background:#2e2e2e
  461. }
  462.  
  463. /*----- forms -----*/
  464.  
  465. .box-contact{
  466. background:#fff;
  467. width:940px;
  468. margin:60px auto 0;
  469. padding:0 40px 51px;
  470. background:#fff;
  471. border-radius:18px;
  472. -moz-border-radius:18px;
  473. -webkit-border-radius:18px;
  474. box-shadow:0 0 3px #c5c2a9;
  475. -moz-box-shadow: 0 0 3px #c5c2a9;
  476. -webkit-box-shadow:0 0 3px #c5c2a9;
  477. }
  478.  
  479. .coll-1,.coll-2{float:left;width:450px;}
  480. .coll-2{float:right}
  481.  
  482.  
  483. .box-contact .btn{margin-top:2px}
  484. #contact-form {
  485. position: relative;
  486. vertical-align: top;
  487. z-index: 1;
  488. margin: 0;
  489. padding: 0;
  490. }
  491. #contact-form fieldset {
  492. border: none;
  493. padding: 0;
  494. width: 100%;
  495. overflow: hidden;
  496. }
  497. #contact-form label {
  498. min-height: 54px;
  499. position: relative;
  500. margin: 0;
  501. overflow: hidden;
  502. display: block;
  503. float: left;
  504. width: 100%;
  505. }
  506. #contact-form .message {
  507. min-height: 213px;
  508. display: block;
  509. width: 100%;
  510. }
  511. #contact-form input,
  512. #contact-form textarea {
  513. font-family: 'PT Serif Caption', serif;
  514. padding: 4px 12px 5px;
  515. text-transform:uppercase;
  516. margin: 0;
  517. font-size:14px;
  518. display: block;
  519. line-height: 24px !important;
  520. color: #343434;
  521. background: #e8e7de;
  522. outline: none;
  523. width: 94%;
  524. border: 1px solid #d1cfbd;
  525. box-shadow: none;
  526. border-radius: 0px;
  527. float: left;
  528. }
  529. #contact-form input {
  530. height: 24px;
  531. }
  532. #contact-form textarea {
  533. height: 184px;
  534. resize: none;
  535. overflow: auto;
  536. }
  537. #contact-form textarea:focus,
  538. #contact-form input[type="text"]:focus {
  539. box-shadow: none;
  540.  
  541. }
  542. #contact-form .area .error {
  543. float: none;
  544. }
  545. #contact-form .success {
  546. display: none;
  547. margin-bottom: 10px;
  548. background: #e8e7de;
  549. font-size: 14px;
  550. line-height: 16px;
  551. position: relative;
  552. border: 1px solid #d1cfbd;
  553. padding: 10px;
  554. }
  555. #contact-form .error,
  556. #contact-form .empty {
  557. color: #f00;
  558. font-size: 11px;
  559. line-height: 1.27em;
  560. display: none;
  561. overflow: hidden;
  562. margin-bottom: 5px;
  563. padding: 2px 4px 6px;
  564. float: left;
  565. }
  566. #contact-form a{cursor:pointer}
  567.  
  568.  
  569. .form-txt{padding-bottom:2px}
  570. .btns {overflow:hidden;
  571. padding-left:370px}
  572. .btns a{float:left;margin-right:40px}
  573. /*----- map -----*/
  574. .map {
  575. float:left;
  576. margin:0
  577. }
  578. iframe {
  579. height: 182px;
  580. overflow: hidden;
  581. width: 610px;
  582.  
  583. }
  584. /*----- adress -----*/
  585.  
  586. .box-address {
  587. float:left;
  588. width:280px;
  589. margin-right:30px;
  590. padding-top:9px
  591. }
  592.  
  593. dl {padding-top:2px
  594. }
  595. dt {
  596. padding-bottom:5px;
  597. }
  598. dd {
  599. display:inline-block;
  600. }
  601. dl dd span {
  602. display: inline-block;
  603. width: 94px;
  604. }
  605. .mail-1{
  606. color:#d53827;
  607. text-decoration:none;
  608.  
  609. }
  610. .mail-1:hover{
  611. text-decoration:underline
  612. }
  613.  
  614. /*===== footer =====*/
  615.  
  616. footer {
  617. position:relative;
  618. padding:31px 0 20px;
  619. background:url(../images/tail-bg-footer.gif) repeat-x 0 0;
  620.  
  621. }
  622. .policy {
  623. float:right;
  624. display:block;
  625. font-size:14px;
  626. color:#343434;
  627. line-height:16px;
  628. text-decoration:none;
  629. padding:8px 90px 0 0;
  630. }
  631.  
  632. .policy a {
  633. color:#d53827;
  634. text-decoration:none;
  635.  
  636.  
  637. }
  638. .policy a:hover {
  639. text-decoration:underline;
  640. }
  641.  
  642. /*----- social -----*/
  643. .soc-list {float:left;
  644. display:block;
  645. padding-left:73px
  646. }
  647. .soc-list li {
  648. padding:0 5px 0 0;
  649. float:left;
  650. }
  651. .soc-list li a {
  652. display:block;
  653. opacity:1;
  654. background:url(../images/bg-body.gif);
  655. }
  656. .soc-list li a:hover{opacity:0.7}
Advertisement
Add Comment
Please, Sign In to add comment