/**
 * @package   ShackToolbox
 * @contact   www.joomlashack.com, help@joomlashack.com
 * @copyright 2018 Perfect Web. All rights reserved.
 * @copyright 2019-2023 Joomlashack.com. All rights reserved
 * @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
 *
 * This file is part of ShackToolbox.
 *
 * ShackToolbox is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * ShackToolbox is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with ShackToolbox.  If not, see <http://www.gnu.org/licenses/>.
 */

.pweb-rtl {
	direction: rtl;
}

/* Toggler */
.pwebbox_toggler {
	text-align: right;
}

/* Container */
.pweb-rtl .pwebbox-container {
	background-position: right top;
	text-align: right;
}

.pweb-rtl .pweb-button-close {
	right: auto;
	left: 5px;
}
/* Lightbox - close button */
.pweb-rtl.pweb-modal .pweb-button-close {
	left: -15px;
}

.pweb-rtl.pweb-accordion.pweb-accordion-boxed .pweb-arrow {
	left: auto;
	right: 25%;
}

/* Columns */
.pweb-rtl .pweb-column {
	float: right;
	margin-right: 0;
	margin-left: 3%;
}
.pweb-rtl .pweb-column:last-child {
	margin-left: 0;
}

/* phone */
@media (max-width: 480px)
{
	/* disable fields inline */
	.pweb-rtl.pweb-labels-inline .pwebbox-form .pweb-field {
		float: none;
	}
}

/* phone landscape */
@media (min-width: 481px) and (max-width: 767px)
{
	/* disable fields inline only in columns */
	.pweb-rtl.pweb-labels-inline .pwebbox-form .pweb-column .pweb-field {
		float: none;
	}
}

/* tablet and phone */
@media (min-width: 768px) and (max-width: 979px)
{
	/* disable fields inline only in 4 and 5 columns */
	.pweb-rtl.pweb-labels-inline .pwebbox-form .pweb-column.pweb-width-25 .pweb-field,
	.pweb-rtl.pweb-labels-inline .pwebbox-form .pweb-column.pweb-width-20 .pweb-field {
		float: none;
	}
}
