/*
Plugin Name: WP Blockchain
Plugin URI: https://wp-blockchain.com
License: GPLv2 or later

Copyright (c) 2018, Good Rebels Inc.

WP Blockchain 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.

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 <https://www.gnu.org/licenses/gpl-2.0.html>.

Please feel free to contact us at wp-blockchain@goodrebels.com.
*/


.wpbc-settings-message {
	margin: 8px 20px 3px 0;
	padding: 8px 10px 8px 27px;
	background: white;
	position: relative;

	& > i {
		position: absolute;
		left: 7px;
		top: 9px;
		font-size: 15px;
	}
}
.wpbc-settings-message.wpbc-settings-message-success {
	color: #329932;
}
.wpbc-settings-message.wpbc-settings-message-failure {
	color: red;
}
h2.wpbc-settings-h2 {
	font-size: 22px;
	margin-right: 20px;
	display: block;
}
.wpbc-settings-h3-wrap,
h3.wpbc-settings-h3 {
	display: block;
	margin: 30px 20px 10px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #ddd;

	h3 {
		padding-bottom: 0;
		margin-bottom: 0;
	}
}
.wpbc-settings-h3-link {
	float: right;
}
.wpbc-settings-form fieldset {
	margin: 0 0 30px;
}
.wpbc-settings-field {
	margin: 0 0 4px;
	float: left;
	clear: both;
	width: 100%;
}
.wpbc-settings-field > label {
	width: 220px;
	float: left;
	padding: 6px 20px 0 10px;
	box-sizing: border-box;
}
.wpbc-settings-field-inner label.wpbc-settings-cb,
.wpbc-settings-field-inner .wpbc-settings-cb {
	margin: 7px 25px 3px 4px;
	display: inline-block;
	vertical-align: top;
	white-space: nowrap;
}
.wpbc-settings-field-inner {
	margin-left: 220px;
}
.wpbc-settings-field-inner label {
	margin: 0 20px 10px 0;
}
.wpbc-settings-field-inner input[type="text"],
.wpbc-settings-field-inner select,
.wpbc-settings-field .wpbc-settings-wpeditor-wrap {
	width: 80%;
	line-height: normal;
	min-height: 30px;
}
.wpbc-settings-tip {
	position: relative;
	padding: 4px 10px 4px 25px;
	background: #f7f7f7;
	margin: 10px 20px 0 0;
	font-style: italic;
	float: left;
	clear: both;
	box-sizing: border-box;
}
.wpbc-settings-tip i {
	position: absolute;
	left: 6px;
	top: 5px;
	font-size: 17px;
	color: #999;
}
.wpbc-settings-field-legend .wpbc-settings-message {
	font-size: 12px;
}
.wpbc-settings-tip,
.wpbc-settings-tip code {
	font-size: 10px;
}

.wpbc-settings-tip,
.wpbc-settings-tip code,
.wpbc-settings-field-legend .wpbc-settings-message code {
	color: #777;
}
.wpbc-settings-tip code {
	font-style: normal;
}

.wpbc-stamps-status {
display: inline-block;
padding: 3px 5px;
background: white;
margin: 0 14px 6px 0;
}

.wpbc-setting-type-state-disabled .wpbc-setting-type-append,
.wpbc-setting-type-state-disabled .wpbc-setting-type-backend,
.wpbc-setting-type-state-disabled .wpbc-setting-type-visibility {
opacity: 0.3;
}

.wpbc-bc-ind {
	margin-right: 8px;
	display: inline-block;
	
	.wpbc-bc-ind-time {
	    font-size: 9px;
		color: #aaa;
		background: #fafafa;
		padding: 2px 3px;
		vertical-align: bottom;
		margin: 0 0 0 1px;
	}
}
.wpbc-bc-ind:last-child {
	margin-right: 0;
}

.wpbc-settings-field-hidden {
display: none;
}

.wpbc-settings-inline-desc {
margin-left: 30px;
color: #777;
font-style: italic;
font-size: 12px;
}
.wpbc-settings-field-inner > .wpbc-settings-inline-desc {
margin-left: 2px;
margin-top: 4px;
}

.wpbc-stamps-summary {
    margin-bottom: 6px;
}

.wpbc-ad {
	padding: 0 0 0 130px;
	padding-right: 0 !important;
	min-height: 132px;
    background: white;
    margin: 16px 20px 30px 0;
    border: none;
    position: relative;
    box-sizing: border-box;

    header {
		font-size: 20px;
		display: block;
		line-height: normal;
		margin: 4px 0 6px 0;
	}

    .wpbc-ad-logo {
		img.wpbc-ad-logo-img {
			left: 0;
			top: 0;
			position: absolute;
			width: 130px;
		}
		img.wpbc-ad-logo-img-wide {
			display: none;
		}
	}

	.wpbc-ad-content {
		padding: 11px 20px 11px;

		.wpbc-ad-links {
			margin: 14px 0 0;

			a.wpbc-ad-link {
				font-size: 13px;
				line-height: 28px;
				margin: 0 0 0 5px;
				padding: 0 0px 1px;

				&,
				&:active,
				&:focus {
					outline: 0 !important;
					box-shadow: none !important;
				}
			}

			& > * {
				white-space: nowrap;
			}
		}
    }
}

.wpbc-settings-instructions {
    margin: 0 20px 18px 2px;
    color: #777;
}

.wpbc-stamps-table-legend {
    color: #777;
    font-size: 80%;
    line-height: normal;
}

@media screen and (max-width: 900px){
	.wpbc-settings-field {
		margin-bottom: 0 !important;
	}
	.wpbc-settings-field > label {
		width: auto;
		display: block;
		float: none;
		padding: 20px 10px 10px;
		box-sizing: border-box;
		font-size: 110%;

		&.wpbc-label-empty {
			display: none;
		}
	}
	.wpbc-settings-field-inner {
		display: block;
		margin: 5px 20px 0 12px;
		padding: 10px 9px;
		background: white;
	}
	.wpbc-settings-tip-wrap .wpbc-settings-field-inner {
		background: none;
	}
	.notice-dismiss:before {
		color: white;
	}
}

@media screen and (max-width: 700px){

	.wpbc-ad {
		padding: 0;
		min-height: 0;

		.wpbc-ad-logo {
			img.wpbc-ad-logo-img {
				display: none;
			}
			img.wpbc-ad-logo-img-wide {
				width: 100%;
				display: block;
			}
		}

		.wpbc-ad-content {
			padding: 14px 20px 10px;

			.wpbc-ad-links a {
				margin-bottom: 8px;
			}
		}
	}
}


