/* Editor */
.wpgmza-wrap.fullscreen {
    margin: 0;
    margin-left: -20px;
    overflow: hidden;
    
    margin-bottom: -65px;

    position: initial;
}

.wpgmza-wrap.minimal{
    width: 800px;
    max-width: 100%;
}

.wpgmza-wrap .wpgmza-editor{
    width: 100%;
    height: calc(100vh - 32px);
    display: flex;
}

.wpgmza-wrap .wpgmza-editor .sidebar,
.wpgmza-wrap .wpgmza-editor .content{
    height: 100%;
    position: relative;
}


.wpgmza-wrap .wpgmza-editor .sidebar{
    flex: 3;
    background: var(--wpgmza-color-white);
    z-index: 2;
    max-width: 25%;
}

.wpgmza-wrap .wpgmza-editor .sidebar.expanded{
  flex: 5;
  max-width: 41.6666%;
  /*max-width: fit-content;*/
}

.wpgmza-wrap .wpgmza-editor .sidebar form{
    display: block;
    width: 100%;
    height: 100%;
}

.wpgmza-wrap .wpgmza-editor .sidebar .spacer {
    height: 25px;
    background: var(--wpgmza-color-grey-A150);
    box-shadow: inset 0px 4px 7px #3333330f;
    border-bottom: 1px solid var(--wpgmza-color-light);
}

.wpgmza-wrap .wpgmza-editor .sidebar .grouping {
    display: none;
    overflow: hidden;
    height: 100%;
}

.wpgmza-wrap .wpgmza-editor .sidebar .grouping.open {
    display: block;
}

