body {
 font-family: opensans, sans-serif;
 margin: 0px auto;
 max-width: 50em;
 text-align: center;
 font-size: 16px;
 outline: none;
}

b, strong, th {
  font-weight: 600;
}

.header-icon {
  -webkit-mask-image: url(img/drop.png);
  background-color: #2979FF;
  width: 60px;
  height: 60px;
  -webkit-mask-size: 60px 60px;
}

.header {
  font-size: 28px;
  font-weight: 600;
}

.header a {
  text-decoration: none;
}

#browser-tip {
  font-weight: 600;
  font-style: italic;
}

a {
  color: inherit;
}

.subheader {
  font-size: 18px;
}

.subheader a {
  /*text-decoration: none;*/
}

.subheader a:hover {
  text-decoration: underline;
}

.narrower {
  max-width: 500px;
  margin: 0 auto;
}

.vertical-spacer-1 {
  height: 8px;
}
.vertical-spacer-2 {
  height: 16px;
}
.vertical-spacer-3 {
  height: 24px;
}

.btn {
  transition: all 300ms ease;
  padding: 8px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 40px;
  background-color: white;
  margin: 0px 16px;
  outline: none;
}

.btn-no-left-margin {
  margin-left: 0px;
}

.btn:hover {
  cursor: pointer;
  background-color: #eee;
}

.btn-inline {
  display: inline-block;
}

input, select {
  outline: none;
  height: 22px;
  padding: 8px 16px;
  margin: 0px 8px;
  border: 1px solid #ddd;
  border-radius: 40px;
  font-size: 16px;
}

select {
  height: 40px;
}

/* hide actual file input since we're showing a custom button */
/* older addin/encrypted mail attachment handling...
input[type="file"] {
  display: none;
}
*/

#status {
  line-height: 1.5em;
}

ol.sharing {
  text-align: left;
}

ol.sharing li {
  padding-left: 8px;
}

#file-id-input, #code {
  width: 350px;
  text-align: center;
}

#email {
  width: 200px;
}

.download-decrypted {
  margin-top: 18px;
}

.download-note {
  margin-top: 18px;
}

.hide {
  display: none;
}

#download_limit {
  width: 88px;
  text-align: right;
  padding-right: 8px;
}

.secure-message {
  text-align: left;
  border: 2px solid gold;
  border-radius: 6px;
  padding: 18px;
  background-color: lightgoldenrodyellow;
  margin: 0px auto 18px auto;
  max-width: 800px;
  overflow-x: auto;
}

.secure-message .download-decrypted .btn {
  margin-left: 0px;
}

.left-spacer {
  min-width: 100px;
}
.reply-jump-container {
  min-width: 100px;
  text-align: right;
}

.inky-message-headers {
  border-collapse: collapse;
  margin-bottom: 18px;
}

.inky-message-headers td {
  padding: 4px 4px 4px 0px;
  min-width: 100px;
  vertical-align: top;
}

.inky-message-header-name {
  font-weight: 600;
}

.message-footer {
  padding-bottom: 48px;
  max-width: 700px;
  margin: 0px auto;
  font-style: italic;
}

.marketing-footer {
  color: #2962FF;
  font-weight: 600;
  font-size: 18px;
}

.reply-form {
  text-align: left;
}

.reply-editor-container {
  position: relative;
  border: 2px solid #cccccc;
  border-radius: 6px;
  padding: 18px 18px 0px 18px;
  background-color: #e0e0e0;
  margin: 0px auto 18px auto;
  max-width: 800px;
  overflow-x: auto;
}

#reply-blocker {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.5);
  margin: auto;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  border-radius: 4px;
}

.reply-table {
  width: 100%;
}

.inky-message-headers.reply-table {
  margin-bottom: 0px;
}

#reply-editor {
  width: 100%;
  height: 200px;
  border: 1px solid #ccc;
  background-color: white;
}

.reply-editor-row {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.reply-attachments-row {

}

#reply-attachments {
  min-height: 56px;
}

.reply-table td.reply-all-cell {
  text-align: right;
  white-space: nowrap;
}

.reply-table td:first-child {
  width: 100px;
}

#reply-to-select {
  margin: 0px;
  height: 24px;
}

#reply-add-attachment {
  text-decoration: underline;
  cursor: pointer;
  line-height: 40px;
  margin-right: 16px;
  vertical-align: top;
}

.attachment-item {
  padding: 8px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 40px;
  background-color: white;
  margin: 0px 16px 16px 0px;
  outline: none;
  display: inline-block;
  max-width: 400px;
}

.attachment-inner {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}

.attachment-name {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;

  -webkit-box-flex: 1 0 0;      /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 1 0 0;         /* OLD - Firefox 19- */
  -webkit-flex: 1 0 0;          /* Chrome */
  -ms-flex: 1 0 0;              /* IE 10 */
  flex: 1 0 0;
}

.remove-attachment {
  transition: all 300ms ease;
  color: #999;
  margin-left: 16px;
}

.remove-attachment:hover {
  cursor: pointer;
  color: #000;
}

.centered {
  text-align: center;
}

#reply-send-button {
  font-weight: 600;
}

#reply-cancel-button {
  margin-left: 0;
}

/* overrides of alertify.css */
.alertify .alert>*, .alertify .dialog>* {
  border-radius: 4px;
}

.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button), .alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button) {
  border-radius: 40px;
  border: 1px solid #ddd;
}
