#wpwrap {
    background: #fff;
}

#wpfooter, .update-nag, .notice, .updated, .error {
    display: none;
}

.mfp-bg, .mfp-wrap {
    z-index: 9999 !important;
}

.wplg_admin_wrap {
    display: inline-block;
    width: 100%;
    margin-left: -20px;
    font-family: 'Roboto', sans-serif;
}

.wplg-banner {
    width: calc(100% - 10px);
    margin: 10px 5px;
}

.wplg_pro_version {
    color: #ffad46 !important;
}

.wplg-pro-theme {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    background: #ffad46;
    color: #fff;
    z-index: 9;
}

.wplg-pro .wplg_pro_version, .wplg-pro .wplg-pro-theme {
    display: none;
}

.wplg_admin_wrap hr {
    border: 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #fafafa;
}

/* CSS FOR DROPDOWN */
.cu-dropdown__menu {
    position: absolute;
    left: 0;
    top: 100%;
    display: none;
    margin: 0;
    box-shadow: 0 1px 10px 0 rgba(0,0,0,.25);
    background: #fff;
    border-radius: 6px;
    z-index: 1000;
    pointer-events: all;
    -webkit-animation: 30ms ease-in forwards dropdownMenuAnimation;
    animation: 30ms ease-in forwards dropdownMenuAnimation;
    width: max-content;
}

.wplg-dropdown__container {
    display: flex;
    position: relative;
}

.wplg-dropdown__views {
    min-width: 165px;
    padding: 18px 0 4px;
    background-color: #fff;
    border: 1px solid #e9ebf0;
    z-index: 1;
    border-top: none;
    border-radius: 6px;
}

.wplg-dropdown__views-list {
    margin-bottom: 14px;
    padding: 0 10px;
}

.wplg-dropdown__views-item {
    display: flex;
    border-radius: 4px;
    padding: 9px;
    cursor: pointer;
    margin-bottom: 6px;
    text-decoration: none !important;
}

.wplg-dropdown__views-item:hover {
    background-color: #47A4A5;
}

.wplg-dropdown__views-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
    flex-shrink: 0;
    height: 18px;
    width: 18px;
    margin-right: 9px;
}

.wplg-dropdown__views-item-icon span,
.wplg-dropdown__views-item-icon i {
    font-size: 18px !important;
    height: 18px !important;
    color: #47A4A5;
}

.wplg-dropdown__views-item-title {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Arial", sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 18px;
    text-transform: capitalize;
    color: #47A4A5;
}

.wplg-dropdown__views-item-title span {
    vertical-align: middle;
}

.wplg-dropdown__views-item:hover .wplg-dropdown__views-item-title,
.wplg-dropdown__views-item:hover .wplg-dropdown__views-item-icon span,
.wplg-dropdown__views-item:hover .wplg-dropdown__views-item-icon i {
    color: #fff;
}
/* END CSS FOR DROPDOWN */

/* CSS FOR SERVER FOLDER TREE */
.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}

.wplg_dl {
    width: 500px;
    max-width: 90%;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,.32), 0 8px 40px rgba(0,0,0,.4);
}

.wplg_media_category {
    width: 600px;
}

.wplg_google_drive {
    width: 1200px;
}

.wplg_posts {
    width: 1200px;
    min-height: 500px;
}

.wplg-categories-tree {
    width: 250px !important;
}

.wplg-posts-item-wrap {
    width: calc(100% - 260px);
    margin-left: 10px;
    float: right;
}

.wplg_full_width {
    width: 100%;
    margin: 0;
    display: inline-block;
}

.wplg_upload_image_wrap {
    width: 700px;
}

.wplg-file-lists {
    max-height: 600px;
    overflow: auto;
}

.wplg_upload_image_wrap .template-row {
    display: none;
}

.wplg_upload_image_wrap .template-upload {
    width: 100%;
    display: inline-block;
    padding: 10px 0;
    border-bottom: #eee 1px solid;
}

.wplg_upload_image_wrap .upload-thumbnail {
    float: left;
    width: 80px;
    height: 80px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px;
}

.wplg_upload_image_wrap .upload-thumbnail img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    vertical-align: middle;
    object-fit: cover;
}

.wplg_upload_image_wrap .upload-file-info {
    height: 80px;
    margin-left: 10px;
    vertical-align: middle;
    width: calc(100% - 110px);
    display: inline-block;
}

.wplg_upload_image_wrap .upload-img-defails {
    width: 100%;
    display: inline-block;
    vertical-align: middle;
}

