/*-- http://www.sohtanaka.com/web-design/examples/tabs/ */

ul.tabs {
	margin: 0;
	padding: 0;
	float: left;
	list-style: none;
	height: 50px; /*--Set height of tabs--*/
	width: 100%;
	z-index: 100;
	position:relative;

}
ul.tabs li {
	float: left;
	margin: 0;
	padding: 0;
	height: 50px; /*--Subtract 1px from the height of the unordered list--*/
	line-height:/*31px*/ 15px; /*--Vertically aligns the text within the tab--*/
	/*border: 1px solid #eee;*/
	/*border-left: none;
	margin-bottom: -3px; /*--Pull the list item down 1px--*/
	overflow: hidden;
	position: relative;
	width: 29%;
	border-bottom: none;
	margin-right: 2px;
	position:relative;
	z-index:10;
}


	
/*ul.tabs li:first-child, ul.tabs li:first-child a {border-left: none;}*/
ul.tabs li a {
	text-decoration: none;
	color: #fff;
	display: block;
	/*font-size: 1.2em;*/
	padding: 5px 10px 10px 30px;
	border: 1px solid #ccc; /*--Gives the bevel look with a 1px white border inside the list item--*/
	outline: none;
	border-bottom: none;
}

ul.tabs li a[href="#tab1"] {background-color: #F58026;}
ul.tabs li a[href="#tab2"] {background-color: #003579;}
ul.tabs li a[href="#tab3"] {background-color: #8DC63F;}

ul.tabs li a:hover {
	background: #e0e0e0;
	color: #666;
}
html ul.tabs li.active, html ul.tabs li.active a:hover  { /*--Makes sure that the active tab does not listen to the hover properties--*/
	 border-bottom: 1px solid #fff;
	 background: white;
	}
ul.tabs li.active a { background: none; color: #333;}

	
	/* ----------------- TAB CONTENT ----------------------*/
	
	
.tab_container{
border: 1px solid #ccc;

	overflow: hidden;
	clear: both;
/*	float: left; */
	margin: 0;
z-index: 1;
position:relative;
top: -1px;
     }
	 
*+html .tab_container {top: -4px;}
.tab_content {
	padding: 2%;
}

.tab_container .photo-grid {margin-left: 1%;}

.tab_content .photo-grid li {height: auto;}
.tab_content h3 {margin-bottom: .3%;}
.tab_content .dotted-border li {padding: 2% 1%;}