fpm-modal,
fpm-modal-dialog,
fpm-modal-content,
fpm-modal-header,
fpm-modal-body,
fpm-modal-footer {
  display: block; }

fpm-modal {
  position: fixed;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
  text-align: center;
  overflow: auto;
  white-space: nowrap; }
  fpm-modal fpm-modal-dialog {
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
    -webkit-transform: translateY(-60px);
    -moz-transform: translateY(-60px);
    -ms-transform: translateY(-60px);
    -o-transform: translateY(-60px);
    transform: translateY(-60px);
    opacity: 0; }
  fpm-modal[fpm-open='true'] {
    display: block; }
    fpm-modal[fpm-open='true'] fpm-modal-dialog {
      -webkit-transform: translateY(0);
      -moz-transform: translateY(0);
      -ms-transform: translateY(0);
      -o-transform: translateY(0);
      transform: translateY(0);
      opacity: 1; }
  fpm-modal.appear {
    display: block; }
  fpm-modal:before {
    display: inline-block;
    content: "";
    height: 100%;
    vertical-align: middle; }

fpm-modal-dialog {
  text-align: left;
  width: 900px;
  display: inline-block;
  vertical-align: middle;
  -webkit-box-shadow: 0 0 24px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 24px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.3); }

fpm-modal-content {
  background-color: #ffffff;
  overflow: hidden; }

fpm-modal-header:after, fpm-modal-body:after, fpm-modal-footer:after {
  display: table;
  content: "";
  clear: both; }

fpm-modal-header {
  padding: 20px 20px 10px;
  position: relative; }
  fpm-modal-header .fpm-modal-title {
    margin: 0;
    padding: 0;
    font-size: 18px;
    color: #979ca2; }
  fpm-modal-header .fpm-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #979ca2;
    cursor: pointer; }
    fpm-modal-header .fpm-close:hover {
      color: #323538; }
    fpm-modal-header .fpm-close i {
      font-size: 12px; }

fpm-modal-footer {
  padding: 10px 20px 20px;
  text-align: right; }

fpm-modal-body {
  padding: 10px 20px;
  white-space: normal;
  overflow: auto; }
