notice-wrap {
    display: block;
    position: fixed;
    left:40%;
    top: 0;
    width: 100%;
	max-width: 450px;
    font-family: 'Roboto', sans-serif;
    padding: 10px 10px 0 10px;
    box-sizing: border-box;
    overflow: auto;
}
notice-wrap[position='top-left'] {
    right: auto;
    left: 0
}
notice-wrap[position='bottom-left'] {
    right: auto;
    left: 0;
    top: auto;
    bottom: 0;
}
notice-wrap[position='bottom-right'] {
    right: 0;
    left: auto;
    top: auto;
    bottom: 0;
}
notice {
    display: block;
    position: relative;
    font-size: 15px;
    font-weight: normal;
    background-color: #FFF;
	border: 1px solid #CCC;
	border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 15px;
}
notice:before,
notice:after {
    position: absolute;
    content: "";
    background-color: #BBB;

    transform: rotate(45deg);
}
notice:before,
notice:after {
    box-sizing: border-box;
}
notice:before {
    width: 16px;
    height: 2px;
    right: 14px;
    top: calc(50% - 1px);
}
notice:after {
    width: 2px;
    height: 16px;
    right: 21px;
    top: calc(50% - 8px);
}
notice-close {
    position: absolute;
    display: block;
    right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    top: calc(50% - 10px);
    z-index: 1;
}
notice[close-on-click='true'] {
    cursor: pointer;
}
notice[type='success'] {
    color: #42a951; 
    background-color:#def2e6;
    border-color: #42a951;
}
notice[type='success']:before,
notice[type='success']:after {
    background-color: #04be5b;
}
notice[type='error'] {
    color: #d2335c;
    background-color: rgba(210, 51, 92, 0.15);
    border-color: #d2335c;
}
notice[type='error']:before,
notice[type='error']:after {
    background-color: #d2335c;
}
notice[type='warning'] {
    color: #ff9948;
    background-color: rgba(255, 153, 72, 0.15);
    border-color: #ff9948;
}
notice[type='warning']:before,
notice[type='warning']:after {
    background-color: #ff9948;
}
notice[type='info'] {
    color: #0082d5;
    background-color: rgba(0, 130, 213, 0.15);
    border-color: #0082d5;
}
notice[type='info']:before,
notice[type='info']:after {
    background-color: #0082d5;
}
