@charset "utf-8";
/* CSS Document */

html {
	background-color: transparent;
}
body  {
	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: #394A58;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	background-image: url(../images/background.png);
	background-position: center top;
	background-repeat: no-repeat;
}
h1, h2, h3, h4 {
	font-weight: bold;
}

strong {
	font-weight: bold;
}

em {
	font-style:italic;
}

#mainContent ul li {
	list-style: disc;
}

#mainContent li {
	list-style: decimal;
	list-style-position: outside;
	margin-left: 30px;
}

blockquote {
	background-color: white;
	padding: 5px;
}
	
/* Tips for Elastic layouts 
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/
.thrColElsHdr #container {
	width: 50em;
	margin: 0 auto;
	text-align: left; /* this overrides the text-align: center on the body element. */
	font-family: Arial, Helvetica, sans-serif;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: 0;
	border-right-style: 0;
	border-bottom-style: 0;
	border-left-style: 0;
} 
.thrColElsHdr #header_fill {
	width: 100%;
	height: 50px;
}

.thrColElsHdr #header {
	padding: 0;
	margin-bottom: 31px;
	color: #FFFFFF;
	border: 1px solid #772432;
} 
.thrColElsHdr #header h1 {
	margin: 0;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 0px;
	padding-left: 0;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: thin;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-right-color: #FFFFFF;
	border-bottom-color: #8B1713;
	border-left-color: #FFFFFF;
	top: 80px;
}

/* Tips for sidebar1:
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width. 
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColElsHdr #sidebar1 p" rule.
*/
.thrColElsHdr #sidebar1 {
	float: left;
	width: 9em;
	background-repeat: no-repeat;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
	color: #8B1713;
}
.thrColElsHdr #sidebar2 {
	float: right;
	/*width: 11em; *//* the background color will be displayed for the length of the content in the column, but no further */
	/* top and bottom padding create visual space within this div */
	/*padding-left: 40px;*/
}

/* Line on top of right-hand images */
#sidebar2 img {
	border-style: solid;
	border-color:#8B1713;
	border-width: 0px 0px 0px 0px;
}

.thrColElsHdr #sidebar1 h3, .thrColElsHdr #sidebar1 p, .thrColElsHdr #sidebar2 p, .thrColElsHdr #sidebar2 h3 {
	margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 10px;
	color: #FFFFFF;
}

/* Tips for mainContent:
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
*/
.thrColElsHdr #mainContent {
	top: 0px;
	padding: 0px;
	margin-top: 0px;
	margin-right: 13em;
	margin-bottom: 0;
	margin-left: 11em;
	color: #394A58;
}

#mainContent {
	line-height: 130%;
	font-size: 90%;
	text-align: left;
} 
#mainContent h1 {
	margin-top: 20px;
	margin-bottom: 8px; 
}

#mainContent h2 {
	margin-top: 20px;
	margin-bottom: 8px; 
	font-size: 16px;
}

#mainContent p {
	margin-top: 8px;
}

.thrColElsHdr #footer {
	padding: 0px;
	margin-top: 31px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #772432;
} 
.thrColElsHdr #footer div {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

#footer td {
	padding: 10px 0px;
	text-align:center;
}

/* Miscellaneous classes for reuse */
.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;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
.style1 {
	color: #8B1713;
	font-size: 10pt;
}

a:link {
	color: #394A58;
}
a:visited {
	color: #394A58;
}
a:hover {
	color: #772432;
}
a:active {
	color: #772432;
}
.style6 {
	font-size: 12px
}
.page_heading {
	font-size: large;
}

a img {
	border: 0px;
}

a img.product_icons {
	margin-left: 6px;
	margin-right: 6px;
}

#product_grid {
	float: left;
	width: 97%;
}

#product_grid h2 {
	clear: left;
	width: 100%;
	border-bottom: solid 1px #772432; 
	padding-bottom: 9px;
	font-size: 17px;
}

#product_grid #header_logo {
	display: block;
}

#product_grid #header_illustration {
	margin-top: -40px;
}

#product_grid .header_text {
	float: left; 
	padding: 15px 0px;
	padding-right: 0px;
	width: 100%;
}

#product_grid .product_info {
	border: 1px;
	border-style: solid;
	border-color: #772432;
	width: 180px; /* 204 is current max */
	margin-bottom: 20px;
	background-color: white;
	padding: 5px;
	height: 75px;
	float: left;
}

#product_grid .product_info_padding {
	width: 23px;
	height: 90px;
	float: left;
}

#product_grid .product_info .name {
	width: 70%;
	font-size:12px;
	line-height:1.3;
}

#product_grid .header_text a {
	text-decoration: underline;
}

#product_grid a {
	text-decoration: none;
}


#product_grid .product_info .icons {
	float: left;
}

.product_info {
	background-position: bottom left;
	background-repeat: no-repeat;
	background-color: white;
}

/** Navigation **/

/* not selected elements look like this */
#nav {
	margin: 0;
	padding: 0;
	list-style-type: none;
	width: 90%;
	float: left; /* Contain floated list items */
	color: #394A58;
}

