main.css
| 1 | |
| 2 | @charset "UTF-8"; |
| 3 | |
| 4 | |
| 5 | /*clear for twentytwelve theme .entry-content li margin*/ |
| 6 | .entry-content .ewd-slider-section li { |
| 7 | margin: 0; |
| 8 | } |
| 9 | |
| 10 | |
| 11 | |
| 12 | /* |
| 13 | ========================================================= |
| 14 | SLIDER |
| 15 | ========================================================= |
| 16 | */ |
| 17 | |
| 18 | .ewd-us-hidden { |
| 19 | display: none; |
| 20 | } |
| 21 | |
| 22 | .ewd-slider-main { z-index: 1 !important;} |
| 23 | |
| 24 | .ewd-slider-section { |
| 25 | position: relative; |
| 26 | } |
| 27 | .ewd-slider-section .slider { |
| 28 | width:100%; |
| 29 | height:640px; |
| 30 | overflow:hidden; |
| 31 | top:0px; |
| 32 | left:0px; |
| 33 | } |
| 34 | .ewd-slider-section .slider ul { |
| 35 | margin:0px; |
| 36 | padding:0px; |
| 37 | -webkit-transform: translate3d(0px,0px,0px); |
| 38 | transform: translate3d(0px,0px,0px); |
| 39 | } |
| 40 | .slider-ease-transition{ |
| 41 | transition: all 0.66s ease; -webkit-transition: all 0.66s ease; |
| 42 | } |
| 43 | .ewd-slide { |
| 44 | z-index: 0; |
| 45 | list-style:none; |
| 46 | position: relative; |
| 47 | float: left; |
| 48 | margin: 0; |
| 49 | padding: 0; |
| 50 | width: 500px; |
| 51 | height: 100%; |
| 52 | background: #ccc; |
| 53 | text-align: center; |
| 54 | line-height: 100px; |
| 55 | background-size: cover; |
| 56 | background-position:50% 50%; |
| 57 | color:#fff; |
| 58 | -webkit-transform: translate3d(0px,0px,0px); |
| 59 | /*visibility:hidden;*/ |
| 60 | -webkit-transform-style: preserve-3d; |
| 61 | } |
| 62 | |
| 63 | |
| 64 | .ewd-slider-control{ |
| 65 | display: block; |
| 66 | margin-top: 15px; |
| 67 | } |
| 68 | .ewd-slider-control-button-list{ |
| 69 | text-align: center; |
| 70 | list-style-type: none; |
| 71 | } |
| 72 | .ewd-slider-control-button{ |
| 73 | display: inline-block; |
| 74 | } |
| 75 | .ewd-slider-control-click{ |
| 76 | cursor: pointer; |
| 77 | cursor: hand; |
| 78 | background: #869791 none repeat scroll 0 0; |
| 79 | border-radius: 20px; |
| 80 | display: block; |
| 81 | height: 12px; |
| 82 | margin: 5px 7px; |
| 83 | opacity: 0.5; |
| 84 | width: 12px; |
| 85 | } |
| 86 | .ewd-slide-button-active { opacity: 1;} |
| 87 | |
| 88 | .ewd-slider-control-thumbnail { |
| 89 | width: 100px; |
| 90 | height: 60px; |
| 91 | overflow: hidden; |
| 92 | margin-right: 8px; |
| 93 | margin-bottom: 16px; |
| 94 | float: left; |
| 95 | cursor: pointer; |
| 96 | } |
| 97 | .ewd-slider-control-thumbnail-img { |
| 98 | width: 100%; |
| 99 | height: auto; |
| 100 | } |
| 101 | li.ewd-slide[data-src] { |
| 102 | cursor: pointer; |
| 103 | } |
| 104 | |
| 105 | |
| 106 | /* START ARROWS */ |
| 107 | |
| 108 | .nav-arrow { |
| 109 | color: #fff; |
| 110 | cursor: pointer; |
| 111 | font-size: 40px; |
| 112 | position: absolute; |
| 113 | transition: opacity 0.66s ease 0s; |
| 114 | z-index: 4; |
| 115 | opacity: 0.6; |
| 116 | width: auto; |
| 117 | height: 57px; |
| 118 | display: table-cell; |
| 119 | vertical-align: middle; |
| 120 | text-align: center; |
| 121 | } |
| 122 | .nav-arrow:hover { |
| 123 | opacity: 1; |
| 124 | } |
| 125 | .nav-arrow#left { |
| 126 | left: 0; |
| 127 | } |
| 128 | .nav-arrow#right { |
| 129 | right: 0; |
| 130 | } |
| 131 | .ewd-us-arrow-div { |
| 132 | display: inline-block; |
| 133 | height: 70px; |
| 134 | width: 70px; |
| 135 | background: transparent; |
| 136 | margin: 0 12px; |
| 137 | } |
| 138 | .ewd-us-arrow-div.ewd-us-Diamond { |
| 139 | margin: 0 24px; |
| 140 | } |
| 141 | |
| 142 | /*.carouselArrows .nav-arrow { |
| 143 | opacity: 0.6; |
| 144 | } |
| 145 | .carouselArrows .nav-arrow:hover { |
| 146 | opacity: 1; |
| 147 | } |
| 148 | .carouselArrows .nav-arrow#left { |
| 149 | left:0; |
| 150 | background: url(../img/slider-arrow-blue-left.png); |
| 151 | background-size: 36px 57px; |
| 152 | background-repeat: no-repeat; |
| 153 | background-position: left center; |
| 154 | } |
| 155 | .carouselArrows .nav-arrow#right { |
| 156 | right:0; |
| 157 | background: url(../img/slider-arrow-blue-right.png); |
| 158 | background-size: 36px 57px; |
| 159 | background-repeat: no-repeat; |
| 160 | background-position: right center; |
| 161 | }*/ |
| 162 | |
| 163 | .ewd-us-Circle { |
| 164 | border-radius: 1000px; |
| 165 | } |
| 166 | .ewd-us-Diamond { |
| 167 | -webkit-transform: rotate(-45deg); |
| 168 | -moz-transform: rotate(-45deg); |
| 169 | -o-transform: rotate(-45deg); |
| 170 | -ms-transform: rotate(-45deg); |
| 171 | transform: rotate(-45deg); |
| 172 | margin: 0 16px; |
| 173 | } |
| 174 | .ewd-us-Diamond .ewd-slider-icon { |
| 175 | -webkit-transform: rotate(45deg); |
| 176 | -moz-transform: rotate(45deg); |
| 177 | -o-transform: rotate(45deg); |
| 178 | -ms-transform: rotate(45deg); |
| 179 | transform: rotate(45deg); |
| 180 | } |
| 181 | |
| 182 | /* END ARROWS */ |
| 183 | |
| 184 | |
| 185 | .ewd-slider-section .slider .ewd-slide img { |
| 186 | position: absolute; |
| 187 | width: 100%; |
| 188 | height: auto; |
| 189 | left: 0; |
| 190 | top: 0; |
| 191 | } |
| 192 | .ewd-slider-section .slider .ewd-slide .slideText { |
| 193 | position: relative; |
| 194 | float: left; |
| 195 | width: 88%; |
| 196 | margin-left: 6%; |
| 197 | margin-top: 150px; |
| 198 | text-align: center; |
| 199 | } |
| 200 | .ewd-slider-section .slider .ewd-slide .slideText .slideTitle { |
| 201 | position: relative; |
| 202 | float: left; |
| 203 | width: 100%; |
| 204 | color: #fff; |
| 205 | font-family: 'Montserrat', Helvetica, Arial, sans-serif; |
| 206 | font-weight: 400; |
| 207 | font-size: 3.5rem; |
| 208 | letter-spacing: 6px; |
| 209 | line-height: 1; |
| 210 | } |
| 211 | .ewd-slider-section .slider .ewd-slide .slideText .slideExcerpt { |
| 212 | position: relative; |
| 213 | float: left; |
| 214 | width: 100%; |
| 215 | color: #fff; |
| 216 | font-size: 1.5rem; |
| 217 | line-height: 1; |
| 218 | margin-top: 32px; |
| 219 | } |
| 220 | |
| 221 | .ewd-slider-section .slider .ewd-slide .slideText ul.slideButtons { |
| 222 | position: relative; |
| 223 | float: left; |
| 224 | width: 100%; |
| 225 | margin-top: 0; |
| 226 | text-align: center; |
| 227 | } |
| 228 | .ewd-slider-section .slider .ewd-slide .slideText ul.slideButtons li { |
| 229 | margin: 0 16px; |
| 230 | display: inline; |
| 231 | } |
| 232 | .ewd-slider-section .slider .ewd-slide .slideText ul.slideButtons li a { |
| 233 | padding: 11px 18px; |
| 234 | border: 2px solid #fff; |
| 235 | border-radius: 2px; |
| 236 | background: rgba(0,0,0,.4); |
| 237 | font-family: 'Montserrat', Helvetica, Arial, sans-serif; |
| 238 | color: #fff; |
| 239 | font-weight: 400; |
| 240 | font-size: .75rem; |
| 241 | letter-spacing: 1px; |
| 242 | text-decoration: none; |
| 243 | } |
| 244 | .ewd-slider-section .slider .ewd-slide .slideText ul.slideButtons li a:hover { |
| 245 | background: #fff; |
| 246 | color: #111; |
| 247 | } |
| 248 | |
| 249 | @media screen and (max-width: 959px) { |
| 250 | .ewd-slider-section .slider .ewd-slide .slideText .slideTitle { |
| 251 | font-size: 2.5rem; |
| 252 | } |
| 253 | .ewd-slider-section .slider .ewd-slide .slideText .slideExcerpt.ewd-us-mobile-hide { |
| 254 | display: none; |
| 255 | } |
| 256 | } |
| 257 | @media screen and (max-width: 768px) { |
| 258 | .ewd-slider-section .slider .ewd-slide .slideText ul.slideButtons { |
| 259 | margin-top: 0; |
| 260 | } |
| 261 | } |
| 262 | @media screen and (max-width: 568px) { |
| 263 | .ewd-slider-section .slider .ewd-slide .slideText .slideTitle { |
| 264 | font-size: 2.5rem; |
| 265 | } |
| 266 | .ewd-slider-section .slider .ewd-slide .slideText ul.slideButtons { |
| 267 | display: none; |
| 268 | } |
| 269 | .ewd-us-mobile-hide { |
| 270 | display: none; |
| 271 | } |
| 272 | .ewd-us-mobile-arrow-hide { |
| 273 | background: transparent !important; |
| 274 | } |
| 275 | .mobileLinkToFull { |
| 276 | position: absolute; |
| 277 | left: 0; |
| 278 | top: 0; |
| 279 | width: 100%; |
| 280 | height: 100%; |
| 281 | } |
| 282 | } |
| 283 | |
| 284 | |
| 285 | |
| 286 | /* |
| 287 | ============================================== |
| 288 | EWD-Slider-Slide-Down |
| 289 | ============================================== |
| 290 | */ |
| 291 | .ewd-slider-slide-down{ |
| 292 | animation-name: ewd-slider-slide-down; |
| 293 | -webkit-animation-name: ewd-slider-slide-down; |
| 294 | |
| 295 | animation-duration: 1s; |
| 296 | -webkit-animation-duration: 1s; |
| 297 | |
| 298 | animation-timing-function: ease; |
| 299 | -webkit-animation-timing-function: ease; |
| 300 | |
| 301 | visibility: visible !important; |
| 302 | } |
| 303 | |
| 304 | @keyframes ewd-slider-slide-down { |
| 305 | 0% { |
| 306 | transform: translateY(-100%); |
| 307 | } |
| 308 | 100% { |
| 309 | transform: translateY(0%); |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | @-webkit-keyframes ewd-slider-slide-down { |
| 314 | 0% { |
| 315 | -webkit-transform: translateY(-100%); |
| 316 | } |
| 317 | 100% { |
| 318 | -webkit-transform: translateY(0%); |
| 319 | } |
| 320 | } |
| 321 | |
| 322 | |
| 323 | /* |
| 324 | ============================================== |
| 325 | EWD-Slider-Slide-Up |
| 326 | ============================================== |
| 327 | */ |
| 328 | |
| 329 | .ewd-slider-slide-up{ |
| 330 | animation-name: ewd-slider-slide-up; |
| 331 | -webkit-animation-name: ewd-slider-slide-up; |
| 332 | |
| 333 | animation-duration: 1s; |
| 334 | -webkit-animation-duration: 1s; |
| 335 | |
| 336 | animation-timing-function: ease; |
| 337 | -webkit-animation-timing-function: ease; |
| 338 | |
| 339 | visibility: visible !important; |
| 340 | } |
| 341 | |
| 342 | @keyframes ewd-slider-slide-up { |
| 343 | 0% { |
| 344 | transform: translateY(100%); |
| 345 | } |
| 346 | 100% { |
| 347 | transform: translateY(0%); |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | @-webkit-keyframes ewd-slider-slide-up { |
| 352 | 0% { |
| 353 | -webkit-transform: translateY(100%); |
| 354 | } |
| 355 | 100% { |
| 356 | -webkit-transform: translateY(0%); |
| 357 | } |
| 358 | } |
| 359 | |
| 360 | |
| 361 | /* |
| 362 | ============================================== |
| 363 | ewd-slider-stretch-right |
| 364 | ============================================== |
| 365 | */ |
| 366 | |
| 367 | .ewd-slider-stretch-right{ |
| 368 | animation-name: ewd-slider-stretch-right; |
| 369 | -webkit-animation-name: ewd-slider-stretch-right; |
| 370 | |
| 371 | animation-duration: 1s; |
| 372 | -webkit-animation-duration: 1s; |
| 373 | |
| 374 | animation-timing-function: ease-out; |
| 375 | -webkit-animation-timing-function: ease-out; |
| 376 | |
| 377 | transform-origin: 0% 0%; |
| 378 | -ms-transform-origin: 0% 0%; |
| 379 | -webkit-transform-origin: 0% 0%; |
| 380 | } |
| 381 | |
| 382 | @keyframes ewd-slider-stretch-right { |
| 383 | 0% { |
| 384 | transform: scaleX(0.5); |
| 385 | } |
| 386 | 100% { |
| 387 | transform: scaleX(1); |
| 388 | } |
| 389 | } |
| 390 | |
| 391 | @-webkit-keyframes ewd-slider-stretch-right { |
| 392 | 0% { |
| 393 | -webkit-transform: scaleX(0.5); |
| 394 | } |
| 395 | 100% { |
| 396 | -webkit-transform: scaleX(1); |
| 397 | } |
| 398 | } |
| 399 | |
| 400 | |
| 401 | |
| 402 | /* |
| 403 | ============================================== |
| 404 | ewd-slider-stretch-left |
| 405 | ============================================== |
| 406 | */ |
| 407 | |
| 408 | .ewd-slider-stretch-left{ |
| 409 | animation-name: ewd-slider-stretch-left; |
| 410 | -webkit-animation-name: ewd-slider-stretch-left; |
| 411 | |
| 412 | animation-duration: 1s; |
| 413 | -webkit-animation-duration: 1s; |
| 414 | |
| 415 | animation-timing-function: ease-out; |
| 416 | -webkit-animation-timing-function: ease-out; |
| 417 | |
| 418 | transform-origin: 100% 0%; |
| 419 | -ms-transform-origin: 100% 0%; |
| 420 | -webkit-transform-origin: 100% 0%; |
| 421 | } |
| 422 | |
| 423 | @keyframes ewd-slider-stretch-left { |
| 424 | 0% { |
| 425 | transform: scaleX(0.5); |
| 426 | } |
| 427 | 100% { |
| 428 | transform: scaleX(1); |
| 429 | } |
| 430 | } |
| 431 | |
| 432 | @-webkit-keyframes ewd-slider-stretch-left { |
| 433 | 0% { |
| 434 | -webkit-transform: scaleX(0.5); |
| 435 | } |
| 436 | 100% { |
| 437 | -webkit-transform: scaleX(1); |
| 438 | } |
| 439 | } |
| 440 | |
| 441 | |
| 442 | /* |
| 443 | ============================================== |
| 444 | ewd-slider-grow |
| 445 | ============================================== |
| 446 | */ |
| 447 | |
| 448 | |
| 449 | .ewd-slider-grow{ |
| 450 | animation-name: ewd-slider-grow; |
| 451 | -webkit-animation-name: ewd-slider-grow; |
| 452 | |
| 453 | animation-duration: 1.6s; |
| 454 | -webkit-animation-duration: 1.6s; |
| 455 | |
| 456 | animation-timing-function: ease-out; |
| 457 | -webkit-animation-timing-function: ease-out; |
| 458 | |
| 459 | visibility: visible !important; |
| 460 | } |
| 461 | |
| 462 | @keyframes ewd-slider-grow { |
| 463 | 0% { |
| 464 | transform: scale(0.3) rotate(6deg) translateX(-30%) translateY(30%); |
| 465 | opacity: 0.2; |
| 466 | } |
| 467 | 30% { |
| 468 | transform: scale(1.03) rotate(-2deg) translateX(2%) translateY(-2%); |
| 469 | opacity: 1; |
| 470 | } |
| 471 | 45% { |
| 472 | transform: scale(0.98) rotate(1deg) translateX(0%) translateY(0%); |
| 473 | opacity: 1; |
| 474 | } |
| 475 | 60% { |
| 476 | transform: scale(1.01) rotate(-1deg) translateX(0%) translateY(0%); |
| 477 | opacity: 1; |
| 478 | } |
| 479 | 100% { |
| 480 | transform: scale(1) rotate(0deg) translateX(0%) translateY(0%); |
| 481 | opacity: 1; |
| 482 | } |
| 483 | } |
| 484 | |
| 485 | @-webkit-keyframes ewd-slider-grow { |
| 486 | 0% { |
| 487 | -webkit-transform: scale(0.3) rotate(6deg) translateX(-30%) translateY(30%); |
| 488 | opacity: 0.2; |
| 489 | } |
| 490 | 30% { |
| 491 | -webkit-transform: scale(1.03) rotate(-2deg) translateX(2%) translateY(-2%); |
| 492 | opacity: 1; |
| 493 | } |
| 494 | 45% { |
| 495 | -webkit-transform: scale(0.98) rotate(1deg) translateX(0%) translateY(0%); |
| 496 | opacity: 1; |
| 497 | } |
| 498 | 60% { |
| 499 | -webkit-transform: scale(1.01) rotate(-1deg) translateX(0%) translateY(0%); |
| 500 | opacity: 1; |
| 501 | } |
| 502 | 100% { |
| 503 | -webkit-transform: scale(1) rotate(0deg) translateX(0%) translateY(0%); |
| 504 | opacity: 1; |
| 505 | } |
| 506 | } |
| 507 | |
| 508 | |
| 509 | /* |
| 510 | ============================================== |
| 511 | ewd-slider-expand |
| 512 | ============================================== |
| 513 | */ |
| 514 | |
| 515 | |
| 516 | .ewd-slider-expand{ |
| 517 | animation-name: ewd-slider-expand; |
| 518 | -webkit-animation-name: ewd-slider-expand; |
| 519 | |
| 520 | animation-duration: 1.6s; |
| 521 | -webkit-animation-duration: 1.6s; |
| 522 | |
| 523 | animation-timing-function: ease-out; |
| 524 | -webkit-animation-timing-function: ease -out; |
| 525 | |
| 526 | visibility: visible !important; |
| 527 | } |
| 528 | |
| 529 | @keyframes ewd-slider-expand { |
| 530 | 0% { |
| 531 | transform: translateY(100%) scaleX(0.8); |
| 532 | } |
| 533 | 40%{ |
| 534 | transform: translateY(-8%) scaleX(0.8); |
| 535 | } |
| 536 | 50%{ |
| 537 | transform: translateY(2%) scaleX(0.8); |
| 538 | } |
| 539 | 100%{ |
| 540 | transform: translateY(0%) scaleX(1); |
| 541 | } |
| 542 | } |
| 543 | |
| 544 | @-webkit-keyframes ewd-slider-expand { |
| 545 | 0% { |
| 546 | -webkit-transform: translateY(100%) scaleX(0.8); |
| 547 | } |
| 548 | 40%{ |
| 549 | -webkit-transform: translateY(-8%) scaleX(0.8); |
| 550 | } |
| 551 | 50%{ |
| 552 | -webkit-transform: translateY(2%) scaleX(0.8); |
| 553 | } |
| 554 | 100%{ |
| 555 | -webkit-transform: translateY(0%) scaleX(1); |
| 556 | } |
| 557 | } |
| 558 | |
| 559 | |
| 560 | |
| 561 | /* |
| 562 | ============================================== |
| 563 | Carousel |
| 564 | ============================================== |
| 565 | */ |
| 566 | |
| 567 | .ewd-slide.carouselSlider { |
| 568 | float: left; |
| 569 | width: 29%; |
| 570 | margin: 0 0; |
| 571 | overflow: hidden; |
| 572 | |
| 573 | } |
| 574 | .ewd-slide.carouselSlider .slideText { |
| 575 | display: none; |
| 576 | } |
| 577 | .ewd-slide.carouselSlider a.carouselLinkToFull { |
| 578 | position: absolute; |
| 579 | left: 0; |
| 580 | top: 0; |
| 581 | width: 100%; |
| 582 | height: 100%; |
| 583 | } |
| 584 | .carouselArrows { |
| 585 | width: 84%; |
| 586 | margin: 0 8%; |
| 587 | } |
| 588 | |
| 589 | |
| 590 | /* |
| 591 | ============================================== |
| 592 | Arrow Font |
| 593 | ============================================== |
| 594 | */ |
| 595 | |
| 596 | @font-face { /* declare fonts */ |
| 597 | font-family: 'untitled-font-7'; |
| 598 | src: url("fonts/untitled-font-7.eot"); |
| 599 | src: url('fonts/untitled-font-7.woff2') format('woff2'), |
| 600 | url('fonts/untitled-font-7.woff') format('woff'), |
| 601 | url("fonts/untitled-font-7.ttf") format("truetype"), |
| 602 | url("fonts/untitled-font-7.svg#untitled-font-7") format("svg"); |
| 603 | font-weight: normal; |
| 604 | font-style: normal; |
| 605 | } |
| 606 | |
| 607 | .us-arrow { |
| 608 | font-family: 'untitled-font-7'; |
| 609 | } |
| 610 | |
| 611 | |
| 612 | |
| 613 | /* |
| 614 | ============================================== |
| 615 | Timer Bar |
| 616 | ============================================== |
| 617 | */ |
| 618 | |
| 619 | #timerBar { |
| 620 | position: absolute; |
| 621 | left: 0; |
| 622 | width: 100%; |
| 623 | height: 10px; |
| 624 | z-index: 3; |
| 625 | transition: height .5s; |
| 626 | } |
| 627 | #timerBar #innerTimerBar { |
| 628 | position: relative; |
| 629 | float: left; |
| 630 | height: 100%; |
| 631 | width: 0%; |
| 632 | background: #fff; |
| 633 | background: rgba(255,255,255,.7); |
| 634 | } |
| 635 | |
| 636 | |
| 637 | /* |
| 638 | ============================================== |
| 639 | Videos |
| 640 | ============================================== |
| 641 | */ |
| 642 | |
| 643 | .ewd-us-video { |
| 644 | background: #000; |
| 645 | } |
| 646 | |
| 647 | .ewd-us-video-holder { |
| 648 | max-width: 640px; |
| 649 | margin: 0px auto; |
| 650 | } |
| 651 | |
| 652 | .ewd-us-video-holder > div { |
| 653 | position: relative; |
| 654 | padding-bottom: 60%; |
| 655 | height: 0px; |
| 656 | } |
| 657 | |
| 658 | .ewd-us-video-holder iframe { |
| 659 | position: absolute; |
| 660 | top: 0px; |
| 661 | left: 0px; |
| 662 | width: 100%; |
| 663 | height: 100%; |
| 664 | } |
| 665 | |
| 666 | |
| 667 | |
| 668 | /* |
| 669 | ============================================== |
| 670 | Lightbox |
| 671 | ============================================== |
| 672 | */ |
| 673 | |
| 674 | .lg-outer .lg-thumb { |
| 675 | margin: 0 auto -5px; |
| 676 | } |
| 677 |