/*spacer*/
.spacer label {
  border-bottom: 1px solid #EEEEEE;
  display: block;
  width:100%;
  max-width:100% !important;
  margin-top:15px;
  color:#AAA;
}

.spacer hr { border: medium none; border-bottom:1px solid #eee; }


/*
/* GENERAL STYLES
/* ------------------------------------- */
.acm-panel fieldset.panelform {
  padding: 0 !important;
  margin: 0 !important;
}

.ja-acm-admin {
  background: #fff;
  padding: 0;
  font-size: 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #555;
  position: relative;
}

.ja-acm-admin.joomla3 {
  border: 1px solid #eee;
  padding: 2px;
}

.tab-pane h3 {
  position: relative;
}


/* 
/* Forms J 2.5
*/
fieldset.radio {
  background: transparent !important;
}

.ja-acm-admin.joomla2 .button2-left,
.ja-acm-admin.joomla2 .media-preview {
  background: none !important;
  margin-top: 5px;
  margin-left: 5px;
}

.ja-acm-admin.joomla2 .media-preview .hasTipPreview {
  display: inline-block;
  padding: 3px 10px !important;
}

.ja-acm-admin.joomla2 .blank > a {
  border: 1px solid #ccc;
  background: #f2f2f2;
  color: #333;
  height: auto;
  padding: 3px 10px !important;
}

.ja-acm-admin.joomla2 .blank > a:hover {
  border: 1px solid #039be5;
  background: #039be5;
  color: #fff !important;
}

.ja-acm-admin.joomla2 select {
  border: 1px solid #ccc;
  background: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
}

.ja-acm-admin label,
.ja-acm-admin input,
.ja-acm-admin button,
.ja-acm-admin select,
.ja-acm-admin textarea,
.ja-acm-admin .chzn-container,
.ja-acm-admin .chzn-single {
  border-radius: 0 !important;
  font-size: 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ja-acm-admin .control-label {
  display: block;
  float: left;
  width: 200px !important;
  text-align: right !important;
  padding: 22px 20px 0 !important;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.ja-acm-admin .control-label label {
  font-weight: bold;
  display: block;
  margin: 0;
}

.ja-acm-admin .controls {
  display: block;
  margin-left: 200px;
  padding: 20px !important;
}

.ja-acm-admin.joomla2 .controls {
  padding: 15px 20px !important;
  overflow: auto;
}

.ja-acm-admin.joomla2 .radio input[type="radio"], 
.ja-acm-admin.joomla2 .checkbox input[type="checkbox"] {
  margin: 7px 10px 5px 0;
}

/* 
/* Layout
*/
.jatools-header {
  margin: 0 !important;
  background: #039be5;
}

.jatools-subheader {
  margin: 0!important;
  border-top: 1px solid #038ccf;
  background: #039be5;
}

.jatools-header label, .jatools-subheader label {
  color: #fff;
}

.jatools-layout-desc {
  color: #ecf7fd;
  padding: 5px 20px 20px 200px;
  background: #039be5;
  margin: 0;
}

/* Form Group */
.jatools-group {
  padding: 0;
}

.jatools-group .jatools-row {
  position: relative;
  width: auto;
}

.jatools-group .jatools-row:hover {
  background: #fffeef;
}

.jatools-group.jatools-multiple .jatools-row::before {
  display: block;
  background: #fff;
  border-bottom: 1px solid #eee;
  color: #999;
  content: "ADDED GROUP";
  text-indent: 180px;
  line-height: normal;
  font-size: 10px;
  padding: 6px 20px 5px;
}

.jatools-group.jatools-multiple .jatools-row:hover:before {
  background: #666;
  border-color: #666;
  color: #fff;
}

.jatools-group.jatools-multiple .jatools-group-header + .jatools-row::before {
  content: "DEFAULT GROUP";
}

.jatools-group.jatools-multiple.jatools-hoz .jatools-row::before,
.jatools-group.jatools-multiple.jatools-hoz .jatools-row:hover:before,
.jatools-group.jatools-multiple.jatools-hoz .jatools-group-header + .jatools-row::before {
    display: none;
}
/* Row Actions */
.jatools-row-actions {
  padding: 10px 10px 10px 200px;
}

.jatools-row-actions .btn {
  display: inline-block;
  background-image: none;
  box-shadow: none;
  text-shadow: none;
  border-radius: 0;
  background: #f2f2f2;
  color: #333;
  border: 1px solid #ccc;
  padding: 8px 14px;
  line-height: normal;
  font-size: 14px;
  cursor: pointer;
}

/* Added Row Btn */
.jatools-group .jatools-btn-add:hover {
  background: #0384c2;
  color: #fff;
  border-color: #0275ad;
}

/* Delete Row Btn */
.jatools-group .jatools-btn-del {
  display: none;
}

.jatools-row:hover .jatools-btn-del {
  display: block;
}


.jatools-group .jatools-btn-del {
  position: absolute;
  top: 0;
  right: 0;
  background: #f44336;
  border-radius: 0;
  border: 0;
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: bold !important;
  padding: 6px 20px;
  line-height: normal;
  text-shadow: none !important;
  box-shadow: none !important;
}

.jatools-group .jatools-btn-del:hover {
  background: #cf392e;
}


/*
/* Control Group
*/
.jatools-group .control-group {
  clear: both;
  margin: 0 !important;
  border-bottom: 1px solid #eee;
}

/* Group Header*/
.jatools-group-header {
  background: #f2f2f2;
  padding: 20px 20px 20px 200px;
}

.jatools-group-header .fieldset-title {
  clear: both;
  font-weight: bold;
  color: #222;
  background: transparent !important;
  padding: 0;
  margin: 0;
  font-size: 18px;
}

.jatools-group-header .fieldset-desc {
  clear: both;
  padding: 0;
  margin: 5px 0 0;
  color: #999;
}


/* Control Label */
.jatools-group .jatools-row .control-label {
  display: block;
  width: 200px;
  padding: 20px;
  text-align: right;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.jatools-group .jatools-row .control-label label {
  margin: 0;
  font-weight: bold;
  color: #555;
}

/* Control */
.jatools-group .jatools-row .controls {
  display: block;
  margin-left: 200px;
  padding: 15px 20px;
  border-left: 1px solid #eee;
}

.jatools-layout-config .jatools-group hr {
	clear: both;
	border: none;
	margin: 20px 0;
}


/* JAChecklist field */
.jachecklist ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.jachecklist ul li.jachecklist-item {
  margin: 0 10px 0 0;
  padding: 6px 16px;
  float: left;
  list-style: none;
  cursor: pointer;
  background: #ddd;
  border-radius: 14px;
}

.jachecklist ul li.jachecklist-item:hover {
  background: #ddd;
}

.jachecklist ul li.jachecklist-item.on {
  background: #259b24;
  color: #fff;
}


/* Advanced button & Form */
.icon-advanced:before {
    content: "y";
}

.icon-32-advanced {
    background-image: url(icon-32-advanced.png);
}

#acm-advanced-input {
    width: 100%;
    height: 95%;
    margin-left: -0.5em;
}

/* horizontal form */
.jatools-hoz td {
    position: relative;
}
.jatools-hoz input[type="text"],
.jatools-hoz input[type="textarea"] {
    max-height: 16px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    margin: 0;
    padding: 5px;
}

.jatools-hoz input[type="text"]:focus,
.jatools-hoz input[type="textarea"]:focus {
    right: auto;
    max-height: 300px;
    z-index: 1000;
}

.jatools-hoz td:last-child input[type="text"]:focus,
.jatools-hoz td:last-child input[type="textarea"]:focus {
    right: 20px;
    left: auto;
}

/* fix for default joomla admin template, wilder the option panel */
#module-form div.main-section {
    width: 38%;
}
#module-form div.width-60 {
    width: 40%;
}
#module-form div.options-section,
#module-form div.width-40 {
    width: 60%;
}


