/********************************************************
 * responsive.css
 * Main CSS for IndustrialWebSite project.
 ********************************************************/
	

		
/********************************************************/
/********************************************************/
/* Styles added specifically for Industrial Timber (IT*)	
/* 030415 DougC: Added for Login page */
.HintText
{
    font-size: 12pt;
    font-style: italic;
}


/************************/
/* PAGE-SPECIFIC STYLES */

/* 030415 DougC: Added for MasterLoggedIn.master */
.MasterLoggedInPageContent_Transparent
{
    /*background-color: White; NONE */
    line-height: normal;
    margin: 2px 5px 2px 5px;
    width: 100%;
}
.MasterLoggedInPageContent_White
{
    background-color: White;
    line-height: normal;
    margin: 2px 5px 2px 5px;
    width: 100%;
}


/***************************/
/* CONTROL-SPECIFIC STYLES */

/** TEXT BOXES */
.ITtextbox
{
    font-size: 18px;
}		

/** BUTTONS **/
.ITButton
{
    Xbackground-color: #EEEEEE;
	background-color: #186939;
	color: White;
    font-size: 18px;
    font-weight: bold;
    padding: .3em;
}		

.ITButtonHeader
{
	position: relative;
	display: inline-block;
	background-color: #186939;
	color: White;
	text-decoration: none;
	border-radius: 8px;
	font-size: 12pt;
	font-weight: bold;
    padding: .3em .6em .3em .6em; /* top, right, bottom, left */
	outline: 0;
}

.ITButtonSmaller
{
	position: relative;
	display: inline-block;
	background-color: #186939;
	color: White;
	text-decoration: none;
	border-radius: 8px;
	font-size: 10pt;
	font-weight: bold;
    padding: .2em .4em .2em .4em; /* top, right, bottom, left */
	outline: 0;
}
.ITButton:hover, .ITButtonHeader:hover, .ITButtonSmaller:hover
{
	background: #0090c5;
}
.ITButton:disabled, .ITButtonHeader:disabled, .ITButtonSmaller:disabled
{
	background: #777777;
}


/* 030415 DougC: Added for Dashboard.aspx */
.Dashboard_ddlCustomers
{
    font-size: 14pt;
    font-weight: bold;
    border: 4px solid black;
}


/********************************************************/
/********************************************************/






/* -------------------------------------------------------------------------
 * responsive.css
 *
 * Inherited from: Simple Responsive Template at www.prowebdesign.ro.  Paid for license to use commericially.
 * 031615 DougC: Copied into IndustrialWebSite.
 */


/* -------------------------------------------------------------------------
BASE (MOBILE) SIZE (The Default Size)
These are the mobile styles. It's what people see on their phones.
Remember, keep it light: Speed is Important.
*/


/* typography */
body{
	color: #474747;
	font-family: sans-serif;
	font-size:.9em;
	font-weight:normal;
}
h1, h2, h3, h4, h5, h6{
	color:#333; 
	font-weight: normal;
	font-family: sans-serif;
	margin: 0; /* Force this to zero, or it appears you get browser default */
}
h1
{
    color: Green;
    font-size: 1.25em;
}
h2
{
    font-size: 1.2em;
}
h3
{
    font-size: 1.15em;
}
h4
{
    font-size: 1.1em;
}
h5
{
    font-size: 1.05em;
}
h6
{
    font-size: 1em;
}
 

/* links */
/* DEFAULT, FOR WHITE BACKGROUND: */
a, a:visited, a:active, a:hover
{
    color:Green;
    text-decoration: none;
}
a:hover
{
    color: Black;
    text-decoration: underline;
}

/* Box sizing. Awesome thing. Read about it here: http://www.w3schools.com/cssref/css3_pr_box-sizing.asp */
*{	box-sizing: border-box;
	-moz-box-sizing:border-box;}

/* 091014 ShawnO: Unfortunately box-sizing: Border-box causes problems with RadGrid popup form captions, so they need to use content-box */
.rgHeader
{
	box-sizing: content-box;
}

/* structure */   
.ContentWidthControl{
	/*width: 92%;  */
	margin: 0 auto;
	padding-left: .1em;
	padding-right: .1em;
}

