.notif {width: 280px;position: relative;margin: 0 auto 25px auto;
 padding: 30px 20px; text-align: left;
 border-radius: 12px;opacity: 0;
 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
 filter: alpha(opacity=0); 
 cursor: default;display: none;
}
.notif p {text-align:left;font-weight: bold;font-size: 16px;margin: 0;}

.notif p:before {
 text-align: center;
 border: 3px solid rgba(255, 255, 255, 1);
 margin-top: -18px;
 top: 50%;
 right: 25px;
 width: 30px;
 content: '!';
 font-size: 30px;
 color: rgba(255, 255, 255, 1);
 position: absolute;
 height: 30px;
 line-height: 30px;
 border-radius: 50%;
}

.notif-progress {
 width: 0;
 height: 10px;
 background: rgba(255,255,255,0.5);
 position: absolute;
 bottom: 5px;
 left: 3%;
 border-radius: 12px;
}
.notif-color-1 {
 background: #0f808c;
}

.notif-color-1 p {
 color: #FFF;
}

.notif-color-2 {
 background: #ccc736;
}

.notif-color-2 p {
 color: #FFF;
}

.notif-color-3 {
 background: #00B16A;
}

.notif-color-3 p {
 color: #FFF;
}
input.look-btn:checked ~ section .notif {
 display: block;
 -webkit-animation: fadeOut 3s linear forwards;
 -moz-animation: fadeOut 3s linear forwards;
 -o-animation: fadeOut 3s linear forwards;
 -ms-animation: fadeOut 3s linear forwards;
 animation: fadeOut 3s linear forwards;
}

input.look-btn:checked ~ section .notif .notif-progress {
 -webkit-animation: runProgress 2s linear forwards 0.7s;
 -moz-animation: runProgress 2s linear forwards 0.7s;
 -o-animation: runProgress 2s linear forwards 0.7s;
 -ms-animation: runProgress 2s linear forwards 0.7s;
 animation: runProgress 2s linear forwards 0.7s;
}
 fadeOut {
 0% { opacity: 0; }
 10% { opacity: 1; }
 90% { opacity: 1; -webkit-transform: translateY(0px);}
 99% { opacity: 0; -webkit-transform: translateY(-25px);}
 100% { opacity: 0; }
}
runProgress {
 0%{ width: 0%; }
 100%{ width: 94%; }
}
