@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_title {
  font-size: 20px !important;
}
.ep_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_worpdress/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;
}

.ep_form_group {
  width: 100%;
}
.ep_form_group > label {
  font-size: 1.25em;
  font-weight: 600;
}
.ep_form_group > input, .ep_form_group > select, #ep-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;
}
#ep-shortcode {
  width: 95%;
  height: 50px;
  resize: none;
  margin-left: 15px;
}
.ep_row {
  display: flex;
  width: 100%;
}
.ep_col {
  width: 49%;
  margin: 15px;
}
#ep_button_generate {
  background-color:  #4367AE;
  border: none;
  color: white;
  padding: 16px 32px;
  margin: 4px 2px;
  margin-left: 15px;
}

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

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

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

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

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

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

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

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

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

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

.ep_text {
  position: relative;
}

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

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

.ep_text:hover .ep_controls_shortcode {
  display: block;
}
