/*
 * ------------------------------------------------------------------------
 * JA University Template
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - Copyrighted Commercial Software
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites:  http://www.joomlart.com -  http://www.joomlancers.com
 * This file may not be redistributed in whole or significant part.
 * ------------------------------------------------------------------------
*/


/* PREFORMATTED TEXT
-------------------------------------------------------------*/
/* Pre, Code ---*/
 @font-face {
	font-family: 'bardiya';
	src:	url('../fonts/bardiya.eot?#') format('eot'),  /* IE6–8 */
		url('../fonts/bardiya.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		url('../fonts/bardiya.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */		
}

@font-face {
	font-family: 'trafic';
	src:	url('../fonts/trafic.eot?#') format('eot'),  /* IE6–8 */
		url('../fonts/trafic.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		url('../fonts/trafic.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */		
}

@font-face {
	font-family: 'homa';
	src:	url('../fonts/homa.eot?#') format('eot'),  /* IE6–8 */
		url('../fonts/homa.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		url('../fonts/homa.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */	
}
@font-face {
	font-family: 'titr';
	src:  	url('../fonts/titr.eot#')format('eot'), 
		url('../fonts/titr.woff') format('woff'),
		url('../fonts/titr.ttf') format('truetype');		
}
@font-face {
	font-family: 'Yekan';
	src:  	url('../fonts/BYekan.eot#')format('eot'), 
		url('../fonts/BYekan.woff') format('woff'),
		url('../fonts/BYekan.ttf') format('truetype');		
}
@font-face {
	font-family: 'badr';
	src:  	url('../fonts/badr.eot#')format('eot'), 
		url('../fonts/badr.woff') format('woff'),
		url('../fonts/badr.ttf') format('truetype');		
}
pre, .code {
	background: url(../images/line-number.gif) no-repeat left top #f7f7f9;
	border: 1px solid #ddd;
	border-radius: 3px;
	font: 1em/1.5 Monaco, Consolas, "Courier News", monospace !important;
	padding: 10px 15px 10px 50px !important;
	line-height: 22px !important;
}

/* Inline Words Hilite ---*/
.highlight {
	background: #fbf2e4;
	border: 1px solid #f0cb96;
	border-radius: 3px;
	color: #333;
	display: inline-block;
	font-weight: bold;
	padding: 1px 5px;
	text-shadow: 1px 1px 0 #fff;
}

/* Dropcap ---*/
.dropcap {
  color: #be4b22;
	display: block;
	float: left;
	font-size: 2.692em;
	font-weight: bold;
	padding: 0 3px 0 0;
	line-height: 1;
}

/* Blockquote ---*/
blockquote {
  font-size: 1.231em;
}

blockquote.quote-style1 {
  border-left: 5px solid #ddd;
}

blockquote p {
  margin: 0 0 5px !important;
  padding-left: 10px !important;
  line-height: 1.4;
}

blockquote.quote-style2 {
  background: url(../images/quo-open.png) no-repeat 0px 5px;
}

blockquote.quote-style2 p {
  padding-left: 45px !important;
}

blockquote small {
  color: #999;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.800em;
  padding-left: 15px;
}

blockquote.quote-style2 small {
  padding-left: 45px;
}

blockquote small:before {
  content: "- ";
}

/* sub & sup tags ---*/ 
sub, sup { color: #CC0000; font-size: 11px; font-weight: bold; }

/* LIST STYLES
-----------------------------------------------------------------*/
/* Special list style ---*/
ul.ja-typo-list li {
	background: none;
	margin-left: 8px;
	padding: 0 0 0 25px;
	position: relative;
	overflow: hidden;
}

ul.ja-typo-list span.icon {
	background-image: url(../images/icons-sprites-silk.png);
	/*background-image: url(../../images/icons/icons-sprites-tango.png);*/
	background-repeat: no-repeat;
	width: 18px;
	height: 18px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

ul.list-arrow 	span.icon { background-position: left top; }
ul.list-star 	span.icon { background-position: left -18px; }
ul.list-check	span.icon {	background-position: left -36px; }

ul.ja-unordered-list li {
	background: url(../images/bullet.gif) no-repeat 20px 7px;
	line-height: 160%;
	margin-bottom: 5px;
	overflow: hidden;
	padding-left: 35px;
}

ol.ja-ordered-list li { line-height: 180%; margin-left: 30px; }

dl.ja-definition-list dt { font-weight: bold; line-height: 160%; }

dl.ja-definition-list dd { margin-left: 15px; line-height: 160%; }

/* Big Number ---*/
.blocknumber {
	position: relative;
	padding: 5px 0 5px 55px !important;
	min-height: 44px;
}

.blocknumber .bignumber {
	background-image: url(../images/blocknumber-bg.png);
	background-repeat: no-repeat;
	color: #FFFFFF;
	display: block;
	width: 44px;
	height: 44px;
	line-height: 44px !important;
	position: absolute;
	top: 10px;
	left: 0;
	font: bold 20px/normal Arial, sans-serif;
	text-align: center;
	text-shadow: 1px 1px 0 rgba(0,0,0,.3);
}

.blocknumber-1 .bignumber { background-position: left top;}
.blocknumber-2 .bignumber { background-position: left -44px;}
.blocknumber-3 .bignumber { background-position: left -88px;}

/* ICON STYLE
-----------------------------------------------------------------*/
/* Tips, Error, Message, Hightlight ---*/
p.ja-typo-icon {
	padding-left: 25px;
	position: relative;
}

p.ja-typo-icon span.icon {
	background-image: url(../images/icons-sprites-silk.png);
	/*background-image: url(../../images/icons/icons-sprites-tango.png);*/
	background-repeat: no-repeat;
	width: 18px;
	height: 18px;
	display: block;
	position: absolute;
	top: 2px;
	left: 0;
}

p.icon-error	span.icon { background-position: left -54px; }
p.icon-message	span.icon { background-position: left -72px; }
p.icon-tips 	span.icon {	background-position: left -90px; }
p.icon-key 		span.icon { background-position: left -108px; }
p.icon-tag 		span.icon { background-position: left -126px;; }
p.icon-cart 	span.icon { background-position: right -54px; }
p.icon-doc 		span.icon { background-position: right -72px; }
p.icon-note 	span.icon { background-position: right -90px; }
p.icon-photo 	span.icon { background-position: right -108px; }
p.icon-mobi 	span.icon { background-position: right -126px; }

p.icon-error	{ color: #CC0000; }
p.icon-message	{ color: #2C79B3; }
p.icon-tips		{ color: #E58C00; }

/* BUBBLES
-----------------------------------------------------------------*/
/* Common Style + Style 1 */
.ja-typo-bubble {
	margin: 20px 0;
	position: relative;
}

.ja-typo-bubblect {
	padding: 15px;
	border: 3px solid #ddd;
	box-shadow: 0 0 3px rgba(0,0,0,.5);
	-moz-box-shadow: 0 0 3px rgba(0,0,0,.5);
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,.5);
}

.ja-typo-bubble p.ja-typo-bubble-meta {
	margin: -3px 0 0;
	height: 25px;
	padding-left: 65px;
}

.ja-typo-bubble span.ja-typo-bubble-author {
	font-weight: bold;
	display: block;
	padding-top: 5px;
}

.ja-typo-bubble span.ja-typo-bubble-arrow {
	display: block;
	position: absolute;
	bottom: 0;
	left: 28px;
	width: 25px;
	height: 25px;
	background: url(../images/bubble-arrow.png) 0 0;
}

/* Style 2 --- */
.bubble-2 .ja-typo-bubblect { border: 0; background: #ddd; }
.bubble-2 span.ja-typo-bubble-arrow { background-position: -25px 0; }

/* Style 3 --- */
.bubble-3 .ja-typo-bubblect { border: 3px solid #08c; }
.bubble-3 span.ja-typo-bubble-arrow { background-position: 0 -25px; }

/* Style 4 --- */
.bubble-4 .ja-typo-bubblect { border: 0; background: #08c; color: #fff; }
.bubble-4 span.ja-typo-bubble-arrow { background-position: -25px -25px; }

/* Style 5 --- */
.bubble-5 .ja-typo-bubblect { border: 3px solid #333; }
.bubble-5 span.ja-typo-bubble-arrow { background-position: -50px -50px; }

/* Style 6 --- */
.bubble-6 .ja-typo-bubblect { border: none; background: #333; color: #fff; }
.bubble-6 span.ja-typo-bubble-arrow { background-position: -25px -50px; }

/* Common Style for Rounded Bubbles --- */
.bubble-rounded .ja-typo-bubblect {
	border-radius: 18px;
	-moz-border-radius: 18px;
	-webkit-border-radius: 18px;
}

/* MESSAGE BOXES AND LEGENDS STYLE
-----------------------------------------------------------------*/
/* Box style ---*/
p.ja-typo-box {
	border: 1px solid #ddd;
	padding: 10px 10px 10px 50px;
	text-shadow: 1px 1px 0 rgba(255,255,255, .5);
}

/* Box with icons */
p.box-download, p.box-sticky, p.box-confirmation, p.box-error, p.box-warning, p.box-information, p.box-system {
	background-repeat: no-repeat;
	background-position: 10px 15px;
}

p.box-confirmation {
  background-color: #e4f2d4;
  background-image: url(../images/icons/message/icon-tick.png);
  border-color: #b8d199;
  color: #4e8904;
}

p.box-error {
  background-color: #f2dbd4;
  background-image: url(../images/icons/message/icon-error.png);
  border-color: #f6a992;
  color: #be4b22;
}

p.box-warning {
  background-color: #fbebc1;
  background-image: url(../images/icons/message/icon-warning.png);
  border-color: #e1bc88;
  color: #ca7326;
}

p.box-information {
  background-color: #d4e6f2;
  background-image: url(../images/icons/message/icon-information.png);
  border-color: #98c1de;
  color: #1e81af;
}

p.box-download {
	background-image: url(../images/icons/message/icon-download.png);
}

p.box-sticky {
  background-color: #ffffcc;
	background-image: url(../images/icons/message/icon-sticky.png);
	border-color: #e1bc88;
}

p.box-system {
  background-color: #ccd4fa;
	background-image: url(../images/icons/message/icon-system.png);
	border-color: #a4b1ed;
	color: #626ccb;
}


/* Box without icons - Style 1*/
p.box-grey-1, p.box-hilite-1 { padding: 10px 15px; }

p.box-grey-1 { background: #f7f7f7; border-color: #dddddd; }
p.box-hilite-1 { background: #ffffdd; border-color: #d2d2b6; }

/* Box without icons - Style 2*/
p.box-grey-2, p.box-hilite-2 { padding: 10px 15px; }

p.box-grey-2 { background: #f7f7f7; border-color: #dddddd; border-style: dotted; }
p.box-hilite-2 { background: #ffffdd; border-color: #d2d2b6; border-style: dotted; }

/* Rounded Box*/
.box-rounded {
	border-radius: 5px;
}

/* Legend ---*/
.ja-typo-legend {
	border: 1px solid #ddd;
	margin: 20px 0;
	padding: 20px 15px 15px;
	position: relative;
}

.ja-typo-legend .legend-title {
	background: #fff;
	border: 1px solid #ddd;
	color: #069;
	display: block;
	float: left;
	font-family: Arial, sans-serif;
	font-size: 1em;
	font-weight: bold;
	left: 10px;
	line-height: normal;
	margin: 0 !important;
	padding: 5px !important;
	position: absolute;
	top: -15px;
	text-transform: uppercase;
}

/* Legend Style 2 */
.legend-2 { border: 3px solid #08c; }

.legend-2 .legend-title { color: #08c; }

/* Rounded Box*/
.legend-rounded {
	border-radius: 5px;
}

.legend-rounded .legend-title {
  border-radius: 5px;
}

/* BUTTONS
--------------------------------------------------*/
/* Common Buttons Style ---*/
a.ja-typo-btn {
	background: #ddd;
	color: #333;
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: all 0.5s;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

a.ja-typo-btn:hover,
a.ja-typo-btn:active,
a.ja-typo-btn:focus {
	background-position: bottom;
	color: #333;
}

/*Use for Demo Page Only*/
#ja-typo a.ja-typo-btn {
	margin: 20px 10px 10px 0;
	float: left;
}

#ja-typo a.ja-typo-btn:hover,
#ja-typo a.ja-typo-btn:focus,
#ja-typo a.ja-typo-btn:active {
  background: #333;
  color: #fff;
	text-decoration: none;
}

/* Icon Buttons ---*/
a.ja-typo-btn-icn {
	color: #333;
	border: 1px solid #ccc;
	font-size: 0.923em;
	font-weight: bold;
	height: 30px;
	line-height: 30px;
	text-transform: uppercase;
	transition: all 0.5s;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

a.ja-typo-btn-icn span {
	padding: 0 15px 0 34px;
	display: block;
	background-repeat: no-repeat;
	background-position: 10px 7px;
	border: 1px solid #f0f0f0;
}

a.btn-icn-save span 	{ background-image: url(../images/icons/disk.png); }
a.btn-icn-tip span 		{ background-image: url(../images/icons/lightbulb.png); }
a.btn-icn-info span 	{ background-image: url(../images/icons/information.png); }
a.btn-icn-ok span 		{ background-image: url(../images/icons/tick.png); }
a.btn-icn-warning span 	{ background-image: url(../images/icons/exclamation.png); }

a.ja-typo-btn-icn span span {
	height: auto;
	line-height: 28px;
	padding: 0;
	display: inline;
	background: none;
	border: none;
}

a.ja-typo-btn-icn:hover {
  background-color: #333;
  border-color: #333;
  color: #fff;
  text-shadow: none;
}

a.ja-typo-btn-icn:hover span {
  border-color: #666;
}

/* Big Buttons ----*/
a.ja-typo-btn-big {
	text-align: center;
	font-size: 1.154em;
	line-height: normal;
	font-weight: bold;
}

a.ja-typo-btn-big span {
	padding: 10px 12px;
	display: block;
}

/* Small Buttons --- */
a.ja-typo-btn-sm {
	text-align: center;
	font-size: 0.846em;
	font-weight: bold;
	line-height: normal;
}

a.ja-typo-btn-sm span {
	padding: 6px 10px;
	display: block;
}

/* Common style for Dark Buttons --- */
a.btn-blue,
a.btn-red,
a.btn-green,
a.btn-orange,
a.btn-black {
	background-image: none;
	color: #fff;
	text-shadow: none;
}

a.btn-blue:hover, a.btn-blue:active, a.btn-blue:focus,
a.btn-red:hover, a.btn-red:active, a.btn-red:focus,
a.btn-green:hover, a.btn-green:active, a.btn-green:focus,
a.btn-orange:hover, a.btn-orange:active, a.btn-orange:focus,
a.btn-black:hover, a.btn-black:active, a.btn-black:focus {
	background-image: none;
	background-position: bottom;
}

/* Button Blue*/
a.btn-blue { background-color: #08c; }

a.btn-blue:hover,
a.btn-blue:active,
a.btn-blue:focus { color: #fff; }

a.btn-blue span { }

/* Button Black*/
a.btn-black { background-color: #666; }

a.btn-black:hover,
a.btn-black:active,
a.btn-black:focus { color: #fff; }

a.btn-black span { }

/* Button green*/
a.btn-green { background-color: #669900; }

a.btn-green:hover,
a.btn-green:active,
a.btn-green:focus { color: #fff; }

a.btn-green span { }

/* Button red*/
a.btn-red { background-color: #cc0000;  }

a.btn-red:hover,
a.btn-red:active,
a.btn-red:focus { color: #fff; }

a.btn-red span { }

/* Button orange*/
a.btn-orange { background-color: #e58c00; }

a.btn-orange:hover,
a.btn-orange:active,
a.btn-orange:focus { color: #fff; }

a.btn-orange span { }

/* Common style for Rounded Buttons --- */
.btn-rounded-icn, .btn-rounded-big, .btn-rounded-sm,
.btn-rounded-icn span, .btn-rounded-big span, .btn-rounded-sm span {
	border-radius: 3px;
}

.btn-rounded-sm, .btn-rounded-sm span {
	border-radius: 3px;
}

/* TAGS
--------------------------------------------------*/
span.ja-typo-tag {
	background: #f6f6f6;
	border: 1px solid #dbdbdb;
	color: #666;
	padding: 3px 8px;
	margin: 0 2px;
	display: inline-block;
	line-height: normal;
	white-space: nowrap;
}

span.tag-blue {
  background: #edf7fc;
  border-color: #a9d8f0;
  color: #08c;
}

span.tag-green {
  background: #f4f9ea;
  border-color: #c1db8e;
  color: #690;
}

span.tag-orange {
  background: #fdf8ef;
  border-color: #f7dbaf;
  color: #e58c00;
}

span.tag-red {
  background: #fceded;
  border-color: #f0a9a9;
  color: #c00;
}

span.tag-grey {
  color: #333;
}


/* Common style for Rounded Tags --- */
span.tag-rounded {
	border-radius: 3px;
}

/* FORM
--------------------------------------------------*/
/* Fieldset ----*/
/* Common Style + Style 1 */
fieldset.ja-typo-fieldset {
	border: 1px solid #ddd;
	padding: 10px 12px;
}

fieldset.ja-typo-fieldset legend {
  border: 1px solid #ddd;
  color: #069;
  font-size: 1em;
	padding: 5px;
	text-transform: uppercase;
}

/* Style 2 */
fieldset.fieldset-2 {
	border: 3px solid #08c;
	border-radius: 12px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px; 
}

fieldset.fieldset-2 legend {
	color: #08c;
}

/*Use for Demo Page Only*/
#ja-typo fieldset {
	margin-top: 20px;
}

/* TYPO PAGE LAYOUT
-------------------------------------------------------------*/
.ja-typo-blockswrap {
	margin: 15px 0;
}

.ja-typo-blockrow {
	border-bottom: 1px dotted #ddd;
	padding: 0 0 20px;
}

.ja-typo-block { float: left; padding-top: 20px; }
.ja-typo-blockct { padding: 0 10px; }

.ja-typo-blockswrap .cols-1 .ja-typo-block { width: 100%; float: none; }
.ja-typo-blockswrap .cols-2 .ja-typo-block { width: 50%; float: left; }
.ja-typo-blockswrap .cols-3 .ja-typo-block { width: 33%; float: left; }
.ja-typo-blockswrap .cols-4 .ja-typo-block { width: 24.9%; float: left; }

.ja-typo-blockswrap .ja-typo-block.last { float: right; }

.ja-typo-blockswrap h1.ja-typo-title {
	font-size: 175%;
	border-bottom: 8px solid #ddd;
	padding: 5px;
	margin: 0;
	font-family: "Arial Narrow", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 2.308em;
	position: relative;
	color: #333;
}


.ja-typo-blockswrap h2.ja-typo-title {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.538em;
	margin: 0;
	padding: 0 10px;
}

.ja-typo-blockswrap h2.ja-typo-title span {
	color: #333;
	text-shadow: none;
	padding: 0;
	display: inline-block;
}

.ja-typo-blockrow > h2.ja-typo-title {
	margin-bottom: -20px;
	margin-top: 20px;
}

.ja-typo-title.title-hilite {
  color: #2c79b3;
}

/* Blockswrap Actions ---*/
.ja-typo-blocks-actions {
	font-size: 85%;
	position: absolute;
	right: 5px;
	top: 5px;
	color: #999;
}

.ja-typo-blocks-actions a {
	font-size: 85%;
	text-transform: none;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #c00;
	text-decoration: none;
}

.ja-typo-introtext {
  color: #426a7e;
}

/* Image border */
.img-shadow {
  background: #fff;
  border: 1px solid #ddd;
  display: block;
  float: right;
  margin-bottom: 20px;
  padding: 10px;
  position: relative;
  margin-left: 20px;
}

.img-shadow img[align="right"] {
	margin: 0;
}

.img-shadow:before,
.img-shadow:after {
  background: #000;
  display: block;
  -webkit-box-shadow: 0 15px 10px rgba(0,0,0, .7);
  -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  position: absolute;
  left: 10px;
  bottom: 15px;
  width: 50%;
  max-width: 300px;
  height: 20%;
  content: "";
  z-index: -1;
}

.img-shadow:after {
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  right: 10px;
  left: auto;
}

.img-shadow.left {
  float: left;
  margin-right: 15px;
}

.img-shadow.right {
  float: right;
  margin-left: 15px;
}

/* Form */
.btn-submit,
.btn-reset {
  background: #333;
  border: 0;
  color: #fff;
  font-size: 0.846em;
  padding: 7px 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-reset {
  background: #ccc;
  color: #333;
}

.btn-submit:hover {
  background-color: #d42b1e;
  cursor: pointer;
}

.btn-reset:hover {
  background: #666;
  color: #fff;
  cursor: pointer;
}
