.grid {
  display: block;
  width: 100%;
  box-sizing: border-box; }
  .grid::after {
    content: "";
    display: table;
    clear: both; }
  .grid.triple .column {
    width: 33%;
    float: left; }
    .grid.triple .column.half-width {
      width: 50%; }

.row {
  width: 100%;
  display: block; }
  .row::after {
    content: "";
    display: table;
    clear: both; }
  .row.image-row {
    position: relative;
    height: 275px;
    overflow: hidden;
    border-bottom: 1px solid #EFEFEF; }
    .row.image-row img {
      display: block;
      max-width: 100%;
      height: 100%;
      margin-left: auto;
      margin-right: auto; }

.row-container:not(:last-child) {
  margin-bottom: 15px; }

input.full-width {
  width: 100%; }

.pull-right {
  float: right !important; }
  .pull-right.has-margin {
    margin-right: 1em; }

.border-right {
  padding: 8px;
  box-sizing: border-box;
  border-right: 1px solid #EFEFEF; }
  .border-right:last-child {
    border-right: none; }

.border-bottom {
  box-sizing: border-box; }
  .border-bottom .postbox {
    margin-bottom: 10px; }
  .border-bottom:last-child {
    border-bottom: none; }

button.page-title-action.page-title-action-sm {
  padding: 2px 3px;
  color: #a00;
  font-size: 11px;
  transition: all 0.15s; }
  button.page-title-action.page-title-action-sm:hover {
    color: #FFF;
    background: #a00;
    border-color: #dd0000; }

/**
* Credit to @dimbslmh for the BS3 Modal vertical alignment
* @see https://stackoverflow.com/a/21323821/3950126
*/
.modal {
  text-align: center; 
  padding: 0 !important; } 

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
  /* Adjusts for spacing */ }

.modal-dialog {
  display: inline-block;
  position: absolute;
  top: 5%;
  left: 5%;
  bottom: 5%;
  right: 5%;
  min-width: 50%;
  text-align: left;
  vertical-align: middle; }

@media screen and (max-width: 768px) {
  .modal-dialog {
    margin: 0;
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
  }
}

#content-modal {
  z-index: 100000; }

.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  margin-bottom: 0; }

.modal-content {
  height: 100%; }

.modal-body {
  height: 100%; }
  .modal-body.has-frame {
    padding: 0; }
  .modal-body .modal-slow-loading-alert {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 6px;
    border-left: 2px solid orange;
    border-top: 1px solid #EFEFEF;
    border-bottom: 1px solid #EFEFEF;
    border-right: 1px solid #EFEFEF; }

.spm-sidebar-widget {
  cursor: pointer; }

.popup-modal-close {
  background: transparent;
  padding: 6px;
  margin: 0;
  float: right;
  color: #777;
  transition: all 0.25s ease;
}

.popup-modal-close:hover {
  background: #777;
  color: #FFF;
}