/*
==============================================================================
**
** HOME STYLES
**
** SCOPE: 		HOME
** REVISION:	0.1
** DATE:		03/21/11
** AUTHORS:		DUNCAN MCALESTER (DUNCAN@LAYER-51.COM)

** USAGE:		The body tag for this section will have and ID of "home"

** NOTES:
				
** TODO:		Connect up LESS variables

** REVISION HISTORY
------------------------------------------------------------------------------






==============================================================================
*/
/* ==================== 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 */
/* =========================================================================== */
#home #container {
  width: 100%;
  max-width: 100%;
}
#home #content {
  padding: 0;
}
#home #alert {
  width: 90%;
  max-width: 1200px;
  min-width: 800px;
}
#media_panel img {
  float: left;
  width: 120px;
}
#media_panel time {
  display: block;
  margin: 0 2% 2%;
}
#featured-area {
  overflow: hidden;
}
#featured-area > article {
  overflow: hidden;
  position: relative;
  width: 61.5%;
  height: 470px;
  background: #f0f0f0;
  float: left;
  border: 7px solid #f0f0f0;
}
#featured-area > article h1 {
  font-family: PTSansNarrowRegular, sans-serif;
  font-weight: normal;
  font-size: 3.1em;
  line-height: .9;
  color: #fff;
  margin-bottom: .1em;
  text-shadow: 0px 0px 45px #000;
}
#featured-area > article h2,
#featured-area > article p {
  /*display: none;*/

  margin: 0;
  border: none;
  padding: 0;
  color: #fff;
  font-size: 1.1em;
  line-height: 1.1em;
}
#featured-area > article img {
  max-width: 800px;
}
#featured-area > article header {
  display: block;
  background: transparent url(/styles/img/headline.png) bottom left repeat-x;
  bottom: 0;
  left: 0;
  padding: 2.5% 5% 2.5% 5%;
  min-height: 20%;
  width: 90%;
  position: absolute;
}
#featured-area ul {
  padding: 0;
  margin: 0;
  width: 36.0%;
  float: left;
  height: 470px;
  list-style: none;
}
#featured-area ul li {
  overflow: hidden;
  height: 100px;
  display: block;
  padding: 10px 10px 12px 0;
  -webkit-transition: background ease-out 0.4333s;
  -moz-transition: background ease-out 0.4333s;
  -o-transition: background ease-out 0.4333s;
  transition: background ease-out 0.4333s;
}
#featured-area ul li:hover,
#featured-area ul li.active {
  background: #f0f0f0;
}
#featured-area ul article {
  cursor: pointer;
  padding: 0 10px;
  width: 100%;
}
#featured-area ul article h1 {
  font-family: PTSansNarrowRegular, sans-serif;
  font-weight: normal;
  font-size: 1.2em;
  margin-bottom: .1em;
}
#featured-area ul article h1 {
  color: #1784b6 !important;
}
#featured-area ul article p {
  line-height: 1.15;
  font-size: .8em;
  color: #666;
}
#featured-area ul article img {
  margin-left: 8%;
  max-width: 23.5%;
  float: left;
}
#featured-area ul article header {
  float: right;
  width: 54%;
  padding: 0 1em 1em 1.5em;
}
#bottom {
  width: 100%;
  overflow: auto;
  border-top: 3px solid #d7dada;
  background: #f6f7f6;
  margin: 3.5em 0 0 0;
  padding: 0 0 3.5em 0;
}
#bottom h1 {
  font-family: PTSansNarrowBold, sans-serif;
  font-size: 25px;
  font-size: 1.55rem;
  font-weight: normal;
  text-transform: uppercase;
  padding-bottom: .25em;
  border-bottom: 1px solid #d5d7d8;
}
#bottom ul {
  list-style: none;
  margin: 1em 0 0 0;
  padding: 0;
}
#bottom #events h1 {
  padding-bottom: 9.25px !important;
}
#events,
#tabs {
  padding: 2.5em 0 0 0;
}
.events_bg {
  background: transparent url(/styles/img/map.png) 0 0 no-repeat;
}
.videos_bg {
  background: transparent url(/styles/img/video.png) 0 0 no-repeat;
}
#tabs {
  width: 61.5%;
  float: left;
}
#tabs nav ul {
  overflow: hidden;
  margin: 0;
  width: 100%;
  border-bottom: 1px solid #d5d7d8;
}
#tabs nav .selected {
  border-bottom: 3px solid #1784b6;
}
#tabs nav li {
  margin-right: 3em;
  float: left;
}
#tabs nav li a:hover {
  text-decoration: none;
}
#tabs nav li h1 {
  margin: 0;
  border-bottom: none;
}
#tabs section {
  display: none;
}
#tabs section ul {
  font-size: .865em;
  line-height: 1.2;
  width: 100%;
  clear: left;
  padding-right: 5%;
  min-height: 459px;
}
#tabs section ul li {
  float: left;
  width: 100%;
  margin: 0 0 2em 0;
}
#tabs section ul time {
  display: block;
  float: left;
}
#tabs section ul a.media {
  display: block;
}
#tabs section ul a.release {
  display: block;
  margin: 0 0 0 15%;
}
#tabs section.active {
  display: block;
}
.ie7 #tabs section ul a {
  margin-top: -1.2em;
}
#events {
  width: 31.25%;
  padding-left: 5%;
  padding-top: 19px;
  float: right;
}
#events li {
  margin-bottom: 2.5em;
}
#events .location {
  font-family: PTSansNarrowRegular, sans-serif;
  font-weight: normal;
  font-size: 1.618em;
  margin: 0.25em 0 -0.45em 0;
}
#events .vid-title {
  font-family: PTSansNarrowRegular, sans-serif;
  font-weight: normal;
  font-size: 1.318em;
  line-height: 1;
  margin: 1em 0 .5em 0;
}
#events #media-player {
  height: 12em;
  width: 92%;
  margin-bottom: 1em;
}
#events .links {
  font-size: .975em;
}
.ie7 #events .location {
  width: 70%;
  margin-top: -1em;
  margin-left: 18%;
}
.ie7 #events .links {
  margin-left: 18%;
  width: 70%;
}
/*
** 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) {
  #home #content {
    max-width: 100%;
    width: 100% !important;
    padding: 0 !important;
  }
  #featured-area {
    width: 95% !important;
    margin: auto;
  }
  #featured-area > article {
    height: auto;
    width: 100%;
    float: none;
  }
  #featured-area > article header {
    left: 2%;
  }
  #featured-area > article img {
    width: 98%;
    max-width: 200%;
  }
  #featured-area ul {
    height: auto;
    float: none;
    width: 100%;
  }
  #featured-area ul li {
    height: auto;
    width: 21%;
    padding: 2%;
    float: left;
  }
  #featured-area ul article img {
    display: none;
  }
  #featured-area ul article header {
    margin: 0;
    padding: 0;
    float: none;
    width: 100%;
  }
  #bottom .container {
    max-width: none;
    min-width: 0;
    padding: 5%;
    width: 90%;
  }
  #bottom h1 {
    font-weight: normal;
    font-size: 20px;
    font-size: 1.33rem;
    padding-bottom: .15em;
  }
  #tabs {
    padding-bottom: 1em;
  }
  #tabs section ul {
    font-size: .825em;
  }
  #tabs section ul a {
    margin: 0 0 0 20%;
  }
  #events {
    padding-bottom: 1em;
  }
  #events .vevent {
    font-size: .825em;
  }
}
/*
** 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) {
  #featured-area {
    margin-top: .5em;
    width: 100%;
  }
  #featured-area > article {
    width: 98%;
    height: 180px;
  }
  #featured-area > article header {
    width: 88% !important;
    left: 0;
  }
  #featured-area > article h1 {
    font-size: 1.6em;
  }
  #featured-area > article p {
    display: none;
  }
  #featured-area #articles {
    clear: both;
    float: none;
    margin: 1em auto 0 auto;
    padding: 0;
    overflow: auto;
  }
  #featured-area ul {
    width: 55px;
    margin: 0 auto;
  }
  #featured-area ul li {
    display: inline;
    margin-left: 5px;
    height: 10px;
    width: 10px;
    padding: 0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    -webkit-background-clip: border;
    -moz-background-clip: border;
    background-clip: border-box;
    background: #d7dada;
  }
  #featured-area ul li article h1,
  #featured-area ul li article p {
    text-indent: -999em;
  }
  #featured-area ul li:first-child {
    margin-left: 0;
    background: #1784b6;
  }
  #bottom {
    margin-top: 2em;
  }
  #tabs,
  #events {
    width: 100%;
  }
  #tabs nav li {
    letter-spacing: -1px;
    margin-right: 1.5em;
  }
  #tabs section ul time {
    display: block;
    width: 100%;
  }
  #tabs section ul a {
    margin: 0;
  }
}