.wplg_upload_image_wrap .file-name,
.wplg_upload_image_wrap .file-size {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.64px;
    color: #5b6879;
    vertical-align: middle;
    padding: 3px 0;
}

.wplg_upload_image_wrap .file-name {
    color: #47A4A5;
    white-space: nowrap;
}

.wplg-upload-process-wrap {
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    height: 25px;
    margin-top: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.wplg_upload_image_wrap .max-file-size {
    font-weight: bold;
}

.wplg_upload_image_wrap .fileupload-info-container {
    width: 100%;
    font-size: 80%;
    text-align: center;
    margin: 5px 0;
}

.wplg_upload_image_wrap .upload-status-container {
    text-transform: uppercase;
    font-size: 90%;
    font-weight: bold;
    margin-left: 15px;
    float: right;
}

.wplg_upload_image_wrap .wplg-upload-progress {
    height: 25px;
    background: rgba(0, 0, 0, 0.1);
}

.wplg_upload_image_wrap .wplg-upload-progress .ui-progressbar-value {
    height: 25px;
    background-color: #5cb85c;
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    width: 0;
    transition: width 300ms;
}

.google_drive_results,
.posts_results {
    height: 500px;
    max-height: 600px;
    overflow: auto;
    width: 100%;
    margin-top: 10px;
}

.wplg_dl_header {
    width: 100%;
    display: inline-block;
    margin-bottom: 10px;
}

.wplg_dl_header * {
    vertical-align: middle;
}

.wplg_dl_header label {
    font-size: 18px;
    font-weight: 700;
}

#wplg_server_folder > .wplg_server_tree {
    max-height: 500px;
    overflow: auto;
    margin: 0;
    padding: 20px;
    border: #ddd 1px solid;
    border-radius: 4px;
}

.wplg_server_tree ul.wplg_server_tree {
    margin-left: 20px !important;
}

#wplg_server_folder > .wplg_server_tree > li > .wplg_server_tree {
    margin: 0 !important;
}

.wplg_server_folder a {
    text-decoration: none !important;
}

