responsive.css 13 KB

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