/*
==============================================================================
**
** FOOTER
**
** SCOPE: 		GLOBAL
** REVISION:	0.1
** DATE:		03/23/11
** AUTHORS:		DUNCAN MCALESTER (DUNCAN@LAYER-51.COM)

** USAGE:		

** NOTES:		
				
** TODO:		

** 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 */
/* Including lib.less - this template is intentionally left blank and does not need to be included  on the live server */
/* =========================================================================== */
#site-footer {
  text-align: center;
  overflow: auto;
}
#site-footer .container {
  overflow: hidden;
  width: 90% !important;
  min-width: 0;
  height: 205px;
  margin: 0 auto 2.5em auto;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  box-orient: horizontal;
}
#site-footer .container nav {
  position: relative;
  background: #b6bec4;
  width: 250px;
  height: 205px;
  display: block;
}
#site-footer .container nav ul {
  position: relative;
  width: 228px;
  height: 207px;
  margin: 0 7%;
  background: transparent url(../img/orgeon.png) 0 0 no-repeat;
}
#site-footer .container nav li {
  position: absolute;
  text-indent: -999em;
}
#site-footer .container nav li a {
  background: #1784b6;
  height: 10px;
  width: 10px;
  -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;
  behavior: url('/styles/pie.htc');
  cursor: pointer;
  display: block;
}
#site-footer .container nav li a#link_washington-dc-map {
  background-color: transparent;
  background-image: url("/images/global/star.png");
  height: 16px;
  left: 0px;
  position: relative;
  top: 181px;
  width: 132px;
  background-repeat: no-repeat;
  text-indent: 20px;
  background-position: 0 1px;
}
#site-footer .container nav li a:hover {
  background: #71bfe0;
  text-decoration: none;
}
#site-footer .container nav #mi-washington-dc {
  top: 0px;
  left: 5px;
}
#site-footer .container nav #mi-portland {
  top: 50px;
  left: 56px;
}
#site-footer .container nav #mi-eugene {
  top: 100px;
  left: 49px;
}
#site-footer .container nav #mi-la-grande {
  left: 172px;
  top: 54px;
}
#site-footer .container nav #mi-medford {
  top: 155px;
  left: 52px;
}
#site-footer .container nav #mi-bend {
  top: 100px;
  left: 88px;
}
#site-footer .container nav #mi-salem {
  top: 67px;
  left: 52px;
}
#office-locations {
  width: 100%;
  /* fix for chrome bug */

  position: relative;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  box-flex: 1;
  height: 205px;
  margin: auto 1em auto auto;
  padding: 0;
  list-style: none;
}
#office-locations .visible {
  visibility: visible !important;
}
#office-locations .card {
  position: absolute;
  top: 0;
  right: 0;
  visibility: hidden;
  border: 10px solid #b6bec4;
  height: 165px;
  width: 96%;
  text-align: left;
  background: #b6bec4;
  color: #293d48;
  font-size: .925em;
  line-height: 1.3;
  padding: 10px;
}
#office-locations .card .directions {
  line-height: 4;
}
#office-locations .card .fn {
  font-family: sans-serif;
  font-weight: bold;
  font-size: 1.6em;
}
.card img {
  height: 185px;
  width: 570px;
  float: left;
  position: relative;
  top: -10px;
  left: -10px;
}
.card .info {
  padding-top: 10px;
  float: right;
  width: 25%;
}
/*
** SOCIAL MEDIA
**
** DESCRIPTION:	
** USAGE:		
** NOTES:
**
*/
#social-media {
  padding: 0;
  margin-left: 2em;
}
#social-media li {
  display: block;
  text-indent: -999em;
  margin-bottom: 10px;
}
#social-media a {
  display: block;
  height: 33px;
  width: 33px;
  background: #b6bec4 url(/styles/img/social-media-2.png) 0 0 no-repeat;
}
#social-media .twitter a {
  background-position: 0 -33px;
}
#social-media .youtube a {
  background-position: 0 -69px;
}
#social-media .flickr a {
  background-position: 0 -106px;
}
#social-media .huffpo a {
  background-position: 0 -140px;
}
#social-media .plus-one a {
  background-position: 0 -176px;
}
.facebook a:hover {
  background-color: #3b5998 !important;
}
.twitter a:hover {
  background-color: #4a9cdd !important;
}
.youtube a:hover {
  background-color: #cb322c !important;
}
.flickr a:hover {
  background-color: #ffffff !important;
  background-position: -34px -106px !important;
}
.huffpo a:hover {
  background-color: #007566 !important;
}
.plus-one a:hover {
  background-color: #d3472b !important;
}
/*
** 1268px
**
** DESCRIPTION:	Styles that apply to screens 1268px 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: 1268px) {
  #site-footer .container {
    width: 100%;
    max-width: 100%;
  }
  #office-locations .card {
    float: left;
    padding: 0px 10px 20px;
  }
  #office-locations .card .info {
    width: 30%;
  }
  #office-locations .card img {
    float: left;
    height: auto;
    margin: auto 2%;
    padding: 1% 0;
    top: 0;
    width: 63%;
  }
}
/*
** 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) {
  #office-locations .card {
    text-align: center;
  }
  #office-locations .card img {
    display: none;
  }
  #office-locations .card .info {
    width: 100%;
    text-align: center;
    padding-top: 35px;
  }
  #site-footer .container nav {
    padding-left: 70px;
  }
}
/*
** 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) {
  #site-footer {
    display: block !important;
  }
  #site-footer .container {
    width: 100%;
    overflow: hidden;
    height: auto;
    padding: 0 !important;
    background: transparent !important;
  }
  #site-footer .container nav {
    display: none;
    width: auto;
  }
  #site-footer .container nav ul {
    width: auto;
    padding: 0;
    background: none;
  }
  #site-footer .container nav li {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    margin: 5px 0 0 0;
    text-indent: 0 !important;
    width: auto;
    height: auto;
    background: none;
    text-align: left;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    -webkit-background-clip: border;
    -moz-background-clip: border;
    background-clip: border-box;
  }
  #site-footer .container nav li a {
    margin: 0;
    padding: 0;
  }
  #site-footer #social-media {
    float: left;
    margin-left: 0;
    padding: 0;
    text-align: center;
  }
  #office-locations {
    float: none;
    clear: both;
    background-image: none !important;
  }
  #office-locations .card {
    width: 95%;
  }
  #office-locations .card .fn {
    font-size: 1.3em;
  }
  #office-locations .info {
    visibility: visible;
    display: block;
  }
  #social-media {
    position: absolute;
    clear: both;
    float: none;
    display: block;
    width: 100%;
  }
  #washington-dc-map {
    display: block;
  }
  #portland-map {
    display: none;
  }
  #eugene-map {
    display: none;
  }
  #la-grande-map {
    display: none;
  }
  #medford-map {
    display: none;
  }
  #bend-map {
    display: none;
  }
  #salem-map {
    display: none;
  }
}
