#members-cp h2.hndle,
#members-cp-side h2.hndle {
	border-bottom: none !important;
	justify-content: flex-start;
}

#members-cp h2.hndle svg,
#members-cp-side h2.hndle svg {
	margin-right: 5px;
}


#members-cp-side .postbox-header {
	border-bottom: none !important;
}

#members-cp-side .handle-actions .handle-order-higher,
#members-cp-side .handle-actions .handle-order-lower {
	display: none;
}

#members-cp-side .handle-actions .handlediv {
	position: absolute;
	right: 5px;
}

.members-upgrade-header {
  text-align: center;
  padding: 5px;
}

.members-upgrade-header a {
  color: #F59431;
}

.memberpress-paid-memberships {
	background-color: #f5f5f5;
	padding: 50px 10px;
	text-align: center;
}

.memberpress-paid-memberships a {
	background-color: #0E4598;
	display: inline-block;
	padding: 10px 20px;
	border-radius: 300px;
	color: #fff;
	text-decoration: none;
	margin-top: 20px;
}

#members-cp-side .members-tabs {
	position: relative;
}

#members-cp-side .members-tab-nav {
	background-color: transparent;
	margin-bottom: 20px;
	border-right: none !important;
}

#members-cp-side .members-tab-nav .members-tab-title {
	width: 33.333%;
	height: 50px;
	border-right: none !important;
}

#members-cp-side .members-tab-nav .members-tab-title a {
	border: none;
}

#members-cp-side .members-tab-content h3 {
	font-weight: bold;
	font-size: 15px;
	margin-top: 0;
	color: #000;
	margin-bottom: 10px;
}

#members-cp-side .members-tab-content .memberpress-paid-memberships {
	text-align: left;
	padding: 20px;
}

#members-cp-side .members-tab-content .memberpress-paid-memberships a {
	display: block;
	text-align: center;
}

#members-cp-side .members-tabs .members-tab-nav li a i,
#members-cp-side .members-tabs .members-tab-nav li[aria-selected="false"] a i {
	color: #555;
}

#members-cp-side .members-tabs .members-tab-nav li a svg,
#members-cp-side .members-tabs .members-tab-nav li[aria-selected="false"] a svg {
	fill: #555;
}

#members-cp-side .members-tabs .members-tab-nav li[aria-selected="true"] a {
	background-color: transparent;
	border-bottom: 2px solid #3582AE;
}

#members-cp-side .members-tabs .members-tab-nav li[aria-selected="true"] a i {
	color: #3582AE;
}

#members-cp-side .members-tabs .members-tab-nav li[aria-selected="true"] a svg {
	fill: #3582AE;
}

.members-tab-title svg,
.members-tab-title[aria-selected="false"] svg {
	fill: #0073aa;
}

.members-tab-title[aria-selected="true"] svg {
	fill: #555;
}

#wpcontent #members-admin-header {
  margin-left: -20px;
  padding: 0;
  padding-left: 22px;
  background-color: #f9f9f9;
  background-repeat: repeat;
  background-size: 1200px 75px;
  min-height: 36px;
  position: relative;
  /* border-bottom: 2px solid #00cee6; */
}

#wpcontent #members-admin-header img.members-logo {
  height: 90px;
}

.members-upgrade-header #close-members-upgrade-header {
  position: absolute;
  right: 20px;
  top: 3px;
}

.members-upgrade-header #close-members-upgrade-header:hover {
	cursor: pointer;
}

/* ====== Members Settings Screen. ====== */

.members_page_members-settings .welcome-panel {
	margin-top: 0;
	padding:    40px 20px;
}

.members_page_members-settings .welcome-panel .about-description {
	margin: 20px 0;
}

.members_page_members-settings .welcome-panel-content {
	margin: 0;
}

@media screen and (min-width: 870px) {

	.members_page_members-settings .members-short-p {
		max-width: 612px;
		margin-left: auto;
		margin-right: auto;
	}

	.members_page_members-settings .welcome-panel-content {
		text-align: center;
	}
}

.members_page_members-settings .welcome-panel .button.button-hero {
	margin-left: auto;
	margin-right: auto;
}

.members_page_members-settings .members-svg-wrap {
	display: inline-block;
	margin: 0 auto 20px;
}

@media screen and (max-width: 870px) {
	.members_page_members-settings .welcome-panel {
		padding: 20px;
	}

	.members_page_members-settings .members-svg-wrap {
		float: left;
		margin-right: 28px;
	}

	.admin_page_members-settings.rtl .members-svg-wrap {
		float: right;
		margin-right: 0;
		margin-left: 28px;
	}
}

