/* HEADER NOTIFICATIONS */
#divAppHeader #divHeaderNotifications
{
    background-color:#292a2f;
    border:2px solid #3f4656;
    border-radius:50%;
    cursor:pointer;
    float:right;
    height:36px;
    margin:5px 15px 0px 0px;
    position:relative;
    transition:border 0.25s, box-shadow 0.25s;
    width:36px;
}

#divAppHeader #divHeaderNotifications:hover, #divAppHeader #divHeaderNotifications:focus
{
    border:2px solid #fbd3ff;
    box-shadow:inset 0px 0px 5px #e600ff, 0px 0px 5px #e600ff;
}

#divAppHeader #divHeaderNotifications:before
{
    background-image:url('../images/icons/notifications.svg');
    background-position:center;
    background-repeat:no-repeat;
    content:"";
    height:100%;
    opacity:0.4;
    position:absolute;
    right:0px;
    top:0px;
    transition:opacity 0.25s;
    width:100%;
}

#divAppHeader #divHeaderNotifications:hover:before, #divAppHeader #divHeaderNotifications:focus:before
{
    opacity:1;
}

#divAppHeader #divHeaderNotifications.new:after
{
    background-color:#fbd3ff;
    border:1px solid #ffffff;
    border-radius:50%;
    box-shadow:inset 0px 0px 5px #e600ff, 0px 0px 5px #e600ff;
    content:"";
    height:4px;
    left:24px;
    position:absolute;
    top:9px;
    width:4px;
}

/* USER NOTIFICATIONS POPUP */
#divAppUserNotifications
{
    display:none;
    height:100%;
    left:0%;
    opacity:0;
    position:fixed;
    top:0%;
    width:100%;
    z-index:5;
}

#divAppUserNotifications.show
{
    animation-duration:0.25s;
	animation-name:showUserNotifications;
	display:block;
	opacity:1;
}

#divAppUserNotifications #divUserNotificationsOverlay
{
    background-color:rgba(0, 0, 0, 0.75);
    height:100%;
    left:0%;
    position:absolute;
    top:0%;
    width:100%;
}

#divAppUserNotifications #divUserNotificationsPopup
{
    background-color:#1b1c20;
    border-radius:10px;
	box-shadow:inset 0px 20px 10px -20px rgba(255, 255, 255, 0.75), inset 0px -20px 10px -20px rgba(0, 0, 0, 0.75), 0px 0px 50px #000000;
    left:50%;
    min-height:460px;
    opacity:0;
	overflow:hidden;
	padding:30px;
	position:absolute;
	top:50%;
	transform:translate(-50%, -50%);
	width:480px;
}

#divAppUserNotifications.show #divUserNotificationsPopup
{
    animation-duration:0.25s;
	animation-name:showUserNotifications;
	opacity:1;
}

#divAppUserNotifications .h3PopupHeading
{
    height:40px;
	line-height:40px;
    margin-bottom:15px;
}

#divAppUserNotifications .h3PopupHeading:before
{
	background-image:url('../images/icons/notifications.svg');
    background-position:center left;
	background-repeat:no-repeat;
    background-size:80%;
	content:"";
	float:left;
	height:40px;
	line-height:40px;
	margin-right:5px;
	opacity:0.5;
    width:40px;
}

#divAppUserNotifications #btnClosePopup
{
	cursor:pointer;
	height:40px;
	position:absolute;
	right:20px;
	top:20px;
	width:40px;
}

#divAppUserNotifications #btnClosePopup:before
{
	background-color:#3f4656;
	content:"";
	height:2px;
	left:8px;
	position:absolute;
	top:20px;
	transform:rotate(45deg);
    transition:background-color 0.25s, box-shadow 0.25s;
	width:24px;
}

#divAppUserNotifications #btnClosePopup:after
{
	background-color:#3f4656;
	content:"";
	height:2px;
	left:8px;
	position:absolute;
	top:20px;
	transform:rotate(-45deg);
    transition:background-color 0.25s, box-shadow 0.25s;
	width:24px;
}

