/******************** Popup Dialog ********************/

.dialog {
	display: none;
}

#DialogBox {
	display: block;
    position: fixed;
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    background-color: rgba(37, 40, 43, 0.41);
}

.popup {
	position: absolute;
	background: #fff;
	border: 1px solid #ececec;
	border-collapse: separate;
	border-radius: 5px;
	box-shadow: 10px 10px 15px rgba(50, 50, 50, 0.3);
	margin-left: -165px;
	left: 50%;
	top: 150px;
	font-weight: bold;
	text-align: center;
	width: 320px;
	height: auto;
	z-index: 1000;
}

.popup #Title {
	border-bottom: 2px solid #999;
	margin: 10px 0px;
	padding: 10px 0px;
	color: purple;
	font-size: 20px;
	text-align: center;
	width: 100%;
}

.popup .Message {
	margin: 20px;
	color: #7B7878;
	font-size: 14px;
}

.popup .Buttons {
	margin: 30px;
	text-align: center;
}

.popup .Buttons button {
	display: none;
	background: #4aaaa5;
	border: 1px solid #4aaaa5;
	border-radius: 5px;
	padding: 0;
	margin-right: 10px;
	color: #fff;
	min-width: 80px;
	height: 33px;
	cursor: pointer;
}

.popup .Buttons button:hover {
	background: #00806e;
	border: 1px solid #00806e;
}

.popup .Buttons button.command {
	background: #f47e7e;
	border: 1px solid #f47e7e;
}

.popup .Buttons button.command:hover {
	background: #e05d5d;
	border: 1px solid #e05d5d;
}

.popup .Buttons button:last-child {
	margin-right: 0px;
}

/******************** Notify ********************/
.notify-wrap {
	display: block;
	position: fixed;
	left: 0px;
	bottom: 0px;
	opacity: 0.9;
	text-align: center;
	width: 100%;
	z-index: 1000;
}

.notify {
	position: absolute;
	background: #fff;
    padding: 0;
    bottom: 0px;
    font-size: 13px;
    text-align: center;
    color: #333;
    width: 350px;
    z-index: 1001;
}

.notify.dock-left {
	margin-left: 0px;
    left: 0px;
}

.notify.dock-center {
	margin-left: -175px;
    left: 50%;
}

.notify.dock-right {
	margin-left: 0px;
    right: 0px;	
}

.notify .dock {
	position: absolute;
	margin: 5px 0px 0px 10px;
}

.notify .dock div {
	float: left;
    opacity: 0.5;
    margin: 3px;
    width: 16px;
    height: 16px;
}

.notify .dock div.left {
    background: url(https://api.iconify.design/mdi-dock-left.svg) no-repeat center center / contain;
    width: 16px;
    height: 16px;
}

.notify .dock div.center {
	background: url(https://api.iconify.design/mdi-dock-bottom.svg) no-repeat center center / contain;
    width: 16px;
    height: 16px;
}

.notify .dock div.right {
	background: url(https://api.iconify.design/mdi-dock-right.svg) no-repeat center center / contain;
    width: 16px;
    height: 16px;
}

.notify .dock div.on, .notify .dock div:hover {
	opacity: 1.0;
}

.notify .title {
    display: inline-block;
    margin: 8px 0px 15px 50px;
    text-align: center;
    width: calc(100% - 110px);
}

.notify .content {
	display: inline-block;
	margin: -5px 0px 0px 10px;
	bottom: 0px;
	font-size: 13px;
	text-align: center;
	color: #333;
	width: calc(100% - 20px);
}

.notify .btn {
	cursor: pointer;
}

.notify .close.btn {
	display: inline-block;
	float: right;
    margin: 10px 10px 0px 0px;
    font-weight: bold;
    color: #ccc;
	width: 24px;
	height: 24px;
}

.notify .close.btn:hover {
	color: #555;
}

.notify .pin.btn {
    display: inline-block;
    float: right;
    background: url(/img/icon-pin.png) no-repeat center center;
    background-size: 20px auto;
    margin: 10px 5px 0px 0px;
    opacity: 0.3;
    width: 20px;
    height: 20px;
}

.notify .pin.btn:hover {
	opacity: 0.8;
}

.notify .pin.btn.on {
	WebkitTransform: rotate(-45deg);  
    -moz-transform: rotate(-45deg);
    transform : rotate(-45deg);
    opacity: 0.8;
}

/******************** Toast ********************/
.toast {
	bottom: 0px;
	border-collapse: separate;
    box-shadow: 3px 3px 6px rgba(50, 50, 50, 0.5);
    border: 1px solid #D2D9D8;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
}
