/*! 
 * ************************************************
 * Uix Custom Metaboxes (RTL)
 *
 * @version		: 2.2 (October 24, 2022)
 * @author 		: UIUX Lab
 * @author URI 	: https://uiux.cc
 * @license     : MIT
 *
 *************************************************
 */

/*
 * 2. Basic
 * 3. Button
 * 6. Upload Media Control
 * 8. Custom Attributes
*/



/* 
 ---------------------------
 2. Basic
 ---------------------------
 */ 

/* Use only one column as a separate module */
.uix-cmb__wrapper--one-column {
    text-align: right;
    padding-left: auto;
    padding-right: 10px;
}

@media (max-width: 768px) {
    
    .uix-cmb__wrapper:not(.uix-cmb__wrapper--one-column) {
        padding-right: 10px;
    }
}



/* -- */

.uix-cmb__text--p {
	border-right: none;
	margin-right: auto;
	border-left: 1px solid #E9E9E9;
	margin-left: 10px;
	float: right;
}

#side-sortables th,
#side-sortables tr > td {
	float: right;
	text-align: right;
}



table.uix-cmb tr th {
    text-align: left;
}



@media (max-width: 768px) {

	
    table.uix-cmb tr th {
        text-align: right;
    }

  
}


.uix-cmb__description {
	padding-right: 10px;
}

.uix-cmb__text--div--toggle .uix-cmb__custom-attributes-field__removebtn {
    right: auto;
    left: 3px;
}

.uix-cmb__text--div--toggle__trigger svg {
    margin-right: auto;
    margin-left: 5px;
}


/* 
 ---------------------------
 3. Button
 ---------------------------
 */ 
.uix-cmb__btn svg {
    margin-right: auto;
    margin-left: 5px;
}

.uix-cmb__removebtn svg {
    transform: translate(2.5px,-2.5px);
}


/* 
 ---------------------------
 6. Upload Media Control
 ---------------------------
 */ 
.uix-cmb__upload-wrapper input {
	text-align: left;
	left: auto;
	right: 0;
}


.uix-cmb__upload-wrapper .uix-cmb__btn i {;
	padding-right: auto;
	padding-left: 5px;

}


.uix-cmb__upload-wrapper .uix-cmb__removebtn {
	left: auto;
	right: 0;
}


.uix-cmb__upload-wrapper .uix-cmb__removebtn:after {
	left: auto;
	right: 0;
}



/* 
 ---------------------------
 8. Custom Attributes
 ---------------------------
 */ 
.uix-cmb__custom-attributes-field table td {
	text-align: right;
}


.uix-cmb__custom-attributes-field__removebtn {
	right: auto;
	left: -30px;
}


.uix-cmb__custom-attributes-field__addbtn__wrapper--multi .uix-cmb__custom-attributes-field__addbtn:last-child {
    margin-right: auto !important;
    border-right: 1px solid #ECF9FF !important;
    margin-left: 0 !important;
    border-left: none !important;
}

.uix-cmb__custom-attributes-field__addbtn svg,
.uix-cmb__custom-attributes-field__removebtn svg {
    margin-right: auto;
    margin-left: 5px;
}


.uix-cmb__custom-attributes-field__addbtn {
    margin-right: auto;
    margin-left: 6px;
}
   

.uix-cmb__custom-attributes-field__addbtn--multi {
    border-right: 1px solid #ECF9FF;
    border-left: 1px solid #b5dbf5;
}

.uix-cmb__custom-attributes-field__sortablebtn {
    right: auto;
    left: 30px;
}