#divAppUserNotifications #btnClosePopup:hover:before, #divAppUserNotifications #btnClosePopup:focus:before, #divAppUserNotifications #btnClosePopup:hover:after, #divAppUserNotifications #btnClosePopup:focus:after
{
    background-color:#fbd3ff;
    box-shadow:0px 0px 5px #e600ff;
}

#divAppUserNotifications #divUserNotifications
{
	clear:both;
    max-height:432px;
    overflow-y:auto;
    position:relative;
    -webkit-overflow-scrolling:touch;
}

#divAppUserNotifications.readNotification #divUserNotifications
{
    display:none;
}

#divAppUserNotifications #divUserNotifications:before
{
	display:block;
	content:"DATE";
	height:40px;
	line-height:40px;
	padding-left:20px;
}

#divAppUserNotifications #divUserNotifications:after
{
	content:"TITLE";
	height:40px;
    left:140px;
	line-height:40px;
	position:absolute;
	top:0px;
	width:100px;
}

#divAppUserNotifications .divNotificationRow
{
	border-radius:10px;
	cursor:pointer;
    height:56px;
	line-height:56px;
    position:relative;
}

#divAppUserNotifications .divNotificationRow:nth-child(odd)
{
	background-color:#292a2f;
}

#divAppUserNotifications .divNotificationRow.new:before
{
    border:1px solid #ffffff;
    border-radius:50%;
    box-shadow:inset 0px 0px 5px #01eff9, 0px 0px 5px #01eff9;
    color:#ffffff;
    content:"N";
    font-size:9px;
    height:12px;
    left:6px;
    line-height:12px;
    position:absolute;
    text-align:center;
    top:6px;
    width:12px;
}

#divAppUserNotifications .divNotificationRow:after
{
	clear:both;
	content:"";
	display:block;
}

#divAppUserNotifications .divNotificationRow > div
{
	float:left;
}

#divAppUserNotifications .divNotificationRow > div:first-child
{
	padding-left:20px;
	width:100px;
}

#divAppUserNotifications .divNotificationRow > div:nth-child(2)
{
	color:#ffffff;
	overflow:hidden;
	padding-left:20px;
	text-overflow:ellipsis;
	white-space:nowrap;
	width:calc(100% - 220px);
}

#divAppUserNotifications .btnShowNotification
{
    font-size:14px;
    padding:0px 20px;
    transition:color 0.25s, text-shadow 0.25s;
	white-space:nowrap;
	width:40px;
}

#divAppUserNotifications .new .btnShowNotification
{
    color:#ffffff;
    text-shadow:0px 0px 5px #e600ff;
}

#divAppUserNotifications .divNotificationRow:hover .btnShowNotification, #divAppUserNotifications .divNotificationRow:focus .btnShowNotification
{
    color:#e600ff;
    text-shadow:0px 0px 5px #e600ff;
}

#divAppUserNotifications .divUserNotification
{
    display:none;
}

#divAppUserNotifications.readNotification .divUserNotification
{
    display:block;
}

#divAppUserNotifications #btnBackToNotifiactions
{
    color:#fbd3ff;
    cursor:pointer;
    height:40px;
    line-height:40px;
    padding-left:15px;
    position:relative;
    text-shadow:0px 0px 5px #e600ff;
    transition:color 0.25s, text-shadow 0.25s;
    width:60px;
}

#divAppUserNotifications #btnBackToNotifiactions:hover, #divAppUserNotifications #btnBackToNotifiactions:focus
{
    color:#cffdff;
    text-shadow:0px 0px 5px #01eff9;
}

#divAppUserNotifications #btnBackToNotifiactions:before
{
    background-color:#fbd3ff;
    box-shadow:0px 0px 5px #e600ff;
    content:"";
    display:block;
    height:2px;
    left:0px;
    position:absolute;
    top:16px;
    transform:rotate(-45deg);
    transition:background-color 0.25s, box-shadow 0.25s;
    width:10px;
}