/* textarea auto height */
textarea.autoheight {
    resize: none;
    min-height: 20px;
    overflow: hidden;
}


/*
/* TABLES
/* ----------------------------- */
/*.jaacm-list,
.jaacm-table {
  padding: 20px;
}*/

table.jalist,
table.jatable {
  font-size: 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #555;
  border: 0;
  border-collapse: collapse;
  overflow-x: auto;
}

table.jalist th,
table.jatable th {
  border-width: 1px;
  border-bottom-width: 3px;
  padding: 10px;
  border-style: solid;
  border-color: #ddd;
  background-color: #eee;
  font-weight: bold;
  vertical-align: center;
  text-align: left;
}

table.jalist th label,
table.jatable th label {
  font-weight: bold;
}

table.jalist td,
table.jatable td {
  border-width: 1px;
  border-style: solid;
  border-color: #ddd;
  border-collapse: collapse;
  border-spacing: 0;
  padding: 10px;
  background-color: #fff;
  vertical-align: center;
}

table.jalist .btn.action,
table.jatable .btn.action {
  border: 0px none;
  padding: 2px !important;
  background: #fff;
  text-shadow: none !important;
  box-shadow: none;
  float: left;
}


table.jalist .btn.action i {
  display: block;
  float: none;
  height: 16px;
  width: 16px;
  margin: 0 auto;
  text-indent: -9999px;
}
table.jalist .btn.btn-clone i {
  background: url(icon-add.png) center center no-repeat;
}
table.jalist .btn.btn-delete i {
  background: url(icon-remove.png) center center no-repeat;
}

