/* --------------------------------------------------------------

   Boilerplate Screen Styles
   * Version:   0.5 (2007-11-19)

-------------------------------------------------------------- */

@import "lib/reset.css";
@import "lib/typography.css";
@import "lib/forms.css";
@import "lib/plugins/tabs.css";


/* Page
-------------------------------------------------------------- */

#page {
  margin: 0 auto;
  width: 960px;
}

#wrapper {
  margin: 0 auto;
  width: 960px;
  background-color: #fff;
  -moz-box-shadow: 0px 0px 10px #000;
  -webkit-box-shadow: 0px 0px 10px #000;
  box-shadow: 0px 0px 10px #000;
}


/* Header
-------------------------------------------------------------- */

#header {
  margin-top: 0px;
  background: url('../images/header.jpg');
  width: 960px;
  height: 119px;
}

#absoluteTherapeutics {
  background: url('../images/logo.jpg');
  display: block;
  width: 268px;
  height: 64px;
  position: relative;
  top: 52px;
  line-height: 0px;
  text-indent: -9999px;
}

#absoluteTherapeutics:hover {
  opacity: 0.8;
}

#header-bar {
  background-color:#2B0000;
  height:71px;
  position:absolute;
  top:48px;
  width:100%;
  z-index:-10;

}

/* Body
-------------------------------------------------------------- */

body {
  margin: 0px;
  background: url('../images/bg.jpg');
}

#content {
  background:url("../images/content-bg.jpg") no-repeat scroll left top transparent;
  float:left;
  margin:0 0 1px 1px;
  min-height:400px;
  padding:102px 0 0 27px;
  width:592px;
}

#side-bar {
  float: right;
  width: 290px;
  background:url("../images/nav-edge.jpg") no-repeat scroll left top transparent;
  margin: 1px 1px 1px 0px;
  padding: 25px 15px 0px 15px;
  min-height: 600px;
}

.awardlinks {
    display: block;
    line-height: 0;
    margin: 0px 40px 20px 0;
    text-indent: -9999px;
    border: 1px solid #ccc;
    width: 150px;
    height: 150px;
    background-position: center center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    float: left;
}

.hide {
  display: none;
}

#pca17 { background-image: url("../images/Peoples-choice-awards-17.jpg"); }
#pca16 { background-image: url("../images/Peoples-choice-awards-16.png"); }
#pca14 { background-image: url("../images/peoples-choice-awards-2014.png"); }
#pca13 { background-image: url("../images/pca13.png"); }
#pca12 { background-image: url("../images/pca12.jpg"); }
#pca11 { background-image: url("../images/pca11.jpg"); }
#pca10 { background-image: url("../images/pca10.jpg"); }
#rca10 { background-image:url("../images/rca10.jpg");  background-size: 75% auto; }
#baa10 { background-image:url("../images/BAA-Award-special-2011.jpg"); }
#baa11 { background-image:url("../images/baa2011.png"); }
#baa17 { background-image:url("../images/BAA2017.png"); }



.to p {
  width: 400px;
  float: left;
}

.to h2 {
    background: url("../images/to-symbol.jpg") no-repeat scroll 0px 0px transparent;
    height: 41px;
    padding: 5px 0px 5px 45px;
    width: 400px;
    margin: 0px 0px 5px 0px;
}

.to h2 span {
    font-size: 75%;
    color: #666;
}

.to .prices {
  width: 153px;
  float: right;
  margin-top: -50px;
}

div.prices.low {
  margin-top: 0px;
}

.to .prices p {
  background-color: #f3f0f0;
  -moz-border-radius: 5px;
  border-radius: 5px;
  width: 134px;
  padding: 5px 10px 7px 10px;
}

.to:hover .prices p {
  background-color: #ccc;
  -moz-border-radius: 5px;
  border-radius: 5px;
  width: 134px;
  padding: 5px 10px 7px 10px;
}

.to .prices img {
  margin-bottom: 8px;
}

.prices p span {
  font-weight: bold;
  font-style: italic;
}

.la p {
  width: 400px;
  float: left;
}

