@tailwind base;
@tailwind components;

body {
    @apply bg-gray-100 text-gray-700;
}

img {
    border-style: initial;
}

img, svg, video, canvas, audio, iframe, embed, object {
    display: initial;
}

a {
    text-decoration: underline;
}

.tblrow {
    @apply p-3
}

.hide {
    @apply hidden
}

.notice, div.error, div.updated {
    @apply my-1
}

.dashicons-nametag {
    @apply text-4xl
}

@screen sm {
    .tblrow {
        @apply mx-1
    }
}

[x-cloak] {
    @apply hidden !important;
}

.tooltip {
    @apply invisible absolute;
}

.has-tooltip:hover .tooltip {
    @apply visible z-50;
}

.absolute {
    position: absolute;
}

.wp-list-table #id { 
    width: 6%; 
}
.wp-list-table #check { 
    width: 20%; 
}
.children {
    @apply ml-8;
    @apply mt-1;
}

 /* The switch - the box around the slider */
 .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* remove list style */
.delop .delop-filter li, .delop .delop-filter label{
    list-style: none;
    @apply ml-0;
}

#delete-old-posts-redirects .delete-old-posts_page_delete-old-posts-redirects {
    position: relative;
}

@tailwind utilities;