.members_page_members-settings .members-svg-link {
	display: table-cell;
	text-align: center;
	width: 128px;
	height: 128px;
	background: #363b3f;
	color: #fff;
	padding: 24px 16px 16px;
	border-radius: 50%;
	box-sizing: border-box;
	border: 4px solid #ffffff;
	box-shadow: 0 0 0 4px #363b3f;
}

.members_page_members-settings .members-svg-link svg {
	max-width: 84px;
	max-height: 64px;
	width: auto;
	height: auto;
}

.members-addons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding-right: 9px;
}

.members-addons .plugin-card-top {
	width: 100%;
}

.members-addon {
	width: 100%;
	position: relative;
	float: none;
	display: flex;
	align-items: center;
}

.members-addon .desc {
	margin-bottom: 80px;
}

.addon-activate {
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 3px;
	padding: 5px 10px 10px;
	display: inline-block;
	width: 100px;
	position: absolute;
	right: 20px;
	bottom: 20px;
}

.activate-toggle:hover {
	cursor: pointer;
}

.activate-toggle svg {
	max-width: 20px;
	position: relative;
	top: 5px;
}

.activate-toggle svg {
	transform: rotate(180deg);
}

.activate-toggle svg.active {
	transform: rotate(0);
}

.activate-toggle svg path {
	fill: #cccccc;
}

.activate-toggle svg.active path {
	fill: #8CBD5A;
}

.activate-toggle.processing {
	cursor: not-allowed;
	pointer-events: none;
	opacity: 0.5;
}

.activate-toggle .action-label {
	display: inline-block;
	width: 50px;
	text-align: left;
}

.mepr_dummy_txns {
	filter: blur(3px);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 5;
	pointer-events: none;
}

.mepr_dummy_txns::after {
	background-color: rgba(0,0,0,.2);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 6;
}

.mepr-upgrade-table {
	position: relative;
}

.mepr-upgrade-table .mepr-upgrade {
	position: relative;
	top: 100px;
	z-index: 10;
	background: rgba( 0,0,0,.2 );
	width: 100%;
	height: 100%;
	max-width: 600px;
	margin: 0 auto;
	box-shadow: 0 0 30px #ccc;
}

.mepr-upgrade-content {
	background-color: #fff;
	padding: 20px;
	text-align: center;
}

.mepr-upgrade-content h2 {
	font-size: 24px;
}

.mepr-upgrade-content h4 {
	font-size: 18px;
}

.mepr-upgrade-content .features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 30px;
	grid-row-gap: 10px;
	align-items: center;
	justify-content: center;
	text-align: left;
	padding: 10px;
}

.features li:before {
	content: "\f147";
	font-family: dashicons;
	color: green;
	font-size: 20px;
	position: relative;
	top: 4px;
	margin-right: 10px;
}

.mepr-upgrade-cta {
	text-align: center;
	background-color: #f2f2f2;
	padding: 20px;
}

.mepr-upgrade-cta .mepr-cta-button {
	display: block;
	max-width: 300px;
	margin: 0 auto 20px;
	background-color: #FD9C27;
	color: #fff;
	padding: 15px;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	border-radius: 300px;
}

.members-plugin-card.plugin-card:nth-child(even) {
	margin-right: inherit;
}

.members-plugin-card.plugin-card:nth-child(odd) {
	clear: none;
	margin-left: inherit;
}

.members-plugin-card.plugin-card .plugin-card-top {
	min-height: 0;
	padding: 30px 20px;
}

.members-plugin-card.plugin-card .plugin-icon {
	top: 30px;
}

.members-plugin-card.plugin-card .plugin-card-bottom .column-status {
	font-weight: bold;
}

.members-plugin-card.plugin-card .plugin-card-bottom .column-status .active {
	color: #8CBD5A;
}

.members-plugin-card.plugin-card .plugin-card-bottom .column-status .inactive {
	color: red;
}

.members-plugin-card.plugin-card .plugin-icon {
	width: 64px;
	height: auto;
}

.members-plugin-card.plugin-card .name,
.members-plugin-card.plugin-card .desc {
	margin-right: 0;
	margin-left: 84px;
}

.memberpress-about .welcome-panel-column-container {
	display: flex;
}

.memberpress-about .mp-logo {
	max-width: 256px;
	margin: 50px;
}

