.popover-x {
    display: none;
    border-radius: 7px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
	background:#ec5e5a;
	-moz-box-shadow:0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2);
	-webkit-box-shadow:0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2);
	box-shadow:0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2), 0px 0px 20px rgba(0, 0, 0, .2);
}

.popover-x p { color:#FFF; font-family: "Microsoft JhengHei"; font-size:14px; text-align: justify; text-justify:inter-ideograph; margin-top:10px;}

.popover-x .popover-title {
    border-radius: 5px 5px 0 0;
}

/* Popover & arrow styles for BS4 */
.popover-x.top {
    margin-top: -10px;
}

.popover-x.right {
    margin-left: 10px;
}

.popover-x.bottom {
    margin-top: 10px;
}

.popover-x.left {
    margin-left: -10px;
}

.popover-x > .arrow, .popover-x > .arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.popover-x > .arrow {
    border-width: 11px;
}

.popover-x > .arrow:after {
    content: "";
    border-width: 10px;
}

.popover-x.top > .arrow {
    bottom: -11px;
    left: 50%;
    margin-left: -11px;
    border-top-color: #999;
    border-top-color: rgba(0, 0, 0, .25);
    border-bottom-width: 0;
}

.popover-x.top > .arrow:after {
    bottom: 1px;
    margin-left: -10px;
    content: " ";
    border-top-color: #ec5e5a;
    border-bottom-width: 0;
}

.popover-x.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;
}

.popover-x.right > .arrow:after {
    bottom: -10px;
    left: 1px;
    content: " ";
    border-right-color: #ec5e5a;
    border-left-width: 0;
}

.popover-x.bottom > .arrow {
    top: -11px;
    left: 50%;
    margin-left: -11px;
    border-top-width: 0;
    border-bottom-color: #999;
    border-bottom-color: rgba(0, 0, 0, .25);
}

.popover-x.bottom > .arrow:after {
    top: 1px;
    margin-left: -10px;
    content: " ";
    border-top-width: 0;
    border-bottom-color: #ec5e5a;
}

.popover-x.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);
}

.popover-x.left > .arrow:after {
    right: 1px;
    bottom: -10px;
    content: " ";
    border-right-width: 0;
    border-left-color: #ec5e5a;
}

/* Sizes */
.popover-lg {
    min-width: 480px;
}

.popover-md {
    min-width: 350px;
}

.popover-x .close {
	color:rgba(255, 255, 255, 1);
    line-height: 8px;
    outline: none;
	font-size:2em;
	background:#000;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	height:.5em;
	padding:3px 5px 5px 5px;
}

.popover-x.top-right > .arrow, .popover-x.bottom-right > .arrow {
    left: 90%;
}

.popover-x.top-left > .arrow, .popover-x.bottom-left > .arrow {
    left: 10%;
}

.popover-x.left-top > .arrow, .popover-x.right-top > .arrow {
    top: 10%;
}

.popover-x.left-bottom > .arrow, .popover-x.right-bottom > .arrow {
    top: 90%;
}

.popover-default.bottom > .arrow:after {
    border-bottom-color: #f7f7f7;
}

.popover-primary.bottom > .arrow:after {
    border-bottom-color: #cce5ff;
}

.popover-success.bottom > .arrow:after {
    border-bottom-color: #dff0d8;
}

.popover-danger.bottom > .arrow:after {
    border-bottom-color: #c03832;
}

.popover-warning.bottom > .arrow:after {
    border-bottom-color: #fcf8e3;
}

.popover-info.bottom > .arrow:after {
    border-bottom-color: #d9edf7;
}

.popover-default.left-top > .arrow:after {
    border-left-color: #ec5e5a;
}

.popover-default.right-top > .arrow:after {
    border-right-color: #ec5e5a;
}

.popover-primary.left-top > .arrow:after {
    border-left-color: #cce5ff;
}

.popover-primary.right-top > .arrow:after {
    border-right-color: #cce5ff;
}

.popover-success.left-top > .arrow:after {
    border-left-color: #dff0d8;
}

.popover-success.right-top > .arrow:after {
    border-right-color: #dff0d8;
}

.popover-danger.left-top > .arrow:after {
    border-left-color: #c03832;
}

.popover-danger.right-top > .arrow:after {
    border-right-color: #c03832;
}

.popover-warning.left-top > .arrow:after {
    border-left-color: #fcf8e3;
}

.popover-warning.right-top > .arrow:after {
    border-right-color: #fcf8e3;
}

.popover-info.left-top > .arrow:after {
    border-left-color: #d1ecf1;
}

.popover-info.right-top > .arrow:after {
    border-right-color: #d1ecf1;
}

.popover-default > .popover-title {
    color: #333;
    background-color: #f7f7f7;
}

.popover-primary > .popover-title {
    color: #004085;
    background-color: #cce5ff;
    border-bottom: 1px solid #b8daff;
}

.popover-success > .popover-title {
    color: #3c763d;
    background-color: #dff0d8;
    border-bottom: 1px solid #d6e9c6;
}

