/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/** Mail Archivization Results Table **/

.rwd-table {
  margin: auto;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.rwd-table tr:first-child {
  border-top: none;
  background: #3ca67b;
  color: #fff;
}

.rwd-table tr {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #e1f4ed;
}

.rwd-table tr:nth-child(odd):not(:first-child) {
  background-color: #f0faf6;
}

.rwd-table th {
  display: none;
}

.rwd-table td {
  display: block;
}

.rwd-table td:first-child {
  margin-top: .5em;
}

.rwd-table td:last-child {
  margin-bottom: .5em;
}

.rwd-table td:before {
  content: attr(data-th) ": ";
  font-weight: bold;
  width: 120px;
  display: inline-block;
  color: #000;
}

.rwd-table th,
.rwd-table td {
  text-align: left;
}

.rwd-table {
  color: #333;
  border-radius: .4em;
  overflow: hidden;
}

.rwd-table tr {
  border-color: #bfbfbf;
}

.rwd-table th,
.rwd-table td {
  padding: .5em 1em;
}
@media screen and (max-width: 601px) {
  .rwd-table tr:nth-child(2) {
    border-top: none;
  }
}
@media screen and (min-width: 600px) {
  .rwd-table tr:hover:not(:first-child) {
    background-color: #d2efe3;
  }
  .rwd-table td:before {
    display: none;
  }
  .rwd-table th,
  .rwd-table td {
    display: table-cell;
    padding: .25em .5em;
  }
  .rwd-table th:first-child,
  .rwd-table td:first-child {
    padding-left: 0;
  }
  .rwd-table th:last-child,
  .rwd-table td:last-child {
    padding-right: 0;
  }
  .rwd-table th,
  .rwd-table td {
    padding: 1em !important;
  }
}


/* Mail Archivization filters */

.mail-archivization-filters{
    width:100%;
    float:left;
    margin-bottom:50px;
}

.mail-archivization-filters input, .mail-archivization-filters select{
    padding:10px 15px;
    border:2px solid #3ca67b !important;
    width:207px;;
    border-radius:2px;
    margin-bottom:0;
    color:#000;
}

.mail-archivization-filters input#keyword_filter{
    width:auto !important;
    margin-bottom:0 !important;
}

.mail-archivization-filters label{
    display:flex;
    justify-content:flex-start;
    align-items:flex-start;
    flex-direction:column;
    width:100%;
    float:left;
}

/** Single Mail Template **/

.single-archivized-mail-header{
    color:#000;
    width:100%;
    display:flex;
    padding:10px;
    justify-content:space-between;
    flex-direction:row;
    align-items:center;    
    border-bottom:2px solid #3ca67b;
}

.single-archivized-mail-subheader{
    color:#000;
    width:100%;
    display:flex;
    padding:10px;
    justify-content:flex-start;
    flex-direction:row;
    align-items:center;    
}

.single-archivized-mail-body{
    margin-top:10px;
    padding:10px;
}

#mail-archibization-filter-form{
    display:flex; 
    flex-direction:column;
    color:#000;
}

.fields-filters-container{
    display:flex;
    justify-content:flex-start;;
    align-items:center;
    flex-direction:row;
}

input#filter_messages{
    background:#000;
    text-transform:uppercase;
    padding:10px;
    padding-left:15px;
    padding-right:15px;
    color:#fff;
    font-weight:800;
    border:none !important;
    font-size:18px;
}

input#filter_messages:hover{
   background:#3ca67b; 
}

table td.mail_table_actions{
    display:flex;
    flex-direction:column;
}

.mail_table_actions div{
    margin-top:5px;
}

.mail_table_actions a, .mail_table_actions input{
    text-decoration:none;
    text-transform:uppercase;
    background:#000;
    color:#fff;
    padding:8px;
    font-size:12px;
    margin-top:10px;
    border:none !important;
}

.mail_table_actions a:hover, .mail_table_actions input:hover{
    background:#3ca67b;
    color:#fff;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #000;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #000;
}

.star{
    font-size:18px;
    color:#c2ab00;
}

.mail-message-box{
    width:100%;
    display:flex;
    flex-direction:row;
    margin-bottom:40px;
    border:2px solid #3ca67b;
}

.mail-message-box-header, .mail-message-box-button{
    width:50%;    
    height:50px;    
}

.mail-message-box-header a, .mail-message-box-button a{
    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:700;
}

.mail-message-box-header a:hover, .mail-message-box-button a:hover{
    color:#fff;
    background:#3ca67b;
}

.mail-message-active{
    color:#fff;
    background:#3ca67b;
}
input.submitbuttondeletemultiple{
    background: #000;
    text-transform: uppercase;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
    color: #fff;
    font-weight: 800;
    border: none !important;
    font-size: 18px;
    margin-bottom:20px;
}

footer a:visited{
    color:#fff;
}