/*
 * This file is used to generate all general stlying for the Firebar.
 *
 * - Container
 * - Stub
 * - Show Icon
 * - Close Icon
 * - Text
 * - Twitter Feed
 * - Recent Posts
 * - Media Queries
 */

/*
 * Container CSS
 */

.wps-fb-container {
	left: 0px;
	width: 100%;
	min-height: 30px;
	max-height: 40px;
	z-index: 9999999999;
	text-align: center;
	border-bottom: 0px solid #1c1c1c;
	padding: 8px 0px;
	display: table;
	background: linear-gradient(
	  rgba(0, 0, 0, 0.0),
	  rgba(0, 0, 0, 0.05)
	);
}

.wps-fb-container > div {
	display: table;
	min-height: 30px;
	width: 100%;
}

.wps-fb-container a {
	color: inherit;
	text-decoration: none;
}

.wps-fb-container a:hover:not(.wps-fb-link-button) {
	text-decoration: underline;
}

#wps-fb-firebar-id {
	display: none;
	padding: 0px;
	margin: 0px;
}

	.wps-fb-container * {
		text-shadow: none;
	}

	.wps-fb-container div:not(.wps-fb-container-custom *):not(.wps-fb-twitter-image-link):not(.wps-fb-twitter-feed) {
		display: table;
		vertical-align: middle;
		width: 100%;
		min-height: 30px;
	}

	.wps-fb-container-top {
		top: 0px;
	}

	.wps-fb-container-top-shadow {
		-webkit-box-shadow: 0 8px 6px -6px #aaa;  /* << set custom css box shadow */
		-moz-box-shadow: 0 8px 6px -6px #aaa;  /* << set custom css box shadow */
		box-shadow: 0 8px 6px -6px #aaa;   /* << set custom css box shadow */
	}

	.wps-fb-container-bottom {
		bottom: 0px;
	}

	.wps-fb-container-bottom-shadow {
		-webkit-box-shadow: 0 -8px 6px -6px #aaa;  /* << set custom css box shadow */
		-moz-box-shadow: 0 -8px 6px -6px #aaa;  /* << set custom css box shadow */
		box-shadow: 0 -8px 6px -6px #aaa;   /* << set custom css box shadow */
	}

	.wps-fb-container-top body {
		margin-top: 32px;
	}

	.wps-fb-container-bottom body {
		margin-bottom: 32px;
	}

/*
 * Stub CSS
 */

.wps-fb-stub {
	z-index: 999999;
	text-align: center;
}

	.wps-fb-stub-right {
		right: 1px;
	}

	.wps-fb-stub-left {
		left: 1px;
	}

	.wps-fb-stub-top {
		top: 0;
	}

	.wps-fb-stub-bottom {
		bottom: 0;
	}

/*
 * Show Icon CSS
 */

.wps-fb-show {
	padding: 8px;
	/* top: 10px; */
	font-size: 25px !important;
	color: #fff;
	text-decoration: none;
	cursor:pointer;
	text-align: center;
}

.wps-fb-show-top-right-square,
.wps-fb-show-bottom-right-square,
.wps-fb-show-top-left-square,
.wps-fb-show-bottom-left-square {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	margin: 0 10px;
}

	.wps-fb-show-top-right-square,
	.wps-fb-show-top-left-square {
		border-top: 0 !important;
		margin-top: -1px;
	}

	.wps-fb-show-bottom-right-square,
	.wps-fb-show-bottom-left-square {
		border-bottom: 0 !important;
		margin-bottom: -1px;
	}

