/**
 * @package         Modals
 * @version         11.9.5
 * 
 * @author          Peter van Westen <info@regularlabs.com>
 * @link            http://regularlabs.com
 * @copyright       Copyright © 2021 Regular Labs All Rights Reserved
 * @license         http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */
@import "../../regularlabs/less/init.less";
@import "base.less";

#rl_modals_overlay {
	background: url(../images/colorbox1/overlay.png) repeat 0 0;
}

#rl_modals {
	outline: 0;
}

#rl_modals_top_left {
	width:      21px;
	height:     21px;
	background: url(../images/colorbox1/controls.png) no-repeat -101px 0;
}

#rl_modals_top_right {
	width:      21px;
	height:     21px;
	background: url(../images/colorbox1/controls.png) no-repeat -130px 0;
}

#rl_modals_bottom_left {
	width:      21px;
	height:     21px;
	background: url(../images/colorbox1/controls.png) no-repeat -101px -29px;
}

#rl_modals_bottom_right {
	width:      21px;
	height:     21px;
	background: url(../images/colorbox1/controls.png) no-repeat -130px -29px;
}

#rl_modals_middle_left {
	width:      21px;
	background: url(../images/colorbox1/controls.png) left top repeat-y;
}

#rl_modals_middle_right {
	width:      21px;
	background: url(../images/colorbox1/controls.png) right top repeat-y;
}

#rl_modals_top_center {
	height:     21px;
	background: url(../images/colorbox1/border.png) 0 0 repeat-x;
}

#rl_modals_bottom_center {
	height:     21px;
	background: url(../images/colorbox1/border.png) 0 -29px repeat-x;
}

#rl_modals_content {
	background: #ffffff;
	overflow:   hidden;
}

.rl_modals_iframe {
	background: #ffffff;
}

#rl_modals_error {
	padding: 50px;
	border:  1px solid #cccccc;
}

#rl_modals_loaded_content {
	margin-bottom: 28px;
}

#rl_modals_title {
	position:   absolute;
	bottom:     4px;
	left:       0;
	text-align: center;
	width:      100%;
	color:      #949494;
}

#rl_modals_current {
	position: absolute;
	bottom:   4px;
	left:     58px;
	color:    #949494;
}

#rl_modals_loaded_content {
	background: url(../images/colorbox1/loading_background.png) no-repeat center center;
}

#rl_modals_loading_graphic {
	background: url(../images/colorbox1/loading.gif) no-repeat center center;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#rl_modals_previous, #rl_modals_next, #rl_modals_slideshow, #rl_modals_close {
	border:     0;
	padding:    0;
	margin:     0;
	overflow:   visible;
	width:      auto;
	background: none;
}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#rl_modals_previous:active, #rl_modals_next:active, #rl_modals_slideshow:active, #rl_modals_close:active {
	outline: 0;
}

#rl_modals_slideshow {
	position: absolute;
	bottom:   4px;
	right:    30px;
	color:    #0092ef;
}

#rl_modals_previous {
	position:    absolute;
	bottom:      0;
	left:        0;
	background:  url(../images/colorbox1/controls.png) no-repeat -75px 0;
	width:       25px;
	height:      25px;
	text-indent: -9999px;
}

#rl_modals_previous:hover {
	background-position: -75px -25px;
}

#rl_modals_next {
	position:    absolute;
	bottom:      0;
	left:        27px;
	background:  url(../images/colorbox1/controls.png) no-repeat -50px 0;
	width:       25px;
	height:      25px;
	text-indent: -9999px;
}

#rl_modals_next:hover {
	background-position: -50px -25px;
}

#rl_modals_close {
	position:    absolute;
	bottom:      0;
	right:       0;
	background:  url(../images/colorbox1/controls.png) no-repeat -25px 0;
	width:       25px;
	height:      25px;
	text-indent: -9999px;
}

#rl_modals_close:hover {
	background-position: -25px -25px;
}
