/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

#pmaslidedialog {
    z-index: 1001;
    position: initial;
    overflow: auto;
    display: flex;
}

.ui-widget-overlay {
    background-color: #00000069;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 99999 !important;
    top: 0;
}

.pmaslidedialog {
    z-index: 100000 !important;
	padding: 20px;
	width: 80% !important;
	min-width: 600px !important;
}

.pmaslidetree, .pmaslide-viewer {
    height: 500px;
    overflow: auto;
    /* padding-bottom: 60px; */
}

.pmaslidetree {
    flex: 1 1 30%;
}

.pmaslide-viewer {
    padding: 10px;
    flex: 1 1 40%;
}

.pmaslidetree .fancytree-container {
    padding: 0;
}

.pmaslide-sidebar {
    flex: 0 0 30%;
    height: 500px;
    overflow: auto;
    border-left: 1px solid #ddd;
    padding-left: 15px;
}

#pmaslidedialog .media-frame-toolbar {
    left: 0px;
}

.pmaslidedialog .ui-dialog-titlebar {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: none;
    padding-left: 0;
    padding-right: 0;
	padding-bottom: 10px;
}

.pmaslidedialog.ui-dialog .ui-dialog-titlebar-close {
    border: none;
    background: none;
	float: right;
	font-weight: bold;
}

.my-block-image {
    text-align: center;
    margin-bottom: 20px;
}

.my-block-image img {
    max-width: 80% !important;
}

#radios {
    position: relative;
    background-color: #fff;
    z-index: 5;
    width: 240px;
    border-radius: 10px;
}

#radios input[type="radio"] {
    display: none;
}

#connection_selection_bg,
.mypathomation_label,
.pmacore_label {
    width: 120px;
    height: 30px;
    text-align: center;
    display: inline-block;
    padding-top: 10px;
    margin-right: -3px;
    z-index: 2;
    cursor: pointer;
}

#connection_selection_bg {
    background-color: #008ec2;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    border-radius: 10px;
}

#mypathomation_radio:checked ~ #connection_selection_bg {
    transform: translateX(0);
}

#mypathomation_radio:checked ~ .mypathomation_label {
    font-weight: bold;
    color: white;
}

#pmacore_radio:checked ~ #connection_selection_bg {
    transform: translateX(120px);
}

#pmacore_radio:checked ~ .pmacore_label {
    font-weight: bold;
    color: white;
}

a.toplevel_page_pma-wordpress-admin > div.wp-menu-image {
    background: url("../img/pathomation_mono.png");
    background-position: center;
    background-repeat: no-repeat;
}

#toplevel_page_pma-wordpress-admin:hover div.wp-menu-image,
#toplevel_page_pma-wordpress-admin.current div.wp-menu-image {
    background: url("../img/pathomation.png");
    background-position: center;
    background-repeat: no-repeat;
}
