/**
 * BwPostman Newsletter Module
 *
 * BwPostman complete CSS-styles for frontend module to modify by user.
 *
 * @version 4.3.1
 * @package BwPostman-Module
 * @author Romana Boldt
 * @copyright (C) 2025 Boldt Webservice <forum@boldt-webservice.de>
 * @support https://www.boldt-webservice.de/en/forum-en/forum/bwpostman.html
 * @license GNU/GPL, see LICENSE.txt
 * This program 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 3 of the License, or
 * (at your option) any later version.
 *
 * This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#mod_bwpostman [class^="icon-"]::before,
#mod_bwpostman [class*=" icon-"]::before {
    font-family: inherit !important;
    font-style: normal;
    content: none;
}

#mod_bwpostman [class^="icon-"],
#mod_bwpostman [class*=" icon-"] {
	background-image:		url("../images/glyphicons-halflings.png");
}

/*----------------------------------------------------------
	Definition for miscellaneous
----------------------------------------------------------*/

#mod_bwpostman .mt {
	margin-top:				10px;
}

#mod_bwpostman .mb {
	margin-bottom:			10px;
}

#mod_bwpostman [class^="icon-"],
#mod_bwpostman [class*="icon-"] {
	display:				inline-block;
	height:					14px;
	line-height:			14px;
	margin-top:				1px;
	margin-right:			0;
	vertical-align:			text-top;
	width:					14px;
}

#mod_bwpostman .icon-star {
	background-position:	-144px 0;
}

#mod_bwpostman .icon-info-sign {
	background-position:	-120px -96px;
}

#mod_bwpostman .user_hightlight {
	position:				absolute;
	top:					-5000px;
	color:				rgb(255,0,0);
}

#mod_bwpostman .captcha,
#mod_bwpostman .question {
	border:					2px solid #ccc;
	-webkit-border-radius:	4px;
	-moz-border-radius:		4px;
	border-radius:			4px;
	padding:				10px;
	margin-bottom:			10px;
	margin-top:				10px;
}

#mod_bwpostman p.bwp_mod_error_no_mailinglists {
	font-weight:		bold;
	color:				#ff0000;
}

#mod_bwpostman .bwp_mod_modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 99999; /* Sit on top */
	padding-top: 10px; /* Location of the box */
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#mod_bwpostman #bwp_mod_modal-content.bwp-err{
	max-width: 600px;
	color: red;
}

#mod_bwpostman #bwp_mod_modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 15px;
	border: 1px solid #888;
	border-radius: 6px;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	height: 100%;
}

#mod_bwpostman #bwp_mod_modal-title {
    float: left;
    margin: 0;
}

#mod_bwpostman #bwp_mod_wrapper {
	padding-top: 35px;
	height: 100%;
}

#mod_bwpostman .bwp_mod_close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	line-height: 28px;
}

#mod_bwpostman .bwp_mod_close:hover,
#mod_bwpostman .bwp_mod_close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

#bwp_mod_wrapper,
#bwp_mod_wrapper::before,
#bwp_mod_wrapper::after {
    box-sizing: border-box;
}

#mod_bwpostman .rounded-right {
	border-radius : 0 4px 4px 0!important;
}

#mod_bwpostman .rounded-left {
	border-radius : 4px 0 0 4px!important;
}

/*----------------------------------------------------------
		Bootstrap mockup
----------------------------------------------------------*/

#mod_bwpostman input[type="checkbox"] {
	height:				13px;
	margin:				0 8px 5px 1px;
	padding:			0;
	vertical-align:		middle;
	width:				13px;
}

#mod_bwpostman select,
#mod_bwpostman textarea,
#mod_bwpostman input[type="text"],
#mod_bwpostman input[type="email"] {
	display:				inline-block;
	padding:				4px 6px;
	margin-bottom:			0;
	font-size:				13px;
	height:					auto;
	line-height:			18px;
	color:					#555555;
	vertical-align:			middle;
	-webkit-border-radius:	4px;
	-moz-border-radius:		4px;
	border-radius:			4px;
	border:					1px solid #ced4da;
}

#mod_bwpostman input#a_stringQuestion,
#mod_bwpostman input#a_stringCaptcha {
	width:				155px;
}

#mod_bwpostman input {
	width:				206px;
}

#mod_bwpostman select {
	width:				220px;
}

#mod_bwpostman label {
	vertical-align:		middle;
	padding:			5px 0;
	margin-bottom:		0;
}

#mod_bwpostman label,
#mod_bwpostman input,
#mod_bwpostman button,
#mod_bwpostman select {
	font-size:			13px;
	font-weight:		normal;
	line-height:		18px;
}

#mod_bwpostman .input-append {
	margin-bottom:		10px;
	white-space:		nowrap;
	vertical-align:		middle;
}

#mod_bwpostman .input-append input {
	font-size:				13px;
	-webkit-border-radius:	4px 0 0 4px;
	-moz-border-radius:		4px 0 0 4px;
	border-radius:			4px 0 0 4px;
	position:				relative;
	margin-bottom:			0;
	*margin-left:			0;
	vertical-align:			top;
}

#mod_bwpostman .input-append input:focus,
#mod_bwpostman .input-append select:focus {
	z-index:			2;
}

#mod_bwpostman .input-append .add-on {
	display:			inline-block;
	width:				auto;
	min-width:			16px;
	padding:			4px 5px;
	font-size:			13px;
	font-weight:		normal;
	line-height:		18px;
	text-align:			center;
	text-shadow:		0 1px 0 #ffffff;
	background-color:	#eeeeee;
	border:				1px solid #ccc;
}

