/*
Theme Name: FGD
Theme URI: http://www.flatglassdistributors.com/
Description: Custom theme for Flat Glass Distributors.
Version: 1.0
Author:
Author URI:
Tags:
License:
License URI:
*/

html {
               margin: 0em;
               padding: 0em; 
}
body {
               font: 100% Verdana, Arial, Helvetica, sans-serif;
               background: rgb(250,250,250);
			   background: linear-gradient(180deg, rgba(250,250,250,1) 0%, rgba(205,205,205,1) 100%);
               margin: 0;
               /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
               text-align: center;
               /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #333; 
}
.twoColFixLtHdr #container {
               width: 1000px;
               margin: 0em auto 0px auto;
               text-align: left;
               position: relative;
}
.twoColFixLtHdr #header {
               padding: 0px 0px 0px 0px;
               /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
text-align: center;
}
#logo-head {
               height: 83px;
               margin: 0px;
               padding: 20px 0px 15px 0px; 
}
/*
Container for the menu. We set top and bottom borders only because the menu container
stretches the entire window width. Note that this container can go inside a fixed width
element that is centered on the page, if you so desire. It can even go inside a table cell.
It carries a background image for aesthetics.
*/
#navigation {
               margin: 0px auto 0 auto;
               padding: 0em;
               text-align: left;
               background: url(images/bg-navigation.png); 
}
#menuwrapper {
               margin: 0px 0em 0em 0px;
               padding: 0px 0px 0px 30px;
               position: relative;
               z-index: 99999; 
}
/*Clears the floated menu items.
Assigned to a BR tag placed just before
menuwrapper's closing DIV tag*/
.clearit {
               clear: both;
               height: 0;
               line-height: 0.0;
               font-size: 0; 
}
/*
p7menubar is the root UL and p7menubar ul applies to all the sub-menu ULs.
We set padding and margin to zero to eliminate all indentation, turn bullets off,
and set a font-family different from the global font-family declared for the
body element above. This sets font for just the menu. Do not add a font-size here.
*/
#p7menubar, #p7menubar ul {
               padding: 0;
               list-style: none;
               font-family: Verdana, Helvetica, Arial, sans-serif;
               font-weight: bold;
               margin: 0px 0px 0px 0px; 
}
/*
Root-Level Links.  Do not change the first two properties.
Adjust padding values to make the root links taller and to offset them
from the left and right edges of the link box. The border right creates a
separator between links. Font-size is set here and will apply to all menu levels.
Font color is set to light gray.
*/
#p7menubar a {
               display: block;
               text-decoration: none;
               padding: 5px 10px 5px 10px;
               font-size: 70%;
               color: #fff; 
}
/*
Class assigned to those Root-Level links that have associated Sub-Menus.
The top and bottom padding assigned this element must be the same as
that assigned to the p7menubar a element. The right padding is increased
to accomodate the display of background image depicting a downward
pointing arrow.
*/
#p7menubar a.trigger {
               padding: 5px 16px 5px 10px;
               background-image: url(images/p7PM_dark_south.gif);
               background-repeat: no-repeat;
               background-position: right center; 
}
/*
The Root-Level list items. Floating left allows
them to appear horizontally. Width is for IE5 Mac. The last rule in
this style sheet will set the width for this element to auto for all
other browsers - hiding it from IE5 Mac. The width is proportional.
As you add and edit root menu items, you will need to test this width
to ensure it is wide enough to accomodate all text.
*/
#p7menubar li {
               float: left;
               width: 9em; 
}
/*
Sets width for Sub-Menu box and the List Items inside - in proportional em units. 
This allows the sub-menu width to expand if users resize the text in their browsers.
*/
#p7menubar li ul, #p7menubar ul li {
               width: 12em; 
}
/*
The sub-menu links. We set color and turn off the right border, which
would otherwise be inherited from the root link rule. We set top and 
bottom padding less than the root items and increas the left padding
to indent the sub-menu links a small amount in from the root links.
*/
#p7menubar ul li a {
               color: #002d55;
               border-right: 0;
               padding: 3px 12px 3px 16px; 
}
/*
Sub-Menu Unordered Lists describes each dropdown sub-menu grouping. 
Positioned Absolutely to allow them to appear below their root trigger.
Set to display none to hide them until trigger is moused over.
Background Color must be set or problems will be encountered in MSIE.
Right and bottom borders are set to simulate a raised look.
A gradient background image is assigned.
*/
#p7menubar li ul {
               position: absolute;
               display: none;
               border-top: 1px solid #7a023b;
               border-left: 1px solid #7a023b;
               border-right: 1px solid #7a023b;
               border-bottom: 1px solid #7a023b;
               background: #FFFFFF url(images/p7exp_mgrad.jpg) repeat-x center -25px; 
}
/*
Changes the Text color and background color when the Root-Level
menu items are moused over. The second selector sets color and background
when Root-Level items are accessed with the keyboard tab key. The third
selector sets an active state to support keyboard access in MSIE. The fourth 
selector is assigned to IE5 and IE6 Windows via the P7_ExpMenu script.
Note that IE7 supports hover on elements other than links and so behaves
like Firefox, Opera, and Safari - making the menu operable even if JavaScript
is not enabled.
*/
#p7menubar li:hover a, #p7menubar a:focus,
#p7menubar a:active, #p7menubar li.p7hvr a {
               color: #ffffff;
               background: #7a023b; 
}
/*
Set the Sub-Menu UL to be visible when its associated
Root-Level link is moused over. The second selector is 
assigned to IE5 and IE6 via the P7_ExpMenu script.
*/
#p7menubar li:hover ul, #p7menubar li.p7hvr ul {
               display: block; 
}
/*
Sets the Text color of the Sub-Level links when the Root-Level
menu items are moused over. The second selector is 
assigned to IE5 and IE6 via the P7_ExpMenu script.
The color set should march the normal Sub-Level link color
in the rule: #p7menubar ul li a. The background color must be
transparent to allow the underlying gradient background on the UL
to show through.
*/
#p7menubar li:hover ul a, #p7menubar li.p7hvr ul a {
               color: #002d55;
               background-color: transparent; 
}
/*
The normal hover class for Sub-Level links. The Important directive
is required for older browsers. We set a background color, which shows
over the gradient background. We set text color to white.
*/
#p7menubar ul a:hover {
               color: #ffffff!important;
               background: #7a023b!important; 
}
/* The single backslash \ character inside this comment
causes IE5 Mac to ignore the following rule, which allows other
browsers to render top-level menu items to their natural width.
Do not edit this rule in any way. */
#p7menubar li {
               width: auto; 
}
#mainphoto {
               margin: 0px;
               padding: 0px;
               position: relative;
               height: 266px; 
}
.twoColFixLtHdr #contentwrapper {
               border-left: 1px #515151 solid;
               border-right: 1px #515151 solid;
               border-top: none;
               border-bottom: none;
               background: #fff; 
}
#mainphoto .caption {
               color: #fff;
               text-align: left;
               margin: 0px 0px 0px 0px;
               padding: 0px 20px 0px 20px;
               position: absolute;
               top: 235px;
               left: 0px;
}
#foot-top {
               clear: both; 
}
.twoColFixLtHdr #sidebar1 {
               float: left;
               /* since this element is floated, a width must be given */
	width: 220px;
               /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #fff;
               /* the background color will be displayed for the length of the content in the column, but no further */
	margin: 0;
               padding: 51px 0px 20px 0px; 
}
#sidebar1 h1 {
               color: #002d55;
               font: bold 21px Verdana, Helvetica, Arial, sans-serif;
               letter-spacing: -.05em;
               padding: 0em;
               margin: 0px 0px 8px 18px; 
}
#sidebar1 h2 {
               color: #002d55;
               font: bold 15px Verdana, Helvetica, Arial, sans-serif;
               letter-spacing: -.05em;
               padding: 0em;
               margin: 0px 0px 2px 18px; 
}
#sidebar1 ul {
               padding: 0;
               list-style-type: none;
               margin: 0em 0em 2em 3px; 
}
#sidebar1 a {
               display: block;
               color: #002d55;
               background-color: #ffffff;
               padding: 5px 10px 5px 10px;
               text-decoration: none;
               font: bold 75% Verdana, Helvetica, Arial, sans-serif; 
}
#sidebar1 a:hover {
               background: #7a023b;
               color: #fff; 
}
.twoColFixLtHdr #sidebar2 {
               float: right;
               /* since this element is floated, a width must be given */
	width: 166px;
               /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #7a023b url(images/bg-sidebar2.jpg) no-repeat left bottom;
               /* the background color will be displayed for the length of the content in the column, but no further */
	margin: 39px 20px 0px 0px;
               padding: 0px 0px 15px 0px; 
}
#sidebar2 h1 {
               color: #fff;
               font: bold 15px Verdana, Helvetica, Arial, sans-serif;
               letter-spacing: -.05em;
               margin: 0px 0px 0px 0px;
               padding: 10px 0px 8px 0px;
               background: url(images/bg-sidebar2-h2.jpg) no-repeat top left;
               text-align: center; 
}
#sidebar2 p {
               color: #fff;
               font: 80%/105% Verdana, Helvetica, Arial, sans-serif;
               margin: 0em;
               padding: 2px 5px 10px 12px; 
}
.twoColFixLtHdr #mainContent {
               margin: 0px 0px 0px 255px;
               /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	/* remember that padding is the space inside the div box and margin is the space outside the div box */
