button.agentcrate_fb_share_video,
button.agentcrate_fb_share_photo {
  margin: 0;
  text-align: center;
  width: 100%;
  background: none;
  border: 0;
  outline: 0;
}

button.agentcrate_fb_share_video img,
button.agentcrate_fb_share_photo img {
  width: 50px;
  height: 50px;
}

#agentcrate_fb_pages_popup {
  display: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  max-width: 90%;
  max-height: 90%;
  width: 30rem;
  height: 30rem;
  position: fixed;
  margin: auto;
  z-index: 999999999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#agentcrate_fb_pages_popup .spinner {
  overflow: hidden;
  -webkit-animation: rotation 1.5s infinite linear;
  animation: rotation 1.5s infinite linear;
  margin: 0;
}

#agentcrate_fb_pages_popup button {
  margin-top: 1rem;
  color: #fff;
  font-size: 1rem;
  line-height: 2rem;
  padding: 5px 30px;
  text-transform: uppercase;
  background: black;
  border: 0;
  cursor: pointer;
  outline: 0;
}

#agentcrate_fb_pages_popup button:disabled {
  background: #666;
  cursor: not-allowed;
}

#agentcrate_fb_pages_popup * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#agentcrate_fb_pages_popup_loading {
  display: none;
  height: 100%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

#agentcrate_fb_pages_popup_loading .spinner {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1rem;
}

#agentcrate_fb_pages_popup_content {
  display: none;
}

#agentcrate_fb_pages_popup_container {
  text-align: center;
  overflow-y: scroll;
  -webkit-box-shadow: 0px 0px 40px 10px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 40px 10px rgba(0, 0, 0, 0.4);
  padding: 1rem;
  background: #fff;
  max-height: 30rem;
  height: 100%;
}

#agentcrate_fb_pages_popup_container textarea {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 100%;
  width: 100%;
  height: 8rem;
  margin: 1rem 0;
  padding: 5px;
  border: 1px solid #999;
  outline: 0;
}

#agentcrate_fb_pages_popup_pages {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
}

#agentcrate_fb_pages_popup_pages .pages-list-page-name {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  line-height: 3rem;
  vertical-align: middle;
}

#agentcrate_fb_pages_popup_edit_settings {
  margin: 1rem auto;
}

#agentcrate_fb_pages_popup_close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}

#agentcrate_fb_pages_popup_close img {
  max-width: 2rem;
  max-height: 2rem;
  background: #fff;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

#agentcrate_fb_pages_list {
  list-style: none;
  padding: 1rem 0;
}

#agentcrate_fb_pages_list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 1.5rem auto;
  height: 3rem;
  border-bottom: 1px solid #eee;
  position: relative;
  max-width: 25rem;
}

#agentcrate_fb_pages_list img {
  max-height: 25px;
  max-width: 25px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

#agentcrate_fb_pages_list button {
  margin: 0;
  margin-left: 1rem;
  height: 2rem;
  padding: 0.5rem 1rem;
  line-height: 1rem;
  min-width: 6rem;
  top: 0.5rem
}

#agentcrate_fb_pages_list .spinner {
  height: 1rem;
  width: 1rem;
}

#agentcrate_fb_pages_list button:disabled {
  background: #ccc;
}

#agentcrate_fb_pages_popup_caption_example {
  font-size: 14px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

#agentcrate_fb_pages_popup_caption_example p {
  margin: 1rem 0;
  font-size: 14px;
}

#agentcrate_fb_pages_popup_media {
  margin-top: 2rem;
  min-height: 10rem;
}

#agentcrate_fb_pages_popup_media > * {
  max-width: 10rem;
  max-height: 10rem;
  width: auto;
  height: auto;
}

#agentcrate_fb_pages_popup #agentcrate_fb_pages_popup_copy {
  display: none;
  background: none;
  color: #999;
  font-size: 14px;
  margin: 0;
  padding: 0;
}

#agentcrate_fb_pages_popup_copy img {
  max-width: 14px;
  max-height: 14px;
}

#agentcrate_fb_pages_popup_mobile_notice {
  display: none;
  color: #666;
  line-height: 1.5rem;
  margin-bottom: 1rem;
}

#agentcrate_fb_pages_popup_mobile_notice a {
  color: #8c4b46;
}

@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@media screen and (max-width: 900px) {
  #agentcrate_fb_pages_popup {
    width: 100%;
    height: 100%;
  }

  #agentcrate_fb_pages_popup_container {
    max-height: 100%;
  }

  #agentcrate_fb_pages_popup_mobile_notice {
    display: block;
  }
}
