@font-face {
    font-family: 'comic_sans_msregular';
    src: url('../font/comic-webfont.eot');
    src: url('../font/comic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/comic-webfont.woff') format('woff'),
         url('../font/comic-webfont.ttf') format('truetype'),
         url('../font/comic-webfont.svg#comic_sans_msregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
body.popupcard {
    padding-top: 0 !important;
}
body.popupcard .dw-popup-card {
    opacity: 1;
    z-index: 99999;
}
body.popupcard {
    position: fixed;
    left: 0;
    right: 0;
}
body.popupcard-small .dw-popup-card {
    padding-top: 120px;
}
.dw-popup-card .dw-popup-card-close {
    position: absolute;
    top: 30px;
    right: 30px;
    opacity: .8;
    z-index: 100000;
}
.dw-popup-card .dw-popup-card-close:hover {
    opacity: 1;
}
.dw-popup-card a {
    color: #555;
    text-decoration: none;
}
.dw-popup-card {
    background-color: rgba(0,0,0,.95);
    font-family: 'comic_sans_msregular';
    font-size: 25px;
    line-height: 1.2;
    color: #333; 
    font-weight: normal;   
    opacity: 0;    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    z-index: -1;
    padding-top: 200px;
    -webkit-backface-visibility: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: opacity .4s;
    -moz-transition: opacity .4s;
    transition: opacity .4s;
}
/* Card style */
.dw-popup-card-list {
    list-style: none;
    position: relative;
    text-align: center;
}
.dw-popup-card-list li {
    position: relative;
    width: 450px;
    float: none;
    display: inline-block;
    z-index: 1;
    margin: 0;
}
.dw-popup-card-info {
    position: relative;
    margin-top: 510px;
}
.dw-popup-card-list li .dw-popup-card-card {
    position: absolute;
    width: 100%;
    height: 509px;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform .5s;
    -moz-transition: -moz-transform .5s;
    transition: transform .5s;
}
.dw-popup-card-list li .dw-popup-card-card > div,
.dw-popup-card-list li .dw-popup-card-front > div {
    display: block;
    position: absolute;
}
.dw-popup-card-list li .dw-popup-card-front {
    cursor: pointer;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 0% 50%;
    -moz-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transition: -webkit-transform .5s;
    -moz-transition: -moz-transform .5s;
    transition: transform .5s;
    -webkit-transform: translate3d(0,0,20px) rotateY(0deg) translateZ(0px);
    -moz-transform: translate3d(0,0,20px) rotateY(0deg) translateZ(0px);
    transform: translate3d(0,0,20px) rotateY(0deg) translateZ(0px);
    z-index: 10;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.3);
}
.dw-popup-card-list li .dw-popup-card-front > div {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.dw-popup-card-list li .dw-popup-card-page {
    display: none;
    width: 445px;
    height: 509px;
    top: 0;
    z-index: 9;
    -webkit-transform: translate3d(0,0,19px);
    -moz-transform: translate3d(0,0,19px);
    transform: translate3d(0,0,19px);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}
.dw-popup-card-list li .dw-popup-card-front,
.dw-popup-card-list li .dw-popup-card-back,
.dw-popup-card-list li .dw-popup-card-front > div {
    width: 450px;
    height: 509px;
}
.dw-popup-card-list li .dw-popup-card-left,
.dw-popup-card-list li .dw-popup-card-right {
    width: 40px;
    left: -20px;
}
.dw-popup-card-list li .dw-popup-card-top,
.dw-popup-card-list li .dw-popup-card-bottom {
    width: 445px;
    height: 40px;
    top: -15px;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}
.dw-popup-card-list li .dw-popup-card-back {
    -webkit-transform: rotate3d(0,1,0,-180deg) translate3d(0,0,20px);
    -moz-transform: rotate3d(0,1,0,-180deg) translate3d(0,0,20px);
    transform: rotate3d(0,1,0,-180deg) translate3d(0,0,20px);
    box-shadow: 10px 10px 30px rgba(0,0,0,0.3);
}
.dw-popup-card-list li .dw-popup-card-cover-back {
    background-color: #000;
    -webkit-transform: rotate3d(0,1,0,-180deg);
    -moz-transform: rotate3d(0,1,0,-180deg);
    transform: rotate3d(0,1,0,-180deg);
}
.dw-popup-card-list li .dw-popup-card-right {
    height: 499px;
    top: 5px;
    -webkit-transform: rotate3d(0,1,0,90deg) translate3d(0,0,445px);
    -moz-transform: rotate3d(0,1,0,90deg) translate3d(0,0,445px);
    transform: rotate3d(0,1,0,90deg) translate3d(0,0,445px);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}
.dw-popup-card-list li .dw-popup-card-left {
    height: 509px;
    -webkit-transform: rotate3d(0,1,0,-90deg);
    -moz-transform: rotate3d(0,1,0,-90deg);
    transform: rotate3d(0,1,0,-90deg);
}
.dw-popup-card-list li .dw-popup-card-top {
    -webkit-transform: rotate3d(1,0,0,90deg);
    -moz-transform: rotate3d(1,0,0,90deg);
    transform: rotate3d(1,0,0,90deg);
}
.dw-popup-card-list li .dw-popup-card-bottom {
    -webkit-transform: rotate3d(1,0,0,-90deg) translate3d(0,0,499px);
    -moz-transform: rotate3d(1,0,0,-90deg) translate3d(0,0,499px);
    transform: rotate3d(1,0,0,-90deg) translate3d(0,0,499px);
}

/* Transform classes */
.dw-popup-card-list li .dw-popup-card-viewinside .dw-popup-card-front {
    -webkit-transform: translate3d(0,0,20px) rotate3d(0,1,0,-160deg);
    -moz-transform: translate3d(0,0,20px) rotate3d(0,1,0,-160deg);
    transform: translate3d(0,0,20px) rotate3d(0,1,0,-160deg);
}
.dw-popup-card-list li .dw-popup-card-card.dw-popup-card-viewinside {
    -webkit-transform: translate3d(0,0,150px) rotate3d(0,1,0,0deg);
    -moz-transform: translate3d(0,0,150px) rotate3d(0,1,0,0deg);
    transform: translate3d(0,0,150px) rotate3d(0,1,0,0deg);
}
.dw-popup-card-list li .dw-popup-card-card.dw-popup-card-viewback {
    -webkit-transform: translate3d(0,0,0px) rotate3d(0,1,0,180deg);
    -moz-transform: translate3d(0,0,0px) rotate3d(0,1,0,180deg);
    transform: translate3d(0,0,0px) rotate3d(0,1,0,180deg);
}
.dw-popup-card-list li .dw-popup-card-viewback .dw-popup-card-back {
    z-index: 10;
}

/* Main colors and content */
.dw-popup-card-list li .dw-popup-card-page,
.dw-popup-card-list li .dw-popup-card-right,
.dw-popup-card-list li .dw-popup-card-top,
.dw-popup-card-list li .dw-popup-card-bottom {
    background-color: #fff;
}
.dw-popup-card-list li .dw-popup-card-front:after {
    content: '';
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: -1px;
    width: 1px;
    display: none;
}
.dw-popup-card-list li .dw-popup-card-back:after {
    left: auto;
    right: 10px;
}
.dw-popup-card-content {
    font-family: 'comic_sans_msregular';
    text-align: center;
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
    padding: 20px;
    overflow: hidden;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    cursor: default;
    color: #333;
    font-size: 13px;
}
.dw-popup-card-content img {
    width: auto;
    display: inline-block;
}
.dw-popup-card-content p,
.dw-popup-card-content div {
    color: #333;
    font-size: 13px;
    line-height: 1.3;
    padding: 0 0 7px;
    -webkit-font-smoothing: antialiased;
}
.dw-popup-card-content-current {
    opacity: 1;
    pointer-events: auto;
}

/* Card */
.card .dw-popup-card-front > div,
.card .dw-popup-card-front:after {
    background-color: #bf2928;
}
.card .dw-popup-card-cover {
    background-image: url(../img/popupcard-cover.jpg);
    background-repeat: no-repeat;
    background-position: 0;
}
.card .dw-popup-card-cover h2 {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0;
    padding: 30px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.1);
}
.card .dw-popup-card-cover h2 span:first-child,
.card .dw-popup-card-left h2 span:first-child {
    text-transform: uppercase;
    font-weight: 509;
    font-size: 13px;
    padding-right: 20px;
}
.card .dw-popup-card-cover h2 span:first-child {
    display: block;
}
.card .dw-popup-card-cover h2 span:last-child,
.card .dw-popup-card-left h2 span:last-child {
    
} 
.card .dw-popup-card-content h2 {
    text-align: left;
    margin-bottom: 20px;
}
.card .dw-popup-card-content {

}
.card .dw-popup-card-left h2 {
    color: #fff;
    font-size: 15px;
    line-height: 40px;
    padding-right: 10px;
    text-align: right;
}
.card .dw-popup-card-back p {
    color: #fff;
    font-size: 13px;
    padding: 40px;
    text-align: center;
    font-weight: 700;
}

@keyframes snow { 
    0% { background-position: 0px 0px, 0px 0px, 0px 0px }
    100% { background-position: 500px 1000px, 400px 400px, 300px 300px }
}
@-moz-keyframes snow { 
    0% { background-position: 0px 0px, 0px 0px, 0px 0px }
    100% { background-position: 500px 1000px, 400px 400px, 300px 300px }
}
@-webkit-keyframes snow { 
    0% { background-position: 0px 0px, 0px 0px, 0px 0px }
    100% { background-position: 500px 1000px, 400px 400px, 300px 300px; }
}
@-ms-keyframes snow { 
    0% { background-position: 0px 0px, 0px 0px, 0px 0px }
    100% { background-position: 500px 1000px, 400px 400px, 300px 300px }
}

/* dw-popup-card-banner */
.dw-popup-card-banner {
    position: fixed;
    z-index: 99998;
    bottom: 20px;
    right: 20px;
}
.dw-popup-card-banner a {
    background: url('../img/popupcard-banner.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    display: block;
    height: 118px;
    width: 133px;
    overflow: hidden;
    text-indent: -999em;
    opacity: .7;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}
.dw-popup-card-banner a:hover {
    opacity: 1;
}