.wps-fb-show-top-right-rounded-square,
.wps-fb-show-bottom-right-rounded-square,
.wps-fb-show-top-left-rounded-square,
.wps-fb-show-bottom-left-rounded-square {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: 0 10px;
}

	.wps-fb-show-top-right-rounded-square,
	.wps-fb-show-top-left-rounded-square {
		-webkit-border-top-left-radius: 0;
		-webkit-border-top-right-radius: 0;
		-webkit-border-bottom-right-radius: 5px;
		-webkit-border-bottom-left-radius: 5px;

		-moz-border-radius-topleft: 0;
		-moz-border-radius-topright: 0;
		-moz-border-radius-bottomright: 5px;
		-moz-border-radius-bottomleft: 5px;

		border-top-left-radius:0;
		border-top-right-radius:0;
		border-bottom-right-radius:5px;
		border-bottom-left-radius:5px;

		border-top: 0 !important;
		margin-top: -1px;
	}

	.wps-fb-show-bottom-right-rounded-square,
	.wps-fb-show-bottom-left-rounded-square {
		-webkit-border-top-left-radius: 5px;
		-webkit-border-top-right-radius: 5px;
		-webkit-border-bottom-right-radius: 0;
		-webkit-border-bottom-left-radius: 0;

		-moz-border-radius-topleft: 5px;
		-moz-border-radius-topright: 5px;
		-moz-border-radius-bottomright: 0;
		-moz-border-radius-bottomleft: 0;

		border-top-left-radius:5px;
		border-top-right-radius:5px;
		border-bottom-right-radius:0;
		border-bottom-left-radius:0;

		border-bottom: 0 !important;
		margin-bottom: -1px;
	}



.wps-fb-show-top-right-circle,
.wps-fb-show-bottom-right-circle,
.wps-fb-show-top-left-circle,
.wps-fb-show-bottom-left-circle {
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	margin: 5px;
}

.wps-fb-show-top-right-drop {
	-webkit-border-radius: 30px 0px 30px 30px;
	-moz-border-radius: 30px 0px 30px 30px;
	border-radius: 30px 0px 30px 30px;
}

.wps-fb-show-bottom-right-drop {
	-webkit-border-radius: 30px 30px 0px 30px;
	-moz-border-radius: 30px 0px 30px 30px;
	border-radius: 30px 30px 0px 30px;
}

.wps-fb-show-top-left-drop {
	-webkit-border-radius: 0px 30px 30px 30px;
	-moz-border-radius: 0px 30px 30px 30px;
	border-radius: 0px 30px 30px 30px;
}

.wps-fb-show-bottom-left-drop {
	-webkit-border-radius: 30px 30px 30px 0px;
	-moz-border-radius: 30px 30px 30px 0px;
	border-radius: 30px 30px 30px 0px;
}

.wps-fb-show img {
	position: relative;
}

/*
 * Close Icon CSS
 */

.wps-fb-close {
	display: table-cell !important;
	text-align: center !important;
	vertical-align: middle !important;
	text-decoration: none;
	cursor: pointer;
	padding-right: 10px;
	font-size: 25px !important;
	width: 40px;
}

.wps-fb-close-right {
	padding-right: 10px;
}

.wps-fb-close-left {
	padding-left: 10px;
}

.wps-fb-close img {
	vertical-align: middle;
}

/*
 * Text
 */

.wps-fb-text {
	white-space: normal;
	text-align: center;
	margin: 0;
	margin-right: 10px;
	display: table-cell;
	vertical-align: middle;
}

/*
 * Twitter Feed / Recent Posts CSS
 */

.wps-fb-scroller {
	max-height: 38px !important;
	min-height: 30px !important;
	margin: 0px;
	height: 26px;
}

.wps-fb-scroller li {
	min-height: 15px !important;
	max-height: 40px !important;
	margin-bottom: 0px !important;
	height: 26px;
	vertical-align: middle;
	display: table;
	width: 100%;
}

.wps-fb-twitter-feed,
.wps-fb-recent-post {
	display: table-cell;
	vertical-align: middle;
}

/*
 * Media Queries for Responsiveness
 */

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

	.wps-fb-form > .wps-fb-text {
		display: block !important;
	}
}

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

	/* 	Form */

	.wps-fb-form input {
		display: block;
		margin: 0 auto;
		width: 90%;
		margin-top: 2px;
	}

	.wps-fb-form input[type='email'],
	.wps-fb-form input[type='text'] {
		max-width: 90% !important;
	}

	/* 	Custom */

	.wps-fb-container-custom *:not(.wps-fb-close) {
		overflow: hidden;
		height: auto;
		max-height: 80px;
	}

	.wps-fb-custom *:not(script):not(.wps-fb-close) {
		display: inline;
	}
}

@media screen and (max-height: 350px) and (orientation: landscape) {

	.wps-fb-container {
		max-height: 50px;
	}

	.wps-fb-form {
		overflow: hidden;
	}

}