popuo-box.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. /* Styles for dialog window */
  2. #small-dialog, #small-dialog1, #small-dialog2, #small-dialog3, #small-dialog4{
  3. background:#fff;
  4. padding: 2em;
  5. text-align: left;
  6. max-width: 700px;
  7. margin: 40px auto;
  8. position: relative;
  9. text-align:center;
  10. }
  11. #small-dialog-it,#small-dialog-in,#small-dialog-fr,#small-dialog-sh,#small-dialog-sf,#small-dialog-su,#small-dialog-me,#small-dialog-ch,#small-dialog-pi,#small-dialog-am {
  12. background: white;
  13. padding:0px;
  14. text-align: left;
  15. max-width: 450px;
  16. margin: 40px auto;
  17. position: relative;
  18. text-align:center;
  19. }
  20. a.play-icon.popup-with-zoom-anim img:hover {
  21. opacity: 0.5;
  22. transition:0.5s all;
  23. -webkit-transition:0.5s all;
  24. -o-transition:0.5s all;
  25. -moz-transition:0.5s all;
  26. -ms-transition:0.5s all;
  27. }
  28. .portfolio-items{
  29. text-align:center;
  30. margin:0 auto;
  31. }
  32. .portfolio-items img{
  33. width:100%;
  34. }
  35. .portfolio-items h4{
  36. margin:1em 0;
  37. font-size:25px;
  38. color:#a63d56;
  39. }
  40. .portfolio-items p{
  41. text-align:justify;
  42. }
  43. /**
  44. /**
  45. * Fade-zoom animation for first dialog
  46. */
  47. /* start state */
  48. .my-mfp-zoom-in #small-dialog {
  49. opacity: 0;
  50. -webkit-transition: all 0.2s ease-in-out;
  51. -moz-transition: all 0.2s ease-in-out;
  52. -o-transition: all 0.2s ease-in-out;
  53. transition: all 0.2s ease-in-out;
  54. -webkit-transform: scale(0.8);
  55. -moz-transform: scale(0.8);
  56. -ms-transform: scale(0.8);
  57. -o-transform: scale(0.8);
  58. transform: scale(0.8);
  59. }
  60. /* animate in */
  61. .my-mfp-zoom-in.mfp-ready #small-dialog {
  62. opacity: 1;
  63. -webkit-transform: scale(1);
  64. -moz-transform: scale(1);
  65. -ms-transform: scale(1);
  66. -o-transform: scale(1);
  67. transform: scale(1);
  68. }
  69. /* animate out */
  70. .my-mfp-zoom-in.mfp-removing #small-dialog {
  71. -webkit-transform: scale(0.8);
  72. -moz-transform: scale(0.8);
  73. -ms-transform: scale(0.8);
  74. -o-transform: scale(0.8);
  75. transform: scale(0.8);
  76. opacity: 0;
  77. }
  78. /* Dark overlay, start state */
  79. .my-mfp-zoom-in.mfp-bg {
  80. opacity: 0;
  81. -webkit-transition: opacity 0.3s ease-out;
  82. -moz-transition: opacity 0.3s ease-out;
  83. -o-transition: opacity 0.3s ease-out;
  84. transition: opacity 0.3s ease-out;
  85. }
  86. /* animate in */
  87. .my-mfp-zoom-in.mfp-ready.mfp-bg {
  88. opacity: 0.8;
  89. }
  90. /* animate out */
  91. .my-mfp-zoom-in.mfp-removing.mfp-bg {
  92. opacity: 0;
  93. }
  94. /**
  95. /* Magnific Popup CSS */
  96. .mfp-bg {
  97. top: 0;
  98. left: 0;
  99. width: 100%;
  100. height: 100%;
  101. z-index: 1042;
  102. overflow: hidden;
  103. position: fixed;
  104. background: #0b0b0b;
  105. opacity: 0.8;
  106. filter: alpha(opacity=80); }
  107. .mfp-wrap {
  108. top: 0;
  109. left: 0;
  110. width: 100%;
  111. height: 100%;
  112. z-index: 1043;
  113. position: fixed;
  114. outline: none !important;
  115. -webkit-backface-visibility: hidden; }
  116. .mfp-container {
  117. text-align: center;
  118. position: absolute;
  119. width: 100%;
  120. height: 100%;
  121. left: 0;
  122. top: 0;
  123. padding: 0 8px;
  124. -webkit-box-sizing: border-box;
  125. -moz-box-sizing: border-box;
  126. box-sizing: border-box; }
  127. .mfp-container:before {
  128. content: '';
  129. display: inline-block;
  130. height: 100%;
  131. vertical-align: middle; }
  132. .mfp-align-top .mfp-container:before {
  133. display: none; }
  134. .mfp-content {
  135. position: relative;
  136. display: inline-block;
  137. vertical-align: middle;
  138. margin: 0 auto;
  139. text-align: left;
  140. z-index: 1045; }
  141. .mfp-inline-holder .mfp-content,
  142. .mfp-ajax-holder .mfp-content {
  143. width: 100%;
  144. cursor: auto; }
  145. .mfp-ajax-cur {
  146. cursor: progress; }
  147. .mfp-zoom-out-cur,
  148. .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  149. cursor: -moz-zoom-out;
  150. cursor: -webkit-zoom-out;
  151. cursor: zoom-out; }
  152. .mfp-zoom {
  153. cursor: pointer;
  154. cursor: -webkit-zoom-in;
  155. cursor: -moz-zoom-in;
  156. cursor: zoom-in; }
  157. .mfp-auto-cursor .mfp-content {
  158. cursor: auto; }
  159. .mfp-close,
  160. .mfp-arrow,
  161. .mfp-preloader,
  162. .mfp-counter {
  163. -webkit-user-select: none;
  164. -moz-user-select: none;
  165. user-select: none; }
  166. .mfp-loading.mfp-figure {
  167. display: none; }
  168. .mfp-hide {
  169. display: none !important; }
  170. .mfp-content iframe {
  171. width: 100%;
  172. min-height: 370px;
  173. border: none;
  174. }
  175. .mfp-preloader {
  176. color: #cccccc;
  177. position: absolute;
  178. top: 50%;
  179. width: auto;
  180. text-align: center;
  181. margin-top: -0.8em;
  182. left: 8px;
  183. right: 8px;
  184. z-index: 1044; }
  185. .mfp-preloader a {
  186. color: #cccccc; }
  187. .mfp-preloader a:hover {
  188. color: white; }
  189. .mfp-s-ready .mfp-preloader {
  190. display: none; }
  191. .mfp-s-error .mfp-content {
  192. display: none; }
  193. button.mfp-close,
  194. button.mfp-arrow {
  195. overflow: visible;
  196. cursor: pointer;
  197. border: 0;
  198. background:#FFF;
  199. -webkit-appearance: none;
  200. display: block;
  201. padding: 0;
  202. z-index: 1046; }
  203. button::-moz-focus-inner {
  204. padding: 0;
  205. border: 0; }
  206. .mfp-close {
  207. width: 23px;
  208. height: 30px;
  209. line-height: 25px;
  210. position: absolute;
  211. left: -30px;
  212. top: -30px;
  213. text-decoration: none;
  214. text-align: center;
  215. padding: 0 0 18px 10px;
  216. color: white !important;
  217. font-style: normal;
  218. font-size: 45px;
  219. outline: none;
  220. font-family: 'Open Sans', sans-serif;
  221. }
  222. .mfp-close:hover, .mfp-close:focus {
  223. opacity: 1; }
  224. .mfp-close-btn-in .mfp-close {
  225. color: #333333;
  226. background: none;
  227. }
  228. .mfp-image-holder .mfp-close,
  229. .mfp-iframe-holder .mfp-close {
  230. color: white;
  231. right: -6px;
  232. text-align: right;
  233. padding-right: 6px;
  234. width: 100%;
  235. }
  236. /* responsive */
  237. @media all and (max-width:768px){
  238. #small-dialog, #small-dialog1, #small-dialog2, #small-dialog3, #small-dialog4 {
  239. max-width: 660px;
  240. }
  241. }
  242. @media all and (max-width:736px){
  243. #small-dialog, #small-dialog1, #small-dialog2, #small-dialog3, #small-dialog4 {
  244. max-width: 600px;
  245. }
  246. .mfp-content iframe {
  247. min-height: 309px;
  248. }
  249. }
  250. @media all and (max-width:667px){
  251. #small-dialog, #small-dialog1, #small-dialog2, #small-dialog3, #small-dialog4 {
  252. max-width: 550px;
  253. }
  254. }
  255. @media all and (max-width:600px){
  256. #small-dialog, #small-dialog1, #small-dialog2, #small-dialog3, #small-dialog4 {
  257. max-width: 498px;
  258. }
  259. .mfp-content iframe {
  260. min-height: 252px;
  261. }
  262. }
  263. @media all and (max-width:568px){
  264. #small-dialog, #small-dialog1,#small-dialog2,#small-dialog3 {
  265. max-width: 425px;
  266. }
  267. .mfp-content iframe {
  268. min-height: 211px;
  269. }
  270. }
  271. @media all and (max-width:480px){
  272. #small-dialog, #small-dialog1,#small-dialog2,#small-dialog3 {
  273. max-width: 445px;
  274. }
  275. .mfp-close {
  276. top: -45px;
  277. left: 0;
  278. }
  279. }
  280. @media all and (max-width:414px){
  281. #small-dialog, #small-dialog1,#small-dialog2,#small-dialog3 {
  282. padding: 1.5em;
  283. }
  284. }
  285. @media all and (max-width:375px){
  286. #small-dialog h2, #small-dialog1,#small-dialog2,#small-dialog3 h2 {
  287. font-size: 1.5em;
  288. }
  289. }
  290. @media all and (max-width:384px){
  291. .mfp-content iframe {
  292. min-height: 178px;
  293. }
  294. }
  295. @media all and (max-width:320px){
  296. .mfp-content iframe{
  297. width:100%;
  298. min-height:131px;
  299. }
  300. #small-dialog h2, #small-dialog1, #small-dialog2, #small-dialog3 h2 {
  301. font-size: 1em;
  302. }
  303. }