/*
 * WYMeditor : what you see is What You Mean web-based editor
 * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
 * Dual licensed under the MIT (MIT-license.txt)
 * and GPL (GPL-license.txt) licenses.
 *
 * For further information visit:
 *        http://www.wymeditor.org/
 *
 * File Name:
 *        wymeditor.css
 *        Main editor css file.
 *        See the documentation for more info.
 *
 * File Authors:
 *        Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg)
 *        Daniel Reszka (d.reszka a-t wymeditor dotorg)
*/

/* Sally Mixin Library */
@import 'mixins.less';

/* VISUAL FEEDBACK */

/* basic */
body  {
	background: #CCC9C9;
	padding: 0;
	margin: 0;
}

/* make HTML blocs visible */
p, h1, h2, h3, h4, h5, h6, ul, ol, li, table, blockquote, pre {
	background: #FFFFFF no-repeat 2px 2px;
	padding: 8px 5px 5px;
	margin: 10px;
	font-size: 14px;
	font-family: Calibri,Verdana,Arial,sans-serif;

	background-color: white;
	.border-radius(3px);
}

td { background: #F0F4F8; }
th { background: #ffffcc; }

ul, ol {
	padding: 0 0 0 20px;
	background: transparent;

	ul, ol {
		margin: 0;

		li {
			margin: 0;
			padding-top: 2px;
			padding-bottom: 0;
		}
	}
}

a, a:visited, a:hover {
	color: #1f9eb5;
	text-decoration: none;
}

a:focus, a:active {
	text-decoration: underline;
}

caption {
	background: #E4E4B0;
	padding: 5px;
	font-weight: bold;
}

table {
	font-size: 12px;
	width: 500px;
}

td {
	width: 25%;
}

blockquote {
	margin-left: 30px;
}

/* Gecko min height fix */
td {
	height: 1.6em;
}

/* labels */
p          { background-image: url(lbl-p.png);          }
h1         { background-image: url(lbl-h1.png); font-size: 20px; font-weight: bold;   }
h2         { background-image: url(lbl-h2.png); font-size: 18px; font-weight: bold;   }
h3         { background-image: url(lbl-h3.png); font-size: 16px; font-weight: bold;   }
h4         { background-image: url(lbl-h4.png); font-size: 16px; font-weight: normal; }
h5         { background-image: url(lbl-h5.png); font-size: 14px; font-weight: normal; text-decoration: underline; }
h6         { background-image: url(lbl-h6.png); font-size: 14px; font-weight: normal; font-style: italic;         }
blockquote { background-image: url(lbl-blockquote.png); }
pre        { background-image: url(lbl-pre.png);        }

/* specific HTML elements */
caption {
	text-align: left;
}

img {
	margin-right: 5px;
	border-style: solid;
	border-color: gray;
	border-width: 0;
}

a img {
	border-width: 1px;
	border-color: blue;
}

acronym, abbr {
	border: 1px solid gray;
	cursor: help;
}

span {
	background-color: #f2f2f2 ;
}

/* visual feedback for non-valid nesting of elements*/
h1, h2, h3, h4, h5, h6, h1 p, pre, address {
	h1, h2, h3, h4, h5, h6, h1 p, pre, address {
		background-color: #ff9999 !important;
		border: 1px solid red !important;
		font-size: 12px !important;
		font-weight: normal;
	}
}

/* Spacer BRs shouldn't add much whitespace */
br {
	height: 5px;
	line-height: 5px;
}