.members-about-addons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 20px;
}

.members-about-addons .members-plugin-card {
	margin: 0;
	width: 100%;
}

.members-about-addons .members-plugin-card .name h3 a {
	text-decoration: none;
}

.members-about-addons .members-plugin-card .plugin-card-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* ====== Manage Roles Screen. ====== */

@media only screen and ( min-width: 783px ) {

	.members_page_roles .column-users,
	.members_page_roles .column-granted_caps,
	.members_page_roles .column-denied_caps {
		width:      100px;
		text-align: center;
	}
}

/* ====== Edit/New Role Screen. ====== */

/* === Role and Role Name === */

.members-title-div #titlewrap input {
	padding:          0 8px;
	font-size:        1.7em;
	line-height:      normal;
	height:           1.7em;
	width:            100%;
	outline:          none;
	margin:           0 0 3px;
	background-color: #fff;
}

.members-title-div input[name="role"] {
	font-size: 13px;
	height:    22px;
	margin:    0;
	width:     16em;
}

/* === Edit Capabilities Tabs === */

/* Wrapper box */

#tabcapsdiv { margin-top: 1em; }

	#tabcapsdiv > .hndle {
		padding:       10px;
		border-bottom: 1px solid #eee;
	}

	#tabcapsdiv .inside,
	#members-cp .inside {
		margin:  0;
		padding: 0;
	}

/* Tabs wrapper. */

.members-cap-tabs,
.members-tabs {
	overflow:   hidden;
	background: #fff;
	background: linear-gradient( 90deg, #fafafa 0%, #fafafa 20%, #fff 20%, #fff 100% );
}

	@media only screen and ( max-width: 782px ) {

		.members-cap-tabs,
		.members-tabs {
			background: linear-gradient( 90deg, #fafafa 0%, #fafafa 48px, #fff 48px, #fff 100% );
		}
	}

	/* Tab nav. */

	.members-cap-tabs .members-tab-nav,
	.members-tabs .members-tab-nav {
		position:         relative;
		float:            left;
		list-style:       none;
		width:            20%;
		line-height:      1em;
		margin:           0 0 -1px 0;
		padding:          0;
		background-color: #fafafa;
		border-right:     1px solid #eee;
		box-sizing:       border-box;
	}

		.members-cap-tabs .members-tab-nav li,
		.members-tabs .members-tab-nav li {
			display:     block;
			position:    relative;
			margin:      0;
			padding:     0;
			line-height: 20px;
		}

			.members-cap-tabs .members-tab-nav li a,
			.members-tabs .members-tab-nav li a {
				display:         block;
				margin:          0;
				padding:         10px;
				line-height:     20px !important;
				text-decoration: none;
				border-bottom:   1px solid #eee;
				box-shadow:      none;
			}

				.members-cap-tabs .members-tab-nav li a .dashicons,
				.members-tabs .members-tab-nav li a .dashicons {
					line-height:  20px;
					margin-right: 3px;
				}

			.members-cap-tabs .members-tab-nav li[aria-selected="true"] a,
			.members-tabs .members-tab-nav li[aria-selected="true"] a {
				position:         relative;
				font-weight:      bold;
				color:            #555;
				background-color: #e0e0e0;
			}

	@media only screen and ( max-width: 782px ) {

		.members-cap-tabs .members-tab-nav,
		.members-tabs .members-tab-nav { width: 48px; }

		.members-cap-tabs .members-tab-nav li a .dashicons,
		.members-tabs .members-tab-nav li a .dashicons {
			width:       24px;
			height:      24px;
			font-size:   24px;
			line-height: 24px;
		}

			.members-tab-nav li .dashicons::before,
			.members-tab-nav li .dashicons::before {
				width:  24px;
				height: 24px;
			}

		.members-tab-nav li .label {
			overflow: hidden;
			position: absolute;
			top:      -1000em;
			left:     -1000em;
			width:    1px;
			height:   1px;
		}
	}

	/* Tab content wrapper */

	.members-cap-tabs .members-tab-wrap,
	.members-tabs .members-tab-wrap {
		float:       left;
		width:       80%;
		margin-left: -1px;
	}

	@media only screen and ( max-width: 782px ) {

		.members-cap-tabs .members-tab-wrap,
		.members-tabs .members-tab-wrap {
			width: calc( 100% - 48px );
		}
	}

#members-cp .members-tab-content {
	padding: 10px;
	border-left: 1px solid #e5e5e5;
}

/* === Manager when in the side meta box. === */

@media only screen and ( min-width: 850px ) {

	#side-sortables .members-tabs { background: #fff; }

	#side-sortables .members-tabs .members-tab-wrap { width: 100%; }

	#side-sortables .members-tabs .members-tab-nav {
		display: table;
		width:   100%;
	}

		#side-sortables .members-tabs .members-tab-nav li {
			display:      table-cell;
			text-align:   center;
			border-right: 1px solid #eee;
		}

			#side-sortables .members-tabs .members-tab-nav li:last-of-type { border-right: none; }

		#side-sortables .members-tabs .members-tab-nav li a {
			padding:     10px 0;
		}

		#side-sortables .members-tabs .members-tab-nav .dashicons {
			width:       24px;
			height:      24px;
			font-size:   24px;
			line-height: 24px;
		}

			#side-sortables .members-tabs .members-tab-nav .dashicons::before {
				width:  24px;
				height: 24px;
			}

			#side-sortables .members-tabs .members-tab-nav .label {
				overflow: hidden;
				position: absolute;
				top:      -1000em;
				left:     -1000em;
				width:    1px;
				height:   1px;
			}
	}


	.members-tabs .members-tabs-label {
		display       : block !important;
		font-weight   : bold;
		display       : inline-block;
		margin-bottom : 4px;
	}

		.members-tabs .butterbean-control-checkbox .members-tabs-label {
			display: inline !important;
		}

	.members-tabs .members-tabs-description {
		display       : block;
		font-style    : italic;
		margin-top    : 4px;
	}

		.members-tabs .members-tabs-label + .members-tabs-description {
			margin-top    : 0;
			margin-bottom : 4px;
		}

