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

.hm-admin nav ul {
  list-style: none;
  margin: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  
  
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
}

.hm-admin nav ul li {
  text-decoration: none;
  display: block;
  padding: 1em 0;
  flex: 14%;
}

.hm-admin nav ul li.pagination {
  flex: 25%;
  text-align: center;
}

.hm-admin nav ul li input.nav {
  width: 100%;
}

.hm-admin article {
  margin: 1em;
}

.hm-admin .tablenav .tablenav-pages {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.hm-admin ul.collection {
  list-style: none;
  margin: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-content: stretch;

  -webkit-flex-flow: row wrap;
  justify-content: space-around;
}

.hm-admin ul.collection li {
  text-decoration: none;
  display: block;
  padding: 12px 7px;
  flex: 14%;
  
}

.hm-admin ul.collection li .site-title {
  width: 100%;
}

.hm-admin ul.collection li .no-photo {
  width: 100%;
  background-color: #dadada;
}

.hm-admin ul.collection li.selected {
  box-shadow: inset 0 0 0 3px #fff,inset 0 0 0 7px #0073aa;
}

.hm-admin ul.collection li.selected:before {
  content: '';
  background-color: #0073aa;
  box-shadow: 0 0 0 1px #fff,0 0 0 2px #0073aa;
  display: block;
  height: 15px;
  width: 15px;
  padding: 0;
  z-index: 10;
  float: right;
  margin-top: -8px;
  margin-right: -3px;
  outline: 0;
  /* Ugly hardcoded... fixme */
  background-image: url(../../../../../wp-includes/images/uploader-icons.png);
  background-repeat: no-repeat;
  background-position: -21px 0;
}

[data-simpletooltip] {
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
[data-simpletooltip][data-simpletooltip-setting~=help] {
  cursor: help;
  border-bottom: rgba(0, 0, 0, 0.4) 1px dotted;
}
[data-simpletooltip][data-simpletooltip-width]:after {
  width: 200px;
  left: calc(50% - $width / 2);
  content: attr(data-simpletooltip);
}
[data-simpletooltip]:before, [data-simpletooltip]:after {
  -webkit-transition: .2s;
  transition: .2s;
  opacity: 0;
  visibility: hidden;
  bottom: 100%;
  display: block;
  position: absolute;
}
[data-simpletooltip]:before {
  width: 0;
  height: 0;
  left: calc(50% - 6px / 2);
  border: 6px solid transparent;
  border-top-color: #000;
  border-top-color: rgba(51, 51, 51, 0.9);
  margin-bottom: 3px;
  content: "";
  z-index: 1001;
}
[data-simpletooltip]:after {
  width: 200px;
  padding: 10px;
  left: calc(50% - 200px / 2);
  margin-bottom: 15px;
  background: #000;
  background: rgba(51, 51, 51, 0.9);
  border-radius: 3px;
  text-align: center;
  color: #fff;
  content: attr(data-simpletooltip);
}
[data-simpletooltip]:hover:before, [data-simpletooltip]:hover:after {
  opacity: 1;
  visibility: visible;
}
[data-simpletooltip]:hover:before {
  margin-bottom: 0px;
}
[data-simpletooltip]:hover:after {
  margin-bottom: 12px;
}
