popup-box.css 6.7 KB

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