.module-letters *,
.module-letters *:before, 
.module-letters *:after { box-sizing: border-box; }

.module-letters .letter-button {
	position: relative;
	display: block;
	background-color: #9d9d9d;
	color: #fff;
	padding: 8px 16px;
	text-decoration: none !important;
	text-align: center;
	cursor: pointer;
	margin-bottom: 8px;
	vertical-align: middle;
}
.module-letters .letter-button.small { max-width: 292px; }
.module-letters .letter-button.active { background-color: #8d8d8d; }
.module-letters .letter-button:hover { box-shadow: inset 0 0 0 100px RGBa(255,255,255,0.1); }

.module-letters .button-group { display: flex; margin-bottom: 12px; }
.module-letters .button-group .letter-button { margin-right: 1px; }
@media (max-width: 767px) {
	.module-letters .button-group { display: block; }
	.module-letters .button-group .letter-button { margin-right: 0; margin-bottom: 1px; }
}

.module-letters #sendForm { position: relative; }

.module-letters #sendForm .error-alert { background-color: #fff1f1; border: 1px dotted #CC0000; padding: 12px; }
.module-letters #sendForm .info-alert { background-color: #fff7dd; border: 1px dotted #eeca4d; padding: 12px; }

.module-letters #sendForm .subtitle { font-size: 106%; font-weight: 400; padding-top: 12px; padding-bottom: 8px; }

.module-letters #sendForm label { display: block; font-size: 100%; font-weight: inherit; color: #606778; margin-bottom: 4px; }
.module-letters #sendForm label.error,
.module-letters #sendForm label.error-label { font-size: 88%; color: #CC0000; }
.module-letters #sendForm label > span { color: #CC0000; }

.module-letters #sendForm .field { margin-bottom: 8px; }
.module-letters #sendForm .field input[type="radio"],
.module-letters #sendForm .field input[type="checkbox"] { display: none; }
.module-letters #sendForm .field input[type="radio"] + label,
.module-letters #sendForm .field input[type="checkbox"] + label { display: inline-block; cursor: pointer; line-height: 20px; vertical-align: top; margin: 0 16px 4px 0; font-weight: 300; }
.module-letters #sendForm .field input[type="radio"] + label:before,
.module-letters #sendForm .field input[type="checkbox"] + label:before { display: inline-block; content: ""; border: 3px solid #fff; box-shadow: 0 0 0 2px #9d9d9d; border-radius: 50%; cursor: pointer; width: 14px; height: 14px; margin: 0 8px 0 2px; }
.module-letters #sendForm .field input[type="checkbox"] + label:before { border-radius: 2px; }
.module-letters #sendForm .field input[type="radio"] + label:hover:before,
.module-letters #sendForm .field input[type="checkbox"] + label:hover:before { background: #9d9d9d; }
.module-letters #sendForm .field input[type="radio"]:checked + label:before,
.module-letters #sendForm .field input[type="checkbox"]:checked + label:before { background: #656565; box-shadow: 0 0 0 2px #656565; }

.module-letters #sendForm .field input[type="text"],
.module-letters #sendForm .field input[type="email"],
.module-letters #sendForm .field input[type="password"],
.module-letters #sendForm .field textarea,
.module-letters #sendForm .field select { width: 100%; max-width: 600px; background-color: #fff; border: 1px solid #b5b5b5; padding: 5px; font-weight: 300; outline: none !important; }
.module-letters #sendForm .field textarea { height: 160px; min-height: 160px; max-height: 600px; resize: vertical; }
.module-letters #sendForm .field select > option { font-weight: inherit; }
.module-letters #sendForm .field textarea:not(:disabled):hover,
.module-letters #sendForm .field textarea:not(:disabled):focus,
.module-letters #sendForm .field select:hover,
.module-letters #sendForm .field select:focus,
.module-letters #sendForm .field input[type="email"]:not(:disabled):hover,
.module-letters #sendForm .field input[type="email"]:not(:disabled):focus,
.module-letters #sendForm .field input[type="password"]:not(:disabled):hover,
.module-letters #sendForm .field input[type="password"]:not(:disabled):focus,
.module-letters #sendForm .field input[type="text"]:not(:disabled):hover,
.module-letters #sendForm .field input[type="text"]:not(:disabled):focus { border-color: #28dcb4; }
.module-letters #sendForm .field input.error,
.module-letters #sendForm .field textarea.error { border-color: #CC0000 !important; }
.module-letters #sendForm .field input.small { max-width: 300px; font-size: 100%; }

.module-letters #sendForm #coAuthors { display: flex; margin: 0 -8px; flex-wrap: wrap; }
.module-letters #sendForm #coAuthors .coAuthor { position: relative; padding: 10px 16px 16px; border: 1px solid RGBa(0,0,0,0.1); background-color: #fff; width: 292px; max-width: calc(50% - 16px); margin: 8px; }
.module-letters #sendForm #coAuthors .coAuthor .number { font-weight: 400; font-size: 106%; margin-bottom: 8px; }
.module-letters #sendForm #coAuthors .coAuthor .delete { position: absolute; right: 16px; top: 10px; cursor: pointer; }
.module-letters #sendForm #coAuthors .coAuthor .delete svg { height: 24px; width: 24px; }
.module-letters #sendForm #coAuthors .coAuthor .delete:hover path { fill: #CC0000; }
@media (max-width: 767px) {
	.module-letters #sendForm #coAuthors .coAuthor { width: 100%; max-width: none }
}

.module-letters #sendForm .letter-button:last-of-type { margin-bottom: 0; }


/* Recipient */
.module-letters #sendForm .recipient { display: none; }
.module-letters #sendForm label#recipient-error { display: none; }

/* Files */
.module-letters #sendForm .field.files { margin-bottom: 22px; }
.module-letters #sendForm .file-upload {
	position: relative;
	overflow: hidden;
	width: 240px;
	max-width: 100%;
	height: 40px;
	background-color: #9d9d9d;
    padding: 0;
	text-align: center;
}
.module-letters #sendForm .file-upload:hover { box-shadow: inset 0 0 0 100px RGBa(255,255,255,0.1); }
.module-letters #sendForm .file-upload input[type="file"] { display: none; }
.module-letters #sendForm .file-upload label {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.module-letters #sendForm .file-upload label > .title { display: flex; height: 40px; color: #fff; align-items: center; justify-content: center; }
.module-letters #sendForm .file-upload label > .title .icon { margin-right: 12px; }
.module-letters #sendForm .file-name { display: none; }
.module-letters #sendForm .file-name .file-name-block { display: flex; align-items: center; height: 40px; }
.module-letters #sendForm .file-name .name { font-style: italic; }
.module-letters #sendForm .file-name .delete { cursor: pointer; margin-left: 12px; }
.module-letters #sendForm .file-name .delete svg { height: 20px; width: 20px; }
.module-letters #sendForm .file-name .delete:hover path { fill: #CC0000; }


