/**
 * LibreOffice theme
 * initially based on SilverStripe Black Candy Theme
 *
 * This typography file is included in the WYSIWYG editor and the front end. It provides
 * a place to add link styles and font styles you would like in the CMS and the Front End.
 */

/* PARAGRAPHS & BLOCKQUOTES
-------------------------------------------- */
p, blockquote, .HalfBlockLeft, .HalfBlockRight {
	margin-bottom: 1.2em;
}

.typography ul {
	margin-bottom: 1.5em;
}

.typography ol {
	margin-left: 3em;
	line-height: 170%;
}

.typography p, .typography blockquote {
	text-align: justify;
	line-height: 175%;
	color: #333;
}

.typography blockquote {
	border-left: 10px solid #92E285;
	margin: 0 0 1.5em 25px;
	padding: 0 0 0 18px;
	color: #333;
}

.typography blockquote p {
	margin: 0;
	padding: 5px 0;
	color: #333;
}

/* LINKS
-------------------------------------------- */
a, .typography a {
	color: #18A303;
	text-decoration: none;
}

a:hover, .typography a:hover {
	color: #106802;
	text-decoration: underline;
} 
a:visited, .typography a:visited  {
	color: #106802;
}
/* LINK ICONS - shows type of file
------------------------------------ */
.typography a[href$=".pdf"],
.typography a[href$=".PDF"],
.typography a.pdf {
	padding: 2px;
	padding-left: 20px;
	background: url(../images/icons/page_white_acrobat.png) no-repeat left center;
}
.typography a[href$=".doc"],
.typography a[href$=".DOC"],
.typography a.doc {
	padding: 2px;
	padding-left: 20px;
	background: url(../images/icons/page_word.png) no-repeat left center;
}
.typography a[href$=".xls"],
.typography a[href$=".XLS"],
.typography a.xls {
	padding: 2px;
	padding-left: 20px;
	background: url(../images/icons/page_excel.png) no-repeat left center;
}
.typography a[href$=".gz"],
.typography a[href$=".GZ"],
.typography a[href$=".gzip"],
.typography a[href$=".GZIP"],
.typography a[href$=".zip"],
.typography a[href$=".ZIP"],
.typography a.archive {
	padding: 2px;
	padding-left: 20px;
	background: url(../images/icons/page_white_zip.png) no-repeat left center;
}
.typography a[href$=".exe"],
.typography a[href$=".EXE"],
.typography a.application {
	padding: 2px;
	padding-left: 20px;
	background: url(../images/icons/application.png) no-repeat left center;
}

/* LIST STYLES
-------------------------------------------- */
ul, .typography ul {
	list-style: none;
}

.typography ul li {
	background: url(../images/bullet-green.png) no-repeat 0 6px;
	color: #333;
	line-height: 170%;
	padding: 0 0 8px 18px;
}
.typography form ul li {
	background: none !important;
	float: none !important;
	line-height: normal !important;
	padding-left: 0;
}

#Layout[dir="rtl"] ul li input[type="radio"] {
	float: right;
}
.typography form ul li input[type="radio"] + label {
	padding-left: 2em;
}
#Layout[dir="rtl"] form ul li input[type="radio"] + label {
	padding-right: 2em;
}

.typography form label {
	margin: 0;
}

#Form_DonationProceed {
	width: 330px;
}
#Form_DonationProceed .middleColumn,#Form_DonationProceed input.text {
	width: auto;
}
#Layout[dir="rtl"] ul li {
	padding-left: 0;
	padding-right: 18px;
	background-position: right 6px;
}
#Layout[dir="rtl"] div.Downloads ul li {
	background-position: 0px -10px;
}

.typography ul ul {
	margin-top: 10px;
	margin-bottom: 10px;
}
ul.optionset {
	margin: 0 !important;
}
.typography ul ul li {
	background: url(../images/bullet-blue.png) no-repeat 0 6px;
}

.typography .Widget a {
	color: #106802;
}

.typography #Blog li h2 a, .typography .Widget a.TweetAuthor, .typography .Widget small a {
	color: #1C99E0;
}

