/**
 * WP-Members Styles CSS
 *
 * CSS for the WP-Members plugin
 * 
 * This file is part of the WP-Members plugin by Chad Butler
 * You can find out more about this plugin at https://rocketgeek.com
 * Copyright (c) 2006-2019 Chad Butler
 * WP-Members(tm) is a trademark of butlerblog.com
 *
 * @package WP-Members
 * @author Chad Butler 
 * @copyright 2006-2019
 */

/*	
This stylesheet is designed to integrate WP-Members floated form elements
as simply as possible with most themes using more rigid element properties.
There are quite a few examples in here of what you can do to style the forms.  
You can build off of this or start from scratch and set your own 
custom css for the plugin (set the location in the admin panel).

See https://rocketgeek.com/tips-and-tricks/setting-up-a-custom-wp-members-stylesheet/
for information on how to set up the plugin with a custom stylesheet.

For information how to load custom stylesheets with wp_enqueue_style,
see https://rocketgeek.com/tips-and-tricks/load-a-custom-stylesheet/
*/


/* Error and Dialog Messages */

#wpmem_msg, .wpmem_msg {
	width: 100%;
	background: #F9F9F9;
	border:1px solid lightGrey;
	border-radius: 3px;
	padding: 20px 0 0 0;
}


/* Sidebar Login Widget */

#wp-members  { 
	width: 100%;
}
#wp-members fieldset {
	border:none;
	padding:0px
}
#wp-members input {
	font-family: inherit;
}
#wp-members input[type="text"],
#wp-members input[type="password"]{
	margin: 0 0 4px 0;
}
#wp-members input[type="submit"] {
	padding: 5px 6px 4px;
	margin: 0 4px 0 0;
}
#wp-members .button_div { 
	margin-top:4px; 
}
#wp-members .err {
	width:100%;
	padding: 5px;
	font-family: inherit;
	border: 1px solid #ccc;
	border-radius: 3px;
}


/* Login Form and Registration Form */

/**
	Fonts
*/

#wpmem_reg label, 
#wpmem_login label {
	font-family: Arial,sans-serif;
	font-size: 100%;
	font-size: 14px;
	font-weight: 400;
}

#wpmem_reg legend, 
#wpmem_login legend {
	font-size: 24px;
	font-weight: 700;
}

#wpmem_reg input, 
#wpmem_reg textarea,
#wpmem_reg select, 
#wpmem_login input {
	font-family: Arial,sans-serif;
	font-size: 100%;
	font-size: 14px;
	font-weight: 400;
}

#wpmem_reg .req { 
	font-size: 22px;
	color: #bd3500;
}

/**
	Form Design
 */

#wpmem_reg fieldset,
#wpmem_login fieldset {
	border: none;
}

#wpmem_reg input, 
#wpmem_reg textarea,
#wpmem_reg select, 
#wpmem_login input  {
	border: 1px solid rgba(0, 0, 0, 0.3);
	outline: 0px none;
	border-radius: 2px;
	color: rgb(43, 43, 43);
	padding: 8px 10px;
	-moz-box-sizing: border-box;
	margin: 0px;
	max-width: 315px;
	vertical-align: baseline;
}


#wpmem_reg select {
	width:311px;
}
#wpmem_reg .dropdown:focus {
	border: 1px solid rgba(0, 0, 0, 0.3);
	outline: 0;
}

#wpmem_login .textbox:focus, #wpmem_login .textbox:hover,
#wpmem_reg .textbox:focus, #wpmem_reg .textbox:hover, 
#wpmem_reg .username:focus, #wpmem_reg .username:hover, #wpmem_login .username:focus, #wpmem_login .username:hover,
#wpmem_reg .password:focus, #wpmem_reg .password:hover, #wpmem_login .password:focus, #wpmem_login .password:hover {
	background-color:inherit;
}

/**
	Size and Spacing
 */

