@import url('./ui-popup.css');
.ui-dialog {
    position: relative;
    background-color: #FFF;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 6px;
    outline: 0;
    background-clip: padding-box;
    font-size: 14px;
    line-height: 1.428571429;
    text-align: left;
    color: #333;
}
@media (max-width: 768px) {
    .ui-dialog {
        width: 90vw;
    }
}
.ui-popup-focus .ui-dialog {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}
.ui-popup-modal .ui-dialog {
    box-shadow: none;
}
.ui-dialog-header {
    white-space: nowrap;
}
.ui-dialog-header::after {
    content: '';
    display: block;
    height: 0;
    border-bottom: 1px solid #E5E5E5;
}
.ui-dialog-close {
    position: relative;
    float: right;
    top: 13px;
    right: 13px;
    margin-top: -1px;
    padding: 0;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #FFF;
    opacity: .2;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    -webkit-tap-highlight-color:rgba(255,255,255,0);
}
.ui-dialog-close:hover,
.ui-dialog-close:focus,
.ui-dialog-close:active {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    outline: 0;
    opacity: 0.5;
}
.ui-dialog-title {
    margin: 0;
    line-height: 1.428571429;
    min-height: 16.428571429px;
    padding: 15px;
    overflow:hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: bold;
    cursor: default;
}
.ui-dialog-body {
    padding: 20px;
    text-align: center;
}
.ui-dialog-content {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    text-align: left;
}
.ui-dialog-footer {
    padding: 0 20px 20px 20px;
    text-align: center;
}
.ui-dialog-footer::after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
}
.ui-dialog-statusbar {
    float: left;
    margin-right: 20px;
    padding: 6px 0;
    line-height: 1.428571429;
    font-size: 14px;
    color: #888;
    white-space: nowrap;
}
.ui-dialog-statusbar label:hover {
    color: #333;
}
.ui-dialog-statusbar input,
.ui-dialog-statusbar .label {
    vertical-align: middle;
}
.ui-dialog-buttons {
    float: right;
    white-space: nowrap;
}
.ui-dialog-footer button+button {
    margin-bottom: 0;
    margin-left: 5px;
}
.ui-dialog-footer button {
    width:auto;
    overflow:visible;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}

.ui-dialog-footer button:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.ui-dialog-footer button:hover,
.ui-dialog-footer button:focus {
  color: #333333;
  text-decoration: none;
}

.ui-dialog-footer button:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.ui-dialog-footer button:disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.65;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.ui-dialog-footer button {
  color: #333333;
  background-color: #ffffff;
  border-color: #cccccc;
}

.ui-dialog-footer button:hover,
.ui-dialog-footer button:focus,
.ui-dialog-footer button:active {
  color: #333333;
  background-color: #ebebeb;
  border-color: #adadad;
}

.ui-dialog-footer button:active{
  background-image: none;
}

.ui-dialog-footer button:disabled,
.ui-dialog-footer button:disabled:hover,
.ui-dialog-footer button:disabled:focus,
.ui-dialog-footer button:disabled:active {
  background-color: #ffffff;
  border-color: #cccccc;
}

.ui-dialog-footer button[autofocus] {
  color: #ffffff;
  background-color: #428bca;
  border-color: #357ebd;
}

.ui-dialog-footer button[autofocus]:hover,
.ui-dialog-footer button[autofocus]:focus,
.ui-dialog-footer button[autofocus]:active {
  color: #ffffff;
  background-color: #3276b1;
  border-color: #285e8e;
}

.ui-dialog-footer button[autofocus]:active {
  background-image: none;
}
.ui-popup-top-left .ui-dialog,
.ui-popup-top .ui-dialog,
.ui-popup-top-right .ui-dialog {
    top: -8px;
}
.ui-popup-bottom-left .ui-dialog,
.ui-popup-bottom .ui-dialog,
.ui-popup-bottom-right .ui-dialog {
    top: 8px;
}
.ui-popup-left-top .ui-dialog,
.ui-popup-left .ui-dialog,
.ui-popup-left-bottom .ui-dialog {
    left: -8px;
}
.ui-popup-right-top .ui-dialog,
.ui-popup-right .ui-dialog,
.ui-popup-right-bottom .ui-dialog {
    left: 8px;
}

