/* modal css start */
/* The Modal (background) */
.js-modal-post-alert
{
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 999; /* Sit on top */
	left: 10px;
	bottom: 10px;
	width: 20%;
	overflow: auto;
	background-color: #fff;
	border-radius: 5px;
	min-width: 350px;
	max-height: 170px;
}

/* Modal Content */
.js-modal-post-alert .modal-post-alert-content
{
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop
{
	from {top:-300px; opacity:0} 
	to {top:0; opacity:1}
}

@keyframes animatetop
{
	from {top:-300px; opacity:0}
	to {top:0; opacity:1}
}

/* The Close Button */
.js-modal-post-alert .modal-post-alert-close
{
	color: white;
	float: right;
	font-size: 24px;
	font-weight: bold;
	line-height: 30px;
	opacity: 0.7;
}

.js-modal-post-alert .modal-post-alert-close:hover,
.js-modal-post-alert .modal-post-alert-close:focus
{
	opacity: 1;
	text-decoration: none;
	cursor: pointer;
}

.js-modal-post-alert .modal-post-alert-header
{
  padding: 2px 16px;
  background-color: black;
  color: white;
}

.js-modal-post-alert .modal-post-alert-header .modal-post-alert-title
{
	display: inline-block;
	margin: 5px;
	font-size: 16px;
}

.js-modal-post-alert .modal-post-alert-body
{
	padding: 20px;
	margin: 0 auto;
	padding-top: 0px;
}

.js-modal-post-alert .modal-post-alert-body .post-title
{
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.js-modal-post-alert .modal-post-alert-body .post-content
{
	font-size: 15px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.js-modal-post-alert .modal-post-alert-body .post-link
{
	text-decoration: underline;
	font-size: 16px;
	display: block;
	margin-top: -8px;
}

.js-modal-post-alert .modal-post-alert-footer
{
  padding: 2px 16px;
  background-color: white;
  color: white;
}

@media (max-width: 370px)
{
	.js-modal-post-alert
	{
		min-width: 330px;
	}
}

/* modal css end */

.user-post-alert-settings-section .btn-save-post-alert-user-settings
{
	margin-top: 10px;
}