table.jalist .btn:hover,
table.jatable .btn:hover {
  border: 1px solid #039be5;
  background: #039be5;
  color: #fff;
}

table.jalist textarea,
table.jatable textarea {
  width: 90%;
}

table.jalist th textarea,
table.jatable th textarea,
table.jalist th input,
table.jatable th input {
  width: 70%;
}


table.jalist td:last-child {
  min-width: 50px;
}

table.jalist .btn {
}

table.jalist tr.first .btn-delete {
  display: none !important;
}

table.jalist tr:hover .btn {
  display: inline-block;
}

.control-group.no-label > .controls {
  margin-left: 0 !important;
}

table.jalist .input-short {
    width: 100px;
}

/* make full-screen config panel */
/* full-screen toggle button */
.toggle-fullscreen {
  display: block;
  height: 32px;
  text-align: center;
  width: 32px;
  border: 1px solid #aaa;
  background: #fff;
  position: absolute;
  right: 7px;
  top: 7px;
}

.toggle-fullscreen:hover {
    background: #ccc;
}

.toggle-fullscreen .fa {
    font-size: 18px;
    line-height: 32px;
}


/* full-screen joomla 2 */
body.full-screen #module-sliders .acm-panel .pane-slider {
    height: auto!important;
    overflow: visible!important;;
}

body.full-screen #module-sliders .acm-panel .pane-slider fieldset{
    overflow: visible!important;
}

body.full-screen #module-sliders .acm-panel .pane-slider.pane-hide {
    display: block!important;
}

body.full-screen .width-40 {
    width: 100%!important;
}

body.full-screen .width-60 {
    display: none!important;
}

/* full-screen Joomla 3 */
body.full-screen .span9 {
    width: 100%!important;
		padding-bottom: 100px;
}

body.full-screen .span3 {
    display: none!important;
}

.tingle-modal:before {
  backdrop-filter: unset;
}

/* Improve style for list */
.get-location-action-wrap {
    clear: both;
    margin: 32px 0 24px;
    width: 100%;
}

.get-location-action-wrap a span {
    margin-right: 4px;
}

