/******************************************************/
/* Handle styling for group toggling box in Boutiques */
/******************************************************/

.group-toggler {
  display: none;
}
.group-toggler + label {
  background-color: #fafafa;
  border: 1px solid #cacece;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
  padding: 0.55em;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  float: right;
  margin-right: 9pt;
}
.group-toggler + label:active, .group-toggler:checked + label:active {
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}
.group-toggler:checked + label {
  background-color: #0471b4;
  border: 1px solid #adb8c0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
  color: #99a1a7;
}
.group-toggler:checked + label:after {
  content: '\2714';
  font-size: 14px;
  position: absolute;
  top: 0px;
  left: 3px;
  color: #ffffff;
}

/******************************************************************/
/* Styling for modal preview popup for listing tasks in Boutiques */
/******************************************************************/

.preview-modal {
  display: block;
  position: fixed;
  z-index: 1;
  padding-top: 10%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.preview-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 2%;
  border: 1px solid #888;
  width: 80%;
  overflow: scroll;
}
.preview-modal-close {
  color: #aaaaaa;
  float: right;
  font-size: 2.7em;
  font-weight: bold;
}
.preview-modal-close:hover,
.preview-modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/******************************************/
/* Preview table styling within the modal */
/******************************************/

.preview-table-text {
  text-align: center;
}
.preview-th {
  color: #D5DDE5;
  background: #0471b4;
  vertical-align: middle;
  padding: 0.25em;
  border: 1px solid #0471b4;
  font-size: 12px;
}
tr.preview-tr:hover td.preview-table-text {
  background: #4E5066;
  color: #FFFFFF;
  border-top: 1px solid #22262e;
  border-bottom: 1px solid #22262e;
}
.preview-table-fill {
  background: white;
  border-radius: 3px;
  border-collapse: collapse;
  height: auto;
  margin: auto;
  padding: 0.3em;
  width: 95%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  animation: float 5s infinite;
  border-style: none;
  table-layout: fixed;
  word-wrap: break-word;
}
.preview-tr {
  border-top: 1px solid #C1C3D1;
  border-bottom: 1px solid #C1C3D1;
  color: #666B85;
  font-size: 16px;
  font-weight: normal;
  text-shadow: 0 1px 1px rgba(256, 256, 256, 0.1);
}
tr.preview-tr:hover td.preview-table-text {
  background: #4E5066;
  color: #FFFFFF;
  border-top: 1px solid #22262e;
  border-bottom: 1px solid #22262e;
}
tr.preview-tr:nth-child(odd) td.preview-table-text {
  background: #EBEBEB;
}
tr.preview-tr:nth-child(odd):hover td.preview-table-text {
  background: #4E5066;
}
table.preview-table-fill tr.preview-tr th.preview-th:nth-child(1) {
  width: 7em;
}
.static-preview-table tr.preview-tr td.preview-table-text:nth-child(1) {
  font-family: Verdana;
  font-weight: bold;
  ponter-events: none;
  color: #D5DDE5;
  background: #0471b4;
  vertical-align: middle;
  padding: 0.19em;
  border: 1px solid #0471b4;
  font-size: 12px;
  border-bottom-color: #dddddd;
}
.static-preview-table tr.preview-tr:last-child td.preview-table-text:nth-child(1) {
  border-bottom-color: #0471b4;
}