.wpgmza-wrap .wpgmza-editor .sidebar .block {
    padding: 20px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .navigation {
  max-height: calc(100% - 120px);
  overflow-x: hidden;
  overflow-y: auto;
}

.wpgmza-wrap .wpgmza-editor .sidebar .navigation .item{
	padding: 10px 20px;
  border-bottom: 1px solid var(--wpgmza-color-light);
  transition: background 0.3s ease;
}

.wpgmza-wrap .wpgmza-editor .sidebar .heading.has-back .item{
    transition: background 0.3s ease;
    cursor: pointer;
}

.wpgmza-wrap .wpgmza-editor .sidebar .heading.has-back .item:hover{
    background: var(--wpgmza-color-grey-75);
}

.wpgmza-wrap .wpgmza-editor .sidebar .navigation .item:hover{
	cursor: pointer;
	background: var(--wpgmza-color-grey-75);
}

.wpgmza-wrap .wpgmza-editor .sidebar .navigation .item .dashicons {
    margin-right: 0.15rem;
    opacity: 0.4;
    color: var(--wpgmza-color-charcoal);
    font-size: 18px;
    position: relative;
    top: 1px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .navigation .item .nav-item-icon {
    margin-right: 0.15rem;
    width: 20px;
    height: 18px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
    position: relative; 
    top: -1px;
    opacity: 0.4;
}

.wpgmza-wrap .wpgmza-editor .sidebar .navigation .item .nav-item-icon img{
    max-width: 18px;
    max-height: 18px;
    padding: 2px;
    box-sizing: border-box;
}


.wpgmza-wrap .wpgmza-editor .sidebar .grouping .navigation .item,
.wpgmza-wrap .wpgmza-editor .sidebar .grouping .settings,
.wpgmza-wrap .wpgmza-editor .sidebar .grouping .feature-list,
.wpgmza-wrap .wpgmza-editor .sidebar .grouping .upsell-block {
    -webkit-animation: wpgmzaSlideFromRight 0.3s forwards;
    animation: wpgmzaSlideFromRight 0.3s forwards;
}

.wpgmza-wrap .wpgmza-editor .sidebar .heading {
    font-weight: 600;
    font-size: 1.2em;
    max-height: 59px;
    border-bottom: 1px solid var(--wpgmza-color-light);
}

.wpgmza-wrap .wpgmza-editor .sidebar .heading.has-back{
    position: relative;
    padding-left: 60px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .heading.has-back .item.caret-left{
    position: absolute;
    width: 50px;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 0;
}

.wpgmza-wrap .wpgmza-editor .sidebar .heading.has-back .item.caret-left:after{
    left: 25px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .item.item-focus{
    background: var(--wpgmza-color-blue-light);
    font-weight: 500;
    color: var(--wpgmza-color-blue);
    border-color: var(--wpgmza-color-blue-light-alt);
}

.wpgmza-wrap .wpgmza-editor .sidebar .item.item-focus .dashicons {
    color: var(--wpgmza-color-blue-dark);
    opacity: 0.8;
}

.wpgmza-wrap .wpgmza-editor .sidebar .item.item-focus:hover{
    background: var(--wpgmza-color-blue-light-alt);
}

/* Upsell temp... Not sure, should this be a brand color variation? Who knows */
.wpgmza-wrap .wpgmza-editor .sidebar .navigation .item.pro {
    background: linear-gradient(-30deg, var(--wpgmza-color-blue), var(--wpgmza-color-cyan));
    color: var(--wpgmza-color-white);
}

.wpgmza-wrap .wpgmza-editor .sidebar .navigation .item.pro:hover {
    background-size: 200%;
}


/* Sidebar settings */
.wpgmza-wrap .wpgmza-editor .sidebar .settings {
    padding: 0 20px;
    position: relative;
    max-height: calc(100% - 140px);
    overflow-y: auto;
    padding-bottom: 20px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset.wpgmza-joined-fieldset{
  margin-top: 0;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset:last-child{
    margin-bottom: 20px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset > * {
    display: block;
    width: 100%;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset > .wpgmza-row {
    display: flex !important;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset legend {
    font-size: 0.9em;
    margin-bottom: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .wpgmza-address {
    width: 100%;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .ui-slider{
    position: relative;
    height: 4px;    
    background: var(--wpgmza-color-brand);
    border-radius: 3px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .ui-slider-range.ui-slider-range-max{
    background: var(--wpgmza-color-gray-200);
    right: 0;
    top: 0;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .ui-slider .ui-slider-handle {
    position: absolute;
    background: var(--wpgmza-color-white);
    border: 2px solid var(--wpgmza-color-brand); 
    height: 12px;
    width: 12px;
    z-index: 2;
    top: -6px;
    border-radius: 12px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .ui-slider .ui-slider-handle.ui-state-focus{
    outline: none;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .ui-slider .ui-slider-handle:hover {
    cursor: pointer;
    border-color: var(--wpgmza-color-brand);
    background: var(--wpgmza-color-white);
    box-shadow: var(--wpgmza-shadow-common);

}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset .multi-field {
    display: inline-flex;
    flex-direction: row;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset .multi-field > * {
    flex: 1;
}

.wpgmza-wrap .sidebar input.cmn-toggle-yes-no + label {
    width: 100% !important;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .hint {
    font-size: 0.75em;
    margin-top: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset ul li {
    padding-left: 20px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset ul li label{
    font-size: 0.85em;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset ul li .hint{
    padding-left: 23px
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings fieldset .wpgmza-inline-dropdown select{
    width: calc(100% - 30px);
    margin-right: 5px;
    display: inline-block !important;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .wpgmza-inline-field .wpgmza-address {
    max-width: calc(100% - 42px);
    margin-right: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .wpgmza-marker-panel .wpgmza-address{
    max-width: calc(100% - 85px);
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .wpgmza-marker-panel .wpgmza-use-my-location{
    margin-left: 5px;
    margin-right: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .wpgmza-marker-panel .wpgmza-marker-editor-address-field[data-autocomplete-state="busy"]:after{
    content: "";
    width: 16px;
    height: 16px;
    position: absolute;
    right: 95px;
    top: 7px;
    border: 2px solid var(--wpgmza-color-grey-500);
    border-radius: 14px;
    border-bottom-color: transparent;
    border-right-color: transparent;
    box-sizing: border-box;
    -webkit-animation: wpgmzaInfiniteRotate 0.5s forwards linear;
    animation: wpgmzaInfiniteRotate 0.5s forwards linear;
    animation-iteration-count: infinite;
}

/* Feature lists */
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list {
    padding-top: 20px;
    position: relative;
    max-height: calc(100% - 224px);
    min-height: calc(100% - 224px);
    overflow-y: auto;
    padding-bottom: 20px;
}

.wpgmza-wrap .wpgmza-datatable-container table.dataTable thead th, 
.wpgmza-wrap .wpgmza-datatable-container table.dataTable thead td,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable thead th, 
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable thead td{
    border-bottom: 1px solid var(--wpgmza-color-light);
    border-top: 1px solid var(--wpgmza-color-light);
    text-align: center;
}

.wpgmza-wrap .wpgmza-datatable-container table.dataTable tr td[data-wpgmza-column-name="mark"],
.wpgmza-wrap .wpgmza-datatable-container table.dataTable tr th[data-wpgmza-column-name="mark"] {
    max-width: 30px;
}

.wpgmza-wrap .wpgmza-datatable-container table.dataTable.row-border tbody tr td, 
.wpgmza-wrap .wpgmza-datatable-container table.dataTable.display tbody tr td {
    border-top: 0;
    border-bottom: 1px solid var(--wpgmza-color-light);
}

.wpgmza-wrap .wpgmza-datatable-container table.dataTable.no-footer,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable.no-footer {
    border: none;
}

.wpgmza-wrap .wpgmza-datatable-container table.dataTable.display tbody tr>.dt-ordering-1, 
.wpgmza-wrap .wpgmza-datatable-container table.dataTable.order-column.stripe tbody tr>.dt-ordering-1,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable.display tbody tr>.dt-ordering-1, 
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable.order-column.stripe tbody tr>.dt-ordering-1{
    background: none;
}

.wpgmza-wrap .wpgmza-datatable-container table.dataTable.display tbody tr,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable.display tbody tr{
    background: none !important;
}

.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable.display tbody tr.wpgmza-row-needs-approval {
    background-color: var(--wpgmza-color-grey-100) !important;
}

.wpgmza-wrap .wpgmza-datatable-container table.dataTable.display tbody tr td:first-child,
.wpgmza-wrap .wpgmza-datatable-container table.dataTable.display thead tr th:first-child,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable.display tbody tr td:first-child,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable.display thead tr th:first-child{
    padding-left: 20px;

}

.wpgmza-wrap .wpgmza-datatable-container table.dataTable.display tbody tr td:last-child,
.wpgmza-wrap .wpgmza-datatable-container table.dataTable.display thead tr th:last-child,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable.display tbody tr td:last-child,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable.display thead tr th:last-child{
    padding-right: 20px;
}

.wpgmza-wrap .wpgmza-datatable-container .feature-list table.dataTable.display tbody tr td,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list table.dataTable.display tbody tr td{
    border-bottom: 1px solid var(--wpgmza-color-light);
    border-top: none;
    box-shadow: none;
}

.wpgmza-wrap .wpgmza-datatable-container .dataTable,
.wpgmza-wrap .wpgmza-editor .sidebar .dataTable {
    width: 100% !important;
    padding-top: 20px;
    padding-bottom: 20px;
}

.wpgmza-wrap .wpgmza-datatable-container .dt-length,
.wpgmza-wrap .wpgmza-datatable-container .dt-info,
.wpgmza-wrap .wpgmza-datatable-container .wpgmza-marker-listing__actions,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-length,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-info,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .wpgmza-marker-listing__actions {
    padding-left: 20px;
}

.wpgmza-wrap .wpgmza-datatable-container .dt-search,
.wpgmza-wrap .wpgmza-datatable-container .dt-paging,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-search,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-paging{
    padding-right: 20px;
}

.wpgmza-wrap .wpgmza-datatable-container .dt-input,
.wpgmza-wrap .wpgmza-editor .sidebar .dt-input{
    font-size: 11px;
    padding: 3px 7px;
}

.wpgmza-wrap .wpgmza-datatable-container select.dt-input,
.wpgmza-wrap .wpgmza-editor .sidebar select.dt-input{
    padding-right: 18px;
}

.wpgmza-wrap .wpgmza-datatable-container .dataTable tbody tr td,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dataTable tbody tr td {
    text-align: center;
    box-shadow: none;
}

.wpgmza-wrap .wpgmza-datatable-container .dt-paging .dt-paging-button:hover,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-paging .dt-paging-button:hover{
    background: var(--wpgmza-color-light);
    border: 1px solid var(--wpgmza-color-light);
    color: var(--wpgmza-color-charcoal) !important;
    border-radius: 4px;
}

.wpgmza-wrap .wpgmza-datatable-container .dt-paging .dt-paging-button.current,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-paging .dt-paging-button.current{
    background: var(--wpgmza-color-dark);
    border: 1px solid var(--wpgmza-color-dark);
    border-radius: 4px;
    color: var(--wpgmza-color-white) !important;
}

.wpgmza-wrap .wpgmza-datatable-container .dt-paging .dt-paging-button.current:hover,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-paging .dt-paging-button.current:hover{
    background: var(--wpgmza-color-grey-900);
    border: 1px solid var(--wpgmza-color-grey-900);
    color: var(--wpgmza-color-white) !important;
}

.wpgmza-wrap .wpgmza-datatable-container.wpgmza-datatable-container-maps table.dataTable.display tbody tr > td{
    transition: background-color 0.2s ease;
    box-shadow: none;
}

.wpgmza-wrap .wpgmza-datatable-container.wpgmza-datatable-container-maps table.dataTable.display tbody tr:hover > td,
.wpgmza-wrap .wpgmza-datatable-container.wpgmza-datatable-container-maps table.dataTable.display tbody tr:hover > td.dt-ordering-1{
    cursor: pointer;
    background: var(--wpgmza-color-grey-50);
}

/* Datatables preloader - Had to recreate this here, as it is not possible to override the HTML entirely */
.wpgmza-wrap .wpgmza-datatable-container .dt-processing:before,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-processing:before {
  content: "";
  height: 60px;
  width: 60px;
  display: block;
  position: absolute;
  border: 5px solid var(--wpgmza-color-grey-500);
  border-radius: 60px;
  left: calc(50% - 30px);
  top: calc(50% - 30px);

  border-bottom-color: transparent;
  box-sizing: border-box;
  -webkit-animation: wpgmzaLoadCircle 1s forwards;
  animation: wpgmzaLoadCircle 1s forwards;
  animation-iteration-count: infinite;
}

.wpgmza-wrap .wpgmza-datatable-container .dt-processing:after,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-processing:after {
    content: "\f041";
    font-family: "FontAwesome";
    width: 60px;
    height: 60px;;
    position: absolute;
    font-size: 25px;
    left: calc(50% - 30px);
    top: calc(50% - 30px);
    text-align: center;
    line-height: 60px;
    color: var(--wpgmza-color-grey-700);

    -webkit-animation: wpgmzaPulseFade 1s forwards;
    animation: wpgmzaPulseFade 1s forwards;
    animation-iteration-count: infinite;
}
.wpgmza-wrap .wpgmza-datatable-container .dt-processing,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-processing {
    background: var(--wpgmza-color-white);
    color: var(--wpgmza-color-dark) !important;
    font-size: 1em !important;
    height: 70px;
    width: 200px;
    text-align: center;
    left: 50%;
    margin-left: 0;
    transform: translate(-50%, -50%);
    margin-top: 0;
    border-radius: 4px;
    line-height: 180px;
    padding-top: 10px;
    font-size: 14px !important;
    box-shadow: var(--wpgmza-shadow-common);
}

.wpgmza-wrap .wpgmza-datatable-container .dt-processing > div,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-processing > div{
    display: none;
}

.wpgmza-wrap .wpgmza-datatable-container .wpgmza-action-group {
    display: inline-flex;  
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.wpgmza-wrap .wpgmza-datatable-container .wpgmza-action-group > * {
    margin-right: 5px;
}

.wpgmza-wrap .wpgmza-datatable-container .wpgmza-action-group > *:last-child {
    margin-right: 0;
}

.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dt-container div.dt-layout-row,
.wpgmza-wrap .wpgmza-datatable-container  div.dt-container div.dt-layout-row {
    margin: 0;
}

.wpgmza-wrap .wpgmza-datatable-container #wpgmza-category-table_wrapper .dataTable tbody tr td:first-child,
.wpgmza-wrap .wpgmza-datatable-container #wpgmza-category-table_wrapper .dataTable thead tr th:first-child{
    text-align: left;
}

.wpgmza-wrap .wpgmza-editor .sidebar .general-info{
    padding-top:20px;
    padding-bottom: 20px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .general-info .info-heading {
    font-size: 1.2em;
    margin-bottom: 20px;

}

.wpgmza-wrap .wpgmza-editor .sidebar .general-info ul{
    font-size: 0.9em;
    margin-left: 20px;
    list-style: circle;
}

.wpgmza-wrap .wpgmza-editor .sidebar .general-info ul li {
    margin-bottom: 2px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .general-info > img{
    max-width: 80%;
    margin-bottom: 20px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .general-info .info-content {
    margin-bottom: 10px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .general-info .info-content.inline-image img{
    max-height: 10px;
    margin-left: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar #advanced-markers .wpgmza-save-feature-container,
.wpgmza-wrap .wpgmza-editor .sidebar #advanced-markers .wpgmza-instruction-card,
.wpgmza-wrap .wpgmza-editor .sidebar #advanced-markers .wpgmza-marker-gallery-input-container{
    display: none;
}

.wpgmza-wrap .wpgmza-editor .sidebar textarea[name="wpgmza_theme_data"] {
    min-height: 20vh;
}

/* Marker datatable, hide some columns */
.wpgmza-wrap .wpgmza-editor .sidebar:not(.as-fullscreen) .feature-list #wpgmza-table-container-Marker .dataTable thead tr th:nth-child(7),
.wpgmza-wrap .wpgmza-editor .sidebar:not(.as-fullscreen) .feature-list #wpgmza-table-container-Marker .dataTable thead tr th:nth-child(8),
.wpgmza-wrap .wpgmza-editor .sidebar:not(.as-fullscreen) .feature-list #wpgmza-table-container-Marker .dataTable thead tr th:nth-child(9),
.wpgmza-wrap .wpgmza-editor .sidebar:not(.as-fullscreen) .feature-list #wpgmza-table-container-Marker .dataTable thead tr th:nth-child(10),
.wpgmza-wrap .wpgmza-editor .sidebar:not(.as-fullscreen) .feature-list #wpgmza-table-container-Marker .dataTable tbody tr td:nth-child(7),
.wpgmza-wrap .wpgmza-editor .sidebar:not(.as-fullscreen) .feature-list #wpgmza-table-container-Marker .dataTable tbody tr td:nth-child(8),
.wpgmza-wrap .wpgmza-editor .sidebar:not(.as-fullscreen) .feature-list #wpgmza-table-container-Marker .dataTable tbody tr td:nth-child(9),
.wpgmza-wrap .wpgmza-editor .sidebar:not(.as-fullscreen) .feature-list #wpgmza-table-container-Marker .dataTable tbody tr td:nth-child(10){
    display: none;
}

.wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Marker .dataTable thead tr th:nth-child(11),
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Marker .dataTable tbody tr td:nth-child(11),
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Rectangle .dataTable tbody tr td:last-child:not(.dataTables_empty),
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Circle .dataTable tbody tr td:last-child:not(.dataTables_empty),
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Pointlabel .dataTable tbody tr td:last-child:not(.dataTables_empty),
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Heatmap .dataTable tbody tr td:last-child:not(.dataTables_empty),
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Imageoverlay .dataTable tbody tr td:last-child:not(.dataTables_empty),
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Polygon .dataTable tbody tr td:last-child:not(.dataTables_empty),
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Polyline .dataTable tbody tr td:last-child:not(.dataTables_empty){
    text-align: right;
}

.wpgmza-wrap .wpgmza-editor .sidebar:not(.as-fullscreen) .feature-list #wpgmza-table-container-Marker .dataTable tbody tr td img{
    max-width: 20px;
}

/* Polygon Datatable */
.wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Polygon .dataTable tbody tr td:nth-child(3){
    /* Link Compress */
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre;
}

.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .wpgmza-marker-listing__actions span,
#wpgmza-admin-map-table-container .wpgmza-marker-listing__actions span {
    display: none;
}

/* General admin datatable styling */
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list .dataTable tbody img {
    max-width: 100%;
}

.wpgmza-wrap .wpgmza-editor .sidebar.as-fullscreen .feature-list .dataTable tbody img {
    width: unset;
}

.wpgmza-wrap .wpgmza-editor .sidebar.as-fullscreen .feature-list .dataTable tr th:first-child,
.wpgmza-wrap .wpgmza-editor .sidebar.as-fullscreen .feature-list .dataTable tr td:first-child {
    max-width: 40px;
    box-sizing: border-box;
}

/* Hide Pro nested datatable features */
.wpgmza-wrap .wpgmza-editor .wpgmza-table-container [data-wpgmza-datatable]:not([data-wpgmza-pro-datatable]) *[data-pro-action]{
    display:none;
}

/* Preloader siderbar */
.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-preloader,
.wpgmza-wrap .wpgmza-preloader {
    height: 60px;
    width: 60px;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.wpgmza-wrap .wpgmza-preloader {
    top: 50px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-preloader div:first-child,
.wpgmza-wrap .wpgmza-preloader div:first-child{
    height: 100%;
    width: 100%;
    border: 5px solid var(--wpgmza-color-grey-500);
    border-radius: 60px;
    border-bottom-color: transparent;
    box-sizing: border-box;
    
    -webkit-animation: wpgmzaLoadCircle 1s forwards;
    animation: wpgmzaLoadCircle 1s forwards;
    animation-iteration-count: infinite;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-preloader div:last-child,
.wpgmza-wrap .wpgmza-preloader div:last-child{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    line-height: 60px;

    -webkit-animation: wpgmzaPulseFade 1s forwards;
    animation: wpgmzaPulseFade 1s forwards;
    animation-iteration-count: infinite;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-preloader div:last-child:before,
.wpgmza-wrap .wpgmza-preloader div:last-child:before{
    content: "\f041";
    font-family: "FontAwesome";
    font-size: 22px;
    color: var(--wpgmza-color-grey-700);
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-feature-panel{
    position: relative;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-feature-panel.wpgmza-loading:after {
    content: "";
    display: block;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--wpgmza-color-white);
    position: absolute;

    z-index: 2;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-feature-panel.wpgmza-loading .wpgmza-preloader{
    z-index: 3;
}

/* Tiny MCE */
.wpgmza-wrap .wpgmza-editor .sidebar .wp-media-buttons .button,
.wpgmza-wrap .wpgmza-editor .sidebar .quicktags-toolbar .button{
    border: none;
    color: var(--wpgmza-color-charcoal);
    background: var(--wpgmza-color-light);
}

.wpgmza-wrap .wpgmza-editor .sidebar .quicktags-toolbar .button{
    border: 1px solid var(--wpgmza-color-grey-common);
}

.wpgmza-wrap .wpgmza-editor .sidebar .wp-media-buttons .button .wp-media-buttons-icon:before{
    font-size: 1em;
    line-height: 18px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wp-editor-tabs button{
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .mce-container > iframe{
    min-height: 220px;
}

/* Marker Gallery Inputs */
.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-gallery-input li {
    position: relative; 
    width: 110px;
    height: 110px;
    margin: 0.25em;
    display: inline-block;
    vertical-align: top;
    background-size: cover;
    box-sizing: border-box;
    padding-left: 0 !important;
    border-radius: 4px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-gallery-input li.wpgmza-add-new-picture{
    cursor: pointer;
    border: var(--wpgmza-color-grey-200) dashed 2px;
    border-radius: 4px;
    color: var(--wpgmza-color-grey-200);

    transition: border 0.3s ease, color 0.3s ease;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-gallery-input li.wpgmza-add-new-picture:hover{
    border-color: var(--wpgmza-color-grey-common);
    color: var(--wpgmza-color-grey-common);
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-gallery-input li.wpgmza-add-new-picture > i{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-gallery-input li .wpgmza-delete-gallery-item {
    background: var(--wpgmza-color-white);
    border: none;
    float: right;
    margin-right: 5px;
    margin-top: 5px;
    width: 20px;
    height: 20px;
    padding: 0;
    font-size: 0.8em;
    line-height: 22px;
    border-radius: 40px;
    cursor: pointer;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-gallery-input li .wpgmza-delete-gallery-item:hover {
    background: var(--wpgmza-color-grey-common);
}

/* Fieldset toggles */

.fieldset-toggle {
    font-size: 12px;
    margin-top: 20px;
    position: relative;
    padding-left: 20px;

    cursor: pointer;
}

.fieldset-toggle:hover {
    opacity: 0.9;
}

.fieldset-toggle::before {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    content: "";
    display: block;
    border: 2px solid var(--wpgmza-color-grey-600);
    border-top: none;
    border-right: none;
    
    transition: transform 0.3s ease, top 0.3s ease;
    transform: rotate(-45deg);
}

.fieldset-toggle.toggled::before {
    top: 7px;
    transform: rotate(-225deg);
}


.fieldset-toggle + fieldset {
    display: none !important;
}

.fieldset-toggle.toggled + fieldset {
    display: inherit !important;
}

/* upsell */

.wpgmza-wrap .wpgmza-editor .wpgmza-upsell-pro-pill {
    background: var(--wpgmza-color-blue);
    color: var(--wpgmza-color-white);
    
    text-transform: uppercase;
    font-size: 0.7em;
    padding: 1px 5px;
    border-radius: 30px;
    line-height: 1em;
    margin-left: 7px;   
}

.wpgmza-wrap .wpgmza-editor .wpgmza-upsell-pro-pill {
    position: absolute;
    right: 30px;
    top: 14px;
    padding: 3px 6px;
    font-weight: 600;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-upsell,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-upsell {
    background: var(--wpgmza-color-grey-100);
    padding: 5px 15px;
    font-size: 0.9em;
    margin-top: 10px;
    margin-bottom: 10px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-upsell::before,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-upsell::before{
    content: "Pro";
    background: var(--wpgmza-color-brand);
    color: var(--wpgmza-color-white);
    text-transform: uppercase;
    font-size: 0.87em;
    padding: 1px 5px;
    border-radius: 30px;
    line-height: 1em;
    margin-right: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar fieldset.wpgmza-pro-feature legend:not(:empty)::after,
.wpgmza-tabs-container .tab-row.wpgmza-pro-feature .title:not(:empty)::after {
    content: "Pro";
    background: var(--wpgmza-color-grey-300);
    color: var(--wpgmza-color-charcoal);
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 30px;
    line-height: 1em;
    margin-left: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-pro-feature .wpgmza-shortcode-button,
.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-pro-feature .wpgmza-check-card-selector,
.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-pro-feature .wpgmza-infowindow-style-picker,
.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-pro-feature .wpgmza-css-state-block,
.wpgmza-tabs-container .tab-row.wpgmza-pro-feature .wpgmza-check-card-selector,
.wpgmza-tabs-container .tab-row.wpgmza-pro-feature .wpgmza-infowindow-style-picker,
.wpgmza-tabs-container .tab-row.wpgmza-pro-feature .wpgmza-preset-input-controller,
.wpgmza-tabs-container .tab-row.wpgmza-pro-feature .wpgmza-css-state-block {
    pointer-events: none;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-pro-feature .wpgmza-css-state-block .wpgmza-css-state-block-content,
.wpgmza-tabs-container .tab-row.wpgmza-pro-feature .wpgmza-css-state-block .wpgmza-css-state-block-content {
    display: none;;
}

/* Upsell overrides */
.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-upsell, 
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-upsell {
    background: var(--wpgmza-color-blue-light);
    color: var(--wpgmza-color-charcoal);
    border: 1px solid var(--wpgmza-color-blue);
    
    /* background: linear-gradient(30deg, var(--wpgmza-color-blue), var(--wpgmza-color-cyan)); */
    /* background-ssize: 200%; */
    /* color: var(--wpgmza-color-white); */
   
    padding-top: 10px;
    padding-bottom: 10px;
}


.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-upsell a, 
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-upsell a {
    color: var(--wpgmza-color-blue-dark);
    /* color: var(--wpgmza-color-light); */
    font-weight: 500;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-upsell a.wpgmza-upsell-button, 
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-upsell a.wpgmza-upsell-button{
    background: var(--wpgmza-color-blue);
    padding: 3px 8px;
    border-radius: 4px;
    text-decoration: none;
    margin-left: 10px;
    box-shadow: var(--wpgmza-shadow-common);
    color: var(--wpgmza-color-white);
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-upsell a.wpgmza-upsell-button:hover, 
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-upsell a.wpgmza-upsell-button:hover{
    background: var(--wpgmza-color-blue-alt);
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-upsell::before, 
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-upsell::before{
    background: var(--wpgmza-color-blue);
    color: var(--wpgmza-color-white);
    font-weight: 600;
    box-shadow: var(--wpgmza-shadow-common);
}

/* V10 Upsells */
.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-upsell.wpgmza-upsell-featured, 
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-upsell.wpgmza-upsell-featured {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-upsell.wpgmza-upsell-featured::before,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-upsell.wpgmza-upsell-featured::before{
    width: fit-content;
    border-radius: 3px;
    margin-bottom: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-upsell.wpgmza-upsell-featured .wpgmza-upsell-button, 
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-upsell.wpgmza-upsell-featured .wpgmza-upsell-button {
    width: fit-content;
    margin-left: 0;
    margin-top: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-upsell.wpgmza-upsell-featured .wpgmza-upsell-heading, 
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-upsell.wpgmza-upsell-featured .wpgmza-upsell-heading {
    font-size: 1.3em;
    font-weight: 600;
}


/* Action bar */
.wpgmza-wrap .wpgmza-editor .sidebar .action-bar {
    border-top: 1px solid var(--wpgmza-color-light);
    padding: 15px;
    max-height: 61px;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0
}

.wpgmza-wrap .wpgmza-editor .sidebar .action-bar .dynamic-action,
.wpgmza-wrap .wpgmza-editor .sidebar .action-bar .static-action {
    -webkit-animation: wpgmzaPopin 0.1s forwards;
    animation: wpgmzaPopin 0.1s forwards;
}

.wpgmza-row .wpgmza-col .switch{
    position: relative;
    top: 2px;
}

.wpgmza-row .wpgmza-col .switch label {
    float: right;
}

.wpgmza-wrap .sidebar .wpgmza-row .wpgmza-col input.cmn-toggle-yes-no + label {
    width: 50% !important;
    height: 16px;
    top: -3px;
}

.wpgmza-wrap .sidebar .wpgmza-row .wpgmza-col input.cmn-toggle-yes-no + label:before,
.wpgmza-wrap .sidebar .wpgmza-row .wpgmza-col input.cmn-toggle-yes-no + label:after {
    font-size: 0.8em;
    border-radius: 3px;
    line-height: 20px;
}

.wpgmza-wrap .wpgmza-inline-field input[type="color"] {
    min-height: 30px;
    width: 35px;
    margin-right: 10px;
    vertical-align: top;
}

.wpgmza-wrap .switch.switch-inline label {
    display: inline-block;
    max-width: calc(100% - 60px);
    vertical-align: top;
}

.wpgmza-show-in-adjust-mode + input{
    margin-bottom: 10px;
}

/* Upsell Cards */
.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card {
    display: flex;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--wpgmza-color-grey-100);
    padding: 10px;
    border-radius: 5px;
    background-color: var(--wpgmza-color-grey-50);
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card .upsell-block-card-image{
    max-width: 40%;
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card .upsell-block-card-image img {
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card .upsell-block-card-content {
    max-width: 60%;
    padding-left: 15px;
    font-weight: 200;

    display: flex;
    flex-direction: column;
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card .upsell-block-card-content .upsell-block-card-header .upsell-block-card-header-title{
    font-weight: 600;
    font-size: 1.1em;
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card .upsell-block-card-content .upsell-block-card-list ul{
    margin: 0; 
    margin-top: 5px;
    margin-bottom: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card .upsell-block-card-content .upsell-block-card-list ul li{
    padding-left: 10px;
    position: relative;
    margin-bottom: 2px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card .upsell-block-card-content .upsell-block-card-list ul li:before{
    content: "•";
    position: absolute;
    top: 0;
    left: 0;
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card .upsell-block-card-content .upsell-block-card-actions {
    margin-top: 10px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card .upsell-block-card-content .wpgmza-button{
    background: linear-gradient(30deg, var(--wpgmza-color-blue), var(--wpgmza-color-blue-alt));
    background-size: 200%;
    color: var(--wpgmza-color-white);
    font-weight: 600;
    border: none;
}


.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card .upsell-block-card-content .upsell-block-card-header:before {
    content: "pro";
    display: block;
    width: fit-content;
    font-weight: 600;
    background: var(--wpgmza-color-blue);
    color: var(--wpgmza-color-white);
    text-transform: uppercase;
    font-size: 0.7em;
    padding: 3px 5px;
    border-radius: 30px;
    line-height: 1em;
    margin-bottom: 7px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block-card .upsell-block-card-content .wpgmza-button:hover{
    background-size:100%;
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block.upsell-block-feature-list {
    padding: 0;
    animation: none;
}

.wpgmza-wrap .wpgmza-editor .sidebar .upsell-block.upsell-block-feature-list .upsell-block-card-image{
    max-width: 25%;
}

/* Map Editor */
.wpgmza-wrap .wpgmza-editor .content{
    flex: 9;
    max-width: 75%;
    z-index: 1;
}


.wpgmza-wrap .wpgmza-editor .map-container-wrap {
    height: 100%;
    position: relative;
}

.wpgmza-wrap .wpgmza-editor .map-container-wrap .map_wrapper,
.wpgmza-wrap .wpgmza-editor .map-container-wrap .map_wrapper #wpgmza-map-container{
    width: 100%;
    height: 100%;
}

.wpgmza-wrap .wpgmza-editor .map-container-wrap .map_wrapper .wpgmza_map{
    height: 100% !important;
    width: 100% !important;
}

.wpgmza-wrap .wpgmza-editor .map-container-wrap .notice{
    position: absolute;
    z-index: 10;
    width: 50%;
    margin: 10px 25%;
}

/* Checkbox tile selectors */
.wpgmza-check-card-selector input[type="checkbox"],
.wpgmza-check-card-selector input[type="radio"]{
    display: none;
}

.wpgmza-check-card-selector input[type="checkbox"]:checked + .wpgmza-card,
.wpgmza-check-card-selector input[type="radio"]:checked + .wpgmza-card,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-infowindow-style-picker-grouping .wpgmza-check-card-selector input[type="radio"]:checked + .wpgmza-card{
  border: 2px solid var(--wpgmza-color-charcoal);

}

.wpgmza-check-card-selector img {
    max-width: 100%;
}

.wpgmza-check-card-selector .wpgmza-card{
    margin-right: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 100px;
    border: 2px solid transparent;
}

.wpgmza-check-card-selector:hover .wpgmza-card{
    border: 2px dashed var(--wpgmza-color-charcoal);
    cursor: pointer;

}

.wpgmza-check-card-selector .wpgmza-card .wpgmza-auto-image{
    flex: 1;
}

.wpgmza-check-card-selector .wpgmza-card span{
    font-size: 1em;
    display: block;
    text-align: center;
}

.wpgmza-auto-image {
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wpgmza-auto-image img{
    display: block;
    position: relative;
    max-width: 90%;
    margin: auto; 
    max-height: 100%;  
    flex-shrink: 1;
}

/* Carets */
.wpgmza-wrap .caret-right{
    position: relative;

}

.wpgmza-wrap .caret-right:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border: 2px solid var(--wpgmza-color-charcoal);
    border-left: none;
    border-bottom: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: rotate(45deg) translateX(-50%);
    
    opacity: 0.3; 
}

.wpgmza-wrap .caret-left{
    position: relative;

}

.wpgmza-wrap .caret-left:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border: 2px solid var(--wpgmza-color-charcoal);
    border-right: none;
    border-top: none;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: rotate(45deg) translateX(-50%);
    
    opacity: 0.3; 
}

/* Theme system */
/* Tileset Panel */
#wpgmza-tileset-panel,
#wpgmza-theme-panel,
#wpgmza-ol-theme-panel,
#wpgmza-leaflet-theme-panel{
  margin-bottom: 20px;
  margin-top: 20px;
}

.wpgmza-wrap .tileset-selection-panel,
.wpgmza-wrap .theme-selection-panel{
    display: grid;
    grid-template-columns: 49% 49%;
    gap: 1rem;
    max-width: 100%;
}

.wpgmza-wrap .tileset-option,
.wpgmza-wrap .theme-option {
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    position: relative;
    box-shadow: var(--wpgmza-shadow-common);
    border-radius: 4px;
    overflow: hidden;
    line-height: 0;
    border: 3px solid var(--wpgmza-color-white);
    aspect-ratio: 1 / 1;
}

.wpgmza-wrap .tileset-selection-panel label.tileset-option,
.wpgmza-wrap .ol-theme-selection-panel label.theme-option,
.wpgmza-wrap .leaflet-theme-selection-panel label.theme-option{
    max-height: 258px;
}

.wpgmza-wrap .tileset-option:focus-within, 
.wpgmza-wrap .tileset-option:hover,
.wpgmza-wrap .tileset-option.selected,
.wpgmza-wrap .theme-option:focus-within, 
.wpgmza-wrap .theme-option:hover {
    cursor: pointer;
    outline: 3px solid var(--wpgmza-color-brand);
}

.wpgmza-wrap .tileset-option img,
.wpgmza-wrap .theme-option img{
    height: 100%;
    width: auto;
    max-width: unset;
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wpgmza-wrap .tileset-option button,
.wpgmza-wrap .tileset-option span,
.wpgmza-wrap .theme-option button,
.wpgmza-wrap .theme-option span{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--wpgmza-color-white);
    border: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 11px;
    bottom: -40px;
    z-index: 2;

    transition: bottom 0.3s ease;
}

.wpgmza-wrap .tileset-option:hover button,
.wpgmza-wrap .theme-option:hover button {
    bottom: 0;
}

.wpgmza-wrap .tileset-option span,
.wpgmza-wrap .theme-option span{
    font-size: 10px;
    top: -40px;
    height: 20px;
    line-height: 10px;
    text-align:center;
    box-sizing: border-box;

    padding: 5px;

    transition: top 0.3s ease;
}

.wpgmza-wrap .tileset-option:hover span,
.wpgmza-wrap .theme-option:hover span,
.wpgmza-wrap .tileset-option.selected span{
    top: 0;
}

.wpgmza-wrap .tileset-option.tileset-panel-error img,
.wpgmza-wrap .theme-option.theme-panel-error img{
    display: none;
}

.wpgmza-wrap .tileset-option.tileset-panel-error:before,
.wpgmza-wrap .theme-option.theme-panel-error:before{
    content:"Could not fetch preview";
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: var(--wpgmza-color-grey-50);
}

.wpgmza-wrap .tileset-option.tileset-default,
.wpgmza-wrap .tileset-option.as-vector{
    background: var(--wpgmza-color-grey-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wpgmza-wrap .tileset-option.tileset-default span,
.wpgmza-wrap .tileset-option.as-vector span{
    position:relative;
    top: 0;
    background: none;
    font-size: 14px;
}

.wpgmza-wrap .tileset-option.as-vector:after{
    content: "Could not fetch preview (Vector)";
    font-size: 11px;
}

.wpgmza-wrap .tileset-option .as-multi-layer{
    position: absolute;
    bottom: 0;
    width: 50%;
    overflow: hidden;
    height: 100%;
    right: 0;
    z-index: 1;
}


.wpgmza-wrap .tileset-option .as-multi-layer img.as-layer{
    left: 0;
}

/* Upsells */
.wpgmza-pro-upsell-card {
  margin-bottom:  20px;
  margin-top:  20px;
}

.wpgmza-pro-upsell-card.wpgmza-pro-upsell-card-highlight {
    background: var(--wpgmza-color-blue-light);
    position: relative;
}

.wpgmza-pro-upsell-card.wpgmza-pro-upsell-card-highlight .wpgmza-pro-upsell-highlight-pill {
    position: absolute;
    top: 5px; 
    right: 5px;

    background: var(--wpgmza-color-blue);
    color: var(--wpgmza-color-white);

    font-weight: 600;
    box-shadow: var(--wpgmza-shadow-common);

    font-size: 0.85em;
    border-radius: 30px;

    padding: 1px 7px;
    
}

.upsell-block {
    position: relative;
    padding: 20px;
}

.upsell-block .wpgmza-card{
    margin-bottom: 20px;
}

.upsell-block .wpgmza-card .sub-tag{
    margin-top: 10px;
    font-size: 0.95em;
    text-align: center;
}

.wpgmza-wrap .wpgmza-upgrade-nag-notice {
    background: var(--wpgmza-color-blue-light);
    color: var(--wpgmza-color-charcoal);
    border: 1px solid var(--wpgmza-color-blue);
    width: fit-content;
    padding: 7px 11px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: 4px;
    margin-top: 0;
}

.wpgmza-wrap .wpgmza-upgrade-nag-notice a:not(.wpgmza-button){
    color: var(--wpgmza-color-blue-alt);
}

.wpgmza-wrap .wpgmza-upgrade-nag-notice a.wpgmza-button{
    color: var(--wpgmza-color-charcoal);
    font-size: 0.9em;
    min-height: unset;
    margin-left: 20px;
}

.wpgmza-wrap .wpgmza-upgrade-nag-notice .dashicons {
    font-size: 18px;
    display: flex;
    align-items:center;
    justify-content:center;
}

/* Notices */
.wpgmza-card.notice,
.wpgmza-card.wpgmza-notice{
    padding-left: 45px;
}

.wpgmza-card.wpgmza-persistent-notice{
    margin-left: 0;
    margin-right: 0;
    padding-left: 15px;
}

.wpgmza-card.wpgmza-persistent-notice h2{
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 18px;
}

.wpgmza-card.notice:before,
.wpgmza-card.wpgmza-notice::before {
    position: absolute;
    left: 10px;
    top: 50%;
    content: "?";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--wpgmza-color-charcoal);
    border-radius: 30px;
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
    font-weight: 800;
    color: var(--wpgmza-color-charcoal);
    transform: translateY(-50%);
}

.wpgmza-card.notice.notice-error:before,
.wpgmza-card.wpgmza-notice.error::before {
    border-color: var(--wpgmza-color-error);
    content: "!";
}

.wpgmza-card.notice.notice-info:before,
.wpgmza-card.wpgmza-notice.info::before {
    border-color: var(--wpgmza-color-brand);
    content: "i";
}

.wpgmza-wrap .wpgmza-editor .map-container-wrap .wpgmza-notice.bottom-anchor,
.wpgmza-wrap .wpgmza-editor .map-container-wrap .wpgmza-notice.bottom-left-anchor,
.wpgmza-wrap .wpgmza-editor .map-container-wrap .wpgmza-notice.top-anchor{
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.wpgmza-wrap .wpgmza-editor .map-container-wrap .wpgmza-notice.top-anchor{
    bottom: unset;
    top: 30px;
}

.wpgmza-wrap .wpgmza-editor .map-container-wrap .wpgmza-notice.bottom-left-anchor {
    left : 30px;
    transform: none;
}

.wpgmza-wrap .wpgmza-editor .map-container-wrap .wpgmza-notice.wpgmza-quick-tip-container .wpgmza-button{
    padding: 5px;
    margin-left: 10px;
    min-height: unset;
    line-height: 14px;
}

.wpgmza-card.wpgmza-persistent-notice:before{
    display: none;
}

.wpgmza-card.wpgmza-persistent-notice.special-offer {
    background: var(--wpgmza-color-blue-light);
    color: var(--wpgmza-color-charcoal);
    border: 1px solid var(--wpgmza-color-blue);
    width: fit-content;
    padding: 7px 11px;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
}

.wpgmza-card.wpgmza-persistent-notice.special-offer .wpgmza-button {
    background: linear-gradient(30deg, var(--wpgmza-color-blue), var(--wpgmza-color-blue-alt));
    border: none;
    color: var(--wpgmza-color-charcoal);
    font-weight: 600;

    box-shadow: var(--wpgmza-shadow-common);
    width: fit-content;
    margin-top: 10px;
}

/* Shortcodes */
.wpgmza_copy_shortcode {
    border-color: transparent !important;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

/* Quick actions */
.quick-actions{
    position: absolute;
    top: 60px;
    left: 10px;
}

[data-map-engine="leaflet"] .quick-actions,
[data-map-engine="leaflet-azure"] .quick-actions,
[data-map-engine="leaflet-stadia"] .quick-actions,
[data-map-engine="leaflet-maptiler"] .quick-actions,
[data-map-engine="leaflet-locationiq"] .quick-actions,
[data-map-engine="leaflet-zerocost"] .quick-actions,
[data-map-engine="open-layers-latest"] .quick-actions {
    top: 80px;
    left: 7px;
}

.quick-actions input{
    display: none;
}

.quick-actions .icon{
    width: 40px;
    height: 40px;
    display: block;
    background: var(--wpgmza-color-white);
    border-radius: 60px;
    font-size: 24px;
    line-height: 37px;
    position: relative;
}

.quick-actions .icon:hover{
  cursor: pointer;
  background: var(--wpgmza-color-grey-150);
}

.quick-actions input + .icon{
    z-index: 2;
    text-align: center;
    transform: rotate(135deg);
    transition: transform 0.2s ease;
}

.quick-actions input:checked + .icon {
    transform: rotate(0deg);
}

.quick-actions .actions {
    min-height: 410px;
    position: absolute;
    top: 0;
    left: 0;
    overflow-y: hidden;
    overflow-x: visible;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.quick-actions .actions .icon{
    width: 40px;
    height:40px;
    padding: 10px;
    box-sizing: border-box;
    transform: translateY(-200px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.6s ease;

}
.quick-actions .actions .icon .sub-icon{
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.quick-actions input:checked ~ .actions .icon{
    transform: translateY(50px);
    opacity: 1;
    margin-bottom: 5px;
}

/* Helpers */
.wpgmza-wrap .wpgmza-row {
    display: flex;
    flex-direction: row !important;
    flex-grow: 1;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col,
.wpgmza-wrap .wpgmza-row .wpgmza-col-1 {
    flex: 1;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-1 {
    max-width: 8.3333%;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-2 {
    flex: 2;
    max-width: 16.6666%;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-3 {
    flex: 3;
    max-width: 25%;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-4 {
    flex: 4;
    max-width: 33.3333%;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-5 {
    flex: 5;
    max-width: 41.6666%;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-6 {
    flex: 6;
    max-width: 50%;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-7 {
    flex: 7;
    max-width: 58.3333%;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-8 {
    flex: 8;
    max-width: 66.6666%; 
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-9 {
    flex: 9;
    max-width: 75%;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-10 {
    flex: 10;
    max-width: 83.3333%;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-11 {
    flex: 11;
    max-width: 91.6666%;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-12 {
    flex: 12;
    max-width: 100%;
}

.wpgmza-wrap .wpgmza-row .wpgmza-col-fit {
    width: fit-content !important;
}

.wpgmza-wrap .wpgmza-row.align-center{
    align-items: center;
}

.wpgmza-wrap .wpgmza-row.justify-center{
    justify-content: center;
}

.wpgmza-form-wrap .wpgmza-row{
    margin-bottom: 20px;
    line-height: 30px;
}

.wpgmza-form-wrap .wpgmza-row input[type="text"]{
    width: 100%;
    max-width: 350px;
}

.wpgmza-form-wrap .wpgmza-row ul{
    margin: 0;
    line-height: initial;
}

.wpgmza-form-wrap .wpgmza-row ul li .switch-inline label{
    margin-right: 5px;
}

.wpgmza-form-wrap .wpgmza-row .wpgmza-marker-icon-picker{
    margin-top: 0; 
}

.wpgmza-wrap .wpgmza-flex-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.wpgmza-wrap .wpgmza-flex-grid.center {
    justify-content: center;
}

.wpgmza-wrap .gap-1 {
    gap: 0.25rem
}

.wpgmza-wrap .gap-2 {
    gap: 0.5rem
}

.wpgmza-wrap .gap-3 {
    gap: 0.75rem
}

.wpgmza-wrap .gap-4 {
    gap: 1rem
}

.wpgmza-wrap .gap-5 {
    gap: 1.25rem
}

.wpgmza-wrap .gap-6 {
    gap: 1.5rem
}

.wpgmza-wrap .gap-7 {
    gap: 1.75rem
}

.wpgmza-wrap .gap-8 {
    gap: 2rem
}

.wpgmza-wrap .w-full {
    width: 100%;
}

.wpgmza-wrap .h-full {
    height: 100%;
}


/* Standard Toggles - Credit: http://callmenick.com */
.wpgmza-wrap .cmn-toggle {
  position: absolute;
  visibility: hidden;
}

.wpgmza-wrap .cmn-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.wpgmza-wrap input.cmn-toggle-round-flat + label {
    padding: 0px;
    width: 26px;
    height: 17px;
    background-color: var(--wpgmza-color-grey-common);
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    border-radius: 30px;
    -webkit-transition: background 0.4s;
    -moz-transition: background 0.4s;
    -o-transition: background 0.4s;
    transition: background 0.4s;
}

.wpgmza-wrap input.cmn-toggle-round-flat + label:before, 
.wpgmza-wrap input.cmn-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

.wpgmza-wrap input.cmn-toggle-round-flat + label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: var(--wpgmza-color-white);
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
  -webkit-transition: background 0.4s;
  -moz-transition: background 0.4s;
  -o-transition: background 0.4s;
  transition: background 0.4s;
}



.wpgmza-wrap input.cmn-toggle-round-flat + label:after {
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 9px;
    background-color: var(--wpgmza-color-grey-common);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
    -webkit-transition: margin 0.4s, background 0.4s;
    -moz-transition: margin 0.4s, background 0.4s;
    -o-transition: margin 0.4s, background 0.4s;
    transition: margin 0.4s, background 0.4s;
}

.wpgmza-wrap input.cmn-toggle-round-flat:checked + label {
  background-color: var(--wpgmza-color-brand);
}

.wpgmza-wrap input.cmn-toggle-round-flat:checked + label:after {
    margin-left: 8px;
    background-color: var(--wpgmza-color-brand);
}

/* Instruction cards */
.wpgmza-instruction-card{
    margin-top: 20px;
    position: relative;
}

.wpgmza-instruction-card > strong{
    position: relative;
    padding-left: 25px;
}
.wpgmza-instruction-card > strong:before{
    position: absolute;
    left: 0px;
    top: 0px;
    line-height: 13px;
    content: "!";
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--wpgmza-color-grey-800);
    border-radius: 30px;
    text-align: center;
    font-size: 0.9em;
    font-weight: 800;
    color: var(--wpgmza-color-grey-800);
}

.wpgmza-instruction-card ul{
    padding-left: 20px;
    list-style: circle;
    font-size: 0.9em;
}
.wpgmza-instruction-card ul li{
    margin-bottom: 0;
}

/* Toolbar system */
.wpgmza-toolbar {
    position: relative;
}

.wpgmza-toolbar input{
    display: none;
}

.wpgmza-toolbar .wpgmza-toolbar-list{
    position: absolute;
    right: 0;
    text-align: left;
    background: var(--wpgmza-color-white);
    border-radius: 3px;
    z-index: 2;
    min-width: 150px;
    box-shadow: 0 1px 1px 0 rgb(66 66 66 / 6%), 0 1px 3px 1px rgb(66 66 66 / 12%);

    -webkit-animation: wpgmzaPopin 0.2s forwards;
    animation: wpgmzaPopin 0.2s forwards;
}

.wpgmza-toolbar .wpgmza-toolbar-list.left-anchor{
    right: unset;
    left: 0;
}

.wpgmza-toolbar .wpgmza-toolbar-list > * {
    display: block;
    border-bottom: 1px solid var(--wpgmza-color-light);
    padding: 8px 12px;;
    font-size: 0.85em;
    text-decoration: none;
    color: var(--wpgmza-color-charcoal);
}

.wpgmza-toolbar .wpgmza-toolbar-list > *:last-child{
    border: none;
}

.wpgmza-toolbar .wpgmza-toolbar-list > *:hover{
    background: var(--wpgmza-color-grey-50);
    cursor: pointer;
}

.wpgmza-toolbar input ~ .wpgmza-toolbar-list{
    display: none;
}

.wpgmza-toolbar input:checked ~ .wpgmza-toolbar-list{
    display: block;
}

.wpgmza-page-actions .wpgmza-toolbar {
    margin-left: 12px;
    padding-top: 12px;
}

/* Yes No Toggles */
.wpgmza-wrap input.cmn-toggle-yes-no + label {
    padding: 2px;
    width: 33px;
    height: 18px;
    position: relative;
    top: 1px;
}

.wpgmza-wrap input.cmn-toggle-yes-no + label:before, 
.wpgmza-wrap input.cmn-toggle-yes-no + label:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: var(--wpgmza-color-white);
    font-family: sans-serif;
    font-size: 13px;
    text-align: center;
    line-height: 24px;
}



.wpgmza-wrap input.cmn-toggle-yes-no + label:before {
  background-color: var(--wpgmza-color-grey-common);
  color: var(--wpgmza-color-black) !important;
  content: attr(data-off);
  -webkit-transition: -webkit-transform 0.5s;
  -moz-transition: -moz-transform 0.5s;
  -o-transition: -o-transform 0.5s;
  transition: transform 0.5s;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
}

.wpgmza-wrap input.cmn-toggle-yes-no + label:after {
  background-color: var(--wpgmza-color-brand);
  content: attr(data-on);
  -webkit-transition: -webkit-transform 0.5s;
  -moz-transition: -moz-transform 0.5s;
  -o-transition: -o-transform 0.5s;
  transition: transform 0.5s;
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
}

.wpgmza-wrap input.cmn-toggle-yes-no:checked + label:before {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.wpgmza-wrap input.cmn-toggle-yes-no:checked + label:after {
  -webkit-transform: rotateY(0);
  -moz-transform: rotateY(0);
  -ms-transform: rotateY(0);
  -o-transform: rotateY(0);
  transform: rotateY(0);
}

.wpgmza-wrap .cmn-override-big{
    width: 50px;
    height: 28px;
}

.wpgmza-wrap .cmn-override-big-wide{
    width: 100px !important;
    height: 28px !important;
}

.wpgmza-wrap .cmn-override-big:after, 
.wpgmza-wrap .cmn-override-big:before, 
.wpgmza-wrap .cmn-override-big-wide:after, 
.wpgmza-wrap .cmn-override-big-wide:before{
    line-height: 34px !important;
}

/* Footer note and help dialog in Fullscreen editor */
.wpgmza-wrap.fullscreen ~ .wpgmza-support-notice-container,
.wpgmza-writeup-block ~ .wpgmza-support-notice-container{
    display: none !important;
}

.wpgmza-wrap.fullscreen ~ #wpgmza-basic-footer-text {
    margin-bottom: 0;
}

/* Review nag */
.wpgmza-review-nag {
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    
    width: fit-content;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.wpgmza-review-nag:before{
    display: none !important;
}

.wpgmza-review-nag p{
    margin-top: 0
}

.wpgmza-support-notice {
    width: fit-content;
    padding-right: 20px;
}

/* General UI Tabs */
.wpgmza-tabs-container{
    box-sizing: border-box;
    padding: 20px;
    padding-left: 0;
}

.wpgmza-tabs-container .ui-tabs-nav{
    width: 18%;
    float: left;
    box-sizing: border-box;
    padding-right: 20px;
}

.wpgmza-tabs-container .ui-tabs-nav .ui-tab{
    background: transparent;
    border-radius: 50px;

    transition: background 0.3s ease;
}

.wpgmza-tabs-container .ui-tabs-nav .ui-tab.ui-tabs-active{
    background: var(--wpgmza-color-grey-250);
}

.wpgmza-tabs-container .ui-tabs-nav .ui-tab:hover{
    background: var(--wpgmza-color-grey-300);
}

.wpgmza-tabs-container .ui-tabs-nav .ui-tab a{
    text-decoration: none;
    color: var(--wpgmza-color-grey-800);
    padding: 5px 12px;
    font-weight: 600;
    display: block;
}

.wpgmza-tabs-container .ui-tabs-nav .ui-tab a:focus{
    outline: none;
    box-shadow: none;
}

.wpgmza-tabs-container .ui-tabs-panel{
    width: 82%;
    float: left;
    box-sizing: border-box;
    margin-bottom: 20px;

    display: flex;
    flex-direction: column;

    background: var(--wpgmza-color-white);
    border-radius: 4px;
    box-shadow: 0 1px 1px 0 rgb(66 66 66 / 10%), 0 1px 5px 3px rgb(66 66 66 / 5%);

    -webkit-animation: wpgmzaPopinTabs 0.3s forwards;
    animation: wpgmzaPopinTabs 0.3s forwards;
}

.wpgmza-tabs-container .ui-tabs-panel > *,
.wpgmza-tabs-container .ui-tabs-panel > form > *{
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 20px
}

.wpgmza-tabs-container .ui-tabs-panel .heading {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1.15em;
    font-weight: 600;
    border-bottom: 1px solid var(--wpgmza-color-light);
}

.wpgmza-tabs-container .ui-tabs-panel .heading.has-section {
    margin-bottom: 0;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row {
    display: flex;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row.has-hint {
    margin-bottom: 5px;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row.as-heading {
    padding-bottom: 10px;
    padding-top: 10px;
    background: var(--wpgmza-color-grey-50);
    border-bottom: 1px solid var(--wpgmza-color-light);
    border-top: 1px solid var(--wpgmza-color-light);
}

.wpgmza-tabs-container .ui-tabs-panel .heading + .tab-row.as-heading{
    border-top: none;
}

.wpgmza-tabs-container .ui-tabs-panel .heading.has-section + .wpgmza-upsell{
    margin-top: 20px;
}


.wpgmza-tabs-container .ui-tabs-panel .tab-row .title{
    flex-basis: 25%;
    line-height: 30px;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row .tab-stretch-right{
    flex-basis: 75%;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row [role="group"]{
    margin-top: 10px;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row [role="group"] label > div {
    display: flex;
    margin-bottom: 5px;
    line-height: 15px;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row [role="group"] label > div .switch {
    margin-right: 5px;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row .inline-hint{
    font-size: 0.9em;
    line-height: 30px;
    margin-left: 10px;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row ul{
    margin: 0;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row > ul,
.wpgmza-tabs-container .ui-tabs-panel .tab-row > small:nth-child(2){
    flex-basis: 75%;

}

.wpgmza-tabs-container .ui-tabs-panel > .wpgmza-upsell{
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    margin-top: 0;
}

.wpgmza-tabs-container .tab-row > .switch {
    margin-top: 5px;
    max-width: 75%;
    flex-basis: 75%;
}

.wpgmza-tabs-container .ui-tabs-panel .wpgmza-card {
    position: relative;
    margin-left: 20px;
    padding-left: 50px;
    padding-right: 30px;
    width: fit-content;

}

.wpgmza-tabs-container .ui-tabs-panel .wpgmza-card.wpgmza-upsell {
    padding-left: 10px;
    padding-right: 10px;
}

.wpgmza-tabs-container .ui-tabs-panel .wpgmza-card.wpgmza-notice.export-global-settings-notice{
    margin-left:  0;
}

.wpgmza-tabs-container .ui-tabs-panel .gdpr-usage-notice p,
.wpgmza-tabs-container .ui-tabs-panel .general-heading-notice p{
    font-size: 0.9em;
    margin-top: 0;
    font-style: italic;
}

.wpgmza-tabs-container .ui-tabs-panel #wpgmza-gdpr-compliance-notice .tab-row{
    margin-bottom: 20px;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row .wpgmza-preloader {
    position: relative;
    top: 0;
    margin-top: 50px;
    margin-bottom: 50px;
}

.wpgmza-tabs-container .script-tag {
    min-height: 300px;
    background: var(--wpgmza-color-charcoal);
    border: none;
    color: var(--wpgmza-color-white);
    padding: 15px;
}

/* Codemirror override */
.wpgmza-tabs-container .script-tag + .CodeMirror{
    flex-basis: 75%;
    border-radius: 4px;
}

.wpgmza-tabs-container .script-tag + .CodeMirror .CodeMirror-sizer{
    margin-left: 30px !important;
}

/* Cards */
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-check-card-selector .wpgmza-card {
    padding: 10px;
    width: initial;
    margin-left: 10px;
    cursor: pointer;

}
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-check-card-selector .wpgmza-card span{
    margin-top: 10px;
}

.wpgmza-tabs-container .ui-tabs-panel input[type="file"]{
    padding: 15px 20px;
    border: 2px dashed var(--wpgmza-color-grey-common);
}

.wpgmza-tabs-container .ui-tabs-panel .system-info{
    width: 100%;
    background: var(--wpgmza-color-grey-100);
    padding: 10px;
    margin: 0;
    border-radius: 5px;
}

.wpgmza-tabs-container button.wpgmza_destroy_data {
    min-width: 130px;
}

/* Writeup containers */
.wpgmza-writeup-tabs {
    width: 1100px;
    max-width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    margin-top: 60px;
    box-sizing: border-box;
}

.wpgmza-writeup-tabs .tab{
    padding: 5px 20px;
    font-size: 1.1em;
    border-radius: 100px;
    text-decoration: none;
    color: var(--wpgmza-color-charcoal);
    font-weight: 500;
    margin-right: 8px;
    transition: background 0.3s ease;
}

.wpgmza-writeup-tabs .tab.tab-active,
.wpgmza-writeup-tabs .tab:hover{
    background: var(--wpgmza-color-grey-250);
}

.wpgmza-writeup-block {
    width: 1100px;
    max-width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: 60px;
    margin-top: 30px;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 80px;
    border-radius: 3px;
    box-sizing: border-box;
    background: var(--wpgmza-color-white);
}

.wpgmza-writeup-block .wpgmza-button{
    font-size: 1.2em;
    padding: 9px 30px;
    margin-top: 20px;
    border-radius: 100px;
}

.wpgmza-writeup-block .wpgmza-button i {
    margin-left: 10px;
    font-size: 0.9em
}

.wpgmza-writeup-block .wpgmza-button.small{
    font-size: 1em;
    padding: 2px 22px;
}

.wpgmza-writeup-block hr{
    border: none;
    border-bottom: 1px solid var(--wpgmza-color-light);
    margin-top: 60px;
    margin-bottom: 60px;
    display: block;
}

.wpgmza-writeup-block .separator{
    margin-top: 60px;
    display: block;
    height: 80px;
}

.wpgmza-writeup-block img {
    max-width: 100%;
}

.wpgmza-writeup-block h1,
.wpgmza-writeup-block h2,
.wpgmza-writeup-block h3,
.wpgmza-writeup-block h4{
  font-weight: 100;
  display: block;
  box-sizing: border-box;
  margin: 0;
  margin-bottom: 20px;
  padding: 0;
  line-height: initial;

}

.wpgmza-writeup-block h1{
    font-size: 4em;
}

.wpgmza-writeup-block h2{
    font-size: 2.5em;
}

.wpgmza-writeup-block h3{
  font-size: 1.7em;
}

.wpgmza-writeup-block h4{
  font-size: 1.4em;
}

.wpgmza-writeup-block .credit-container{
    display: flex;
    margin-top: 40px;
}

.wpgmza-writeup-block .credit-container .member{
    display: block;
    vertical-align: top;
    margin-right: 10px;
    padding-bottom: 15px;
    height: 70px;
    width: 280px;
    text-align: left;
    font-size: 1.2em;
    line-height: 2;
}

.wpgmza-writeup-block .credit-container .member a{
    text-decoration: none;
}

.wpgmza-writeup-block .credit-container .member .wpgmza-rounded-image{
    width: 60px;
    float: left;
    margin: 0 10px 10px 0;
    padding: 1px;
    width: 60px;
    height: 60px;

    /* Grayscale standard */
    filter: grayscale(1);
}


.wpgmza-writeup-block .credit-container .member .title{
    display: block;
}

.wpgmza-writeup-block .credit-container .list-chain{
    text-align: center;
    width: 100%;
    font-size: 1.2em;
}

.wpgmza-writeup-block .credit-container .list-chain li{
    display: inline-block;
}

.wpgmza-writeup-block .credit-container .list-chain li:after{
    content: ", ";
}

.wpgmza-writeup-block .credit-container .list-chain li:last-child:after{
    content: "";
}

/* Pro features pages overrides */
.wpgmza-writeup-block.wpgmza-pro-features-page .wpgmza-banner-image-wrapper img{
    max-width: 400px;
}

.wpgmza-writeup-block.wpgmza-pro-features-page .wpgmza-pro-features-inline-highlights span{
    font-weight: 500;
    color: var(--wpgmza-color-blue);
}

.wpgmza-writeup-block.wpgmza-pro-features-page .wpgmza-grid:not(.wpgmza-grid-cols-3) .wpgmza-col {
    align-content: center;
}

.wpgmza-writeup-block.wpgmza-pro-features-page .wpgmza-grid img {
    border-radius: 5px; 
    overflow: hidden;
    max-width: 85%;
}

.wpgmza-writeup-block.wpgmza-pro-features-page .wpgmza-grid.wpgmza-grid-cols-3 .wpgmza-col h3,
.wpgmza-writeup-block.wpgmza-pro-features-page .wpgmza-grid.wpgmza-grid-cols-3 .wpgmza-col h4{
    margin-bottom: 10px;
}

.wpgmza-writeup-block.wpgmza-pro-features-page .wpgmza-grid.wpgmza-grid-cols-3 .wpgmza-col > div{
    font-size: 1.1em;
    margin-bottom: 5px;
}

/* Demo Showcase Cards */
.wpgmza-demo-showcase-grid .wpgmza-demo-showcase-title{
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: 500;
}

.wpgmza-demo-showcase-grid .wpgmza-demo-showcase-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpgmza-demo-showcase-grid .wpgmza-demo-showcase-card .wpgmza-demo-showcase-image{
    position: relative;
    height: 220px;
    overflow: hidden;
}

.wpgmza-demo-showcase-grid .wpgmza-demo-showcase-card .wpgmza-demo-showcase-image img{
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wpgmza-demo-showcase-grid .wpgmza-demo-showcase-card .wpgmza-demo-showcase-image.wpgmza-demo-showcase-fill-scale img{
    transform: translate(-50%, -50%) scale(1.4);
}

.wpgmza-demo-showcase-grid .wpgmza-demo-showcase-card > .wpgmza-demo-showcase-title,
.wpgmza-demo-showcase-grid .wpgmza-demo-showcase-card > .wpgmza-demo-showcase-description,
.wpgmza-demo-showcase-grid .wpgmza-demo-showcase-card > .wpgmza-demo-showcase-link-wrapper {
    padding: 0 10px;
    margin: 0;
}

.wpgmza-demo-showcase-grid .wpgmza-demo-showcase-card > .wpgmza-demo-showcase-link-wrapper {
    padding-bottom: 10px;
}

.wpgmza-demo-showcase-grid .wpgmza-demo-showcase-card .wpgmza-demo-showcase-version {
    background: var(--wpgmza-color-brand);
    color: var(--wpgmza-color-white);
    font-size: 0.6em;
    padding: 3px 5px;
    border-radius: 30px;
    line-height: 1em;
    margin-left: 12px;
    top: -2px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.wpgmza-demo-showcase-grid .wpgmza-demo-showcase-card .wpgmza-demo-showcase-version.wpgmza-demo-showcase-version-pro{
    background: var(--wpgmza-color-blue);
}


/* Popup notifications */
.wpgmza-popup-notification:before {
    content: "!";
    width: 20px;
    height: 20px;
    display: inline-block;
    border: 2px solid var(--wpgmza-color-light);
    text-align: center;
    font-weight: 700;
    line-height: 20px;
    border-radius: 60px;
    margin-right: 10px;
}

.wpgmza-popup-notification {
    position: fixed;
    /* background: var(--wpgmza-color-white); */
    background: linear-gradient(45deg, var(--wpgmza-color-blue), var(--wpgmza-color-cyan));
    background-size: 200%;

    color: var(--wpgmza-color-light);

    /* font-weight: 400; */
    font-weight: 500;

    top: 45px;
    right: 15px;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 1px 1px 0 rgb(66 66 66 / 10%), 0 1px 5px 3px rgb(66 66 66 / 5%);
    z-index: 99;
    -webkit-animation: wpgmzaPopin 0.2s forwards;
    animation: wpgmzaPopin 0.2s forwards;

    opacity: 1;

    transition: opacity 0.2s ease;

    width: fit-content;
}

.wpgmza-popup-notification.animate-end {
    opacity: 0;
}

.wpgmza-popup-notification.top-right,
.wpgmza-popup-notification.top-left,
.wpgmza-popup-notification.bottom-right,
.wpgmza-popup-notification.bottom-left,
.wpgmza-popup-notification.bottom,
.wpgmza-popup-notification.top,
.wpgmza-popup-notification.left,
.wpgmza-popup-notification.right {
    position: absolute;
}

.wpgmza-popup-notification.top-right,
.wpgmza-popup-notification.top-left,
.wpgmza-popup-notification.top {
    top: 7px;
}

.wpgmza-popup-notification.bottom-right,
.wpgmza-popup-notification.bottom-left,
.wpgmza-popup-notification.bottom {
    bottom: 7px;
}

.wpgmza-popup-notification.top-right,
.wpgmza-popup-notification.bottom-right,
.wpgmza-popup-notification.right {
    right: 7px;
}

.wpgmza-popup-notification.top-left,
.wpgmza-popup-notification.bottom-left,
.wpgmza-popup-notification.left{
    left: 7px;
}

.wpgmza-popup-notification.top,
.wpgmza-popup-notification.bottom {
    left: 50%;
    transform: translateX(-50%);
}

.wpgmza-popup-notification.left,
.wpgmza-popup-notification.right {
    top: 50%;
    transform: translateY(-50%);
}

/* Marker icon picker */
.wpgmza-marker-icon-picker{
    margin-top: 10px;

}

.wpgmza-marker-icon-picker .wpgmza-marker-icon-preview{
    height: 30px;
    width: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    vertical-align: top;
}

.wpgmza-marker-icon-picker .wpgmza-retina-ready{
    margin-right: 20px;
    margin-left: 10px;
    font-size: 0.9em;
}

/* Import options */
#import_options {
    width: 100%;
}

#import_options > .switch,
#import_options > div > .switch {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

#import_options button {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
    background: var(--wpgmza-color-light);
    border-color: var(--wpgmza-color-light);

    transition: background 0.3s ease;
}

#import_options button:hover{
    cursor: pointer;
    background: var(--wpgmza-color-light-alt);
    border-color: var(--wpgmza-color-light-alt);
}


#import_options table,
#export-tab table {
    margin-bottom: 20px;
}

#import_options #map-select-container,
#import_options .integration_options_block{
    display:flex;
    margin-top: 10px;
    align-items: center;
}

#import_options #map-select-container span,
#import_options #map-select-container select,
#import_options .integration_options_block span,
#import_options .integration_options_block select{
    flex: 1;
    max-width: 50%;
}

.wpgmza-editor .sidebar .settings .integration_options_block{
    font-size:0.9em;
    display: flex;
    align-items: center;
    padding-left: 25px;
    margin-top: 7px;
}


.wpgmza-editor .sidebar .settings .integration_options_block select{
    padding: 1px 5px;
    font-size: 1.1em;
    flex-grow: 1;
    margin-right: 25px;
    margin-left: 10px;
    min-height: 25px;
}


.wpgmza-wrap .wp-list-table.widefat.striped {
    border: none;
    box-shadow: 0 1px 1px 0 rgb(66 66 66 / 8%), 0 1px 3px 1px rgb(66 66 66 / 16%);
}

.wpgmza-wrap .wp-list-table.widefat.striped th{
    font-size: 1.1em;
    font-weight: 500 !important;
    border-color: var(--wpgmza-color-light);
}

.wpgmza-backup-item{
    padding: 10px;
    margin-top:10px;
    border: 1px solid var(--wpgmza-color-grey-common);
}

.wpgmza-backup-item:first-child {
    margin-top: 0;
}


.wpgmza-backup-item > div{ 
    margin-bottom: 5px;
} 

.wpgmza-backup-item > div.actions{
    margin-bottom: 0;
} 

.wpgmza-backup-item div[data-name="title"]{
    font-weight: 600;
}

/* General tables */
.wpgmza-general-table {
    width: 100%;
    box-sizing: border-box;
}

.wpgmza-general-table tr th{
    font-size: 1.1em;
    font-weight: 500;
    padding: 10px;
    border-bottom: 1px solid var(--wpgmza-color-light);
    text-align: left;
}

.wpgmza-general-table tr td{
    padding: 10px;
}

/* Wizard Styles */
.wpgmza-wrap .wpgmza-wizard-steps input,
.wpgmza-wrap .wpgmza-wizard-steps select,
.wpgmza-wrap .wpgmza-installer-steps input,
.wpgmza-wrap .wpgmza-installer-steps select{
    font-size: 1.6em;
    padding: 10px;
    max-width: 100%;
}

.wpgmza-wrap .wpgmza-wizard-steps input,
.wpgmza-wrap .wpgmza-installer-steps input{
    width: 400px;    
}

.wpgmza-wrap .wpgmza-wizard-steps select,
.wpgmza-wrap .wpgmza-installer-steps select{
    width: 200px;    
}

.wpgmza-wrap .wpgmza-wizard-steps .wpgmza-use-my-location {
    display: none;
}

.wpgmza-wrap .wpgmza-wizard-steps .step,
.wpgmza-wrap .wpgmza-installer-steps .step {
    display: none;
    margin-bottom: 20px;
}

.wpgmza-wrap .wpgmza-wizard-steps .step.active,
.wpgmza-wrap .wpgmza-installer-steps .step.active {
    display: block;
    -webkit-animation: wpgmzaPopin 0.2s forwards;
    animation: wpgmzaPopin 0.2s forwards;
}

.wpgmza-wrap .wpgmza-wizard-steps .step-loader,
.wpgmza-wrap .wpgmza-installer-steps .step-loader {
    height: 160px;
}

/* Installer specific */
.wpgmza-wrap .wpgmza-installer-steps .wpgmza-installer-engine-select {
    padding: 4rem 0;
    filter: grayscale(1);
    opacity: 0.5;

    transition: all 0.2s ease;
}

.wpgmza-wrap .wpgmza-installer-steps .wpgmza-installer-engine-select:hover {
    opacity: 1;
}

.wpgmza-wrap .wpgmza-installer-steps input[type="radio"]:checked + .wpgmza-installer-engine-select{
    filter: grayscale(0);
    opacity: 1
}

.wpgmza-wrap .wpgmza-installer-steps .wpgmza-installer-engine-select img{
    max-width: 380px;
}

.wpgmza-wrap .wpgmza-installer-steps .step .engine-step {
    display: none;
}

.wpgmza-wrap .wpgmza-installer-steps[data-engine="google-maps"] .step .engine-step[data-engine="google-maps"],
.wpgmza-wrap .wpgmza-installer-steps[data-engine="leaflet"] .step .engine-step[data-engine="leaflet"],
.wpgmza-wrap .wpgmza-installer-steps[data-engine="leaflet-azure"] .step .engine-step[data-engine="leaflet-azure"],
.wpgmza-wrap .wpgmza-installer-steps[data-engine="leaflet-stadia"] .step .engine-step[data-engine="leaflet-stadia"],
.wpgmza-wrap .wpgmza-installer-steps[data-engine="leaflet-maptiler"] .step .engine-step[data-engine="leaflet-maptiler"],
.wpgmza-wrap .wpgmza-installer-steps[data-engine="leaflet-locationiq"] .step .engine-step[data-engine="leaflet-locationiq"],
.wpgmza-wrap .wpgmza-installer-steps[data-engine="leaflet-zerocost"] .step .engine-step[data-engine="leaflet-zerocost"],
.wpgmza-wrap .wpgmza-installer-steps[data-engine="open-layers-latest"] .step .engine-step[data-engine="open-layers-latest"],
.wpgmza-wrap .wpgmza-installer-steps[data-engine="open-layers"] .step .engine-step[data-engine="open-layers"],
.wpgmza-wrap .wpgmza-installer-steps[data-engine="open-layers"] .step .engine-step[data-engine="open-layers|open-layers-latest|leaflet"],
.wpgmza-wrap .wpgmza-installer-steps[data-engine="open-layers-latest"] .step .engine-step[data-engine="open-layers|open-layers-latest|leaflet"],
.wpgmza-wrap .wpgmza-installer-steps[data-engine="leaflet"] .step .engine-step[data-engine="open-layers|open-layers-latest|leaflet"] {
    display: block;
}



.wpgmza-wrap .wpgmza-installer-steps .wpgmza-installer-feature-item {
    width: 180px;
    height: 160px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    justify-content:center;
    border-radius: 5px;
    padding: 0.5rem;
    margin-right: 0.5rem;
    margin-top: 1.5rem;
    background: var(--wpgmza-color-grey-50);
}

.wpgmza-wrap .wpgmza-installer-steps .wpgmza-installer-feature-item i {
    font-size: 2.5rem;
    padding-bottom: 1.2rem;
    
    color: var(--wpgmza-color-grey-500);
}

.wpgmza-wrap .wpgmza-installer-steps .wpgmza-installer-feature-item span {
    font-size: 0.9rem;
}


.wpgmza-wrap .wpgmza-installer-steps .google-maps-auto-key-form-wrapper {
    font-size: 0.9em;
}

.wpgmza-wrap .wpgmza-installer-steps .google-maps-auto-key-form-wrapper input{
    font-size: 1.4em;
    padding: 7px;
}

.wpgmza-wrap.wpgmza-installer .wpgmza-button.launcher-trigger {
    position: relative;
    padding-left:60px;
    margin-bottom: 40px;
}

.wpgmza-wrap.wpgmza-installer .wpgmza-button.launcher-trigger img{
    position: absolute;
    left: 20px;
    top: 12px;
    max-width: 30px;
    box-sizing: border-box;
}


/* Scroll bars */
.wpgmza-wrap .common-scrollbar::-webkit-scrollbar,
.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator::-webkit-scrollbar,
.wpgmza-wrap .wpgmza-editor .sidebar .navigation::-webkit-scrollbar,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list::-webkit-scrollbar,
.wpgmza-wrap .wpgmza-editor .sidebar .settings::-webkit-scrollbar {
  width: .4rem;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator::-webkit-scrollbar{
    background-color: var(--wpgmza-color-grey-100);
}

.wpgmza-wrap .common-scrollbar::-webkit-scrollbar-thumb,
.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator::-webkit-scrollbar-thumb,
.wpgmza-wrap .wpgmza-editor .sidebar .navigation::-webkit-scrollbar-thumb,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list::-webkit-scrollbar-thumb,
.wpgmza-wrap .wpgmza-editor .sidebar .settings::-webkit-scrollbar-thumb {
  background-color: var(--wpgmza-color-grey-200);
  border-radius: 5px;
}

.wpgmza-wrap .common-scrollbar::-webkit-scrollbar-thumb:hover,
.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator::-webkit-scrollbar-thumb:hover,
.wpgmza-wrap .wpgmza-editor .sidebar .navigation::-webkit-scrollbar-thumb:hover,
.wpgmza-wrap .wpgmza-editor .sidebar .feature-list::-webkit-scrollbar-thumb:hover,
.wpgmza-wrap .wpgmza-editor .sidebar .settings::-webkit-scrollbar-thumb:hover {
    background-color: var(--wpgmza-color-grey-300);
}


/* Drag handles */
.wpgmza-drag-handle {
    display: flex;
    flex-direction:column;
    cursor: pointer;
    padding: 7px;
    padding-right: 10px;
}

.wpgmza-drag-handle:before,
.wpgmza-drag-handle:after{
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    opacity: 0.9;
    background: var(--wpgmza-color-charcoal);
    border-radius: 50%;
    transition: 0.2s ease;
}

.wpgmza-drag-handle:after{
    margin-top: auto;
}

.wpgmza-drag-handle:hover:before,
.wpgmza-drag-handle:hover:after {
    opacity: 1;
    background: var(--wpgmza-color-blue);
}

/* Custom fields */
.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .field-actions{
    margin-left: auto;
}

.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .field-actions button{
    margin-left: 5px;
}

.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .wpgmza-flex-row > .wpgmza-flex-row:not(.field-actions){
    flex-grow: 1;
    padding-left: 10px;
}

.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .wpgmza-flex-row > .wpgmza-flex-row:not(.field-actions){
   align-items: center;
}


.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .wpgmza-flex-row > .wpgmza-flex-row strong {
    margin-right: 10px;
    font-size: 15px;
}


.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .wpgmza-flex-row > .wpgmza-flex-row input,
.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .wpgmza-flex-row > .wpgmza-flex-row select {
    flex-grow: 1;
    height: 100%;
    border-radius: 4px;
    font-size: 15px;
    padding: 0px 8px;
    border: 1px solid var(--wpgmza-color-grey-300);
}

.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .field-meta-container {
    border-top: 1px dashed var(--wpgmza-color-grey-common);
    margin-top: 10px;
}

.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .field-meta-container h3{
    margin-top: 10px;
}

.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .field-meta-container > .wpgmza-row:not(:last-child) {
    margin-bottom: 10px;
}

.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .field-meta-container .html-attributes .attributes{
    max-width: 70%;
}

.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .field-meta-container .html-attributes .attributes .wpgmza-row:not(:last-child){
    margin-bottom: 5px;
}

.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .field-meta-container .html-attributes .attributes .wpgmza-row .wpgmza-col{
    margin-right: 5px;
}

.wpgmza-wrap .custom-field-list-container .wpgmza-custom-field-item-row .field-meta-container input{
    border-color: var(--wpgmza-color-grey-300);
}

.wpgmza-wrap .custom-field-new-row-control {
    text-align: center;
    font-size: 1.7rem;
    border: 2px dashed var(--wpgmza-color-grey-500);
    color: var(--wpgmza-color-grey-600);
    padding: .6rem 0;
    border-radius: 4px; 
    transition: 0.4s ease;
    margin-bottom: 20px;
    cursor: pointer;
}

.wpgmza-wrap .custom-field-new-row-control i{
    vertical-align: middle;
}

.wpgmza-wrap .custom-field-new-row-control span{
    font-size: 0.8rem;
    vertical-align: middle;
    margin-left: 2px;
    font-weight: 600;
}

.wpgmza-wrap .custom-field-new-row-control:hover {
    border: 2px dashed var(--wpgmza-color-grey-700);
    color: var(--wpgmza-color-grey-700);
}

/* Font awesome icon picker field */
.wpgmza-wrap .icon-picker-autocomplete {
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    padding: 0;
    display: none;

    -webkit-animation: wpgmzaPopin 0.1s forwards;
    animation: wpgmzaPopin 0.1s forwards;
}

.wpgmza-wrap .icon-picker-autocomplete.visible {
    display: block;
}

.wpgmza-wrap .icon-picker-autocomplete .icon-item{
    padding: 5px 10px;
    cursor: pointer;
    transition: 0.2s ease;
}

.wpgmza-wrap .icon-picker-autocomplete .icon-item:hover{
    background: var(--wpgmza-color-grey-100);
}

.wpgmza-wrap .icon-picker-autocomplete .icon-item i {
    margin-right: 10px;
    color: var(--wpgmza-color-grey-800);
}

/* Temp Styling page */
.wpgmza-styling-editor .wpgmza-styling-preview-wrap {
    display: flex;
    /*flex-direction: column; */
    align-items: center;
    justify-content: center;
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view {
    width: 1200px;
    max-width:  80%;
    border:  3px solid var(--wpgmza-color-white);
    border-radius: 5px;
    box-shadow: var(--wpgmza-shadow-common);
    transition: 0.5s ease;
}

.wpgmza-styling-preview-wrap .wpgmza_map {
    width: 100% !important;
    height: 100% !important;
    
    --wpgmza--viewport-panels-max-width: 40%;
    --wpgmza--viewport-overlays-max-width: 40%;
}

.wpgmza-styling-editor .sidebar .settings{
    min-height: calc(100% - 140px);
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .wpgmza-store-locator select {
    display: none;
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .wpgmza-store-locator > *{
    /*pointer-events: none;*/
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .wpgmza-store-locator {
    /*cursor: not-allowed !important;*/
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-bar{
    display: flex;
    background: var(--wpgmza-color-white);
    height: 30px;
    align-items: center;
    padding: 5px 15px; 
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-bar .controls-left{
    display: flex;

}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-bar .browser-btn{
    width: 10px;
    height: 10px;
    border-radius: 30px;
    margin-right: 5px;
    background: var(--wpgmza-color-warning);
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-bar .browser-btn:first-child{
    background: var(--wpgmza-color-error);
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-bar .browser-btn:last-child{
    background: var(--wpgmza-color-success);
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-bar .controls-center{
    display: flex;
    flex-grow: 1;
    height: 100%;
    align-items: center;
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-bar .controls-center .browser-url{
    background: var(--wpgmza-color-grey-75);
    height: 80%;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 6px;
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-bar .controls-right .browser-menu{
    display: flex;
    flex-direction: column;
    width: 30px;
    height: 30px;
    padding: 6px 5px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-bar .controls-right .browser-menu .browser-menu-bar{
    background: var(--wpgmza-color-grey-300);
    width: 100%;
    height: 2px;
    border-radius: 10px;
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-bar .controls-right .browser-menu .browser-menu-bar:first-child{
    margin-bottom: auto;
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-bar .controls-right .browser-menu .browser-menu-bar:last-child{
    margin-top: auto;
}

.wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-content{
    height: 600px;
    max-height: 80%;
}

.wpgmza-styling-editor .wpgmza-style-guide-step {
    display: none;
}

.wpgmza-styling-editor .wpgmza-style-guide-step.active {
    display: block;
    position: relative;
    -webkit-animation: wpgmzaPopinTabs 0.1s forwards;
    animation: wpgmzaPopinTabs 0.1s forwards;
}


.wpgmza-styling-editor  .wpgmza-styling-unit-input-wrapper .wpgmza-styling-editor-reset-btn,
.wpgmza-styling-editor  .wpgmza-color-input-wrapper .wpgmza-styling-editor-reset-btn {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;

    opacity: 0.0;
    transition: opacity 0.3s ease;
}

.wpgmza-styling-editor  .wpgmza-color-input-wrapper .wpgmza-styling-editor-reset-btn {
    right: 50px;
}

.wpgmza-styling-editor  .wpgmza-styling-unit-input-wrapper .wpgmza-styling-editor-reset-btn{
    left: 5px;
}

.wpgmza-styling-editor .wpgmza-styling-editor-contains-reset{
    position: relative;
}

.wpgmza-styling-editor .wpgmza-styling-editor-contains-reset:hover .wpgmza-styling-editor-reset-btn{
    opacity: 0.4;
}

.wpgmza-styling-editor  .wpgmza-styling-unit-input-wrapper .wpgmza-styling-editor-reset-btn:hover,
.wpgmza-styling-editor .wpgmza-color-input-wrapper .wpgmza-styling-editor-reset-btn:hover {
    cursor:pointer;
    opacity: 1;
}

.wpgmza-styling-editor  .wpgmza-styling-unit-input-wrapper .wpgmza-styling-editor-reset-btn:before,
.wpgmza-styling-editor .wpgmza-color-input-wrapper .wpgmza-styling-editor-reset-btn:before {
    content: "";
    display: block;
    width: 40%;
    height: 40%;
    border: 2px solid var(--wpgmza-color-grey-500);
    border-radius: 25px;
    border-left-color: transparent;
}

.wpgmza-styling-editor  .wpgmza-styling-unit-input-wrapper .wpgmza-styling-editor-reset-btn:after,
.wpgmza-styling-editor .wpgmza-color-input-wrapper .wpgmza-styling-editor-reset-btn:after {
    position: absolute;
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: 3px solid var(--wpgmza-color-grey-500);
    border-top-color: transparent;
    border-right-color: transparent;
    top: 6px;
    left: 5px;
}

.wpgmza-styling-editor  .wpgmza-color-input-wrapper .wpgmza-color-preview{
    margin-right: 0 !important;
}

.wpgmza-styling-editor .wpgmza-style-guide-nav {
    display: flex;
    margin-top: 10px;
}

.wpgmza-styling-editor .wpgmza-style-guide-nav button{
    font-size: 0.9em;
}

.wpgmza-styling-editor .wpgmza-style-guide-nav button:last-child{
    margin-left: auto;
}

.wpgmza-styling-editor .styling-backdrop-filter-row {
    flex-direction: column !important;
}

.wpgmza-styling-editor .theme-editor-note img {
    border-radius: 4px;
    max-width: calc(100% - 10px);
}

.wpgmza-styling-editor .theme-editor-note p {
    margin-bottom: 0;
}

/* Color Picker Styles */
.wpgmza-color-input-wrapper {
    position: relative;
}

.wpgmza-color-input-wrapper .wpgmza-color-preview {
    position: relative;
    width: 25px;
    height: 25px;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 5px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.wpgmza-color-input-wrapper .wpgmza-color-preview:hover{
    transform: scale(1.1);
}

.wpgmza-color-input-wrapper .wpgmza-color-preview.anchor-right {
    margin-left:  auto;
}

.wpgmza-color-input-wrapper .wpgmza-color-preview:before,
.wpgmza-color-input-wrapper .wpgmza-color-preview:after{
    content: "";
    display: block;
    position: absolute;
    width: calc(50%);
    height: calc(50%);
    top: 0;
    left: 0;
    background: #b4b4b4;
}

.wpgmza-color-input-wrapper .wpgmza-color-preview:after{
    left: unset;
    top: unset;
    bottom: 0;
    right: 0;
}

.wpgmza-color-input-wrapper .wpgmza-color-preview .swatch,
.wpgmza-color-input-host .wpgmza-color-preview .swatch {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.wpgmza-color-input-wrapper .wpgmza-color-picker,
.wpgmza-color-input-host .wpgmza-color-picker {
    display: none;
    position: absolute;
    z-index: 5;
    width: 200px;
}

.wpgmza-color-input-wrapper .wpgmza-color-picker.anchor-right,
.wpgmza-color-input-host .wpgmza-color-picker.anchor-right {
    right:  0;
}

.wpgmza-color-input-wrapper .wpgmza-color-picker.active,
.wpgmza-color-input-host .wpgmza-color-picker.active {
    display: block;
     -webkit-animation: wpgmzaPopinTabs 0.1s forwards;
    animation: wpgmzaPopinTabs 0.1s forwards;
}

.wpgmza-color-input-wrapper .wpgmza-color-picker .color-wheel,
.wpgmza-color-input-host .wpgmza-color-picker .color-wheel {
    max-width: 100%;
}

.wpgmza-color-input-wrapper .wpgmza-color-picker .canvas-wrapper,
.wpgmza-color-input-host .wpgmza-color-picker .canvas-wrapper {
    position: relative;
}

.wpgmza-color-input-wrapper .wpgmza-color-picker .canvas-handle,
.wpgmza-color-input-host .wpgmza-color-picker .canvas-handle {
    width: 10px;
    height: 10px;
    border: 3px solid var(--wpgmza-color-white);
    border-radius: 10px;
    box-shadow: var(--wpgmza-shadow-common);
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.wpgmza-color-input-wrapper .wpgmza-color-picker .canvas-slider,
.wpgmza-color-input-host .wpgmza-color-picker .canvas-slider {
    width: 8px;
    height: 8px;
    background: var(--wpgmza-color-white);
    border-radius: 10px;
    box-shadow: var(--wpgmza-shadow-common);
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.wpgmza-color-input-wrapper .wpgmza-color-field-wrapper,
.wpgmza-color-input-host .wpgmza-color-field-wrapper {
    margin-top: 10px;
}

.wpgmza-color-input-wrapper .color-field-toggle,
.wpgmza-color-input-host .color-field-toggle {
    display: flex;
    justify-content: center;
    padding: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.wpgmza-color-input-wrapper .color-field-toggle:before,
.wpgmza-color-input-wrapper .color-field-toggle:after,
.wpgmza-color-input-host .color-field-toggle:before,
.wpgmza-color-input-host .color-field-toggle:after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border: 2px solid var(--wpgmza-color-grey-300);
    border-right: 0;
    border-bottom: 0;
    transform: rotate(-45deg);

    transition: border 0.2s ease;
}

.wpgmza-color-input-wrapper .color-field-toggle:after,
.wpgmza-color-input-host .color-field-toggle:after {
    border: 2px solid var(--wpgmza-color-grey-300);
    border-left: 0;
    border-top: 0;
}

.wpgmza-color-input-wrapper .color-field-toggle:hover:before,
.wpgmza-color-input-wrapper .color-field-toggle:hover:after,
.wpgmza-color-input-host .color-field-toggle:hover:before,
.wpgmza-color-input-host .color-field-toggle:hover:after {
    border-color: var(--wpgmza-color-grey-500);
}


.wpgmza-color-input-wrapper .wpgmza-color-field-wrapper .field-block .labels,
.wpgmza-color-input-wrapper .wpgmza-color-field-wrapper .field-block .controls,
.wpgmza-color-input-host .wpgmza-color-field-wrapper .field-block .labels,
.wpgmza-color-input-host .wpgmza-color-field-wrapper .field-block .controls{
    display: flex;
    margin-bottom: 5px;
}

.wpgmza-color-input-wrapper .wpgmza-color-field-wrapper .field-block .labels .inner-label,
.wpgmza-color-input-host .wpgmza-color-field-wrapper .field-block .labels .inner-label{
    flex: 1;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
}

.wpgmza-color-input-wrapper .wpgmza-color-field-wrapper .field-block .controls input,
.wpgmza-color-input-host .wpgmza-color-field-wrapper .field-block .controls input{
    flex: 1;
    min-width: unset;
    width: 100%;
    border: 1px solid var(--wpgmza-color-grey-300);
    margin: 0;
    padding: 2px;
    font-size: 14px;
    text-align: center;
    border-right: none;
    border-radius: 0;
}

.wpgmza-color-input-wrapper .wpgmza-color-field-wrapper .field-block .controls input:focus,
.wpgmza-color-input-host .wpgmza-color-field-wrapper .field-block .controls input:focus{
    outline: none;
    border-color: var(--wpgmza-color-grey-300);
    box-shadow: none;
}

.wpgmza-color-input-wrapper .wpgmza-color-field-wrapper .field-block .controls input:first-child,
.wpgmza-color-input-host .wpgmza-color-field-wrapper .field-block .controls input:first-child{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.wpgmza-color-input-wrapper .wpgmza-color-field-wrapper .field-block .controls input:last-child,
.wpgmza-color-input-wrapper .wpgmza-color-field-wrapper .field-block.alpha-disabled .controls input:nth-child(3),
.wpgmza-color-input-host .wpgmza-color-field-wrapper .field-block .controls input:last-child,
.wpgmza-color-input-host .wpgmza-color-field-wrapper .field-block.alpha-disabled .controls input:nth-child(3){
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-right: 1px solid var(--wpgmza-color-grey-300);
}

.wpgmza-color-input-wrapper .wpgmza-color-field-wrapper .field-block.alpha-disabled .labels .inner-label:last-child,
.wpgmza-color-input-wrapper .wpgmza-color-field-wrapper .field-block.alpha-disabled .controls input:last-child,
.wpgmza-color-input-host .wpgmza-color-field-wrapper .field-block.alpha-disabled .labels .inner-label:last-child,
.wpgmza-color-input-host .wpgmza-color-field-wrapper .field-block.alpha-disabled .controls input:last-child{
    display: none;
}

.wpgmza-color-input-wrapper .wpgmza-color-palette-wrap,
.wpgmza-color-input-host .wpgmza-color-palette-wrap {
    display:flex;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--wpgmza-color-grey-100);
}

.wpgmza-color-input-wrapper .wpgmza-color-palette-wrap .palette-swatch,
.wpgmza-color-input-host .wpgmza-color-palette-wrap .palette-swatch{
    width: 23px;
    height: 23px;
    margin-right:2px;
    margin-bottom: 3px;
    border-radius: 3px;
    position: relative;
    transition: transform 0.2s ease;
}

.wpgmza-color-input-wrapper .wpgmza-color-palette-wrap .palette-swatch:hover,
.wpgmza-color-input-host .wpgmza-color-palette-wrap .palette-swatch:hover{
    transform: scale(1.1);
    cursor:pointer;
}

/* Place the color picker inside the map editor section of atlas novus */
.wpgmza-editor .map_wrapper .wpgmza-color-picker.wpgmza-card.wpgmza-shadow.active,
.wpgmza-editor .map_wrapper .wpgmza-color-picker.wpgmza-card.wpgmza-shadow.anchor-right.active {
    right: unset;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Make the feature panel color pickers sqaured full-width containers */
.wpgmza-wrap .wpgmza-editor .grouping .settings .wpgmza-color-input-wrapper .wpgmza-color-preview,
.wpgmza-feature-panel .wpgmza-color-input-wrapper .wpgmza-color-preview{
    border-radius: 4px;
    width: 45px;
    margin-right: 30px;
    height: 28px;
}

.wpgmza-wrap .wpgmza-editor .grouping .settings .wpgmza-color-input-wrapper .wpgmza-color-preview:hover,
.wpgmza-feature-panel .wpgmza-color-input-wrapper .wpgmza-color-preview:hover{
    transform: scale(101%);
}

/* Color Picker Pro Disabled */
.wpgmza-wrap .wpgmza-pro-feature .wpgmza-color-input-wrapper .wpgmza-color-preview{
    pointer-events: none;
}

/* Disable feature due to incompatibility */
.wpgmza-wrap .wpgmza-feature-disable-incompatible{
    pointer-events: none;
    opacity: 0.3 !important;
    order: 9;
}

/* Styling Unit Input */
.wpgmza-styling-unit-input-wrapper .unit-input-inner-wrap {
    --wpgmza-styling-input-border-color: #8c8f94;
    display: inline-flex;
    flex-direction: row;
    border: 1px solid var(--wpgmza-styling-input-border-color);
    border-radius: 4px;
    min-height: 30px;
    box-sizing: border-box;
}

.wpgmza-styling-unit-input-wrapper .unit-input-inner-wrap .unit-stepper-wrapper{
    width: 20px;
    display: flex;
    flex-direction: column;
}

.wpgmza-styling-unit-input-wrapper .unit-input-inner-wrap .unit-stepper-wrapper .unit-stepper-button{
    width: 100%;
    height: 50%;
    border-right: 1px solid var(--wpgmza-styling-input-border-color);
    border-bottom: 1px solid var(--wpgmza-styling-input-border-color);
    opacity: 0.7;
    position: relative;

    transition: opacity 0.3s ease;
}

.wpgmza-styling-unit-input-wrapper .unit-input-inner-wrap .unit-stepper-wrapper .unit-stepper-button:last-child{
    border-bottom: none;
}

.wpgmza-styling-unit-input-wrapper .unit-input-inner-wrap .unit-stepper-wrapper .unit-stepper-button:hover{
    cursor: pointer;
    opacity: 1;
}


.wpgmza-styling-unit-input-wrapper .unit-input-inner-wrap .unit-stepper-wrapper .unit-stepper-button:before{
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border: 2px solid var(--wpgmza-color-charcoal);
    border-left: none;
    border-bottom: none;
    position: absolute;
    left: 50%;
    top: 64%;
    transform: translate(-50%, -50%) rotate(-45deg) ;
    opacity: 0.4;
}

.wpgmza-styling-unit-input-wrapper .unit-input-inner-wrap .unit-stepper-wrapper .unit-stepper-button:last-child:before{
    left: 50%;
    top: 43%;
    transform: translate(-50%, -50%) rotate(135deg) ;
}


.wpgmza-styling-unit-input-wrapper .unit-input-inner-wrap .unit-value-input{
    padding: 0;
    border: none;
    width: 60px;
    margin-right: 2px;
    border-radius: 0;
    min-width: unset;
    text-align: right;
    padding: 0 2px;
    background: transparent;
    max-height: 100%;
    min-height: unset;
    line-height: normal;
}

.wpgmza-styling-unit-input-wrapper .unit-input-inner-wrap .unit-suffix-toggle {
    padding-top: 4px;
    opacity: 0.5;
    padding-left: 2px;
    padding-right: 6px;

    transition: opacity 0.2s ease;
}

.wpgmza-styling-unit-input-wrapper .unit-input-inner-wrap .unit-suffix-toggle:hover {
    cursor: pointer;
    opacity: 0.8;
}

/* CSS Backdrop Filter Input + CSS Filter added */
.wpgmza-styling-backdrop-filter-input-wrapper,
.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-item-wrap,
.wpgmza-css-filter-input-wrapper .css-filter-item-wrap {
    display: flex;
    flex-direction: column;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-item-wrap .backdrop-filter-toggle-wrap,
.wpgmza-css-filter-input-wrapper .css-filter-item-wrap .css-filter-toggle-wrap{
    width: 100%;
    text-align: left;
    padding: 5px;
    box-sizing: border-box;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-item-wrap .backdrop-filter-toggle-wrap label,
.wpgmza-css-filter-input-wrapper .css-filter-item-wrap .css-filter-toggle-wrap label{
    text-transform: capitalize;
    display: block;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-item-wrap input,
.wpgmza-css-filter-input-wrapper .css-filter-item-wrap input{
    display: none;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-item-wrap:not(.enabled) .backdrop-filter-control-wrap, 
.wpgmza-css-filter-input-wrapper .css-filter-item-wrap:not(.enabled) .css-filter-control-wrap{ 
    display: none;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-item-wrap,
.wpgmza-css-filter-input-wrapper .css-filter-item-wrap{
    padding: 5px 10px;
    background: var(--wpgmza-color-grey-100);
    border-radius: 4px;
    box-shadow: var(--wpgmza-shadow-common);
    margin-bottom: 10px;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-control-wrap,
.wpgmza-css-filter-input-wrapper .css-filter-control-wrap {
    box-sizing: border-box;
    max-width: 100%;
    position: relative;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-control-wrap small,
.wpgmza-css-filter-input-wrapper .css-filter-control-wrap small{
    position: absolute;
    top: -22px;
    right: 0;
    font-weight: 500;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-control-wrap .ui-slider .ui-slider-handle,
.wpgmza-css-filter-input-wrapper .css-filter-control-wrap .ui-slider .ui-slider-handle {
    transform: translateX(-50%) !important;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-item-wrap:not(.enabled),
.wpgmza-css-filter-input-wrapper .css-filter-item-wrap:not(.enabled) {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-item-wrap:not(.enabled):hover,
.wpgmza-css-filter-input-wrapper .css-filter-item-wrap:not(.enabled):hover {
    opacity: 8;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-item-wrap.enabled,
.wpgmza-css-filter-input-wrapper .css-filter-item-wrap.enabled {
    opacity: 1;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-item-wrap:not(.enabled) .backdrop-filter-toggle-wrap label,
.wpgmza-css-filter-input-wrapper .css-filter-item-wrap:not(.enabled) .css-filter-toggle-wrap label{
    position: relative;
}

.wpgmza-styling-backdrop-filter-input-wrapper .backdrop-filter-item-wrap:not(.enabled) .backdrop-filter-toggle-wrap label:after,
.wpgmza-css-filter-input-wrapper .css-filter-item-wrap:not(.enabled) .css-filter-toggle-wrap label:after{
    content: "(Inactive)";
    margin-left: 5px;
    font-size: 0.8em;
    position: absolute;
    right: 0;
    top: 0;
}   

/** CSS State Block */
.wpgmza-css-state-block {
    margin-top: 20px;
}

.wpgmza-css-state-block .wpgmza-css-state-block-tabs {
    display: flex;
    flex-direction:row;
    border: 1px solid var(--wpgmza-color-grey-400);
    border-radius: 4px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.wpgmza-css-state-block .wpgmza-css-state-block-tabs .wpgmza-css-state-block-item {
    flex: 1;
    text-align: center;
    padding: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-right: 1px solid var(--wpgmza-color-grey-200);
}

.wpgmza-css-state-block .wpgmza-css-state-block-tabs .wpgmza-css-state-block-item:last-child {
    border-right: none;
}

.wpgmza-css-state-block .wpgmza-css-state-block-tabs .wpgmza-css-state-block-item:hover {
    background: var(--wpgmza-color-grey-200);
}


.wpgmza-css-state-block .wpgmza-css-state-block-tabs .wpgmza-css-state-block-item.active {
    background: var(--wpgmza-color-grey-400);
    font-weight: 500;
    border-right-color: transparent;
}

.wpgmza-css-state-block .wpgmza-css-state-block-content {
    display: none;
    border: 1px solid var(--wpgmza-color-grey-400);
    border-radius: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 0;
    padding: 10px;
}

.wpgmza-css-state-block .wpgmza-css-state-block-content.active {
    display: block;
}

.wpgmza-css-state-block .wpgmza-css-state-block-content .wpgmza-row{
    margin-top:  10px !important;
    margin-bottom:  10px !important;
}

.wpgmza-css-state-block .wpgmza-css-state-block-content .wpgmza-row:first-child {
    margin-top: 0 !important;
}

.wpgmza-css-state-block .wpgmza-css-state-block-content .wpgmza-row:last-child {
    margin-bottom: 0 !important;
}

/* Writersblock */
.wpgmza-wrap .writersblock-wrapper .writersblock-editor {
    padding: 10px;
    border: 1px solid var(--writersblock-grey-100);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.wpgmza-wrap .writersblock-wrapper .writersblock-toolbar {
    background: var(--writersblock-grey-100);
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    flex-wrap: wrap;
}

.wpgmza-wrap .writersblock-wrapper .writersblock-popup-tools.active{
    box-shadow: var(--wpgmza-shadow-common);
}

.wpgmza-wrap .writersblock-wrapper .writersblock-toolbar .tool-group {
    margin-right: 0;
    padding-right: 0;
}

.wpgmza-wrap .writersblock-wrapper .writersblock-editor img,
.wpgmza-wrap .writersblock-wrapper .writersblock-editor video,
.wpgmza-wrap .writersblock-wrapper .writersblock-editor audio{
    max-width: 100%;
}

.wpgmza-wrap .writersblock-modal {
    max-width: 90%;
    width: 90%;
}

.wpgmza-wrap .writersblock-wrapper .wpgmza-writersblock-disabled {
	opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.wpgmza-wrap .writersblock-wrapper .wpgmza-writersblock-hold-state {
    color: var(--wpgmza-color-cyan) !important;
}

.wpgmza-wrap .writersblock-wrapper .writersblock-wpgmza-code-editor {
    padding: 10px;
    border: 1px solid var(--writersblock-grey-100);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    width: 100%;
    min-height: 200px;

    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.wpgmza-wrap .writersblock-wrapper.wpgmza-code-syntax-invalid:after {
    content: "⚠ Invalid HTML detected!";
    color: var(--wpgmza-color-error);
    font-size: 0.9em;
}

/* Image Single Inputs */
.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-image-single-input-wrapper,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-image-single-input-wrapper {
    position: relative;
    cursor: pointer;
    border: var(--wpgmza-color-grey-200) dashed 2px;
    border-radius: 4px;
    color: var(--wpgmza-color-grey-200);
    transition: border 0.3s ease, color 0.3s ease;
    width: 100%;
}

.wpgmza-tabs-container .ui-tabs-panel .wpgmza-image-single-input-wrapper{
    width: 135px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-image-single-input-wrapper:hover,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-image-single-input-wrapper:hover {
    border-color: var(--wpgmza-color-grey-common);
    color: var(--wpgmza-color-grey-common);
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-image-single-input-wrapper .wpgmza-image-single-input-preview,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-image-single-input-wrapper .wpgmza-image-single-input-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-image-single-input-wrapper .wpgmza-image-single-input-preview div,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-image-single-input-wrapper .wpgmza-image-single-input-preview div{
    min-height: 125px;
    font-size: 2.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-image-single-input-wrapper .wpgmza-image-single-input-preview img,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-image-single-input-wrapper .wpgmza-image-single-input-preview img{
    max-width: 100%;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-image-single-input-wrapper:hover img,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-image-single-input-wrapper:hover img{
    opacity: 0.7;
}

.wpgmza-wrap .wpgmza-image-single-input-wrapper {
    position: relative;
}


.wpgmza-wrap .wpgmza-image-single-input-wrapper .wpgmza-image-single-input-reset {
    position: absolute;
    top: 3px;
    right: 3px;
    z-index: 9;
    background: var(--wpgmza-color-dark);
    color: var(--wpgmza-color-light);
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    font-size: 12px;
    padding: 1px;
    opacity: 0.4;
}

.wpgmza-wrap .wpgmza-image-single-input-wrapper .wpgmza-image-single-input-reset:hover {
    opacity: 1;
}

.wpgmza-wrap .wpgmza-image-single-input-wrapper .wpgmza-image-single-input-reset i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Category Trees */
.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-category-picker.jstree ul li,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-category-picker.jstree ul li {
    padding-left: 0;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-category-picker.jstree ul li .jstree-themeicon,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-category-picker.jstree ul li .jstree-themeicon{
    display: none;    
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-category-picker.jstree ul li .jstree-checkbox,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-category-picker.jstree ul li .jstree-checkbox{
    margin-right: 4px;    
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-category-picker.jstree ul li .jstree-ocl,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-category-picker.jstree ul li .jstree-ocl{
    --wpgmza-jstree-state-color : var(--wpgmza-color-grey-200);
    position: relative;
    background-image: none;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-category-picker.jstree ul li .jstree-node,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-category-picker.jstree ul li .jstree-node{
    background-image: none;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-category-picker.jstree ul li .jstree-ocl:hover,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-category-picker.jstree ul li .jstree-ocl:hover{
    --wpgmza-jstree-state-color : var(--wpgmza-color-grey-500);
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-category-picker.jstree ul li .jstree-ocl:before,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-category-picker.jstree ul li .jstree-ocl:before{
    content: "";
    display: block;
    background: var(--wpgmza-jstree-state-color);
    height: 3px;
    width: 12px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 5px;
    margin-top: 10px;

    transition: background 0.2s ease;
}

.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-category-picker.jstree ul li.jstree-closed .jstree-ocl:after,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-category-picker.jstree ul li.jstree-closed .jstree-ocl:after{
    content: "";
    display: block;
    position: absolute;
    
    background: var(--wpgmza-jstree-state-color);
    height: 12px;
    width: 3px;
    top: 6px;
    left: 50%;
    border-radius: 5px;
    transform: translateX(-50%);
    transition: background 0.2s ease;
}


.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-category-picker.jstree ul li .jstree-leaf > .jstree-ocl:before,
.wpgmza-wrap .wpgmza-editor .sidebar .wpgmza-category-picker.jstree ul li .jstree-leaf > .jstree-ocl:after,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-category-picker.jstree ul li .jstree-leaf > .jstree-ocl:before,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-category-picker.jstree ul li .jstree-leaf > .jstree-ocl:after{
    display: none;
}

/* Streetview editor */
.wpgmza-wrap .wpgmza-editor .sidebar .settings .streetview-starting-poisition-info {
    padding: 8px;
    box-sizing: border-box;
    background: var(--wpgmza-color-grey-50);
    border-radius: 5px;
    margin: 15px 0;
    
    box-shadow: var(--wpgmza-shadow-common);
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .streetview-starting-poisition-info input{
    font-size: 0.8em;
    border: none;
    width: 100%;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .streetview-starting-poisition-info .wpgmza-row{
    margin-bottom: 5px;
    
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .streetview-starting-poisition-info .wpgmza-row:last-child{
    margin-bottom: 0;
}

.wpgmza-wrap .wpgmza-editor .sidebar .settings .streetview-help-box .notice-warning {
    font-size: 0.85em;
    margin-top: 15px;
}


/* Generic Modals */
.wpgmza-wrap .wpgmza-generic-modal {
    display: none;
    position: fixed;
    background: var(--wpgmza-color-black-overlay);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
}

.wpgmza-wrap .wpgmza-generic-modal.pending {
    display: block;
}

.wpgmza-wrap .wpgmza-generic-modal .wpgmza-generic-modal-inner {
    background: var(--wpgmza-color-white);
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%;
    max-width: 550px;
    padding: 20px;
    border-radius: 4px;
    box-shadow: var(--wpgmza-shadow-high);

    max-height: 60vh; 
    overflow-y: auto;

    text-align: center;

    transform: translate(-50%, -50%);
}

.wpgmza-wrap .wpgmza-generic-modal .wpgmza-generic-modal-title {
    font-size: 1.3rem;
    padding-top: 10px;
    margin-bottom: 10px;
}

.wpgmza-wrap .wpgmza-generic-modal .wpgmza-generic-modal-title,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-generic-modal-content {
    padding-bottom: 10px;
}

.wpgmza-wrap .wpgmza-generic-modal .wpgmza-generic-modal-content > input,
.wpgmza-wrap .wpgmza-generic-modal .wpgmza-generic-modal-content > select{
    margin-top: 10px;
    font-size: 1rem;
    padding: 10px;
    min-width: 220px;
    max-width: 100%;
}

.wpgmza-wrap .wpgmza-generic-modal .wpgmza-button{
    margin-top: 20px;
    border-radius: 100px;
    font-size: 1em;
    padding: 2px 22px;
    margin-left: 5px;
}

.wpgmza-wrap .wpgmza-generic-modal.wpgmza-bulk-marker-editor-modal .wpgmza-row label{
    width: 120px;
    display: inline-block;
    text-align: left;
}

/* Progress bars */
.wpgmza-tabs-container .ui-tabs-panel .tab-row .wpgmza-import-loader {
    text-align: center;
}

.wpgmza-tabs-container .ui-tabs-panel .tab-row .wpgmza-import-loader .wpgmza-loader-message{
    margin-bottom: 10px;
}

.wpgmza-wrap progress.wpgmza-progress-bar,
.wpgmza-tabs-container progress.wpgmza-progress-bar{
    -webkit-appearance: none;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 200px;
    max-width: 100%;
}

.wpgmza-wrap progress.wpgmza-progress-bar::-webkit-progress-bar,
.wpgmza-tabs-container progress.wpgmza-progress-bar::-webkit-progress-bar {
    background-color: var(--wpgmza-color-grey-200);
    border-radius: 10px;
    overflow: hidden;
    height: 12px;
}


.wpgmza-wrap progress.wpgmza-progress-bar::-webkit-progress-value,
.wpgmza-tabs-container progress.wpgmza-progress-bar::-webkit-progress-value{
    background-color:var(--wpgmza-color-brand);
    transition: width 0.2s ease;
}

.wpgmza-wrap progress.wpgmza-progress-bar::-moz-progress-bar,
.wpgmza-tabs-container progress.wpgmza-progress-bar::-moz-progress-bar{
    background-color: var(--wpgmza-color-brand);
    transition: width 0.2s ease;
}


.wpgmza-tabs-container .wpgmza-legacy-import-option {
    display: none;
}

/* Embedded Media Controls */
.wpgmza-wrap .writersblock-wrapper .wpgmza-embedded-media.selected {
    border: 2px dashed var(--wpgmza-color-grey-400);
}

.wpgmza-wrap .writersblock-wrapper .wpgmza-embedded-media-handle {
    width: 7px; 
    height: 7px;
    background: var(--wpgmza-color-white);
    border: 1px solid var(--wpgmza-color-grey-500);

    position: absolute;
}

.wpgmza-wrap .writersblock-wrapper .wpgmza-embedded-media-handle:hover {
    border-color: var(--wpgmza-color-grey-700);
    cursor:se-resize;
}

/* Shortcode Info */
.wpgmza-wrap .wpgmza-editor .wpgmza-shortcode-description{
    background: var(--wpgmza-color-grey-100);
    font-size: 0.9em;
}

.wpgmza-wrap .wpgmza-editor .wpgmza-shortcode-description li{
    margin-bottom: 12px;
}

.wpgmza-wrap .wpgmza-editor .wpgmza-shortcode-description li strong{
    padding: 3px 7px;
    border: 1px solid var(--wpgmza-color-grey-300);
    border-radius: 5px;
    margin-right: 5px;
}

/* Marker Icon Editor */
/* This is copied to legacy as it is a blanket replacement for the library */
.wpgmza-marker-icon-editor {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    
    background: var(--wpgmza-color-white);
    box-shadow: var(--wpgmza-shadow-common);

    border-radius: 4px;
    
    z-index: 5;
}
.wpgmza-marker-icon-editor.open {
    display: flex;
    flex-direction: column;
}


.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-panel{
    display: inline-flex;
    flex-direction: row;
    padding: 5px 8px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wpgmza-marker-icon-editor .wpgmza-color-picker {
    max-width: 150px;
    top: 10px;
    right: 75px !important;
}

.wpgmza-marker-icon-editor .wpgmza-color-input-wrapper .wpgmza-color-preview {
    width: 45px;
    border-radius: 5px;
}


.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview {
    min-width: 130px;
    min-height: 130px;
    border-radius: 3px;

    margin-top: 5px;

    position: relative;
    
    box-shadow: var(--wpgmza-shadow-common);
    background: repeating-conic-gradient(var(--wpgmza-color-grey-400) 0% 25%, var(--wpgmza-color-white) 0% 50%) 
              50% / 20px 20px;
    
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview[data-style="dark"]{
    background: var(--wpgmza-color-dark);
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview[data-style="light"]{
    background: var(--wpgmza-color-light);
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview[data-style="map"]{
    background: url("https://a.tile.openstreetmap.org/7/20/49.png");
    background-position: -86px -20px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview canvas{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-controls .wpgmza-icon-effect-mode-sliders {
    max-width: 100%;
    display: flex;
    flex-direction:column;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-layer .wpgmza-icon-layer-control[data-mode]{
    display: none;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-layer .wpgmza-icon-layer-control[data-mode].active{
    display: block;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-controls .wpgmza-icon-effect-mode-sliders input[type="range"],
.wpgmza-marker-icon-editor .wpgmza-icon-shape-control-wrapper input[type="range"]{
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    background: var(--wpgmza-color-grey-400); 
    outline: none; 

    border-radius: 5px;

    margin-top:15px;
    margin-bottom: 15px;
    
    opacity: 0.7;

    transition: opacity 0.2s ease;
}

.wpgmza-marker-icon-editor .wpgmza-icon-shape-control-wrapper input[type="range"] {
    margin-top:10px;
    margin-bottom:10px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-controls .wpgmza-icon-effect-mode-sliders input[type="range"]:hover,
.wpgmza-marker-icon-editor .wpgmza-icon-shape-control-wrapper input[type="range"]:hover{
    opacity: 1;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-controls .wpgmza-icon-effect-mode-sliders input[type="range"]::-webkit-slider-thumb,
.wpgmza-marker-icon-editor .wpgmza-icon-shape-control-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;

    background: var(--wpgmza-color-white);
    border: 2px solid var(--wpgmza-color-grey-900);
    
    height: 15px;
    width: 15px;
    z-index: 2;
    top: -6px;
    border-radius: 15px;
    
    transition: background 0.3s ease, border-color 0.3s ease;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-controls .wpgmza-icon-effect-mode-sliders input[type="range"]::-webkit-slider-thumb:hover,
.wpgmza-marker-icon-editor .wpgmza-icon-shape-control-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    background: var(--wpgmza-color-grey-900);
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-controls .wpgmza-icon-effect-mode-sliders input[type="range"][data-control="hue-rotate"]{
    background: linear-gradient(to right, #ff0000 0%, #ff0 17%, #00ff00 33%, #00ffff 50%, #0000ff 66%, #f0f 83%, #ff0000 100%);;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-controls .wpgmza-icon-effect-mode-sliders input[type="range"][data-control="brightness"]{
    background: linear-gradient(to right, var(--wpgmza-color-black) 0%, var(--wpgmza-color-white) 100%);   
}

.wpgmza-marker-icon-editor .wpgmza-icon-shape-control-wrapper input[type="range"][data-style="micro"] {
    max-width: 100px;
}

.wpgmza-marker-icon-editor .wpgmza-icon-effect-mode-wrapper,
.wpgmza-marker-icon-editor .wpgmza-icon-layer-mode-wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.wpgmza-marker-icon-editor .wpgmza-icon-layer-mode-wrapper select{
    margin-left: auto;
}

.wpgmza-marker-icon-editor .wpgmza-icon-shape-control-wrapper,
.wpgmza-marker-icon-editor .wpgmza-icon-effect-mode-slider-group{
    display: flex;
    flex-direction: column;
    align-items: start;
}

.wpgmza-marker-icon-editor .wpgmza-icon-shape-split-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
}

.wpgmza-marker-icon-editor .wpgmza-icon-shape-split-row .wpgmza-icon-shape-split-column-fill{
    margin-right: auto;
}

.wpgmza-marker-icon-editor .wpgmza-icon-shape-split-row .wpgmza-icon-shape-split-column-align-end {
    justify-content: end;
}

.wpgmza-marker-icon-editor .wpgmza-icon-effect-mode-wrapper span,
.wpgmza-marker-icon-editor .wpgmza-icon-layer-mode-wrapper span,
.wpgmza-marker-icon-editor .wpgmza-icon-shape-control-wrapper span,
.wpgmza-marker-icon-editor .wpgmza-icon-effect-mode-slider-group span,
.wpgmza-marker-icon-editor .wpgmza-icon-output-resolution span{
    font-size: 0.9em;
    margin-right: 5px;
}


.wpgmza-marker-icon-editor .wpgmza-icon-effect-mode-wrapper select,
.wpgmza-marker-icon-editor .wpgmza-icon-layer-mode-wrapper select,
.wpgmza-marker-icon-editor .wpgmza-icon-shape-control-wrapper select,
.wpgmza-marker-icon-editor select[data-history-control],
.wpgmza-marker-icon-editor .wpgmza-icon-output-resolution select{
    font-size: 0.9em;
    padding: 0 24px 0 10px;
    border: none;
    background-color: var(--wpgmza-color-grey-100);
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-tabs {
    display: flex;    
    margin-top: 10px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-tabs .inner-tab{
    font-size: 0.9em;
    padding: 3px 10px 3px 10px;
    border: none;
    flex: 1;
    text-align: center;
    cursor: pointer;
    
    border: 2px solid var(--wpgmza-color-grey-100);
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-tabs .inner-tab:first-child{
    border-top-left-radius: 5px;
    border-right: 0;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-tabs .inner-tab:last-child{
    border-top-right-radius: 5px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-tabs .inner-tab:hover,
.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-tabs .inner-tab.active{
    background: var(--wpgmza-color-grey-100);
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-tab {
    display: none;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-tab.active {
    display: block;
    padding: 10px;
    border: 2px solid var(--wpgmza-color-grey-100);
    border-top:0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-bottom: 15px;
}


.wpgmza-marker-icon-editor .layer-input-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 5px;
    font-size: 0.9em;
    position: relative;
}


.wpgmza-marker-icon-editor .layer-input-wrapper > input,
.wpgmza-marker-icon-editor .layer-input-wrapper > div {
    margin-left: auto;
    max-width: 130px;
}


.wpgmza-marker-icon-editor .layer-input-wrapper input {
    width: 100%;
    font-size: 0.9em;
    box-sizing: border-box;
    padding: 0 10px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-panel .edit-options{
    width: 100%;
}

.wpgmza-marker-icon-editor .layer-input-wrapper input{
    border: 1px solid var(--wpgmza-color-grey-500);
    border-radius: 5px;
}

.wpgmza-marker-icon-editor .layer-input-wrapper .grouped-input-stack{
    display: flex;
    align-items: center;
} 

.wpgmza-marker-icon-editor .layer-input-wrapper .grouped-input-stack > * {
    border-radius: 0;
    border: 1px solid var(--wpgmza-color-grey-500);
    display: block;
    height: 30px;
    box-sizing: border-box;
    margin: 0;
    max-width: 100%;

    border-right: 0;
}

.wpgmza-marker-icon-editor .layer-input-wrapper .grouped-input-stack > *:first-child{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.wpgmza-marker-icon-editor .layer-input-wrapper .grouped-input-stack > *:last-child{
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-right: 1px solid var(--wpgmza-color-grey-500);
}

.wpgmza-marker-icon-editor .layer-input-wrapper .grouped-input-stack > span {
    padding: 4px;
    flex : 1;
    text-align: center;
    font-size: 1.1em;
    background: var(--wpgmza-color-grey-50)
}

.wpgmza-marker-icon-editor .layer-input-wrapper .grouped-input-stack > input {
    flex: 2;
    box-sizing: border-box;
}

.wpgmza-marker-icon-editor .layer-input-wrapper .icon-picker-autocomplete{
    top: 30px;
    right: 0;
    z-index: 6;
    width: 100%;
}

.wpgmza-marker-icon-editor .layer-input-wrapper .light-toggle-stack input{
    max-width: 16px;
}

.wpgmza-marker-icon-editor.open.saving:before {
    content: "";
    background: var(--wpgmza-color-white);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
    opacity: 0.5;
}

.wpgmza-marker-icon-editor.open.saving:after {
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    top: calc(50% - 40px);
    left: calc(50% - 20px);
    border: 5px solid var(--wpgmza-color-grey-300);
    border-bottom-color: transparent;
    border-right-color: transparent;
    z-index: 10;
    border-radius: 40px;

     -webkit-animation: wpgmzaLoadCircle 1s forwards;
    animation: wpgmzaLoadCircle 1s forwards;
    animation-iteration-count: infinite;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-panel-heading-row {
    display: flex; 
    flex-direction: row;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-panel-heading-row > * {
    flex: 1;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-history-toggle{
    text-align:right;
    font-size: 0.8em;
    padding-right: 10px;

    opacity: 0.8;
    cursor: pointer;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-history-toggle:hover{
    opacity: 1;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-history-toggle{
    display: none;
}

.wpgmza-marker-icon-editor.has-history .wpgmza-marker-icon-editor-history-toggle{
    display: block;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-split-view {
    display: flex;
    max-width: 400px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-split-view .wpgmza-marker-icon-editor-split-view-column{
    flex: auto;
    border-right: 1px solid var(--wpgmza-color-light);

    display: flex;
    flex-direction: column;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-split-view .wpgmza-marker-icon-editor-split-view-column.fill{
    width:250px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-split-view .wpgmza-marker-icon-editor-split-view-column:last-child{
    border-right: none;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator{
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 300px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator .wpgmza-marker-icon-editor-panel{
    display: flex;
    flex-direction: column;
    padding: 0;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator .wpgmza-marker-icon-editor-panel > div{
    padding: 5px 8px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator .wpgmza-marker-icon-editor-panel-heading-row {
    border-bottom: 1px solid var(--wpgmza-color-light);
    border-top: 1px solid var(--wpgmza-color-light);

    background: var(--wpgmza-color-light);
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator .wpgmza-marker-icon-editor-panel:first-child .wpgmza-marker-icon-editor-panel-heading-row {
    border-top: none;
}

.wpgmza-marker-icon-editor .wpgmza-button.wpgmza-marker-icon-editor-close {
    position: absolute;
    right: -15px;
    top: -15px;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--wpgmza-color-grey-100);
    border-color: transparent;
}

.wpgmza-marker-icon-editor .wpgmza-button.wpgmza-marker-icon-editor-close:hover {
    background: var(--wpgmza-color-white);
}

.wpgmza-marker-icon-editor .wpgmza-button.wpgmza-marker-icon-editor-close::before,
.wpgmza-marker-icon-editor .wpgmza-button.wpgmza-marker-icon-editor-close::after {
    content: "";
    display: block; 
    height: 15px;
    width: 3px;
    background: var(--wpgmza-color-grey-600);
    border-radius: 3px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.wpgmza-marker-icon-editor .wpgmza-button.wpgmza-marker-icon-editor-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-split-view-action-wrapper {
    margin-top: auto;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-actions .wpgmza-button[data-action="use"]{
    text-align: center;
}

.wpgmza-marker-icon-editor .wpgmza-icon-shape-slider-stack {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.25rem
}
.wpgmza-marker-icon-editor .wpgmza-icon-shape-slider-stack input[type="range"]{
    width: 100%;
}

.wpgmza-marker-icon-editor .wpgmza-icon-shape-slider-stack input[data-linked]{
    font-size: 0.65rem;
    padding: 1px;
    width: 28px;
    height: 22px;
    min-height: unset;
    text-align: center;

    border: 1px solid var(--wpgmza-color-grey-500);
    border-radius: 3px;
}

.wpgmza-marker-icon-editor .wpgmza-icon-shape-slider-stack span[data-suffix]:empty {
    display: none;
}

.wpgmza-marker-icon-editor .wpgmza-icon-shape-slider-stack span[data-suffix] {
    font-size: 0.65rem;
    opacity: 0.7;
}

.wpgmza-marker-icon-editor span[data-lock-trigger] {
    width: 12px;
    height: 12px;
    background: var(--wpgmza-color-light);
    display: inline-block;

    border-radius: 2px;
    margin-left: 5px;
    vertical-align: middle;

    position: relative;

    cursor: pointer;

    opacity: 0.5
}

.wpgmza-marker-icon-editor span[data-lock-trigger][data-locked] {
    opacity: 1;
}

.wpgmza-marker-icon-editor span[data-lock-trigger]:hover {
    opacity: 0.7;
}
    

.wpgmza-marker-icon-editor span[data-lock-trigger]:before{
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 2px;
    width: 3px;
    height: 2px;
    border: 1px solid var(--wpgmza-color-dark);
    border-top-left-radius: 2px;
    border-top-right-radius: 1px;
}

.wpgmza-marker-icon-editor span[data-lock-trigger]:after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2px;
    width: 6px;
    height: 5px;
    background: var(--wpgmza-color-dark);
    border-radius: 1px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview-heading {
    display: flex;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview-style-control {
    display: flex;
    border: 1px solid var(--wpgmza-color-light);
    border-radius: 3px;
    margin-left: auto;
    height: 16px;
    overflow: hidden;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview-style-control .wpgmza-marker-icon-editor-preview-style{
    width: 16px;
    height: 16px;
    border-right: 1px solid var(--wpgmza-color-light);
    opacity: 0.8;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview-style-control .wpgmza-marker-icon-editor-preview-style:hover{
    opacity: 1;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview-style-control .wpgmza-marker-icon-editor-preview-style:last-child{
    border-right: none;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview-style-control .wpgmza-marker-icon-editor-preview-style[data-style="dark"]{
    background: var(--wpgmza-color-dark);
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview-style-control .wpgmza-marker-icon-editor-preview-style[data-style="light"]{
    background: var(--wpgmza-color-light);
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview-style-control .wpgmza-marker-icon-editor-preview-style[data-style="transparent"]{
    background: repeating-conic-gradient(var(--wpgmza-color-grey-400) 0% 25%, var(--wpgmza-color-white) 0% 50%) 50% / 20px 20px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-preview-style-control .wpgmza-marker-icon-editor-preview-style[data-style="map"]{
    background: url("https://a.tile.openstreetmap.org/7/20/49.png");
    background-size: 50px 50px; 
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-templates,
.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-templates .shape-template,
.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-list .base-icon{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0.8;

    transition: opacity 0.5s ease;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-templates .shape-template:hover,
.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-list .base-icon:hover {
    opacity: 1;
    cursor: pointer;
}


.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-templates .shape-template img,
.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-list .base-icon img {
    box-sizing: border-box;
    max-width: 40px;
    max-height: 40px;
    padding: 3px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-templates [data-type="storage"],
.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-templates[data-history] [data-type="system"],
.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-list [data-type="storage"],
.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-list[data-history] [data-type="system"]{
    display: none;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-templates[data-history] [data-type="storage"],
.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-list[data-history] [data-type="storage"]{
    display: flex;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator .wpgmza-marker-icon-editor-panel .wpgmza-marker-icon-editor-panel-heading-controller {
    display: flex;
    align-items: center;
    padding: 3px 8px;
    min-height: 30px;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-editor-panel-heading-controller select {
    max-width: 84px;
    max-height: 24px;
    min-height: unset;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator .wpgmza-marker-icon-editor-panel div[data-switch-mode]{
    text-align: center;
    font-size: 0.65rem;
    border: 1px solid var(--wpgmza-color-light);
    margin: 5px;
    padding: 0;
    border-radius: 4px;
    opacity: 0.8;
    cursor: pointer;
}

.wpgmza-marker-icon-editor .wpgmza-marker-icon-configurator .wpgmza-marker-icon-editor-panel div[data-switch-mode]:hover{
    opacity:1;
}



/* Cloud Complete */
.wpgmza-wrap #wpgmza_autocomplete_search_results {
    width: auto;
    overflow: auto;
    position: absolute;
    background-color: var(--wpgmza-color-white);
    box-shadow: var(--wpgmza-shadow-common);
    
    border-radius: 5px;
    box-sizing: border-box;
    
    top: 32px; 
    left: 1px;
    padding: 0;
    min-width: 100%;
    max-width: 100%;
    max-height: 140px;

    z-index: 9999;
}

.wpgmza-wrap #wpgmza_autocomplete_search_results .wpgmza_ac_result {
    height: fit-content;
    border-bottom: 1px solid var(--wpgmza-color-grey-100);
    padding: 5px 0;
    font-weight: bold;
    cursor:pointer;
    width: 100%;
    display: flex;
}

.wpgmza-wrap #wpgmza_autocomplete_search_results .wpgmza_ac_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
}

.wpgmza-wrap #wpgmza_autocomplete_search_results .wpgmza_ac_container .wpgmza_ac_icon {
    width:15%;
    position: relative;
}

.wpgmza-wrap #wpgmza_autocomplete_search_results .wpgmza_ac_container .wpgmza_ac_icon img {
    width: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.wpgmza-wrap #wpgmza_autocomplete_search_results .wpgmza_ac_container .wpgmza_ac_item {
    width:85%;
}

.wpgmza-wrap #wpgmza_autocomplete_search_results .wpgmza_ac_container span.wpgmza_item_name {
    font-size:0.95em;
    font-weight: 500;
}

.wpgmza-wrap #wpgmza_autocomplete_search_results .wpgmza_ac_container .wpgmza_item_address {
    font-weight:100;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display:block;
    font-size: 0.95em;
    font-style: italic;
    
}

.wpgmza-wrap #wpgmza_autoc_disabled {
    font-size: 0.9em;
    margin-top: 5px;
}

/* Admin Tours */
/* The actual tour wrapper is fixed at 0 as it is just a container */
.wpgmza-wrap .wpgmza-tour {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
}

.wpgmza-wrap .wpgmza-tour > *{
    display: none;
}

.wpgmza-wrap .wpgmza-tour .wpgmza-tour-prompt.active {
    display: flex;
    flex-direction: row;

    position: fixed;
    bottom: 10px;
    right: 10px;

    background: var(--wpgmza-color-white);
    padding: 10px;
    border: none;
    border-radius: 4px;
    align-items: center;

    box-shadow: var(--wpgmza-shadow-common);
}

.wpgmza-wrap .wpgmza-tour[data-map-engine="google-maps"] .wpgmza-tour-prompt.active {
    bottom: 200px;
}

.wpgmza-wrap .wpgmza-tour .wpgmza-tour-prompt .wpgmza-tour-prompt-emoji {
    font-size: 2.5rem;

    -webkit-animation: wpgmzaTourPromptWiggle 5s forwards ease;
    animation: wpgmzaTourPromptWiggle 5s forwards ease;
    animation-iteration-count: infinite;
}

.wpgmza-wrap .wpgmza-tour .wpgmza-tour-prompt .wpgmza-tour-prompt-content {
    margin-left: 10px;
}

.wpgmza-wrap .wpgmza-tour .wpgmza-tour-prompt .wpgmza-tour-prompt-content .wpgmza-tour-prompt-title {
    margin-bottom: 10px;
}

.wpgmza-wrap .wpgmza-tour .wpgmza-tour-frame.active {
    position: fixed;
    display: block;
    border: rgb(0 0 0 / 30%) 1px solid;
    pointer-events: none;

    box-shadow: 0 0 0 100vw rgb(0 0 0 / 30%);

    
    -webkit-animation: wpgmzaPopinTabs 0.3s forwards;
    animation: wpgmzaPopinTabs 0.3s forwards;
}

.wpgmza-wrap .wpgmza-tour .wpgmza-tour-frame.active:after {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: var(--wpgmza-tour-frame-border-radius);
    top: 0;
    left: 0;
    border: 3px solid rgb(0 0 0 / 30%);
    pointer-events: none;
    
    -webkit-animation: wpgmzaTourFramePulse 2s forwards linear;
    animation: wpgmzaTourFramePulse 2s forwards linear;
    animation-iteration-count: infinite;
}

.wpgmza-wrap .wpgmza-tour .wpgmza-tour-step.active {
    position: fixed;
    display:block;

    background: var(--wpgmza-color-white);
    padding: 10px;
    border: none;
    border-radius: 4px;

    box-shadow: var(--wpgmza-shadow-common);

    z-index: 9;

    margin-left: 50px;

    
    -webkit-animation: wpgmzaPopinTabs 0.5s forwards;
    animation: wpgmzaPopinTabs 0.5s forwards;
}

.wpgmza-wrap .wpgmza-tour .wpgmza-tour-step.active:before {
    content: "";
    position: absolute;
    left: -30px;
    top: calc(50% - 2px);
    width: 30px;
    height: 4px;
    background: var(--wpgmza-color-white);

    
    -webkit-animation: wpgmzaPopinTabs 0.5s forwards;
    animation: wpgmzaPopinTabs 0.5s forwards;
}

.wpgmza-wrap .wpgmza-tour .wpgmza-tour-step.active:after {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 8px);
    left: -45px;
    width: 16px;
    height: 16px;
    box-sizing: border-box;

    border: 4px solid var(--wpgmza-color-white);

    border-radius: 16px;
    transform: rotate(45deg);

    
    -webkit-animation: wpgmzaPopinTabs 0.5s forwards;
    animation: wpgmzaPopinTabs 0.5s forwards;
}

.wpgmza-wrap .wpgmza-tour .wpgmza-tour-step.active .wpgmza-tour-step-title {
    font-weight: 600;
}

.wpgmza-row-needs-approval .wpgmza-toolbar:after {
    content: "";
    display: block;
    width: 8px; 
    height: 8px;
    position: absolute;
    background: var(--wpgmza-color-error);
    top: -2px;;
    right: -2px;
    border-radius: 16px; 
    box-shadow: var(--wpgmza-shadow-common);
}

/* One time hint system */
.wpgmza-wrap .wpgmza-one-time-hint{
    display: none;
}

.wpgmza-wrap .wpgmza-one-time-hint.show-hint{
    position: absolute;
    display:block;

    background: var(--wpgmza-color-white);
    padding: 10px;
    border: 2px solid var(--wpgmza-color-charcoal);
    border-radius: 4px;

    font-weight: 500;

    box-shadow: var(--wpgmza-shadow-common);

    z-index: 99;

    margin-left: 30px;

    
    -webkit-animation: wpgmzaPopinTabs 0.5s forwards;
    animation: wpgmzaPopinTabs 0.5s forwards;
}

.wpgmza-wrap .wpgmza-one-time-hint.show-hint:before {
    content: "";
    position: absolute;
    left: -10px;
    top: calc(50% - 2px);
    width: 10px;
    height: 4px;
    background: var(--wpgmza-color-charcoal);

    box-shadow: var(--wpgmza-shadow-common);
    
    -webkit-animation: wpgmzaPopinTabs 0.5s forwards;
    animation: wpgmzaPopinTabs 0.5s forwards;
}

.wpgmza-wrap .wpgmza-one-time-hint.show-hint:after{
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 8px);
    left: -25px;
    width: 16px;
    height: 16px;
    box-sizing: border-box;

    border: 4px solid var(--wpgmza-color-charcoal);

    box-shadow: var(--wpgmza-shadow-common);

    border-radius: 16px;
    transform: rotate(45deg);
    
    -webkit-animation: wpgmzaPopinTabs 0.5s forwards;
    animation: wpgmzaPopinTabs 0.5s forwards;
}

.wpgmza-wrap .wpgmza-one-time-hint[data-hint-tag='quickCreateMarkers']{
    top: 80px;
    left: 50px
}
 

/* Zoom Previews */
.wpgmza-wrap .zoom-slider-preview-frame {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    border: 4px solid var(--wpgmza-color-error);
}

.wpgmza-wrap .zoom-slider-preview-frame > span{
    position: absolute;
    top:0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--wpgmza-color-error);
    color: var(--wpgmza-color-light);
    padding: 4px 10px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    font-weight: 600;
}

/* Context menu */
.wpgmza-wrap .wpgmza-editor .wpgmza-context-menu {
    background: var(--wpgmza-color-white);
    position: fixed;
    z-index: 9;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    font-size: 0.75rem;

    overflow: hidden;

    min-width: 150px;

    -webkit-animation: wpgmzaPopin 0.1s forwards;
    animation: wpgmzaPopin 0.1s forwards;
}

.wpgmza-wrap .wpgmza-editor .wpgmza-context-menu > * {
    padding: 5px 7px;
    display: flex; 
    flex-direction: row;
    align-items: center;
    gap: 3px;
    border-bottom: 1px solid var(--wpgmza-color-light);
}

.wpgmza-wrap .wpgmza-editor .wpgmza-context-menu > * .nav-item-icon {
    width: 20px;
    height: 18px;
    opacity: 0.4;
    text-align: center;
}

.wpgmza-wrap .wpgmza-editor .wpgmza-context-menu > * .nav-item-icon img {
    max-width: 18px;
    max-height: 18px;
    padding: 2px;
    box-sizing: border-box;
}

.wpgmza-wrap .wpgmza-editor .wpgmza-context-menu .wpgmza-context-menu-heading{
    font-weight: 600;
}

.wpgmza-wrap .wpgmza-editor .wpgmza-context-menu > *:last-child {
    border-bottom: none;
}

.wpgmza-wrap .wpgmza-editor .wpgmza-context-menu .wpgmza-context-menu-item{
    cursor: pointer;
    transition: background 0.3s ease;
}

.wpgmza-wrap .wpgmza-editor .wpgmza-context-menu .wpgmza-context-menu-item:hover{
    background: var(--wpgmza-color-light);
}


/* Map Engine Selector Grid */
.wpgmza-map-engine-selector {
    max-width: 70%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpgmza-installer .wpgmza-map-engine-selector {
    max-width: 100%;
}

.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid{
    display: grid;
    gap: 20px;
    grid-template-columns: 170px 170px 170px 170px 170px;
}

.wpgmza-installer .wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid{
    grid-template-columns: 32% 32% 32%;
    gap: 20px;
}

.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item{
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;

    height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 1rem;

    position: relative;
}

.wpgmza-installer .wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item{
    height: 120px;
}

.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item img{
    max-width: 100%;

    filter: grayscale(100%);
    opacity: 0.4;

    transition: all 0.2s ease;
}

.wpgmza-installer .wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item img {
    max-width: 70%;
}

.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item span {
    position:absolute;
    font-weight: 600;

    color: var(--wpgmza-color-charcoal);

    font-size: 12px;
    opacity: 0.4;

    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;

    transition: opacity 0.2s ease;
}

.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item span + img{
    position: relative;
    top: -6px;
}

.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item > *{
    position: relative;
    z-index: 2;
}

.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item:hover img,
.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item:hover span,
.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item input:checked ~ img,
.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item input:checked ~ span,
.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item:hover .wpgmza-map-engine-item-backdrop,
.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item input:checked ~ .wpgmza-map-engine-item-backdrop{
    filter: none;
    opacity: 1;
}

.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item .wpgmza-map-engine-item-backdrop{
    content:"";
    display: block;
    background: var(--wpgmza-color-grey-50);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0;

    border-radius: 5px;
    box-shadow: var(--wpgmza-shadow-common);
}

.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item input:checked ~ .wpgmza-map-engine-item-backdrop{
    background: var(--wpgmza-color-grey-100);
    opacity: 1;
}

.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item-installer {
    text-decoration: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--wpgmza-color-charcoal);
    opacity: 0.6;
    font-size: 12px;
    border-radius: 5px;
}

.wpgmza-map-engine-selector .wpgmza-map-engine-selector-grid .wpgmza-map-engine-item-installer:hover {
    background: var(--wpgmza-color-grey-50);
    opacity: 1;
    box-shadow: var(--wpgmza-shadow-common);
} 

.wpgmza-map-engine-powered-by {
    background: var(--wpgmza-color-grey-50);
    box-shadow: var(--wpgmza-shadow-common);
    width: fit-content;
    padding: 2px 10px;
    border-radius: 10px
}

.wpgmza-installer .wpgmza-map-engine-powered-by {
    margin-left:auto;
    margin-right:auto;
    margin-top:20px;
}

.wpgmza-map-engine-powered-by .wpgmza-map-engine-powered-by-highlight {
    font-weight: 600;
}



/* Tile Preview */
.wpgmza-tile-server-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    height: 140px;
    box-shadow: var(--wpgmza-shadow-common);
    border: 3px solid var(--wpgmza-color-white);
    background: var(--wpgmza-color-grey-100);
    box-sizing: border-box;
    border-radius: 5px;
    position: relative;

    overflow: hidden;
}

.wpgmza-tile-server-preview-container:after {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    top: calc(60% - 10px);
    left: calc(50% - 10px);
   
    border: 4px solid var(--wpgmza-color-white);
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 40px;
    filter: drop-shadow(0px 0px 4px #0000004f);
    animation: wpgmzaLoadCircle 0.7s linear infinite;

    z-index: 2;
}

.wpgmza-tile-server-preview-container select{
    z-index: 2;
    border-radius: 0;
    width: 100%;
    border:none;
    box-shadow: var(--wpgmza-shadow-common);
}

.wpgmza-tile-server-preview-container .wpgmza-tile-server-preview-image {
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display:none;
}

.wpgmza-tile-server-preview-container.preview-ready .wpgmza-tile-server-preview-image{
    display:block;
}

.wpgmza-tile-server-preview-wrapper-multi .wpgmza-tile-server-preview-image{
    left: 0;
}

.wpgmza-tile-server-preview-container.preview-ready:after,
.wpgmza-tile-server-preview-container.preview-failed:after{
    display:none;
} 

.wpgmza-tile-server-preview-container.preview-failed:before {
    content: "Could not fetch preview";
    position:  absolute;
    bottom: 45px;
    font-size: 10px;
    opacity: 0.8;
}

.wpgmza-tile-server-preview-container .wpgmza-tile-server-preview-wrapper-multi {
    position: absolute;
    bottom: 0;
    width: 50%;
    overflow: hidden;
    height: 100%;
    right: 0
}

.wpgmza-installer .wpgmza-tile-server-preview-container {
    width: 256px;
    height: 256px;
    margin-left:auto;
    margin-right: auto;
}

.wpgmza-installer .wpgmza-tile-server-preview-container select{
    width: 100%;
}

.wpgmza-installer .wpgmza-tile-server-preview-container.preview-failed:before{
    bottom: 84px;
}

/* Feature limitations */
.wpgmza-wrap .wpgmza-editor .sidebar .navigation .item-notice {
    padding: 10px 20px;
    border-bottom: 1px solid var(--wpgmza-color-light);
    background: var(--wpgmza-color-grey-50);
    font-size: 0.9em;
    display: flex ;
    flex-direction: column;
    gap: 5px;
}

.wpgmza-wrap .wpgmza-feature-limited {
    pointer-events: none;
    opacity: 0.8;
}

.wpgmza-wrap .feature-limit-notice {
    font-size: 0.8em;
    margin-top: 4px;
    background: var(--wpgmza-color-grey-100);
    border-radius: 5px;
    padding: 4px;
}

.wpgmza-wrap .feature-limit-notice .dashicons {
    font-size: 13px;
    display: inline-block;
    vertical-align: middle;
    line-height: 17px;
    margin-right: -3px;
}

.wpgmza-wrap .wpgmza-editor .sidebar .navigation .item-notice .dashicons {
    font-size: 16px;
    line-height: 18px;
    margin-right: -2px;
    position: relative;
    top: 1px;
}

/* Translation Provdider Notices */
.wpgmza-dynamic-translations-notice {
    padding: 8px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    font-size: 0.9em;
    gap: 3px;
}

.wpgmza-dynamic-translations-notice [data-translation-provider] {
    font-weight: 500;
}

/* Shape Library */
.wpgmza-shape-library-container .shape-library-inner > *{
    margin-bottom: 10px;
}

.wpgmza-shape-library-container .shape-library-inner .shape-library-busy {
    position:relative;
    height: 30px;
}

.wpgmza-shape-library-container .shape-library-inner .shape-library-busy:after{
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
   
    border: 4px solid var(--wpgmza-color-grey-700);
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 40px;
    animation: wpgmzaLoadCircle 0.7s linear infinite;

    z-index: 2;
}

.wpgmza-shape-library-container .shape-library-inner .shape-library-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpgmza-shape-library-container .shape-library-inner .shape-library-list .wpgmza-shape-library-item {
    border: 1px solid var(--wpgmza-color-grey-300);
    border-radius: 5px;
    display: flex;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
}

.wpgmza-shape-library-container .shape-library-inner .shape-library-list .wpgmza-shape-library-item .wpgmza-shape-library-item-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
}

.wpgmza-shape-library-container .shape-library-inner .shape-library-list .wpgmza-shape-library-item .wpgmza-shape-library-item-details .meta-pills{
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.wpgmza-shape-library-container .shape-library-inner .shape-library-list .wpgmza-shape-library-item .wpgmza-shape-library-item-details .meta-pills > *{
    font-size: 12px;
}

.wpgmza-shape-library-container .shape-library-inner .shape-library-list .wpgmza-shape-library-item  .wpgmza-shape-library-item-actions {
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap:  5px;
    margin-left: auto;
}

.wpgmza-shape-library-container .shape-library-inner .shape-library-list .wpgmza-shape-library-item  .wpgmza-shape-library-item-actions .wpgmza-shape-library-action {
    width: 120px;
    text-align: center;
    font-weight: 500;
}

.wpgmza-shape-library-container .shape-library-inner .shape-library-no-results {
    border: 1px dashed var(--wpgmza-color-gray-400);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border-radius: 5px;
}

.wpgmza-shape-library-container .shape-library-inner .wpgmza-shape-library-item.shape-library-lookup-busy {
     -webkit-animation: wpgmzaPulse 1s forwards;
    animation: wpgmzaPulse 1s forwards;
    animation-iteration-count: infinite;
}

.wpgmza-shape-library-container .shape-library-inner .wpgmza-shape-library-item.shape-library-lookup-busy .wpgmza-button{
    opacity: 0.6;
    pointer-events: none;
}

/* Zoom Slider Outputs */
.wpgmza-zoom-slider-controller {
    position: relative;
}

.wpgmza-zoom-slider-controller [data-zoom-hint]{
    background: var(--wpgmza-color-light);
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 500;
    font-size: 0.9em;
    position: absolute;
    right: 0;
    top: 0;
}

/* Boundary Controller */
.wpgmza-boundary-input {
    font-size: 0.9em;
}

.wpgmza-boundary-input .wpgmza-boundary-input-title {
    margin-bottom: 5px;
}

.wpgmza-boundary-input .wpgmza-boundary-input-controls {
    border: 1px solid var(--wpgmza-color-light);
    border-radius: 5px;
}

.wpgmza-boundary-input .wpgmza-boundary-input-corner-title {
    background: var(--wpgmza-color-light);
    padding: 5px;
    font-size: 0.9em;
}

.wpgmza-boundary-input .wpgmza-boundary-input-coorindate {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px;
}

.wpgmza-boundary-input .wpgmza-boundary-input-coorindate .wpgmza-boundary-component {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-grow: 1;
    font-size: 0.9em
}

.wpgmza-boundary-input .wpgmza-boundary-input-coorindate .wpgmza-boundary-component input{
    width: 100%;
    font-size: 0.9em;
}

/* Restrict bounds container */
.wpgmza-boundary-input-quick-tools {
    display: flex; 
    flex-direction: row;
    justify-content: end;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.wpgmza-boundary-input-quick-tools .wpgmza-button.restrict-map-bounds-use-view {
    font-size: 0.9em;
    height: fit-content;
    min-height: unset;
    font-weight: 500;
}

/* Preset Inputs */
.wpgmza-preset-input-controller {
    display: flex;
    align-items: center;
}

.wpgmza-preset-input-controller input{
    margin: 0;
    margin-right: 5px;
}

.wpgmza-preset-input-controller input[type='number']{
    width: 75px;
    padding-right: 0;
}

.wpgmza-preset-input-controller .wprmgza-preset-input-controller-presets{
    display: flex;
    box-sizing: border-box;
    align-items:center;
    gap: 5px;
    height: 30px;

}

.wpgmza-preset-input-controller .wprmgza-preset-input-controller-presets .wpgmza-preset-input-controller-option{
    border-radius: 4px;
    overflow: hidden;
    line-height: 22px;
    font-size: 0.9em;
    font-weight: 500;
    padding: 4px 8px;
    box-sizing: border-box;
    background: var(--wpgmza-color-light);
    height: 100%;
    cursor: pointer;
}

.wpgmza-preset-input-controller .wprmgza-preset-input-controller-presets .wpgmza-preset-input-controller-option:last-child{
    border: none;
}

.wpgmza-preset-input-controller .wprmgza-preset-input-controller-presets .wpgmza-preset-input-controller-option:hover{
    background: var(--wpgmza-color-gray-300);
}

.wpgmza-preset-input-controller .wprmgza-preset-input-controller-presets .wpgmza-preset-input-controller-option.selected{
    background: var(--wpgmza-color-charcoal);
    color: var(--wpgmza-color-white);
}

/* Insights Supports */
.wpgmza-wrap .wpgmza-insight-viewer .insight-content {
    padding: 20px;
    display: flex;
    flex-direction:column;
    gap: 20px;
    max-height: 100%;
    overflow-y: scroll;
    box-sizing: border-box;
    background: var(--wpgmza-color-light);
}

.wpgmza-wrap .wpgmza-insight-viewer .insight-content .insights-empty{
    display: none;
}

.wpgmza-wrap .wpgmza-insight-viewer .insight-content.empty > *:not(.insights-empty){
    display: none;
}

.wpgmza-wrap .wpgmza-insight-viewer .insight-content.empty .insights-empty{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background-color: var(--wpgmza-color-white);
    padding: 20px;
}

.wpgmza-wrap .wpgmza-insight-viewer .insight-content.empty .insights-empty > div:first-child{
    font-weight: 500;
    font-size: 1rem;
}


.wpgmza-wrap .wpgmza-insight-viewer .insight-content.busy [data-metric],
.wpgmza-wrap .wpgmza-insight-viewer .insight-content.busy [data-metric-source],
.wpgmza-wrap .wpgmza-insight-viewer .insight-content.busy [data-list],
.wpgmza-wrap .wpgmza-insight-viewer .insight-content.busy [data-chart]{
    background: var(--wpgmza-color-light);
    color: var(--wpgmza-color-light);
    border-radius: 5px;
    pointer-events: none;
    -webkit-animation: wpgmzaPulse 1s forwards;
    animation: wpgmzaPulse 1s forwards;
    animation-iteration-count: infinite;
}

.wpgmza-wrap .wpgmza-insight-viewer .grouping .navigation .item.insight-navigation.selected,
.wpgmza-wrap .wpgmza-insight-viewer .grouping .navigation .item.insight-navigation.selected:hover{
    background: var(--wpgmza-color-brand);
    color: var(--wpgmza-color-white);
    font-weight: 600;
}

.wpgmza-wrap .wpgmza-insight-viewer .insight-metric-heading {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.wpgmza-wrap .wpgmza-insight-viewer [data-metric] { 
    font-size: 1.5rem;
    padding-bottom: 15px;
}

.wpgmza-wrap .wpgmza-insight-viewer [data-metric].insight-metric-numeric {
    font-size: 3rem;
    padding-top: 0.8rem;
}

.wpgmza-wrap .wpgmza-insight-viewer .insight-list {
    border: 1px solid var(--wpgmza-color-light);
    border-radius: 5px;
}

.wpgmza-wrap .wpgmza-insight-viewer .insight-list > * > *{
    padding: 5px;
}

.wpgmza-wrap .wpgmza-insight-viewer .insight-list [data-list-template] {
    font-weight: 500;
    background: var(--wpgmza-color-light);
}

.wpgmza-wrap .wpgmza-insight-viewer .insight-list [data-list-item]:not(:last-child) {
    border-bottom: 1px solid var(--wpgmza-color-light);
}

/* Batched imports in progress */
.wpgmza-imports-in-progress-list .wpgmza-imports-in-progress-list-item.wpgmza-card {
    margin: 0;
    padding: 15px;
}

.wpgmza-imports-in-progress-list .wpgmza-imports-in-progress-list-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wpgmza-imports-in-progress-list .wpgmza-imports-in-progress-list-item .wpgmza-flex-row {
    gap: 5px;
}

.wpgmza-imports-in-progress-list .wpgmza-imports-in-progress-list-item .wpgmza-flex-row > div:first-child {
    font-weight: 500;
}

.wpgmza-imports-in-progress-list .wpgmza-imports-in-progress-list-item .wpgmza-import-in-progress-actions {
    margin-top: 15px;
}

/* Infowindow style selector */
.wpgmza-infowindow-style-picker-grouping .wpgmza-infowindow-style-picker-grid{
    gap: 5px;
    padding: 5px;
    border: 1px solid var(--wpgmza-color-light);
}

.wpgmza-infowindow-style-picker-grouping .wpgmza-infowindow-style-picker-grouping-title{
    background: var(--wpgmza-color-light);
    padding: 5px;
    font-size: 0.9em;
    font-weight: 500;
}

.wpgmza-infowindow-style-picker-grouping:first-child .wpgmza-infowindow-style-picker-grouping-title{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.wpgmza-infowindow-style-picker-grouping:last-child .wpgmza-infowindow-style-picker-grid{
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.wpgmza-infowindow-style-picker-grouping .wpgmza-check-card-selector .wpgmza-card,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-infowindow-style-picker-grouping .wpgmza-check-card-selector .wpgmza-card{
    margin: 0;
    border: 2px solid var(--wpgmza-color-light);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    gap: 5px;
}


.wpgmza-infowindow-style-picker-grouping .wpgmza-check-card-selector:hover .wpgmza-card,
.wpgmza-tabs-container .ui-tabs-panel .wpgmza-infowindow-style-picker-grouping .wpgmza-check-card-selector:hover .wpgmza-card{
    border: 2px dashed var(--wpgmza-color-charcoal);
}

.wpgmza-infowindow-style-picker-grouping .wpgmza-check-card-selector .wpgmza-card .wpgmza-auto-image{
    width: 100%;
}

.wpgmza-infowindow-style-picker-grouping .wpgmza-check-card-selector .wpgmza-card span{
    margin-top: auto;
    font-size: 0.9em;
}
    
.wpgmza-infowindow-style-picker-grouping .wpgmza-check-card-selector input[type="radio"][value="-1"] + .wpgmza-card{
    height: 45px;
    min-height: unset;
}

.wpgmza-infowindow-style-picker-grouping .wpgmza-check-card-selector input[type="radio"][value="-1"] + .wpgmza-card .wpgmza-auto-image{
    max-width: 25px;
    max-height: 30px;
}


/* Find maps tool */
.wpgmza-find-maps-list {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: var(--wpgmza-color-charcoal);
    border-radius: 4px;
    color: var(--wpgmza-color-white);
    width: 100%;
    gap: 5px;
    margin-top: 10px;
}

.wpgmza-find-maps-list .wpgmza-find-maps-list-item{
    display: flex;
    gap: 10px;
}

.wpgmza-find-maps-list .wpgmza-find-maps-list-item [data-title]{
    font-weight: 500;
}

.wpgmza-find-maps-list .wpgmza-find-maps-list-item [data-title]:before{
    content: "→";
    margin-right: 5px;
}

.wpgmza-find-maps-list .wpgmza-find-maps-list-item [data-id-type]{
    font-size: 0.85em;
    text-transform: capitalize;
    background: var(--wpgmza-color-cyan);
    color: var(--wpgmza-color-charcoal);
    font-weight: 700;
    padding: 0 6px;
    border-radius: 10px;
    opacity: 0.9;
}

.wpgmza-find-maps-list .wpgmza-find-maps-list-item a{
    color: var(--wpgmza-color-cyan);
}

/* URL Replace tools */
.wpgmza-replace-url-list {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: var(--wpgmza-color-charcoal);
    border-radius: 4px;
    color: var(--wpgmza-color-white);
    width: 100%;
    gap: 5px;
    margin-top: 10px;
}

.wpgmza-replace-url-list .wpgmza-replace-url-list-item{
    display: flex;
    gap: 10px;
}

/* Editor fullscreen panel grouping */
.wpgmza-wrap .wpgmza-editor .sidebar .grouping.has-fullscreen .grouping-toggle-fullscreen{
    position: absolute;
    width: 50px;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    cursor: pointer;
}

.wpgmza-wrap .wpgmza-editor .sidebar .grouping.has-fullscreen .grouping-toggle-fullscreen:hover {
    background: var(--wpgmza-color-grey-75);
}

.wpgmza-wrap .wpgmza-editor .sidebar .grouping.has-fullscreen .grouping-toggle-fullscreen:after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border: 2px dashed var(--wpgmza-color-charcoal);
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    opacity: 0.3;
    position: absolute;
}

.wpgmza-wrap .wpgmza-editor .sidebar.as-fullscreen {
    max-width: 100%;
}

.wpgmza-wrap .wpgmza-editor .sidebar.as-fullscreen + .content{
    display: none;
}

/* Category Filter Selector */
.wpgmza-category-filter-type-selector .wpgmza-check-card-selector{
    min-width: 180px;
    cursor: pointer;
}

/* Danger zone by map */
.wpgmza-tabs-container .wpgmza-destroy-by-map-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wpgmza-tabs-container .wpgmza-destroy-by-map-container .wpgmza-button{
    width: fit-content;
    max-width: fit-content;
    min-width: unset;
}

/* Vector fallback tileserver previews */
.wpgmza-tile-server-preview-container.preview-failed[data-failed-fallback]:before{
    content: "";
    opacity: 1;
    bottom: unset;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;

    width: 256px;
    height: 256px;
}   

.wpgmza-tile-server-preview-container.preview-failed[data-failed-fallback="openfreemap-liberty"]:before{
    background-image: url('../../images/openfreemap-liberty.png');
}

.wpgmza-tile-server-preview-container.preview-failed[data-failed-fallback="openfreemap-bright"]:before{
    background-image: url('../../images/openfreemap-bright.png');
}

.wpgmza-tile-server-preview-container.preview-failed[data-failed-fallback="openfreemap-positron"]:before {
    background-image: url('../../images/openfreemap-positron.png');
}

/* Map Engine Switch Toolbar */
.wpgmza-wrap .wpgmza-editor .map-container-wrap .wpgmza-engine-switch-toolbar{
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    
}

.wpgmza-wrap .wpgmza-editor .map-container-wrap .wpgmza-engine-switch-toolbar > div:first-child{
    font-weight: 500;
}

.wpgmza-wrap .wpgmza-editor .map-container-wrap .wpgmza-engine-switch-toolbar .wpgmza-engine-switch-toolbar-inner{
    display: flex; 
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}


/* Animations */
@-webkit-keyframes wpgmzaTourPromptWiggle {
    0% { 
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(15deg)
    }
    20% {
        transform: rotate(-15deg)
    }
    30% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes wpgmzaTourPromptWiggle {
    0% { 
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(15deg)
    }
    20% {
        transform: rotate(-15deg)
    }
    30% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@-webkit-keyframes wpgmzaTourFramePulse {
    0% { 
        opacity: 0;
    }
    50% {
        opacity: 1; 
    }
    100% {
        opacity: 0
    }
}

@keyframes wpgmzaTourFramePulse {
    0% { 
        opacity: 0;
    }
    50% {
        opacity: 1; 
    }
    100% {
        opacity: 0
    }
}

@-webkit-keyframes wpgmzaSlideFromRight {
    0% { left : 100%; }
    100% { left: 0; }
}

@keyframes wpgmzaSlideFromRight {
    0% { left : 100%; }
    100% { left: 0; }
}

@-webkit-keyframes wpgmzaPulseFade {
   0% { 
        opacity: 0.3;
   }
   50% {
        opacity: 1; 
        transform: scale(1.1);
   }
   100% {
        opacity: 0.3;
   }
}

@keyframes wpgmzaPulseFade {
   0% { 
        opacity: 0.3;
   }
   50% {
        opacity: 1; 
        transform: scale(1.1);
   }
   100% {
        opacity: 0.3;
   }
}

@-webkit-keyframes wpgmzaPulse {
   0% { 
        opacity: 0.3;
   }
   50% {
        opacity: 1; 
   }
   100% {
        opacity: 0.3;
   }
}

@keyframes wpgmzaPulse {
   0% { 
        opacity: 0.3;
   }
   50% {
        opacity: 1; 
   }
   100% {
        opacity: 0.3;
   }
}

@-webkit-keyframes wpgmzaLoadCircle {
   0% { 
        transform : rotate(0deg);
   }
   100% {
       transform : rotate(360deg); 
   }
}

@keyframes wpgmzaLoadCircle {
   0% { 
        transform : rotate(0deg);
   }
   100% {
       transform : rotate(360deg); 
   }
}

@-webkit-keyframes wpgmzaPopin {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% {  transform: scale(1); }
}

@keyframes wpgmzaPopin {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% {  transform: scale(1); }
}


@-webkit-keyframes wpgmzaPopinTabs {
    0% { opacity : 0; }
    100% { opacity: 1; }
}

@keyframes wpgmzaPopinTabs {
    0% { opacity : 0; }
    100% { opacity: 1; }
}

/* Media Queries */
@media screen and (max-width:1550px){
    .wpgmza-wrap .wpgmza-datatable-container .wpgmza-action-group > *{
        width: 100%;
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .wpgmza-wrap .wpgmza-datatable-container .wpgmza-action-group > *:last-child{
        margin-bottom: 0;
    }

    /* Hide some columns in Datatables */
    .wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Marker .dataTable thead tr th:nth-child(5),
    .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Marker .dataTable tbody tr td:nth-child(5){
        display: none;
    }
}

@media screen and (max-width:1250px){
    .wpgmza-wrap .wpgmza-editor .sidebar {
        flex: 5;
        max-width: 41.6666%;
    }
    
    .wpgmza-wrap .wpgmza-editor .content{
        flex: 7;
        max-width: 58.3333%;
    }


    .wpgmza-tabs-container .ui-tabs-nav {
        width: 28%;
    }

    .wpgmza-tabs-container .ui-tabs-panel {
        width: 72%;
    }

    /* Hide some columns in Datatables */
    .wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Marker .dataTable thead tr th:nth-child(2),
    .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Marker .dataTable tbody tr td:nth-child(2){
        display: none;
    }
}

@media screen and (max-width:1180px){
    .wpgmza-writeup-block .credit-container {
        flex-wrap: wrap;
    }
    .wpgmza-writeup-block .credit-container .member{
        width: calc(50% - 10px);
        box-sizing: border-box;
        margin-bottom: 40px
    }

    .wpgmza-wrap .wpgmza-installer-steps .wpgmza-installer-engine-select img {
        max-width: 80%;
    }

    .wpgmza-styling-preview-wrap .wpgmza_map {
        --wpgmza--viewport-panels-max-width: 60%;
        --wpgmza--viewport-overlays-max-width: 60%;
    }

    /* Hide some columns in Datatables */
    .wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Marker .dataTable thead tr th:nth-child(6),
    .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Marker .dataTable tbody tr td:nth-child(6){
        display: none;
    }
}

@media screen and (max-width:948px){
    .wpgmza-tabs-container .ui-tabs-nav{
        float: unset;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        margin-top: 0;
    }

    .wpgmza-tabs-container .ui-tabs-nav li{
        margin-right:10px;
    }

    .wpgmza-tabs-container .ui-tabs-panel {
        float: unset;
        width: 100%;
    }

    .wpgmza-writeup-block h1{
        font-size: 3em;
    }
    
    .wpgmza-writeup-block h2{
        font-size: 2em;
    }

    .wpgmza-writeup-block hr {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .wpgmza-writeup-block[id="wpgmza-welcome-page"] .wpgmza-row {
        flex-direction: column !important;
    }
    
    .wpgmza-writeup-block[id="wpgmza-welcome-page"] .wpgmza-row .wpgmza-col{
        margin-bottom: 40px;
    }
    
    .wpgmza-writeup-block[id="wpgmza-welcome-page"] .separator{
        margin-top: 40px;
        height: 0;
    }
    
    .wpgmza-writeup-block[id="wpgmza-welcome-page"] .wpgmza-row:not([data-image="right"]){
        flex-direction: column-reverse !important;
    }
    
    .wpgmza-writeup-block[id="wpgmza-welcome-page"] .wpgmza-row .wpgmza-col.wpgmza-text-align-right,
    .wpgmza-writeup-block[id="wpgmza-welcome-page"] .wpgmza-row .wpgmza-col.wpgmza-text-align-left{
        text-align: center;
    }
    

    /* Hide some columns in Datatables */
    .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Polygon .dataTable thead  tr th:nth-child(3),
    .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Polygon .dataTable tbody tr td:nth-child(3){
        display: none;
    }

    #wpgmza-admin-map-table-container div:not([data-wpgmza-pro-datatable]) .dataTable thead  tr th:nth-child(3),
    #wpgmza-admin-map-table-container div:not([data-wpgmza-pro-datatable]) .dataTable thead  tr th:nth-child(4),
    #wpgmza-admin-map-table-container div:not([data-wpgmza-pro-datatable]) .dataTable thead  tr th:nth-child(5),
    #wpgmza-admin-map-table-container div:not([data-wpgmza-pro-datatable]) .dataTable tbody tr td:nth-child(3),
    #wpgmza-admin-map-table-container div:not([data-wpgmza-pro-datatable]) .dataTable tbody tr td:nth-child(4),
    #wpgmza-admin-map-table-container div:not([data-wpgmza-pro-datatable]) .dataTable tbody tr td:nth-child(5){
        display: none;    
    }

    /* Pro alternative, accounts for bulk selector */
    #wpgmza-admin-map-table-container div[data-wpgmza-pro-datatable] .dataTable thead  tr th:nth-child(4),
    #wpgmza-admin-map-table-container div[data-wpgmza-pro-datatable] .dataTable thead  tr th:nth-child(5),
    #wpgmza-admin-map-table-container div[data-wpgmza-pro-datatable] .dataTable thead  tr th:nth-child(6),
    #wpgmza-admin-map-table-container div[data-wpgmza-pro-datatable] .dataTable tbody tr td:nth-child(4),
    #wpgmza-admin-map-table-container div[data-wpgmza-pro-datatable] .dataTable tbody tr td:nth-child(5),
    #wpgmza-admin-map-table-container div[data-wpgmza-pro-datatable] .dataTable tbody tr td:nth-child(6){
        display: none;    
    }


}

@media screen and (max-width:782px){
    .wpgmza-wrap.fullscreen {
        margin-bottom: -100px;
    }

    .wpgmza-wrap .wpgmza-editor {
        height: calc(100vh - 46px);
    }

    select.wpgmza-styling-preset-select {
        font-size: 14px;
        padding: 0 24px 0 8px;
        min-height: 30px;
    }

    .wpgmza-wrap .wpgmza-editor {
        flex-direction: column;
    }

    

    .wpgmza-wrap .wpgmza-editor .sidebar,
    .wpgmza-wrap .wpgmza-editor .sidebar.expanded{
        max-width: 100%;
        max-height: 40%;
    }

    .wpgmza-wrap .wpgmza-editor .content {
        max-width: 100%;
        max-height: 60%;
    }

    .wpgmza-wrap .wpgmza-editor .sidebar.expanded .feature-list {
        max-height: calc(100% - 226px);
        position: relative;
        overflow-y: auto;
        padding-bottom: 20px;
        margin-top: 0;
        padding-top: 20px;
    }

    .wpgmza-styling-editor .wpgmza-styling-preview-wrap .preview-demo-browser-view .browser-content{
        max-height: 40vh;
    }

    .wpgmza-styling-preview-wrap .wpgmza_map {
        --wpgmza--viewport-panels-max-width: 80%;
        --wpgmza--viewport-overlays-max-width: 100%;
    }

    .wpgmza-writeup-block .credit-container {
        flex-direction: column
    }
    
    .wpgmza-writeup-block .credit-container .member{
        width: 100%;
    }
    
    .wpgmza-writeup-block .credit-container .member:last-child{
        margin-bottom: 0;
    }
    

    /* Unhide some columns in Datatables (More screen space available) */
    .wpgmza-wrap .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Marker .dataTable thead tr th:nth-child(6),
    .wpgmza-editor .sidebar .feature-list #wpgmza-table-container-Marker .dataTable tbody tr td:nth-child(6){
        display: revert;
    }

    .wpgmza-wrap .wpgmza-editor .sidebar.as-fullscreen {
        max-height: 100%;
    }
}
