/*
	Copyright 2012 - Max Hacking - Hacking Networked Solutions

	This file is a part of the Hacking Networked Solutions Document Management System CSS Styles 

    The Hacking Networked Solutions Document Management System is free software: you can 
    redistribute it and/or modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    The Hacking Networked Solutions Document Management System is distributed in the hope
    that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
    of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
    License for more details.

    You should have received a copy of the GNU General Public License along with the
    Hacking Networked Solutions Document Management System.  If not, please refer to  
    <http://www.gnu.org/licenses/>.
*/

.dms-base-table
{
	margin: 0em;
	margin-bottom: 1em;
	border-width: 1px;
	border-style: solid;
	border-color: gray;
	border-top-width: 0;
	border-bottom-width: 0;
	font-family: monospace;
	text-align: center;
	clear: both;
}

.dms-base-table-right
{
	float: right;
	margin-left: 1em;
}

.dms-base-table-left
{
	float: left;
	margin-right: 1em;
}

.dms-base-table-head, .dms-base-table-foot
{
	width: 100%;
	background-color: gray;
	color: white;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}

.dms-base-table-head span, .dms-base-table-foot span
{
	margin: 0.5em;
}

.dms-base-table-table
{
	padding: 0.5em;	
}

.dms-base-table table
{
	border: none;
	margin-left: auto;
	margin-right: auto;
	border-collapse: collapse;
}

.dms-base-table .dms-base-table-hr-last
{
	border-bottom: 1px solid black;
}

.dms-base-table .dms-base-table-hr-last th
{
	padding-bottom: 0.25em;
}

.dms-base-table tr.first td
{
	padding-top: 0.25em;
}

.dms-base-table tr.odd
{
	background-color: #dddddd;
}

.dms-base-table tr td, .dms-base-table tr th
{
	padding-left: 0.5em;
	padding-right: 0.5em;
} 

.dms-base-table tr td, .dms-base-table tr th 
{
	border-right: 1px solid black;
}

.dms-base-table tr td.last, .dms-base-table tr th.last
{
	border-right: none;
}

.dms-base-table .left
{
	text-align: left;	
}

.dms-base-table .center
{
	text-align: center;
}
.dms-base-table .right
{
	text-align: right;
}