.la h2 {
    background: url("../images/la-symbol.jpg") no-repeat scroll left 0 transparent;
    height: 41px;
    padding: 5px 0px 0px 45px;
    width: 400px;
    margin-bottom: 5px;
}

.la .prices {
  width: 153px;
  float: right;
  margin-top: -5px;
}

.la .prices p {
  background-color: #f3f0f0;
  -moz-border-radius: 5px;
  border-radius: 5px;
  width: 134px;
  padding: 5px 10px 7px 10px;
}

.la:hover .prices p {
  background-color: #ccc;
  -moz-border-radius: 5px;
  border-radius: 5px;
  width: 134px;
  padding: 5px 10px 7px 10px;
}

.la .prices img {
  margin-bottom: 8px;
}

.to .photo {
  float: left;
}

.to .photo img {
  width: 140px;
}

.la .photo {
  float: left;
}

.photo img {
  border: 3px solid #ccc;
}

.to:hover .photo img {
  border: 3px solid #333;
}

.la:hover .photo img {
  border: 3px solid #333;
}

.faq p {
  font-size: 16px;
}

.faq ol {
  font-size: 15px;
}

.gmap-holder {
  float: left;
  margin-right: 20px;
}

.contactinfo {
  font-size: 15px;
}

.clear {
  clear: both;
  height: 0px;
}

a.link {
  float: left;
  width: 152px;
  text-align: center;
  font-weight: bold;
  margin: 0px 40px 20px 0px;
}

div.news-thumb {
  float: left;
  margin-right: 20px;
}

.break {
  clear: both;
}

a.link img{
  border: 1px solid #ccc;
}

a.link:hover {
  color: #333;
  text-decoration: none;
}

a.link:hover img {
  border: 1px solid #999;
}

/* Footer
-------------------------------------------------------------- */
#footer {
  margin-top: 12px;
}

#absoluteTherapeutics-footer {
  background:url("../images/logo-footer.png") repeat scroll 0 0 transparent;
  display:block;
  height:43px;
  line-height:0;
  text-indent:-9999px;
  width:214px;
  float: left;
}

#absoluteTherapeutics-footer:hover {
  opacity: 0.8;
}

.footer-links {
  float: right;
  color: #c09383;
}

.footer-links a {
  color: #875340;
}

.footer-links a:hover {
  color: #c09383;
  text-decoration: none;
}

.footer-links ul li{
  float: left;
}

#footer p.quiet {
  color: #875340;
}

/* Home
-------------------------------------------------------------- */

#home-banner {
    background: url("../images/home-banner.jpg") no-repeat scroll 0 0 transparent;
    height: 249px;
    padding: 93px 0 0 27px;
    width: 932px;
    margin-left: 1px;
    text-shadow: 1px 1px 1px #fff;
}

#home-banner p {
  font-size: 16px;
  line-height: 22px;
  width: 420px;
}

#home-banner span {
  display:  block;
  color: #797979;
  font-size: 10px;
}

#home-banner a {
  color: #4a0708;
  font-size: 22px;
  font-weight: bold;
}

#home-banner a:hover {
  color: #000;
  text-decoration: none;
}

#home-callouts {
  width: 958px;
  height: 255px;
  background:url("../images/bamboo-bg.jpg") repeat scroll 0 0 transparent;
}

.callout {
  width: 299px;
  height: 201px;
  -moz-box-shadow: 0px 0px 10px #999;
  -webkit-box-shadow: 0px 0px 10px #999;
  box-shadow: 0px 0px 10px #999;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  float: left;
  margin: 25px 0px 0px 14px;
  background-color: #fff;
}

#callout-1 {
  background:url("../images/callout-1.jpg") no-repeat scroll 0 0 transparent;
}

#callout-2 {
  background:url("../images/callout-2.jpg") no-repeat scroll 0 0 transparent;
}

#callout-3 {
  background:url("../images/callout-3.jpg") no-repeat scroll 0 0 transparent;
  float: right;
  margin: 25px 14px 0px 0px;
}

#awards span {
  display: block;
}

.about {
  float: right;
  width: 425px;
}

#callout-1 a {
  margin: 5px 0 0 12px;
}

#callout-2 a {
  margin: 5px 0 0 12px;;
}

