/*Menu-Icon*/
#adminmenu .toplevel_page_waymark-slider div.wp-menu-image {
    content: "";
  }
#adminmenu .toplevel_page_waymark-slider div.wp-menu-image {
    background-image: url('../assets/images/favicon-wm.svg') !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px auto;
}
#adminmenu .toplevel_page_waymark-slider .dashicons-before:before {
  content: "";
}

/*Disable Wordpress Styles*/
select.wm-s-input.wm-s-input-select,
input[type=text].wm-s-input,
input[type=number].wm-s-input,
input[type=email].wm-s-input,
input[type=tel].wm-s-input,
input[type=color].wm-s-input-color {
  width: 100%;
  padding: 3px 8px;
  border: 1px solid #E2DEDE!important;
}

select.wm-s-input.wm-s-input-select:focus,
input[type=text].wm-s-input:focus,
input[type=number].wm-s-input:focus,
input[type=email].wm-s-input:focus,
input[type=tel].wm-s-input:focus,
input[type=color].wm-s-input-color:focus {
  border: 1px solid #2a2a2a!important;
  box-shadow: none!important;
}

select.wm-s-input.wm-s-input-select.wm-s-error,
input[type=text].wm-s-input.wm-s-error,
input[type=number].wm-s-input.wm-s-error,
input[type=email].wm-s-input.wm-s-error,
input[type=tel].wm-s-input.wm-s-error,
input[type=color].wm-s-input-color.wm-s-error {
    border: 1px solid #ff2e2e!important;
}
label {
    cursor: auto;
    vertical-align: baseline;
}

blockquote {
    margin: 0;
}

/*Header*/
.wm-s-admin {
    padding: 50px;
}

.wm-s-admin-heading {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 35px;
}
  
/*Formats*/
.wm-s-admin h1,
.wm-s-admin h2 {
    margin: 0;
}
  
.wm-s-bold {
    font-weight: 800;
}

/*Buttons*/
.wm-s-active-action {
    padding: 8px 25px;
    border-radius: 50px;
    border: 1px solid #ff2e2e;
    cursor: pointer;
    transition: .2s;
    background-color: #ff2e2e;
    color: #ffffff;
}

.wm-s-active-action.wm-s-secondary {
    padding: 8px 25px;
    border-radius: 50px;
    border: 1px solid #ff2e2e;
    cursor: pointer;
    transition: .2s;
    background-color: transparent;
    color: #ff2e2e;
}

.wm-s-active-action:hover {
    border: 1px solid #2a2a2a;
    background-color: #2a2a2a;
    color: #ffffff;
}

.wm-s-tertiarybutton {
    border: 0px;
    border-radius: 0;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    padding: 0 0 0 10px;
    position: relative;
}

.wm-s-tertiarybutton:before {
    content: "";
    display: block;
    width: 5px;
    height: 10px;
    background: url(/wp-content/plugins/waymark-slider/assets/images/arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

button#slide-back {
    margin-bottom: 10px;
}

/*Container*/
#slide-inner-container2,
#slide-inner-container {
    background-color: #ffffff!important;
    border: 1px solid #E2DEDE;
    border-radius: 18px;
}

div#slide-inner-container2 {
    border-radius: 18px 18px 0 0;
    border-width: 1px 1px 0 1px;
    min-height: 20px;
}

.slider, .slide, .wm-s-slider-view {
    padding: 15px 25px 13px;
}

.slider-create-container-bottom,
.slider-create-container-top,
div#add-slider {
    border-top: 1px solid #E2DEDE;
    text-align: center;
    color: #3B88CC;
    padding: 15px 25px;
    background: white;
    border-radius: 0 0 18px 18px;
    cursor: pointer;
}

div#add-slider:first-child {
    border-radius: 18px;
    border-top: 0;
}

.slide-create {
    border-radius: 0 0 18px 18px;
    border-width: 0 1px 1px 1px;
    min-height: 20px;
}

#slide-detail-container h1 {
    margin-bottom: 35px;
}

#slide-detail-container .slider-create-container-bottom,
#slide-detail-container .slider-create-container-top {
    border: solid #E2DEDE;
    border-width: 0 1px 1px 1px;
}