.server_directory input[type="checkbox"] {
    margin: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.server_folder_icon {
    vertical-align: middle;
    font-size: 20px !important;
    margin: 0 10px;
}

.server_folder_title {
    color: #5b6879 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-size: 14px;
    line-height: 14px;
    vertical-align: middle;
    font-weight: 700 !important;
}

.wplg_tree_open > .server_folder_title,
.wplg_tree_open > .server_folder_icon {
    color: #47A4A5 !important;
}

.server_directory.wait {
    background: url(../images/loader.gif) center right no-repeat;
}

.wplg_dl_buttons {
    text-align: right;
    padding: 0;
    box-sizing: border-box;
    margin-top: 20px;
}

.wplg_dl_buttons button {
    margin: 0 0 0 10px;
}
/* END CSS FOR SERVER FOLDER TREE */

/* CSS FOR SERVER FOLDER OUTPUT */
.server_folders_gallery_output_wrap {
    width: 100%;
    margin: 0;
}

.server_folders_gallery_output,
.wplg_folder_output,
.wplg_file_output,
.wplg_post_output {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.wplg_folder_output_item {
    width: 172px !important;
    padding: 0 16px !important;
    margin: 8px 12px 8px 5px !important;
    background: #47A4A5;
    overflow: hidden;
    height: 48px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    border: #47A4A5 0.5px solid;
    cursor: pointer;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 2px 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.wplg_folder_output_item .list-item__start-detail {
    width: 35px;
    height: 35px;
    margin-left: 0;
    margin-right: 10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b2b2b2;
    background: #fff;
}

.wplg_folder_output_item .material-icons {
    font-size: 24px !important;
    color: #47A4A5;
}

.wplg_folder_output_item .wplg-delete-icon-folder {
    font-size: 20px !important;
    display: none;
    color: #ffffff;
}

.wplg_folder_output_item .list-item__text {
    flex-direction: column;
    display: inline-block;
    width: 90px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    text-align: left;
    color: #ffffff;
}

.wplg_folder_output_item:hover .wplg-delete-icon-folder {
    display: block;
}

.wplg_flex_item {
    width: calc(20% - 16px);
    padding: 0;
    margin: 8px !important;
    border: #eee 0.5px solid;
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
}

.posts_results {
    position: relative;
}

.posts_results .posts_results_overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 9999999;
}

.wplg_post_item {
    width: calc(25% - 16px);
    margin: 0 8px 16px 8px !important;
}

.wplg_flex_item_img {
    width: 100%;
    height: 150px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.wplg_flex_item_img img,
.wplg_flex_item_img .img_post_item {
    width: 100%;
    height: 100%;
    display: inline-block;
    object-fit: cover;
}

.wplg_flex_item_text {
    width: 100%;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 10px 15px;
    box-sizing: border-box;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    background: #fff;
    z-index: 9;
}

.wplg_flex_item_text * {
    vertical-align: middle;
}

.wplg_flex_item_text img {
    vertical-align: middle;
    margin: 0 10px 0 0;
}

.wplg_flex_item.selected .wplg_flex_item_text {
    background: #e8f0fe !important;
    color: #47A4A5 !important;
}

#server_folder_preview {
    width: 70%;
    max-width: 100%;
    border-radius: 10px;
    padding: 10px;
}

.server_folder_preview_wrap {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-height: 630px;
    overflow: auto;
}

.server_folder_preview_item .wplg_flex_item_img {
    max-height: 200px;
    height: 180px;
}

.server_folder_preview_loader {
    margin: 0 auto;
}

.wplg-pages-wrap {
    text-align: center;
    margin-top: 10px;
    width: 100%;
    display: inline-block;
}

/* END CSS FOR SERVER FOLDER OUTPUT */
.toplevel_page_wp-load-gallery .mfp-bg {
    opacity: 0.5 !important;
}

body:not(.toplevel_page_wp-load-gallery) .wplg_admin_wrap {
    margin-top: -32px !important;
}

.wplg-tree-toggle {
    display: none;
    position: fixed;
    top: 120px;
    left: 35px;
    cursor: pointer;
    background-color: #fff;
    width: auto;
    height: auto;
    padding: 25px 5px;
    border: 1px solid #ddd;
    opacity: 0.5;
    z-index: 15;
    -webkit-border-radius: 0 25px 25px 0;
    -moz-border-radius: 0 25px 25px 0;
    border-radius: 0 25px 25px 0;
}

.wplg-tree-toggle:hover, .wplg-tree-toggle:focus {
    opacity: 1;
}

.wplg-tree-toggle .wplg-tree-toggle-icon {
    color: #ff8726;
}


.tabs {
    display: flex;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    white-space: nowrap;
    width: 100%;
    background-color: #fff;
}

.tabs .tab {
    flex-grow: 1;
    display: block;
    text-align: center;
    padding: 0;
    margin: 0;
    float: left;
    text-transform: uppercase;
    text-overflow: ellipsis;
    overflow: hidden;
    letter-spacing: 0.8px;
    min-width: 80px;
    background-color: #2196f3;
}

.tabs .tab a {
    text-decoration: none;
    color: #fff;
    background-color: #2196f3;
    display: block;
    width: 100%;
    height: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.tabs .tab.disabled a {
    cursor: default;
    opacity: 0.6;
}

.tabs .indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    will-change: left, right;
    background-color: #ff8726;
}

.wplg-button {
    background-color: #fff;
    color: #47A4A5 !important;
    padding: 10px 20px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 2px;
    transition: all ease 0.15s;
    vertical-align: middle;
    box-sizing: border-box;
    outline: none;
    border: #e6f4ea 0.5px solid;
    border-radius: 4px;
    font-size: 13px;
    opacity: 0.9;
}

.wplg_save {
    background-color: #47A4A5 !important;
    color: #ffffff !important;
}

.wplg-button:focus,
.wplg-button:hover {
    outline: none !important;
    background-color: #e6f4ea;
    box-shadow: none !important;
}

.wplg-button-colored {
    background-color: #47A4A5 !important;
    border: 1px solid #47A4A5 !important;
    color: #fff !important;
}

input.wplg-input {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    height: auto;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 0;
    min-height: 40px;
    color: #949494;
}

input.wplg-input:focus {
    border-color: #ff8726;
    box-shadow: none;
    outline: none;
}

input.wplg-input.minicolors {
    padding-left: 55px;
}

input.wplg-input.minicolors + .minicolors-swatch {
    height: 48px;
    width: 48px;
    top: 2px;
    left: 2px;
    border: none;
}

input.wplg-input.minicolors + .minicolors-swatch .minicolors-swatch-color {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

input.wplg-input.minicolors .minicolors-grid .minicolors-picker {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

input.wplg-input.minicolors .minicolors-grid .minicolors-picker > div {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

select.wplg-select {
    height: 40px;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 0 24px 0 10px;
    border: 1px solid #ddd !important;
    color: #949494 !important;
}

.wplg_admin_wrap textarea {
    color: #949494;
}

.wplg_media_categories_list {
    margin-left: 5px;
}

select.wplg-select:focus {
    border: 1px solid #ff8726;
    box-shadow: none;
    outline: none;
}

.wplg-switch-button {
    margin-left: 10px;
    margin-right: 10px;
}

.wplg-switch-button .switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 10px;
}

.wplg-switch-button .switch input {
    display: none;
}

.wplg-switch-button .switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
}

.wplg-switch-button .switch .slider:before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.wplg-switch-button .switch input:checked + .slider {
    background-color: #5dca70;
}

.wplg-switch-button .switch input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
}

.head-title {
    font-family: 'Roboto', sans-serif;
    font-size: 40px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 2px;
    color: #394857;
}

.add_gallery_wrap {
    width: 400px;
    max-width: 90%;
    margin: 0 auto;
    background: #fff;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,.32), 0 8px 40px rgba(0,0,0,.4);
    padding: 24px;
}

.add_gallery_wrap .spinner {
    margin: 8px !important;
}

.wplg_admin_wrap select, .wplg_admin_wrap input[type="number"], .wplg_admin_wrap input[type="text"] {
    height: 44px !important;
}

.wp-save-gallery * {
    vertical-align: middle;
}

.head_image_details {
    background: #fff;
}

.form_image_details {
    width: 100%;
    float: right;
    position: relative;
    box-sizing: border-box;
}

.form_image_details .thumbnail {
    float: none !important;
    text-align: center;
}

.form_image_details .thumbnail img {
    max-width: 200px;
}

.form_image_details .setting {
    width: 100%;
    box-sizing: border-box;
    margin: 15px 0 0 0;
    display: inline-block;
}

.form_image_details label.setting span {
    line-height: 27px;
    font-weight: 400;
    color: #666;
    font-size: 12px;
}

.form_image_details label.setting span.name, .form_image_details .compat-item .label {
    width: 20% !important;
    vertical-align: middle;
    display: inline-block;
    float: left;
    line-height: 40px;
}

.form_image_details label.setting input[type="text"], .form_image_details label.setting textarea, .form_image_details .compat-item .field {
    width: 80% !important;
    vertical-align: middle;
}

.form_image_details .wp-media-sidebar {
    width: 100%;
    z-index: 75;
    overflow: auto;
}

.wplg_admin_wrap .topbtn {
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.wplg_admin_wrap .topbtn > * {
    position: relative;
    width: 100%;
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: middle;
    /* font-weight: bold; */
}

.wplg_admin_wrap .topbtn > a *,
.wplg_admin_wrap .topbtn > button * {
    vertical-align: middle;
}

.add-gallery-box .zmdi-plus {
    font-size: 20px;
    color: #ffffff;
}

.wplg_admin_wrap .wplg-left-panel {
    padding: 10px;
    box-sizing: border-box;
    background: #F4F6FD;
    width: 280px;
    height: 100%;
    position: fixed;
    z-index: 15;
    -webkit-box-shadow: 0 1px 10px 0 rgba(0,0,0,.25);
    -moz-box-shadow: 0 1px 10px 0 rgba(0,0,0,.25);
    box-shadow: 0 1px 10px 0 rgba(0,0,0,.25);
}

.wplg-actions-wrapper {
    padding: 10px 20px;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
}

.wplg_top_title {
    float: left;
    display: inline-block;
    white-space: nowrap;
    color: #34495e;
    font-weight: normal;
    font-size: 20px;
    margin: 5px 0;
    line-height: 40px;
}

.wplg-actions-wrapper .gallery-toolbar {
    display: inline-block;
    float: right;
}

.wplg_save * {
    vertical-align: middle;
}

.edit_wrap {
    width: calc(100% - 260px);
    padding: 0;
    font-size: 14px;
    margin-left: 280px;
    box-sizing: border-box;
    min-height: 200px;
    position: relative;
}

.wp-settings-disable:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.4);
}

.wp-settings-disable-top:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0);
}