#divAppUserNotifications #btnBackToNotifiactions:after
{
    background-color:#fbd3ff;
    box-shadow:0px 0px 5px #e600ff;
    content:"";
    display:block;
    height:2px;
    left:0px;
    position:absolute;
    top:22px;
    transform:rotate(45deg);
    transition:background-color 0.25s, box-shadow 0.25s;
    width:10px;
}

#divAppUserNotifications #btnBackToNotifiactions:hover:before, #divAppUserNotifications #btnBackToNotifiactions:focus:before, #divAppUserNotifications #btnBackToNotifiactions:hover:after, #divAppUserNotifications #btnBackToNotifiactions:focus:after
{
    background-color:#cffdff;
    box-shadow:0px 0px 5px #01eff9;
}

#divAppUserNotifications #divNotificationDate
{
    color:#cffdff;
    margin-bottom:10px;
    text-shadow:0px 0px 5px #01eff9;
}

#divAppUserNotifications #divNotificationTitle
{
    color:#ffffff;
    font-size:18px;
    margin-bottom:10px;
}

#divAppUserNotifications #divNotificationMessage
{
    max-height:324px;
    overflow-y:auto;
}

#divAppUserNotifications #btnDeleteNotification
{
    display:none;
    margin-top:20px;
}

#divAppUserNotifications #btnDeleteNotification.show
{
    display:inline-block;
}

/* ANIMATION KEY FRAMES */
@keyframes showUserNotifications
{
	0%   {opacity:0;}
	1%   {opacity:0;}
	100% {opacity:1;}
}

/* MEDIA QUERIES */
@media (max-height: 587px)
{
    /* USER NOTIFICATIONS POPUP */
    #divAppUserNotifications #divUserNotificationsPopup
    {
        height:calc(100% - 100px);
        overflow-y:auto;
        top:20px;
		transform:translate(-50%, 0%);
    }

    #divAppUserNotifications #divUserNotifications, #divAppUserNotifications #divNotificationMessage
    {
        max-height:none;
    }
}

@media (max-width: 1200px)
{
    /* HEADER NOTIFICATIONS */
    #divAppHeader #divHeaderNotifications
    {
        display:none;
    }
}

@media (max-width: 540px)
{
    /* USER NOTIFICATIONS POPUP */
    #divAppUserNotifications
    {
        display:block;
		opacity:1;
		transform:translate(-100%, 0%);
		transition:transform 0.25s;
    }

    #divAppUserNotifications.show
    {
        animation:none;
		transform:translate(0%, 0%);
    }

    #divAppUserNotifications #divUserNotificationsOverlay
    {
        background-color:rgba(0, 0, 0, 0.25);
    }

    #divAppUserNotifications #divUserNotificationsPopup
    {
        box-shadow:none;
        border-radius:0px;
        height:calc(100% - 120px);
        left:0%;
        opacity:1;
        overflow-y:auto;
        padding:20px 20px 100px;
        top:0%;
        transform:translate(0%, 0%);
        width:calc(100% - 100px);
    }

    #divAppUserNotifications.show #divUserNotificationsPopup
    {
        animation:none;
    }

    #divAppUserNotifications #btnClosePopup
    {
        right:15px;
        top:15px;
    }

    #divAppUserNotifications #btnClosePopup:before, #divAppUserNotifications #btnClosePopup:after
    {
        background-color:#fbd3ff;
        box-shadow:0px 0px 5px #e600ff;
    }

    #divAppUserNotifications #divUserNotifications, #divAppUserNotifications #divNotificationMessage
    {
        max-height:none;
    }
}

@media (max-width: 420px)
{
    /* USER NOTIFICATIONS POPUP */
    #divAppUserNotifications #divUserNotificationsPopup
    {
        height:calc(100% - 115px);
        padding:15px 15px 100px;
        width:calc(100% - 70px);
    }

    #divAppUserNotifications #btnClosePopup
    {
        right:10px;
        top:10px;
    }

    #divAppUserNotifications #divUserNotifications, #divAppUserNotifications #divNotificationMessage
    {
        max-height:none;
    }
}
