/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

//Backend Design
@media screen and (min-width: 991px) {
/* Move the icon to the opposite side of the text based on text direction */
#adminmenu a.menu-top, #adminmenu li.current a.menu-top {
    display: flex;
    flex-direction: row-reverse;/* Reverse direction for RTL languages */
    justify-content: space-between;
}


#adminmenu div.wp-menu-image:before {
    color: rgba(240,246,252,.6) !important;

}
#adminmenu div.wp-menu-image {
    width: 45px;
}

/*Border indicator on hover for LTR & RTL */
#adminmenu div.wp-menu-name:lang(fa) {
    padding: 10px;
    border-right: 5px solid transparent;
}
#adminmenu div.wp-menu-name:lang(en) {
    padding: 10px;
    border-left: 5px solid transparent;
}

#wpcontent:lang(fa), #wpfooter:lang(fa) {
    margin-right: 200px;
    margin-left: 0;
}
}

//RTL Gutenburge
.interface-interface-skeleton__content:lang(en) {
    direction: rtl;
}