/*
 *  custombox v2.2.5 - 2015-02-01
 *  Modal Window Effects with transitions CSS3.
 *  http://dixso.github.io/custombox/
 *  (c) 2015 Julio de la Calle - @dixso9
 *
 *  Under MIT License - http://opensource.org/licenses/MIT
 */

.custombox-open, .custombox-open body {
	overflow: hidden
}
.custombox-perspective, .custombox-perspective body {
	-webkit-perspective: 600px;
	perspective: 600px;
	height: 100%
}
.custombox-overlay-open {
	visibility: visible;
	opacity: 1
}
.custombox-overlay {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	position: fixed;
	-webkit-transition-delay: 0s;
	transition-delay: 0s
}
.custombox-overlay-default {
	-webkit-transition-timing-function: linear;
	transition-timing-function: linear;
	-webkit-transition-property: opacity;
	transition-property: opacity;
	opacity: 0
}
.custombox-modal-wrapper {
	bottom: 0;
	left: 0;
	outline: 0;
	overflow-x: auto;
	overflow-y: scroll;
	position: fixed;
	right: 0;
	top: 0;
	text-align: center
}
.custombox-modal-container {
	margin: 0 auto;
	position: relative
}
.custombox-modal img {
	max-width: 100%;
	height: auto
}
.custombox-overlay-letmein {
	-webkit-transition-property: all;
	transition-property: all;
	-webkit-transition-timing-function: ease;
	transition-timing-function: ease;
	visibility: hidden
}
.custombox-overlay-open.custombox-overlay-letmein {
	-webkit-transform: rotateX(-2deg);
	transform: rotateX(-2deg);
	-webkit-transform-origin: 50% 0;
	-ms-transform-origin: 50% 0;
	transform-origin: 50% 0;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	visibility: visible;
	opacity: 1
}
.custombox-overlay-slidetogether {
	-webkit-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	transform: translateY(-100%);
	-webkit-transition-property: -webkit-transform ease-in-out;
	transition-property: transform ease-in-out
}
.custombox-overlay-open.custombox-overlay-slidetogether {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	-webkit-transition-property: -webkit-transform ease-in-out;
	transition-property: transform ease-in-out
}
.custombox-overlay-corner {
	-webkit-transform: translateY(150px) translateX(150px);
	-ms-transform: translateY(150px) translateX(150px);
	transform: translateY(150px) translateX(150px);
	-webkit-transition-property: opacity, -webkit-transform, visibility;
	transition-property: opacity, transform, visibility
}
.custombox-overlay-open.custombox-overlay-corner {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	-webkit-transition-property: opacity, -webkit-transform;
	transition-property: opacity, transform
}
.custombox-overlay-scale {
	-webkit-transform: scale(.9);
	-ms-transform: scale(.9);
	transform: scale(.9);
	-webkit-transition-property: -webkit-transform;
	transition-property: transform
}
.custombox-overlay-open.custombox-overlay-scale {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	-webkit-transition-property: -webkit-transform;
	transition-property: transform
}
.custombox-overlay-door {
	visibility: hidden;
	width: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	-webkit-transition-property: width ease-in-out;
	transition-property: width ease-in-out
}
.custombox-overlay-open.custombox-overlay-door {
	visibility: visible;
	width: 100%;
	-webkit-transition-property: width ease-in-out;
	transition-property: width ease-in-out
}
.custombox-container-push {
	overflow-x: hidden;
	-webkit-transition-property: -webkit-transform;
	transition-property: transform
}
.custombox-container-open.custombox-container-push {
	-webkit-transform: translateX(100%);
	-ms-transform: translateX(100%);
	transform: translateX(100%)
}
.custombox-overlay-push {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	transform: translateX(-100%);
	-webkit-transition-property: -webkit-transform ease-in-out;
	transition-property: transform ease-in-out
}
.custombox-overlay-open.custombox-overlay-push {
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	-webkit-transition-property: -webkit-transform ease-in-out;
	transition-property: transform ease-in-out
}
.custombox-open-contentscale body {
	background-color: #DDD
}
.custombox-container-contentscale {
	-webkit-transition: -webkit-transform .5s;
	transition: transform .5s;
	overflow: hidden;
	height: 100%
}
.custombox-container-open.custombox-container-contentscale {
	-webkit-transform: scale(.8);
	-ms-transform: scale(.8);
	transform: scale(.8)
}
.custombox-overlay-contentscale {
	-webkit-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition-property: -webkit-transform ease-in-out;
	transition-property: transform ease-in-out
}
.custombox-overlay-open.custombox-overlay-contentscale {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	-webkit-transition-property: -webkit-transform ease-in-out;
	transition-property: transform ease-in-out
}
.custombox-container-open.custombox-container-makeway {
	height: 100%;
	overflow: hidden
}
.custombox-overlay-open.custombox-overlay-makeway {
	-webkit-transition-property: all;
	transition-property: all
}
.custombox-container-open.custombox-container-makeway, .custombox-overlay-open.custombox-overlay-makeway {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform-origin: 0 50%;
	-ms-transform-origin: 0 50%;
	transform-origin: 0 50%;
	-webkit-animation: rotateRightSideFirst .5s forwards ease-in;
	animation: rotateRightSideFirst .5s forwards ease-in
}
@-webkit-keyframes rotateRightSideFirst {
50% {
-webkit-transform:translateZ(-50px) rotateY(5deg);
transform:translateZ(-50px) rotateY(5deg);
-webkit-animation-timing-function:ease-out;
animation-timing-function:ease-out
}
100% {
-webkit-transform:translateZ(-200px);
transform:translateZ(-200px)
}
}
@keyframes rotateRightSideFirst {
50% {
-webkit-transform:translateZ(-50px) rotateY(5deg);
transform:translateZ(-50px) rotateY(5deg);
-webkit-animation-timing-function:ease-out;
animation-timing-function:ease-out
}
100% {
-webkit-transform:translateZ(-200px);
transform:translateZ(-200px)
}
}
.custombox-overlay-open.custombox-overlay-slip {
	-webkit-transition-property: all;
	transition-property: all
}
.custombox-container-open.custombox-container-slip, .custombox-overlay-open.custombox-overlay-slip {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform-origin: 50% 100%;
	-ms-transform-origin: 50% 100%;
	transform-origin: 50% 100%;
	-webkit-animation: OpenTop .5s forwards ease-in-out;
	animation: OpenTop .5s forwards ease-in-out
}
@-webkit-keyframes OpenTop {
50% {
-webkit-transform:rotateX(10deg);
transform:rotateX(10deg);
-webkit-animation-timing-function:ease-out;
animation-timing-function:ease-out
}
}
@keyframes OpenTop {
50% {
-webkit-transform:rotateX(10deg);
transform:rotateX(10deg);
-webkit-animation-timing-function:ease-out;
animation-timing-function:ease-out
}
}
.custombox-modal-fadein {
	-webkit-transform: scale(.7);
	-ms-transform: scale(.7);
	transform: scale(.7);
	-webkit-transition-property: all;
	transition-property: all;
	opacity: 0;
	visibility: hidden
}
.custombox-modal-open .custombox-modal-fadein {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
	visibility: visible
}
.custombox-modal-container-slide>div, .custombox-modal-container-slidetogether>div {
	opacity: 0;
	float: left
}
.custombox-modal-open>.custombox-modal-container-slide>div, .custombox-modal-open>.custombox-modal-container-slidetogether>div {
	opacity: 1
}
.custombox-modal-slide-top {
	-webkit-transform: translateY(-300%);
	-ms-transform: translateY(-300%);
	transform: translateY(-300%)
}
.custombox-modal-open .custombox-modal-slide-top {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0)
}
.custombox-modal-slide-left {
	-webkit-transform: translateX(-300%);
	-ms-transform: translateX(-300%);
	transform: translateX(-300%)
}
.custombox-modal-open .custombox-modal-slide-left {
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0)
}
.custombox-modal-slide-right {
	-webkit-transform: translateX(300%);
	-ms-transform: translateX(300%);
	transform: translateX(300%)
}
.custombox-modal-open .custombox-modal-slide-right {
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0)
}
.custombox-modal-slide-bottom {
	-webkit-transform: translateY(300%);
	-ms-transform: translateY(300%);
	transform: translateY(300%)
}
.custombox-modal-open .custombox-modal-slide-bottom {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0)
}
.custombox-modal-newspaper {
	-webkit-transform: scale(0) rotate(720deg);
	-ms-transform: scale(0) rotate(720deg);
	transform: scale(0) rotate(720deg);
	opacity: 0;
	-webkit-transition-property: all;
	transition-property: all;
	position: absolute
}
.custombox-overlay-newspaper {
	-webkit-transition-property: all;
	transition-property: all
}
.custombox-modal-open .custombox-modal-newspaper {
	-webkit-transform: scale(1) rotate(0deg);
	-ms-transform: scale(1) rotate(0deg);
	transform: scale(1) rotate(0deg);
	opacity: 1
}
.custombox-modal-container-fall {
	-webkit-perspective: 1300px;
	perspective: 1300px
}
.custombox-modal-fall {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(600px) rotateX(20deg);
	transform: translateZ(600px) rotateX(20deg);
	opacity: 0
}
.custombox-modal-open .custombox-modal-fall {
	-webkit-transition-timing-function: ease-in;
	transition-timing-function: ease-in;
	-webkit-transition-property: all;
	transition-property: all;
	-webkit-transform: translateZ(0) rotateX(0deg);
	transform: translateZ(0) rotateX(0deg);
	opacity: 1
}
.custombox-modal-container-sidefall {
	-webkit-perspective: 1300px;
	perspective: 1300px
}
.custombox-modal-wrapper-sidefall {
	overflow-x: hidden
}
.custombox-modal-sidefall {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translate(30%) translateZ(600px) rotate(10deg);
	transform: translate(30%) translateZ(600px) rotate(10deg);
	opacity: 0
}
.custombox-modal-open .custombox-modal-sidefall {
	-webkit-transition-timing-function: ease-in;
	transition-timing-function: ease-in;
	-webkit-transition-property: all;
	transition-property: all;
	-webkit-transform: translate(0) translateZ(0) rotate(0deg);
	transform: translate(0) translateZ(0) rotate(0deg);
	opacity: 1
}
.custombox-open-blur .custombox-container-blur {
	-webkit-filter: blur(3px);
	filter: blur(3px)
}
@media all and (-ms-high-contrast:none) {
.custombox-open-blur .custombox-container-blur {
	text-shadow: 0 0 8px #000;
	color: rgba(255,255,255,0);
filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='3');
	zoom: 1
}
}
.custombox-modal-blur {
	-webkit-transform: translateY(-5%);
	-ms-transform: translateY(-5%);
	transform: translateY(-5%);
	opacity: 0;
	position: absolute
}
.custombox-modal-container-blur, .custombox-overlay-blur {
	-webkit-transition-property: all;
	transition-property: all
}
.custombox-modal-open .custombox-modal-blur {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1
}
.custombox-modal-container-flip {
	-webkit-perspective: 1300px;
	perspective: 1300px
}
.custombox-modal-flip-horizontal {
	position: absolute;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateY(-70deg);
	transform: rotateY(-70deg);
	-webkit-transition-property: all;
	transition-property: all;
	opacity: 0
}
.custombox-modal-open .custombox-modal-flip-horizontal {
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
	opacity: 1
}
.custombox-modal-flip-vertical {
	position: absolute;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateX(-70deg);
	transform: rotateX(-70deg);
	-webkit-transition-property: all;
	transition-property: all;
	opacity: 0
}
.custombox-modal-open .custombox-modal-flip-vertical {
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
	opacity: 1
}
.custombox-modal-container-sign {
	-webkit-perspective: 1300px;
	perspective: 1300px
}
.custombox-modal-sign {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateX(-60deg);
	transform: rotateX(-60deg);
	-webkit-transform-origin: 50% 0;
	-ms-transform-origin: 50% 0;
	transform-origin: 50% 0;
	opacity: 0;
	-webkit-transition-property: all;
	transition-property: all
}
.custombox-modal-open .custombox-modal-sign {
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
	opacity: 1
}
.custombox-modal-superscaled {
	-webkit-transform: scale(2);
	-ms-transform: scale(2);
	transform: scale(2);
	opacity: 0;
	-webkit-transition-property: all;
	transition-property: all;
	position: absolute
}
.custombox-modal-open .custombox-modal-superscaled {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1
}
.custombox-modal-container-slit {
	-webkit-perspective: 1300px;
	perspective: 1300px
}
.custombox-modal-slit {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(-3000px) rotateY(90deg);
	transform: translateZ(-3000px) rotateY(90deg);
	opacity: 0
}
.custombox-modal-open .custombox-modal-slit {
	-webkit-animation: slit .7s forwards ease-out;
	animation: slit .7s forwards ease-out
}
@-webkit-keyframes slit {
50% {
-webkit-transform:translateZ(-250px) rotateY(89deg);
transform:translateZ(-250px) rotateY(89deg);
opacity:1;
-webkit-animation-timing-function:ease-out;
animation-timing-function:ease-out
}
100% {
-webkit-transform:translateZ(0) rotateY(0deg);
transform:translateZ(0) rotateY(0deg);
opacity:1
}
}
@keyframes slit {
50% {
-webkit-transform:translateZ(-250px) rotateY(89deg);
transform:translateZ(-250px) rotateY(89deg);
opacity:1;
-webkit-animation-timing-function:ease-out;
animation-timing-function:ease-out
}
100% {
-webkit-transform:translateZ(0) rotateY(0deg);
transform:translateZ(0) rotateY(0deg);
opacity:1
}
}
.custombox-modal-container-rotate {
	-webkit-perspective: 1300px;
	perspective: 1300px
}
.custombox-modal-rotate-bottom {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateY(100%) rotateX(90deg);
	transform: translateY(100%) rotateX(90deg);
	-webkit-transform-origin: 0 100%;
	-ms-transform-origin: 0 100%;
	transform-origin: 0 100%;
	opacity: 0;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
	-webkit-transition-property: all;
	transition-property: all;
	position: absolute
}
.custombox-modal-open .custombox-modal-rotate-bottom {
	-webkit-transform: translateY(0) rotateX(0deg);
	transform: translateY(0) rotateX(0deg);
	opacity: 1
}
.custombox-modal-rotate-left {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
	transform: translateZ(100px) translateX(-30%) rotateY(90deg);
	-webkit-transform-origin: 0 100%;
	-ms-transform-origin: 0 100%;
	transform-origin: 0 100%;
	opacity: 0;
	-webkit-transition-property: all;
	transition-property: all;
	position: absolute
}
.custombox-modal-open .custombox-modal-rotate-left {
	-webkit-transform: translateZ(0) translateX(0) rotateY(0deg);
	transform: translateZ(0) translateX(0) rotateY(0deg);
	opacity: 1
}
.custombox-modal-container-letmein {
	-webkit-transition-property: -webkit-transform;
	transition-property: transform;
	-webkit-transform: rotateX(-2deg);
	transform: rotateX(-2deg);
	-webkit-transform-origin: 50% 0;
	-ms-transform-origin: 50% 0;
	transform-origin: 50% 0;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	opacity: 1
}
.custombox-modal-letmein {
	opacity: 0;
	-webkit-transform: translateY(300%);
	-ms-transform: translateY(300%);
	transform: translateY(300%);
	float: left
}
.custombox-modal-open .custombox-modal-letmein {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
	-webkit-transition-property: all;
	transition-property: all
}
.custombox-modal-makeway {
	-webkit-transform: translateX(200%);
	-ms-transform: translateX(200%);
	transform: translateX(200%);
	opacity: 0;
	float: left
}
.custombox-modal-open .custombox-modal-makeway {
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	opacity: 1
}
.custombox-modal-wrapper-makeway {
	overflow: hidden
}
.custombox-modal-slip {
	-webkit-transform: translateY(-350%);
	-ms-transform: translateY(-350%);
	transform: translateY(-350%)
}
.custombox-modal-open .custombox-modal-slip {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	-webkit-transition-property: all;
	transition-property: all
}
.custombox-modal-corner {
	opacity: 0;
	-webkit-transform: translateY(150px) translateX(150px);
	-ms-transform: translateY(150px) translateX(150px);
	transform: translateY(150px) translateX(150px);
	-webkit-transition-property: opacity, -webkit-transform, visibility;
	transition-property: opacity, transform, visibility
}
.custombox-modal-open .custombox-modal-corner {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
	-webkit-transition-property: opacity, -webkit-transform;
	transition-property: opacity, transform
}
.custombox-modal-slidetogether {
	-webkit-transform: translateY(-600%);
	-ms-transform: translateY(-600%);
	transform: translateY(-600%)
}
.custombox-modal-open .custombox-modal-slidetogether {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0)
}
.custombox-modal-scale {
	-webkit-transform: scale(.9);
	-ms-transform: scale(.9);
	transform: scale(.9);
	-webkit-transition: -webkit-transform;
	transition: transform;
	opacity: 0
}
.custombox-modal-open .custombox-modal-scale {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	-webkit-transition: -webkit-transform;
	transition: transform;
	opacity: 1
}
.custombox-modal-door {
	visibility: hidden;
	opacity: 0
}
.custombox-modal-open .custombox-modal-door {
	opacity: 1;
	visibility: visible
}
.custombox-modal-push {
	-webkit-transform: translateX(-300%);
	-ms-transform: translateX(-300%);
	transform: translateX(-300%)
}
.custombox-modal-open .custombox-modal-push {
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0)
}
.custombox-modal-contentscale {
	-webkit-transform: translateY(600%);
	-ms-transform: translateY(600%);
	transform: translateY(600%);
	-webkit-transition-property: -webkit-transform ease-in-out;
	transition-property: transform ease-in-out;
	position: absolute
}
.custombox-modal-open .custombox-modal-contentscale {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0)
}
