/*
Theme Name: Solar House
Author: Evan & Ryan
Version: 1.0
Text Domain: solarhouse
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
body {
	background: #1E1C15;
  color: #FFFFFF;
	line-height: 1;
  font-size: 62.5%;
  font-family: Arial, sans-serif;

}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}

a:hover {
  opacity: 0.8;
}

a:hover img {
  opacity: 0.9;

}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

html, body {
}

body {
  min-width: 960px;
}
body.home {
  background: url(./img/panorama.jpg) center top no-repeat;
  background-size: cover;
  height: 100%;
}

#branding {
  background: rgb(50,124,174);

  background-image: linear-gradient(bottom, rgb(81,149,194) 0%, rgb(50,124,174) 80%, rgb(82,148,191) 100%);
  background-image: -o-linear-gradient(bottom, rgb(81,149,194) 0%, rgb(50,124,174) 80%, rgb(82,148,191) 100%);
  background-image: -moz-linear-gradient(bottom, rgb(81,149,194) 0%, rgb(50,124,174) 80%, rgb(82,148,191) 100%);
  background-image: -webkit-linear-gradient(bottom, rgb(81,149,194) 0%, rgb(50,124,174) 80%, rgb(82,148,191) 100%);
  background-image: -ms-linear-gradient(bottom, rgb(81,149,194) 0%, rgb(50,124,174) 80%, rgb(82,148,191) 100%);

  background-image: -webkit-gradient(
  	linear,
  	left bottom,
  	left top,
  	color-stop(0, rgb(81,149,194)),
  	color-stop(0.8, rgb(50,124,174)),
  	color-stop(1, rgb(82,148,191))
  );

  min-height: 90px;
}

#branding hgroup {
  width: 920px;
  margin: 0 auto;
  padding: 15px 20px;
  overflow: hidden;
}

#branding h1 {
  width: 50%;
  opacity: 0.999;
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  text-shadow: rgba(0,0,0,0.5) 0px 1px 3px;
  font-size: 4em;
  margin: 10px 50px 10px 0px;
}

#branding h1 a {
  color: #FFFFFF;
  text-decoration: none;
}

#branding img {
  float: right;
  height: 66px;
}

#top {
  border-bottom: 2px solid #FFFFFF;

}
#content {

}

.shadow {
  -webkit-box-shadow: inset 0px 5px 10px 2px rgba(0, 0, 0, 0.4);
  box-shadow: inset 0px 5px 10px 2px rgba(0, 0, 0, 0.4);
}

article {
  max-width: 740px;
  margin: 0 auto;
}

article h1 {
  color: #FFFFFF;
  font-size: 4.4em;
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  margin: 0.5em 0;
}
article p {
  color: #FFFFFF;
  line-height: 120%;
  opacity: 0.999;
  font-size: 1.8em;
  margin: 0.3em 0 0.3em;
}

body.home article {
  margin-top: 90px;

  border-radius: 5px;
  background: rgb(96, 96, 96);
  background: rgba(64, 64, 64, 0.8);

  font-size: 1.8em;

  color: #FFFFFF;

  padding: 20px;
  min-height: 40px;
  behavior: url(/wp-content/themes/solarhouse/js/PIE.htc);

}

button.close {
  float: right;
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
  border: none;
  background: none;
  cursor: pointer;
}

.close {
  display: none;
}

.modal .close {
  display: block;
}

.modal a.close {
  background-color: #F58229;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#F58229), to(#D27125));
  background-image: -webkit-linear-gradient(top, #F58229, #D27125);
  background-image: -moz-linear-gradient(top, #F58229, #D27125);
  background-image: -ms-linear-gradient(top, #F58229, #D27125);
  background-image: -o-linear-gradient(top, #F58229, #D27125);
  color: #FFFFFF;
  font-size: 40px;
  width: 45px;
  height: 45px;
  position: relative;
  text-align: center;
  line-height: 45px;
  border-radius: 30px;
  box-shadow: 0px 3px 8px #555;
  /*behavior: url(/wp-content/themes/solarhouse/js/PIE.htc);*/

  border: 3px solid #FFFFFF;
  text-decoration: none;

}

#feature-header {
  background: #296690;
  height: 85px;
  font-size: 1.8em;
  color: #FFFFFF;

  background-image: linear-gradient(bottom, rgb(26,87,122) 10%, rgb(41,103,144) 28%);
  background-image: -o-linear-gradient(bottom, rgb(26,87,122) 10%, rgb(41,103,144) 28%);
  background-image: -moz-linear-gradient(bottom, rgb(26,87,122) 10%, rgb(41,103,144) 28%);
  background-image: -webkit-linear-gradient(bottom, rgb(26,87,122) 10%, rgb(41,103,144) 28%);
  background-image: -ms-linear-gradient(bottom, rgb(26,87,122) 10%, rgb(41,103,144) 28%);

  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.1, rgb(26,87,122)),
    color-stop(0.28, rgb(41,103,144))
  );


}

.feature-intro {
  padding: 10px;
  font-size: 90%;
  line-height: 140%;
}

.feature-intro img {
  margin: -5px 0px;
}

#feature-header .wrapper {
  margin: 0 auto;
  width: 960px;
}

.modal {
  width: 750px;
  margin-left: -375px;
}

.modal.fade {
  top: -800px;
}

.modal #content {
  margin: 10px 0px;
}

#finder img {
  margin-left: 30px;
}

#finder-modal {
  font-size: 2em;
  background: #FFFFFF;
  padding: 30px;
  border: 5px solid #000000;
  border-color: rgba(0,0,0);
  color: #000000;
}

#finder-modal ul {
  padding-right: 5%;
  width: 40%;
  float: left;
}
#finder-modal ul li {
  border-bottom: 1px solid #DDDDDD;
  background: url(./img/arrow.png) 5px 12px no-repeat;
  opacity: 0.999;
}

#finder-modal ul li:hover {
}

#finder-modal ul li:hover a {
  color: #FFFFFF;
  background: rgb(65,45,25);

}
#finder-modal ul li a:hover {
  opacity: 1;

}
#finder-modal ul li a {
  padding: 10px 5px 10px 20px;
  color: #000000;
  text-decoration: none;
  display: block;
}


#feature-modal {
  background: transparent;
  border: none;

  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}



#feature-modal .mejs-container {
  margin: 20px auto;
}



a.button {
  background: url(./img/feature.png) center center no-repeat;
  background-size: 60%;
  text-indent: -9999px;
  display: block;
  height: 6%;
  width: 6%;

  position: absolute;

}

#ie6 a.button, #ie7 a.button, #ie8 a.button {
  height: 60px;
  width: 60px;
}

.tooltip {
  font-size: 2em;
  line-height: 125%;
}

img#house-plan {
  width: 100%;
  min-width: 600px;
  display: block;

  position: relative;
  z-index: -1;
}




#content {
  position: relative;
}





.alignright {
  float: right;
}
.alignleft {
  float: left;
}


/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {

  /*#branding { min-height: 40px; }*/
  /*#branding h1 { font-size: 2em; }*/
  /*#branding img { height: 25px; margin-top: 15px; }*/
  /*#branding hgroup { padding: 5px; width: 100%; }*/

  .feature-intro { display: none; }


}




