@import url("loader.css"); /* import css-loader */

/* support-chat element */
#weebot {
	position:fixed;
	bottom:0;
	right:40px;
	z-index:9999;
}

/* support-chat text input */
#weebot textarea {
	resize:none;
	height:auto;
	padding:5px 10px;
	border:1px solid #DDD;
	border-radius:0;
	width: 94%;
    margin: 0 3%;
	overflow:hidden;
	box-sizing:border-box;
}


#weebot .buttons {
    position: absolute;
    bottom: -55px;
    right: 20px;
}
/* support-chat send button */
#weebot .button {
	display:inline-block;
	width:25px;
	height:25px;
	background:#DDD;
	font-size:10px;
	cursor:pointer;
	overflow:hidden;
}
#weebot .button.send {
	width:0;
}
@media(max-width:500px) {
	#weebot .button.send {
		width:25px;
	}
	#weebot .button.screenshot {
		display:none
	}
}
#weebot.text-focused .button {
	width:0;
}
#weebot.text-focused .button.send {
	width:25px;
}
#weebot .buttons form {
	display:none;
}

/* 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 .chat {
	max-height:250px;
	width:300px;
	overflow:hidden;
	position:relative;
}
#weebot .chat .content {
	padding:10px;
}
/* support-chat message */
#weebot .chat .message {
	display:inline-block;
	background:#275196;
	padding:5px;
	font-size:13px;
	max-width:70%;
	border-radius:4px;
}
#weebot .chat .message .message {
	max-width:100%;
	padding:0;
}
#weebot .chat .question,
#weebot .chat .answer {
	margin:3px 0;
}
#weebot .chat .answer .answer {
	margin:0;
}
#weebot .chat .question .message {
	text-align:left;
	color:#FFF;
}
#weebot .chat .question a {
	color:#FFF;
}
/* support-chat message (answer) */
#weebot .chat .answer .message {
	background:#F5F5F5;
	color:#222;
	border-radius:4px;
}
/* support-chat message (unanswered question) */
#weebot .chat .unanswered .message {
	background:#c6e7ff;
	color:#222;
}
#weebot .chat .unanswered .callback {
	font-size:11px;
	opacity:0.7;
}
#weebot .chat .question {
	text-align:right;
}
#weebot .chat .question.answer {
	text-align:left;
	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;
}

/* support-chat minified view */
#weebot .small {
	background:#f5f5f5;
	border-radius:5px 5px 0 0;
	color:#222;
	padding:10px;
	text-align:center;
	font-size:13px;
}
#weebot .small:hover {
	background:#F0F0F0;
	color:#000;
	cursor:pointer;
}

/* support-chat opened */
#weebot .extended {
	display:none;
	position:relative;
	border-left:1px solid #DDD;
	border-right:1px solid #DDD;
}
#weebot .extended.visible {
	display:block;
	background:#FFF;
}

/* 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.7);
}
#weebot .settings input {
	margin-top:7px;
	height:35px;
	border-radius:3px;
	width:100%;
	padding:4px 8px;
}
#weebot .close {
	font-size:15px;
	cursor:pointer;
	position:absolute;
	top:10px;
	right:10px;
	height:20px;
	text-align:center;
	line-height:20px;
	width:20px;
}

/* 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: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;
}

/* screenshots */
.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 {
	position:absolute;
	background:rgba(255,255,255,.2);
}

/* scrollbar color */
.nano > .nano-pane {
	background:transparent;
}

#weebot .buttons {
    position: absolute;
    bottom: 5px;
    right: 20px;
}
#weebot .buttons.hide {
	opacity:0;
}
/* support-chat send button */
#weebot .button {
	display:inline-block;
	width:22px;
	height:22px;
	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:22px;
}
#weebot .buttons form {
	display:none;
}

#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;
}


/* 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;
	cursor:pointer;
	padding:10px;
	height: 75px;
    width: 75px;
    border-radius: 100%;
    margin-bottom: -100px;
	overflow:hidden;
	text-indent:-999px;
	font-size:0;
	height:50px;
	width:50px;
	background:#000 url("../img/close.icon.png") center center no-repeat;
	background-size:40% 30%;
	display:block;
}