.edit_wrap .wplg-nav-tab {
    cursor: pointer;
    border: 0 !important;
    background: #fff !important;
    margin-left: 0;
    /* border-radius: 4px 4px 0 0 !important; */
    float: left;
    padding: 10px 16px;
    font-size: 13px;
    line-height: 24px;
    /* font-weight: 600; */
    text-decoration: none;
    white-space: nowrap;
    color: #949494;
}

.edit_wrap .wplg-nav-tab:first-child {
    margin-left: 20px !important;
}

.wplg-nav-tab .material-icons {
    margin-right: 5px;
    font-size: 20px !important;
}

.wplg-nav-tab * {
    vertical-align: middle;
}

.edit_wrap .wplg-nav-tab-active, .edit_wrap .wplg-nav-tab-active:hover,
.edit_wrap .wplg-nav-tab-active:focus, .edit_wrap .wplg-nav-tab-active:focus:active {
    background: #47A4A5 !important;
    color: #fff !important;
}

.edit_wrap .wplg-nav-tab-wrapper {
    line-height: inherit;
    margin: 0;
    background: #f1f1f1;
    width: 100%;
    display: inline-block;
}

.wplg-nav-tab-wrapper:not(.wp-clearfix):after {
    content: "";
    display: table;
    clear: both;
}