.typography #Twitter li {
	background: url(../images/tweet.png) no-repeat 0 12px !important;
	padding: 6px 0 6px 40px !important;
	direction: ltr;
	font-size: .9em;
	border-bottom: 1px solid #CCF4C6;
}

.typography #Blog li {
	display: block;
	background: url(../images/bullet-large-blue.png) no-repeat 0 10px !important;
	padding: 6px 0 6px 30px !important;
	direction: ltr;
	border-bottom: 1px solid #CCF4C6;
}

.typography #Blog li h2 {
	background: none;
	border: none;
	font-size: 1.1em;
	margin: 0;
	padding: 0;
}

.typography #Blog li p {
	line-height: 150%;
	font-size: .9em;
	text-align: left;
	padding: 0;
	margin: 0;
}

.typography .Widget li small {
	display: block;
	font-size: .85em;
}

/* used by FolderPage */
.typography li.folder {
	background: url(../images/icons/folder_open.png) no-repeat left top;
	margin-left: -12px;
	padding-left: 22px;
	list-style-type: none;
}

.typography .ButtonBar {
	clear: both;
	display: block;
	width: 100%;
}

.typography .ButtonBar li {
	display: block;
	float: left;
	width: 17%;
	height: 50px;
	margin: 0 2.5% 1.25em 0;
	padding: 0 !important; /* important because of rtl rules */
	background-image: none;
}

.typography a.irc, a.facebook, a.gplus, a.gplusg, a.twitter, a.identica, a.template, a.extension { 
	background-repeat: no-repeat;
	padding-left: 20px; /* assuming 16x16px icon */
}
.typography .ButtonBar li a {
	padding: 0 0 0 24px;
	display: block;
	font-size: .95em;
}
.typography a.irc {
	background-image: url(../images/chat.png);
}
.typography a.facebook {
	background-image: url(../images/facebook.png);
}
.typography a.twitter {
	background-image: url(../images/icons/twitter16.png);
}
.typography a.identica {
	background-image: url(../images/icons/identica16.png);
}
.typography a.gplus {
	background-image: url(../images/icons/gplus/plus/16.png);
}
.typography a.gplusg {
	background-image: url(../images/icons/gplus/g/16.png);
}
.typography a.template {
	background-image: url(../images/template.png);
}
.typography a.extension {
	background-image: url(../images/extension.png);
}


/* HEADER STYLES
-------------------------------------------- */
.typography h1, .typography h2, .typography h3, .typography h4, .typography h5, .typography h6 {
	margin-bottom: .5em;
	font-weight: normal;
}

.typography h1 {
	background: url(../images/heading-green.png) 0 bottom repeat-x;
	border-bottom: 1px solid #92E285;
	padding: .2em 0 .1em 2px;
	color: #18A303;
	font-weight: bold;
	font-size: 1.4em;
	text-shadow: #FFF 0px 1px 1px;
}

.typography h2 {
	border-bottom: 1px solid #CCF4C6;
	color: #18A303;
	font-size: 1.3em;
}

.typography h3 {
	color: #18A303;
	font-size: 1.2em;
}

.typography h4 {
	color: #18A303;
	font-size: 1.15em;
}

.typography h5 {
	color: #18A303;
	font-size: 1.1em;
}

.typography h6 {
	color: #18A303;
	font-size: 1.05em;
}

/* PRE STYLES
-------------------------------------------- */
.typography pre {
	font-family:"Courier New",Courier;
	display:block;
	font-size:1.2em;
	margin:2em 5em;
	padding:0.5em;
	border:1px #ccc solid;
	background:#eee;;
}

/* TABLE STYLING
-------------------------------------------- */
.typography table {
	margin: 0 0 18px 0;
	border-collapse:collapse;
}
	.typography tr {}
		.typography td {
			padding:5px;
		}

/* WYSIWYG EDITOR ALIGNMENT CLASSES
-------------------------------------------- */
.typography .left {
	text-align: left;
}
.typography .center {
	text-align: center;
}
.typography .right {
	text-align: right;
}

