/*
 *  webui popover plugin  - v1.0.4
 *  A lightWeight popover plugin with jquery ,enchance the  popover plugin of bootstrap with some awesome new features. It works well with bootstrap ,but bootstrap is not necessary!
 *  https://github.com/sandywalker/webui-popover
 *
 *  Made by Sandy Duan
 *  Under MIT License
 */
/*  webui popover  */
.webui-popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: none;
  width: 276px;
  min-height:50px;
  padding: 1px;
  text-align: left;
  white-space: normal;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
          box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}


.webui-popover-inverse{
  background-color:#333;
  color:#eee;
}

.webui-popover.top,
.webui-popover.top-right,
.webui-popover.top-left {
  margin-top: -10px;
}
.webui-popover.right {
  margin-left: 10px;
}
.webui-popover.bottom,
.webui-popover.bottom-right,
.webui-popover.bottom-left  {
  margin-top: 10px;
}
.webui-popover.left {
  margin-left: -10px;
}

.webui-no-padding .webui-popover-content {
  padding: 0;
}

.webui-no-padding.top,
.webui-no-padding.top-right,
.webui-no-padding.top-left,
.webui-no-padding.left,
.webui-no-padding.right{
  
}


.webui-popover-inverse .list-group-item{
  background: none;
}

.webui-no-padding .list-group-item{
  border-right: none;
  border-left:none;  
}

.webui-no-padding .list-group-item:first-child{
  border-top:0;
}

.webui-no-padding .list-group-item:last-child{
  border-bottom:0;
}


.webui-popover-inner .close{
  font-family: arial;
  margin:5px 10px 0 0;
  float: right;
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .2;
  filter: alpha(opacity=20);
  text-decoration: none;
}
.webui-popover-inner .close:hover{
  opacity: .5;
  filter: alpha(opacity=5);
}
.webui-popover-title {
  padding: 8px 14px;
  margin: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-radius: 5px 5px 0 0;
}
.webui-popover-inverse .webui-popover-title{
  background: #3f3f3f;
  border-bottom: none;
  color:#eee;
}

.webui-popover-content {
  padding: 9px 14px;
  font-size: 14px;
  overflow: auto;  
}

.webui-popover i.glyphicon-refresh{
   display: block;
   margin-left:-15px;
   margin-top:-15px;
   width:20px;
   height:20px;
   font-size: 20px;
   top:50%;
   left:50%;
   position: absolute;

   -webkit-animation-name: rotate;
   -o-animation-name: rotate;
   animation-name: rotate;
   -webkit-animation-timing-function: linear;
   -o-animation-timing-function: linear;
   animation-timing-function: linear;

   -webkit-animation-iteration-count: infinite;
   -o-animation-iteration-count: infinite;
   animation-iteration-count: infinite;

   -webkit-animation-duration: 1s;
   -o-animation-duration: 1s;
   animation-duration: 1s;
}

@-webkit-keyframes rotate { 
  100% {
    -webkit-transform: rotate(360deg);
    -webkit-transform-origin: center center;
  }
}

    /* all other browsers */
/*@keyframes rotate {
  0% { transform:  rotate(0deg); }
  100% {transform: rotate(360deg); }
}*/



.webui-popover > .arrow,
.webui-popover > .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.webui-popover > .arrow {
  border-width: 11px;
}
.webui-popover > .arrow:after {
  content: "";
  border-width: 10px;
}


.webui-popover.top > .arrow,
.webui-popover.top-right > .arrow,
.webui-popover.top-left > .arrow {
  bottom: -11px;
  left: 50%;
  margin-left: -11px;
  border-top-color: #999;
  border-top-color: rgba(0, 0, 0, .25);
  border-bottom-width: 0;
}
.webui-popover-inverse.top > .arrow,
.webui-popover-inverse.top-right > .arrow,
.webui-popover-inverse.top-left > .arrow{
  border-top-color: #333;
}

.webui-popover.top > .arrow:after,
.webui-popover.top-right > .arrow:after,
.webui-popover.top-left > .arrow:after {
  bottom: 1px;
  margin-left: -10px;
  content: " ";
  border-top-color: #fff;
  border-bottom-width: 0;
}
.webui-popover-inverse.top > .arrow:after,
.webui-popover-inverse.top-right > .arrow:after,
.webui-popover-inverse.top-left > .arrow:after{
  border-top-color:#333;
}

.webui-popover.right > .arrow {
  top: 50%;
  left: -11px;
  margin-top: -11px;
  border-right-color: #999;
  border-right-color: rgba(0, 0, 0, .25);
  border-left-width: 0;
}

.webui-popover-inverse.right > .arrow{
  border-right-color: #333;
}

.webui-popover.right > .arrow:after {
  bottom: -10px;
  left: 1px;
  content: " ";
  border-right-color: #fff;
  border-left-width: 0;
}

.webui-popover-inverse.right > .arrow:after{
  border-right-color: #333;
}


.webui-popover.bottom > .arrow ,
.webui-popover.bottom-right > .arrow,
.webui-popover.bottom-left > .arrow {
  top: -11px;
  left: 50%;
  margin-left: -11px;
  border-top-width: 0;
  border-bottom-color: #999;
  border-bottom-color: rgba(0, 0, 0, .25);
}
.webui-popover-inverse.bottom > .arrow,
.webui-popover-inverse.bottom-right > .arrow,
.webui-popover-inverse.bottom-left > .arrow{
  border-bottom-color: #333;
}

.webui-popover.bottom > .arrow:after,
.webui-popover.bottom-right > .arrow:after,
.webui-popover.bottom-left > .arrow:after {
  top: 1px;
  margin-left: -10px;
  content: " ";
  border-top-width: 0;
  border-bottom-color: #fff;
}
.webui-popover-inverse.bottom > .arrow:after,
.webui-popover-inverse.bottom-right > .arrow:after,
.webui-popover-inverse.bottom-left > .arrow:after{
  border-bottom-color:#333;
}

.webui-popover.left > .arrow {
  top: 50%;
  right: -11px;
  margin-top: -11px;
  border-right-width: 0;
  border-left-color: #999;
  border-left-color: rgba(0, 0, 0, .25);
}

.webui-popover-inverse.left > .arrow{
  border-left-color: #333;
}

.webui-popover.left > .arrow:after {
  right: 1px;
  bottom: -10px;
  content: " ";
  border-right-width: 0;
  border-left-color: #fff;
}

.webui-popover-inverse.left > .arrow:after{
  border-left-color: #333;
}
