/******************************************************************************
 * Keri Berman main stylesheet.
 * Note: Internet Explorer hacks are in a separate file (all_ie.css)
 * Author: Neal Krouse (krousen@comcast.net)
 *
 * Table of Contents for navigation:
 * _general
 *
 * _wrapper
 *
 * _branding
 *
 * _navigation
 *
 * _content
 *
 * _primary content
 *
 * _secondary content
 *
 * _ternary content
 *
 * _footer
 *
 ******************************************************************************/
 
 
/*-----------------------------------------------------------------------------
 *	SITE COLORS:
 *
 *	Brown:			#6B2E00
 *	Yellow:			#FF9
 *	Dk Grey:		#231f20
 *----------------------------------------------------------------------------*/
 
 
/* _general
------------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* no list-markers by default, since lists are used more often for semantics */
ul,ol { list-style:none }

/* link underlines tend to make hypertext less readable, 
   because underlines obscure the shapes of the lower halves of words */
:link,:visited { text-decoration:none }

/* whoever thought blue linked image borders were a good idea? */
a img,:link img,:visited img { border:none }

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clear:after, .container:after
{
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
.clear, .container { height: 1%; }
.clear, .container { display: block; }

html 
{ 
	/* Rule removes Page Shift by
	 * adding vertical scrollbars to every page */
	min-height: 100%; 
	margin-bottom: 1px; 
}

body
{
	font-family: georgia, serif;
	line-height: 1.5;
	/* Unitless for proper inheritance */
	background-color: #ff9;
}

/* This is where you set your desired font size. The line-height 
   and vertical margins are automatically calculated from this. 
   
   You have to add an extra calculation here because of IE, so that 
   all users may resize text manually in their browsers.
   
   The top one is for IE: The percentage is of 16px (default IE text size)
   10px is 62.5%, 12px is 75%, 13px is 81.25%, and so forth).
   The second value is what all other browsers see (the wanted font size). */
   
body   { font-size: 13px; }  /* Compliant browsers */

h1,h2,h3,h4,h5,h6 { 
	font-family: georgia, serif;
	font-weight: normal;
	clear: both; 
	line-height: 1.1;
	color: #231f20;
 }

h1 { font-size: 2em; }
h2 { font-size: 1.3em; margin-bottom: 1em; }
h3 { font-size: 1.2em; margin: 1em 0; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em; }
h6 { font-size: 1em; }


strong { font-weight: bold; }
em { font-style: italic; }
p { margin-bottom: 1em; }
.small { font-size: .8em; }
.large { font-size: 1.2em; }
a, a:link, a:visited
{
	text-decoration: underline;
	color: #231f20;
}
a:hover
{
	text-decoration: underline;
	color: red;
}

/* _wrapper
------------------------------------------------------------------------------*/
#wrapper
{
	width: 780px;
	margin: 0 auto;
}

#fashiongallery_page #wrapper,
#bridalgallery_page #wrapper,
#mitzvahgallery_page #wrapper
{
	width: 1200px;
}

#top
{
	position: absolute;
	top: 0;
	left: 0;
	width:1%;
	z-index: 100;
}

#skipnav
{
	position: relative;
	text-indent: -9000em;
	overflow: hidden;
}
 

/* _branding
------------------------------------------------------------------------------*/
#branding
{
	height: 77px;
	position: relative;
	background-image: url(keribermanlogo.gif);
	background-repeat: no-repeat;
	background-position: left 28px;
	border-bottom: 1px solid #231f20;
}

#branding h1
{
	position: absolute;
	width: 344px;
	height: 40px;
	left: 0;
	top: 28px;
}


#branding h1 a
{
	width: 344px;
	height: 40px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	text-indent: -9999em;
	overflow: hidden;
	outline: 0;
	text-decoration: none;
}





/* _navigation
------------------------------------------------------------------------------*/

#navigation
{
	float: right;
	display: inline;
	width: 172px;
	background-image: url(naviation.gif);
	background-repeat: no-repeat;
	background-position: left top;
	border: 4px double #231f20;
	margin-top: 26px;
}

#navigation li
{
	float: left;
	display: inline;
}
#navigation li a
{
	display: block;
	text-indent: -9999em;
	overflow: hidden;
	width: 172px;
}

#navigation #home
{
	height: 55px;
	background-image: url(naviation.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
#navigation #home:hover { background-position: right top; }

#navigation #biography
{
	height: 41px;
	background-image: url(naviation.gif);
	background-repeat: no-repeat;
	background-position: left -55px;
}
#navigation #biography:hover { background-position: right -55px; }

#navigation #experience
{
	height: 42px;
	background-image: url(naviation.gif);
	background-repeat: no-repeat;
	background-position: left -96px;
}
#navigation #experience:hover { background-position: right -96px; }


#navigation #gallery
{
	height: 42px;
	background-image: url(naviation.gif);
	background-repeat: no-repeat;
	background-position: left -138px;
}
#navigation #gallery:hover { background-position: right -138px; }


#navigation #beautytips
{
	height: 42px;
	background-image: url(naviation.gif);
	background-repeat: no-repeat;
	background-position: left -180px;
}
#navigation #beautytips:hover { background-position: right -180px; }


#navigation #testimonials
{
	height: 42px;
	background-image: url(naviation.gif);
	background-repeat: no-repeat;
	background-position: left -222px;
}
#navigation #testimonials:hover { background-position: right -222px; }


#navigation #press
{
	height: 42px;
	background-image: url(naviation.gif);
	background-repeat: no-repeat;
	background-position: left -264px;
}
#navigation #press:hover { background-position: right -264px; }


#navigation #contact
{
	height: 42px;
	background-image: url(naviation.gif);
	background-repeat: no-repeat;
	background-position: left -306px;
}
#navigation #contact:hover { background-position: right -306px; }


#navigation #links
{
	height: 44px;
	background-image: url(naviation.gif);
	background-repeat: no-repeat;
	background-position: left -348px;
}
#navigation #links:hover { background-position: right -348px; }

#navigation #cosmetics
{
	height: 54px;
	background-image: url(naviation.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}
#navigation #cosmetics:hover { background-position: right bottom; }



/* _content
------------------------------------------------------------------------------*/
#content
{
	margin-top: 0;
}



/* _primary content
------------------------------------------------------------------------------*/
#primary
{
	width: 593px;
	float: left;
	display: inline;
}

#fashiongallery_page #primary,
#bridalgallery_page #primary,
#mitzvahgallery_page #primary
{
	width: 1015px;
}

#fashiongallery_page #primary div,
#bridalgallery_page #primary div,
#mitzvahgallery_page #primary div,
#fashiongallery_page #primary p,
#bridalgallery_page #primary p,
#mitzvahgallery_page #primary p

{
	position: relative;
	top: -60px;
}

#fashiongallery_page #primary div#pic,
#bridalgallery_page #primary div#pic,
#mitzvahgallery_page #primary div#pic
{
	position: relative;
	top: 60px;
}

#primary .noclear { clear: none; }

#primary img { border: 1px solid #231f20; }
#primary img.noborder { border: none; }

#primary img.left
{
	float: left;
	margin-right: .5em;
}
#primary img.right
{
	float: right;
	margin-left: .5em;
}


#primary ul
{
	list-style-type: disc;
	list-style-position: outside;
	padding-left: 2em;
	margin-bottom: 1em;
}

#primary ul li
{
	margin: .5em 0;
}

#primary .press-item, #primary .quote
{
	margin-bottom: 3em;
}
#primary h1
{
	text-indent: -999em;
	overflow: hidden;
	height: 65px;
	background-repeat: no-repeat;
	background-position: right top;
}

#biography_page #primary h1 { background-image: url(biographyhead.gif); }
#beautytips_page #primary h1 { background-image: url(beautytipshead.gif); }
#contact_page #primary h1 { background-image: url(contactKerihead.gif); }
#links_page #primary h1 { background-image: url(linkshead.gif); }
#press_page #primary h1 { background-image: url(inTheNewshead.gif); }
#testimonials_page #primary h1 { background-image: url(testimonialshead.gif); }
#experience_page #primary h1 { background-image: url(experiencehead.gif); }
.experience #primary h1 { background-image: url(experiencehead.gif); }
#television_page #primary h1 { background-image: url(televisionHead.gif); }
#bridalgallery_page #primary h1 { background-image: url(bridalgalleryhead.gif); }
#magazinegallery_page #primary h1 { background-image: url(magazinegalleyhead.gif); }
#fashiongallery_page #primary h1 { background-image: url(fasiongalleryhead.gif); }
#mitzvahgallery_page #primary h1 { background-image: url(mitzvahgalleryhead.gif); }
#gallery_page #primary h1 { background-image: url(photoGalleryHead.gif); }
#cosmetics_page #primary h1 { background-image: url(CosmeticsHead.gif); }
#imgCol
{
	width: 202px;
	float: left;
	display: inline;
	text-align: right;
}

#textlinks
{
	width: 340px;
	float: right;
	display: inline;
}


/* Experience pages */
#experience_page #shell,
#gallery_page #shell
{ 
	margin-top: 0px;
	position: relative;
	top: -24px;
}



#experience_page #celebrities,
#experience_page #television,
#experience_page #magazine,
#experience_page #accomplishments
{
	width: 180px;
	height: 230px;
	margin: 0 1.5em 1em 0;
	float: left;
	display: inline;
	border: 1px solid #ff9;
	background-color: #ff9;
	text-align: center;
}

#experience_page #celebrities h2
{
	text-indent: -999em;
	overflow: hidden;
	height: 50px;
	background-image: url(experienceHeads-celebrities.gif);
	background-repeat: no-repeat;
	background-position: center top;
}
#experience_page #television h2
{
	text-indent: -999em;
	overflow: hidden;
	height: 50px;
	background-image: url(experienceHeads-television.gif);
	background-repeat: no-repeat;
	background-position: center top;
}
#experience_page #magazine h2
{
	text-indent: -999em;
	overflow: hidden;
	height: 50px;
	background-image: url(experienceHeads-magazines.gif);
	background-repeat: no-repeat;
	background-position: center top;
}
#experience_page #accomplishments h2
{
	text-indent: -999em;
	overflow: hidden;
	height: 50px;
	background-image: url(experienceHeads-accomplishments.gif);
	background-repeat: no-repeat;
	background-position: center top;
}

#gallery_page #bridal,
#gallery_page #magazine,
#gallery_page #fashion,
#gallery_page #barmitzvah
{
	width: 190px;
	height: 230px;
	margin: 0 1.5em 1em 0;
	float: left;
	display: inline;
	border: 1px solid #ff9;
	background-color: #ff9;
	text-align: center;
}


#gallery_page #bridal h2
{
	text-indent: -999em;
	overflow: hidden;
	height: 50px;
	background-image: url(galleryHeads-bridal.gif);
	background-repeat: no-repeat;
	background-position: center top;
}
#gallery_page #magazine h2
{
	text-indent: -999em;
	overflow: hidden;
	height: 50px;
	background-image: url(galleryHeads-magazine.gif);
	background-repeat: no-repeat;
	background-position: center top;
}
#gallery_page #fashion h2
{
	text-indent: -999em;
	overflow: hidden;
	height: 50px;
	background-image: url(galleryHeads-fashion.gif);
	background-repeat: no-repeat;
	background-position: center top;
}
#gallery_page #barmitzvah h2
{
	text-indent: -999em;
	overflow: hidden;
	height: 50px;
	background-image: url(galleryHeads-mitzvah.gif);
	background-repeat: no-repeat;
	background-position: center top;
}

/* Galleries */
.gallery #primary ul
{
	list-style-type: none;
	padding-left: 0;
	width: 435px;
	float: left;
	line-height: 1;
}

.gallery #primary ul li
{
	float: left;
	display: inline;
	margin: 0 .8em .8em 0;
}

.gallery #pic
{
	height: 800px;
	float: right;
	text-align: center;
	width: 580px;
	margin-top: -38px;
}


#imgCol
{
	margin-top: 3.2em;
}


/* add icons to links */
a[href ^="mailto:"]
{
	padding-right: 20px;
	background-image: url(icon_mailto.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

/*
a[href ^='http://'], a[href ^='https://']
{
	padding-right: 18px;
	background-image: url(icon_external.gif);
	background-repeat: no-repeat;
	background-position: right center;
}
*/

a[href $='.pdf']
{
	padding-right: 18px;
	background-image: url(icon_pdf.gif);
	background-repeat: no-repeat;
	background-position: right center;
}