.wplg-admin-overlay-tree {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 999999;
}

.gallerylist .icon-open-close {
    width: 17px !important;
    height: 20px !important;
}

.material-icons.wpicon-delete-gallery {
    font-size: 18px !important;
    margin: 0 2px 0 -30px;
    display: none;
    cursor: pointer;
    vertical-align: middle;
    position: absolute;
    right: 10px;
    top: 8px;
}

.wpicon-delete-gallery:hover {
    display: inline-block;
}

.wp_name_gallery {
    width: 100%;
}

.div_gallery_theme_ip {
    padding: 0 0 20px 0;
}

.wplg_admin_wrap .wp_gallery_attachments {
    width: 75%;
    float: left;
    margin: 0 10px 0 10px;
    background: #fff;
}

.wp_gallery_attachments .infos_image {
    display: none;
}

.wplg-selection-wrap {
    text-align: center;
    display: inline-block;
    width: 100%;
}

.wplg-selection-wrap .wplg-images-wrap {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.wplg-selection-wrap.loading .wplg-images-wrap {
    display: none;
}

.edit_image_selection, .delete_image_selection {
    color: #eee;
    text-decoration: none;
    outline: 0;
    border: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.edit_image_selection:hover,
.delete_image_selection:hover {
    color: #fff;
}

.wplg-images-wrap .gallery-image {
    position: relative;
    cursor: pointer;
    width: calc(100% / 8);
    padding: 7.5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 4px;
    max-height: 170px;
    overflow: hidden;
    list-style: none;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-sizing: border-box;
    height: min-content;
}

.wplg-image-preview {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    border-radius: 4px;
    border: #eee 0.5px solid;
    box-sizing: border-box;
    box-shadow: inset 0 0 15px rgba(0,0,0,.1), inset 0 0 0 1px rgba(0,0,0,.05);
    background: #eee;
    cursor: pointer;
}

.wplg-image-preview:before,
.wplg-theme-preview:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.wplg-theme-preview:before {
    padding-top: 100%;
}

.wplg-image-preview .square_thumbnail,
.wplg-theme-preview .square_thumbnail {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    transition: opacity .1s;
}

.wplg-image-preview .square_thumbnail:after,
.wplg-theme-preview .square_thumbnail:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
    overflow: hidden;
}

.wplg-image-preview .square_thumbnail .img_centered,
.wplg-theme-preview .square_thumbnail .img_centered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate(50%,50%);
}

