/**
 * @version		$Id$
 * @author		JoomlaUX
 * @package		Joomla.Site
 * @subpackage	mod_jux_timeline
 * @copyright	Copyright (C) 2013 JoomlaUX. All rights reserved.
 * @license		License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php
*/

@charset "UTF-8";


.clearfix:after {
    content: "";
    display: table;
    line-height: 0;
}
.clearfix:after {
    clear: both;
}

.jux-tl {
}
.jux-tl-wrap {
    position: relative;
    background: url("../images/line.png") repeat-y scroll center center transparent;
}
.jux-tl-line {
    background: url("../images/line.png") repeat-y scroll 0 0 transparent;
    height: 100%;
    left: 50%;
    position: absolute;
    transform: translate(-50%);
    width:3px;
}
.jux-tl-item {
    margin-bottom: 20px;
    position: relative;
    width: 50%;
}
.jux-tl-item.right{
	float: right;
}
.jux-tl-item.left {
	float: left;
}
.jux-tl-control{
	background: url("../images/plus.png") no-repeat scroll 0 0 transparent;
    display: block;
    height: 23px;
    position: absolute;
    top: 20px;
    width: 23px;
    cursor: pointer;
}
.jux-tl-item.right .jux-tl-control{
	left: -12px;
}
.jux-tl-item.left .jux-tl-control{
	right: -12px;
}
.jux-tl-item.selected .jux-tl-control{
	background: url("../images/minus.png") no-repeat scroll 0 0 transparent;
}

.jux-tl-item .jux-tl-time {
    color: #797979;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    min-height: 23px;
    min-width: 230px;
    cursor: pointer;	
}
.jux-tl-item.right .jux-tl-time {
    margin: 0 30px 0 0;
    right: 100%;
    text-align: right;
}
.jux-tl-item.left .jux-tl-time {
    left: 100%;
    margin-left: 30px;
    text-align: left;
}

.jux-tl-info {
    background: none repeat scroll 0 0 #5C5C5C;
    border-radius: 8px 8px 8px 8px;
    padding: 25px 40px;
    position: relative;
}
.jux-tl-item.left .jux-tl-info{
	margin-right: 30px;
}
.jux-tl-item.right .jux-tl-info{
	margin-left: 30px;
}

.jux-tl-info .arrow,
.jux-tl-info .arrow:after {
  position: absolute;
  display: inline-block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.jux-tl-info .arrow:after {
  content: "";
  z-index: -1;
}

.jux-tl-item.right .arrow {
  top: 30px;
  left: -10px;
  margin-top: -10px;
  border-width: 10px 10px 10px 0;
  border-right-color: #5C5C5C;
}
.jux-tl-item.right .arrow:after {
  border-width: 11px 11px 11px 0;
  border-right-color: rgba(0, 0, 0, 0.25);
  bottom: -11px;
  left: -1px;
}

.jux-tl-item.left .arrow {
  top:30px;
  right: -10px;
  margin-top: -10px;
  border-width: 10px 0 10px 10px;
  border-left-color: #5C5C5C;
}
.jux-tl-item.left .arrow:after {
  border-width: 11px 0 11px 11px;
  border-left-color: rgba(0, 0, 0, 0.25);
  bottom: -11px;
  right: -1px;
}

.jux-tl-item h2 a {
    margin: 0;
    color: #bfbfbf;
    text-decoration: none;
    transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    -webkit-transition: all 0.2s ease-in-out 0s;
    
}
.jux-tl-item h2 a:hover{
	text-decoration: none;
	color: #EDEAEA;
}
.jux-tl-item .jux-tl-desc {
   display:none;
   overflow: hidden;
   color:#9b9b9b;
}
.jux-tl-item.selected .jux-tl-desc{
	
}

@media (max-width: 767px){
	.jux-tl-item {
		width: 100%;
	}
	.jux-tl-item.right,
	.jux-tl-item.left{
		float: left;
	}
	.jux-tl-control{
		top: 0px
	}
	.jux-tl-item.left .jux-tl-control{
    	 right: 50%;
    	 margin-right: -12px;
	}
	.jux-tl-item.right .jux-tl-control{
		 left: 50%;
		 margin-left: -12px;
	}
	
	.jux-tl-item.right .jux-tl-info,
	.jux-tl-item.left .jux-tl-info{
		margin:40px 0 0 0;
	}
	
	.jux-tl-item.left .arrow,
	.jux-tl-item.right .arrow
	{
		border-bottom-color: #5C5C5C;
	    border-left-color: transparent;
	    border-right-color: transparent;
	    border-width: 0 10px 10px;
	    left: 50%;
	    margin-left: -10px;
	    margin-top: 0;
	    top: -10px;
	}
	.jux-tl-item.right .arrow:after,
	.jux-tl-item.left .arrow:after{
		border-width: 0 11px 11px;
		border-bottom-color: rgba(0, 0, 0, 0.25);
		top: -1px;
		left: -11px;
	}
	.jux-tl-item .jux-tl-time{
		top:0
	}
	.jux-tl-item.left .jux-tl-time{
		 left: 50%;
	}
	.jux-tl-item.right .jux-tl-time{
		 right: 50%;
	}
}