.module-message *,
.module-message *:before, 
.module-message *:after { box-sizing: border-box; }

.module-message .message-button {
	position: relative;
	display: flex;
   justify-content: center;
   align-items: center;
	background-color: #9d9d9d;
	color: #fff;
   height: 40px;
	padding: 0 16px;
	text-decoration: none !important;
	text-align: center;
	cursor: pointer;
	margin-bottom: 8px;
	vertical-align: middle;
}
.module-message .message-button.small {  }
.module-message .message-button.active { background-color: #8d8d8d; }
.module-message .message-button:hover { box-shadow: inset 0 0 0 100px RGBa(255,255,255,0.1); }

.module-message .button-group {
   display: flex;
   justify-content: space-between;
	align-items: center;
   /*margin-bottom: 12px;*/
}
.module-message .button-group.left { justify-content: flex-start; }
.module-message .button-group.right { justify-content: flex-end; }
.module-message .button-group .message-button { margin-right: 1px; }
@media (max-width: 767px) {
	.module-message .button-group { flex-direction: column; }
	.module-message .button-group .message-button { width: 100%; margin-right: 0; margin-bottom: 4px; }
}

.module-message #sendForm { position: relative; }

.module-message #sendForm .error-alert { background-color: #fff1f1; border: 1px dotted #CC0000; padding: 12px; }
.module-message #sendForm .info-alert { background-color: #fff7dd; border: 1px dotted #eeca4d; padding: 12px; }

/*.module-message #sendForm .subtitle { font-size: 106%; font-weight: 400; padding-top: 12px; padding-bottom: 8px; }*/

.module-message #sendForm label { display: block; font-size: 100%; font-weight: inherit; color: #606778; margin-bottom: 4px; }
.module-message #sendForm label.error,
.module-message #sendForm label.error-label { font-size: 88%; color: #CC0000; }
.module-message #sendForm label > span { color: #CC0000; }

.module-message #sendForm .field { margin-bottom: 8px; }
.module-message #sendForm .field input[type="radio"],
.module-message #sendForm .field input[type="checkbox"] { display: none; }
.module-message #sendForm .field input[type="radio"] + label,
.module-message #sendForm .field input[type="checkbox"] + label { display: flex; align-items: center; cursor: pointer; line-height: 1.1; margin: 0 16px 4px 0; font-weight: 300; }
.module-message #sendForm .field input[type="radio"] + label:before,
.module-message #sendForm .field input[type="checkbox"] + label:before { display: block; content: ""; border: 3px solid #fff; box-shadow: 0 0 0 2px #9d9d9d; border-radius: 50%; cursor: pointer; width: 14px; height: 14px; margin: 0 10px 0 2px; }
.module-message #sendForm .field input[type="checkbox"] + label:before { border-radius: 2px; }
.module-message #sendForm .field input[type="radio"] + label:hover:before,
.module-message #sendForm .field input[type="checkbox"] + label:hover:before { background: #9d9d9d; }
.module-message #sendForm .field input[type="radio"]:checked + label:before,
.module-message #sendForm .field input[type="checkbox"]:checked + label:before { background: #656565; box-shadow: 0 0 0 2px #656565; }

.module-message #sendForm .field input[type="text"],
.module-message #sendForm .field input[type="email"],
.module-message #sendForm .field input[type="password"],
.module-message #sendForm .field textarea,
.module-message #sendForm .field select { width: 100%; max-width: 600px; background-color: #fff; border: 1px solid #b5b5b5; padding: 5px; font-weight: 300; outline: none !important; }
.module-message #sendForm .field textarea { height: 160px; min-height: 160px; max-height: 600px; resize: vertical; }
.module-message #sendForm .field select > option { font-weight: inherit; }
.module-message #sendForm .field textarea:not(:disabled):hover,
.module-message #sendForm .field textarea:not(:disabled):focus,
.module-message #sendForm .field select:hover,
.module-message #sendForm .field select:focus,
.module-message #sendForm .field input[type="email"]:not(:disabled):hover,
.module-message #sendForm .field input[type="email"]:not(:disabled):focus,
.module-message #sendForm .field input[type="password"]:not(:disabled):hover,
.module-message #sendForm .field input[type="password"]:not(:disabled):focus,
.module-message #sendForm .field input[type="text"]:not(:disabled):hover,
.module-message #sendForm .field input[type="text"]:not(:disabled):focus { border-color: #28dcb4; }
.module-message #sendForm .field input.error,
.module-message #sendForm .field textarea.error { border-color: #CC0000 !important; }
.module-message #sendForm .field input.small { max-width: 300px; font-size: 100%; }

.module-message #sendForm .message-button:last-of-type { margin-bottom: 0; }


/* Recipient */
.module-message #sendForm .recipient { display: none; }
.module-message #sendForm label#recipient-error { display: none; }

/* Files */
.module-message #sendForm .field.files { margin-bottom: 22px; }
.module-message #sendForm .file-upload {
	position: relative;
	overflow: hidden;
	width: 240px;
	max-width: 100%;
	height: 40px;
	background-color: #9d9d9d;
    padding: 0;
	text-align: center;
}
.module-message #sendForm .file-upload:hover { box-shadow: inset 0 0 0 100px RGBa(255,255,255,0.1); }
.module-message #sendForm .file-upload input[type="file"] { display: none; }
.module-message #sendForm .file-upload label {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.module-message #sendForm .file-upload label > .title { display: flex; height: 40px; color: #fff; align-items: center; justify-content: center; }
.module-message #sendForm .file-upload label > .title .icon { margin-right: 12px; }
.module-message #sendForm .file-name { display: none; }
.module-message #sendForm .file-name .file-name-block { display: flex; align-items: center; height: 40px; }
.module-message #sendForm .file-name .name { font-style: italic; }
.module-message #sendForm .file-name .delete { cursor: pointer; margin-left: 12px; }
.module-message #sendForm .file-name .delete svg { height: 20px; width: 20px; }
.module-message #sendForm .file-name .delete:hover path { fill: #CC0000; }

.module-message #sendForm label#filesize-error { display: none; }

.module-message #sendForm .after-textarea,
.module-message #sendForm .after-file { font-size: 80%; margin-top: 8px; }

/* Recaptcha */
.module-message #sendForm .field.recaptcha { margin: 16px 0; }
.module-message #sendForm label#recaptcha-error { display: none; }

/* kCaptcha */
.module-message #sendForm .field.kcaptcha { margin: 16px 0; }
.module-message #sendForm .kcaptcha-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.module-message #sendForm .kcaptcha-wrapper #kcaptcha {
	margin-right: 8px;
}

.message-items { margin: 16px 0;}
.message-items .item { padding: 10px 0; margin: 10px 0; }
.message-items .item span {  }
.message-items .item .date { margin: 0 10px 0 0; }
.message-items .item .name { font-weight: bold; }
.message-items .item .mlabel { margin: 7px 0 0; font-weight: bold; }
