.modal-open {
    overflow: hidden;
}
.lightbox-modal.modal {
    bottom: 0;
    display: none;
    left: 0;
    outline: 0 none;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1050;
}
.modal.fade .modal-dialog {
    transform: translate(0px, -25%);
    transition: transform 0.3s ease-out 0s;
}
.modal.in .modal-dialog {
    transform: translate(0px, 0px);
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.modal-dialog {
    margin: 10px;
    position: relative;
    width: auto;
}
.lightbox-modal.modal .modal-content {
   background-clip: padding-box;
   background: none !important;
   border: none;
   border-radius: 0;
   box-shadow: none;
   outline: 0 none;
   position: relative;
   text-align: center;
}
.modal-backdrop {
/*    background-color: rgb(0, 0, 0); */
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1040;
}
.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop.in {
    opacity: 0.5;
}
.modal-header {
 /*   border-bottom: 1px solid rgb(229, 229, 229); */
    min-height: 16.43px;
    padding: 15px;
}
.modal-header .close {
    margin-top: -2px;
}
.modal-title {
    line-height: 1.42857;
    margin: 0;
}
.modal-body {
    padding: 15px;
    position: relative;
}
.modal-footer {
/*    border-top: 1px solid rgb(229, 229, 229); */
    padding: 15px;
    text-align: right;
}
.modal-footer .btn + .btn {
    margin-bottom: 0;
    margin-left: 5px;
}
.modal-footer .btn-group .btn + .btn {
    margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
    margin-left: 0;
}
.modal-scrollbar-measure {
    height: 50px;
    overflow: scroll;
    position: absolute;
    top: -9999px;
    width: 50px;
}

@media (min-width: 768px) {
    .modal-dialog {
        margin: 30px auto;
        width: 600px;
    }
}

.modal-content {
/*    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); */
}
.modal-sm {
    width: 300px;
}

.lightbox-modal.modal .modal-dialog {
    width: 100% !important; 
}   

.lightbox-modal {
    text-align: center;
}

.lightbox-modal .lightbox_btn {
    top: 20%;
    cursor: pointer;
/*  background: #000; */
    color: #fff;
/*  padding: 5px 30px 5px 5px; */
    cursor: pointer; 
    color: #fff;
    position: absolute;
    height: 128px;
    width: 42px;
    display: none; 
}

#Dynamic_template .lightbox-modal .lightbox_btn {
    display: block;
    top: 300px;
}    

#Dynamic_template .lightbox-modal .lightbox_btn.prev {
    left: 10px;
}   

.lightbox-modal .lightbox_btn img {
    height: 30px !important;   
}

/*
.lightbox-modal .lightbox_btn.prev:hover span {
    padding-left: 60px; 
}

.lightbox-modal .lightbox_btn.next:hover span {
    padding-right: 60px;    
}
*/

.lightbox-modal .lightbox_btn.next {
    background: url(next.png) 0 0 no-repeat;
    right: 10px;
}

.lightbox-modal .lightbox_btn.prev {
    background: url(prev.png) 0 0 no-repeat;
    left: 0px;
}   

.lightbox_image_wrapper .nav {
    margin-bottom: 10px;
}

.pdficon_lightbox img {
    height: 45px;
    position: absolute !important;
    bottom: 0;
}

.pdficon_lightbox:hover img {
    height: 60px;
}       

div.pdftool_and_share_box {
/*   position: absolute;
    bottom: 0px;    
    left: 0px;
    width: 100%;
*/
/*    display: inline-block; */
    cursor: default;
    position: relative;
    margin-top: 10px;
}

div.pdftool_and_share_box .the_pdf_icon {
    float: left;
}

div.pdftool_and_share_box span {
    cursor: pointer;
}

img.fd_lightbox_img {
    max-width: 100%;
}   

.lightbox-modal .lightbox_image_wrapper {
    position: relative;
    display: inline-block;
    min-height: 300px;
    width: 100%;
}

/* cursor: url(image) [x y|auto]; */

.lightbox-modal .lightbox_image_wrapper.prev {
    cursor: url(prev.png) 6 60, auto; /* max image size 128 x 128 */
}    

.lightbox-modal .lightbox_image_wrapper.next {
    cursor: url(next.png) 6 60, auto; /* max image size 128 x 128 */
} 

#Dynamic_template .lightbox-modal .lightbox_image_wrapper.prev,
#Dynamic_template .lightbox-modal .lightbox_image_wrapper.next {
    cursor: default;   
} 

@media (min-width: 768px) {
    
    .modal-dialog {
        margin: 30px auto;
        width: 600px;
    }    
    
}

@media (max-width: 768px) {
    
    .lightbox-modal .lightbox_btn {
        display: block;   
    }
    
    .lightbox-modal .lightbox_image_wrapper.prev,
    .lightbox-modal .lightbox_image_wrapper.next {
        cursor: default;   
    }    
    
}
