.modal{
/*Burdakini deyisende modal.js deki default zindexi de deyis*/
    /*z-index: 100;*/
    position: fixed;
}
#alert_modal{
	z-index: 9901;
}
.modal-container{
	position: fixed;
	background-color: #fff;
	left: 50%;
	padding-top: 20px;
	border-radius: 5px;
	-webkit-transform: translate(-50%,-200%);
	-ms-transform: translate(-50%,-200%);
	transform: translate(-50%,-200%);
	padding: 20px;
	    /*width: 455px;*/
            width: 87%;
    max-width: 455px;
	transition: transform 200ms ease-out;
	-o-transition: transform 200ms ease-out;
	-webkit-transition: -webkit-transform 200ms ease-out;
	-moz-transition: transform 200ms ease-out;
	-ms-transition: transform 200ms ease-out;
	box-shadow: 0 2px 26px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, .1);
}
.modal-back{
    position: fixed;
    display: none;
    background-color: rgba(0, 0, 0, .4);
	top: 0;left: 0;height: 100%;
	width: 100%;
}
.closeicon{
	 position: absolute;
    top: 6px;font-family: inherit;
    right: 10px;font-weight: 700;
    font-size: 21px;font-family: inherit;
    color: #aaa; text-shadow: 0 1px 0 #fff;line-height: 1;
}
.modal-close{
    cursor: pointer;
    
   
	}
.modal-footer{
	    word-wrap: break-word;
}
.closeicon:hover{
	color:darkgrey;
}
.modal-header{
	    font-weight: 600;
    color: #161b2d;
    text-align: center;
    font-size: 19px;
    /*border-bottom: 1px solid #ccc;*/
}
/*Pop Modal*/
.pop-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999; /* 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) */
.pop-modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 95%;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
/*.pop-modal-content, yoxdu cunki animation ayri classda olacaq,animate_pop (evvel .pop-modal-content,#caption) */
 #caption,.animate_pop {
    -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)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .pop-modal-content {
        width: 100%;
    }
}