@import url("loader.css"); /* import css-loader */

/* support-chat element */
#weebot {
	position:fixed;
	bottom:0;
	right:40px;
	z-index:9999;
	width:300px;
}
@media(min-width:500px) {
	#weebot  {
		width:380px;
	}
}

#weebot *,
.weebotScreenshotElement {
	-webkit-transition: all 0.2s, margin-top 0.5s;
	-moz-transition: all 0.2s, margin-top 0.5s;
	transition: all 0.2s, margin-top 0.5s;
}

#weebotBackground.visible {
	position:fixed;
	z-index:9998;
	background:rgba(0,0,0,0.7);
	top:0;
	bottom:0;
	left:0;
	right:0;
}

/* support-chat text input */
#weebot textarea {
	resize:none;
	padding:17px 110px 17px 20px;
	box-sizing:border-box;
	position:absolute;
	bottom:-64px;
	border:2px solid #333;
	border-radius:0;
	width: 98%;
	display:none;
	border-radius:4px;
    margin:0 1%;
	overflow:hidden;
    font-size: 15px;
    line-height: 1.33;
    white-space: pre-wrap;
    word-wrap: break-word;
}
#weebot.visible textarea {
	margin-bottom:0;
	display:block;
}
#weebot textarea:hover,
#weebot textarea:focus {
	border-color:#4286f4;
}
#weebot textarea[disabled="disabled"] {
	opacity:0.7;
}
#weebot textarea[disabled="disabled"]:hover,
#weebot textarea[disabled="disabled"]:focus {
	border-color:#333;
}

#weebot .buttons {
    position: absolute;
    bottom: -54px;
    right: 20px;
}
#weebot .buttons.hide {
	opacity:0;
}
/* support-chat send button */
#weebot .button {
	display:inline-block;
	width:25px;
	height:25px;
	background-size:98% 98% !important;
	font-size:10px;
	opacity:0.65;
	cursor:pointer;
	margin-left:5px;
	overflow:hidden;
}
#weebot .button:hover {
	opacity:1;
}
#weebot .button.send {
	width:0;
	background:url("../img/chat.icon.send.png") center center no-repeat;
}
#weebot.text-focused .button {
	width:0;
}
#weebot.text-focused .button.send {
	width:25px;
}
#weebot .buttons form {
	display:none;
}
@media(max-width:500px) {
	#weebot .button.send {
		width:25px;
	}
	#weebot .button.screenshot {
		display:none
	}
}

/* supporter list */
#weebot .supporter {
	margin-top:10px;
}
#weebot .supporter .support-user {
	position:relative;
	padding:5px 0 0 60px;
	margin-top:10px;
}
#weebot .supporter .support-user img {
	left:0;
	width:50px;
}
#weebot .supporter .support-user .time.online {
	line-height:15px;
	padding-left:20px;
	position:relative;
}
#weebot .supporter .support-user .time.online:before {
	content:"";
	background:green;
	width:15px;
	height:15px;
	position:absolute;
	top:0;
	left:0;
	border-radius:100%;
	display:inline-block;
}

/* error message */
#weebot .chat .error {
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	z-index:99;
	background:#C00;
	color:#FFF;
	padding:10px;
	opacity:0.7;
}
#weebot input.error {
	border:1px solid #C00;
}

/* support-chat */
#weebot.visible {
	height:60%;
}
#weebot .chat {
	height:100%;
	width:300px;
	margin:0 0 10px;
	overflow:hidden;
	position:relative;
}
@media(min-width:500px) {
	#weebot .chat {
		width:380px !important;
	}
}
#weebot .chat .content {
	padding:10px;
}
/* support-chat message */
#weebot .chat .message {
	display:inline-block;
	font-size:13px;
	color:#FFF;
	background:#4286f4;
	padding:10px;
	margin-bottom:5px;
	max-width:250px;
	margin-left:55px;
	position:relative;
	border-radius:4px;
    line-height: 19px;
}
#weebot .chat .type-fallback .message {
	margin-left:0;
}
#weebot .chat .profile {
	float:left;
	margin:0 10px 5px 0;
	border-radius:100%;
	width:40px;
	position:absolute;
	left:-55px;
	top:3px;
}
#weebot .chat .time {
	opacity:0.7;
	font-size:11px;
}
#weebot .chat .message .message {
	max-width:100%;
	padding:0;
	position: static !important;
    margin-left: 0 !important;
	margin-bottom:0;
}
#weebot .chat .question,
#weebot .chat .answer {
	margin:3px 0;
}
#weebot .chat .answer .answer {
	margin:0;
}
#weebot .chat .question .message {
	text-align:right;
}
#weebot .chat .question .message a {
	color:#FFF;
}
/* support-chat message (answer) */
#weebot .chat .answer .message {
	color:#222;
	background:#F5F5F5;
}
/* support-chat message (unanswered question) */
#weebot .chat .unanswered .message {
	color:#222;
}
#weebot .chat .unanswered .callback {
	font-size:11px;
	opacity:0.7;
}
#weebot .chat .question {
	text-align:right;
	padding-top:7px;
	border-top:1px solid #F5F5F5;
}
#weebot .chat .question:first-child {
	border-top-width:0;
}
#weebot .chat .question.answer {
	text-align:left;
	padding-top:0;
	border-top-width:0;
	color:#222;
}
#weebot .chat .answer:last-child {
	margin-bottom:10px;
}
#weebot .chat .answer .answer:last-child {
	margin-bottom:0;
}
#weebot .answer .block {
	margin-top:5px;
	font-size:12px;
	opacity:0.8;
	display:block;
}
/* files, screenshot */
#weebot .files {
	padding:0;
	margin:0;
	list-style:none;
}
#weebot .files a, #weebot .screenshot {
	color:#FFF;
}
#weebot .screenshot.button {
	background:url("../img/chat.icon.screenshot.png") center center no-repeat;
}
#weebot .upload.button {
	background:url("../img/chat.icon.upload.png") center center no-repeat;
}
#weebot .files a:hover, #weebot .screenshot:hover {
	opacity:0.8;
}
/* support-chat minified view */
#weebot .small,
#weebot .settings .close,
#weebotScreenshotClose {
	color:#222;
	padding:10px;
	height: 75px;
    width: 75px;
    border-radius: 100%;
    margin-bottom: -100px;
	overflow:hidden;
	text-indent:-999px;
	font-size:0;
	background:#222 url("../img/chat.icon.white.png") center center no-repeat;
	background-size:50% 50%;
	position:absolute;
	top:0;
	right:0;
}
#weebot .small.visible {
	margin-top:-110px;
}
#weebot .open.small.visible {
	margin-top:-115px;
	right:-10px;
	opacity:0.8;
}
#weebot .small:hover {
	background-color:#000;
	cursor:pointer;
}
#weebot .open.small,
#weebot .settings .close,
#weebotScreenshotClose {
	height:50px;
	width:50px;
	background:url("../img/close.icon.png") center center no-repeat;
	background-size:40% 30%;
	display:block;
	transition: all 0.2s, background-color 0.1ms;
}
#weebot .open.small:hover,
#weebot .settings .close:hover {
	transform: rotate(180deg);
}

