@-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 0.55;}
}

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 0.55;}
}

@-webkit-keyframes slideInDown {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        visibility: visible;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    0% {
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        transform: translateY(-100%);
        visibility: visible;
    }

    100% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

DIV.ui-popupwindow-overlay {
    display: none;
    background: #fff;
    opacity: 0.55;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000000;
    width: 500px;
    height: 500px;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

DIV.ui-popupwindow {
    background: #FFFFFF;
    z-index: 1000000001;
    left: 0;
    top: 0;
    position: absolute;
    display: none;
    box-shadow: 0 14px 55px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 14px 55px rgba(0, 0, 0, 0.4);
    border-radius: 0px;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    /*-webkit-animation-fill-mode: both;
    animation-fill-mode: both;*/
    -webkit-animation-name: slideInDown;
    animation-name: slideInDown;
}
DIV.ui-popupwindow-body DIV.ui-popupwindow {
    box-shadow: none;
    -webkit-box-shadow: none;
    width: 100%;
    height: 100%;
    display: block;
}
DIV.ui-popupwindow-body DIV.ui-popupwindow-content {
    overflow: visible;
}
DIV.ui-popupwindow.minimized DIV.ui-popupwindow-content {
    height: 445px !important;
}
DIV.ui-popupwindow.minimized {
    -moz-transform: scale(0.14, 0.14);
    -o-transform: scale(0.14, 0.14);
    -webkit-transform: scale(0.14, 0.14);
    -ms-transform: scale(0.14, 0.14);
    box-shadow: none;
    -webkit-box-shadow: none;
}
DIV.ui-popupwindow.minimized DIV.ui-popupwindow-restore {
    display: block;
}
DIV.ui-popupwindow DIV.ui-popupwindow-restore {
    display: none;
    top: -10px;
    left: -10px;
    position: absolute;
    z-index: 1000000002;
    width: 100%;
    height: 100%;
}
DIV.ui-popupwindow DIV.ui-popupwindow-restore A {
    display: block;
    width: 100%;
    height: 100%;
    border: 15px solid #EEE;
}
DIV.ui-popupwindow DIV.ui-popupwindow-restore A:HOVER {
    border: 15px solid #fff;
    box-shadow: 0 0 35px #fff;
    outline: none;
}
DIV.ui-popupwindow-titlebar * {
    cursor: move;
}
DIV.ui-popupwindow-titlebar {
    background-color: #333439;
    border-bottom: 1px solid #333439;
    border-top: 1px solid #333439;
    font-weight: normal;
    padding: 7px 9px;
    position: relative;
    height: 17px;
    border-radius: 0px 0px 0 0;
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
}
DIV.ui-popupwindow-titlebar H2 {
    font-size: 15px;
    color: #EEEEEE;
    margin: 0;
    padding: 0;
    padding-top: 0;
    line-height: 100%;
}
DIV.ui-popupwindow-titlebar A.close, DIV.ui-popupwindow-titlebar A.minimize {
    position: absolute;
    cursor: pointer;
    width: 23px;
    height: 23px;
    opacity: 0.7;
    display: block;
    top: 2px;
    border: none !important;	
}
DIV.ui-popupwindow-titlebar A.minimize {
    display: none;
}
DIV.ui-popupwindow-titlebar A.close, DIV.ui-popupwindow-titlebar A.minimize 
DIV.ui-popupwindow-titlebar A.close:HOVER, DIV.ui-popupwindow-titlebar A.minimize 
{   border-right: 1px solid #F4E5E7;
    border-left: 1px solid #F4F5F7;
    border-right: 1px solid #F4E5E7;
    border-left: 1px solid #F4F5F7;

    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;	
    -o-transition: opacity 0.3s;	
}
DIV.ui-popupwindow-titlebar A.close{
    background: url(../images/close.png) no-repeat center center;
    right: 3px;
}
DIV.ui-popupwindow-titlebar A.minimize {
    background: url(../images/minimize.png) no-repeat center center;
    right: 30px;
}
DIV.ui-popupwindow-titlebar A.close:HOVER, DIV.ui-popupwindow-titlebar A.minimize:HOVER { opacity: 1.0; }
DIV.ui-popupwindow-content {
    padding: 18px;
    font-size: 12px;
    overflow: auto;
    color: #656565;
    background: #FFF;
    border-radius: 0px;
}
DIV.ui-popupwindow-content IFRAME {
    width: 100%;
    height: 99%;
    border-style: none;
}
DIV.ui-popupwindow-image-text {
    position: absolute;
    left: 0;
    bottom: 0;
}
DIV.ui-popupwindow-image-wrapper {
    background: #000;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px;
    margin: 18px;
    pointer: cursor;
}
DIV.ui-popupwindow-image-text H2 {
    font-size: 18px;
    margin-bottom: 0;
    padding-bottom: 0;
}
DIV.ui-popupwindow-image-text P {
    padding-top: 5px;
    margin-top: 0;
}
IFRAME.ui-popupwindow-iframe-loader {
    position: absolute;
    left: 15px;
    top: 15px;
    display: none;
}