#temp-rp {
    position: fixed;
    left: 0;
    bottom: 1em;
    color: #fff;
    background: #23282d;
    padding: 1em;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
    border: 1px solid #fff;
    border-left: none;
	z-index: 99999;
    transition: background .2s linear;
}
#temp-rp.active {
    background: red;
}
.rp-capture,
.rp-capture * {
	cursor: none !important;
}
#rpSenderBox .capture img {
    max-width: 90%;
}
body:not(.rp-capture) .rp-capture-icon {
	display: none;
}
.rp-capture-icon {
    position: fixed;
    color: #ff0004;
	pointer-events: none;
}
.rp-capture *:hover {
    border: 2px solid #ff0004;
}
#rpSenderBox .capture-element {
    float: right;
    font-size: 2em;
    cursor: pointer;
}
#wp-admin-bar-rp-sender a:before {
	content: '\f305';
	font-family: 'Font Awesome 5 Free' !important;
	font-weight: 600 !important;
	font-size: 115% !important;
    float: none !important;
}
#wp-admin-bar-rp-sender a.active:before {
	color: red !important;
}
#rpSenderBox:not(.active),
#rpSenderBox .tab:not(.active) {
	display: none;
}
/* 
#rpSenderBox .tab {
	min-height: 320px;
	min-width: 400px;
} 
*/
#rpSenderBox {
	overflow: hidden;
    display: inline-block;
    background: #fff;
    position: fixed;
    right: 1em;
    bottom: 1em;
	height: auto;
    font-size: 13px;
	max-width: 400px;
	padding: 1em calc(1em - 10px) 0;
	cursor: grab;
	padding-left: 30px;
	padding-right: 15px;
	box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.33);
	z-index: 9999;
}
#rpSenderBox:before {
	content: '';
	width: 2px;
	height: 100%;
	background: #fb9bcc;
	left: 25px;
	top: 0;
	position: absolute;
}
#rpSenderBox[style*="top"] {
	bottom: initial;
}
#rpSenderBox input,
#rpSenderBox textarea {
	width: calc(100% - 3.5em);
	padding: .25em;
}
#rpSenderBox i:not(.fa-paper-plane) {
    font-size: 2em;
    margin-right: .5em;
	vertical-align: middle;
}
#rpSenderBox.confirming button {
	background: #85b5fd;
}
#rpSenderForm button {
	border: none;
	line-height: 1;
	background: #fb9bcc;
    padding: .33em .75em;
	transition: all .2s linear;
}
#rpSenderForm button:hover {
	background: #85b5fd;
}
#rpSenderForm button.view {
	float: right;
}
#rpSenderBox .column {
	margin-bottom: 1em;
	position: relative;
    padding-left: 10px;
	padding-bottom: 1em;
    padding-right: 10px;
	display: inline-block;
	box-sizing: border-box;
}
#rpSenderBox .width-6 {
	width: 50%;
}
#rpSenderBox .width-12 {
	display: block;
}
#rpSenderBox .column:before {
	content: '';
	height: 2px;
	background: #85b5fd;
	width: 200%;
	bottom: 0;
	position: absolute;
	left: -50%;
}
#rpSenderBox .confirmation {
    float: right;
    margin-top: 0.4em;
}
#rpSenderBox .confirmation a {
    font-weight: bold;
    color: #85b5fd;
}
#rpSenderBox .confirmation a:hover {
    opacity: .6;
}
#rpSenderBox.confirming input,
#rpSenderBox.confirming textarea,
#rpSenderBox.confirming button {
	opacity: .5;
	pointer-events: none;
}
#rpSenderBox:not(.loading) .loader {
	display: none;
}
#rpSenderBox.loading .loader:before {
	content: '';
    position: absolute;
    left: -50vw;
    top: -50vw;
    width: 200vw;
    height: 200vw;
    background: rgba(255, 255, 255, 0.48);
}
#rpSenderBox .loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;
    color: #fb9bcc;
}

body.rp-dragging > *:not(#rpSenderBox) {
	pointer-events: none;
}
#rpSenderBox.submitted {
    pointer-events: none;
}

#rpSenderBox.submitted:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.48);
}

#rpSenderBox.submitted form:before {
    content: 'Submitted!';
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 9;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 200%;
}

@media all and (max-width: 1300px) {
	#rpSenderBox {
		top: 4em;
		bottom: initial;
		padding-left: 15px;
		padding-right: 7.5px;
	}
	#rpSenderBox:before {
		left: 7.5px;
	}
	#rpSenderBox .column {
		margin-bottom: .5em;
		padding-bottom: .5em;
	}
	#rpSenderBox input[type="text"], textarea {
		font-size: 16px;
	}
}
@media all and (max-width: 1024px) and (min-width: 768px) {
	#temp-rp {
		bottom: 60vh;
	}
}
@media all and (max-width: 767px) {
	#rpSenderBox {
		max-width: 95%;
	}
	#rpSenderBox .column.width-6 {
		width: 50%; 
		display: inline-block;
	}
	#rpSenderBox i:not(.fa-paper-plane) {
		font-size: 1.25em;
		margin-right: .25em;
		vertical-align: middle;
	}
	#rpSenderBox input, #rpSenderBox textarea {
		width: calc(100% - 1.5em);
	}
	#rpSenderBox .column {
		padding-left: 2px;
		padding-right: 2px;
	}
}