#wpmem_reg fieldset, 
#wpmem_login fieldset {
	padding: 0;
	margin: 40px 0;
}
#wpmem_reg legend, 
#wpmem_login legend {
	line-height: 1;
	margin-bottom: 10px;
}
#wpmem_reg label.text, 
#wpmem_reg label.checkbox, 
#wpmem_reg label.textarea , 
#wpmem_reg label.select,
#wpmem_login label {
	height: 30px;
	width:32%;
	float:left;
	display: block;
}
#wpmem_reg label.text, 
#wpmem_reg label.checkbox, 
#wpmem_reg label.select, 
#wpmem_reg label.radio
#wpmem_reg label.multicheckbox, 
#wpmem_reg.multiselect,
#wpmem_login label{
	padding: 14px 0 4px 0;
}
#wpmem_reg label.textarea {
	height: 176px;
	padding: 16px 0 2px;
}
#wpmem_login label[for="rememberme"] {
	float: none;
	display: initial;
}
#wpmem_reg input[type="checkbox"] {
	margin-top:18px;
}
#wpmem_reg .div_multicheckbox input[type="checkbox"] {
	margin: 0 0 0 0;
}
#wpmem_reg .form, 
#wpmem_login .form {
	margin:0;
	padding:0;
}
#wpmem_reg .clear, 
#wpmem_login .clear {
	clear:both;
}
#wpmem_reg .holder, 
#wpmem_login .holder {
	background-color:#fff;
}
#wpmem_login .div_text, 
#wpmem_reg .div_text, 
#wpmem_reg .div_checkbox, 
#wpmem_reg .div_select, 
#wpmem_reg .div_textarea, 
#wpmem_reg .div_multiselect,
#wpmem_reg .div_multicheckbox, 
#wpmem_reg .div_radio {
	width:311px;
	float:right;
}
#wpmem_reg .div_text, 
#wpmem_login .div_text { 
	padding: 8px 0 6px;
}
#wpmem_reg .div_checkbox {
	height: 48px;
}
#wpmem_reg .div_select {
	padding: 2px 0 1px;
}
#wpmem_reg .div_textarea {
	padding: 5px 0 4px 0;
}
#wpmem_login input[type="checkbox"] {
	margin: 12px 2px;
}
#wpmem_reg .textbox, 
#wpmem_reg .username, 
#wpmem_reg .password,
#wpmem_login .textbox,
#wpmem_login .username,
#wpmem_login .password {
	display: block;
	width:100%;
	height: 34px;
}
#wpmem_reg .div_textarea textarea {
	display: block;
	width:100%;	
}
#wpmem_reg .dropdown {
	height: 36px;
	padding: 8px 10px;
	margin: 5px 0 4px 0;
	background-color: transparent;
}
#wpmem_reg textarea {
	height:185px;
}
#wpmem_reg .req { 
	line-height: 50%;
}

#wpmem_reg .req-text {
	float:left;
	margin: 20px 0px 0px 5px;
}

#wpmem_reg .noinput {
	margin: 6px 0px 7px 10px;
}

#wpmem_reg .captcha { 
	margin: 5px -3px 5px 0; 
}
#wpmem_reg .captcha table{
	line-height: 0px;
}

#tos {
	margin-right:5px;
}

#wpmem_login .link-text {
	width: 100%;
	float:right;
	text-align:right;
}


/* Buttons */

#wpmem_reg .button_div, 
#wpmem_login .button_div {
	width:100%;
	float:right;
	text-align:right;
	/*height:55px;*/
	padding: 6px 0;
}


/** for smaller screens */

@media screen and (max-width: 720px) {
	#wpmem_reg label.text,
	#wpmem_reg label.checkbox, 
	#wpmem_reg label.textarea,
	#wpmem_reg label.select, 
	#wpmem_reg .div_text, 
	#wpmem_reg .div_textarea, 
	#wpmem_reg .div_select,
	#wpmem_reg .div_checkbox, 
	#wpmem_reg .button_div,
	#wpmem_login label,
	#wpmem_login .button_div,
	#wpmem_login .div_text {
		float: none;
	}
	
	#wpmem_reg label.text, 
	#wpmem_reg label.checkbox, 
	#wpmem_reg label.textarea, 
	#wpmem_reg label.select,
	#wpmem_login label {
		width: 90%;
		padding: 5px 0 0 0;
	}
	#wpmem_reg label.textarea {
		height: 26px;
	}
	#wpmem_reg .div_text, 
	#wpmem_reg .div_textarea, 
	#wpmem_reg .div_select,
	#wpmem_reg .div_checkbox,
	#wpmem_login .div_text {
		width: 98%;
	}
}