/* For all Radio buttons... */
input[type=radio   ]:not(old) + label{
  margin-left:.3em; /* add some spacing between radio button and label */
  /* Note: use  line-height:1.5em; to vertical space them more, might be nice for touch use */
}


/* START -- Master header of all pages */
#master_very_top /* Only 1 per page, used in master page, for a line across the entire browser */
{
    height: 5px;
    border-top: 5px solid Green; /* todo! Should actually use called from AccentColor! */
}
#master_header_for_printing
{ /* This is the header that is displayed when printing. */
    display: none; /* Do NOT display if not printing. (Gets displayed when "@media print", see later in file. */
}
#master_header_mobile /* Only 1 per page, used in master page, the main header of the page */
{
    display: block;
    margin-top: 0px;
}
#master_header_large /* Only 1 per page, used in master page, the main header of the page */
{
    display: none;
}
#header_login_area_mobile
{
    background-color: #E1E6EE;
    padding: .7em;
}
#header_login_area_left_mobile
{
    float: left; 
}
#header_login_area_right_mobile
{
    float: right;
}
#header_testmessage_area_mobile
{
    color: Red;
}
header{ 
	padding-top: 0em;
}
#header_breadcrumb_area
{
    display: none; /* FOR MOBILE */
	background: #f3f3f3;
	border-top: 1px solid #e2e2e2;
	border-bottom: 1px solid #e2e2e2;
	font-family: sans-serif;
	font-size: 1.2em;
	padding-left: 10px;
	margin-bottom: 15px;
}

/* END -- Master header of all pages */



.flexslider{
display:block;
/*demo 1 slider theme*/	
margin: 0 0 60px; 
-webkit-border-radius: 4px; 
-moz-border-radius: 4px; 
-o-border-radius: 4px; 
border-radius: 4px; 
box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}


#content {  
	margin:10px 0;
}

aside { 
	margin:0px 40;
}

p{ margin:0 0 1.5em;}


/* RESPONSIVE IMAGES */
/* Note: These settings can cause problems in some situations, like showing the google maps image controls, a max-width: inherit; is necessary to fix that on those images. */
img{ max-width:100%; height:auto;}

img.NonResponsiveImage
{
    max-width: inherit;
}


/*----------------------
MAIN MENU
*/
/* FOR MOBILE MENU: RadPanelBar_MobileClarityMenu */

/*----------------------
SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR
*/
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-bottom:5px; /* small margin on small screens */
}

/* 122214 DougC: This was missing from the default css, that without media statement. */
.grid_1_nomargin,
.grid_2_nomargin,
.grid_3_nomargin,
.grid_4_nomargin,
.grid_5_nomargin,
.grid_6_nomargin,
.grid_7_nomargin,
.grid_8_nomargin,
.grid_9_nomargin,
.grid_10_nomargin,
.grid_11_nomargin,
.grid_12_nomargin {
}


/*colors and backgrounds*/
body{
	background:#fff;
}

/*FooterArea*/
footer{  
	color: Green;
	clear:both;
	font-size:80%;
	padding-top:30px;
	text-align: center;
}
footer ul{
	margin:0 0 0 8%;
	padding:0;
}
footer h1, footer h2, footer h3, footer h4{ 
	color:Green;
}
#FooterArea
{
	line-height: 2em;
}
#FooterArea a, #FooterArea a:visited, #FooterArea a:active, #FooterArea a:hover
{
    color: #474747;
    text-decoration:none;
}
#FooterArea a:hover
{
    color: White;
}
#FooterAreaLeft
{
}
#FooterAreaRight
{
    clear: both; 
    float: left;
    padding-top: 1.5em;
}

/* The base style for all buttons. */
.ButtonClass, .ButtonShorter, .ButtonDashboard, .ButtonAdmin
{
    background: Green;
	border-color: Green;
	border-radius: 5px; 
	color: White !important;
	font-family: sans-serif;
	margin-right: .2em;
	padding: .3em;
	text-align:center;
	text-decoration: none;
}
/* The base hover style for all buttons. */
.ButtonClass:hover, .ButtonShorter:hover, .ButtonDashboard:hover, .ButtonAdmin:hover
{
	background:#8dbc01;
	border-color:#8dbc01;
}
.ButtonClass:disabled, .ButtonShorter:disabled, .ButtonDashboard:disabled, .ButtonAdmin:disabled
{
	background:#3D4A5F;
	border-color:#3D4A5F;
	color:Gray;
}