#callout-3 a {
  margin: 5px 0 0 155px;
}

.callout a {
  color: #541010;
  font-size: 20px;
  font-weight: bold;
  line-height: 24px;
  display: block;
}

.callout a:hover {
  text-decoration: none;
}

span.small {
  color: #797979;
  font-size: 13px;
  font-variant: small-caps;
}

span.large {
  color: #000;
}

.callout a:hover span.large {
  color: #797979;
}

#facebook{
    background: url("../images/facebook.jpg") no-repeat scroll 0 0 transparent;
    display: block;
    height: 78px;
    line-height: 0;
    text-indent: -9999px;
    width: 271px;
    margin: 5px 0px 10px 5px;
}

#facebook:hover {
    background-position: 0px -78px;
    opacity: 0.8;
}

/* Footer
-------------------------------------------------------------- */

div#navigation ul#nav-links {
    display: block;
    float: right;
    height: 30px;
    list-style-type: none;
    margin: 7px 0 0;
    position: relative;
    max-width: 656px;
    z-index: 10;
}

ul#nav-links li.top {
    display: inline;
    float: left;
}

div#navigation ul#nav-links a:hover, div#navigation ul#nav-links a.active{
    height: 20px;
    background:url("../images/nav-bg.jpg") repeat-x scroll 0 0 transparent;
    padding: 3px 10px 5px 10px;
    color: #fff;
    border: 1px solid #000;
    background-color: #f3f0f0;
  -moz-border-radius: 5px;
  border-radius: 5px;
  text-shadow: 1px 1px 1px #000;
  margin: 0px 6px 0px 0px;
  letter-spacing: 0px;
  -moz-box-shadow:inset 1px 1px 1px #660b0f;
    -webkit-box-shadow:inset 1px 1px 1px #660b0f;
    text-decoration: none;
}

div#navigation ul#nav-links a {
  height: 20px;
  padding: 3px 10px 5px 10px;
  color: #fff;
  border: 1px solid #2b0000;
  background-color: #2b0000;
  margin: 0px 6px 0px 0px;
  letter-spacing: 0px;
  font-size: 14px;
}

.info-banner {
  border-radius: 5px;
  color: #fff;
  padding: 18px 18px 18px 48px;
  margin: 10px 10px 20px;

  background: #5b7a36 url("../images/baseline_info_white_18dp.png") no-repeat 14px 18px;
  background-size: 24px;
}

.info-banner .info-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 0;
  line-height: 25px;
}

.info-banner .info-title strong {
  font-size: 16px
}


/* Responsive */
@media only screen and (max-device-width: 820px) {
  #page,
  #header,
  #content,
  #side-bar {
    width: 100%;
    float: none;
  }
  #wrapper {
    width: 98%;
  }

  .wrapper {
    width:  100%;
  }
  #content,
  #side-bar {
    width: 100%;
    float: none;
    padding: 102px 20px 20px;
    box-sizing: border-box;
    overflow: hidden;
  }
  #side-bar {
    padding: 20px;
    min-height: 0;
  }
  .about {
    width: auto;
    float: none;
  }
  .to .photo {
    margin: 0 15px 15px 0;
  }
  .to p {
    width: auto;
    float: none;
  }
  .to h2 {
    width: auto;
    height: auto;
    padding-left: 0;
  }
  #facebook {
    width: 210px;
    background-size: cover;
    height: 60px;
  }
  #facebook:hover {
    background-position: 0 0;
    opacity: 0.75;
  }

  div#navigation ul#nav-links {
    float: none;
    background: #2a0001;
    height: auto;
    margin-top: 50px;
    padding: 6px;
    line-height: 26px;
  }
  #navigation ul#nav-links li {
    float: none;
  }

  .gmap-holder iframe {
    width: 100% !important;
    height: 150px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  #home-banner,
  #home-callouts,
  #home-banner p {
    width: auto;
  }
  #home-banner {
    height: auto;
    background-position: top right;
    padding-left: 15px;
    padding-right: 15px;
  }
  #home-callouts {
    height: auto;
    background-repeat: no-repeat;
  }
  #home-callouts .callout {
    float: none !important;
    margin: 10px auto !important;
  }

}
