#rl_modals_close:hover,#rl_modals_loading_graphic,#rl_modals_overlay{opacity:.8;filter:alpha(opacity=80)}#rl_modals,#rl_modals_overlay,#rl_modals_wrapper{position:absolute;top:0;left:0;z-index:9999;overflow:hidden}#rl_modals_wrapper{max-width:none}#rl_modals_overlay{position:fixed;width:100%;height:100%;background-color:#000}#rl_modals_bottom_left,#rl_modals_middle_left{clear:left}#rl_modals_content{position:relative;overflow:hidden}#rl_modals_loading_graphic,#rl_modals_loading_overlay{position:absolute;top:0;left:0;width:100%;height:100%}#rl_modals_close,#rl_modals_next,#rl_modals_previous,#rl_modals_slideshow{cursor:pointer}#rl_modals.no_navigation #rl_modals_close,#rl_modals.no_navigation #rl_modals_current,#rl_modals.no_navigation #rl_modals_next,#rl_modals.no_navigation #rl_modals_previous,#rl_modals.no_navigation #rl_modals_slideshow{display:none!important}.rl_modals_photo{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.rl_modals_iframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#rl_modals_close,.cbimg{width:14px;height:14px;position:absolute}#rl_modals,#rl_modals_content,#rl_modals_loaded_content{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#rl_modals_next,#rl_modals_previous,#rl_modals_slideshow,.cbimg{-moz-box-sizing:border-box;text-shadow:none;color:transparent;*margin-right:.3em}#rl_modals_title .modals_description{font-size:.7em;font-weight:400}.modal_link_hidden{display:none!important}#rl_modals{outline:0;top:50%;left:50%;background-color:#fff;border:1px solid rgba(0,0,0,.3);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,.3);box-shadow:0 3px 7px rgba(0,0,0,.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;margin:0!important}#rl_modals_loaded_content{overflow:auto;-webkit-overflow-scrolling:touch;overflow-y:auto;padding:15px;margin-top:44px;margin-bottom:0;max-height:none}#rl_modals.is_image #rl_modals_loaded_content,#rl_modals.is_video #rl_modals_loaded_content{padding:0}#rl_modals_title{border-bottom:1px solid #eee;position:absolute;top:0;left:0;right:0;margin:0;padding:9px 25px 9px 15px;color:inherit;text-align:left;text-rendering:optimizelegibility;font-size:20px;line-height:24px;font-weight:700;min-height:24px}#rl_modals_title small{font-weight:400}.cbimg{border:0;font:0/0 a;line-height:14px;background:url(../images/bootstrap/controls.png) no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}#rl_modals_next,#rl_modals_previous,#rl_modals_slideshow{font:0/0 a;line-height:14px;background:url(../images/bootstrap/controls.png) no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box;top:50%;width:42px;height:44px}#rl_modals_current,#rl_modals_next,#rl_modals_previous,#rl_modals_slideshow{position:absolute;background-color:#fff;border:15px solid #fff;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 0 10px rgba(0,0,0,.5);-moz-box-shadow:0 0 10px rgba(0,0,0,.5);box-shadow:0 0 10px rgba(0,0,0,.5);opacity:0;filter:alpha(opacity=0)}#rl_modals_content:hover #rl_modals_current,#rl_modals_content:hover #rl_modals_next,#rl_modals_content:hover #rl_modals_previous,#rl_modals_content:hover #rl_modals_slideshow{opacity:1;filter:alpha(opacity=100)}#rl_modals_current{font-weight:700;line-height:1em;bottom:0;right:0;-webkit-border-radius:6px 0 6px 0;-moz-border-radius:6px 0;border-radius:6px 0}#rl_modals_previous{background-position:0 0;left:0;-webkit-border-radius:0 6px 6px 0;-moz-border-radius:0 6px 6px 0;border-radius:0 6px 6px 0}#rl_modals_next{background-position:-24px 0;right:0;-webkit-border-radius:6px 0 0 6px;-moz-border-radius:6px 0 0 6px;border-radius:6px 0 0 6px}#rl_modals_slideshow{background-position:-48px 0;left:50%;right:50%}.rl_modals_slideshow_on #rl_modals_slideshow{background-position:-72px 0}#rl_modals_close{border:0;font:0/0 a;text-shadow:none;color:transparent;line-height:14px;background:url(../images/bootstrap/controls.png) -96px 0 no-repeat;*margin-right:.3em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;top:14px;right:15px;opacity:.3;filter:alpha(opacity=30)}#rl_modals_loading_graphic{background:url(../images/bootstrap/loading.gif) 50% 50% no-repeat;height:100%}.no_title #rl_modals_title{height:0!important;min-height:0;padding:0;border-bottom:none}.no_title #rl_modals_loaded_content{margin-top:0!important}.no_title #rl_modals_close{right:3px;top:3px}.no_title.has_scrollbar #rl_modals_close{right:18px}#rl_modals_title .countdown{width:100%;height:2px;position:absolute;top:0;left:0;background-color:#049cdb}

