.obfx-template-browser {
	padding: 35px 0 0;
}

.obfx-template-browser .template-name {
	margin: 0;
	padding: 15px;
	font-size: 16px;
	font-weight: 600;
}

.obfx-template {
	float: left;
	position: relative;
	box-sizing: border-box;
	width: 22.7%;
	margin: 0 3% 3% 0;
	border: 1px solid #ddd;
	background: #fff;
	box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1);
}

.obfx-template:nth-child(4n) {
	margin-right: 0;
}

.obfx-template-actions {
	float: right;
	padding: 10px;
}

.obfx-template-actions .button .dashicons {
	line-height: 27px;
}

.obfx-template-actions .button {
	margin-left: 5px;
}

.obfx-template-screenshot {
	display: inline-block;
	overflow: hidden;
	position: relative;
	border: 1px solid #ddd;
	border-right: none;
	border-left: none;
}

.obfx-template img {
	float: left;
	max-width: 100%;
}

.obfx-template-browser.customizer {
	display: block !important;
	padding: 10px 20px 60px;
}

.obfx-custom-customizer #customize-header-actions input.save {
	display: none;
}

.obfx-custom-customizer .control-panel-widgets {
	display: none !important;
}

.obfx-next-prev {
	position: absolute;
	left: 45px;
}

.obfx-next-prev span:hover {
	border-color: #ccc;
	outline: 0;
	color: #000;
	background: #ddd;
	box-shadow: none;
}

.obfx-next-prev .previous-template,
.obfx-next-prev  .next-template {
	display: block;
	float: left;
	position: relative;
	width: 45px;
	height: 45px;
	padding-right: 2px;
	border: none;
	border-right: 1px solid #ddd;
	color: #444;
	background: #eee;
	text-decoration: none;
	cursor: pointer;
	-webkit-transition: color 0.1s ease-in-out,background 0.1s ease-in-out;
	transition: color 0.1s ease-in-out,background 0.1s ease-in-out;
}

.obfx-next-prev .previous-template {
	border-left: 1px solid #ddd;
}

.obfx-next-prev .next-template:before {
	position: relative;
	top: 6px;
	left: 14px;
	font: 400 20px/1 dashicons;
	content: "\f345";
}

.obfx-next-prev .previous-template:before {
	position: relative;
	top: 6px;
	left: 14px;
	font: 400 20px/1 dashicons;
	content: "\f341";
}

.obfx-custom-customizer {
	background: #fff;
}

.obfx-template-browser.customizer .obfx-template {
	display: none;
	float: none;
	width: 100%;
	margin: 0 0 20px 0;
	border: none;
	cursor: default;
}

#customize-controls .obfx-template-actions {
	padding: 0;
}

.obfx-template-browser.customizer .obfx-template.active {
	display: inline-block;
}

.customize-controls-preview-toggle {
	float: left;
	position: relative;
	left: 120px;
}

.obfx-template-browser.customizer .template-name {
	padding-left: 0;
}

.obfx-template-browser.customizer .obfx-template-screenshot {
	border: 1px solid #ddd;
}

.obfx-hide {
	display: none;
}

.obfx-import-elementor-hidden-form {
	display: inline-block;
}

.obfx-done-import {
	margin: 0 10px;
	color: green;
}

.obfx-done-import .dashicons {
	font-size: 30px;
}

#customize-controls .obfx-done-import .dashicons {
	line-height: 50px;
}

.obfx-updating.updating-message.button.button-primary {
	padding: 0 4px 0 10px;
}

#customize-header-actions .button.obfx-import-template,
#customize-header-actions .button.obfx-updating {
	float: right;
	margin-top: 8px;
}

.obfx-no-elementor-modal-wrapper {
	display: none;
	position: fixed;
	z-index: 900000;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0 auto;
	background: rgba(0, 0, 0, 0.8);
}

.obfx-no-elementor-modal {
	position: relative;
	top: 50%;
	width: auto;
	max-width: 550px;
	margin: 0 auto;
	padding: 20px;
	background-color: #fff;
	text-align: right;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.obfx-no-elementor-modal p {
	margin: 30px 0 20px;
	text-align: left;
}

.obfx-no-elementor-modal .modal-header {
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 30px;
	border-bottom: 1px solid #d4d4d4;
	background: #e6e6e6;
}

.obfx-close-modal {
	float: right;
	position: absolute;
	top: 5px;
	right: 5px;
	color: #7b7b7b;
	cursor: pointer;
}