.wplg-image-preview .square_thumbnail .img_centered img,
.wplg-theme-preview .square_thumbnail .img_centered img {
    transform: translate(-50%,-50%);
    position: absolute;
    top: 0;
    left: 0;
    max-height: 100%;
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wplg-item-source {
    position: absolute;
    right: 0;
    top: 0;
    padding: 5px;
}

.wplg-images-wrap .gallery-image img {
    width: 100%;
    vertical-align: bottom;
    height: 100%;
    flex: 1;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 4px;
    box-sizing: border-box;
}

.wplg-images-wrap .gallery-image.selected img {
    border: solid 3px rgb(54, 178, 126);
}

.wplg-img-hover {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 888;
    background: rgba(10, 6, 6, 0.3);
    left: 0;
    top: 0;
    display: none;
}

.wplg-video-item {
    border-radius: 8px;
    position: absolute;
    z-index: 888;
    left: calc(50% - 19px);
    top: calc(50% - 19px);
    background-image: url(../images/icon-play32.png);
    width: 38px;
    height: 38px;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.wplg-image-preview:hover > .wplg-img-hover {
    display: block;
    left: 0;
    top: 0;
}

.action_images {
    position: absolute;
    top: 10px;
    right: 10px;
}

.wpaddGallery {
    cursor: pointer;
}

.mfp-close {
    position: absolute;
    right: 0;
    top: 0;
}

.gallery-toolbar button {
    margin: 5px 3px 5px 0;
    text-transform: capitalize;
    /* font-weight: bold; */
    letter-spacing: 0.57px;
}

.wplg-add-image {
    position: relative;
    display: inline-block;
}

.wplg-add-image > button {
    background: #0073aa !important;
    color: #fff !important;
}

.wplg-load-default-options {
    background: #2c3e50 !important;
    color: #fff !important;
}

.gallery-toolbar button * {
    vertical-align: middle;
    line-height: 17px;
}

.gallery-toolbar button .material-icons-outlined,
.gallery-toolbar button .dashicons{
    font-size: 16px !important;
}

.wplg-add-image:hover .cu-dropdown__menu {
    display: block !important;
}

.wplg-button.wplg-remove-item-btn {
    display: none;
    color: #fff !important;
    background: #e74c3c !important;
}

.btn_insert_gallery {
    border: solid 1px #47A4A5 !important;
}

.wplg-configs {
    margin: 0 0 20px 0;
    display: inline-block;
    width: 100%;
}

.wplg-configs-edit {
    width: 280px;
    margin-top: 10px;
}

.wplg-content {
    display: none;
    box-sizing: border-box;
    padding: 0 15px;
}

.wplg-content.show {
    display: inline-block;
    width: 100%;
}

.wplg-configs .wplg-field {
    flex-grow: 1;
    width: 100%;
    margin: 0;
}

.wplg-configs .wplg-field select,
.wplg-configs .wplg-field input {
    width: 100%;
    max-width: 100%;
    color: #fff;
    background-color: #6c757d;
    border-color: #fff;
    border: 0;
    margin: 0;
}

.wplg-configs label {
    width: 100%;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.64px;
    color: #6c757d;
    text-transform: capitalize;
}

.gallery_name {
    vertical-align: middle;
}

.wpstrtoupper {
    text-transform: uppercase;
}

.wplg-image-page-wrap {
    margin-top: 20px;
}

.wplg_filter_post_type_wrap {
    width: 100%;
    display: inline-block;
    margin-bottom: 10px;
}

.wplg_filter_post_type {
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

.wplg-select-taxonomy {
    display: none;
}

.wplg_tree {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    overflow: auto;
    position: relative;
    max-height: calc(100% - 150px);
    padding: 0;
    box-sizing: border-box;
}

.wplg_tree li {
    margin: 2px 0;
    float: left;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
}

.wplg_tree::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    background-color: #F5F5F5;
}

.wplg_tree::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5;
}

.wplg_tree::-webkit-scrollbar-thumb {
    border-radius: 8px;
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, .3);
    background-color: #c8c8c9;
}

.wplg-dragging {
    opacity: 0.2;
}

.ui-draggable-dragging {
    list-style: none;
}

.wplg_tree_item.selected > .wplg_row_tree,
.wplg-hover-folder {
    background: #47A4A5;
    border-radius: 4px;
    overflow: hidden;
}

.wplg-hover-folder * {
    color: #ffffff !important;
}

.wplg-dragging-element {
    padding: 5px 10px;
    width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #ffad46;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.64px;
    border-radius: 4px;
}

.wplg_tree_item.selected > .wplg_row_tree > .wplg_tree_title_folder {
    background: #47A4A5;
}

.wplg_tree .material-icons,
.wplg_tree .material-icons-outlined {
    color: #b2b2b2;
    vertical-align: middle;
    margin-right: 10px;
    font-size: 20px;
}

.wplg_tree .wp-arrow {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 18px;
}

.wplg_tree .wp-no-arrow {
    margin-left: 28px;
}

.wplg_tree li .wplg_row_tree:hover > .wpicon-delete-gallery {
    display: inline-block;
}

.wplg_tree .wplg_tree_title_folder {
    display: inline-block;
    width: calc(100% - 40px);
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    padding: 7px 0;
}

.wplg_tree .wplg_tree_title_folder a, .wplg_tree .wplg_tree_title_folder span {
    vertical-align: middle;
    font-size: 14px;
    /* font-weight: 600; */
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.64px;
    color: #949494;
}

.wplg_tree .wplg_tree_title_folder.top_level {
    margin-left: 10px;
}

.wplg_tree li.selected > .wplg_row_tree * {
    /* font-weight: bold; */
    color: #ffffff;
}

.wplg_tree li.closed > ul {
    display: none;
    height: 0;
}