/* Spacer */
.control-group.field-spacer {
    margin-bottom: 24px;
}

#style-form .control-group.field-spacer .control-label,
.form-horizontal .control-group.field-spacer > .control-label {
    padding-right: 0;
    width: 100%;
}

.control-group.field-spacer .control-label .spacer {
    display: flex;
    align-items: center;
    margin-top: 0;
}

.control-group.field-spacer .control-label label {
    color: #132f53;
    font-size: 13px;
    font-weight: 600;
    border: 0;
    margin-top: 0;
    margin-bottom: 0;
    text-transform: uppercase;
}

.control-group.field-spacer .control-label .before {
    background-color: #2E486B;
    height: 4px;
    width: 4px;
}

.control-group.field-spacer .control-label span:nth-child(2) {
    padding: 0 6px;
}

.control-group.field-spacer .control-label .after {
    background-color: #DBE4F0;
    height: 4px;
    flex: 1;
}

.control-group.field-spacer .controls {
    font-size: 14px;
}


/* Item list */
.jaacm-list {
    width: 100%;
}

.jalist {
    width: 100%;
}

.jalist .ja-item {
  background-color: #fff;
  border: 1px solid #b8c9e0;
  border-radius: 5px;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 0;
  position: relative;
  transition: all 0.25s ease;
}

.jalist .ja-item:hover {
  border-color: #366342;
  box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}

.jalist .ja-item  > div {
    box-sizing: border-box;
    flex-basis: 25%;
    padding: 12px;
}

.jalist .ja-item > div:nth-child(2) {
  display: flex;
  flex-basis: 35%;
}

.jalist .ja-item > div:nth-child(4) {
  flex-basis: 15%;
}

.jalist .ja-item > div:nth-child(2) > div {
  flex-basis: 50%;
}

.jalist .ja-item > div:nth-child(2) > div:first-child { padding-right: 12px; }
.jalist .ja-item > div:nth-child(2) > div:last-child { padding-left: 12px; }

.jalist .ja-item label {
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}

.jalist joomla-field-media div.field-media-preview {
  display: none !important;
}

.jalist joomla-field-media .input-group .field-media-input {
  border-top-left-radius: 5px;
}

.j3 .jalist .field-media-wrapper .field-media-preview {
  height: 26px;
  padding-left: 12px;
  padding-right: 12px;
  line-height: 26px;
}

.jalist .field-media-wrapper .btn {
  line-height: 26px;
}

.j3 .jalist .ja-item div > input[type="text"] {
  box-sizing: border-box;
  height: 36px;
  line-height: 36px;
  width: 100%;
}

/* Action wrap */
.jalist .ja-item .action-wrap {
  background-color: #fff;
  border: 1px solid #b8c9e0;
  border-radius: 25px;
  display: flex;
  align-items: center;
  padding: 2px;
  position: absolute;
  top: -12px;
  right: 8px;
  z-index: 30;
}

.jalist .ja-item:hover .action-wrap {
    border-color: #366342;
}

div.ja-item > .action-wrap .btn {
  background: transparent;
  border-radius: 50%;
  border: 0;
  display: inline-block;
  font-size: 13px;
  height: 20px;
  line-height: 20px;
  opacity: .5;
  padding: 0;
  width: 20px;
  text-align: center;
}

div.ja-item > .action-wrap .btn i {
  line-height: 20px;
  margin-right: 0;
}

div.ja-item > .action-wrap .btn:hover,
div.ja-item > .action-wrap .btn:focus,
div.ja-item > .action-wrap .btn:active {
  background-color: #457d54;
  color: #fff;
  opacity: 1;
}

div.ja-item > .action-wrap .btn.btn-delete:hover,
div.ja-item > .action-wrap .btn.btn-delete:focus,
div.ja-item > .action-wrap .btn.btn-delete:active {
  background-color: #c52827;
}


/*
/* Clearfix */
.clearfix:before, 
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}