/**
* @package Helix3 Framework
* @author JoomShaper https://www.joomshaper.com
* @copyright (c) 2010 - 2021 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/

/*Main Tab*/
.helix-options joomla-tab > div[role="tablist"] {
	border-radius: 0;
	padding-left: 20px;
	padding-right: 20px;
	background: #164d7d url(../images/helix-logo.png) no-repeat 100% 50%;
	border: 0;
	box-sizing: border-box;
}

.helix-options joomla-tab > div[role="tablist"] button[role="tab"] {
	background: none;
	padding: 25px 15px;
	line-height: 1;
	border: 0;
	border-radius: 0;
	margin: 0;
	color: #fff;
}

.helix-options joomla-tab > div[role="tablist"] button[role="tab"]:hover,
.helix-options joomla-tab > div[role="tablist"] button[role="tab"][aria-expanded="true"] {
	font-weight: inherit;
	border-top: 5px solid #dbe4f0;
	background-color: #fff;
	color: #164d7d;
	padding: 20px 15px 25px;
}

.helix-options joomla-tab > div[role="tablist"] button[role="tab"]:after {
	display: none;
}

.helix-options joomla-tab > div[role="tablist"] button[role="tab"] i {
	display: inline-block;
	margin-right: 5px;
}

/* Remove fieldset */
.helix-options joomla-tab-element > fieldset {
	border: 0;
	padding: 0;
}

.helix-options joomla-tab-element > fieldset > legend {
	display: none;
}

/*Tab Common*/
.control-group.group-separator {
	border-top: 1px solid #dbe4f0;
	border-bottom: 1px solid #dbe4f0;
	padding: 20px 2vw;
	font-size: 14px;
	color: #000;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 30px -2vw !important;
}

.control-group.group-separator span {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	font-weight: normal;
	text-transform: none;
	color: #999;
}

.helix-options joomla-tab-element * > .control-group.group-separator:first-child {
	border-top: 0;
	padding-top: 0;
	margin-top: 0 !important;
}

.com_templates.view-style .input-append input {
	float: left;
	border-radius: 3px 0 0 3px;
}

.input-append button[type="button"] {
	float: left;
}

/* Layout Builder */
#attrib-layout > .control-group > .controls {
	margin-left: 0;
}

#attrib-layout > .control-group > .control-label {
	display: none;
}

#attrib-layout > div:first-child {
	margin: 30px 0 40px;
}

.layout-button-wrap {
	margin-left: 20px;
}

.layout-button-wrap .btn {
	margin-right: 10px;
}

.layoutbuilder-section {
	padding: 15px 0;
	margin-bottom: 30px;
	background: #f0f0f0;
	border-radius: 4px;
	position: relative;
}

.layoutbuilder-section * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.layoutbuilder-section *:before,
.layoutbuilder-section *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.layoutbuilder-section .row {
	margin-left: 0px;
	margin-right: 0px;
}

.settings-section {
	padding: 0 15px 15px;
}

.settings-section .settings-left,
.settings-section .settings-right {
	list-style: none;
	padding: 0;
	margin: 0;
}

.settings-section .settings-left a.row-move i {
	border-radius: 2px;
	background: #a8a9ad;
	color: #fff;
	padding: 5px;
	margin-right: 5px;
}

.settings-section .settings-left a {
	cursor: move;
	color: #000;
}

.settings-section .settings-left a:hover i {
	background: #0072bc;
}

.layout-column .column {
	background: #fff;
	border-radius: 4px;
	height: 54px;
	line-height: 54px;
	color: #000;
	padding: 0 15px;
}

.layout-column .column:hover {
	cursor: move;
}

.layout-column .column .col-title {
	margin: 0;
	font-size: 14px;
	line-height: 14px;
	font-weight: normal;
	display: inline-block;
	padding: 5px 10px;
	color: #888;
	margin-top: 15px;
	cursor: pointer;
	border-radius: 3px;
}

.layout-column .column a {
	font-size: 18px;
	color: #97989c;
	cursor: pointer;
}

.layout-column .column a:hover {
	color: #0072bc;
}

.layoutlist,
.layout-button-wrap {
	float: left;
}

.com_templates.view-style .layoutlist select {
	display: inline-block;
}

/* Menu Assignment */
#assignment {
	padding: 15px;
}
#assignment #jform_menuselect-lbl,
#assignment .btn-toolbar {
	display: inline-block;
}
#assignment .btn-toolbar {
	margin-right: 30px;
}
#menu-assignment {
	margin-top: 20px;
}

/*Button*/
.button-group {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
}

.button-group > li {
	display: inline-flex;
	position: relative;
}

.button-group > li > .btn {
	border-radius: 0;
	border-right-width: 0;
	padding: 2px 10px;
	border-width: 1px;
	border-right-width: 0;
}

.button-group > li:first-child > .btn {
	border-radius: 3px 0 0 3px;
}

.button-group > li:last-child > .btn {
	border-right-width: 1px;
	border-radius: 0 3px 3px 0;
}

.button-group > li > ul {
	list-style: none;
	padding: 0;
	margin: 0;
	position: absolute;
	top: -5px;
	right: 100%;
	width: 505px;
	padding: 10px 5px;
	background: #b3b3b3;
	border-radius: 3px;
	z-index: 999;
	text-align: center;
	display: none;
}

.button-group > li:hover > ul {
	display: block;
}