/* Password */
.module-letters #sendForm .field.password { display: none; }
.module-letters #sendForm .field.password input[type="password"] { max-width: 300px; }
.module-letters #sendForm .field.password [name="password"] { margin-bottom: 8px; }


/* Recaptcha */
.module-letters #sendForm .field.recaptcha { margin: 16px 0; }
.module-letters #sendForm label#recaptcha-error { display: none; }


.module-letters .m-letter { display: grid; grid-template-columns: 33% auto; border-bottom: 1px dotted #9d9d9d; padding: 16px 8px; }
.module-letters .m-letter .info { font-weight: 400; }
.module-letters .m-letter:last-of-type { border-bottom: none; }
.module-letters .m-letter:hover { background-color: #f1f1f1; }
@media (max-width: 767px) {
	.module-letters .m-letter { grid-template-columns: auto auto; }
}

.answers-container { display: flex; justify-content: space-between; }
.answers-container .answers { flex: 1; }

.answers .date { font-weight: 700; margin-bottom: 8px; }
.answers-list {}
.answers-list .answer { display: block; padding: 8px 0; border-bottom: 1px dotted #ccc; }
.answers-list .answer:last-of-type { border: none; }

.answers-calendar { text-align: center; padding-left: 24px; margin-bottom: 16px; }
.answers-calendar .title { margin-bottom: 8px; }
.answers-calendar .pickmeup { background-color: #fff; border: 1px solid #ccc; font-size: 14px; }
.answers-calendar .pickmeup .pmu-instance .pmu-button { color: #333; }
.answers-calendar .pickmeup .pmu-instance .pmu-button:hover { color: #333; background-color: #e0e0e0; }
.answers-calendar .pickmeup .pmu-instance .pmu-not-in-month { color: #999; }
.answers-calendar .pickmeup .pmu-instance .pmu-today { color: #333; background-color: #e0e0e0; }
.answers-calendar .pickmeup .pmu-instance .pmu-selected { background-color: #8a8a8a; color: #fff; }

@media (max-width: 767px) {
	.answers-container { flex-direction: column-reverse; flex-wrap: }
	.answers-calendar { padding-left: 0; }
}