/*
* Template Name		: Aldebaran
* Created by		: Demente Design
* Email				: contact@demente-design.com
* URL				: http://demente-design.com
*/

/*-----------------------------------------------------------------------------------------------------------------
// Reset
-----------------------------------------------------------------------------------------------------------------*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td 
{ 
	margin: 0;
	padding: 0;
}

table 
{
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset,img
{ 
	border: 0;
}

address,caption,code,dfn,em,th,var 
{
	font-style: normal;
	font-weight: normal;
}

ol,ul 
{
	list-style: none;
}

abbr,acronym
{ 
	border: 0;
}

:-moz-any-link:focus {
  outline: none;
}

/* HTML5 elements */
header, nav, article, footer, figure, figcaption, section, hgroup, details
{
	display: block;
	margin: 0;
}

/*-----------------------------------------------------------------------------------------------------------------
// Raw HTML elements
-----------------------------------------------------------------------------------------------------------------*/

a:active, a:focus
{
	outline: none;
}

a:hover
{
	text-decoration: underline;
}

blockquote
{
	font: italic 13px/1.7em Georgia, Serif;
	margin: 0 0 15px;
	padding: 0 1.5em 1.5em 45px;
	
	background: url(http://amichile.com/templates/aldebaran/images/quote.png) no-repeat 0 0;
}
	
	blockquote p
	{
		margin: 0 !important;
	}

quote,
em
{
	font-style: italic;
}

pre
{
	font-family: "Courier New", Courier, monospace;
	margin: 1.5em 0;
	padding: 10px;
	line-height: 1.3em;
	vertical-align: middle;
	white-space: pre-wrap;
	
	border-color: #e6e6e6 !important;
	border-style: solid;
	border-width: 1px 1px 1px 10px;
}

	pre code
	{
		padding: 0;
		margin: 0;
		border: 0;
	}
	
	pre ol
	{
		margin: 0 !important;
	}
	
code
{
	font-family: "Courier New", Courier, monospace;
	font-size: 1.1em;
	padding: 0 10px;
}
	
hr
{
	height: 1px;
	
	background: #e9e9e9;
	border: 0 none !important;
	margin: 15px 0;
}

h1,h2,h3,h4,h5,h6,.componentheading
{
	font-weight: normal;
	margin: 0 0 20px;
}

h1, h2
{
	color: #222;
}

h3, h4, h5, h6
{
	color: #3a3a3a;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
{
	text-decoration: none;
	
	color: #222 !important;
}

ul li a 
{
    font-size: 1em; /* Override Gantry */
}

/*-----------------------------------------------------------------------------------------------------------------
// Layout
-----------------------------------------------------------------------------------------------------------------*/

	/* Header
	------------------------------------------ */

	#header
	{
		border-top: 1px solid #000;
	}
	
		#rt-logo
		{
			text-indent: -999em;
			float: left;
			margin: 0 0 0 25px;
			width: 172px;
			height: 59px;
			display: block;
			
			background: url(http://amichile.com/templates/aldebaran/images/logo/logo.png) 0 0 no-repeat;
		}
		
		#header-bar
		{
			position: relative;	
			z-index: 20; /* ie7 no js menu */
		}
	
	/* Top/Bottom containers
	------------------------------------------ */
	
	#top-container
	{
		margin: 0 0 20px;
	}
	
	#bottom-container
	{
		margin: 20px 0 0;
	}
	
		#top-container .squares,
		#bottom-container .squares
		{
			padding: 20px 0;
			
			color: #ddd;
		}
		
		#top-container .rt-block,
		#bottom-container .rt-block
		{
			margin: 0;
		}
		
			#top-container h1,
			#top-container h2,
			#bottom-container h1,
			#bottom-container h2
			{
				color: #000;
			}
			
	#rt-footer h2,
	#copyright h2
	{
		text-transform: uppercase;
		font-size: 1.2em;
	}
	
	#top-container a,
	#bottom-container a
	{
		color: #000;
	}
		
	/* Sidebars
	------------------------------------------ */
	
	#rt-sidebar-a,
	#rt-sidebar-b,
	#rt-sidebar-c
	{
		background: 0;
	}
	
	/* Copyright
	------------------------------------------ */
	
	#copyright
	{
		margin-top: 15px;
		font-size: .95em;
	}
	
		#copyright h2 
		{
			padding: 0;
		}
	
/*-----------------------------------------------------------------------------------------------------------------
// Navigation 
-----------------------------------------------------------------------------------------------------------------*/
	
	/* General
	------------------------------------------ */

	.menu a:hover,
	.weblinks a:hover
	{
		text-decoration: none;
	}
	
	ul.menu ul
	{
		margin-left: 15px;
	}
	
	/* Top navigation
	------------------------------------------ */
	
	#nav
	{
		float: right;
		margin: 0 15px 0 0;
	}
	
		#nav li
		{
			position: relative;
		}
		
		/* Sublines */
		#nav  em,
		.menutop em
		{
			display: block;
			font-size: 11px;
			line-height: 11px;
			font-style: normal;
			text-transform: none;
		}
	
		/* Root level
		------------------------------------------ */
	
		#nav .root
		{
			float: left;
			margin: 0 0 0 10px;
		}

			#nav .root > a
			{
				padding: 12px 10px 15px;
				text-align: center;
				font-weight: bold;
				text-transform: uppercase;
			}
				
				#nav .root > a span
				{
					line-height: 1.8em;
				}
				
				/* Parents */
				#nav .level1 > .parent > a span
				{
					padding: 0 10px 0 0;
				
					background: url(http://amichile.com/templates/aldebaran/images/submenu-arrow.png) no-repeat 100% .7em;
				}
			
			#nav .root > a:hover,
			.menutop .root.f-mainparent-itemfocus > a
			{
				background: url(http://amichile.com/templates/aldebaran/images/alpha6.png);
			}
		
		/* Current item marker */
		#nav .root .active-arrow
		{
			display: block;
			content: "";
			position: absolute;
			left: 50%;
			margin-left: -5px;
			top: 0;
			padding: 0 !important;
			
			border-left: 5px solid transparent;
			border-right: 5px solid transparent;
		}
		
		/* Separators */
		#nav .root > a:after
		{
			display: block;
			content: "";
			position: absolute;
			right: -5px;
			top: 15px;
			height: 15px;
		}
		
		#nav .root:last-child > a:after
		{
			display: none;
		}
		
		/* Dropdowns
		------------------------------------------ */
	
		.fusion-js-container 
		{
			display: block;
			height: 0;
			left: 0;
			overflow: visible;
			position: absolute;
			top: 3px;
			z-index: 999;
			background: transparent;
		}
		
		.fusion-js-subs 
		{
			display: none;
			margin: 0;
			overflow: hidden;
			padding: 0;
			position: absolute;
		}

		#nav a,
		.fusion-js-container a
		{
			display: block;
			text-decoration: none;
			padding: 10px 15px;
			line-height: 1.1em;
			cursor: pointer; /* ie7-8 */
			
			color: #000;
		}
		
			#nav span,
			.fusion-js-container span
			{
				overflow: hidden;
				display: block;
				line-height: 1.4em;
			}
			
			.menutop .daddy > span 
			{
				padding: 0 10px 0 0;
			
				background: url(http://amichile.com/templates/aldebaran/images/submenu-arrow.png) 100% -18px no-repeat;
			}
		
		/* Dropdown Surrounds */
		.menutop ul 
		{
			padding: 0;
			margin: 0;
			float: left;
		}

		.menutop .fusion-submenu-wrapper 
		{
			height: auto !important;
		}

		.menutop .drop-bot 
		{
			height: 0;
			overflow: hidden;
			clear: both;
		}
		
		.menutop .item img 
		{
			margin: 0 4px 0 0;
			vertical-align: middle;
		}

		.menutop li .fusion-submenu-wrapper 
		{
			float: none;
			left: -999em;
			position: absolute;
			z-index: 500;
		}

		/* Grouped & Modules */
		.menutop .grouped-parent > .daddy span
		{
			background-position: 100% 5px;
		}
		
		.menutop .fusion-grouped ol li .item
		{
			padding: 8px 20px 8px 30px;
		}
		
		.menutop .fusion-grouped ol li span
		{
			font-size: 90%;
			line-height: 1.2em;
		}
		
		.menutop .type-module ol
		{
			padding: 0;
		}
		
		.menutop .type-module ol li
		{
			padding: 0;
		}
		
		.menutop .type-module ol li .fusion-modules
		{
			background: none;
		}
		
		.menutop .type-module ol li .fusion-module
		{
			background: none;
			overflow: hidden;
			padding: 0;
		}
		
		.menutop .fusion-modules.item
		{
			padding: 15px;
		}
		
		.menutop .fusion-module em
		{
			display: inline;
			font-size: inherit;
			font-style: italic;
		}
		
		.menutop .fusion-module a
		{
			font-size: inherit;
			line-height: 130%;
		}
		
		.menutop .fusion-module p, .menutop .fusion-modules p
		{
			line-height: 160%;
		}

		/* No JS dropdowns */

		/* first level */
		.menutop li.root:hover > .fusion-submenu-wrapper 
		{
			top: 100%;
			left: 0;
		}

		.menutop ul li:hover > .fusion-submenu-wrapper 
		{
			left: 100%;
			top: 0;
		}

	/* Copyright navigation
	------------------------------------------ */
	
	#copyright .menu a
	{
		padding: 0 0.4em;
	}
		
	/* Footer navigation
	------------------------------------------ */

	#rt-footer .menu a
	{
		display: block;
		padding: 0 10px 0 0;
	
		border-bottom: 1px dotted rgba(255,255,255,0.05);
		
		transition: padding .2s ease;
		-moz-transition: padding .2s ease;
		-webkit-transition: padding .2s ease;
		-o-transition: padding .2s ease;
	}
	
	#rt-footer .menu a:hover
	{
		padding: 0 0 0 10px;
		
		background: url(http://amichile.com/templates/aldebaran/images/submenu-arrow.png) no-repeat 0 -13px;
	}
	
	/* Child items and sublines */
	#copyright .menu ul,
	#copyright .menu .subline,
	#footer .menu ul,
	#footer .menu .subline
	{
		display: none !important;
	}
			
/*-----------------------------------------------------------------------------------------------------------------
// Modules 
-----------------------------------------------------------------------------------------------------------------*/

.module-title h2
{
	padding: 0 0 10px;
	margin: 0 0 10px;
}
	
	/* Search
	------------------------------------------ */
	
	#search-form
	{
		margin: 0;
	}
	
	.search-wrap
	{
		position: relative;
		max-width: 280px;
		width: 100%;
		margin: 0 !important;

		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
	}

		input.search-button[type="submit"],
		input.search-button-image[type="submit"]
		{
			float: right;
			line-height: 100%;
			font-size: .9em;
			cursor: pointer;
			border: 0 none;
			height: 30px;
			margin:  0 0 0 -30px;
			padding: 0;
			
			background: transparent;
			
			-moz-box-shadow: none;
			-webkit-box-shadow: none;
			box-shadow: none;
		}

		input.search-button-image[type="submit"]
		{
			width: 30px !important; /* important for ie7 */
			
			background: url(http://amichile.com/templates/aldebaran/images/search.png) no-repeat 50% 50% !important;
		}

		input.search-field[type="search"],
		input.search-field /* For ie */
		{
			float: left;
			margin: 0;
			padding: 0 35px 0 5px;
			height: 30px;
			border: 0 none;
			width: 100%;
			
			background: transparent;
			
			-moz-box-shadow: none;
			-webkit-box-shadow: none;
			box-shadow: none;
		}
	
	/* Breadcrumbs
	------------------------------------------ */
	
	.breadcrumbs
	{
		padding: 0 25px 15px;
	}
	
		.breadcrumbs img
		{
			margin: 0 2px 2px;
		}
	
	/* Introtext
	------------------------------------------ */
	
	#introtext
	{
		font-size: 2em;
		line-height: 1.4em;
		text-align: center;
	}
		
		#introtext .rt-block
		{
			padding-top: 0;
			margin-bottom: 0;
		}
	
	/* Latest / Mostread
	------------------------------------------ */
	
	ul.latestnews, 
	ul.mostread
	{
		padding: 0;
	}
	
		ul.latestnews li a, 
		ul.mostread li a 
		{
			display: inline-block;
			padding: 0;
		}
		
		.latestnews .date, 
		.mostread .hits
		{
			margin: 0 0 0 10px;
		}

	/* Popup
	------------------------------------------ */
	
	.rt-popup 
	{
		display: none;
	}
	
	#colorbox .rt-block
	{
		margin: 0;
		padding: 20px;
		clear: both;
	
		background: #fff;
	}
		
	/* Newsletter (Acymailing)
	------------------------------------------ */
	
	.acymailing_module input[type="email"],
	.acymailing_module input[type="text"]
	{
		width: 100%;
		max-width: 250px;
	}
	
	.acymailing_module td
	{
		padding: 0 0 10px;
	}
	
	.acymailing_togglemodule
	{
		display: inline-block;
		margin: 0 0 10px;
	}
	
	/* Tweets
	------------------------------------------ */
	/* http://extensions.joomla.org/extensions/social-web/twitter-display/15834 */
	
	.twtr-hd
	/*,.twtr-ft*/
	{
		display: none;
	}
	
	.twtr-widget .twtr-tweet
	{
		border: 0 !important;
	}
	
	#flexitweet .twtr-widget .twtr-tweet-wrap
	{
		padding: 6px 0;
	}
	
	#flexitweet .twtr-ft div
	{
		padding: 10px 0;
	}
	
	/* Accordions
	------------------------------------------ */
	/* http://extensions.joomla.org/extensions/news-display/articles-listing/14277 */
	
	.sp-accordion .active-el
	{
		margin: 15px 0;
	}
	
	.sp-accordion .toggler
	{
		cursor: pointer;
		display: block;
		font-weight: bold;
		margin: 0 0 10px;
	}
	
	.sp-accordion-inner
	{
		padding: 0 10px;
	}

/*-----------------------------------------------------------------------------------------------------------------
// Articles
-----------------------------------------------------------------------------------------------------------------*/
	
	.items-row
	{
		clear: both;
	}
	
	.rt-article p,
	.rt-article table
	{
		margin: 1.5em 0;
	}
	
	.article-body
	{
		overflow: hidden;
	}
	
	/* Blog
	------------------------------------------ */
	
	.rt-blog .rt-article
	{
		margin-bottom: 25px;
	}
	
	/* Information
	------------------------------------------ */
	
	.rt-blog .rt-articleinfo
	{
		float: left;
		width: 150px;
		margin: 2.6em 20px 0 0;
		overflow: hidden;
		position: relative;
		
		color: #999;
	}
	
		.component-content .rt-articleinfo li
		{
			display: inline;
			vertical-align: top;
			margin: 0 4px 0 0;
		}
		
		.rt-blog .rt-articleinfo li
		{
			display: block;
		}
	
		.rt-articleinfo ul
		{
			margin: 0;
			padding: 0;
		}
		
		.component-content .rt-articleinfo .rt-date,
		.component-content .item-page .rt-date
		{
			font-size: 15px;
			line-height: 15px;
			text-align: center;
			font-weight: bold;
			padding: 10px 17px;
			margin: 0 0 15px;
			display: inline-block !important;
			
			color: #000;
			background: #333 url(http://amichile.com/templates/aldebaran/images/squares.png);
			text-shadow: 0 0 1px transparent;
			
			border-radius: 50px;
			-moz-border-radius: 50px;
			-webkit-border-radius: 50px;
		}
		
		.component-content .item-page .rt-date
		{
			float: left;
			margin: 5px 15px 15px 0;
		}
			
			.rt-date .m
			{
				letter-spacing: 1px;
			}
			
			.rt-date .y
			{
				font-weight: normal;
				font-size: 10px;
				
				color: #666;
			}
			
		.component-content .rt-author
		{
			font-style: normal;
		}
		
	.article-body .content_rating img
	{
		display: inline;
		padding: 1px;
		margin: 0;
		
		border: 0 !important;
	}
	
	.component-content .title
	{
		overflow: hidden;
		line-height: 1.2em;
	}
	
	/* Actions
	------------------------------------------ */
	
	.component-content .rt-article-icons a
	{
		background: 0 !important;
	}
	
	.rt-article-icons img
	{
		display: inline !important;
	}
	
	/* Pullquotes / highlight / dropcap
	------------------------------------------ */

	.pullquote-box
	{
		width: 35%;
		float: left;
		padding: 0 1.5em 1.5em 45px;
		font: italic 13px/1.7em Georgia,Serif;
		
		background: url(http://amichile.com/templates/aldebaran/images/quote.png) no-repeat;
	}

	.highlight
	{
		background: #EDF464;
	}
	
	.dropcap
	{
		font-size: 3.4em;
		line-height: 1em;
		font-weight: bold;
		float: left;
		padding: 0 .25em 0 0;
		text-transform: uppercase;
	}
	
	/* Process list
	------------------------------------------ */
	
	.rt-article .process-list
	{
		padding: 0;
	}
	
		.rt-article .process-list li 
		{
			margin: 0 0 15px;
			padding: 0 0 25px;
			overflow: hidden;
			
			background: url(http://amichile.com/templates/aldebaran/images/squares.png) repeat-x 0 100%;
		}
		
		.rt-article .process-list li:last-child 
		{
			background: 0;
		}
		
			.process-list .step
			{
				display: block;
				font-size: 30px;
				line-height: 30px;
				font-weight: bold;
				height: 100%;
				float: left;
				padding: 10px 17px;
				margin: 0 20px 0 0;
				
				color: #000;
				background: #333 url(http://amichile.com/templates/aldebaran/images/squares.png);
				
				border-radius: 50px;
				-moz-border-radius: 50px;
				-webkit-border-radius: 50px;
			}

			
	/* Images
	------------------------------------------ */

	.article-body img,
	img.border
	{
		padding: 4px;
		margin: 0 auto 20px;
		display: block;
		
		border: 1px solid #dfdfdf !important;
		
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		border-radius: 4px;
	}

	img.plain
	{
		padding: 0;
		border: 0 none !important;
	}
		
	.rt-article img.left, 
	.rt-article img[align="left"],
	.rt-article img[style*="float: left"],
	.caption-wrap-left
	{
		margin: .5em 3em 2em 0;
	}

	.rt-article img.right, 
	.rt-article img[align="right"],
	.rt-article img[style*="float: right"],
	.caption-wrap-right
	{
		margin: .5em 0 2em 3em;
	}

	.caption-wrap
	{
		display: block;
		text-align: center;
	}

		.caption-text
		{
			font-style: italic;
		}
		
		.caption-wrap img
		{
			margin: 0 auto 0.5em !important;
		}
		
		.caption-wrap a
		{
			display: block;
			text-decoration: none;
		}

	.caption-wrap-left
	{
		float: left;
	}

	.caption-wrap-right
	{
		float: right;
	}

	/* Categories
	------------------------------------------ */
	
	.component-content .category-desc
	{
		margin-bottom: 30px;
	}
	
	.component-content .categories-list
	{
		padding: 0;
	}
	
		.component-content .categories-list > ul,
		.component-content .categories-list  ul ul
		{
			margin: 0;
		}
		
		.component-content .categories-list  ul ul li,
		.cat-children ul li
		{
			padding-left: 15px;
			list-style: none;
			
			background: url(http://amichile.com/templates/aldebaran/images/system/arrow.png) no-repeat 0 20px;
		}
		
	.cat-children ul
	{
		margin-right: 0;
		margin-left: 0;
		padding: 0;
	}
		
		.categories-list .item-title,
		.cat-children .item-title
		{
			font-size: 1.6em;
		}
	
	.component-content .article-body ol
	{
		list-style: decimal;
	}

/*-----------------------------------------------------------------------------------------------------------------
// Features 
-----------------------------------------------------------------------------------------------------------------*/

/* Login / Top scroller
------------------------------------------ */

#login-popup,
#gantry-totop
{
	width: 16px;
	height: 16px;
	display: block;
	position: absolute;
	top: 15px;
	right: 20px;
	padding: 5px;
	
	background: url(http://amichile.com/templates/aldebaran/images/icons/user_w_16.png) no-repeat 50% 50%;
	background-color: rgba(0,0,0,.2); /* Separate line so that browsers without rgba support still render the icon */
	border-bottom: 1px solid rgba(255,255,255,.2);

	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#gantry-totop
{
	position: fixed;
	top: auto;
	bottom: 30px;
	right: 20px;
	display: none;
	
	background: url(http://amichile.com/templates/aldebaran/images/submenu-arrow.png) no-repeat 50% -87px #333;
	background-color: rgba(0,0,0,.7);
}
	
/*-----------------------------------------------------------------------------------------------------------------
// Mixed 
-----------------------------------------------------------------------------------------------------------------*/

.left
{
	float: left;
}

.right
{
	float: right;
}

.center
{
	text-align: center;
}

.fullwidth
{
	width: 100%;
}

.topmargin
{
	margin-top: 20px;
}

.metadata
{
	font-size: 95%;
	
	color: #999;
}

.squares
{
	background: url(http://amichile.com/templates/aldebaran/images/squares.png);
}

.no-border
{
	border: 0 !important;
}

.separator
{
	height: 7px;
	max-width: 910px;
	margin: 0 auto 10px;
	
	background: url(http://amichile.com/templates/aldebaran/images/squares.png);
}

	/* Icon boxes
	------------------------------------------ */
	
	.iconbox .module-title h2
	{
		border-bottom: 4px solid;
	}
	
	.customiconbox,
	.iconbox .module-title
	{
		position: relative;
		margin: 0 0 0 68px;
	}
	
		.customiconbox img
		{
			position: absolute;
			top: -3.2em;
			left: -68px;
		}

/*-----------------------------------------------------------------------------------------------------------------
// Form elements
-----------------------------------------------------------------------------------------------------------------*/
			
fieldset,
form
{
	margin: 0 0 20px;
}

.rt-block form
{
	margin: 0;
}

fieldset
{
	padding: 10px;
}

input, 
textarea,
select,
.search-wrap
{
	background: #f2f2f2;
	border: 1px solid #dfdfdf;
	color: #808080;
	margin: 0 10px 20px 0;
	font-family: inherit;
	font-size: inherit;
	
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-moz-box-shadow: 0 1px 0 #fff inset, 0 10px 10px -10px rgba(0, 0, 0, 0.1) inset;
	-webkit-box-shadow: 0 1px 0 #fff inset, 0 10px 10px -10px rgba(0, 0, 0, 0.1) inset;
	box-shadow: 0 1px 0 #fff inset, 0 10px 10px -10px rgba(0, 0, 0, 0.1) inset;
}

.squares input,
.squares textarea,
.squares select,
.squares .search-wrap
{
	background: url(http://amichile.com/templates/aldebaran/images/alpha6.png);
	border: 0;
	color: #000;
	
	-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25) inset;
	-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25) inset;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25) inset;
}

.squares input:focus,
.squares textarea:focus,
.squares select:focus
{
	color: #fff;
}

input:focus, 
textarea:focus,
select:focus
{
	color: #444;
}

/*input:invalid
{
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}*/

textarea, 
input
{ 
	outline: none;
}

textarea
{
	padding: 7px 5px 3px 5px;
	min-width: 400px;
	
	resize: none;
}

input
{
	height: 30px;
	padding: 7px 5px 3px 5px;

	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

input[type="checkbox"],
input[type="radio"]
{
	border: 0 none;
	padding: 0;
	height: auto !important;
	background: transparent;
	margin: 0.7em 4px 0;
	vertical-align: baseline;
}

input[type="file"]
{
	height: 30px;
	display: inline-block;
	line-height: 30px;
}

select
{
	padding: 6px 0 0;
	vertical-align: top;
	height: 30px;
	min-width: 140px;
	
	background: #fff;
}

	option
	{
		padding: 3px 5px;
	}
	
table input,
table textarea,
table select,
button
{
	margin: 0;
}

label
{
	line-height: 30px;
}

	label.error
	{
		margin: 0 0 20px;
		float: right;
		line-height: 1.2em;
		width: 200px;
		
		color: #e73e3e;
	}
	
	.validity-modal-msg
	{
		position: absolute; 
		z-index: 2; 
		padding: 5px 10px;
		margin: 12px 0 0 20px;
		line-height: 1.3em;
		max-width: 250px;
		cursor: pointer; 
		
		background: #fff;
		border: solid 1px #dfdfdf; 
		color: #e73e3e;
		
		-moz-box-shadow :0 0 10px #e0e0e0;
		-webkit-box-shadow: 0 0 10px #e0e0e0;
		box-shadow: 0 0 10px #e0e0e0;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		border-radius: 4px;
	}
	
	label.short-label
	{
		min-width: 10px;
		padding: 0;
	}

/* Buttons
------------------------------------------ */

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.readon,
.bw-btn,
a.btn
{
	font-weight: bold;
	display: inline-block;
	vertical-align: top;
	height: auto;
	line-height: 120%;
	padding: .7em 15px;
	margin: 0 10px 0 0;
	cursor: pointer;
	text-decoration: none;
	vertical-align: baseline;
	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.readon,
.bw-btn
{
	color: #444;
	border: 1px solid #ddd;
	background: #e8e8e8;
	background: -moz-linear-gradient(90deg,#dfdfdf,#e8e8e8);
	background: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#dfdfdf));
	text-shadow: 0 1px 0 #fff;
	
	-moz-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4) inset, 0 15px 0 rgba(255, 255, 255, 0.2) inset, 0 3px 1px -2px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4) inset, 0 15px 0 rgba(255, 255, 255, 0.2) inset, 0 3px 1px -2px rgba(0, 0, 0, .3);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4) inset, 0 15px 0 rgba(255, 255, 255, 0.2) inset, 0 3px 1px -2px rgba(0, 0, 0, .3);
}

.readon:hover,
.bw-btn:hover,
.bw-btn-active
{
	text-decoration: none;

	color: #444;
	background: #dfdfdf;
	background: -moz-linear-gradient(-90deg,#dfdfdf,#e8e8e8);
	background: -webkit-gradient(linear, left bottom, left top, from(#e8e8e8), to(#dfdfdf));
	
	-moz-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7) inset, 0 1px 0 2px #e5e5e5 inset, 0 15px 0 rgba(255, 255, 255, 0.2) inset, 0 3px 1px -2px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7) inset, 0 1px 0 2px #e5e5e5 inset, 0 15px 0 rgba(255, 255, 255, 0.2) inset, 0 3px 1px -2px rgba(0, 0, 0, .3);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7) inset, 0 1px 0 2px #e5e5e5 inset, 0 15px 0 rgba(255, 255, 255, 0.2) inset, 0 3px 1px -2px rgba(0, 0, 0, .3);
}

/*-----------------------------------------------------------------------------------------------------------------
// Tables
-----------------------------------------------------------------------------------------------------------------*/

table
{
	border: 1px solid #ddd;
}

th, thead
{
	font-weight: 700;
	padding: 5px 10px;
	
	background: #2e2e2e;
}

th,
.component-content th
{
	padding: 5px 10px;
	border-style: solid;
	border-width: 0 1px 1px 0;
	
	border-color: #ddd;
}

thead th
{
	border-right-width: 1px;
	
	box-shadow: 0 20px 5px -5px #fff inset;
}

td
{
	padding: 5px 10px;
}

tr.odd
{
	background :#f4f4f4;
}

.zebratable tr:nth-child(odd)
{
	background: #eee;
}

.hovertable-x tr:hover,
.td-hover
{
	background: #ddd;
}

.fulltable
{
	width: 100%;
}

/*-----------------------------------------------------------------------------------------------------------------
// Joomla
-----------------------------------------------------------------------------------------------------------------*/

/* Pagination
------------------------------------------ */

.component-content .rt-pagination,
.pagination
{
    margin: 10px 0;
    padding: 20px 0;
	
	color: #999;
	background: url(http://amichile.com/templates/aldebaran/images/squares.png) repeat-x;
}

	.pagination .counter
	{
		float: left;
		padding: 0 20px 0 0;
	}
	
	.component-content .rt-pagination ul,
	.pagination ul
	{
		overflow: hidden;
		list-style-type: none;
		margin: 0;
		padding: 0;
		text-align: right;
	}

		.component-content .pagination li,
		.component-content .rt-pagination li,
		.pagination li
		{
			display: inline-block;
			margin: 0 0 0 5px;
		}
		
		.component-content .pagination-controls li,
		.pagination-controls li
		{
			margin: 0 0 0 10px;
		}
			
			.pagination a
			{
				text-align: center;
				line-height: 1em;
				text-decoration: none;
			}	
	
/* System Messages
------------------------------------------ */

#system-message dd ul
{
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

/* Tooltips
------------------------------------------ */

.tip-wrap
{
	padding: 10px;
	z-index: 1000;

	background: #fff;
	border: 1px solid #999;

	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

/* Search component
------------------------------------------ */

#advanced-search
{
	overflow: hidden;
}

/*-----------------------------------------------------------------------------------------------------------------
// Slider
-----------------------------------------------------------------------------------------------------------------*/

/* 	DJ Image Slider 
	http://extensions.joomla.org/extensions/photos-a-images/images-slideshow/13119
	*/

.djslider-loader
{
	position: relative;
	margin: 0 auto;
	padding: 20px 0 32px;
}

	.djslider-actions .navigation-container-custom
	{
		bottom: 10px;
		top: auto;
		left: 0;
		position: absolute;
		width: 100%;
		text-align: center;
		line-height: 0;
		z-index: 15;
	}

		.djslider-actions .load-button
		{
			cursor: pointer;
			display: block; /* inline-block won't work in ie7*/
			display: inline-block;
			height: 12px;
			line-height: 0;
			margin: 0 2px 0 0;
			width: 12px;
			text-indent: -999em;
			
			background-image: url(http://amichile.com/templates/aldebaran/images/slider.png);
		}

		.djslider-actions .load-button-active
		{
			background-position: -12px 0;
		}

	.djslider-actions .navigation-container
	{
		position: absolute;
		height: 100%;
		top: 0;
		text-align: center;
		width: 100%;
	}
	
		.djslider-actions .prev-button,
		.djslider-actions .next-button
		{
			top: 50%;
			width: 36px;
			height: 36px;
			
			background: url(http://amichile.com/templates/aldebaran/images/slider.png) 0 -12px;
		}
		
		.djslider-actions .next-button
		{
			background-position: -36px -12px;
		}

/*-----------------------------------------------------------------------------------------------------------------
// Gallery
-----------------------------------------------------------------------------------------------------------------*/

/**
 * @version		2.2
 * @package		Simple Image Gallery (plugin)
 * @author    JoomlaWorks - http://www.joomlaworks.gr
 * @copyright	Copyright (c) 2006 - 2011 JoomlaWorks, a business unit of Nuevvo Webware Ltd. All rights reserved.
 * @license		GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
 */

.component-content .sig-container
{
	list-style: none;
	overflow: hidden;
	padding: 0;
	width: 110%;
}

	.component-content .sig-block 
	{ 
		display: inline-block;
		float: left;
		margin: 0 20px 20px 0; 
		padding: 0; 
		position: relative;
	}
	
	.component-content .sig-container img
	{
		padding: 0;
		margin: 0;
		
		transition: opacity .5s ease, box-shadow .5s ease;
		-moz-transition: opacity .5s ease, box-shadow .5s ease;
		-webkit-transition: opacity .5s ease, box-shadow .5s ease;
		-o-transition: opacity .5s ease, box-shadow .5s ease;
	}

	.component-content .sig-container .gallery-zoom
	{
		display: none;
		position: absolute;
		bottom: 0;
		right: 0;
		height: 30px;
		width: 30px;
		cursor: pointer;
		
		background: #fff url(http://amichile.com/templates/aldebaran/images/search.png) no-repeat 50% 50%;
		
		-moz-border-radius-topleft: 4px;
		webkit-border-top-left-radius: 4px;
		border-top-left-radius: 4px;
		box-shadow: -2px -2px 5px -2px #222;
		-moz-box-shadow: -2px -2px 5px -2px #222;
		-webkit-box-shadow: -2px -2px 5px -2px #222;
	}
	
	.component-content .sig-block:hover .gallery-zoom
	{
		display: block;
	}
	
	.component-content .sig-block:hover img
	{
		opacity: .5;
		filter: alpha(opacity = 50);
		box-shadow: inset 0 0 10px #000;
	}

/*-----------------------------------------------------------------------------------------------------------------
// Browser specific
-----------------------------------------------------------------------------------------------------------------*/

/* Firefox
------------------------------------------ */

/* Remove button padding */
input::-moz-focus-inner 
{ 
    border: 0;
    padding: 0;
}

button::-moz-focus-inner
{ 
    border: 0;
    padding: 0;
}

/* Webkit (Chrome/Safari)
------------------------------------------ */

input[type="search"]
{
	-webkit-appearance: textfield;
}

/* ie
------------------------------------------ */

.ie input[type="submit"],
.ie input[type="button"],
.ie input[type="reset"],
.ie button
{
	/* This is to solve the superlong buttons bug */
	width: auto;
	overflow: visible;
	padding: 7px 12px;
}

.ie input.search-button[type="submit"], 
.ie input.search-button-image[type="submit"]
{
	height: 30px;
	padding: 0;
}

.ie input.search-field
{
	padding: 7px 0 3px 5px;
}

.ie7 .pagination li,
.ie7 .rt-article-icons li
{
	display: inline;
}

.ie7 .rt-articleinfo .rt-date
{
	display: inline !important;
}

.ie7 #nav  em,
.ie7 .menutop em
{
	display: inline;
}
		
.ie7 .clearfix 
{
	display: inline-block; /* IE7 has no support for :after or :before, this fixes the clearfix */
}

.ie7 input
{
	height: 20px; /* Less because it doesn't support box-sizing */
}

.ie7 input[type="submit"],
.ie7 input[type="reset"],
.ie7 input[type="button"],
.ie7 button
{
	height: auto;
	vertical-align: top;
}

.ie7 #footer
{
	overflow: hidden; /* Needed for the footer to move when the content expands in the search component */
}

.ie8 input.search-field
{
	padding-right: 25px;
}