responsive.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693
  1. /* @override http://magicbullet.local/phf/wp-content/themes/ph/css/responsive.css */
  2. /** /\/\/*** GRID ***\/\/\/ **/
  3. .container {
  4. padding: 0 30px;
  5. max-width: 931px;
  6. margin: 0 auto;
  7. }
  8. .row {
  9. width: 100%;
  10. max-width: 1240px;
  11. margin: 0 auto;
  12. overflow: hidden;}
  13. .onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .slidecol {
  14. margin-right: 2.9%;
  15. float: left;
  16. min-height: 1px;
  17. }
  18. .row .onecol {width: 4.85%;}
  19. .row .twocol {width: 13.45%;}
  20. .row .threecol {width: 22.05%;}
  21. .row .fourcol {width: 30.75%;}
  22. .row .slidecol {width: 30%;}
  23. .row .fivecol {width: 39.45%;}
  24. .row .sixcol {width: 47%;}
  25. .row .sevencol {width: 56.75%;}
  26. .row .eightcol {width: 65.4%;}
  27. .row .ninecol {width: 74.05%;}
  28. .row .tencol {width: 82.7%;}
  29. .row .elevencol {width: 91.35%;}
  30. .row .twelvecol {width: 100%;float: left;}
  31. .last {margin-right: 0px;}
  32. img, object, embed {max-width: 100%;}
  33. img {height: auto;}
  34. .eightcol.centered {
  35. margin: 40px auto;
  36. float: none;
  37. }
  38. .filmrow {
  39. width: 100%;
  40. max-width: 1240px;
  41. margin: 0 auto;
  42. }
  43. /** /\/\/*** MEDIA TYPES ***\/\/\/ **/
  44. /*HD full screen 1290x1080 */
  45. @media only screen and (min-width: 1901px) {
  46. body {
  47. font-size: 0.8em;
  48. line-height: 1.5em;
  49. }
  50. h1.josefin {
  51. font-size: 27px;
  52. line-height: 21px;
  53. letter-spacing:7px;
  54. }
  55. }
  56. /* tablets (ipad 3 is sized to default desktop)*/
  57. @media only screen
  58. and (min-width : 641px)
  59. and (max-width: 767px) {
  60. html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
  61. body {
  62. font-size: 16px;
  63. -webkit-text-size-adjust: none;
  64. }
  65. h1.josefin {
  66. font-size: 19px;
  67. line-height: 21px;
  68. letter-spacing:3px;
  69. }
  70. h2.josefin {
  71. font-size: 15px;
  72. line-height: 17px;
  73. letter-spacing: 5px;
  74. }
  75. .elsewhere p {
  76. font-family:WebSymbolsRegular;
  77. font-size: 17px;
  78. color: #333;
  79. }
  80. img.logo {
  81. margin-bottom: 0px;
  82. padding-bottom: 0px;
  83. }
  84. .row {
  85. width: 100%;
  86. max-width: 767px;
  87. margin: 0 auto;
  88. overflow: hidden;}
  89. .twocol, .threecol, .fourcol, .sixcol, .eightcol, .tencol {
  90. margin-right: 2.5%;
  91. float: left;
  92. min-height: 1px;
  93. }
  94. .row .onecol {width: 4.85%;}
  95. .row .twocol {width: 13.45%;}
  96. .row .threecol {width: 22.05%;}
  97. .row .fourcol {width: 30.75%;}
  98. .row .fivecol {width: 39.45%;}
  99. .row .sixcol {width: 47%;}
  100. .row .sevencol {width: 56.75%;}
  101. .row .eightcol {width: 65.4%;}
  102. .row .ninecol {width: 74.05%;}
  103. .row .tencol {width: 82.7%;}
  104. .row .elevencol {width: 91.35%;}
  105. .row .twelvecol {width: 100%;float: left;}
  106. img, object, embed {max-width: 100%;}
  107. img {height: auto;}
  108. }
  109. /* iPhone5 */
  110. @media screen and (device-aspect-ratio: 40/71) {
  111. header h1.title {
  112. margin: 14px 0 0 10px;
  113. font-size: 16px;
  114. }
  115. h2.josefin {
  116. font-size: 11px;
  117. font-weight: 400;
  118. line-height: 15px;
  119. }
  120. nav h2.josefin {
  121. margin: 0 0 20px;
  122. letter-spacing:0px;
  123. text-shadow: none;
  124. font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  125. color: #cecece;
  126. }
  127. .search {
  128. display:none;
  129. }
  130. .slided li {
  131. list-style: none;
  132. margin: 0px 0 10px;
  133. padding: 0;
  134. }
  135. }
  136. /* iphone4 and other small screens */
  137. @media only screen and (max-width: 480px) {
  138. html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
  139. body {
  140. font-size: 16px;
  141. -webkit-text-size-adjust: none;
  142. }
  143. header .head-secondary {
  144. display: none;
  145. }
  146. .slided img {
  147. max-height: 300px;
  148. padding: 0;
  149. }
  150. .slided li {
  151. list-style: none;
  152. margin: 0px 0 10px;
  153. padding: 0;
  154. }
  155. .search {
  156. display:none;
  157. }
  158. .slided a.film-next {
  159. display:none;
  160. }
  161. .slided a.film-prev {
  162. display:none;
  163. }
  164. header img.logo {
  165. float: left;
  166. margin: -20px 10px 0 0;
  167. width: 90px;
  168. }
  169. h1.josefin {
  170. font-size: 17px;
  171. line-height: 21px;
  172. letter-spacing:2px;
  173. }
  174. header h1.title {
  175. margin: 14px 0 0 10px;
  176. font-size: 16px;
  177. }
  178. h2.josefin {
  179. font-size: 11px;
  180. font-weight: 400;
  181. line-height: 15px;
  182. }
  183. nav h2.josefin {
  184. margin: 0 0 20px;
  185. letter-spacing:0px;
  186. text-shadow: none;
  187. font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  188. color: #cecece;
  189. }
  190. nav {
  191. margin: 10px auto 0;
  192. clear: left;
  193. }
  194. .info{
  195. padding: 20px;
  196. }
  197. .row, body, .container {
  198. width: 100%;
  199. min-width: 0;
  200. margin-left: 0px;
  201. margin-right: 0px;
  202. padding-left: 0px;
  203. padding-right: 0px;
  204. }
  205. .row .onecol, .row .twocol, .row .threecol, .row .fourcol, .row .fivecol, .row .sixcol, .row .sevencol, .row .eightcol, .row .ninecol, .row .tencol, .row .elevencol, .row .twelvecol, .row .slidecol {
  206. width: auto;
  207. float: none;
  208. margin-left: 0px;
  209. margin-right: 0px;
  210. padding-left: 5px;
  211. padding-right: 5px;
  212. }
  213. }
  214. /*PRINT*/
  215. @media print {
  216. * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  217. -ms-filter: none !important; }
  218. a, a:visited { color: #222 !important; text-decoration: underline; }
  219. a[href]:after { content: " (" attr(href) ")"; }
  220. abbr[title]:after { content: " (" attr(title) ")"; }
  221. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  222. pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  223. thead { display: table-header-group; }
  224. tr, img { page-break-inside: avoid; }
  225. @page { margin: 0.5cm; }
  226. p, h2, h3 { orphans: 3; widows: 3; }
  227. h2, h3{ page-break-after: avoid; }
  228. }
  229. /* http://dimsemenov.com/plugins/magnific-popup/ - Dmitry Semenov */
  230. .mfp-fade.mfp-bg {
  231. opacity: 0;
  232. -webkit-transition: all 0.15s ease-out;
  233. -moz-transition: all 0.15s ease-out;
  234. transition: all 0.15s ease-out;
  235. }
  236. .mfp-fade.mfp-bg.mfp-ready {
  237. opacity: 0.8;
  238. }
  239. .mfp-fade.mfp-bg.mfp-removing {
  240. opacity: 0;
  241. }
  242. .mfp-fade.mfp-wrap .mfp-content {
  243. opacity: 0;
  244. -webkit-transition: all 0.15s ease-out;
  245. -moz-transition: all 0.15s ease-out;
  246. transition: all 0.15s ease-out;
  247. }
  248. .mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  249. opacity: 1;
  250. }
  251. .mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  252. opacity: 0;
  253. }
  254. .mfp-no-margins img.mfp-img {
  255. padding: 0;
  256. }
  257. /* position of shadow behind the image */
  258. .mfp-no-margins .mfp-figure:after {
  259. top: 0;
  260. bottom: 0;
  261. }
  262. /* padding for main container */
  263. .mfp-no-margins .mfp-container {
  264. padding: 0;
  265. }
  266. /* Magnific Popup CSS */
  267. .mfp-bg {
  268. top: 0;
  269. left: 0;
  270. width: 100%;
  271. height: 100%;
  272. z-index: 502;
  273. overflow: hidden;
  274. position: fixed;
  275. background: #0b0b0b;
  276. opacity: 0.8;
  277. filter: alpha(opacity=80); }
  278. .mfp-wrap {
  279. top: 0;
  280. left: 0;
  281. width: 100%;
  282. height: 100%;
  283. z-index: 503;
  284. position: fixed;
  285. outline: none !important;
  286. -webkit-backface-visibility: hidden; }
  287. .mfp-container {
  288. height: 100%;
  289. text-align: center;
  290. position: absolute;
  291. width: 100%;
  292. height: 100%;
  293. left: 0;
  294. top: 0;
  295. padding: 0 8px;
  296. -webkit-box-sizing: border-box;
  297. -moz-box-sizing: border-box;
  298. box-sizing: border-box; }
  299. .mfp-container:before {
  300. content: '';
  301. display: inline-block;
  302. height: 100%;
  303. vertical-align: middle; }
  304. .mfp-align-top .mfp-container:before {
  305. display: none; }
  306. .mfp-content {
  307. position: relative;
  308. display: inline-block;
  309. vertical-align: middle;
  310. margin: 0 auto;
  311. text-align: left;
  312. z-index: 505; }
  313. .mfp-inline-holder .mfp-content,
  314. .mfp-ajax-holder .mfp-content {
  315. width: 100%;
  316. cursor: auto; }
  317. .mfp-ajax-cur {
  318. cursor: progress; }
  319. .mfp-zoom-out-cur,
  320. .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  321. cursor: -moz-zoom-out;
  322. cursor: -webkit-zoom-out;
  323. cursor: zoom-out; }
  324. .mfp-zoom {
  325. cursor: pointer;
  326. cursor: -webkit-zoom-in;
  327. cursor: -moz-zoom-in;
  328. cursor: zoom-in; }
  329. .mfp-auto-cursor .mfp-content {
  330. cursor: auto; }
  331. .mfp-close,
  332. .mfp-arrow,
  333. .mfp-preloader,
  334. .mfp-counter {
  335. -webkit-user-select: none;
  336. -moz-user-select: none;
  337. user-select: none; }
  338. .mfp-loading.mfp-figure {
  339. display: none; }
  340. .mfp-hide {
  341. display: none !important; }
  342. .mfp-preloader {
  343. color: #cccccc;
  344. position: absolute;
  345. top: 50%;
  346. width: auto;
  347. text-align: center;
  348. margin-top: -0.8em;
  349. left: 8px;
  350. right: 8px;
  351. z-index: 504; }
  352. .mfp-preloader a {
  353. color: #cccccc; }
  354. .mfp-preloader a:hover {
  355. color: white; }
  356. .mfp-s-ready .mfp-preloader {
  357. display: none; }
  358. .mfp-s-error .mfp-content {
  359. display: none; }
  360. button.mfp-close,
  361. button.mfp-arrow {
  362. overflow: visible;
  363. cursor: pointer;
  364. background: transparent;
  365. border: 0;
  366. -webkit-appearance: none;
  367. display: block;
  368. padding: 0;
  369. z-index: 506; }
  370. button::-moz-focus-inner {
  371. padding: 0;
  372. border: 0; }
  373. .mfp-close {
  374. width: 44px;
  375. height: 44px;
  376. line-height: 44px;
  377. position: absolute;
  378. right: 0;
  379. top: 0;
  380. text-decoration: none;
  381. text-align: center;
  382. opacity: 0.65;
  383. padding: 0 0 18px 10px;
  384. color: white;
  385. font-style: normal;
  386. font-size: 28px;
  387. font-family: Arial, Baskerville, monospace; }
  388. .mfp-close:hover, .mfp-close:focus {
  389. opacity: 1; }
  390. .mfp-close:active {
  391. top: 1px; }
  392. .mfp-close-btn-in .mfp-close {
  393. color: #333333; }
  394. .mfp-image-holder .mfp-close,
  395. .mfp-iframe-holder .mfp-close {
  396. color: white;
  397. right: -6px;
  398. text-align: right;
  399. padding-right: 6px;
  400. width: 100%; }
  401. .mfp-counter {
  402. position: absolute;
  403. top: 0;
  404. right: 0;
  405. color: #cccccc;
  406. font-size: 12px;
  407. line-height: 18px; }
  408. .mfp-arrow {
  409. position: absolute;
  410. top: 0;
  411. opacity: 0.65;
  412. margin: 0;
  413. top: 50%;
  414. margin-top: -55px;
  415. padding: 0;
  416. width: 90px;
  417. height: 110px;
  418. -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  419. .mfp-arrow:active {
  420. margin-top: -54px; }
  421. .mfp-arrow:hover,
  422. .mfp-arrow:focus {
  423. opacity: 1; }
  424. .mfp-arrow:before, .mfp-arrow:after,
  425. .mfp-arrow .mfp-b,
  426. .mfp-arrow .mfp-a {
  427. content: '';
  428. display: block;
  429. width: 0;
  430. height: 0;
  431. position: absolute;
  432. left: 0;
  433. top: 0;
  434. margin-top: 35px;
  435. margin-left: 35px;
  436. border: solid transparent; }
  437. .mfp-arrow:after,
  438. .mfp-arrow .mfp-a {
  439. opacity: 0.8;
  440. border-top-width: 12px;
  441. border-bottom-width: 12px;
  442. top: 8px; }
  443. .mfp-arrow:before,
  444. .mfp-arrow .mfp-b {
  445. border-top-width: 20px;
  446. border-bottom-width: 20px; }
  447. .mfp-arrow-left {
  448. left: 0; }
  449. .mfp-arrow-left:after,
  450. .mfp-arrow-left .mfp-a {
  451. border-right: 12px solid black;
  452. left: 5px; }
  453. .mfp-arrow-left:before,
  454. .mfp-arrow-left .mfp-b {
  455. border-right: 20px solid white; }
  456. .mfp-arrow-right {
  457. right: 0; }
  458. .mfp-arrow-right:after,
  459. .mfp-arrow-right .mfp-a {
  460. border-left: 12px solid black;
  461. left: 3px; }
  462. .mfp-arrow-right:before,
  463. .mfp-arrow-right .mfp-b {
  464. border-left: 20px solid white; }
  465. .mfp-iframe-holder {
  466. padding-top: 40px;
  467. padding-bottom: 40px; }
  468. .mfp-iframe-holder .mfp-content {
  469. line-height: 0;
  470. width: 100%;
  471. max-width: 900px; }
  472. .mfp-iframe-scaler {
  473. width: 100%;
  474. height: 0;
  475. overflow: hidden;
  476. padding-top: 56.25%; }
  477. .mfp-iframe-scaler iframe {
  478. position: absolute;
  479. top: -3px;
  480. left: 0;
  481. width: 100%;
  482. height: 100%;
  483. box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  484. background: black; }
  485. .mfp-iframe-holder .mfp-close {
  486. top: -43px; }
  487. /* Main image in popup */
  488. img.mfp-img {
  489. width: auto;
  490. max-width: 100%;
  491. height: auto;
  492. display: block;
  493. line-height: 0;
  494. -webkit-box-sizing: border-box;
  495. -moz-box-sizing: border-box;
  496. box-sizing: border-box;
  497. padding: 40px 0 40px;
  498. margin: 0 auto; }
  499. /* The shadow behind the image */
  500. .mfp-figure:after {
  501. content: '';
  502. position: absolute;
  503. left: 0;
  504. top: 40px;
  505. bottom: 40px;
  506. display: block;
  507. right: 0;
  508. width: auto;
  509. height: auto;
  510. z-index: -1;
  511. box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); }
  512. .mfp-figure {
  513. line-height: 0; }
  514. .mfp-bottom-bar {
  515. margin-top: -36px;
  516. position: absolute;
  517. top: 100%;
  518. left: 0;
  519. width: 100%;
  520. cursor: auto; }
  521. .mfp-title {
  522. text-align: left;
  523. line-height: 18px;
  524. color: #f3f3f3;
  525. word-break: break-word;
  526. padding-right: 36px; }
  527. .mfp-figure small {
  528. color: #bdbdbd;
  529. display: block;
  530. font-size: 12px;
  531. line-height: 14px; }
  532. .mfp-image-holder .mfp-content {
  533. max-width: 100%; }
  534. .mfp-gallery .mfp-image-holder .mfp-figure {
  535. cursor: pointer; }
  536. @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  537. /**
  538. * Remove all paddings around the image on small screen
  539. */
  540. .mfp-img-mobile .mfp-image-holder {
  541. padding-left: 0;
  542. padding-right: 0; }
  543. .mfp-img-mobile img.mfp-img {
  544. padding: 0; }
  545. /* The shadow behind the image */
  546. .mfp-img-mobile .mfp-figure:after {
  547. top: 0;
  548. bottom: 0; }
  549. .mfp-img-mobile .mfp-bottom-bar {
  550. background: rgba(0, 0, 0, 0.6);
  551. bottom: 0;
  552. margin: 0;
  553. top: auto;
  554. padding: 3px 5px;
  555. position: fixed;
  556. -webkit-box-sizing: border-box;
  557. -moz-box-sizing: border-box;
  558. box-sizing: border-box; }
  559. .mfp-img-mobile .mfp-bottom-bar:empty {
  560. padding: 0; }
  561. .mfp-img-mobile .mfp-counter {
  562. right: 5px;
  563. top: 3px; }
  564. .mfp-img-mobile .mfp-close {
  565. top: 0;
  566. right: 0;
  567. width: 35px;
  568. height: 35px;
  569. line-height: 35px;
  570. background: rgba(0, 0, 0, 0.6);
  571. position: fixed;
  572. text-align: center;
  573. padding: 0; }
  574. .mfp-img-mobile .mfp-figure small {
  575. display: inline;
  576. margin-left: 5px; } }
  577. @media all and (max-width: 800px) {
  578. .mfp-arrow {
  579. -webkit-transform: scale(0.75);
  580. transform: scale(0.75); }
  581. .mfp-arrow-left {
  582. -webkit-transform-origin: 0;
  583. transform-origin: 0; }
  584. .mfp-arrow-right {
  585. -webkit-transform-origin: 100%;
  586. transform-origin: 100%; }
  587. .mfp-container {
  588. padding-left: 6px;
  589. padding-right: 6px; } }
  590. .mfp-ie7 .mfp-img {
  591. padding: 0; }
  592. .mfp-ie7 .mfp-bottom-bar {
  593. width: 600px;
  594. left: 50%;
  595. margin-left: -300px;
  596. margin-top: 5px;
  597. padding-bottom: 5px; }
  598. .mfp-ie7 .mfp-container {
  599. padding: 0; }
  600. .mfp-ie7 .mfp-content {
  601. padding-top: 44px; }
  602. .mfp-ie7 .mfp-close {
  603. top: 0;
  604. right: 0;
  605. padding-top: 0; }