
.custombox-modal-wrapper, .custombox-overlay {
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    position: fixed
}

.custombox-open, .custombox-open body {
    overflow: hidden
}

.custombox-perspective, .custombox-perspective body {
    -webkit-perspective: 600px;
    perspective: 600px;
    height: 100%
}

.custombox-modal-container-fall, .custombox-modal-container-flip, .custombox-modal-container-rotate, .custombox-modal-container-sidefall, .custombox-modal-container-sign, .custombox-modal-container-slit {
    -webkit-perspective: 1300px;
    perspective: 1300px
}

.custombox-overlay-open {
    visibility: visible;
    opacity: 1
}

.custombox-overlay {
    -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 {
    outline: 0;
    overflow: auto;
    text-align: center
}

.custombox-modal-container {
    margin: 0 auto;
    position: relative
}

.custombox-modal img {
    max-width: 100%;
    height: auto
}

.custombox-scrollbar {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}

.custombox-loading {
    position: fixed;
    -webkit-transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    top: 50%;
    left: 50%
}

.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-slidetogether, .custombox-overlay-slidetogether {
    -webkit-transition-property: -webkit-transform ease-in-out;
    transition-property: transform ease-in-out
}

.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%)
}

.custombox-overlay-open.custombox-overlay-slidetogether {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0)
}

.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-open.custombox-overlay-scale, .custombox-overlay-scale {
    -webkit-transition-property: -webkit-transform;
    transition-property: transform
}

.custombox-overlay-scale {
    -webkit-transform: scale(.9);
    -ms-transform: scale(.9);
    transform: scale(.9)
}

.custombox-overlay-open.custombox-overlay-scale {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}

.custombox-overlay-door, .custombox-overlay-open.custombox-overlay-door {
    -webkit-transition-property: width ease-in-out;
    transition-property: width ease-in-out
}

.custombox-overlay-door {
    visibility: hidden;
    width: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%)
}

.custombox-overlay-open.custombox-overlay-door {
    visibility: visible;
    width: 100%
}

.custombox-container-push {
    overflow-x: hidden;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform
}

.custombox-overlay-open.custombox-overlay-push, .custombox-overlay-push {
    -webkit-transition-property: -webkit-transform ease-in-out;
    transition-property: transform ease-in-out
}

.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%)
}

.custombox-overlay-open.custombox-overlay-push {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0)
}

.custombox-open-contentscale body {
    background-color: #DDD
}

.custombox-container-contentscale {
    -webkit-transition: -webkit-transform .5s;
    transition: transform .5s;
    overflow: hidden;
    height: 100%
}

.custombox-overlay-contentscale, .custombox-overlay-open.custombox-overlay-contentscale {
    -webkit-transition-property: -webkit-transform ease-in-out;
    transition-property: transform ease-in-out
}

.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%)
}

.custombox-overlay-open.custombox-overlay-contentscale {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0)
}

.custombox-modal-container-blur, .custombox-modal-fadein, .custombox-modal-flip-horizontal, .custombox-modal-flip-vertical, .custombox-modal-newspaper, .custombox-modal-open .custombox-modal-fall, .custombox-modal-rotate-bottom, .custombox-modal-rotate-left, .custombox-modal-superscaled, .custombox-overlay-blur, .custombox-overlay-newspaper, .custombox-overlay-open.custombox-overlay-makeway, .custombox-overlay-open.custombox-overlay-slip {
    -webkit-transition-property: all;
    transition-property: all
}

.custombox-container-open.custombox-container-makeway {
    height: 100%;
    overflow: hidden
}

.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-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);
    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;
    position: absolute
}

.custombox-modal-open .custombox-modal-newspaper {
    -webkit-transform: scale(1) rotate(0);
    -ms-transform: scale(1) rotate(0);
    transform: scale(1) rotate(0);
    opacity: 1
}

.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-transform: translateZ(0) rotateX(0);
    transform: translateZ(0) rotateX(0);
    opacity: 1
}

.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(0);
    transform: translate(0) translateZ(0) rotate(0);
    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-open .custombox-modal-blur {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1
}

.custombox-modal-flip-horizontal {
    position: absolute;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateY(-70deg);
    transform: rotateY(-70deg);
    opacity: 0
}

.custombox-modal-open .custombox-modal-flip-horizontal {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
    opacity: 1
}

.custombox-modal-flip-vertical {
    position: absolute;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateX(-70deg);
    transform: rotateX(-70deg);
    opacity: 0
}

.custombox-modal-open .custombox-modal-flip-vertical {
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
    opacity: 1
}

.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(0);
    transform: rotateX(0);
    opacity: 1
}

.custombox-modal-superscaled {
    -webkit-transform: scale(2);
    -ms-transform: scale(2);
    transform: scale(2);
    opacity: 0;
    position: absolute
}

.custombox-modal-open .custombox-modal-superscaled {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1
}

.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
}

.custombox-modal-rotatedown, .custombox-modal-swell {
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards
}

