/* Styles for both basic and basic-3col content types */


/* both */

.field_banner_image img {
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .field_banner_image img { display: none; }
}


/* Regular basic page */
/* ================== */

html.node-basic_page_with_2_col_icons .field-bottom-panels {
  margin-top: 2rem;
}

html.node-basic_page_with_2_col_icons .field-bottom-panels:after {
  content: " ";
  clear: both;
  display: block;
}

html.node-basic_page_with_2_col_icons .field-bottom-panels .panel { 
  padding: 0 1rem 1rem 0;    
  font-size: 0.875rem;
  text-decoration: none;
}

html.node-basic_page_with_2_col_icons .field-bottom-panels .panel h3 {
  margin: 0;    
  /*line-height: 1.15rem;*/
  text-decoration: underline;
}

html.node-basic_page_with_2_col_icons .field-bottom-panels .panel .desc {
color: black;
}

html.node-basic_page_with_2_col_icons .field-bottom-panels .panel  .section img {
  width: 100%;
  height: auto;
}

html.node-basic_page_with_2_col_icons .field-bottom-panels .panel .section-1 {
  width: 20%;
  float: left;
  clear: left;
}

html.node-basic_page_with_2_col_icons .field-bottom-panels .panel .section-2 {
  float: left;
  width: 80%;
  padding-left: 1rem;
}

@media (min-width: 1200px) {
  html.node-basic_page_with_2_col_icons .field-bottom-panels .panel {
      width: 50%;
      float: left;    
  }
  html.node-basic_page_with_2_col_icons .field-bottom-panels .panel:nth-of-type(odd) {
      clear: left;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {


}

@media (min-width: 640px) and (max-width: 899px) {


}

@media (max-width: 639px) {


}


/* Basic 3-col */
/* =========== */

html.node-basic_page_with_3_col_icons .field-bottom-panels {
  margin-top: 2rem;
}

html.node-basic_page_with_3_col_icons .field-bottom-panels:after {
  content: " ";
  clear: both;
  display: block;
}

html.node-basic_page_with_3_col_icons .field-bottom-panels .panel {
  width: 31%;
  float: left;
  padding: 0 0rem 0rem 0;
  margin-left: 3.5%;    
  font-size: 0.875rem;
  margin-bottom: 2rem;
}


html.node-basic_page_with_3_col_icons .field-bottom-panels .panel h2 {
  margin: 0 0 0.5rem 0;
  border-bottom: 0.0625rem solid #3968a9;
  padding-bottom: 0.5rem;    
  color: #666666;
  font-weight: bold;
  min-height: 4.5rem;
}

html.node-basic_page_with_3_col_icons .field-bottom-panels .panel .toggle {
  font-weight: bold;
}

html.node-basic_page_with_3_col_icons .field-bottom-panels .panel .section img {
  width: 100%;
  height: auto;
}

html.node-basic_page_with_3_col_icons .field-bottom-panels .panel .desc a.seeMore {
  color: #18375f;
  text-decoration: none;
  font-weight: bold;
}


@media (min-width: 1200px) {
  html.node-basic_page_with_3_col_icons .field-bottom-panels .panel:nth-of-type(1),
  html.node-basic_page_with_3_col_icons .field-bottom-panels .panel:nth-of-type(4),
  html.node-basic_page_with_3_col_icons .field-bottom-panels .panel:nth-of-type(7),
  html.node-basic_page_with_3_col_icons .field-bottom-panels .panel:nth-of-type(10),
  html.node-basic_page_with_3_col_icons .field-bottom-panels .panel:nth-of-type(13),
  html.node-basic_page_with_3_col_icons .field-bottom-panels .panel:nth-of-type(17) {
      clear: left;
      margin-left: 0;
  }
}


@media (min-width: 901px) and (max-width: 1199px) {

  html.node-basic_page_with_3_col_icons main:not(.has-leftSidebar):not(.has-leftSidebar) .field-bottom-panels .panel:nth-of-type(1),
  html.node-basic_page_with_3_col_icons main:not(.has-leftSidebar):not(.has-leftSidebar) .field-bottom-panels .panel:nth-of-type(4),
  html.node-basic_page_with_3_col_icons main:not(.has-leftSidebar):not(.has-leftSidebar) .field-bottom-panels .panel:nth-of-type(7),
  html.node-basic_page_with_3_col_icons main:not(.has-leftSidebar):not(.has-leftSidebar) .field-bottom-panels .panel:nth-of-type(10),
  html.node-basic_page_with_3_col_icons main:not(.has-leftSidebar):not(.has-leftSidebar) .field-bottom-panels .panel:nth-of-type(13),
  html.node-basic_page_with_3_col_icons main:not(.has-leftSidebar):not(.has-leftSidebar) .field-bottom-panels .panel:nth-of-type(17) {
      clear: left;
      margin-left: 0;
  }

  html.node-basic_page_with_3_col_icons main.has-leftSidebar .field-bottom-panels .panel,
  html.node-basic_page_with_3_col_icons main.has-rightSidebar .field-bottom-panels .panel {
      width: 48%;
      margin-left: 4%;
  }
  html.node-basic_page_with_3_col_icons main.has-leftSidebar .field-bottom-panels .panel:nth-of-type(odd),
  html.node-basic_page_with_3_col_icons main.has-rightSidebar .field-bottom-panels .panel:nth-of-type(odd) {
      clear: left;
      margin-left: 0;      
  }  

}

@media (min-width: 640px) and (max-width: 900px) {



  html.node-basic_page_with_3_col_icons .field-bottom-panels .panel {
      width: 48%;
      margin-left: 4%;
  }
  html.node-basic_page_with_3_col_icons .field-bottom-panels .panel:nth-of-type(odd) {
      clear: left;
      margin-left: 0;      
  }

}

/*
@media (min-width: 480px) and (max-width: 719px) {

  html.node-basic_page_with_3_col_icons .field-bottom-panels .panel {
      width: 48%;
      margin-left: 4%;
  }
  html.node-basic_page_with_3_col_icons .field-bottom-panels .panel:nth-of-type(odd) {
      clear: left;
      margin-left: 0;      
  }

  html.node-basic_page_with_3_col_icons main.has-leftSidebar .field-bottom-panels .panel,
  html.node-basic_page_with_3_col_icons main.has-rightSidebar .field-bottom-panels .panel {
      width: 100%;
      margin-left: 0;
      float: none;
  }

}
*/

@media (max-width: 639px) {

  html.node-basic_page_with_3_col_icons .field-bottom-panels .panel {
      width: 100%;
      margin-left: 0;
      float: none;
  }

}