/* ButtonShort is for Admin pages and other places where buttons should be small and less obvious. */
.ButtonShorter, .ButtonAdmin
{
    padding-top: .0em;
    padding-bottom: .0em;
}

/* ButtonDashboard adds margin and padding and width to provide consistency and good look on the Dashboard page. */
.ButtonDashboard
{
	margin-top: .2em;
	margin-bottom: .2em;
	padding-bottom: .04em;
	padding-left: .3em;
	padding-right: .3em;
	padding-top: .04em;
	width: 170px;
}

/* ButtonAdmin is for special Admin buttons that show up while someone is logged in. */
/* They are same as ButtonShorter, just different colors. */
.ButtonAdmin
{
    background: #CC9966;
	border-color: #CC9966;
}

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

.rightfloat{
	float:right;
}
.leftfloat{
	float:left;
}


/* Item Filter, on left of search pages */
.itemFilterHeader
{
	width: 100%;
	background-color: #f3f3f3;
	border: 1px solid #e2e2e2;
	text-align: center;
}
.itemFilterDetail
{
	width: 100%;
	background-color: #f3f3f3;
	border-bottom: 1px solid #e2e2e2;
	text-align: left;
	padding: 5px;
}

/* On Lookup pages, the search criteria: */
.LookupSectionHeader
{
    color: Green;
    font-weight:bold;
}




/*****************************************
 * Search Results, like LookupStyles.aspx 
 *****************************************/
/* The following div is necessary to force the image to be vertical-aligned at bottom, just above text, but centered. */
div.SearchResults_Container
{
    border-bottom: 1px solid #EEEEEE;
    min-height: 200px;
    text-align:center;
}
/* The following div is necessary in that 'relative' is required in a div before 'absolute' is used in next div. */
div.SearchResults_ImageContainer
{
    height: 150px; 
    position: relative;
}
/* The following div is necessary to force the image to be vertical-aligned at bottom, just above text, but centered. */
div.SearchResults_ImageAlignment
{
    position: absolute; 
    bottom: 0; 
    text-align:center; 
    width:100%;
}




/* --------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {
} /* END LARGER MOBILE DEVICES - 481px */


/* --------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------
LARGE DEVICES
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width: 920px) { /* Increase from 768px for breathing room */
.ContentWidthControl{
	max-width: 1200px; 
	margin: 0 auto;
}
#content {  
	float:left;
	width:65%;
}
#content.wide-content{
	float:none;
	width:100%;
}
aside { 
	float:left; /*right;*/
	width:30%;
}
#header_accent_area
{
	float:left;
	margin-top: -7px; /* Needed to accent mark is upper-aligned, no idea why this is needed? */
}
#master_header_mobile /* Only 1 per page, used in master page, the main header of the page */
{
    display: none;
}
#master_header_large /* Only 1 per page, used in master page, the main header of the page */
{
    display: block;
    margin-top: 0px;
}
#header_login_area_large
{
    background-color: #EEEEEE; 
    font-size: .8em; 
    float: right; 
    Xmin-width: 356px;
    padding-left: 2em; 
    padding-right: 2em; 
    padding-bottom: .4em;
    width: auto;
}
#header_login_area_left_large
{ /* Used for CuttingOrders */
    float: left; 
    padding-right: 1em;
    padding-top: 2px; /* Needed because of WhereToBuy image inside of #header_login_area_right_large  */
}
#header_login_area_middle_large
{ /* Used for Signin/Signout */
    float: left; 
    padding-right: 1em;
    padding-top: 2px; /* Needed because of WhereToBuy image inside of #header_login_area_right_large  */
}
#header_login_area_right_large
{ /* Used for WhereToBuy */
    float: left; 
}
.header_testmessage_area_large
{
    color: Red;
}
#header-search-area
{
    font-size: .8em; 
    float: right; 
    padding: .4em;
    width: 256px;
}
#header_menu_area_mobile
{
    background-color: Red;
    width: 100%;
}
#header_menu_area_large
{
    float: left;
    width: auto;
}
#header_breadcrumb_area{
    display: block; /* For Large */
}
#FooterAreaLeft
{
}
#FooterAreaRight
{
    clear: inherit;
    float: right;
    padding-top: 0px;
}