.ui-dialog::before,
.ui-dialog::after {
    content: '';
    position: absolute;
    display: none;
    width: 0;
    height: 0;
    overflow:hidden;
    border:8px dashed transparent;
}
.ui-popup-anchor .ui-dialog::before,
.ui-popup-anchor .ui-dialog::after{
    display: block;
}
.ui-popup-top-left .ui-dialog::before,
.ui-popup-top .ui-dialog::before,
.ui-popup-top-right .ui-dialog::before {
    bottom: -16px;
    border-top:8px solid #7C7C7C;
}
.ui-popup-top-left .ui-dialog::after,
.ui-popup-top .ui-dialog::after,
.ui-popup-top-right .ui-dialog::after {
    bottom: -15px;
    border-top:8px solid #fff;
}
.ui-popup-top-left .ui-dialog::before,
.ui-popup-top-left .ui-dialog::after  {
    left: 15px;
}
.ui-popup-top .ui-dialog::before,
.ui-popup-top .ui-dialog::after  {
    left: 50%;
    margin-left: -8px;
}
.ui-popup-top-right .ui-dialog::before,
.ui-popup-top-right .ui-dialog::after {
    right: 15px;
}
.ui-popup-bottom-left .ui-dialog::before,
.ui-popup-bottom .ui-dialog::before,
.ui-popup-bottom-right .ui-dialog::before {
    top: -16px;
    border-bottom:8px solid #7C7C7C;
}
.ui-popup-bottom-left .ui-dialog::after,
.ui-popup-bottom .ui-dialog::after,
.ui-popup-bottom-right .ui-dialog::after {
    top: -15px;
    border-bottom:8px solid #fff;
}
.ui-popup-bottom-left .ui-dialog::before,
.ui-popup-bottom-left .ui-dialog::after {
    left: 15px;
}
.ui-popup-bottom .ui-dialog::before,
.ui-popup-bottom .ui-dialog::after {
    margin-left: -8px;
    left: 50%;
}
.ui-popup-bottom-right .ui-dialog::before,
.ui-popup-bottom-right .ui-dialog::after {
    right: 15px;
}
.ui-popup-left-top .ui-dialog::before,
.ui-popup-left .ui-dialog::before,
.ui-popup-left-bottom .ui-dialog::before {
    right: -16px;
    border-left:8px solid #7C7C7C;
}
.ui-popup-left-top .ui-dialog::after,
.ui-popup-left .ui-dialog::after,
.ui-popup-left-bottom .ui-dialog::after {
    right: -15px;
    border-left:8px solid #fff;
}
.ui-popup-left-top .ui-dialog::before,
.ui-popup-left-top .ui-dialog::after {
    top: 15px;
}
.ui-popup-left .ui-dialog::before,
.ui-popup-left .ui-dialog::after {
    margin-top: -8px;
    top: 50%;
}
.ui-popup-left-bottom .ui-dialog::before,
.ui-popup-left-bottom .ui-dialog::after {
    bottom: 15px;
}
.ui-popup-right-top .ui-dialog::before,
.ui-popup-right .ui-dialog::before,
.ui-popup-right-bottom .ui-dialog::before {
    left: -16px;
    border-right:8px solid #7C7C7C;
}
.ui-popup-right-top .ui-dialog::after,
.ui-popup-right .ui-dialog::after,
.ui-popup-right-bottom .ui-dialog::after {
    left: -15px;
    border-right:8px solid #fff;
}
.ui-popup-right-top .ui-dialog::before,
.ui-popup-right-top .ui-dialog::after {
    top: 15px;
}
.ui-popup-right .ui-dialog::before,
.ui-popup-right .ui-dialog::after {
    margin-top: -8px;
    top: 50%;
}
.ui-popup-right-bottom .ui-dialog::before,
.ui-popup-right-bottom .ui-dialog::after {
    bottom: 15px;
}

.ui-dialog-loading {
    vertical-align: middle;
    display: inline-block;
    overflow: hidden;
    width: 32px;
    height: 32px;
    font-size: 0;
    text-indent: -999em;
    color: #666;
}
.ui-dialog-loading {
    width: 100%\9;
    text-indent: 0\9;
    line-height: 32px\9;
    text-align: center\9;
    font-size: 12px\9;
}

.ui-dialog-loading::after {
    position: absolute;
    content: '';
    width: 3px;
    height: 3px;
    margin: 14.5px 0 0 14.5px;
    border-radius: 100%;
    box-shadow: 0 -10px 0 1px #ccc, 10px 0px #ccc, 0 10px #ccc, -10px 0 #ccc, -7px -7px 0 0.5px #ccc, 7px -7px 0 1.5px #ccc, 7px 7px #ccc, -7px 7px #ccc;
    -webkit-transform: rotate(360deg);
    -webkit-animation: ui-dialog-loading 1.5s infinite linear;
    transform: rotate(360deg);
    animation: ui-dialog-loading 1.5s infinite linear;
    display: none\9;
}

@-webkit-keyframes ui-dialog-loading {
    0% {-webkit-transform: rotate(0deg);}
    100% {-webkit-transform: rotate(360deg);}
}
@keyframes ui-dialog-loading {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}
