/* Font styles. */
/* line 2, ../sass/style.sass */
body {
  margin: 0;
  /* Setting up font size, leading and font family
   * http://www.markboulton.co.uk/journal/comments/five-simple-steps-to-better-typography */
	background-color:white;
}
img {
  max-width:100% !important;
  height:auto;
}

#adv {
	padding: 10px;
	margin: 0px;
	border: 0px;
	border-top: 2px #FF5959 solid;  
	border-bottom: 2px #FF5959 solid;  
	background-color: white;
}

#adv a {
	color: #FF5959;
	border-left: 0px;
	font-size: 20px; 
}
#adv p {
	padding:0px;
	margin:0px;
}


select { padding: 5px 10px; margin-left: 20px;  }
.nav { display: none; }

@media (max-width:600px) {
	#ads580 { display:none; } 
}

@media (max-width:1000px) {
  .right_region, .left_region, .view-list-parent-terms {
    display: none;
  }
  

  .nav {
    display: block;
  }

  select { display: block; }

  .content_box {
    width: 100%;
  }

  .right_column {
    float: none!important;
    width: 100%;
  }

  .middle_region {
    width: 95%;
  }

  .view-recommended-articles {
    width: 90%!important;
  }

  .wrapper_inner {
    margin-top: -45px;
  }

  #block-views-articles_in_header-block_1 {
    display: none;
  }

  .wrapper {
    width: 100%!important;
    margin: 0!important;
  }

  .footer_region {
    width: 100%!important;
  }

  .prefooter_region { display: none; }

  .content_top_region {
    width: 100%!important;
  }
}

@media (max-width:820px){
  #block-block-7 {
    float: left;
    margin-left: 0!important;
    margin-right: 20px;
  }

  .logo_region {
    width: 200px!important;
}

  #block-views-recommended_articles-block_1 {
    width: 100%!important;
  }
  .content_box, .content_top_region, .content_center_region, .content_bottom_region {
    width:: 95%!important;
}
}

@media (max-width:786px) {
  .content_center_region {
   width: 100%!important;
  }

  .wrapper_inner {
    padding: 0!important;
}

  .header_region {
    width: 100%!important;
  }

  img {
    height: auto;
    max-width:600px;
  }

  #block-block-9 {
    width: 100%!important;
  }

  .field-field-article-image img {
    float:none!important;
}

.content_box, .content_top_region, .content_center_region, .content_bottom_region {
  width: 100%!important;
}

iframe {
  width:100%;
}
}

@media (max-width:630px) {
  #block-block-8 {
    margin-top:85px;
  }

    #block-views-houses_building-block_1 .views-row {
      height: auto;
    padding-bottom: 10px;
  }
}

@media (max-width:510px) {
  #block-block-8 {
    margin-top:105px;
  }
}

@media (max-width:400px) {
  #block-block-8 {
    margin-top:145px;
  }

  #block-views-recommended_articles-block_1 td.col-first {
    width: 100%;
}

#block-views-recommended_articles-block_1 td {
    float: left;
    width: 100%;
}
}

@media (max-width:365px) {
  #block-block-8 {
    margin-top:175px;
  }

  #block-views-recommended_articles-block_1 table {
  width:95%!important;
}
}

@media (max-width:300px) {
  #block-block-8 {
    margin-top:205px;
  }
}

@media (max-width:270px) {
 #block-block-8 {
    margin-top:255px;
  }

  .views-field-view-node {
    margin-left: 115px;
  }

  .view-insulating-materials .views-field-view-node {
    margin-left: 0!important;
  }
  #block-views-recommended_articles-block_1 table {
  width:90%!important;
}
}

/* Titles. */
/* line 21, ../sass/style.sass */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3em;
}

/* line 24, ../sass/style.sass */
h1 {
  font-size: 2.2em;
  font-weight: 300;
  padding: 0 0 0.5em;
  margin: 0;
}

/* line 35, ../sass/style.sass */
h3 {
  font-size: 1.4em;
  margin-bottom: 1em;
}

/* line 39, ../sass/style.sass */
h4 {
  font-size: 1.2em;
  margin-bottom: 0.8em;
}

/* line 43, ../sass/style.sass */
h5 {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 0;
}

/* line 48, ../sass/style.sass */
h6 {
  font-size: 1em;
  font-weight: bold;
}

/* Paragraph styles. */
/* line 53, ../sass/style.sass */
p {
  margin: 0 0 1em 0;
}

/* List styles. */
/* line 57, ../sass/style.sass */
ul, ol {
  margin-left: 0;
  padding-left: 2em;
}

/* Table styles. */
/* line 62, ../sass/style.sass */
table {
  width: 99%;
}

/* line 67, ../sass/style.sass */
tr.even td,
tr.odd td {
  padding: 10px 5px;
}

/* line 70, ../sass/style.sass */
tr.odd {
  background-color: white;
}

/* Code. */
/* line 74, ../sass/style.sass */
pre, code, tt {
  font: 1em "andale mono", "lucida console", monospace;
  line-height: 1.5;
}

/* line 78, ../sass/style.sass */
pre {
  background-color: #efefef;
  display: block;
  padding: 5px;
  margin: 5px 0;
  border: 1px solid #aaaaaa;
}

/* List styles. */
/* line 86, ../sass/style.sass */
ul {
  list-style-type: disc;
}
/* line 88, ../sass/style.sass */
ul ul {
  list-style-type: circle;
}
/* line 90, ../sass/style.sass */
ul ul ul {
  list-style-type: square;
}
/* line 92, ../sass/style.sass */
ul ul ul ul {
  list-style-type: circle;
}

/* line 95, ../sass/style.sass */
ol {
  list-style-type: decimal;
}
/* line 97, ../sass/style.sass */
ol ol {
  list-style-type: lower-alpha;
}
/* line 99, ../sass/style.sass */
ol ol ol {
  list-style-type: decimal;
}

/* Abbreviation. */
/* line 103, ../sass/style.sass */
abbr {
  border-bottom: 1px dotted #666666;
  cursor: help;
  white-space: nowrap;
}

/* UI improvments. */
/* line 109, ../sass/style.sass */
#edit-title {
  font-size: 24px;
  width: 98%;
}

/* line 113, ../sass/style.sass */
#system-themes-form img {
  width: 100px;
}

/* line 116, ../sass/style.sass */
.form-item .description {
  font-style: italic;
  line-height: 1.2em;
  font-size: 0.8em;
  margin-top: 5px;
  color: #777777;
}

/* line 123, ../sass/style.sass */
#edit-delete {
  color: #cc0000;
}

/* Console, style from slate theme. */
/* line 127, ../sass/style.sass */
div.messages {
  padding: 9px;
  margin: 1em 0;
  color: #003366;
  background: #bbddff;
  border: 1px solid #aaccee;
}

/* line 134, ../sass/style.sass */
div.warning {
  color: #884400;
  background: #ffee66;
  border-color: #eedd55;
}

/* line 139, ../sass/style.sass */
div.error {
  color: white;
  background: #ee6633;
  border-color: #dd5522;
}

/* line 144, ../sass/style.sass */
div.status {
  color: #336600;
  background: #ccff88;
  border-color: #bbee77;
}

/* line 159, ../sass/style.sass */
#navigation {
  background: #feffa5;
}