/*GRID*/
/*
 & Columns : 12 
 */
.grid_1 { width: 5%; }
.grid_2 { width: 13.333333333333%; }
.grid_3 { width: 21.666666666667%; }
.grid_4 { width: 30%; }
.grid_5 { width: 38.333333333333%; }
.grid_6 { width: 46.666666666667%; }
.grid_7 { width: 55%; }
.grid_8 { width: 63.333333333333%; }
.grid_9 { width: 71.666666666667%; }
.grid_10 { width: 80%; }
.grid_11 { width: 88.333333333333%; }
.grid_12 { width: 96.666666666667%; }

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-left: 1.6666666666667%;
	margin-right: 1.6666666666667%;
	float: left;
	display: block;
	margin-bottom:10px; /* larger on larger screens */
}

/* 082414 DougC: Need to support responsive columns without any pre-built-in margins, so we can design 100% of the width. */
/* Hint, set "padding" if you want space around your content. */
.grid_1_nomargin { width: 8.333333333333%; }
.grid_2_nomargin { width: 16.666666666666%; }
.grid_3_nomargin { width: 25%; }
.grid_4_nomargin { width: 33.333333333333%; }
.grid_5_nomargin { width: 41.666666666666%; }
.grid_6_nomargin { width: 50%; }
.grid_7_nomargin { width: 58.333333333333%; }
.grid_8_nomargin { width: 66.666666666666%; }
.grid_9_nomargin { width: 75%; }
.grid_10_nomargin { width: 83.333333333333%; }
.grid_11_nomargin { width: 88.333333333333%; }
.grid_12_nomargin { width: 91.666666666666%; }

.grid_1_nomargin,
.grid_2_nomargin,
.grid_3_nomargin,
.grid_4_nomargin,
.grid_5_nomargin,
.grid_6_nomargin,
.grid_7_nomargin,
.grid_8_nomargin,
.grid_9_nomargin,
.grid_10_nomargin,
.grid_11_nomargin,
.grid_12_nomargin {
	display: block;
	float: left;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
}

.alpha{margin-left:0px;}
.omega{margin-right:0px;}
.rightfloat{float:right;}
/* @
 * tinyfluidgrid.com
 & girlfriendnyc.com
 */
 


/*****************************************
 * div.SearchResults*, Used for formatting search results like in LookupStyles.aspx.
 *****************************************/
/* This media width uses same attributes with just a few overrides: */
div.SearchResults_Container
{
    border-bottom: 0px !important;
}

} /* END LARGER DEVICES - 920px */


/* --------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------
DESKTOP
    This is the average viewing window. So Desktops, Laptops, and
    in general anyone not viewing on a mobile device. Here's where
    you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px) {
} /* END DESKTOP - 1030px*/


/* --------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------
LARGEST VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {
} /* END LARGEST DEVICES - 1240px */



/* --------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5) {
} 

/* --------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 
 
}




/* -------------------------------------------------------------------------
PRINT STYLESHEET
*/
@media print {
	/* 121318 ShawnO: Removing this because it prevents color printing.
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  /* a[href]:after { content: " (" attr(href) ")"; } */
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
  /* -------- */
  /* 100114 DougC: Quickly create a TearSheet for printing styles.  But this helps on all pages.*
  /* Hide some specific named areas when printing */
  /* Note: want Logo to still show, so just hide the header stuff without the logo: */
  #master_header_for_printing { display: block !important; } /* This is just the centered logo. */
  #master_very_top { display: none !important; }
  #master_header_mobile { display: none !important; }
  #master_header_large { display: none !important; }
  footer { display: none !important; }
  .hideOnPrint { display: none !important; }
}
