/* Essential Grid styles
----------------------------------------------------------------- */
.esg-entry-cover .eec > div {
  margin-right: 0 !important;
}

.esg-entry-cover .eec > div[class*=-element-1-a] {
  margin-left: 10px !important;
}

.esg-starring {
  vertical-align: top;
}

.esg-starring .star-rating, .esg-starring-page .star-rating {
  width: 6em;
}

.flat-light .esg-filters .esg-sortbutton-order,
.flat-light .esg-filters .esg-cartbutton-order {
  line-height: 36px;
  margin: 0;
}

.flat-light .esg-filters .esg-sortbutton {
  padding-right: 0;
}

.esgbox-overlay {
  z-index: 228010 !important;
}

.esgbox-opened {
  z-index: 228030 !important;
}

.wp-widget-ess-grid-widget ul > li:before {
  display: none !important;
}

/* ESG box */
.esgbox-container {
  z-index: 100001 !important;
}

.esgbox-container .esgbox-toolbar {
  top: 5px;
  right: 5px;
}

.esgbox-toolbar .esgbox-button {
  border-radius: 50%;
  -webkit-transition: color 0.3s ease, background-color 0.3s ease;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.esgbox-toolbar .esgbox-button + .esgbox-button {
  margin-left: 3px;
}

.esgbox-stage .esgbox-share {
  border-radius: 0;
}

.esgbox-stage .esgbox-share .esgbox-close-small:after {
  -webkit-transition: color 0.3s ease-out;
  transition: color 0.3s ease-out;
}

.esgbox-stage .esgbox-share .esgbox-close-small:focus:after {
  outline: none;
}

.esgbox-stage .esgbox-share .esgbox-share__button {
  border-radius: 40px;
}

.esgbox-button--close {
  padding: 0 !important;
}

.esgbox-button--close svg {
  display: none !important;
}

.esgbox-button--close:before {
  font-size: 15px;
  font-family: "fontello";
  content: "\e9da";
}

.esgbox-close-small:after {
  border: none;
}
.esgbox-close-small:hover:after {
  background-color: transparent !important;
  border: none;
}

.esgbox-share a {
  color: #ffffff !important;
}

.esg-container ul li:before {
  display: none !important;
}

.esgbox-container .esgbox-toolbar .esgbox-button--fullscreen {
  display: none;
}
.esgbox-container.esgbox-can-drag .esgbox-toolbar .esgbox-button--thumbs + .esgbox-button--share {
  pointer-events: none;
}

/* Custom Skin */
.eg-winger-skin-element-0 i.eg-icon-plus:before {
  font-family: "fontello";
  content: "\e9d4";
}