/**
 * FMPress Connect
 */

:focus {
  outline: none;
}

.clearfix {
  clear: both;
}

a:not([class]) {
  text-decoration: none;
}

.content a:not([class]):hover {
  text-decoration: underline;
}

.fwc-header-ui {
  justify-content: space-between;
}

.fwc-header-ui:blank,
.fwc-header-ui:empty {
  margin: 0;
}

.fwc-container-empty {
  height: 266.66px;
  background-color: #efefef;
}

.fwc-container-empty-message {
  position: absolute;
  color: #999;
}

.fc-record-controls {
  margin: 0;
}

.fc-submit-button {
  float: right;
}

.thumbnail > img.fwc-container-empty {
  height: 466.66px;
  background-color: #efefef;
}

.fwc-header-field {
  position: relative;
  cursor: pointer;
}

.fwc-header-portal {
  position: relative;
  cursor: default;
}

.fwc-header-sort-field a {
  font-weight: bold;
}

.fwc-header-field a {
  position: relative;
  display: block;
  padding: 1em;
}

.fwc-header-sort-field-ascend a:after{
  content: "";
  position: absolute;
  top: calc( 100% - 26px );
  right: 3px;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #337ab7 transparent transparent transparent;
  border-width: 8px 5px 0 5px;
}

.fwc-header-sort-field-descend a:after{
  content: "";
  position: absolute;
  top: calc( 100% - 26px );
  right: 3px;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #337ab7 transparent transparent transparent;
  border-width: 8px 5px 0 5px;
  transform: rotate(180deg);
}

.fwc-link-icon:hover {
  text-decoration: none;
}

/* Gallery widget */

.fmp-gallery-flex {
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
    row-gap: 5px;
}

.fmp-gallery a:hover {
    opacity: .75
}

.fc-gallery-thumbnail {
    object-fit: cover;
    width: 150px;
    height: 150px;
    border: 1px solid #efefef;
}
