/* Common, default styles for the notification box */

.ns-box {
	position: fixed;
	background: rgba(40, 40, 40, 0.85);
	padding: 0;
	line-height: 1.4;
	z-index: 1; /* Adjust z-index to suit website layout */
	pointer-events: none;
	color: rgba(250,251,255,0.95);
	font-size: 90%;
	font-family: 'Ambleregular';
}

.ns-box.ns-show {
	pointer-events: auto;
}

.ns-box a {
	color: rgb(0, 169, 255);
  /* opacity: 0.7; */
  font-weight: 700;
  text-decoration: underline;
}

.ns-box a:hover,
.ns-box a:focus {
	opacity: 1;
}

.ns-box p {
	margin: 0;
}

.ns-box.ns-show,
.ns-box.ns-visible {
	pointer-events: auto;
}

.ns-close {
	width: 30px;
  height: 30px;
	position: absolute;
	right: 4px;
	top: 4px;
	overflow: hidden;
	text-indent: 100%;
	cursor: pointer;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.ns-close:hover, 
.ns-close:focus {
	outline: none;
}

.ns-close::before,
.ns-close::after {
	content: '';
	position: absolute;
	width: 3px;
	height: 60%;
	top: 50%;
	left: 50%;
	background: #6e6e6e;
}

.ns-close:hover::before,
.ns-close:hover::after {
	background: #fff;
}

.ns-close::before {
	-webkit-transform: translate(-50%,-50%) rotate(45deg);
	transform: translate(-50%,-50%) rotate(45deg);
}

.ns-close::after {
	-webkit-transform: translate(-50%,-50%) rotate(-45deg);
	transform: translate(-50%,-50%) rotate(-45deg);
}

/* Below is code added by Luke on 01/05/2017 */

.ns-box-inner span.fa {
	float: left;
	font-size: 40px;
	padding: 15px 12px;
}

.ns-type-default {
	background: rgba(40, 40, 40, 0.85);
}

.ns-type-notice {
	background: rgba(18, 63, 114, 0.85);
}

.ns-type-warning {
	background: rgba(188, 106, 29, 0.85);
}

.ns-type-error {
	background: rgba(200, 26, 26, 0.85);	
}

.ns-type-special::before {
	opacity: 0.85;
}
.ns-type-special {
	/*background-image: url(../../../img/background-bg.jpg);*/
	background-size: 100% 100%;	
}

/* Below is code added by Luke on 01/05/2017 */
@media only screen and (max-width: 768px) {
	.ns-box-inner span.fa {
		float: left;
		font-size: 30px;
		padding: 25px 17px;
	}
}