.popover-info > .popover-title {
    color: #0c5460;
    background-color: #d1ecf1;
    border-bottom: 1px solid #bee5eb;
}

.popover-warning > .popover-title {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-bottom: 1px solid #faebcc;
}

.popover-danger > .popover-title {
    color: #FFF;
    background-color: #c03832;
    border-bottom: 1px solid #c03832;
}

.popoverbtn{
	width:25px;
	height:25px;
	display:table-cell; 
	vertical-align:middle; 
	text-align:center;
	font-family: 'Fredoka One'; 
	font-weight:400; 
	font-size: .8em;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	cursor:pointer;
	}

.btnnumd {/*position:absolute; z-index:4;*/ float:left; margin:4px;}
	
.btnnumd .numd1 {top:0px; left:0px;}
.btnnumd .numd2 {top:0px; left:0px;}
.btnnumd .numd3 {top:0px; left:0px;}
.btnnumd .numd4 {top:0px; left:0px;}
.btnnumd .numd5 {top:0px; left:0px;}
.btnnumd .numd6 {top:0px; left:0px;}
.btnnumd .numd7 {top:0px; left:0px;}
.btnnumd .numd8 {top:0px; left:0px;}
.btnnumd .numd9 {top:0px; left:0px;}
.btnnumd .numd10 {top:0px; left:0px;}
.btnnumd .numd11 {top:0px; left:0px;}
.btnnumd .numd12 {top:0px; left:0px;}
.btnnumd .numd13 {top:0px; left:0px;}
.btnnumd .numd14 {top:0px; left:0px;}
.btnnumd .numd15 {top:0px; left:0px;}
.btnnumd .numd16 {top:0px; left:0px;}
.btnnumd .numd17 {top:0px; left:0px;}
.btnnumd .numd18 {top:0px; left:0px;}
.btnnumd .numd19 {top:0px; left:0px;}
.btnnumd .numd20 {top:0px; left:0px;}
.btnnumd .numd21 {top:0px; left:0px;}
.btnnumd .numd22 {top:0px; left:0px;}
.btnnumd .numd23 {top:0px; left:0px;}
.btnnumd .numd24 {top:0px; left:0px;}
.btnnumd .numd25 {top:0px; left:0px;}
.btnnumd .numd26 {top:0px; left:0px;}
.btnnumd .numd27 {top:0px; left:0px;}
.btnnumd .numd28 {top:0px; left:0px;}
.btnnumd .numd29 {top:0px; left:0px;}
.btnnumd .numd30 {top:0px; left:0px;}
.btnnumd .numd31 {top:0px; left:0px;}
.btnnumd .numd32 {top:0px; left:0px;}
.btnnumd .numd33 {top:0px; left:0px;}
.btnnumd .numd34 {top:0px; left:0px;}
.btnnumd .numd35 {top:0px; left:0px;}
.btnnumd .numd36 {top:0px; left:0px;}
.btnnumd .numd37 {top:0px; left:0px;}
.btnnumd .numd38 {top:0px; left:0px;}
.btnnumd .numd39 {top:0px; left:0px;}
.btnnumd .numd40 {top:0px; left:0px;}
.btnnumd .numd41 {top:0px; left:0px;}
.btnnumd .numd42 {top:0px; left:0px;}
.btnnumd .numd43 {top:0px; left:0px;}
.btnnumd .numd44 {top:0px; left:0px;}
.btnnumd .numd45 {top:0px; left:0px;}
.btnnumd .numd46 {top:0px; left:0px;}
.btnnumd .numd47 {top:0px; left:0px;}


.popover-footer {
    padding: 4px;
    background-color: #fbfbfb;
    text-align: right;
    border-top: 1px solid #ebebeb;
    border-radius: 0 0 5px 5px;
}

.popover-footer .btn + .btn {
    margin-bottom: 0;
    margin-left: 4px;
}

.popover-footer .btn-group .btn + .btn {
    margin-left: -1px;
}

.popover-footer .btn-block + .btn-block {
    margin-left: 0;
}

.popover-x.has-footer.top > .arrow:after, .has-footer.popover-x.top > .arrow:after {
    border-top-color: #fbfbfb;
}

.popover-x.has-footer.left-bottom > .arrow:after {
    border-top-color: transparent;
    border-left-color: #fbfbfb;
}

.popover-x.has-footer.right-bottom > .arrow:after {
    border-top-color: transparent;
    border-right-color: #fbfbfb;
}

.popover-loading {
    padding: 30px;
    background: url('../img/loading.gif') center center;
}

/* hide modal backdrop */
.popover-x-body .modal-backdrop {
    opacity: 1;
    z-index: 1;
    display: none;
    overflow: hidden;
}

.popover-x-body.modal-open {
    overflow-y: auto;
}

/* popover must be behind bootstrap navbar when scrolled */
.popover-x-body .navbar {
    z-index: 1051;
    margin-right: -10px;
}