.notifications-modal-content .content-area.notifications-content {
	width: 100% !important;
	max-width: 1000px;
	box-sizing: border-box;
	margin: auto;
	padding: 0 1em;
}

#notifications-popup > .notifications-modal-content {
	overflow: auto;
	height: auto;
	position: relative;
}

.notifications-modal-content .wrap {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	margin: 2em auto;
	padding: 0 2em;
	font-size: 16px;
	max-height: 90vh;
	overflow: auto;
	height: auto;
}
.content-area.notifications-content {
	width: 100% !important;
}

.content-area.notifications-content article {
	padding: 0 0 2em 0 !important;
}

.content-area.notifications-content .entry-header {
	padding: 0 0 1em 0;
}

.content-area.notifications-content h1 {
	color: #333 !important;
	font-size: 1.875rem !important;
	font-weight: bold !important;
	text-transform: none !important;
	margin: 0;
}

#notifications-page {
	max-width: 800px;
	margin: auto;
}

#notifications-page input[type="button"] {
	cursor: pointer;
	padding: 1em 2em;
}

div#notifications-header {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1em;
}

#notifications-header select {
	width: auto;
	min-height: 2em;
	float: right;
	outline: none;
}

#notifications-header > span:first-child {
	font-weight: bold;
	line-height: 30px;
}

#notifications-list tbody tr:nth-child(odd) {
	background: #eee;
}

#notifications-list {
	table-layout: fixed;
	min-height: 100px;
	width: 100%;
}

#notifications-list th,
#notifications-list td {
	padding: 8px;
}

#notifications-list th:first-child,
#notifications-list td:first-child {
	width: calc(100% - 65px);
}

#notifications-list th:last-child,
#notifications-list td:last-child {
	width: 65px;
}

.notifications-error {
	font-weight: bold;
	text-align: center;
}

.update-notification-button, .delete-notification-button {
	width: 24px;
	float: right;
	cursor: pointer;
}

#more-button:disabled {
	cursor: not-allowed;
	opacity: 0.3;
}

.notifications-modal h3 {
	padding-top: 0;
	font-weight: bold;
}

.notifications-modal label, .notifications-modal input {
	display: block;
	padding-top: 15px;
}

#send-button, #create-button, #update-button {
	margin-top: 25px;
}

.notification-cell {
	position: relative;
}

.notification-cell:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 5px;
	background-color: #f06292;
}

.notification-cell.read:before {
	display: none;
}

.notification-data {
	font-size: 0.7em;
	opacity: 0.7;
}

/* Modal */
.notifications-modal {
	display: none;
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
}

.notifications-modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	top: 50%;
	transform: translateY(-50%);
	padding: 20px;
	border: 1px solid #888;
	max-width: 80%;
	width: 800px;
}

.close {
	position: absolute;
	right: 20px;
	top: 10px;
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	z-index: 20;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.notifications-modal input[type="text"] {
	width: 100%;
}

.notifications-modal input,
.notifications-modal #content-text,
.notifications-modal #update-content-text {
	border: 1px solid #bbb;
	border-radius: 3px;
	padding: 0.7em;
}

.notifications-modal input:not([type="button"]):focus, .notifications-modal #content-text:focus, .notifications-modal #update-content-text:focus {
	outline: none;
	color: #222;
	border-color: #333;
}

/* End Modal */

/* Menu */

.menu-item-notifications {position: relative;display: inline-block;vertical-align: middle;width: 1.2em;height: 1.2em;font-size: 1.125em;margin-left: 0.1em;}

.menu-item-notifications svg.icon {
	position: absolute;
	opacity: 0.7;
	height: 1em;
	width: 1em;
	font-size: 1.125em;
	display: inline-block !important;
}

.menu-item-notifications svg.icon path {
	fill: #111;
}

.unread-notifications-count {
	background: #f00 center center;
	color: #fff;
	border-radius: 50%;
	position: absolute;
	font-size: 0.7em;
	line-height: 1.35em;
	top: -0.8em;
	right: -0.7em;
	height: 1.4em;
	width: 1.4em;
	text-align: center;
}

.buttons-block{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-top: 1em;
}
/* End Menu */

/* Media */

@media (max-width: 767px ) {
	.notifications-modal-content .close {
		top: 7px;
		right: 15px;
	}

	.notifications-modal-content {
		width: 100%;
		padding: 15px;
		max-width: unset;
	}

	#notifications-popup > .notifications-modal-content {
		width: calc(100% - 30px);
	}


	.notifications-modal-content .wrap {
		padding: 0;
		font-size: 14px;
	}

	.content-area.notifications-content h1 {
		font-size: 1.8rem !important;
	}

	.notifications-modal h3 {
		font-size: 1.3em;
		margin: 10px 0;
	}

	.notifications-modal label,
	.notifications-modal input,
	.notifications-modal #content-text,
	.notifications-modal #update-content-text {
		font-size: 15px;
	}

	#more-button {
		padding: 1em 7px;
		float: left;
		clear: both;
	}

	#create-notification-button {
		padding: 1em 7px;
		float: left;
		margin: 10px 0 0 0;
		clear: both;
	}
}
