﻿.thumb_div {
    /*width: 100px;*/
    border: solid 1px #e5e5e5;
    border-radius: 20px;
    overflow: hidden;
    width: 120px;
    height: 120px;
    position: relative;
    display: block;
    z-index: 10;
}

.thumb_preview {
    position: relative;
    display: inline-block;
    vertical-align: top;
    /*margin: 16px;*/
    min-height: 120px;
    padding: 10px;
}

.image_thumbs_default {
    /*float: left; 
    margin-left: 1px !important;*/
    /*max-width: 140px;*/
    /*min-width: 140px;*/
    min-height: 140px;
    max-height: 140px;
    margin: 0 auto;
    /*position: relative;
    display: inline-block;
    font-size: 0;
    cursor: pointer;
    margin-top:0px;
    margin-bottom:2px;*/
}

    .image_thumbs_default:hover .btn_img {
        display: block;
    }

.pdf_thumbs_default {
    float: left;
    margin-left: 1px !important;
    max-width: 100%;
    max-height: 100px;
}

.btn_img {
    border-radius: 50%;
    /*margin-left: 88%;*/
    width: 30px;
    height: 30px;
    z-index: 99 !important;
    margin-top: -5px;
    margin-right: 0px;
    padding: 3px;
    border: solid 1px #e5e5e5;
}

.btn_remove {
    position: absolute;
    right: 5px;
    top: 5px;
}

.btn_download {
    position: absolute;
    left: 5px;
    top: 5px;
}

.modal-body-galeria {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
}

.div_btn_add {
    text-align: left;
}

/*style="margin-top:5px!important;margin-bottom:5px"*/

/*.outer {
    width: 300px;
    overflow: hidden;
}

.inner {
    display: inline-block;
    position: relative;
    right: -50%;
}

img {
    position: relative;
    left: -50%;
}*/

/* Style the Image Used to Trigger the Modal */
content {
    position: absolute !important;
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    #myImg:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal_img {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    width: 105.2%;
    top: -1em;
    left: -3.5%;
    height: 2000px;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal_img-content {
    margin: auto;
    display: block;
    height: 100%;
    max-height: 840px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption_img {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 170px;
}

.carousel-indicators {
    bottom: 80px;
}
/* Add Animation - Zoom in the Modal */
.modal_img-content, #caption_img {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0);
    }

    to {
        -webkit-transform: scale(1);
    }
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.img_carousel {
    position: relative;
}

/* The Close Button */
.close_img {
    position: absolute;
    top: 1%;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    right: 3%;
    transition: 0.3s;
    opacity: .9 !important;
}

    .close_img:hover,
    .close_img:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal_img-content {
        width: 100%;
    }
}

@media only screen and (min-height: 600px ) and (max-height: 800px) {
    .img_upload {
        height: 100%;
        max-height: 500px;
    }
}

@media only screen and (min-height: 800px ) and (max-height: 1200px) {
    .img_upload {
        height: 100%;
        max-height: 700px;
    }
}