.arrange-column:hover .add-column {
	background: #36c77b;
	color: #fff;
}

.button-group > li > ul li {
	display: block;
	float: left;
}

.button-group > li > ul li a {
	text-align: left;
	display: block;
	padding: 0;
	margin: 0 2px;
	color: #fff;
	background-color: transparent;
	width: 29px;
	height: 17px;
	border: 0;
	border-radius: 0;
	background-repeat: no-repeat;
	background-position: 50%;
	-webkit-transition: background-color 400ms;
	transition: background-color 400ms;
}

.button-group > li > ul li a.column-layout-12 {
	background-image: url(../images/layout/12.png);
}

.button-group > li > ul li a.column-layout-3333 {
	background-image: url(../images/layout/3333.png);
}

.button-group > li > ul li a.column-layout-444 {
	background-image: url(../images/layout/444.png);
}

.button-group > li > ul li a.column-layout-66 {
	background-image: url(../images/layout/66.png);
}

.button-group > li > ul li a.column-layout-48 {
	background-image: url(../images/layout/48.png);
}

.button-group > li > ul li a.column-layout-39 {
	background-image: url(../images/layout/39.png);
}

.button-group > li > ul li a.column-layout-57 {
	background-image: url(../images/layout/57.png);
}

.button-group > li > ul li a.column-layout-363 {
	background-image: url(../images/layout/363.png);
}

.button-group > li > ul li a.column-layout-264 {
	background-image: url(../images/layout/264.png);
}

.button-group > li > ul li a.column-layout-210 {
	background-image: url(../images/layout/210.png);
}

.button-group > li > ul li a.column-layout-237 {
	background-image: url(../images/layout/237.png);
}

.button-group > li > ul li a.column-layout-282 {
	background-image: url(../images/layout/282.png);
}

.button-group > li > ul li a.column-layout-222222 {
	background-image: url(../images/layout/222222.png);
}

.button-group > li > ul li a.column-layout-255 {
	background-image: url(../images/layout/255.png);
}

.button-group > li > ul li a.column-layout-2442 {
	background-image: url(../images/layout/2442.png);
}
.button-group > li > ul li a.column-layout-custom {
	background-image: url(../images/layout/custom.png);
}

.button-group > li ul li a:hover,
.button-group > li ul li a.active {
	background-color: rgba(0, 0, 0, 0.2);
}

/*Media*/
.controls .input-append .media-preview.add-on,
.controls .input-prepend .media-preview.add-on {
	border: 0;
	background: none;
	display: block;
	float: none;
	padding: 0;
	margin-bottom: 20px;
}

.controls .modal.btn,
.controls .button-select.btn {
	border-radius: 3px 0 0 3px;
}

.controls .media-preview + input[type="text"] {
	display: none;
}

/* Layout Builder */
#fieldset-layout .control-group .control-label {
	display: none;
}

/*Presets*/
.presets > div {
	display: block;
	padding: 5px;
	margin: 0 20px 20px 0;
	width: 120px;
	height: 80px;
	float: left;
	position: relative;
	cursor: pointer;
}

.presets > div label {
	margin: 0;
}

.presets .preset-title {
	position: absolute;
	left: 0;
	bottom: 0;
	font-size: 12px;
	line-height: 1;
	background: transparent;
	padding: 5px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.presets > div.active {
	-webkit-box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.4);
	box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.4);
}

.presets > div.active .preset-title {
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	padding: 5px 5px 0 0;
	left: 5px;
	bottom: 5px;
}

.com_templates.view-style .minicolors input[type="text"]:not(.minicolors) {
	width: 100%;
	padding-left: 30px;
}

/*Web Font*/
.webfont input[type="text"],
.webfont input[type="number"],
.webfont select {
	width: 100%;
}

.webfont-preview {
	margin-top: 10px;
	margin-bottom: 10px;
}

.font-update-success,
.font-update-failed {
	margin-top: 10px;
	font-weight: bold;
}

.font-update-success {
	color: #51a351;
}

.font-update-failed {
	color: #bd362f;
}

/*Menu Assignment*/
#menu-assignment .thumbnail {
	height: 300px;
	overflow-y: scroll;
}

/*Others*/
.clr {
	clear: both;
}

/* Helix3 Footer Area */
.helix-footer-area {
	background: #164d78;
	padding: 40px 0;
	text-align: center;
}

.helix-footer-area .helix-logo-area {
	display: inline-block;
	width: 130px;
	height: 40px;
	background: url(../images/helix-logo.png) no-repeat;
	background-position: -20px;
	border: 0;
	text-indent: -9999px;
}

.helix-footer-area .template-version {
	background: #8dc63f;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
}

.helix-footer-area .help-links {
	padding-top: 20px;
}

.helix-footer-area .help-links a {
	color: #fff;
	margin-right: 7px;
	margin-left: 7px;
	display: inline-block;
}

/* Modal */
.sp-modal-header .close {
	box-sizing: content-box;
	width: 1em;
	height: 1em;
	padding: 0.25em 0.25em;
	color: #000;
	background: none;
	font-size: 16px;
	border: 0;
	border-radius: 0.25rem;
	opacity: 0.5;
	position: absolute;
	right: 10px;
}

/* Radio */
.controls .radio {
	display: flex;
}

.controls .radio > .form-check {
	margin-right: 16px;
}

/* Button */
.btn.btn-default {
	background-color: #f8f9fa;
	border-color: #f8f9fa;
}