/* Tab tables. */

#tabcapsdiv table {
	border-right:  none;
	border-top:    none;
	border-bottom: none;
}

	/* Tabs table columns. */

	#tabcapsdiv table td,
	#tabcapsdiv table th {
		padding: 10px;
		padding-bottom: 10px;
		border-bottom: 1px solid #eee;
		font-size: 13px;
		line-height: 20px;
	}

	#tabcapsdiv table td { padding: 9px; }

	#tabcapsdiv tbody tr:last-of-type td { border-bottom: none; }

	#tabcapsdiv tfoot th { border-color: #eee; }

	@media only screen and ( max-width: 782px ) {

		#tabcapsdiv table td,
		#tabcapsdiv table th {
			line-height: 24px;
		}
	}

	/* Grant/Deny columns. */

	.members-roles-select .column-grant,
	.members-roles-select .column-deny {
		width:      70px !important;
		text-align: center;
		display:    table-cell !important;
		clear:      none !important;
	}

	/* Cap grant/deny button. */

	.members-cap-tabs button {
		display: inline;
		margin:        -4px;
		line-height:   inherit;
		padding:       4px 8px;
		border:        1px solid transparent;
		background:    transparent;
		border-radius: 0;
		outline:       none;

			-webkit-transition: all 0.25s ease-out;
			   -moz-transition: all 0.25s ease-out;
			      -o-transition:  all 0.25s ease-out;
			        transition: all 0.25s ease-out;
	}

		.members-cap-tabs button:hover,
		.members-cap-tabs button:focus {
			border-color: #eee;
			background:   #fafafa;
			cursor:       pointer;
		}

		.members-cap-tabs button:active {
			color:        #0073aa;
			border-color: #0073aa;
		}

		.members-cap-tabs button + .dashicons {
			display:       none;
			margin-top:    1px;
			margin-bottom: -1px;
			line-height:   inherit;
		}

			.members-cap-tabs button:hover + .dashicons,
			.members-cap-tabs button:focus + .dashicons {
				display: inline-block;
			}


	/* New cap highlight */

	.members-tab-content .members-highlight {
		background-color: rgba( 0, 115, 170, 0.05 );
	}

	.members-tab-content tbody {
		-webkit-transition: all 2s ease-in-out;
		   -moz-transition: all 2s ease-in-out;
		      -o-transition:  all 2s ease-in-out;
			transition: all 2s ease-in-out;
	}

/* ====== Edit Post ====== */

/* Role checkboxes in the Content Permissions meta box. */

.members-cp-role-list-wrap {
	overflow:         auto;
	min-height:       42px;
	max-height:       200px;
	padding:          0 0.9em;
	border:           solid 1px rgb(223, 223, 223);
	background-color: rgb(253, 253, 253);
}
