.fileinput {
    display: inline-block;
    margin-bottom: 0px;
}

.fileinput-exists .fileinput-new, .fileinput-new .fileinput-exists {
    display: none;
}

.fileinput .thumbnail {
    display: inline-block;
    margin-bottom: 10px;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    max-width: 260px;
}

.thumbnail {
    border: 0 none;
    border-radius: 0;
    padding: 0;
}

.img-raised {
    box-shadow: 0 5px 15px -8px rgba(0, 0, 0, 0.24), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}

.fileinput .thumbnail > img {
    max-height: 100%;
    width: 100%;
}

img {
    vertical-align: middle;
    border-style: none;
}

.fileinput .btn {
    vertical-align: middle;
}

@media (max-width: 767px) { 
	.fileinput .btn {
		vertical-align: middle; margin-bottom: 10px;
	}
}

.btn-file {
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}

.fileinput-exists .fileinput-new, .fileinput-new .fileinput-exists {
    display: none;
}

.btn-file > input {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    font-size: 23px;
    cursor: pointer;
    filter: alpha(opacity=0);
    opacity: 0;
    direction: ltr;
}

button, input {
    overflow: visible;
}

.ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    border-radius: inherit;
}

.label-fileinput {
    display: block;
    margin-bottom: 0.5rem;
}

/*Custom*/

.fileinput a {
    text-decoration: none;
}