#slide-detail-container .slider-create-container-top {
    border-width: 1px 1px 0 1px;
    border-radius: 18px 18px 0 0;
}

form#slide-create-form,
div#add-slider form {
    text-align: left;
    color: #2a2a2a;
    margin-bottom: 25px;
}

.slider:not(:first-child) {
    border-top: 1px solid #E2DEDE;
}

.wm-s-slider-table {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    align-items: end;
    margin-bottom: 2px;
}

.wm-s-info {
    font-size: 12px;
    color: #2a2a2a5a;
}

.wm-s-label-text {
    font-size: 14px;
}

.wm-s-shortcode-container,
.wm-s-shortcode-container>label {
    display: flex;
    gap: 4px;
    align-items: flex-start
}

.wm-s-slider-button path,
.wm-s-shortcode-container path {
    fill:#3B88CC;
}

.wm-s-shortcode-container button:hover path {
    fill: #2a2a2a;
}

.k2-copy-button {
    color: #2a2a2a;
    padding: 0;
    border: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
}

.wm-s-slider-button {
    padding: 0;
    margin: 0;
    font-size: 14px;
    color:#3B88CC;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

.wm-s-slider-button {
    display: flex;
    align-items: center;
    gap: 2px;
}

.wm-s-buttons-overview {
    display: flex;
    gap: 15px;
    opacity: 0;
    transition: .1s;
}

.slide-view:hover .wm-s-buttons-overview,
.slider-view:hover .wm-s-buttons-overview {
    opacity: 1;
}

/*Form Edit*/
.slider-create-container-top {
    display: none;
}

.slide-edit-container>div,
.slide-form>div {
    display: grid;
    grid-template-columns: repeat(4,23%);
    justify-content: space-between;
}

select.wm-s-input.wm-s-input-select,
.wm-s-input {
    width: 100%;
    max-width: 100%;
}

.wm-s-input-container {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

select.wm-s-input-select.wm-s-input-multi {
    height: 80px;
}

.wm-s-slide-label,
.wm-s-input-label {
    margin-bottom: 2px;
}

.wm-s-slide-label {
    margin-top: 10px;
    display: block;
}

.wm-s-slide-button {
    margin-top: 25px;
}

.wm-s-slide-button.wm-s-secondary {
    margin-left: 15px;
}

/*Single List*/
ul#sortable li,
ul#sortable {
    margin: 0;
}

.slide {
    border-bottom: 1px solid #E2DEDE;
}

.ui-state-default {
    background: white;
    border-radius: 18px;
    cursor: grab;
}

.slide-name:after {
    content: "";
    width: 12px;
    height: 3px;
    position: absolute;
    border: #3B88CC solid;
    border-width: 1px 0;
    transform: translateY(-50%);
    top: 50%;
    right: 0;
}

.slide-view {
    position: relative;
}

/*Image Upload*/
.upload_image_button.slide-image-button.wm-s-input {
    border: dashed #3B88CC 1px;
    background: transparent;
    padding: 20px 5px;
    color: #3B88CC;
    border-radius: 6px;
    cursor: pointer;
}

/*Popup*/
#pop-up-container {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100vw;
    height: 100vh;
    top:0;
    left:0;
}

#pop-up {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000000;
    background-color: white;
    padding: 50px;
    color: #2a2a2a;
    border-radius: 18px;
}

#pop-up-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

#pop-up-description {
    margin-bottom: 20px;
}

#pop-up-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ----------übergreifend---------- */
#slide-container {
    color: #2a2a2a;
}

.slide-preview-container {
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.05);
}   

.slide-preview-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide-update-container {
    width: fit-content;
    position: absolute;
    top: 50px;
    right: 50px;
}
/* ----------Slider Bearbeitungsseite---------- */

/*Overlay*/
#ddslide-dummy,
.hide {
    display: none;
}

#wm-overlay-slider {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1000000;
    background: #ffffffaa;
}

#wm-overlay-image-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
#wm-overlay-image-slider img {
   width: 70px;
}

@media (max-width: 480px) {
    #k2button {
        width: 100%;
    }
}

