@charset 'utf-8';

/* SVG Icon */

.svg-icon {
	width: 1em;
	height: 1em;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
	fill: #4691f6;
}

.svg-icon circle {
	stroke: #4691f6;
	stroke-width: 1;
}

/* Form */

/* Spam honey pot */
.form-group.company {
	display: none !important;
}

/* Buttons */

.close {
	cursor: pointer;
}

.close .glyphicon::before {
	content: url('close.svg');
	float: right;
	display: inline-block;
	width: 18px;
	height: 18px;
}

button.delete {
	width: 40px;
	height: 40px;
	border: 0 none;
}

.delete .glyphicon::before {
	content: url('trash.svg');
	display: inline-block;
	width: 22px;
	height: 22px;
}

/* Image List */

#polis-award-application .image-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* Hide file input field by default, but keep functionality */
.hide-file-input {
	opacity: 0;
}

/* Hide preview by default */
.project-images-upload .upload-preview {
	display: none;
}

.project-images-upload {
	float: left;
	display: block;
	width: 150px;
	height: 150px;
	margin-bottom: 60px;
}

.project-images-upload .file-upload-field {
	opacity: 0;
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.project-images-upload .file-upload {
	display: flex;
	align-items: center;

	position: relative;
	width: 150px;
	height: 150px;
	background-color: rgba( 0, 0, 0, .3 );
	color: #FFF;
	border-radius: 3px;

	font-size: 14px;
	text-align: center;
}

.project-images-upload .loader-animation {
	display: block;
	margin: auto;
	background: rgb( 0, 0, 0, .1 );
	border-radius: 3px;

	shape-rendering: auto;
}

.project-images-upload .upload-preview {
	position: relative;
	width: 150px;
	height: 150px;
	overflow: hidden;
	border-radius: 3px;
}

.project-images-upload .upload-preview img {
	width: auto;
	height: 150px;
}

.project-images-upload .upload-preview .delete {
	position: absolute;
	top: 0;
	right: 0;
	padding: .5em;
	background-color:red;
	color:white;
	text-align: center;
}

.file-upload label {
	font-weight: 400;
}

.alert {
	display: block;
	width: 100%;
	width: calc( 100% - 1em);
	padding: .25em .5em;
	color: white;
	font: .9em 'Proof', sans-serif;
	text-align: center;
}

.alert-success {
	background-color: #0A0;
}

.alert-danger {
	background-color: #F00;
}
