/* the norm */
#gritter-notice-wrapper {
    position: fixed;
    top: 50%;
    right: 50%;
    margin-right: -150px;
	margin-top:-40px;
    width: 301px;
    z-index: 9999;
}
#gritter-notice-wrapper.top-left {
    left: 20px;
    right: auto;
}
#gritter-notice-wrapper.bottom-right {
    top: auto;
    left: auto;
    bottom: 20px;
    right: 20px;
}
#gritter-notice-wrapper.bottom-left {
    top: auto;
    right: auto;
    bottom: 20px;
    left: 20px;
}
.gritter-item-wrapper {
	position:relative;
	margin:0 0 10px 0;
	background-color: rgba(0, 0, 0, 0.9);
    border-radius: 4px;
}
.gritter-item {
	display:table;
    table-layout: fixed;
    width: 100%;
	color:#eee;
	padding:15px;
	box-sizing:border-box;
	text-align:center;
}
.gritter-close {
	display:none !important;
	position:absolute;
	top:10px;
	right:10px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 13px;
    text-align: center;
    color: #eee;
    border-radius: 2px;
}
.gritter-close:before {
	content:"กม";
}
.touch .gritter-close { display: block; }
.gritter-close:hover,
.gritter-close:active,
.gritter-close:focus {
    color: #fff;
    background-color: black;
}
.gritter-close:after {
    content: "\f00d";
}
.gritter-title {
	font-size:16px;
	font-weight: 600;
	display:block;
}
.gritter-image {
    display: table-cell;
	width:54px;
    vertical-align: middle;
}
.gritter-image > img {
    display: block;
    width: 100%;
    border-radius: 50%;
}
.gritter-with-image,
.gritter-without-image {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
    padding-left: 20px;
}
.gritter-without-image {
    padding-left: 0px;
}
.gritter-with-image p,
.gritter-without-image p {
    padding: 0;
    margin: 0;
	font-size:14px;
}

/* light */
.gritter-item-wrapper.gritter-light {
    background-color: white;
    -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.15);
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.15);
}
.gritter-item-wrapper.gritter-light .gritter-item {
    color: #999;
}
.gritter-item-wrapper.gritter-light .gritter-close {
    color: #999;
}
.gritter-item-wrapper.gritter-light .gritter-close:hover,
.gritter-item-wrapper.gritter-light .gritter-close:active,
.gritter-item-wrapper.gritter-light .gritter-close:focus {
    color: #666;
    background-color: #eee;
}
.gritter-item-wrapper.gritter-light .gritter-title {
    color: #555;
}

.gritter-item-wrapper.gritter-success{background:#e0f0cf;  color:#4e7325; border:3px solid #d2e8b8;}
.gritter-item-wrapper.gritter-success .gritter-item{color:#4e7325; }
.gritter-item-wrapper.gritter-success .gritter-close{ color:#4e7325; background-color:#d2e8b8; transition:all 0.5s ease 0s; }
.gritter-item-wrapper.gritter-success .gritter-close:hover{ color:#fff;  background-color:#4e7325;}

.gritter-item-wrapper.gritter-error{background:#fcdee2;  color:#e8263d; border:3px solid #faccd1;}
.gritter-item-wrapper.gritter-error .gritter-item{color:#e8263d; }
.gritter-item-wrapper.gritter-error .gritter-close{ color:#e8263d; background-color:#faccd1; transition:all 0.5s ease 0s; }
.gritter-item-wrapper.gritter-error .gritter-close:hover{ color:#fff; background-color:#e8263d;}

.gritter-item-wrapper.gritter-warning{background:#fff9ea;  color:#da9e00; border:2px solid #fff3d5;}
.gritter-item-wrapper.gritter-warning .gritter-item{color:#da9e00; }
.gritter-item-wrapper.gritter-warning .gritter-close{ color:#da9e00; background-color:#fff3d5; transition:all 0.5s ease 0s; }
.gritter-item-wrapper.gritter-warning .gritter-close:hover{ color:#fff; background-color:#da9e00;}