padding: 30px 20px 15px 0px; 
}
.twoColFixLtHdr #mainContent-sidebar {
               margin: 0px 186px 0px 245px;
               /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	/* remember that padding is the space inside the div box and margin is the space outside the div box */
padding: 0px 0px 15px 0px; 
}
h1 {
               color: #7a023b;
               font: bold 35px Verdana, Helvetica, Arial, sans-serif;
               letter-spacing: -.08em;
               padding: 0em;
               margin: 0px 0px 5px 0px; 
}
hr {
               padding: 0em;
               margin: .1em 0em 1em 0em;
               border: 2px solid #7a023b;
               color: #7a023b; 
}
p {
               color: #333;
               font: 100%/140% Verdana, Helvetica, Arial, sans-serif;
               margin: 0em;
               padding: 0px 30px 10px 0px; 
}
h3 a:link, h3 a:visited, p a:link, p a:visited {
               color:#002d55;
               text-decoration: underline; 
}
h3 a:hover, h3 a:active, p a:hover, p a:active {
               color:#7a023b;
               text-decoration: underline; 
}
#ul-list {
               padding: 0em 0em .6em 2.5em;
               color: #1e2b57;
               font: bold 100%/140% Verdana, Helvetica, Arial, sans-serif;
               margin: 0em; 
}
#ul-list li {
               list-style-type: square;
               list-style-position: outside;
               padding: 0 2em .6em 0; 
}
#ul-list li #ul-list {
               color: #1e2b57;
               padding: .6em 0em 0em 2.5em;
               margin: 0em;
               font: 100%/140% Verdana, Helvetica, Arial, sans-serif; 
}
#ul-list li #ul-list li {
               list-style-type: square;
               list-style-position: outside;
               padding: 0 2em .4em 0; 
}
.container {
               width: 100%;
               margin: 10px auto; 
}
ul.tabs {
               margin: 0;
               padding: 0;
               float: left;
               list-style: none;
               height: 32px;
               border-bottom: 1px solid #999;
               border-left: 1px solid #999;
               width: 100%; 
}
ul.tabs li {
               float: left;
               margin: 0;
               padding: 0;
               height: 31px;
               line-height: 31px;
               border: 1px solid #999;
               border-left: none;
               margin-bottom: -1px;
               background: #e0e0e0;
               overflow: hidden;
               position: relative; 
}
ul.tabs li a {
               text-decoration: none;
               color: #002d55;
               display: block;
               font-size: 75%;
               padding: 0 20px;
               border: 1px solid #fff;
               outline: none;
               font-weight: bold;
               text-transform: uppercase; 
}
ul.tabs li a:hover {
               background: #ccc; 
}
html ul.tabs li.active, html ul.tabs li.active a:hover {
               background: #fff;
               border-bottom: 1px solid #fff; 
}
.tab_container {
               border: 1px solid #999;
               border-top: none;
               clear: both;
               float: left;
               width: 100%;
               background: #fff;
               -moz-border-radius-bottomright: 5px;
               -khtml-border-radius-bottomright: 5px;
               -webkit-border-bottom-right-radius: 5px;
               -moz-border-radius-bottomleft: 5px;
               -khtml-border-radius-bottomleft: 5px;
               -webkit-border-bottom-left-radius: 5px; 
}
.tab_content {
               padding: 0 15px 15px 15px;
               font-size: 100%; 
}
.tab_content h2 {
               font-weight: normal;
               padding-bottom: 10px;
               border-bottom: 1px #7a023b dashed;
               font-size: 150%; 
}
.tab_content h3 a {
               color: #7a023b; 
}
.tab_content img {
               float: right;
               margin: 0 0px 10px 10px;
               padding: 0px; 
}
.btn-quote {
               height: 65px;
               width: 176px;
               background: url(images/btn-quote.png) no-repeat left -69px;
               float: right;
               margin: 0;
               padding: 0px;
               display: block; 
}
.btn-quote:hover {
               background: url(images/btn-quote.png) no-repeat left 0px; 
}
.btn-quote span {
               margin: 0px 0px 0px -3000px; 
}
.twoColFixLtHdr #footer {
               width: 1000px;
              margin: 0em auto 0px auto;
              padding: 0px 0px 0px 0px;
              text-align: center;
}
#footer h4 {
               color: #7a023b;
               font: bold 25px Verdana, Helvetica, Arial, sans-serif;
               letter-spacing: -.05em;
               padding: 30px 0 0 0 ;
               margin: 0px 0px 25px 0px; 
}
#links {
               width: 908px;
               margin: 0em auto 0em auto;
               padding-top: 5px;
               background: url(images/bg-links.png) no-repeat;
               min-height: 200px; 
}
#wrap {
               float: left;
               width: 135px;
               text-align: left;
               margin: 0px 0px 0px 15px;
               border-right: 1px #666 solid;
               padding: 10px 18px 10px 0px; 
}
#wrap h5 {
               color: #002d55;
               font: bold 12px Verdana, Helvetica, Arial, sans-serif;
               letter-spacing: -.03em;
               padding: 0em;
               margin: 0px 0px 4px 18px; 
}
#wrap ul {
               padding: 0;
               list-style-type: none;
               margin: 0em 0em 0em 10px; 
}
#wrap a {
               display: block;
               color: #666;
               padding: 0px 0px 5px 15px;
               text-decoration: none;
               font: bold 10px Verdana, Helvetica, Arial, sans-serif; 
}
#wrap a:hover {
               color: #000; 
}
.legal {
               margin: 0;
               padding: 0 0 20px 0;
               color: #000;
               font: 70% Verdana, Helvetica, Arial, sans-serif; 
}
#pic-border {
               border: 2px #002d55 solid;
               margin: 10px 0 10px 0; 
}
.fltrt {
               /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
               margin-left: 8px; 
}
.fltlft {
               /* this class can be used to float an element left in your page */
	float: left;
               margin-right: 8px; 
}
.center {
               margin: 0 auto 0 auto;
}
.clearfloat {
               clear:both;
               height:0;
               line-height: 0px; 
}
a img {
               border: none; 
}
form {
               padding: 0em;
               margin: 0em 0em 1em 0em; 
}
/*label {
               width: 12em;
               float: left;
               text-align: right;
               display: block;
               font: 1em/1.3em Verdana, Helvetica, Arial, sans-serif;
               color: #333;
               margin: .3em 0.5em 0em 0em; 
}*/
input {
               font: 1em/1.3em Verdana, Helvetica, Arial, sans-serif;
               color: #000000;
               background: #cccccc;
               border: 1px solid #000000;
               margin: 0em;
               padding: 4px; 
}
.check {
               color: #000000;
               background: #cccccc;
               margin: 0em;
               width: 1em; 
}
textarea {
               font: 1em/1.3em Verdana, Helvetica, Arial, sans-serif;
               color: #000000;
               background: #cccccc;
               border: 1px solid #000000;
               margin: 0em;
               width: 400px;
               padding: 4px; 
}
.submit {
               background: #002d55;
               color: #ffffff;
               border: 1px #333 solid;
               font: .85em Verdana, Helvetica, Arial, sans-serif;
               padding: 4px;
}
.submit:hover {
               background: #7a023b; 
}
img.alignleft {
	margin: 0 7px 2px 0;
}
img.alignright {
	margin: 0 0 2px 7px;
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}
li.links {
	margin-bottom: 25px;
	list-style-type: none;
	text-align: center;
}
.gallery.default img.noborder {
	border: none;
}