
/* Add an element box */
.pagelayer-add-ele{
display:block;
vertical-align:middle;
text-align:center;
border:1px dashed #4a4949;
min-height:60px;
padding:5px;
color:#4f4f4f;
font-size: 16px;
line-height: 1.5;
position: relative;
}

.pagelayer-add-ele .fas{
font-size:15px;
color:#4a4949;
cursor:pointer;
}

.pagelayer-add-ele .fas:hover:before{
color:#3e8ef7;
}

.pagelayer-add-ele span,
.pagelayer-add-widget-area p{
font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

.pagelayer-empty-col{
display:table-cell;
}

.pagelayer-row{
min-height:20px;
}

/* Since we have a wrap, we set the cols to the wrap. Hence we need to make the width of the real thing to 100% */
.pagelayer-ele-wrap>.pagelayer-col{
width:100%;
}

.pagelayer-ele-wrap{
position: relative;
}

/*.pagelayer-ele-option{
min-height: 10px;
} */

.pagelayer-wrap-col{
align-content: unset !important;
}

.pagelayer-ele-overlay{
position: absolute;
width: 100%;
height: 100%;
right: 0px;
top: 0px;
z-index: 10;
pointer-events:none;
opacity: 0%;
outline-width:0px;
transition: outline 0.1s ease, opacity 0.1s ease;
}

.pagelayer-ele-hover, .pagelayer-drag-ele-hover{
outline: 2px dashed #2563eb !important;
opacity: 100% !important;
}

.pagelayer-active{
outline: 2px solid #2563eb !important;
opacity: 100% !important;
}

.pagelayer-editor-hidden-element {
opacity: 0.45 !important;
outline: 1.5px dashed #ef4444 !important;
filter: grayscale(30%);
}

.pagelayer-editor-locked-element {
outline: 1.5px solid #f59e0b !important;
cursor: not-allowed !important;
}

.pagelayer-editor-locked-element [contenteditable="true"] {
pointer-events: none !important;
}

.pagelayer-hide-active>.pagelayer-ele-overlay{
outline: transparent !important;
opacity: 0 !important;
}

.pagelayer-row-hover{
outline:1px solid #277CF9;
}

.pagelayer-col-hover{
outline:1px solid #42ADE1;
}

.pagelayer-ele-option,
.pagelayer-row-option,
.pagelayer-col-option{
position: absolute;
top:0px;
right:0px;
z-index: 20;
padding:0px;
margin:0px;
line-height: 0;
pointer-events:auto;
}

.pagelayer-eoi{
display:inline-block !important;
font-size:12px !important;
padding:4px !important;
background:#444;
color:#fff;
}

.pagelayer-eoi:hover{
background:#222;
cursor: pointer;
}

.pagelayer-row-option{
top:-20px;
left:calc(50% - 63px/2);
z-index: 30;
}

.pagelayer-row-option-zero>.pagelayer-wrap-row:nth-child(1 of .pagelayer-wrap-row)>.pagelayer-ele-overlay .pagelayer-row-option{
top:0;
}

.pagelayer-row-option .pagelayer-eoi{
background:#277CF9;
}

.pagelayer-row-option .pagelayer-eoi:hover{
background:#1c59b3;
}

.pagelayer-wrap-row > .pagelayer-ele-overlay .pagelayer-move-up,
.pagelayer-col-holder > .pagelayer-wrap-inner-row:first-child > .pagelayer-ele-overlay .pagelayer-move-up,
.pagelayer-col-holder > .pagelayer-wrap-ele:first-child > .pagelayer-ele-overlay .pagelayer-move-up{
display:none !important;
}	

.pagelayer-wrap-row ~ .pagelayer-wrap-row > .pagelayer-ele-overlay .pagelayer-move-up{
display:inline-block !important;
}

.pagelayer-wrap-row:nth-last-of-type(2) > .pagelayer-ele-overlay .pagelayer-move-down,
.pagelayer-col-holder > .pagelayer-wrap-inner-row:last-child > .pagelayer-ele-overlay .pagelayer-move-down,
.pagelayer-col-holder > .pagelayer-wrap-ele:last-child > .pagelayer-ele-overlay .pagelayer-move-down{	
display:none !important;
}

.pagelayer-col-option .pagelayer-eoi{
background:#42ADE1;
}

.pagelayer-col-option .pagelayer-eoi:hover{
background:#1070AA;
}

.pagelayer-col-option{
top:0px;
left:0px;
z-index: 30;
width: 21px;
}

.pagelayer-splash{
background-image:url(../images/splash.png);
height:30px;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}

.pagelayer-space-holder{
background:url(../images/space.png);
background-repeat:repeat;
}

.pagelayer-anchor{
background-image:url(../images/anchor.png);
height:30px;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}

/* Right Click */
.pagelayer-right-click-options{
position:fixed;
background:#e9eaea;
border-radius: 2px;
box-shadow: 0 0 5px rgba(0,0,0,0.1);
z-index: 99999;
border: 1px solid rgba(0,0,0,0.2);
min-width:135px;
}

.pagelayer-right-click-options ul{
list-style: none;
margin: 0;
padding: 0;
}

.pagelayer-right-click-options a{
color: #4a4949;
padding: 8px 10px;
width: 100%;
display: block;
box-sizing: border-box;
transition: all 0.2s;
white-space:nowrap;
}

.pagelayer-right-click-options a .far{
margin-right: 5px;
}

.pagelayer-right-click-options a:hover{
background: #449D44;
color:#fff;
}

.pagelayer-right-click-options li{
border-bottom: 1px solid rgb(236, 236, 236);
font-size: 12px;
font-family: Opensans, arial;
cursor:pointer;
}

.pagelayer-right-click-options .pagelayer-right-delete:hover {
background:#EF4D4D;
}

.pagelayer-context-disable{
opacity: 0.5;
cursor: progress;	
}


.pagelayer-add-widget-area .pagelayer-add-button{
font-size: 14px;
font-weight: bold;
border: 1px solid #007bff;
background-color: #007bff;
color:#fff;
border-radius:5px;
padding:9px;
margin-right:5px;
cursor:pointer;
display:inline-block;
}

.pagelayer-add-widget-area .pagelayer-add-button:hover{
border: 1px solid #0069d9;
background-color: #0069d9;
}

.pagelayer-add-widget-area .pagelayer-add-section{
border: 1px solid #17a2b8;
background-color: #17a2b8;
}

.pagelayer-add-widget-area .pagelayer-add-section:hover{
border: 1px solid #138496;
background-color: #138496;
}

.pagelayer-add-widget-area p{
margin: 0px !important;
color:#4f4f4f;
font-size: 20px;
line-height: 1.8;
}

.pagelayer-add-widget-drag{
border-color: #111111;
background: #c4d2de;
}

/* Pagelayer Drag stuff */

.pagelayer-is-dragging{
opacity: 0.33;
transition:0.1s;
}

.pagelayer-drag-show{
position:absolute;
top:0px;
left:0px;
display:none;
background: blue;
z-index:1000;
}

.pagelayer-drag-prospect{
height: 4px !important;
background: #2563eb !important;
z-index: 1000;
width: 100%;
position: relative;
}

.pagelayer-drag-prospect::before {
content: '' !important;
position: absolute !important;
left: 0 !important;
top: -4px !important;
width: 12px !important;
height: 12px !important;
border-radius: 50% !important;
background: #2563eb !important;
border: 2px solid #ffffff !important;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.pagelayer-drag-prospect-col{
position: absolute;
top: 0px;
width: 4px !important;
height: 100% !important;
background: #2563eb !important;
position: relative;
}

.pagelayer-drag-prospect-col::before {
content: '' !important;
position: absolute !important;
left: -4px !important;
top: 0 !important;
width: 12px !important;
height: 12px !important;
border-radius: 50% !important;
background: #2563eb !important;
border: 2px solid #ffffff !important;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

/* Column resize handler icon */
.pagelayer-resize-handler{
position:absolute;
top:50%;
left:100%;
transform: translate(-43%, -50%);
color: #fff;
font-size: 11px;
z-index: 99;
cursor:ew-resize;
display:none;
pointer-events: all;
}

.pagelayer-resize-icon{
background-color: #42ADE1;
padding: 3px;
border-radius: 4px;
height:30px;
display:inline-block;
}

.pagelayer-resize-handler:before{
content:attr(pre-width);
background: #4f4f4f;
position: absolute;
right: 120%;
top: 50%;
transform: translateY(-50%);
padding: 0 6px;	
border-radius:100%;
}

.pagelayer-resize-handler:after{
content:attr(next-width);
background: #4f4f4f;
position: absolute;
left: 120%;
top: 50%;
transform: translateY(-50%);
padding: 0 6px;	
border-radius:100%;
}

/* Hide resize handler icon from last child*/
.pagelayer-wrap-col:not(:last-child):hover > .pagelayer-ele-hover .pagelayer-resize-handler{
display:block;
}

/* Column resize handler icon end */

/* WordPress media box CSS */
[id^="__wp-uploader"] .screen-reader-text{
display:none;
}

[id^="__wp-uploader"] .media-button-select{
text-transform: uppercase;
font-weight: 700;
letter-spacing: 0.046875em;
}
/* WordPress media box CSS end */


/* image drop zone css start */
.pagelayer-image-drop-zone{
position:absolute;
text-align:center;
width:100%;
height:100%;
z-index:3;
background-color: rgba(37, 99, 235, 0.94);
display:none;
}

.pagelayer-image-drop-zone *{
pointer-events:none;
}

.pagelayer-image-drop-zone > div{
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}

.pagelayer-image-drop-zone div *{
color: white !important;
line-height: 1;
}

.pagelayer-image-drop-zone div i{
font-size:50px;
}

.pagelayer-image-drop-zone h4{
margin: 20px;
}

.pagelayer-img-up-progress {
width: 30%;
margin-left: auto;
margin-right: auto;
background-color: transparent;
border: 2px solid white;
border-radius: 30px;
padding: 3px;
}

.pagelayer-img-up-bar {
width: 3%;
height: 7px;
background-color: white;
line-height: 7px;
text-align: center;
border-radius: 30px;
}

@media screen and (max-width: 600px) {
.pagelayer-img-up-progress {
width: 54%;	
}
}
/* image drop zone css start */

.pagelayer-pro-req{
font-size: 10px;
padding: 2px 4px;
display: inline-block;
background-color: #e63131;
color: #fff;
margin-left: 4px;
border-radius: 2px;
cursor: pointer;
}

/* Media upload box css */
.media-modal .media-modal-content h1{
font-size: 22px !important;
line-height: 2.27 !important;
}

.media-modal .media-modal-content h2{
font-size: 13px !important;
line-height: 1 !important;
}

.media-modal .media-modal-content .uploader-inline h2{
font-size: 20px !important;
line-height: 1.4 !important;
font-weight: 400 !important;
}
/* Media upload box css end */

/*Tooltip widget*/
.pagelayer-service-details{
position:relative;
z-index:9;
}

.pagelayer-shortcode-plus{
border: none;
margin: auto;
z-index: 11;
cursor: pointer;
font-size: 10px;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -7px;
text-align: center;
pointer-events: all;
display: none;
line-height:1 !important;
padding:0 !important;
}

.pagelayer-show-wiget-list{
opacity:100%;
}

.pagelayer-show-wiget-list .pagelayer-shortcode-plus,
:not(.pagelayer-hide-active) > .pagelayer-ele-hover .pagelayer-shortcode-plus{
display: block !important;
}

.pagelayer-shortcode-plus .fas{
display: inline-block !important;
font-size: 10px !important;
padding: 2px !important;
background: #444;
color: #fff;
}

.pagelayer-shortcode-plus:hover .fas{
background: #0069d9;
}

[contenteditable]:focus{
outline: 0px;
}

[data-placeholder-text]::after{
display:flex;
content: attr(data-placeholder-text);
position:absolute;
top: 50%;
transform: translateY(-50%);
left:3px;
pointer-events:none;
opacity:0.6;
user-select:none;
}

.pagelayer-missing-message{
border: 1px solid #434343;
background: #fff;
padding: 10px;
border-radius: 3px;
font-size: 13px;
}

.pagelayer-row-not-found{
padding: 6px;
margin: 10px 5px;
border: 1px dashed #5a5a5a;
}

.pagelayer-row-not-found .pagelayer-click-add-row{
cursor: pointer;
color: #007bff !important;
}

/* Image map */
.pagelayer-imgmap-toolbar,
.pagelayer-imgmap-navigator-item-drag,
.pagelayer-imgmap-navigator-title{
display: flex;
}

.pagelayer-imgmap-toolbar {
position: absolute !important;
left: 10px;
top: 0;
background: #ffffffb0;
border-radius: 6px;
padding: 4px;
}

.pagelayer-imgmap-toolbar-item,
.pagelayer-map-navigator-trigger,
.pagelayer-map-list-trigger{
width: 24px;
padding: 6px;
border: none;
color: #666161 !important;
cursor: pointer;
display: inline-block;
border-radius: 0;
background: transparent !important;
font-size: 12px;
margin: auto;
}

.pagelayer-imgmap-toolbar-mover{
padding: 2px;
background: gray;
border-radius: 10px;
cursor: move;
}

.pagelayer-imgmap-toolbar.pagelayer-imgmap-selected .pagelayer-map_append,
.pagelayer-imgmap-toolbar:not(.pagelayer-imgmap-edit) .pagelayer-map_save,
.pagelayer-imgmap-toolbar:not(.pagelayer-imgmap-edit) .pagelayer-map_remove,
.pagelayer-imgmap-toolbar:not(.pagelayer-imgmap-edit) .pagelayer-map_href,
.pagelayer-imgmap-toolbar:not(.pagelayer-imgmap-edit) .pagelayer-map_edit,
.pagelayer-imgmap-toolbar.pagelayer-imgmap-edit .pagelayer-map_append,
.pagelayer-imgmap-toolbar.pagelayer-imgmap-edit .pagelayer-map_edit{
display: none;
}

.pagelayer-imgmap-toolbar.pagelayer-imgmap-selected .pagelayer-map_edit,
.pagelayer-imgmap-toolbar.pagelayer-imgmap-selected .pagelayer-map_remove{
display: block;
}

.pagelayer-imgmap-toolbar-link {
position: absolute;
width: max-content;
padding: 2px 5px 3px 5px;
background: #ffffffb0;
border-radius: 6px;
margin: 28px 0 0 0;
display: none;
} 

.pagelayer-imgmap-toolbar-link input {
width: 180px;
font-size: 12px;
padding: 2px !important;
}

.pagelayer-imgmap-save-link {
padding: 4px 6px;
font-size: 12px;
font-weight: bold;
border-radius: 6px;
margin: 0 0 0 6px;
cursor: pointer;
}

.pagelayer-imgmap-hover-active .pagelayer-imgmap-item {
cursor: pointer;
opacity: 0;
}

.pagelayer-map-item-active_is_editable{
opacity: 1;
}

.pagelayer-imgmap-coord {
position: absolute;
background: #bfbfbf;
top: 0;
border-radius: 100%;
margin-top: -5px;
width: 10px;
height: 10px;
border: 2px solid #000000bf;
margin-left: -5px;
cursor: pointer;
display: none;
}

span.pagelayer-imgmap-remove-cord {
padding: 5px 6px;
position: absolute;
top: 11px;
background: #fff;
font-size: 12px;
border-radius: 5px;
left: -8px;
color: gray;
cursor: pointer;
z-index: 999;
display: none;
}

.pagelayer-imgmap-remove-cord::after {
content: '';
padding: 4px;
position: absolute;
top: -4px;
background: inherit;
transform: rotate(47deg);
left: 7px;
}

.pagelayer-imgmap-coord:hover > .pagelayer-imgmap-remove-cord,
.pagelayer-imgmap-coord.pagelayer-mapele-dragging{
display: block;
}

.pagelayer-imgmap-coord.pagelayer-mapele-dragging span{
display: none !important;
}

.pagelayer-imgmap-navigator {
position: absolute;
width: 245px;
background: #f6f6f8;
top: 38px;
border-radius: 2px;
padding: 1px 4px 6px 4px;
box-shadow: 0px 0px 4px -1px #666;
display: none;
}

.pagelayer-imgmap-navigator-close {
position: absolute;
right: 12px;
top: 9px;
cursor: pointer;
}

.pagelayer-imgmap-navigator-wrap {
height: 162px;
overflow-y: auto;
scrollbar-width: thin;
resize: vertical;
padding: 2px 0;
}

.pagelayer-imgmap-navigator-item {
display: grid;
grid-template-columns: 30px auto 86px;
background: #fff;
color: #4f4f4f;
padding: 4px;
font-size: 12px;
margin: 6px 4px;
border-radius: 4px;
border: 1px solid #d9d9d9;
}

.pagelayer-imgmap-navigator-item:first-child {
margin-top: 0;
}

.pagelayer-imgmap-navigator-header {
text-align: left;
padding: 4px 6px;
font-size: 12px;
font-weight: bolder;
}

.pagelayer-imgmap-navigator-title {
text-align: left;
}

.pagelayer-imgmap-navigator-item-drag i{
margin: auto;
}

.pagelayer-imgmap-navigator-title{
align-self: center;
}

.pagelayer-map-navigator-trigger{
width: 18px;
}

.pagelayer-navigator-item-active {
outline: 1px solid #ff6b6b;
}
/* Image map end*/

/* Markdown start*/
.pagelayer-markdown-editor-ui{
padding: 2px;
text-align: center;
margin-top: 10px;
}

.pagelayer-float-edit-btn{
position: absolute;
left: 50%;
transform: translateX(-50%) !important;
z-index: 90;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
color: #fff;
background-color: #7a36d9; 
border: 2px solid #b98ef5; 
border-radius: 20px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 12px; 
font-weight: 800;
padding: 5px 10px;
cursor: pointer;
line-height: normal;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
display: inline-flex;
align-items: center;
}

.pagelayer-markdown-wrapper:hover .pagelayer-float-edit-btn{
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.pagelayer-float-edit-btn:hover{
background-color: #642bb3;
border-color: #a370e8;
}

.pagelayer-float-edit-btn .dashicons{
margin-left: 3px;
margin-right: 0;
font-size:16px; 
font-weight:800;
display: inline-flex;
align-items: center;
}

.pagelayer-markdown-modal{
display:none; 
position:fixed;
top:0; left:0; 
width:100vw; 
height:100vh; 
background:rgba(0,0,0,0.85); 
z-index:999999; 
text-align:left;
}

.pagelayer-mardown-modal-editor{
position:relative; 
width:90vw; 
height:90vh; 
margin:5vh auto; 
background:#fff; 
border-radius:6px; 
display:flex; 
flex-direction:column; 
overflow:hidden; 
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.pagelayer-markdown-modal-header{
position: relative;
padding:15px 20px; 
background:#fff; 
border-bottom:1px solid #ddd; 
display:flex; 
justify-content:space-between; 
align-items:center;
}

.pagelayer-markdown-modal-header h3{
font-size: 23px !important;
margin:0; 
color:#333;
}

.pagelayer-markdown-modal-header span:not(.pagelayer-markdown-close-btn){
font-size: 14px;
font-weight: normal;
opacity: 0.7; 
margin: 0 0 0 300px;
}

.pagelayer-markdown-modal-header button{
font-size: 13px;
font-weight: 600;
padding: 10px;
border: 1px solid #9ded9e;
border-radius: 20px;
margin-right: 40px;
}

.pagelayer-markdown-close-btn{
position: absolute;
top: 15px;
right: 20px;
font-size: 40px;
line-height: 1;
font-weight: bold;
color: #888;
cursor: pointer;
transition: color 0.2s ease-in-out;
margin: 0;
}

.pagelayer-markdown-close-btn:hover{
color: #dc3232;
}

.pagelayer-markdown-modal-container{
display:flex;
flex:1; 
height:calc(100% - 60px);
}

.pagelayer-markdown-modal-input-box{
flex:1;
border-right:1px solid #ddd; 
background:#282c34;
}

.pagelayer-markdown-modal-input{
width:100%; 
height:100%; 
padding:20px;
border:none; 
resize:none; 
font-size:14px;
background:transparent;
color:#abb2bf;
outline:none; 
box-sizing:border-box;
}

.pagelayer-markdown-modal-input:focus{
color:#abb2bf;
}

.pagelayer-markdown-modal-preview{
flex:1; 
padding:20px; 
overflow-y:auto; 
background:#fff; 
color:#333; 
box-sizing:border-box;
}

.pagelayer-markdown-spinner{
text-align: center;
padding: 20px;
}

.pagelayer-markdown-error{
color: red; 
padding: 10px;
}
/* Markdown end*/

/*Drag and Drop Widget*/
.pagelayer-add-widget-area {
padding: 20px 15px !important;
width: auto !important;
max-width: 90% !important;
text-align: center !important;
border: 1px dashed #c2cbd2 !important;
background-color: transparent !important;
border-radius: 4px !important;
margin: 30px auto !important;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
cursor: default !important;
}

.pagelayer-add-widget-area:hover {
border-color: #a4afb7 !important;
}

.pagelayer-add-buttons-container {
display: flex !important;
justify-content: center !important;
align-items: center !important;
gap: 12px !important;
margin-bottom: 12px !important;
}

.pagelayer-add-circle-btn {
width: 36px !important;
height: 36px !important;
border-radius: 50% !important;
border: none !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
outline: none !important;
padding: 0 !important;
color: #ffffff !important;
transition: background-color 0.2s ease, transform 0.2s ease !important;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.pagelayer-add-circle-btn:hover {
transform: scale(1.08) !important;
}

.pagelayer-add-circle-btn i {
font-size: 14px !important;
}

/* Specific colors from */
.pagelayer-add-circle-plus {
background-color: #495157 !important; /* Dark slate-grey */
}

.pagelayer-add-circle-plus:hover {
background-color: #353a3d !important;
}

.pagelayer-add-circle-folder {
background-color: #556068 !important; /* Slate-grey */
}

.pagelayer-add-circle-folder:hover {
background-color: #3f464b !important;
}

.pagelayer-add-widget-text {
margin: 0 !important;
color: #7e8b96 !important;
font-size: 13px !important;
font-style: italic !important;
font-family: inherit !important;
line-height: normal !important;
}

.pagelayer-add-widget-drag {
border-color: #2563eb !important;
background: rgba(37, 99, 235, 0.05) !important;
}