/*Now the CSS*/
* {margin: 0; padding: 0;}

.tree ul {
    padding-top: 10px; position: relative;
    	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.tree li {
	float: left; text-align: center;
	list-style-type: none;
	position: relative;
	padding: 10px 5px 0 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*We will use ::before and ::after to draw the connectors*/

.tree li::before, .tree li::after{
	content: '';
	position: absolute; top: 0; right: 50%;
	border-top: 1px solid #ccc;
	width: 50%; height: 10px;
}
.tree li::after{
	right: auto; left: 50%;
	border-left: 1px solid #ccc;
}

/*We need to remove left-right connectors from elements without 
any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
	display: none;
}

/*Remove space from the top of single children*/
.tree li:only-child{ padding-top: 0;}

/*Remove left connector from first child and 
right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after{
	border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before{
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/
.tree ul ul::before{
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 1px solid #ccc;
	width: 0; height: 10px;
}

.tree li a{
	border: 1px solid #ccc;
	padding: 5px 10px;
	text-decoration: none;
	color: #666;
	font-family: arial, verdana, tahoma;
	font-size: 14px;
	font-weight: bold;
	display: inline-block;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover, .tree li a:hover+ul li a {
	background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li a:hover+ul li::after, 
.tree li a:hover+ul li::before, 
.tree li a:hover+ul::before, 
.tree li a:hover+ul ul::before{
	border-color:  #94a0b4;
}

/*Scris vertical*/
.tree a.vertical {
	writing-mode: vertical-rl;
	transform: rotate(-180deg);
	margin-right: 25px;
	padding: 15px 5px;
	height: 320px;
	font-family: Tahoma;
	letter-spacing: 1px;
	font-size: 12px;
}
.tree a.verticali {
	writing-mode: vertical-rl;
	transform: rotate(-180deg);
	margin-right: 25px;
	padding: 15px 5px;
	height: 330px;
	font-family: Tahoma;
	letter-spacing: 1px;
	font-size: 12px;
}
.tree a.verticalp {
	writing-mode: vertical-rl;
	transform: rotate(-180deg);
	margin-right: 25px;
	padding: 15px 5px;
	height: 285px;
	font-family: Tahoma;
	letter-spacing: 1px;
	font-size: 12px;
}
.tree a.vertical2 {
	writing-mode: vertical-rl;
	transform: rotate(-180deg);
	margin-right: 45px;
	margin-left: -35px;
	padding: 15px 5px;
	font-family: Tahoma;
	letter-spacing: 1px;
	font-size: 12px;
}
.tree a.vertical2ultim {
	writing-mode: vertical-rl;
	transform: rotate(-180deg);
	padding: 15px 5px;
	font-family: Tahoma;
	letter-spacing: 1px;
	font-size: 12px;
}
.tree a.verticalultim {
	writing-mode: vertical-rl;
	transform: rotate(-180deg);
	margin-right: 20px;
	padding: 15px 5px;
	height: 285px;
	font-family: Tahoma;
	letter-spacing: 1px;
	font-size: 12px;
}

#linie ul ul::before{
	content: '';
	position: absolute; top: -10px; left: 50%;
	border-left: 1px solid #ccc;
	width: 0; height: 20px;
}

#nimic li {
	float: left; text-align: center;
	list-style-type: none;
	position: relative;
	padding: 102px 5px 0 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}
#nimic2 li {
	float: left; text-align: center;
	list-style-type: none;
	position: relative;
	padding: 10px 5px 0 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}


img.orga {
	display: block;
	margin-left:auto;
	margin-right:auto;
	position:relative; top:0px;
	width: 1050px;
}

.ascuns {
	visibility: hidden;
}

/*Remove left connector from first child and 
right connector from last child
*/
.tree li.ultima::after{
	border: 0 none;
}

.tree a.verticalmic {
	writing-mode: vertical-rl;
	transform: rotate(-180deg);
	margin-right: -10px;
	padding: 15px 5px;
	height: 300px;
	font-family: Tahoma;
	letter-spacing: 1px;
	font-size: 12px;
}


/*Thats all. I hope you enjoyed it.
Thanks :)*/