/* CSS used here will be applied after bootstrap.css */
.modal-header-success {
    background-color: #78cd51;
}

.modal-header-warning {
    background-color: #f1c500;
}

.modal-header-danger {
    background-color: #ff6c60;
}

.modal-header-info {
    background-color: #58c9f3;
}

.spinner {
    margin-top: 10px;
    text-align: center;
}

    .spinner > div {
        width: 18px;
        height: 18px;
        background-color: #333;
        border-radius: 100%;
        display: inline-block;
        -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
        animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    }

    .spinner .bounce1 {
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .spinner .bounce2 {
        -webkit-animation-delay: -0.16s;
        animation-delay: -0.16s;
    }

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}


/* The Modal (background) */
.img-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    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) */
.img-modal-content {
    margin: auto;
    display: block;
    /*width: 550px;*/
    max-width: 75%;
}



/* The Close Button */
.img-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .img-close:hover,
    .img-close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }
.imageOpen:hover {
    -ms-transform: scale(1.05); /* IE 9 */
    -webkit-transform: scale(1.05); /* Safari 3-8 */
    transform: scale(1.05);
    transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
}

.ZoomModalInRotatePhoto {
    background-color: transparent;
    border: 1px solid #464646;
    margin-left: 49%;
    bottom: 5%;
    color: white;
    position: fixed;
    clear:both;
}

    .ZoomModalInRotatePhoto:hover {
        color: #464646;
        border: 1px solid #353535;
    }

    .ZoomModalInRotatePhoto:visited {
        color: white;
        border: 1px solid #464646;
    }

    .ZoomModalInRotatePhoto:focus {
        color: white;
        border: 1px solid #464646;
    }

@media screen and (max-width: 455px) {
    .img-modal-content {
        max-width: 100%;
    }   
}