@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?qo3cg');
    src:  url('fonts/icomoon.eot?qo3cg#iefix') format('embedded-opentype'),
      url('fonts/icomoon.ttf?qo3cg') format('truetype'),
      url('fonts/icomoon.woff?qo3cg') format('woff'),
      url('fonts/icomoon.svg?qo3cg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }

.easypromos_head {
  font-size: 30px !important;
}
.easypromos_subhead {
  margin-left: 25px;
}
.easypromos_title {
  font-size: 20px !important;
}
.easyp_margin_top {
  margin-top: 50px;
}
.easypromos_shortcode {
  width: 98.5%;
  margin: auto;
}

.mce-btn[aria-label="Easypromos"] i:before, a[href="admin.php?page=easypromos/admin/view.php"] > div.dashicons-before::before {
    content: "\ea579";
    font-family: icomoon;
    font-size: 18px;
    color: #4367AE;
  }

.mce-foot > .mce-abs-layout > div[role="button"] > button[role="presentation"]:first-child {
  left: 140px !important;
  width: 75px !important;
}

.easyp_form_group {
  width: 100%;
}
.easyp_form_group > label {
  font-size: 1.25em;
  font-weight: 600;
}
.easyp_form_group > input, .easyp_form_group > select, #easyp-shortcode {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display:inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  min-height: 43px;
}
#easyp-shortcode {
  width: 95%;
  height: 50px;
  resize: none;
  margin-left: 15px;
}
.easyp_row {
  display: flex;
  width: 100%;
}
.easyp_col {
  width: 49%;
  margin: 15px;
}
#easyp_button_generate {
  background-color:  #4367AE;
  border: none;
  color: white;
  padding: 16px 32px;
  margin: 4px 2px;
  margin-left: 15px;
}

#easyp-errorconsole {
  margin: 20px;
  color: red;
  font-size: 1.75em;
}

.easyp_shortcode_list {
  width: 96%;
  margin: auto;
  border-collapse: collapse;
}

.easyp_shortcode_list td, .easyp_shortcode_list th {
  border: 1px solid #ddd;
  padding: 8px;
}

.easyp_shortcode_list tr:nth-child(2n) {
  background-color: white;
}
.easyp_shortcode_list th {
  padding: 5px;
  text-align: justify;
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #4367AE;
  color: white;
}

.easyp_shortcode_list tr:hover {
  background: #B9C6E1;
}

.easyp_shortcode_list th:nth-child(2), .easyp_shortcode_list th:nth-child(3) {
  cursor: pointer;
}

.easyp_order_desc {
  border-color: white transparent;
  border-style: solid;
  border-width: 7px 7px 0 7px;
  height: 0px;
  width: 0px;
  margin: 5px;
  position: absolute;
}

.easyp_order_asc {
  border-color: white transparent;
  border-style: solid;
  border-width: 0 7px 7px 7px;
  height: 0px;
  width: 0px;
  margin: 5px;
  position: absolute;
}

.easyp_center {
  width: 95.85%;
  margin:auto;
  text-align: center;
  padding-top: 25px;
}
.easyp_controls {
  width: 95.85%;
  margin:auto;
  text-align: right;
}

ul.easyp_pagination {
  margin:0;
  padding:0;
  display:flex;
  justify-content: center;
  align-items: center;
}
ul.easyp_pagination li a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
}

ul.easyp_pagination li a.active {
  background-color: #4367AE;
  color:white;
  border: 1px solid #4367AE;
}

ul.easyp_pagination li a:hover:not(.active) {
  background-color: #4367AE;
  color: white;
  transition: 1s;
}

.easyp_text {
  position: relative;
}

.easyp_controls_shortcode {
  position: absolute;
  top: 5px;
  right: 20px;
  display:none;
}
.easyp_button_copy {
  border: none;
  background: rgba(0,0,0,0);
}

.easyp_button_copy:hover {
  content: "Copy shortcode";
  position: relative;
  color: white;
  background: #4367AE;
  top: -2.5px;
  height: 30px;
  border-radius: 30px;
  transition: 1s;
}

.easyp_text:hover .easyp_controls_shortcode {
  display: block;
}

.easyp_filters {
  display: none;
  transition: 2s;
}

.easyp-show {
  display: block;
  transition: 2s;
}

.easyp_filter_clicked {
  background: #4367AE;
  color: white;
  transition: 0.5s;
  border: 1px solid #4367AE;
}

.easyp_transition {
  transition: 1s;
}

#easyp_is_popup {
  display: none;
}

.easyp_info_icon {
  display:inline-block;
}

/* START TOOLTIP STYLES */
.easyp_tooltip[tooltip] {
  position: relative;
}

/* Applies to all tooltips */
.easyp_tooltip[tooltip]::before,
.easyp_tooltip[tooltip]::after {
  text-transform: none; 
  font-size: 1em; 
  line-height: 1.2;
  user-select: none;
  pointer-events: none;
  position: absolute;
  display: none;
  opacity: 0;
}
.easyp_tooltip[tooltip]::before {
  content: '';
  border: 5px solid transparent;
  z-index: 1001;
}
.easyp_tooltip[tooltip]::after {
  content: attr(tooltip);
  font-family: Helvetica, sans-serif;
  text-align: left;
  min-width: 3em;
  max-width: 25em;
  white-space: pre-wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1ch 1.5ch;
  border-radius: .3ch;
  box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
  background: #333;
  color: #fff;
  z-index: 1000;
}
.easyp_tooltip[tooltip][type^="info"]::after {
  min-width: 200px;
}
/* Make the tooltips respond to hover */
.easyp_tooltip[tooltip]:hover::before,
.easyp_tooltip[tooltip]:hover::after {
  display: block;
}

/* don't show empty tooltips */
.easyp_tooltip[tooltip='']::before,
.easyp_tooltip[tooltip='']::after {
  display: none !important;
}

/* FLOW: UP */
.easyp_tooltip[tooltip]:not([flow])::before,
.easyp_tooltip[tooltip][flow^="up"]::before {
  bottom: 100%;
  border-bottom-width: 0;
  border-top-color: #333;
}
.easyp_tooltip[tooltip]:not([flow])::after,
.easyp_tooltip[tooltip][flow^="up"]::after {
  bottom: calc(100% + 5px);
}
.easyp_tooltip[tooltip]:not([flow])::before,
.easyp_tooltip[tooltip]:not([flow])::after{
  left: 50%;
  transform: translate(-50%, -.5em);
}
.easyp_tooltip[tooltip][type^="info"]::before,
.easyp_tooltip[tooltip][type^="info"]::after {
  left: 150%;
  transform: translate(-50%, -.5em);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
  to {
    opacity: .9;
    transform: translate(-50%, 0);
  }
}

@keyframes tooltips-horz {
  to {
    opacity: .9;
    transform: translate(0, -50%);
  }
}

/* FX All The Things */ 
.easyp_tooltip[tooltip]:not([flow]):hover::before,
.easyp_tooltip[tooltip]:not([flow]):hover::after {
  animation: tooltips-vert 300ms ease-out forwards;
}