/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700');

body {
	font-family: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    background: #ffffff;
    color: #000000;
}

p {
    margin-bottom: 1rem;
}


body.login-form-body {    
    background: #ffffff;
    color: #000000;
}

a, button, button, input, textarea {
   outline: 0;
}

button:focus {
	outline: 0 !important;
}

a:hover, a:active, a:focus {

}

/* COLORS */

/* Demeca green: #3fae2a*/

.bg-black {
	background: black;
}

.bg-material-red {
	background: #F44336;
}

.bg-material-blue {
	background: #2196F3;
}

.bg-material-indigo {
	background: #3F51B5;
}

.bg-material-bluegrey {
	background: #607D8B;
}

.bg-material-green {
	background: #4CAF50;
}

.bg-material-amber {
	background: #FFC107;
}

.bg-material-yellow {
	background: #FFEB3B;
}

/* LOGIN FORM */
body.login-form-body {
	height: 100vh;
}

.login-container {
	height: 100vh;
	max-width: 30rem;
	margin: auto;
	padding: 0 2rem;
}

.login-logo {
	max-width: 70%;
	margin: 0 auto 2rem auto;
	display: block;
}

#login-form {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

#login-form input {
	text-align: center;
}

#login-warning {
	display: none;
	margin-top: 2rem;
	color: #F44336;
	text-align: center;
}

#support {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 2rem;
}

#login-progress {
	display: block;
	margin: 2rem auto 0 auto;
	width: 4rem;
	height: 4rem;
}

	

/* FORM */
/*
label {
	font-size: 0.875rem;
	margin-bottom: 0.15rem;
}

.form-control {
	border-radius: 0;
	border: none;
	border-bottom: 2px solid #ddd;
	padding: 0.35rem 0;
}

select.form-control {
	border: 2px solid #ddd;
	padding: 0.35rem 1.65rem 0.35rem 0.35rem;
}
	

.form-control:focus {
	box-shadow: none;
}
*/
/* SIDES */

h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.section-buttons {
    text-align: center;
	width: 100%;
	padding: 1rem;
}

#vaultstatus {
    display: block;
    background: #efefef;
    max-width: 400px;
    margin: 1rem auto 2rem auto;
    padding: 1rem;
    border: 3px solid;
	font-size: 1rem;
	font-weight: bold;
}

@keyframes blink {50% { color: transparent }}
.loader_dot { animation: 1s blink infinite }
.loader_dot:nth-child(2) { animation-delay: 250ms }
.loader_dot:nth-child(3) { animation-delay: 500ms }


#vault_users table {
	margin: 0.5rem auto 0.5rem auto;
	font-size: 0.875rem;
	text-align: left;
}

.explanation {
	text-align: center;
	font-size: 0.875rem;
	margin-bottom: 2rem;
}

#vault_users table td, #vault_users table th {
	padding: 0.5rem 2rem 0.5rem 0.5rem;
	border-bottom: 1px solid #aaa;
}

#vault_users table th {
	background: #aaa;
}

#vault_users table tr.in-use td {
	background: rgba(40, 167, 69, 0.25);
}

#vault_users table tr.not-in-use td {
	background: rgba(0, 0, 0, 0.10);
	color: #777;
}
#vault_users table .statusBall {
	vertical-align: middle;
	margin-left: 0.25rem;
}

#vault_users table td input {
	vertical-align: middle;
}

#vaultcosts {
	margin-bottom: 2rem;
	font-size: 1rem;
}

#controls {
	margin: 1rem 0;
	text-align: center;
}

#controls button {
	background: #dddddd;
	border: none;
	border-radius: 50%;
	margin-right: 0.5rem;
	margin-left: 0.5rem;
	padding: 1rem;
	width: 4rem;
	height: 4rem;
	cursor: pointer;
}

#controls button svg {
	fill: #232323;
}

#controls button#record svg {
	fill: #F44336;
}

.content {
	max-width: 500px;
	margin: auto;
	padding: 0.75rem;
}

#record-audio {
	text-align: center;
}

form input:not([type=radio]), form textarea, form select {
	width: 100%;
}
form textarea {
	padding: 0.5rem;
	margin-bottom: 1rem;
}

#add-activity, #new-customer, #existing-customer, #customer-type-selection {
	margin-bottom: 1rem;
	padding: 1rem;
	line-height: 1.5;
}

#customer-type-selection .custom-radio {
	display: inline-block;
}

#customer-type-selection .custom-radio:first-child {
	margin-right: 1rem;
}

#customer-type-selection .custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #3fae2a;
}

button#pause, button#resume, #mode, #formats {
	display: none;
}

ul#list {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

audio {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#message-box {
	font-weight: bold;
	font-size: 1.25rem;
}

.recording {
	color: #F44336;
}

#logout-button {
	margin: 4rem auto 2rem auto;
	display: block;
}

#submit-message {
	margin-top: 2rem;
	text-align: center;
	font-size: 0.875rem;
	line-height: 1.25;
}

#submit-message .success-message {
	font-weight: bold;
	color: #3fae2a;
}

#submit-message .error-message {
	font-weight: bold;
	color: #F44336;
}

#submit-progress {
	display: block;
	margin: 2rem auto 0 auto;
	width: 4rem;
	height: 4rem;
}

.data-missing {
	border: 2px solid #F44336;
}

#upload-file {
	margin-bottom: 2rem;
	display: inline-block;
}

#deleteFile {
	position: absolute;

	top: 2px;
	
	right: 2px;
	
	z-index: 999;
	cursor: pointer;
}

#deleteFile img {
	width: 32px;

	height: 32px;
}

#preview-container {
	display: block;

	overflow: hidden;
	
	margin: 1rem auto;
	
	text-align: center;
	
	width: 150px;
	
	position: relative;
}

#image-preview {
	width: 150px;
	display: inline-block;
}

#notice {
	margin-bottom: 1rem;

	font-size: 0.75rem;
	
	color: #3fae2a;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
	background-color: #3fae2a !important;
}

.custom-control-input:focus ~ .custom-control-label::before {
	box-shadow: 0 0 0 1px #fff,0 0 0 .2rem rgb(63, 174, 42, 0.25) !important;
}

#biovstetselector {
	padding-top: 1rem;
}

#remove-biovstet-radio {
	width: 1.5rem;
	height: 1.5rem;
	background: red;
	color: white;
	display: inline-block;
	border-radius: 50%;
	float: right;
	text-align: center;
	line-height: 1.5rem;
	font-weight: bold;
	opacity: 0.5;
	cursor: pointer;
}


#remove-biovstet-radio:hover {
	opacity: 1;
}

p.intro {
	font-size: 0.75rem;
	font-style: italic;
	margin-top: 0.5rem;
	color: #666;
}

.error-bg {
	background: rgba(255,0,0,0.1);
	border: 2px solid red;
}