/*
    Copyright (C) 2015 WildFireWeb, Inc

    This program 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 3 of the License, or
    (at your option) any later version.

	Please note that this license contains additional terms according to 
	section 7 of GPL Version 3. Before making any modifications or redistributing 
	this code please review the license additional terms.

    You should have received a copy of the GNU General Public License and the Additional Terms
    along with this program.  If not, see http://wildfireweb.com//tinder-gpl3-license.html

	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.

*/

.tinder-editable {
    position:relative;
	display: block!important;
	min-height: 22px;
}
.tinder-editable-buttons {
	display: block;
	position: relative;
	border: 1px dashed #666;
	width: 100%;
	min-height: 22px;
	padding-top: 4px;
}
.tinder-editable:before {
    content:'';
    position:absolute;
	display:block;
    opacity:1;
	border: 1px dashed #666;
    width:1px; height:1px;
    bottom:0; right:0;
    width:100%;
	height:100%;
    top:0; 
	left:0;
	background:transparent;
	cursor: hand; cursor: pointer;
}
.tinder-editable:hover:before {
    background:rgba(0,0,0,0.2);
    opacity:1;
    width:100%; 
	height:100%;
    top:0; left:0;
}
.tinder-editable:after {
    position:absolute;
	display: block;
    opacity:0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.tinder-editable:after {
	content:  url('../images/tinder_flame_16.png');
    color:#FE622B;
	font-size: 14px;
	font-weight: bold;
    top:2px;
	left:2px;
    padding:0;
    text-align:right;
    background:transparent;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
}
.tinder-editable:hover:after {
    opacity:1;
}

.tinder_content_edit {
	display:none;
}

.tinder_message {
	display:none;
	position: absolute;
	right: 80px;
	padding: 6px;
	color: #ff0000;
	background-color: #ffbf00;
	border: 1px solid #ff7f00;
	font-size: 16px;
	font-weight: bold;
	font-family: arial, sans-serif;
	z-index: 999;
}

#EDITORSPAN {
line-height: 1.0!important;
margin: 0!important;
padding: 0!important;
}

#wp-admin-bar-tinder_admin .tinder-icon, #tinder_toggle .tinder-icon{
	display:inline-block;
	position: relative;
	margin-top: 3px;
	padding-right: 6px;
}

#wp-admin-bar-tinder_admin .tinder-name, #tinder_toggle .tinder-name{
	display:inline-block;
	position: relative;
	top: -3px;
	color: #eee;
}

#wp-admin-bar-tinder_admin .tinder-name:hover {
	color: #00b9e9!important;
}

#wp-admin-bar-tinder_admin .tinder-icon:before, #tinder_toggle .tinder-icon:before{
	content: url('../images/tinder_flame_16.png');
}

#tinder_toggle a {
display:block;
width: 100px;
height: 30px;
color: #fff!important;
padding: 4px;
background-color: red!important;
border: none!important;
}

#tinder_toggle {
position: fixed;
top: 0px;
color: #fff!important;
background-color: red!important;
border: 1px solid #ccc!important;
z-index: 999;
}

#tinder_toggle.floating {
position: fixed;
top: 0px;
}

.mce-i-cancel:before{
content:"\e00f";
color: red;
}
.mce-i-save:before{
color: green;
}
.mce-i-none {
display: inline-block;
width: 50px!important;
height: 20px!important;
}
/* force tinder row toolbar to always be visible */
.tinder-row {
display:block!important;
}


@media screen and ( max-width: 782px ) {
	#wp-toolbar > ul > li#wp-admin-bar-tinder_admin {
		display: inline-block!important;
	}
	#wp-admin-bar-tinder_admin .tinder-icon{
		display:inline-block;
		position: relative;
		padding-top: 8px;
		padding-left: 14px;
	}
	#wp-admin-bar-tinder_admin .tinder-icon:before{
		display:inline-block;
		content: url('../images/tinder_flame_24.png');
	}
	#wp-admin-bar-tinder_admin .tinder-name{
		display:none;
	}

}