@-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(0);
        transform: translateZ(0) rotateY(0);
        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(0);
        transform: translateZ(0) rotateY(0);
        opacity: 1
    }
}

.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;
    position: absolute
}

.custombox-modal-open .custombox-modal-rotate-bottom {
    -webkit-transform: translateY(0) rotateX(0);
    transform: translateY(0) rotateX(0);
    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;
    position: absolute
}

.custombox-modal-open .custombox-modal-rotate-left {
    -webkit-transform: translateZ(0) translateX(0) rotateY(0);
    transform: translateZ(0) translateX(0) rotateY(0);
    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)
}

.custombox-modal-swell {
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    -webkit-animation-name: swell-close;
    animation-name: swell-close
}

.custombox-modal-open .custombox-modal-swell {
    -webkit-animation-name: swell-open;
    animation-name: swell-open
}

@-webkit-keyframes swell-open {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-webkit-calc(-100vw - 50%), 0, 0);
        transform: translate3d(calc(-100vw - 50%), 0, 0)
    }
    50% {
        opacity: 1;
        -webkit-transform: translate3d(100px, 0, 0);
        transform: translate3d(100px, 0, 0)
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

@keyframes swell-open {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-webkit-calc(-100vw - 50%), 0, 0);
        transform: translate3d(calc(-100vw - 50%), 0, 0)
    }
    50% {
        opacity: 1;
        -webkit-transform: translate3d(100px, 0, 0);
        transform: translate3d(100px, 0, 0)
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

@-webkit-keyframes swell-close {
    0% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    50% {
        opacity: 1;
        -webkit-transform: translate3d(-100px, 0, 0) scale3d(1.1, 1.1, 1);
        transform: translate3d(-100px, 0, 0) scale3d(1.1, 1.1, 1)
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-webkit-calc(100vw + 50%), 0, 0);
        transform: translate3d(calc(100vw + 50%), 0, 0)
    }
}

@keyframes swell-close {
    0% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    50% {
        opacity: 1;
        -webkit-transform: translate3d(-100px, 0, 0) scale3d(1.1, 1.1, 1);
        transform: translate3d(-100px, 0, 0) scale3d(1.1, 1.1, 1)
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-webkit-calc(100vw + 50%), 0, 0);
        transform: translate3d(calc(100vw + 50%), 0, 0)
    }
}

.custombox-modal-rotatedown {
    -webkit-animation-duration: .4s;
    animation-duration: .4s;
    -webkit-animation-timing-function: cubic-bezier(.7, 0, .3, 1);
    animation-timing-function: cubic-bezier(.7, 0, .3, 1);
    -webkit-transform-origin: -150% 50%;
    -ms-transform-origin: -150% 50%;
    transform-origin: -150% 50%;
    -webkit-animation-name: rotatedown-close;
    animation-name: rotatedown-close;
    overflow: hidden
}

.custombox-modal-open .custombox-modal-rotatedown {
    -webkit-animation-name: rotatedown-open;
    animation-name: rotatedown-open
}

.custombox-modal-open .custombox-modal-rotatedown div > * {
    -webkit-animation: rotatedown-elem .4s both;
    animation: rotatedown-elem .4s both;
    -webkit-transform-origin: -50% 50%;
    -ms-transform-origin: -50% 50%;
    transform-origin: -50% 50%;
    -webkit-animation-timing-function: cubic-bezier(.7, 0, .3, 1);
    animation-timing-function: cubic-bezier(.7, 0, .3, 1);
    -webkit-animation-delay: .15s;
    animation-delay: .15s
}

@-webkit-keyframes rotatedown-open {
    0% {
        opacity: 0;
        -webkit-transform: rotate3d(0, 0, 1, -45deg);
        transform: rotate3d(0, 0, 1, -45deg)
    }
    100% {
        opacity: 1;
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
        transform: rotate3d(0, 0, 1, 0deg)
    }
}

@keyframes rotatedown-open {
    0% {
        opacity: 0;
        -webkit-transform: rotate3d(0, 0, 1, -45deg);
        transform: rotate3d(0, 0, 1, -45deg)
    }
    100% {
        opacity: 1;
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
        transform: rotate3d(0, 0, 1, 0deg)
    }
}

@-webkit-keyframes rotatedown-close {
    0% {
        opacity: 1
    }
    100% {
        opacity: 0;
        -webkit-transform: rotate3d(0, 0, 1, 45deg);
        transform: rotate3d(0, 0, 1, 45deg)
    }
}

@keyframes rotatedown-close {
    0% {
        opacity: 1
    }
    100% {
        opacity: 0;
        -webkit-transform: rotate3d(0, 0, 1, 45deg);
        transform: rotate3d(0, 0, 1, 45deg)
    }
}

@-webkit-keyframes rotatedown-elem {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -150px, 0) rotate3d(0, 0, 1, -20deg);
        transform: translate3d(0, -150px, 0) rotate3d(0, 0, 1, -20deg)
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) rotate3d(0, 0, 1, 0deg);
        transform: translate3d(0, 0, 0) rotate3d(0, 0, 1, 0deg)
    }
}

