/**
 * BwPostman Newsletter Module
 *
 * BwPostman complete CSS-styles for frontend module to modify by user.
 *
 * @version 4.3.2
 * @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 {
	max-width: 400px;
}

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

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

#mod_bwpostman .mt, #mod_bwpostman .my {
	margin-top: 15px;
}

#mod_bwpostman .mb, #mod_bwpostman .my {
	margin-bottom: 15px;
}

#mod_bwpostman .bwp_mod_modal, #mod_bwpostman #bwp_reg_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_reg_modal {
	z-index: 99998; /* Sit on top */
}
#mod_bwpostman #bwp_mod_modal-content.bwp-err{
	max-width: 600px;
	color: red;
}

#mod_bwpostman #bwp_reg_modal-content {
	max-width: 600px;
}

#mod_bwpostman #bwp_mod_modal-content, #mod_bwpostman #bwp_reg_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);
}

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

#mod_bwpostman .bwp_reg_header {
	height: 35px;
}

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

#mod_bwpostman .bwp_mod_close, #mod_bwpostman .bwp_reg_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,
#mod_bwpostman .bwp_reg_close:hover,
#mod_bwpostman .bwp_reg_close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

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

#mod_bwpostman #bwp_reg_modal #edit_mailformat_m {
	display: inline-block;
}

#mod_bwpostman #bwp_mod_form_lists {
	font-weight: bold;
}

#mod_bwpostman .btn-outline-secondary:hover {
    background-color: #ddd !important;
}

#mod_bwpostman .security_question_lbl {
	font-weight:		bold;
}

#mod_bwpostman .bs3 .question-result .input-group,
#mod_bwpostman .bs3 .captcha-result .input-group {
	max-width: 200px;
}

#mod_bwpostman .bs3 input[type="text"] {
	width: 100%;
}

#mod_bwpostman .bs3 #bwp_mod_form_listsfield.small .form-check-input {
	margin-top: 1px;
}

@media (min-width: 470px) {
	#mod_bwpostman .question-result,
	#mod_bwpostman .captcha-result,
	#mod_bwpostman .security_question_lbl {
		margin-left:		145px;
	}
}