#nav li {
	margin: 0;
	padding: 0;
	float: left; /* This corrects the */
	width: 100%;
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 0px;
	border-left-width: 1px;
	margin-top: 1em;
}

#nav li.first {
	margin-top: 0px;
}

#nav a {
	text-decoration: none;
	line-height: 1.2;
}

/* Child menu items */
#nav .sub_nav {
	margin: 0;
	padding: 0 0;
	font-size: smaller;
	line-height: normal;
}

#nav ul.sub_nav li {
	margin-top: 2px;
	margin-bottom: 2px;
	list-style-type: none;
}

#nav a:hover {
	color:772432;
}

#nav .subnav li a {
	background: #B46567;
}

#nav .facebook {
	/* display: none; */
}

/* highlight currently active page, based on id value in body element */
#body_about_eastport #nav_about_eastport a,
#body_products #nav_products a,
#body_private_label #nav_private_label a,
#body_eastport_care #nav_eastport_care a,
#body_contact #nav_contact a,
#body_links #nav_links a
{
	color: #772432; /* text color for active page */
	text-decoration: underline;
}

#nav #nav_products_sub a,
#nav #nav_eastport_care_sub a {
	color: #394A58;
	text-decoration: none;
}

#body_products #nav_products_sub {
	display: inline;
}

/* Submenu links */
#nav .sub_nav a {
	color: #51626F;
}
#nav .sub_nav a:hover {
	color: #772432;
}


/* Sub menu item background highlighting */
#body_products .page_products_smartcare #nav_products_smartcare a,
#body_products .page_products_smartclean #nav_products_smartclean a,
#body_products .page_products_smartkids #nav_products_smartkids a,
#body_products .page_products_smartwipes #nav_products_smartwipes a,
#body_products .page_products_smartzip #nav_products_smartzip a,
#body_products .page_private_label #nav_products_private_label a,
#body_eastport_care .page_working_conditions #nav_eastport_care_conditions a,
#body_eastport_care .page_environment #nav_eastport_care_environment a,
#body_eastport_care .page_community #nav_eastport_care_community a,
#body_eastport_care .page_Forbrugerdatablad #nav_eastport_care_Forbrugerdatablad a
{
	/*background-color: #739600; */
	color: #772432;
	font-weight: bold;
		text-decoration: underline;

}


/* Hide right sidebar on frontpage and product pages */
#front_page #sidebar2,
#body_products #sidebar2 {
	display: none;
}
/* Set less margin on the right for the front page and product pages (otherwise sidebar space still reserved) */
#front_page #mainContent,
#body_products #mainContent {
	margin-right: 0px;
}

/* use a semi-transparent image for the overlay */
#overlay {
	background-image: url(../images/overlay/popin_background.png); 
	color: #efefef;
	height: 450px;
}

/* container for external content. uses vertical scrollbar, if needed */
div.contentWrap {
	height: 550px;
	overflow-y: auto;
}

/* POPIN css */
#popin_container { 
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	padding-top: 25px;
	text-align: left; /* this overrides the text-align: center on the body element. */
} 

#popin_container #mainContent {
	margin-right: 30px;
}

#popin_container #mainContent h3 {
	font-size: 18px;
}

/* Tips for sidebar1:
1. Since we are working in relative units, it's best not to use padding on the sidebar. It will be added to the overall width for standards compliant browsers creating an unknown actual width. 
2. Since em units are used for the sidebar value, be aware that its width will vary with different default text sizes.
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColHybLt #sidebar1 p" rule.
*/
.twoColHybLt #sidebar1 {
	float: left; 
	width: 20em; /* since this element is floated, a width must be given */
	padding-left: 20px; 
}
.twoColHybLt #sidebar1 h3, .twoColHybLt #sidebar1 p {
	margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 10px;
}

/* Tips for mainContent:
1. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
2. Be aware it is possible to cause float drop (the dropping of the non-floated mainContent area below the sidebar) if an element wider than it can contain is placed within the mainContent div. WIth a hybrid layout (percentage-based overall width with em-based sidebar), it may not be possible to calculate the exact width available. If the user's text size is larger than average, you will have a wider sidebar div and thus, less room in the mainContent div. You should be aware of this limitation - especially if the client is adding content with Contribute.
3. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This may help avoid several IE-specific bugs.
*/
.twoColHybLt #mainContent { 
	margin: 0 20px 0 343px; /* the right margin can be given in percentages or pixels. It creates the space down the right side of the page. */
}

/* OVERLAY PLAIN CSS */

/* the overlayed element */
div.overlay {
	
	/* dimensions after the growing animation finishes  */
	width:700px;
	height:450px;
	
	/* initially overlay is hidden */
	display:none;
	
	/* some padding to layout nested elements nicely  */
	padding:15px;
}

/* default close button positioned on upper right corner */
div.overlay div.close {
	background-image:url(../images/overlay/close.png);
	position:absolute;
	right:5px;
	top:5px;
	cursor:pointer;
	height:35px;
	width:35px;
}

table.top-aligned td {
	vertical-align: top;
}