.wplg_tree li .wp-arrow {
    transition: 0.1s ease-in-out;
    outline: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.wplg_tree li.closed > .wplg_row_tree a .wp-arrow {
    transform: rotate(-90deg);
}

.wplg_tree ul {
    margin-top: 0;
}

.wplg_tree > ul {
    padding-left: 0;
}

.icon_toggle {
    float: left;
    padding: 7px 0;
}

.wpgallery_drop_sort {
    width: 100%;
    border: #3899F0 1px dashed !important;
}

.ui-sortable-helper {
    border: 0 !important;
    margin: 0 !important;
}

.ui-sortable-helper ul {
    display: none;
}

#dl_save_image,
#dl_add_image_from_folder,
#dl_delete_items_btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    letter-spacing: 2px;
    transition: all ease 0.5s;
    vertical-align: middle;
    background-color: #47A4A5;
    border: 1px solid #47A4A5;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}

#wp-dl-cancel-edit-image,
#dl_cancel_add_image_folder,
#dl_cancel_items_btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    letter-spacing: 2px;
    transition: all ease 0.5s;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #9fabba;
    color: #000;
    cursor: pointer;
    border-radius: 4px;
    margin-right: 10px;
}

/** Snackbars */
.wplg-snackbar-wrapper {
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 10000000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 220px;
}

.wplg-snackbar-wrap {
    background: #2c3e50;
    color: #FFF;
    padding: 10px 20px;
    border-radius: 4px;
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);*/
    transition: transform 0.2s ease-in-out, all 0.4s ease-in-out;
    font-size: 14px;
    margin: 10px 0;
    display: inline-block;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.wplg-snackbar .wplg-snackbar-content {
    line-height: 18px;
    font-size: 12px;
    display: inline-block;
    vertical-align: middle;
}

.wplg-snackbar .wplg-snack-icon {
    vertical-align: middle;
    font-size: 18px !important;
    margin-right: 5px;
}

.wplg-snack-loader {
    -webkit-animation: wplg-snack-loader 2s linear infinite;
    -moz-animation: wplg-snack-loader 2s linear infinite;
    animation: wplg-snack-loader 2s linear infinite;
}

