/*
==============================================================================
**
** SITE STRUCTURE/GLOBAL ELEMENTS
**
** SCOPE: 		GLOBAL
** REVISION:	0.3
** DATE:		03/21/11
** AUTHORS:		DUNCAN MCALESTER (DUNCAN@LAYER-51.COM)
** NOTES:		This file contains basic structural elements like columns
				footer, masthead and other globally used elements like 
				pagination and pods/asides. Theoretically this file should
				rarely need to be touched if using settings.less
				

** TODO:		

** REVISION HISTORY

				070411	- 	Converted to 320up 
				070511	- 	Back to 992 Down
				082711	- 	Converted to LESS
							Trying 320 and up
							
------------------------------------------------------------------------------







==============================================================================
*/
/* ==================== REQUIRED LIBRARIES DO NOT REMOVE ===================== */
/* Including lib.less - this template is intentionally left blank and does not need to be included  on the live server */
/* =========================================================================== */
html {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #ffffff url(/styles/img/bg.png) top left repeat-x;
}
body {
  height: 100%;
  padding: 0;
  position: relative;
  background: transparent url(/styles/img/masthead.png) -224px 54px no-repeat;
}
a,
a:link {
  color: #1784b6;
  text-decoration: none;
}
a:hover {
  color: #1784b6;
  text-decoration: underline;
}
a:visited {
  color: #1784b6;
}
a:active {
  color: #1784b6;
}
img {
  max-width: 100%;
}
/*
** CONTAINER BASE
**
** DESCRIPTION:	
** USAGE:		
** NOTES:		Container is typically used for…
**
*/
#container {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  padding: 0;
  overflow: auto;
  width: 90%;
  max-width: 1200px;
  min-width: 800px;
}
.container {
  position: relative;
  overflow: auto;
  margin: 0 auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  min-width: 800px;
}
.error_page {
  padding: 5%;
}
/*
** CONTENT BASE
**
** DESCRIPTION:	
** USAGE:		
** NOTES:
**
*/
#content {
  position: relative;
  z-index: 15;
  overflow: auto;
  margin: 0 auto;
  padding: 0 0 2.5em 0;
  width: 100%;
  min-height: 370px;
}
.ie7 #content,
.ie8 #content {
  margin-top: 12px !important;
}
/*
** ALERT
**
** DESCRIPTION:	
** USAGE:		
** NOTES:
**
*/
#alert {
  position: relative;
  z-index: 0;
  width: 100%;
  margin: 0 auto 2em auto;
  font-size: .825em;
}
#alert-title {
  padding: 0 1em;
  font-weight: bold;
  color: #fff !important;
}
#alert-message {
  display: block;
  font-weight: bold;
  padding: .725em 0 .725em 1em;
  margin-top: 1em 1em 0 0!important;
  padding: .85em 0;
  background: #1784b6;
  font-weight: normal;
  color: #fff;
}
#alert-message:hover {
  text-decoration: none;
}
/*
** Editable Area for Embedding Live Video
*/
#livestream {
  display: block;
  padding: .85em 0 .75em;
  font-weight: normal;
  max-width: 1200px;
  min-width: 800px;
  width: 90%;
  font-size: 0.825em;
  margin: 0 auto 1em;
}
/*
** NEWS TICKER
**
** DESCRIPTION:	
** USAGE:		
** NOTES:
**
*/
#newsticker ul {
  padding: 0;
  margin: 0 0;
}
#newsticker ul li {
  width: 90%;
  text-align: left;
  margin: 0 0 0 10%;
}
#newsticker-title {
  padding: 0 1em;
  font-weight: bold;
  color: #fff !important;
  float: left;
  width: auto;
}
#newsticker {
  display: block;
  font-weight: bold;
  margin-top: 1em 1em 0 0!important;
  padding: .85em 0 .75em;
  background: #1784b6;
  font-weight: normal;
  color: #fff;
  max-width: 1200px;
  min-width: 800px;
  width: 90%;
  font-size: 0.825em;
  margin: 0 auto 2em;
}
.newsticker-text:hover {
  text-decoration: none;
}
.newsticker-text {
  color: #ffffff !important;
  padding: 0.85em 0;
  font-size: .945em;
}
#newsticker .first {
  display: block;
}
#newsticker .hidden {
  display: none;
}
.ie7 #newsStories {
  list-style: none;
}
/*
** MAIN BASE
**
** DESCRIPTION:	
** USAGE:		
** NOTES:
**
*/
#main {
  position: relative;
  float: left;
  margin: auto 6% auto 22.5%;
  width: 47% !important;
}
.one-col #quicknav {
  display: none;
}
.one-col #asides {
  display: none;
}
.one-col #main {
  width: 100% !important;
  margin: auto 0;
}
.two-col #main {
  margin: 0;
  width: 69% !important;
}
.two-col #quicknav {
  display: none;
}
.quick-nav #main {
  margin: 0 0 0 22.5%;
  width: 77.5% !important;
}
.quick-nav #asides {
  background: none repeat scroll 0 0 #FFFFFF;
  display: block;
  float: left;
  margin: 2em 0 0 15.56em;
  padding: 1em;
  position: relative;
  width: 73.9% !important;
}
.quick-nav #asides aside,
.quick-nav #asides section {
  width: 48%;
  float: left;
  margin: 0 1% 1em;
}
/*
** TOOLBAR
**
** DESCRIPTION:	
** USAGE:		
** NOTES:
**
*/
#masthead {
  height: 118px;
  margin: 0 auto 4.5em;
  max-width: 1200px;
  min-width: 800px;
  padding: 0;
  position: relative;
  width: 90%;
}
#masthead > h1 {
  float: none;
}
#masthead #masthead {
  height: 118px;
  margin: 0 auto 4.5em;
  max-width: 1200px;
  min-width: 800px;
  padding: 0;
  position: relative;
  width: 90%;
}
#toolbar {
  color: #C3C6C7;
  display: block;
  font-family: PTSansNarrowRegular, sans-serif;
  height: 33px;
  margin: auto;
  max-width: 1200px;
  min-width: 800px;
  padding-top: 6px;
  position: relative;
  width: 90%;
}
#toolbar #sign-up {
  float: left;
}
#toolbar #site-search {
  display: block;
  float: right;
  font-family: PTSansNarrowRegular, sans-serif;
  height: auto;
  line-height: 1;
  margin: 0;
  overflow: hidden;
  padding: 0;
  width: 150px;
}
#toolbar #social-media {
  float: left;
  height: 33px;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  left: 30px;
  top: 0px;
  width: 200px;
}
#toolbar #social-media li {
  display: inline-block;
  margin: 0;
  padding: 0;
  text-indent: -999em;
}
#toolbar #social-media a {
  display: block;
  height: 27px;
  width: 27px;
  background: transparent url(/styles/img/social-media-head.png) 0 0 no-repeat;
}
#toolbar #social-media .twitter a {
  background-position: 0 -27px;
}
#toolbar #social-media .youtube a {
  background-position: 0 -56px;
}
#toolbar #social-media .flickr a {
  background-position: 0 -85px;
}
#toolbar #social-media .huffpo a {
  background-position: 0 -112px;
}
#toolbar #social-media .plus-one a {
  background-position: 0 -140px;
}
#toolbar #social-media .instagram a {
  background-position: 0 -167px;
}
#toolbar .facebook a:hover {
  background-color: #3b5998 !important;
}
#toolbar .twitter a:hover {
  background-color: #4a9cdd !important;
}
#toolbar .youtube a:hover {
  background-color: #cb322c !important;
}
#toolbar .flickr a:hover {
  background-color: #ffffff !important;
  background-position: -28px -85px !important;
}
#toolbar .huffpo a:hover {
  background-color: #007566 !important;
}
#toolbar .plus-one a:hover {
  background-color: #d3472b !important;
}
#toolbar .instagram a:hover {
  background-color: #886a4b !important;
}
.ie7 #toolbar {
  filter: none;
}
#sign-up {
  color: #c3c6c7;
}
#sign-up::before {
  content: "";
  display: block;
  float: left;
  height: 16px;
  width: 22px;
  margin: 5px 8px 0 0;
  background: transparent url(/styles/img/site-tools.png) 0 0 no-repeat;
}
#sign-up:hover {
  text-decoration: none;
  color: #1784b6;
}
/*
** EMAIL SIGNUP
**
** DESCRIPTION:	
** USAGE:		
** NOTES:
**
*/
#email-signup {
  border-top: 1px solid rgba(0, 0, 0, 0.13);
  background: #2f373b;
  overflow: hidden;
  height: 0;
}
#email-signup fieldset {
  background: none !important;
  margin: 1.5em auto auto auto;
  width: 90%;
  max-width: 1200px;
  min-width: 800px;
}
#email-signup ol {
  width: 89%;
  float: left;
}
#email-signup .button {
  font-size: 1.05em;
  margin: 1.15em 0 0 0;
  float: right;
}
#email-signup label {
  font-family: PTSansNarrowRegular, sans-serif;
  font-weight: normal;
  padding: 0;
  margin: 0;
  color: #c3c6c7 !important;
}
#email-signup input[type="text"] {
  border: none !important;
  background: #eee;
}
.ie7 #email-signup {
  display: none !important;
}
/*
** QUICK NAV
**
** DESCRIPTION:	
** USAGE:		
** NOTES:
**
*/
#quicknav {
  background: #eff2f3;
  position: absolute;
  float: left;
  width: 18%;
  overflow: show;
}
#quicknav ul {
  padding: 0;
  margin: 0;
}
#quicknav li {
  font-family: PTSansNarrowRegular, sans-serif;
  text-transform: uppercase;
  font-weight: normal !important;
  margin: 0;
  font-size: .95em;
}
#quicknav a {
  display: block;
  padding: 1em 1.5em;
}
#quicknav a:hover {
  text-decoration: none;
}
#quicknav .selected {
  position: relative;
  background: #1784b6;
}
#quicknav .selected a {
  color: #fff;
}
#quicknav .selected:after {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  width: 0;
  height: 0;
  border-top: 1.7em solid transparent;
  border-left: 0.85em solid #1784b6;
  border-bottom: 1.7em solid transparent;
}
/*
** ASIDES BASE
**
** DESCRIPTION:	
** USAGE:		
** NOTES:
**
*/
#asides {
  float: right;
  padding: 3.6em 0 0 0;
  width: 24%;
}
#asides aside,
#asides section,
#asides ul {
  background: none;
  list-style: none;
  display: block;
  margin: 0 0 2em 0;
}
/*
** FOOTER BASE
**
** DESCRIPTION:	
** USAGE:		
** NOTES:
**
*/
#site-footer {
  background: #a8b0b6;
  position: relative;
  margin: 0;
  padding: 2.5em 0 0 0;
}
#footer-links {
  clear: left !important;
  display: block;
  text-align: center;
  font-size: .775em !important;
  padding: 1em 0 1em 0;
  background: #232a2d;
  margin: 10px 0 0 0;
}
#footer-links li {
  color: #838889;
  display: inline;
}
#footer-links li::after {
  content: " | ";
}
#footer-links li:last-child::after {
  content: "";
}
#footer-links a {
  color: #838889;
}
/*
** 900
**
** DESCRIPTION:	Styles that apply to screens 900 pixels wide and down
** USAGE:		
** NOTES: Typically this means tablets users in portrait mode and desktop users smaller than average screens
**
*/
@media only screen and (max-width: 900px) {
  #container,
  .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  #content {
    width: 95%;
    min-width: 0;
    max-width: 95%;
  }
  #toolbar {
    font-size: .925em;
  }
  #toolbar,
  #email-signup fieldset {
    width: 95%;
    max-width: 95%;
    min-width: 95%;
    margin: 0 auto;
  }
  #email-signup fieldset {
    padding: 1em 0 0 0;
  }
  #email-signup .signup-header-email {
    width: 60%;
  }
  #email-signup .signup-header-zip {
    width: 35%;
    float: right;
  }
  #email-signup .signup-header-salutation {
    width: 30%;
    margin-left: 0;
  }
  #email-signup .signup-header-first-name {
    width: 33%;
  }
  #email-signup .signup-header-last-name {
    width: 33%;
  }
  #email-signup .button {
    font-size: .9em;
    width: 10%;
  }
  #newsticker {
    max-width: 95%;
    min-width: 0;
    width: 95% !important;
  }
}
/*
** 480
**
** DESCRIPTION:	Styles that apply to screens 480 and belows pixels wide and down
** USAGE:		
** NOTES: Typically this means mobile phones held in portrait
**
*/
@media only screen and (max-width: 600px) {
  body {
    background-position: -290px 54px;
  }
  #breadcrumbs {
    display: none !important;
  }
  #toolbar {
    display: none;
  }
  #quicknav {
    display: none;
  }
  #content {
    width: 90%;
    margin: 2em auto 2em auto;
  }
  #asides {
    font-size: 1em;
    float: none;
    padding-top: 0;
    margin: 2.5em 0 0 0 !important;
  }
  #main,
  #asides,
  .two-col #main,
  .quick-nav #main {
    overflow: auto;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
  }
  #newsticker {
    min-width: 0;
    width: 100%;
  }
  #newsticker ul {
    list-style: none;
    margin: 0;
    display: block;
  }
  #newsticker ul li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 10px;
  }
  #newsticker-title {
    display: none;
  }
}