/* IMAGES
-------------------------------------------- */
.typography img {
	border: none;
}
	.typography img.right {
		float: right;
		margin-left: 20px;
	}
	.typography img.left {
		float: left;
		margin-right: 20px;
	}
	.typography img.leftAlone {
		float: left;
		margin-right: 100%;
	}
	.typography img.center {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

ul.ul-libreoffice li {
	position: relative;
	list-style: none;
	margin-left: 0px;
	background: url(../images/li-bullet-single-dark.png) no-repeat;
	background-position: 4px 3px;
	padding-left: 30px;
	display: block;
	color: #000;
	margin-bottom: 20px;
	margin-top: 10px;
}
.typography kbd {
	color: #000;
	font-family: monospace;
	background: #ddd;
}
#supporters td {
	border-width: 0px;
	vertical-align:top;
	padding-bottom: 50px;
}
.foundationtable th {
	font-size: 140%;
	padding: 6px;
	vertical-align: middle;
	background: #eee;
}
.foundationtable tbody tr:first-child td  {
	padding-top: 20px;
}
.foundationtable tbody tr td:first-child  {
	padding-left: 0px;
	padding-right: 15px;
}
p.roles {
	font-variant: small-caps;
}

/* STRONG
-------------------------------------------- 
.typography strong {
	color: #18A303;
}*/
.highlight {
	background: yellow;
}

/* for translation status sitemap */
div.missing {
	background-color: red;
}
div.live {
	background-color: green;
}
div.unpublished {
	background-color: orange;
}
div.changed {
	background-color: yellow;
}

/* for horizontally aligned li-children */
ul.table {
	display: table;
}
ul.table > li {
	display: table-row;
	background: none;
}
ul.table > li > * {
	display: table-cell;
	padding-right: 1em;
}
.clear{
	clear:both;
}

hr {
	display: block;
	clear: both;
	height: .1em;
	border: none;
	width: 100%;
}

.FloatLeft {
	float: left;
}

.FloatRight {
	float: right;
}

.RightMargin {
	margin-right: 10px;
}

.captionImage.FloatRight {
	margin-left: 1em;
}

.captionImage.FloatLeft {
	margin-right: 1em;
}
/* pending - not final */
.typography p.greenbox {
	border: 1px solid #43C330;
	background-color: #CCF4C6;
	padding: 10px;
	margin: 10px 0;
}

.typography p.bluebox {
	border: 1px solid #1C99E0;
	background-color: #AADCF7;
	padding: 10px;
	margin: 10px 0;
}

.typography p.orangebox {
	border: 1px solid #D36118;
	background-color: #F9CFB5;
	padding: 10px;
	margin: 10px 0;
}

.typography p.purplebox {
	border: 1px solid #C254D2;
	background-color: #F2CBF8;
	padding: 10px;
	margin: 10px 0;
}

.typography p.yellowbox {
	border: 1px solid #E9B913;
	background-color: #FDE9A9;
	padding: 10px;
	margin: 10px 0;
}

.typography p.intro {
	font-size: 1.1em;
	border-bottom: 1px solid #CCC;
	padding-bottom: .75em;
}

.typography p.excerpt {
	width: 200px;
	margin-bottom: 0;
	padding: 0 0 0 40px;
	display: block;
	float: right;
	color: #777;
	font-style: italic;
	text-align: left;
}

.typography p.tick {
	padding-left: 50px;
	background-image: url(../images/tick.png);
	background-position: 10px 5px;
	background-repeat: no-repeat;
}
.typography ul.tick {
	background: url(../images/tick.png) no-repeat;
	padding-left: 40px;
}

.typography h1.information {
	padding-left: 50px;
	background-image: url(../images/information.png);
	background-position: 10px 5px;
	background-repeat: no-repeat;
}
.typography p.information {
	padding-left: 50px;
	background-image: url(../images/information.png);
	background-position: 10px 5px;
	background-repeat: no-repeat;
}
.typography ul.information {
	background: url(../images/information.png) no-repeat;
	padding-left: 40px;
}

.typography p.warning {
	padding-left: 50px;
	background-image: url(../images/warning.png);
	background-position: 10px 5px;
	background-repeat: no-repeat;
}
.typography ul.warning {
	background: url(../images/warning.png) no-repeat;
	padding-left: 40px;
}

.typography p.error {
	padding-left: 50px;
	background-image: url(../images/error.png);
	background-position: 10px 5px;
	background-repeat: no-repeat;
}
.typography ul.error {
	background: url(../images/error.png) no-repeat;
	padding-left: 40px;
}