@-moz-keyframes wplg-snack-loader { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes wplg-snack-loader { 100% { -webkit-transform: rotate(360deg); } }
@keyframes wplg-snack-loader { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.wplg-snackbar .wplg-snackbar-undo {
    text-transform: capitalize;
    font-size: 12px;
    margin: 0;
    text-decoration: underline;
    line-height: 18px;
    color: #fff;
    vertical-align: middle;
    float: right;
}

.wplg-snackbar [class^=wplg-snackbar-]:focus {
    border: none;
    box-shadow: none;
    -moz-box-shadow: none;
}

.wplg-snackbar-wrap .wplg-snackbar-close {
    position: absolute;
    top: 3px;
    right: 3px;
}

.wplg-snackbar-wrap .wplg-snackbar-close .material-icons {
    font-size: 12px;
    color: #fff;
}

.wplg-snackbar.wplg-snackbar-hidden {
    transform: translateY(-200%);
}

.wplgclosedlg {
    text-align: right;
}

.wplg-panel-wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 10px 0;
    border: #eee 1px solid;
    box-sizing: border-box;
    padding: 10px 5px;
}

.wplg-panel-wrap.wplg-panel-options-wrap {
    padding: 0;
}

.wplg-panel-theme-wrap {
    border: 0;
    width: calc(100% - 280px);
    float: left;
}

.wplg-panel-wrap .wplg_box {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #f1f1f1;
    box-sizing: content-box;
    cursor: pointer !important;
    margin: 0;
    max-width: 100% !important;
    padding: 10px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.wplg_box span {
    color: #949494;
    display: block;
    line-height: 26px;
    max-width: 250px;
    padding-left: 10px;
    padding-top: 0;
    font-size: 14px;
}

.main_option_title_title {
    float: left;
}

.wplg_box_icon_before {
    display: inline-block;
    float: left;
    font-size: 20px !important;
}

.wplg_box_icon {
    float: right;
}

.wplg_box_content {
    width: 100%;
    display: none;
    padding: 5px 0;
}

.wplg-custom-shortcode {
    width: 100%;
    min-height: 100px;
    margin-top: 10px;
    border: #e6f4ea 0.5px solid;
    padding: 5px
}

.wplg-panel {
    width: calc(100% - 18px);
    flex-shrink: 0;
    padding: 8px 10px;
    cursor: default;
    margin: 6px 9px;
    border-radius: 4px;
    background: #fff;
    position: relative;
    box-sizing: border-box;
    border: #e6f4ea 1px solid !important;
}

.wplg-panel-theme {
    padding: 0;
    width: calc(20% - 10px);
    margin: 0 10px 10px 0;
    position: relative;
    border: 0 !important;
    border-radius: 4px;
    overflow: hidden;
}

.wplg-panel__header-status {
    justify-content: space-between;
    flex-direction: row;
    display: flex;
    margin: 0;
}

.wplg-panel-theme-wrap .wplg-panel__header-status {
    margin: 0;
    /* display: none; */
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 10px;
    box-sizing: border-box;
}

.wplg-panel__status-info {
    display: flex;
    align-items: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    min-width: 0;
}

.wplg-panel__main-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Arial", sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
    color: #34495e;
    text-transform: capitalize;
    text-align: center;
}

.wplg-panel-theme .wplg-panel__header-options {
    display: flex;
}

.wplg-panel-theme .wplg-panel__main-title {
    color: #ffffff;
}

.wplg-panel-theme .wplg-panel__main-title {
    text-transform: uppercase;
}

.wplg-panel__header-options input[type="number"] {
    width: 80px;
}

.wplg-panel__header-options span {
    color: #ffffff;
}

.wplg-panel.theme-selected .wplg-panel__header-options span {
    color: rgb(14, 212, 31);
}

.wplp-theme-demo {
    margin: 0 10px;
    outline: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    line-height: 24px;
    display: inline-flex;
}

.img_demo_wrap img {
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
}

.wplg-color-wrapper {
    width: 210px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-top: 5px;
}

.wplg-color-wrapper .wplg-color {
    margin: 5px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    box-sizing: border-box;
}

.overlay_color {
    margin: 0;
}

.wplg-color-wrapper .wplg-color .wplg-color_check {
    color: #fff !important;
    font-size: 14px !important;
    margin: 3px 0;
    left: 0 !important;
}

.wplg-color-wrapper .wplg-color .wplg-color_uncheck {
    color: #eee !important;
    font-size: 30px !important;
    left: 0 !important;
}

.wplg-color-action {
    width: 100%;
    display: inline-block;
}

.wplg-input-color, .wplg-clear-color {
    vertical-align: middle;
}

.wplg-clear-color {
    height: 44px;
}

@media screen and (max-width: 1550px) {

}

@media screen and (max-width: 1368px) {
    .wplg-images-wrap .gallery-image {
        width: calc(100%/5);
    }

    .wplg-panel-theme {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 960px) {
    .wplg_admin_wrap .gallerylist {
        display: none;
    }

    .edit_wrap {
        width: 100%;
        margin-left: 0;
    }

    .wplg_admin_wrap .wplg-tree-toggle {
        display: block;
    }

    .wplg-panel {
        width: calc(100% - 20px);
    }

    .wplg-panel-theme {
        width: calc(50% - 20px);
    }

    .wplg_flex_item {
        width: calc(33.333333% - 16px);
    }

    .wplg_post_item {
        width: calc(50% - 16px);
    }
}

@media screen and (max-width: 782px) {
    .wplg-images-wrap .gallery-image {
        width: calc(100%/4);
    }

    .wplg_admin_wrap .wplg-tree-toggle {
        left: 0;
    }

    #main-gallery, #main-gallery-settings {
        width: 100%;
        margin: 0;
    }
}

@media screen and (max-width: 600px) {
    .wplg-panel-theme {
        width: 100% !important;
    }
}

@media only screen and (max-width: 450px) {
    .wplg_flex_item {
        width: 100%;
        margin: 8px 0 !important;
    }

    .wplg-images-wrap .gallery-image {
        width: calc(100%/3);
    }

    .wplg-configs .wplg-field,
    .add_gallery_wrap .wplg-field.wp-theme-item {
        width: 100%;
        margin-right: 0 !important;
    }

    .wplg_folder_output_item {
        width: 100% !important;
    }

    .wplg-panel, .wplg-panel-theme-wrap, .wplg-configs-edit {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .wplg-panel-theme {
        width: calc(50% - 10px) !important;
        margin: 0 10px 10px 0 !important;
    }

    .wplg_admin_wrap {
        margin-left: 0 !important;
    }

    .wplg-button {
        min-width: 100px !important;
    }

    .wplg-categories-tree, .wplg-posts-item-wrap, .wplg_dl_buttons button {
        width: 100%;
        margin: 10px 0;
    }

    .wplg_dl_buttons .spinner {
        display: none;
    }

}