﻿/* messages */
.messages-table {
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  float: left;
  display: flex;
  flex-direction: column;
}
.newmsg {
  background-color: var(--postform-color);
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-right-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-top-color: var(--postform-border);
  border-bottom-color: var(--postform-border);
  border-left-color: var(--postform-border);
  border-right-color: var(--postform-border);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  display: inline-block;
}
.newmsg table {
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
}
.messages-menu {
  width: 100%;
  padding-top: 5px;
  padding-bottom: 10px;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
  margin-bottom: 5px;
  margin-left: 0;
  margin-right: 0;
  float: left;
  display: block;
}
.m-messages .postform table {
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}
.messages-table thead {
  color: var(--messages-color-thead);
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  width: 100%;
  display: block;
}
.messages-table a {
  color: var(--primary-color);
}
.messages-table a:hover {
  color: var(--a);
}
.messages-table tbody tr > td:first-child {
  background-color: var(--messages-bg-checkbox);
  color: var(--primary-color);/* color text - without messages ! */
  flex-grow: 1;
}
.messages-table tbody tr > td:nth-child(2) {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  display: block;
  flex-grow: 1;
}
.messages-table tbody tr > td:nth-child(2) a {
  background-image: var(--messages-open-img);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-clip: border-box;
  background-origin: padding-box;
  background-position-x: 0;
  background-position-y: center;
  background-size: 18px auto;
  font-style: italic;
  line-height: 110%;
  width: 100%;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 35px;
  padding-right: 2px;
  overflow-x: hidden;
  overflow-y: hidden;
  display: block;
}
.messages-table tbody tr > td:nth-child(2) a.notread {
  background-image: var(--messages-closed-img);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-clip: border-box;
  background-origin: padding-box;
  background-position-x: 0;
  background-position-y: center;
  background-size: 18px auto;
  font-weight: 500;
  font-style: normal;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 35px;
  padding-right: 2px;
}
.messages-table tbody tr > td:nth-child(3) {
  width: auto;
  min-width: 90px;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 8px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 10px;
  margin-right: 40px;
  overflow-x: hidden;
  overflow-y: hidden;
  display: block;
}
.messages-table tbody tr > td:nth-child(4) {
  width: auto;
  min-width: 150px;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  display: block;
}
.messages-table tr {
  background-color: var(--messages-table-color);
  width: 100%;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-right-width: 1px;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-bottom-color: var(--messages-table-border-bottom);
  border-left-color: var(--messages-table-border);
  border-right-color: var(--messages-table-border);
  display: flex;
}
.messages-table tbody tr {
  background-color: var(--messages-table-color-tr);
}
.messages-table td {
  color: var(--primary-color);
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  margin-top: auto;
  margin-right: auto;
  margin-bottom: auto;
  margin-left: auto;
}
.messages-table th {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
}
.messages-table thead tr {
  background-color: var(--messages-bg-checkbox);
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: var(--messages-table-border-bottom);
}
.messages-table thead tr > td:first-child {
}
.messages-table thead tr > th:nth-child(2) {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  display: block;
  flex-grow: 1;
}
.messages-table thead tr > th:nth-child(3) {
  width: auto;
  min-width: 110px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 10px;
  margin-right: 40px;
  overflow-x: hidden;
  overflow-y: hidden;
  display: block;
}
.messages-table thead tr > th:nth-child(4) {
  width: auto;
  min-width: 150px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  display: block;
}
.messages-table tfoot td {
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
}
.messages-table thead td {
  width: auto;
}
@media only screen and (max-width: 750px) {
  .newmsg table td {
    text-align: left;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    float: left;
    display: block;
  }
  .newmsg table th {
    text-align: left;
    width: 100%;
    padding-top: 0;
    padding-bottom: 5px;
    padding-left: 0;
    padding-right: 0;
    float: left;
    display: block;
  }
}
@media only screen and (max-width: 660px) {
  .messages-table {
    background-color: transparent;
    text-align: left;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    border-top-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-right-style: none;
    border-top-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    border-right-color: currentcolor;
    float: left;
    display: block;
  }
  .messages-table thead {
    display: block;
  }
  .messages-table thead tr {
    background-color: var(--messages-bg-checkbox);
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    margin-bottom: 5px;
    margin-left: 0;
    margin-right: 0;
    display: flex;
  }
  .messages-table tbody tr > td:first-child {
    background-color: var(--messages-bg-checkbox);
    text-align: left;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 0;
    margin-bottom: 5px;
    margin-left: 0;
    margin-right: 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--messages-table-border);
    float: left;
    display: block;
  }
  .messages-table thead tr > td:first-child {
    display: flex;
  }
  .messages-table thead tr > td:first-child input[type="checkbox"] {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
  }
  .messages-table thead tr > th:nth-child(2) {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    display: block;
    flex-grow: 1;
  }
  .messages-table thead tr > th:nth-child(3),
  .messages-table thead tr > th:nth-child(4) {
    display: none;
  }
  .messages-table input[type="checkbox"] {
  }
  .messages-table tbody {
    text-align: left;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    float: left;
    display: block;
  }
  .messages-table tr {
    background-color: var(--messages-table-color);
    text-align: left;
    width: 100%;
    padding-top: 0;
    padding-bottom: 10px;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    margin-bottom: 5px;
    margin-left: 0;
    margin-right: 0;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-style: solid;
    border-top-color: var(--messages-table-border);
    border-bottom-color: var(--messages-table-border-bottom);
    border-left-color: var(--messages-table-border);
    border-right-color: var(--messages-table-border);
    float: left;
    display: block;
  }
  .messages-table td {
    text-align: left;
    font-size: 13px;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    border-top-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-right-style: none;
    border-top-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    border-right-color: currentcolor;
    float: left;
    display: block;
  }
  .messages-table tbody tr > td:nth-child(2) a {
    font-size: 18px;
  }
  .messages-table tbody tr > td:nth-child(3) {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .messages-table tbody tr > td:nth-child(4) {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .messages-table td small {
    text-align: left;
    font-size: 13px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    border-top-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-right-style: none;
    border-top-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    border-right-color: currentcolor;
  }
  .messages-table tfoot,
  .messages-table tfoot tr,
  .messages-table tfoot td {
    background-color: transparent;
    text-align: left;
    font-size: 13px;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    border-top-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-right-style: none;
    border-top-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    border-right-color: currentcolor;
    float: left;
    display: block;
  }
}
@media only screen and (max-width: 470px) {
  .m-messages .button,
  .m-messages .button:hover,
  .m-messages .button:active,
  .m-messages .button:focus {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
  }
}
/* messages - end */
