﻿#modal_overlay {
    position: fixed;
    display: none;
    z-index: 1000;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: url('../images/modal_overlay.png');
    background: rgba(0, 0, 0, 0.55);
}

.modal_window {
    position: fixed;
    z-index: 1010;
    display: none;
    top: 50%;
    left: 50%;
/*    -webkit-border-radius: 21px;
    -moz-border-radius: 21px;
    border-radius: 21px;*/
    padding: 21px 0;
    background: #ffffff;
}

.modal_inner {
    position: relative;
    clear: left;
    padding: 0px 21px;
    background-color: #FFFFFF;
}

.modal_iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal_controls {
    padding: 0px 21px;
    height: 22px;
    background-color: #FFFFFF;
}

/*-----------------------------------------------------------------------------------------------*/
/* Page Gallery Window */

#gallery_container {
    position: relative;
    margin-bottom: 4px;
/*    height:300px;
    width:300px;*/
}

#gallery_container ul {
    display: block;
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

#gallery_container ul li {
    display: block;
    text-align: center;
}

#previous_image,
#next_image {
    position: absolute;
    display: none;
    top: 40%;
    width: 63px;
    height: 32px;
    text-decoration: none;
    font-size: 1.5rem;
    
    text-align: center;
    padding: 7px;
    background: var(--red);
}

#previous_image {
    z-index: 1000;
    left: 0px;
    /*background-image: url("../images/modal_window/modal_previous.gif");*/
    color: #fff;
}

#next_image {
    z-index: 1001;
    right: 0px;
    /*background-image: url("../images/modal_window/modal_next.gif");*/
    color: #fff;
}

#current_index {
/*    position:absolute;
    bottom:0;*/
    display: block;
    float: left;
    padding-top: 4px;
    color: #898989;
    text-align: center;
    font-weight: bold;
    font-size: 1.35em;
    line-height: 1em;
    font-family: Arial, Verdana, Tahoma, Helvetica, Sans-Serif;
}
/*.modal_close{
    position:absolute;
    bottom:0;
    left:70px;
}*/