/* The Modal (background) */


.modal {
	animation-duration: 0.4s;
    animation-name: fadeIn;
    background-color: rgba(0, 0, 0, 0.4);
    bottom: 0;
    display: none;
    left: 0;
    max-height:630px;
    /*overflow-y: scroll;*/
    position: fixed;
    right: 70px;
    width: 90%;
    z-index: 1040;
}

/*.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    margin:0 auto;
    width: 90%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
    -webkit-animation-name: fadeIn; 
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
    
}*/

*/

/* Modal Content */
.modal-content {
    position: absolute;
    bottom: 0;
    background-color: #f9f9f9;
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}

.modal .container {
	width:auto;
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-left: 10px;
    margin-top: 20px !important;
}

.modal-content .form-top {
	 background: #1bbd36 none repeat scroll 0 0;
}

.modal-content .form-top-left, .modal-content .form-top-right {
	padding-top:10px
}

.modal-content .form-top h3 {
	 color:#f9f9f9;
}

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

.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
    margin-bottom: 10px;
}

.modal-header h2 {
	font-size: large;
    margin-top: 10px;
}

.modal-body {padding: 2px 16px;
margin-top:10px}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

.alert-success {
color: #468847;
background-color: #dff0d8;
border-color: #d6e9c6;
}
.alert {
padding: 8px 35px 8px 14px;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}

.alert-heading {
color: inherit;
}

.alert .close {
position: relative;
top: -2px;
right: -21px;
line-height: 18px;
}
.alert-danger,
.alert-error {
color: #b94a48;
background-color: #f2dede;
border: #e8c2c2 1px solid ;

}
/************** toooooool tip *****************/