﻿	/*
		bbuttonbase	http://code.google.com/p/bbuttonbase/
		author: matt lohkamp | matt@mattlohkmamp.com | http://mattlohkamp.com
		licensed under Apache 2.0 - http://www.apache.org/licenses/LICENSE-2.0.html
		(tl;dr: modify and redistibute as you like, but give credit where credit is due.)
	*/

    /*
        bbuttonbase is an html pattern and css class that allows common ui elements (anchors, inputs, and buttons) to be presented consistently.
        
        this expects one of the following markup patterns:
            <span class="bbuttonbase"><input type="button" value="this is an input button" /></span>
			<span class="bbuttonbase"><input type="submit" value="this is an input submit" /></span>
			<span class="bbuttonbase"><input type="reset" value="this is an input reset" /></span>
			<span class="bbuttonbase"><input type="image" value="" src="" /></span>
			<button type="button" class="bbuttonbase"><span>this is a button</span></button>
			<a href="" class="bbuttonbase">this is a link</a>
			
		by default, these all appear as plain inline text.
    */

.bbuttonbase    {
    cursor:pointer;
    font-family:inherit;
    text-align:center;
	font:inherit;
	line-height:inherit;
	height:inherit;
}

button.bbuttonbase  {
    background:none;
    border:0px;
	color:inherit;
	padding:0px;
}

a.bbuttonbase   {
    text-decoration:inherit;
}

a.bbuttonbase:hover   {
    text-decoration:inherit;
}

a.bbuttonbase, .bbuttonbase input, .bbuttonbase span   {
    padding:0px;
    margin:0px;
    font-size:inherit;
    font-weight:inherit;
    color:inherit;
}

.bbuttonbase input, .bbuttonbase span   {
    background:none;
    border:0px;
    cursor:inherit;
    font:inherit;
    text-align:inherit;
	line-height:inherit;
	display:inline;
	height:inherit;
}

.bbuttonbase input[type="image"]	{
	height:auto;
}

/*	addresses mozilla's secret additional layout setting	*/

button::-moz-focus-inner { 
    border: 0;
    padding: 0;
}