/* support-chat opened */
#weebot .extended {
	margin-bottom:-100%;
}
#weebot .extended.visible {
	display:block;
	position:relative;
	box-shadow:0 2px 3px #222;
	margin-top:-70px;
	margin-bottom:0;
	background:#FFF;
	border-radius:4px;
	position:absolute;
	height:100%;
	top:0;
}

/* support-chat hidden elements */
#weebot .hidden {
	display:none;
	height:0;
}

/* support-chat settings */
#weebot .settings {
	position:absolute;
	top:0;
	left:0;
	right:0;
	padding:20px;
	color:#FFF;
	bottom:0;
	background:rgba(0,0,0,0.9);
}
#weebot .settings input {
	margin-top:7px;
	height:35px;
	border-radius:3px;
	width:100%;
	padding:4px 8px;
}
#weebot .settings .close {
	overflow:hidden;
	text-indent:-999px;
	font-size:0;
	background-color:#000;
	cursor:pointer;
	top:10px;
	right:10px;
	height:30px;
	width:30px;
}

/* support-chat buttons */
#weebot .email,
#weebot .save,
#weebot .search {
	display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 26px;
    height: 28px;
    margin: 5px 0 0 0;
    padding: 0 10px 1px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	color: #555;
    border-color: #ccc;
    background: #f7f7f7;
    -webkit-box-shadow: 0 1px 0 #ccc;
    box-shadow: 0 1px 0 #ccc;
    vertical-align: top;
}
#weebot .email {
	margin-bottom:7px;
}
#weebot .type-fallback .email {
	margin-bottom:3px;
}
#weebot .email:hover,
#weebot .save:hover,
#weebot .search:hover {
	color: #444;
    border-color: #c0c0c0;
    background: #f5f5f5;
}
#weebot .email:focus,
#weebot .save:focus,
#weebot .search:focus,
#weebot .email:active,
#weebot .save:active,
#weebot .search:active {
    -webkit-box-shadow: inset 0 1px 0 #aaa;
    box-shadow: inset 0 1px 0 #aaa;
}
#weebot .save {
	margin-top:10px;
}

/* additional admin view for logged in backend-users, which arent supporters */
#weebotChat {
	left:10px !important;
	right:auto !important;
}
#wp-admin-bar-weebot .ab-icon:before {
    content: "\f125";
    top: 3px;
}

/* scrollbar color */
.nano > .nano-pane {
	background:transparent;
}
.nano > .nano-pane > .nano-slider {
	background:rgba(0,0,0,.4);
}
.nano > .nano-pane > .nano-slider:hover {
	background:#4286f4;
}

/* screenshot */

.screenshot-active #weebot,
.screenshot-active #weebotBackground {
	display:none;
}
.weebotScreenshotElement {
	z-index:999999;
}
#weebotScreenshotArea {
	cursor:crosshair;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
}
#weebotScreenshot {
	top:-2px;
	left:-2px;
	border:1px solid rgba(0,0,0,.2);
	position:absolute;
	background:rgba(255,255,255,.4);
	-webkit-transition: all 0.1s;
	-moz-transition: all 0.1s;
	transition: all 0.1s;
}
#weebotScreenshotHowTo {
	position:fixed;
	top:0;
	left:0;
	bottom:0;
	right:0;
	line-height:100%;
	display:table-row;
	text-align:center;
	font-size:18px;
	background:rgba(255,255,255,.4);
}
#weebotScreenshotHowTo span {
	position:absolute;
	top:48%;
	width:100%;
	left:0;
	font-weight:bold;
	color:#000;
}
#weebotScreenshotSave {
	font-weight:bold;
	cursor:pointer;
	position:fixed;
	border-radius:5px;
	bottom:-70px;
	right:70px;
	display:inline-block;
	padding:20px 40px;
	font-size:18px;
	background:#0bba2e;
	color:#FFF;
	box-shadow:0 2px 15px #AAA;
}
#weebotScreenshotSave.visible:hover {
	bottom:75px;
}
#weebotScreenshotSave.visible {
	bottom:70px;
}
#weebotScreenshotClose {
	position:fixed;
	top:70px;
	right:70px;
	background-color: #000;
    width: 70px;
    height: 70px;
	cursor:pointer;
}