.typography p.excerpt:before {
	content: '\201C';
	color: #18A303;
	font-size: 4em;
	line-height: 0.1em;
	margin-left: -25px;
	margin-right: 8px;
	position: relative;
	top: .5em;
	font-style: normal;
}
.typography p.excerpt:after {
	content: '\201D ';
	color: #18A303;
	font-size: 4em;
	line-height: 1px;
	margin-left: 8px;
	margin-bottom: 0;
	position: relative;
	top: .45em;
	font-style: normal;
}

.typography div.box {
	width: 150px;
	margin: 10px;
	display: block;
	float: left;
	box-shadow: 0 1px 2px #777;
	-webkit-box-shadow: 0 1px 2px #777;
	-moz-box-shadow: 0 1px 2px #777;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	text-align: center;
}

.typography div.box img {
	height: 80px;
	padding: 10px 10px 10px 10px;
}

.typography div.box p {
	margin: 0;
	padding: 10px;
	background: #EEE;
	text-align: left;
}
table.features { border: 1px solid #dddddd; border-collapse:collapse; }
th.features { border: 1px solid #dddddd; }
td.features { border: 1px solid #dddddd; }

/* qa feedback page */
.button {
  display: block;
  width: 385px;
  height: 50px;
  color: #FFF;
  line-height: 50px;
  padding: 0 5px 0 55px;
  text-align: left;
  font-size: 1.4em;
  background-image: url(../images/qa-feedback.svg);
  background-repeat: no-repeat;
  margin: 0 0 5px;
  float: left;
  text-decoration: none;
  border-radius: 3px;
  background-color: #999;
  border: 1px solid #777;
}

.happy.initial {
  background-color: #76AA6E;
}

.sad.initial {
  background-color: #BA6262;
}
.happy:hover, .happy.active {
  background-color: #43C330;
  border: 1px solid #106802;
}

.tweet {
  width: 195px;
}

.ask:hover, .bug:hover, .enhancement:hover {
  background-color: #666;
  border: 1px solid #444;
}

/* These three buttons need to have smaller width -- auto-formatting doesn't work? */
.ask, .bug, .enhancement {
  width: 226px;
}

.ask {
  background-position: 0 -150px;

}

.bug {
  background-position: 0 -200px;
}

.enhancement {
  background-position: 0 -100px;
  font-size: 1.0em;
}
.sad:hover, .sad.active {
  background-color: #E91313;
  border: 1px solid #870000;
}

.sad {
  float: right;
  background-position: 0 -50px;
}

.tweet {
  float: right;
  /*background-position: 0 -100px;  Don't show the Twitter icon anymore*/
  display: none;
}

.tweet:hover {
  background-color: #1C99E0;
  border: 1px solid #023F62;
}
/*
textarea {
  max-width: 888px;
  min-width: 888px;
  width: 888px;
  min-height: 1.3em;
  height: 8.9em;
  margin: 5px 0;
  font-size: 1.4em;
  font-family: sans-serif;
  padding: 5px;
  display: none;
  clear: both;
  border-radius: 3px;
  background-color: #F8F8F8;
}
*/
.feedback .happy-area {
  border: 1px solid #106802;
  color: #106802;
  maxlength: 140;
}

.feedback .sad-area {
  border: 1px solid #870000;
  color: #870000;
  maxlength: 140;
}

.feedback .sad-area:focus, .feedback .happy-area:focus {
  background-color: #FFF;
}
.feedback a.button {
    color: #FFF; /* White text colour */
    text-decoration: none; /* Suppresses ugly underlines within the boxes */
}
.active {
  display: block !important;
}

.more {
  margin: 0 auto 2em;
  display: table;
  table-layout: fixed;

  width:890px;
  height:100px;
/*  background-color:Gray; */
}

.more div {
  display: table-cell;
  height:100px;
  background-color: #FFF;
  border-radius: 3px;
  border: 1px solid #CCC;
  box-sizing: border-box;
  padding: 5px;
}

.small-caps {
  font-variant: small-caps;
}

.community img {
  width:370px;
  height: auto;
  float: right;
}