@keyframes rotatedown-elem {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -150px, 0) rotate3d(0, 0, 1, -20deg);
        transform: translate3d(0, -150px, 0) rotate3d(0, 0, 1, -20deg)
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) rotate3d(0, 0, 1, 0deg);
        transform: translate3d(0, 0, 0) rotate3d(0, 0, 1, 0deg)
    }
}

.custombox-modal-flash {
    -webkit-animation-duration: .4s;
    animation-duration: .4s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-timing-function: cubic-bezier(.7, 0, .3, 1);
    animation-timing-function: cubic-bezier(.7, 0, .3, 1);
    -webkit-animation-name: flash-close;
    animation-name: flash-close;
    overflow: hidden
}

.custombox-modal-open .custombox-modal-flash {
    -webkit-animation-name: flash-open;
    animation-name: flash-open
}

.custombox-modal-open .custombox-modal-flash div > * {
    -webkit-animation: flash-elem-open .4s cubic-bezier(.7, 0, .3, 1) both;
    animation: flash-elem-open .4s cubic-bezier(.7, 0, .3, 1) both
}

.custombox-modal-flash div > * {
    -webkit-animation: flash-elem-close .4s cubic-bezier(.7, 0, .3, 1) both;
    animation: flash-elem-close .4s cubic-bezier(.7, 0, .3, 1) both
}

@-webkit-keyframes flash-open {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-400px, 0, 0) scale3d(1.4, 0, 1);
        transform: translate3d(-400px, 0, 0) scale3d(1.4, 0, 1)
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1)
    }
}

@keyframes flash-open {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-400px, 0, 0) scale3d(1.4, 0, 1);
        transform: translate3d(-400px, 0, 0) scale3d(1.4, 0, 1)
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1)
    }
}

@-webkit-keyframes flash-close {
    0%, 20% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1)
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-400px, 0, 0) scale3d(1.4, 0, 1);
        transform: translate3d(-400px, 0, 0) scale3d(1.4, 0, 1)
    }
}

@keyframes flash-close {
    0%, 20% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1)
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-400px, 0, 0) scale3d(1.4, 0, 1);
        transform: translate3d(-400px, 0, 0) scale3d(1.4, 0, 1)
    }
}

@-webkit-keyframes flash-elem-open {
    0%, 20% {
        opacity: 0;
        -webkit-transform: translate3d(-100px, 0, 0);
        transform: translate3d(-100px, 0, 0)
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

@keyframes flash-elem-open {
    0%, 20% {
        opacity: 0;
        -webkit-transform: translate3d(-100px, 0, 0);
        transform: translate3d(-100px, 0, 0)
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

@-webkit-keyframes flash-elem-close {
    0% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-100px, 0, 0);
        transform: translate3d(-100px, 0, 0)
    }
}

@keyframes flash-elem-close {
    0% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-100px, 0, 0);
        transform: translate3d(-100px, 0, 0)
    }
}
.modal-demo .close {
    position: absolute;
    top: 6px;
    right: 10px;
    color: #eeeeee;
}
.bg-custom {
    background-color: #71b6f9 !important;
}
.text-custom {
    color: #71b6f9 !important;
}
.custom-modal-title {
    padding: 15px 25px 15px 25px;
    line-height: 22px;
    font-size: 18px;
    background-color: #fa2837;
    color: #ffffff;
    text-align: left;
    margin: 0px;
}
.custom-modal-text {

}
.custombox-modal-flash .close,
.custombox-modal-rotatedown .close {
    top: 20px;
    z-index: 9999;
}
.waves-effect.waves-custom .waves-ripple {
    background-color: rgba(113, 182, 249, 0.4);
}
@media print {
    .page-title-box,
    .topbar-left,
    .hidden-print,
    .breadcrumb,
    .page-title,
    .footer,
    #topnav,
    .btn-custom {
        display: none;
        margin: 0px;
        padding: 0px;
    }
    .left,
    .right-bar {
        display: none;
    }
    .wrapper {
        margin-top: 0px !important;
        padding-top: 0px;
    }
    .content-page {
        margin-left: 0px;
        margin-top: 0px;
    }
}
.close {
    float: right;
    font-size: 35px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: 1;
}
button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
}
.modal-demo {
    background-color: #FFF;
    width: 600px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    background-clip: padding-box;
    display: none;
}
@media screen and (max-width:768px) {
    .custombox-modal-container{
        width: 85% !important;
    }
    .backimg{
        height:300px !important;
    }
    .topheader{
        display: none;
    }
    .geneldiv{
        position: inherit !important;
    }
    .footer-bottom{
        margin-bottom: 0px;
    }
}
.gizle{
    z-index: 10001; transition-duration: 100ms; background-color:rgba(0, 0, 0, 0.82);right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    position: fixed;
}