#mod_bwpostman .input-append .add-on,
#mod_bwpostman .input-append .btn {
	vertical-align:			top;
	-webkit-border-radius:	0;
	-moz-border-radius:		0;
	border-radius:			0;
}

#mod_bwpostman .input-append input {
	-webkit-border-radius:	4px 0 0 4px;
	-moz-border-radius:		4px 0 0 4px;
	border-radius:			4px 0 0 4px;
	width:					180px;
}

#mod_bwpostman .input-append input + .btn-group .btn:last-child,
#mod_bwpostman .input-append select + .btn-group .btn:last-child {
	-webkit-border-radius:	0 4px 4px 0;
	-moz-border-radius:		0 4px 4px 0;
	border-radius:			0 4px 4px 0;
}

#mod_bwpostman .input-append .add-on,
#mod_bwpostman .input-append .btn,
#mod_bwpostman .input-append .btn-group {
	margin-left:		-1px;
}

#mod_bwpostman .input-append .add-on:last-child,
#mod_bwpostman .input-append .btn:last-child {
	-webkit-border-radius:	0 4px 4px 0;
	-moz-border-radius:		0 4px 4px 0;
	border-radius:			0 4px 4px 0;
}

#mod_bwpostman .input-append input,
#mod_bwpostman .input-append select {
	-webkit-border-radius:	4px 0 0 4px;
	-moz-border-radius:		4px 0 0 4px;
	border-radius:			4px 0 0 4px;
	border-right: 0;
}

#mod_bwpostman .btn {
	display:				inline-block;
	*display:				inline;
	padding:				4px 12px;
	margin-bottom:			0;
	*margin-left:			4px;
	font-size:				13px;
	line-height:			20px;
	color:					#333333;
	text-align:				center;
	text-shadow:			0 1px 1px rgba(255, 255, 255, 0.75);
	vertical-align:			middle;
	cursor:					pointer;
	background-color:		#f5f5f5;
	*background-color:		#e6e6e6;
	background-image:		-moz-linear-gradient(top, #ffffff, #e6e6e6);
	background-image:		-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
	background-image:		-webkit-linear-gradient(top, #ffffff, #e6e6e6);
	background-image:		-o-linear-gradient(top, #ffffff, #e6e6e6);
	background-image:		linear-gradient(to bottom, #ffffff, #e6e6e6);
	background-repeat:		repeat-x;
	border:					1px solid #cccccc;
	*border:				0;
	border-color:			#e6e6e6 #e6e6e6 #bfbfbf;
	border-color:			rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border-bottom-color:	#b3b3b3;
	-webkit-border-radius:	4px;
	-moz-border-radius:		4px;
	border-radius:			4px;
	filter:					progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0, enabled=false);
	*zoom:					1;
	-webkit-box-shadow:		inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow:		inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow:				inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

#mod_bwpostman .btn a {
	text-decoration: none;
}

#bwp_mod_form .btn {
	height: auto;
}

#bwp_mod_form fieldset.btn-group {
	display: inline-block;
	border: 0;
	padding: 0;
}

#bwp_mod_form .btn-group >.btn {
	min-width: 60px;
	width: 80px;
	padding: 2px;
}

#bwp_mod_form .radio.btn-group > label:first-of-type {
	margin-left: 0;
	-webkit-border-bottom-left-radius: 4px;
	border-bottom-left-radius: 4px;
	-webkit-border-top-left-radius: 4px;
	border-top-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
	-moz-border-radius-topleft: 4px;
}

#bwp_mod_form .btn-group > .btn:last-child,
.btn-group > .dropdown-toggle {
	border-bottom-right-radius: 4px;
	border-top-right-radius: 4px;
}

#bwp_mod_form .btn-group > .btn {
	font-size: 13px;
}

#mod_bwpostman .btn:hover,
#mod_bwpostman .btn.active,
#mod_bwpostman .btn:focus {
	color:				#333333;
	background-color:	#e6e6e6;
	*background-color:	#d9d9d9;
}

#mod_bwpostman .btn:first-child {
	*margin-left:		0;
}

#mod_bwpostman .btn:hover,
#mod_bwpostman .btn:focus {
	text-decoration:		none;
	background-position:	0 -15px;
	-webkit-transition:		background-position 0.1s linear;
	-moz-transition:		background-position 0.1s linear;
	-o-transition:			background-position 0.1s linear;
	transition:				background-position 0.1s linear;
}

#mod_bwpostman .btn:focus {
	outline:			thin dotted #333 ;
	outline:			-webkit-focus-ring-color;
	outline-offset:		-2px;
}

#mod_bwpostman .btn.active {
	font-weight: bold;
	border-color: #0e0e0e;
	background-image:	none;
	outline:			0;
	/*-webkit-box-shadow:	inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);*/
	/*-moz-box-shadow:	inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);*/
	/*box-shadow:			inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);*/
}

#mod_bwpostman [class^="icon-"],
#mod_bwpostman [class*=" icon-"] {
	display:				inline-block;
	height:					14px;
	line-height:			14px;
	margin-top:				1px;
	margin-right:			0;
	vertical-align:			text-top;
	width:					14px;
}

#mod_bwpostman .icon-star {
	background-position:	-144px 0;
}

#mod_bwpostman .icon-info-sign {
	background-position:	-120px -96px;
}

#mod_bwpostman label {
	cursor:				default;
}

#mod_bwpostman select,
#mod_bwpostman button,
#mod_bwpostman input[type="button"],
#mod_bwpostman input[type="submit"],
#mod_bwpostman input[type="radio"],
#mod_bwpostman input[type="checkbox"] {
	cursor:				pointer;
}

#mod_bwpostman .radio.btn-group input[type="radio"] {
	display: none;
}

