/* Modal styles */
.modal-content {
    border-radius: 3px;
    box-shadow: 0 2px 3px rgba(0,0,0,.125);
    border: 0;
}

.modal-header {
    border-bottom-color: #f4f4f4;
    padding: 15px;
}

.modal-footer {
    border-top-color: #f4f4f4;
    padding: 15px;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
}

.modal-body {
    position: relative;
    padding: 15px;
}

/* Form within modal */
.modal .form-group {
    margin-bottom: 15px;
}

.modal .form-control {
    border-radius: 0;
    box-shadow: none;
    border-color: #d2d6de;
}

.modal .form-control:focus {
    border-color: #3c8dbc;
    box-shadow: none;
}

/* Modal animations */
.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translate(0,-25%);
}

.modal.show .modal-dialog {
    transform: translate(0,0);
}

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

/* Custom modal sizes */
.modal-lg {
    max-width: 900px;
}

.modal-md {
    max-width: 600px;
}

.modal-sm {
    max-width: 300px;
}
