.jDiaporama_wrapper {
    position: relative;
    clear: both;
}

.jDiaporama_slider {
    position: relative;
    overflow: hidden;
}

.jDiaporama ul {
    -moz-box-shadow: 1px 1px 0.5em #222;
    overflow: hidden;
    position: absolute;
    left: 0;
}

.jDiaporama li {
    list-style-type: none;
    overflow: hidden;
    float: left;
    position: relative;
    background: #000
}

.jDiaporama li img {
    display: block;
    margin: 0 auto
}

.jDiaporama .fade-tmp {
    position: absolute;
    z-index: 1;
    text-align: center;
    background: #000
}

.jDiaporama .fade-tmp img {
    margin: 0 auto;
    display: block
}

.jDiaporama-slice {
    display: block;
    position: absolute;
    z-index: 5;
    height: 100%;
}

.jDiaporama .desc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-family: Arial;
    padding: 5px;
    background: url(../images/back_desc.png) repeat;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/back_desc.png', sizingMethod='scale');
    _background-image: none;
    width: inherit;
    padding-bottom: 20px;
    text-align: left
}

.jDiaporama .title {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-family: Arial;
    padding: 5px;
}

.jDiaporama .count {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-family: Arial;
    padding: 5px;
}

.jDiaporama_controls {
    display: none;
}

.jDiaporama_controls a {
    font-weight: normal;
    width: 10px;
    height: 13px;
    text-indent: -9999px;
    display: block;
    margin: 0 3px;
    position: absolute;
    z-index: 1
}

.jDiaporama_controls .prev {
    background: url(../images/controls2.png) no-repeat bottom;
    top: 50%;
    margin-top: -16px;
    height: 32px;
    width: 32px;
    left: 0px
}

.jDiaporama_controls .next {
    background: url(../images/controls2.png) no-repeat top;
    top: 50%;
    margin-top: -16px;
    height: 32px;
    width: 32px;
    right: 0px
}

.jDiaporama_controls .pause {
    background: url(../images/playpause.png) no-repeat top;
    width: 64px;
    height: 48px;
    left: 50%;
    top: 50%;
    margin-left: -32px;
    margin-top: -24px;
}

.jDiaporama_controls .play {
    background: url(../images/playpause.png) no-repeat bottom;
    width: 64px;
    height: 48px;
    left: 50%;
    top: 50%;
    margin-left: -32px;
    margin-top: -24px;
}

/**** Status ****/

.jDiaporama_status {
    text-align: center;
    /*margin: 10px auto;*/
    margin: 10px 0 10px 10px;
    display: none;
    overflow: hidden;
    max-width: 450px;
}

.jDiaporama_status a {
    background: url(../images/bullets.png) no-repeat left;
    float: left;
    width: 10px;
    height: 10px;
    text-indent: -9999px;
    margin-right: 5px;
}

.jDiaporama_status .imgBack {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    margin-bottom: 10px
}

.jDiaporama_status a:hover, .jDiaporama_status a.active {
    background: url(../images/bullets.png) no-repeat right;
}

/********** themes ***********/

/** DESIGN **/

.design .jDiaporama_slider {
    -moz-box-shadow: 0 0 0.7em #333;
}

.design .jDiaporama_status .imgBack {
    -moz-border-radius: 0.5em;
    -moz-box-shadow: 0 0 0.3em #444;
    -webkit-border-radius: 0.5em;
    -webkit-box-shadow: 0 0 0.3em #444;
    border-radius: 0.5em;
    box-shadow: 0 0 0.3em #444;
    border: 1px solid #555;
    opacity: 0.4;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.design .jDiaporama_status .imgBack:hover {
    opacity: 1;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in
}

.design .jDiaporama_status .imgBack.active {
    -moz-box-shadow: inset 0 0 0.5em #333;
    opacity: 1
}

/** BORDER **/

.border .jDiaporama_slider {
    border: 10px solid #fff
}

.border .jDiaporama_status .imgBack {
    border: 2px solid #fff;
    opacity: 0.5;
    background-size: 50px auto;
}

.border .jDiaporama_status .imgBack:hover {
    opacity: 1
}

.border .jDiaporama_status .imgBack.active {
    opacity: 1;
    border: 2px solid #333;
}

.border .jDiaporama_controls .next {
    right: 10px;
}

.border .jDiaporama_controls .prev {
    left: 10px;
}

.clear {
    clear: both
}

.diapoTest {
    width: 450px;
}

.actions {
    width: 450px;
    text-align: center;
}

.actions h2, .actions p {
    margin-top: 0
}



.overlay3 {
    /*display: none;*/
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.overlay3:target {
    display: block;
}

.popup_block {
    background: #fff;
    padding: 20px;
    border: 20px solid #ddd;
    position: absolute;
    width: 640px;
    height: 480px;
    box-shadow: 0 0 20px #000;
    border-radius: 10px;
    top: 50%;
    margin-top: -280px;
    left: 50%;
    margin-left: -360px;
}

img.btn_close {
    float: right;
    margin: -55px -20px 0 0;
}

img.btn_print {
    float: right;
    margin: -55px 30px 0 0;
}

img.btn_close, img.btn_print {
    background-color: white;
    border: 3px solid black;
    border-radius: 5px;
    padding: 5px;
    width: 32px;
    height: 32px;
}

#zoomPhotoImg {
    width: 640px;
    height: 480px;
    max-width: 100%;
    max-height: 100%;
}
