@import 'base.less';

/* ------------------------------------------------------------
	NUMBER OF COLUMNS: Adjust #primaryNav li to set the number
	of columns required in your site map. The default is 
	4 columns (25%). 5 columns would be 20%, 6 columns would 
	be 16.6%, etc. 
------------------------------------------------------------ */

#primaryNav li {
	width:25%;
}

#primaryNav li ul li {
	width:100% !important;
}

#primaryNav.col1 li { width:99.9%; }
#primaryNav.col2 li { width:50.0%; }
#primaryNav.col3 li { width:33.3%; }
#primaryNav.col4 li { width:25.0%; }
#primaryNav.col5 li { width:20.0%; }
#primaryNav.col6 li { width:16.6%; }
#primaryNav.col7 li { width:14.2%; }
#primaryNav.col8 li { width:12.5%; }
#primaryNav.col9 li { width:11.1%; }
#primaryNav.col10 li { width:10.0%; }

/* ------------------------------------------------------------
	General Styles
------------------------------------------------------------ */

.sitemap {
	margin: 0 0 40px 0;
	float: left;
	width: 100%;
}

/* ------------------------------------------------------------
	Site Map Styles
------------------------------------------------------------ */

/* --------	Top Level --------- */

#primaryNav {
	margin: 0;
	float: left;
	width: 100%;
}
#primaryNav #home {
	display: block;
	float: none;
	background: #ffffff url('../img/L1-left.png') center bottom no-repeat;
	position: relative;
	z-index: 2;
	padding: 0 0 30px 0;
	.org-box{
		background: #222;
	}
}
#primaryNav li {
	float: left;
	background: url('../img/L1-center.png') center top no-repeat;
	padding: 30px 0;
	margin-top: -30px;
}
#primaryNav li .org-box {
	margin: 0 20px 0 0;
	display: block;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	color: black;	
    padding: 10px;
    background: #424242;
    border: 1px solid rgba(0, 0, 0, 0.10);
    text-align: left;
    overflow: hidden;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.40);
    .box-shadow(1px 1px 1px rgba(0, 0, 0, 0.15));
    .border-radius(3px);
    .org-box-title{
    	text-align: center;
    	display: block;
    	font-size: 16px;
    	margin-bottom: 10px;
    	text-transform: uppercase;
    	color: #fff;
    }
    a{
    	width: 40%;
    	padding: 5px;
    	display: inline-block;
		*display: inline;
		zoom: 1;
		overflow: hidden;
		font-size: 13px;
		text-align: center;
    	&:hover{
          text-decoration: none;
          //.box-shadow(0 0 4px rgba(0, 0, 0, 0.30));
          .item-desc, .item-title{
            color: #000;
          }
        }	
        .item-image{
        	margin: 0;
	      // width: 52px;
	      // height: 52px;
	      text-align: center;
	      img{
	        border: 2px solid rgba(255, 255, 255, 0.70);
	        .border-radius(3px)
	      }
	    }
	    .item-desc{
	      text-transform: uppercase;
	      font-size: 12px;
	      color: #999;
	      display: block;
	    }
	    .item-title{
	    	text-align: center;
	      	color: #fff;
	      	text-shadow: none;
	    }
    }
}
#primaryNav li .org-box:hover {
	
}
#primaryNav li:last-child {
	background: url('../img/L1-right.png') center top no-repeat;
}
/*a:link:before,
a:visited:before {
	content: " "attr(href)" ";
	display: block;
	text-transform: uppercase;
	font-size: 10px;
	margin-bottom: 5px;
	word-wrap: break-word;
}*/
#primaryNav li .org-box:link:before,
#primaryNav li .org-box:visited:before {
	color: #78a9c0;
}

/* --------	Second Level --------- */

#primaryNav li li {
	width: 100%;
	clear: left;
	margin-top: 0;
	padding: 10px 0 0 0;
	background: url('../img/vertical-line.png') center bottom repeat-y;
}
#primaryNav li li .org-box {
	background-color: #6b6b6b;
	//border-color: #b8da83;
}
#primaryNav li li a:hover {
	//border-color: #94b75f;
	//background-color: #e7f1d7;
}
#primaryNav li li:first-child {
	padding-top: 30px;
}
#primaryNav li li:last-child {
	background: url('../img/vertical-line.png') center bottom repeat-y;
}
#primaryNav li li a:link:before,
#primaryNav li li a:visited:before {
	//color: #8faf5c;
}

/* --------	Third Level --------- */

#primaryNav li li ul {
	margin: 10px 0 0 0;
	width: 100%;
	float: right;
	padding: 9px 0 10px 0;
	background: #ffffff url('../img/L3-ul-top.png') center top no-repeat;
}
#primaryNav li li li {
	background: url('../img/L3-center.png') left center no-repeat;
	padding: 5px 0;
}
#primaryNav li li li .org-box {
	background-color: #888;
	//border-color: #e3ca4b;
	font-size: 12px;
	padding: 5px 0;
	width: 80%;
	float: right;
}

#primaryNav li li li:first-child {
	padding: 15px 0 5px 0;
	background: url('../img/L3-li-top.png') left center no-repeat;
}
#primaryNav li li li:last-child {
	background: url('../img/L3-bottom.png') left center no-repeat;
}
#primaryNav li li li .org-box:before,
#primaryNav li li li .org-box:before {
	color: #ccae14;
	//font-size: 9px;
}


/* 
 * Organograma
 */
#organograma-container{
  background: #fff;
  padding: 10px;
  border: 1px solid #ddd;
  .border-radius(3px);
  ul, ol{
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  #primaryNav{
    margin-top: 30px;
    li{
      
    }
    #home{
    }
  }
}