/* ANY CSS FOR ALL WIDTHS GOES HERE
----------------------------------------------------------- */

  #s5_banner {
  padding-left:0px !important;
  /*change by erich*/
  /*float:right;*/
  text-align: center;
  /*width:50%;*/
  width:100%;
    /*end change*/
  }
  
/*add by Erich*/
@media screen and (min-width:970px) {
   #s5_logo {
  display: none;
  }
}
/*end add*/

/* ALL WIDTHS UNDER 970PX
----------------------------------------------------------- */

@media screen and (max-width: 970px) {

  /* DEFAULT
  ----------------- */

  .s5_wrap {
  width:100% !important;
  }
  
  .s5_is_display, .s5_is_slide {
  position:relative !important;
  }
  
  .s5_is_slide {
  height:auto !important;
  }
  
  /* CUSTOM
  ----------------- */
  
  #s5_banner {
  /*change by Erich*/
  /*padding-top:4% !important;*/
  /*end change*/
  }
  
  #fontControls {
  display:none;
  }
/*add by Erich*/
  #s5_logo {
    display:none;
  }
/*end add*/
}


/* TABLET PORTRAIT MODE CSS
----------------------------------------------------------- */

@media screen and (min-width:580px) and (max-width: 970px) {

  
  /* CUSTOM
  ----------------- */

  #s5_header_area_inner {
  /*padding-top:12px;*/
  }

  #s5_banner {
  /*change by Erich*/
  /*max-width:50% !important;*/
  max-width:100%;
  text-align: center;
  /*end change*/
  }

  #s5_logo {
  /*change by Erich*/
  display: none;
  /*max-width:43% !important;*/
  /* end change*/
  }
  
  #s5_search input {
  width:80px;
  }
  
  #s5_nav li {
  padding-left:14px;
  padding-right:14px;
  }

  #s5_menu_wrap {
  font-size:0.8em;
  }

  .S5_parent_subtext {
  font-size:1em;
  }
  
  body {
  font-size:0.7em !important;
  }
  
}


/* TABLET PORTRAIT MODE CSS - SMALLER TABLETS
----------------------------------------------------------- */

@media screen and (max-width: 750px) {

  /* DEFAULT
  ----------------- */

  #s5_menu_wrap {
  display:none;
  }

  /* CUSTOM
  ----------------- */
  
  #s5_banner {
  /*change by Erich*/
  /*display:none;*/
  display: block;
  /*end change*/
  }
  
  #s5_logo {
  /*change by Erich*/
  /*max-width:100% !important;*/
  display:none;
  /*end change*/
  }

}


/* MOBILE LAYOUT CSS
----------------------------------------------------------- */

@media screen and (max-width: 579px) {

  /* DEFAULT
  ----------------- */

  #s5_right_column_wrap_inner .s5_float_left, #s5_left_column_wrap_inner .s5_float_left {
  float:none;
  }

  #s5_columns_wrap_inner {
  width:100%;
  }

  #s5_center_column_wrap {
  width:100%;
  left:100%;
  }

  #s5_left_column_wrap {
  left:0%;
  }
  
  #s5_left_top_wrap, #s5_left_column_wrap, #s5_left_inset_wrap, #s5_left_wrap, #s5_left_bottom_wrap, #s5_right_top_wrap, #s5_right_column_wrap, #s5_right_inset_wrap, #s5_right_wrap, #s5_right_bottom_wrap, #s5_top_row1 .s5_float_left, #s5_top_row2 .s5_float_left, #s5_top_row3 .s5_float_left, #s5_above_columns_inner .s5_float_left, #s5_middle_top .s5_float_left , #s5_middle_bottom .s5_float_left, #s5_below_columns_inner .s5_float_left, #s5_bottom_row1 .s5_float_left, #s5_bottom_row2, .s5_float_left, #s5_bottom_row3 .s5_float_left, #s5_above_body .s5_float_left, #s5_below_body .s5_float_left {
  width:100% !important;
  }
  
  #s5_center_column_wrap_inner {
  margin:0px !important;
  }
  
  #s5_left_column_wrap {
  margin-right:0px !important;
  }
  
  #s5_right_column_wrap {
  margin-left:0px !important;
  }
  
  .items-row .item {
  width:100% !important;
  padding-left:0px !important;
  padding-right:0px !important;
  margin-right:0px !important;
  margin-left:0px !important;
  }
  
  /* CUSTOM
  ----------------- */

  #s5_banner {
  /*change by Erich*/
  /*display:none;*/
  /*end change*/
  }
  
  #s5_header_area_inner {
  /*change by Erich*/
  /*padding-top:12px;*/
  /*end change*/
  }

  #s5_logo {
  /*change bye Erich*/
  /*margin-left:auto;
  margin-right:auto;
  float:none;
  max-width:75% !important;
  height:auto;
  display:block;
  padding-right:0px;*/
  display:none;
  }
  
  #s5_breadcrumb_wrap {
  display:none;
  }
  
  #s5_bottom_menu_wrap {
  float:left;
  margin-left:-10px;
  }
  
  #s5_bottom_menu_wrap ul.menu li {
  float:left;
  }
  
  #s5_footer {
  display:block;
  width:100%;
  }
  
  #s5_social_wrap_inner div {
  margin-left:3px !important;
  }
  
  #s5_breadcrumb_fonts_wrap {
  padding:12px !important;
  }
  
  body {
  font-size:0.7em !important;
  }

}


/* CUSTOM SIZES
----------------------------------------------------------- */

















/* SINGLE COLUMN FOR SMALL TABLETS - THIS IS ONLY USED FOR IE7 AND IE8. THE CLASS IS SET WITH JAVASCRIPT FOR IE ONLY
----------------------------------------------------------- */

@media screen and (max-width: 750px) {
  
  .s5_ie_single_column #s5_right_column_wrap_inner .s5_float_left, .s5_ie_single_column #s5_left_column_wrap_inner .s5_float_left {
  float:none  !important;
  }

  .s5_ie_single_column #s5_columns_wrap_inner {
  width:100%  !important;
  }

  .s5_ie_single_column #s5_center_column_wrap {
  width:100%  !important;
  left:100%  !important;
  }

  .s5_ie_single_column #s5_left_column_wrap {
  left:0%  !important;
  }
  
  .s5_ie_single_column #s5_left_top_wrap, .s5_ie_single_column #s5_left_column_wrap, .s5_ie_single_column #s5_left_inset_wrap, .s5_ie_single_column #s5_left_wrap, .s5_ie_single_column #s5_left_bottom_wrap, .s5_ie_single_column #s5_right_top_wrap, .s5_ie_single_column #s5_right_column_wrap, .s5_ie_single_column #s5_right_inset_wrap, .s5_ie_single_column #s5_right_wrap, .s5_ie_single_column #s5_right_bottom_wrap {
  width:100% !important;
  }
  
  .s5_ie_single_column #s5_center_column_wrap_inner {
  margin:0px !important;
  }
  
  .s5_ie_single_column #s5_left_column_wrap {
  margin-right:0px !important;
  }
  
  .s5_ie_single_column #s5_right_column_wrap {
  margin-left:0px !important;
  }
  
  .s5_ie_single_column  .items-row .item {
  width:100% !important;
  padding-left:0px !important;
  padding-right:0px !important;
  margin-right:0px !important;
  margin-left:0px !important;
  }

}
