





/* Smartphones (portrait) ----------- */
@media only screen
and (orientation : portrait)
and (max-width : 1400px),

only screen
and (max-width : 960px)
and (orientation : landscape)

{
	

  .mobile_hide{
    display: none;
  }
  body{
    background: #fff none repeat scroll 0 0;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
  }


  #s4m_header{
    border-bottom: 1px solid #ccc;
    display: block;
    float: right;
    height: 60px;
    left: 0;
    margin: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    background: #fff;

  }


  .fancybox[href*="pdf"], .fancybox[href*="htm"] {
    float: none;
    margin: auto;
    width: auto;
  }


  #mobile_menu_b{
      background:#fff;
  color: #FFFFFF;
  float: left;
  font-size: 16px;
  font-weight: 700;
  height: 60px;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 100%;
  }

    #mobile_menu_lines_wrapper {
      background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
      display: table;
      float: right;
      height: 60px;
      margin-left: 5%;
      position: relative;
      width: 26px;
      margin-right: 5%;
    }

    .mobile_menu_line {
      background: #205cf6 none repeat scroll 0 0;
      height: 2px;
      left: 0px;
      position: absolute;
      transition: all 0.15s ease 0s;
      width: 26px;
    }

    #mobile_menu_b_line1 {
      top: 20px;
    }
    #mobile_menu_b_line2 {
      top: 29px;
    }
    #mobile_menu_b_line3 {
      top: 38px;
    }

    .menu_opened #mobile_menu_b_line2{
      opacity: 0;
    }
  .menu_opened #mobile_menu_b_line1 {
    top: 30px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
  }
  .menu_opened #mobile_menu_b_line3 {
    top: 30px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
  }


  .quick_contact_icon{
  left: 72px;
  position: absolute;
  top: 12px;
  width: 36px;
  z-index: 999;
  }

  .quick_contact_icon img{
      width:100%;
      height:auto;
  }



  .s4m_logo {
    float: left;
    margin: 7px auto auto 5%;
    padding-right: 0;
    padding-top: 0;
    text-align: center;
    width: 95px;
  }
    .s4m_logo img {
      margin:0;
      width:100%;
      height:auto;
  }

  #click2_wrapper {
    float: right;
    height: 60px;
    margin-right: 0;
    width: 120px;
  }
  .click2{
    float: right;
    height: 60px;
    margin-right: 0;
    margin-top: 0;
    padding-top: 11px;
    width: 60px;
  }
    .click2:nth-child(1) {
      border-left: 1px solid #ccc;
      border-right: 1px solid #ccc;
    }

  .click2 img {
    display: table;
    height: auto;
    margin: 0 auto;
    width: 38px;
    float: none;
  }

  .click2_wrapper path{
    fill: #205cf6;
  }
  /*************************************************** menu */
  .s4m_menu {
    background: #fff none repeat scroll 0 0;
    height: 86vh;
    left: -100%;
    overflow-y: scroll;
    padding: 2% 0;
    position: fixed;
    top: 60px;
    transition: all 0.15s ease-out 0s;
    width: 100%;
    z-index: 9999;
  }

  .menu_opened .s4m_menu{
    left: 0;
  }
  #cse-search-box input[name="sa"] {
    background: #205cf6 none repeat scroll 0 0;
    border: medium none;
    color: #fff;
    float: right;
    line-height: 26px;
    margin: 0;
    width: 20%;
    height: 26px;
  }
  #cse-search-box input[name="q"] {
    border: 1px solid #205cf6;
    float: left;
    height: 26px;
    line-height: 20px;
    width: 78%;
  }

  .s4m_menu_sub:first-of-type{
    height: 40px;
    transform: none;
    visibility: visible;
    display: table;
  }
  .s4m_menu_sub:first-of-type li {
    border: 0 none;
    padding: 0 !important;
  }
  .s4m_menu_title,.s4m_menu_sub:first-of-type span {
    background: #205cf6 none repeat scroll 0 0 !important;
    color: #fff;
    float: left !important;
    line-height: 40px !important;
    padding: 0 5% !important;
    width: 100% !important;
    border-bottom: 1px solid #fff !important;
    position: relative;
  }
  .s4m_menu_sub:first-of-type span{
    font-weight: bold !important;
    padding: 0 !important;
  }
  .s4m_menu_title:after,.s4m_menu_sub:first-of-type span:after {
    background: #fff none repeat scroll 0 0 !important;
    content: "";
    height: 2px !important;
    position: absolute;
    right: 5% !important;
    top: 16px !important;
    -moz-transform: rotate(45deg) !important;
    -webkit-transform: rotate(45deg) !important;
    transform: rotate(45deg) !important;
    width: 9px !important;
    left: auto !important;
  }
  .s4m_menu_title:before,.s4m_menu_sub:first-of-type span:before{
    background: #fff none repeat scroll 0 0 !important;
    content: "";
    height: 2px !important;
    position: absolute;
    right: 5% !important;
    top: 22px !important;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 9px !important;
    left: auto !important;
  }
  .s4m_menu_title b {
    font-weight: normal;
  }
  .s4m_menu_sub{
    visibility: hidden;
    float: left;
    width: 100%;
    -moz-transform:rotateX(90deg);
    -webkit-transform:rotateX(90deg);
    transform:rotateX(90deg);
    transition: all 0.15s ease-out;
    height: 0 !important;
    -moz-transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    padding: 0 !important;
  }
  .s4m_menu_sub.show_sub{
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    visibility: visible;
    height: auto !important;

  }
  #menu li {
    background: #ebebeb none repeat scroll 0 0;
    border-bottom: 1px solid #fff;
    line-height: 30px;
    padding: 0 5%;
    width: 100%;
    position: relative;
  }
  #menu a {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  }
  #menu a span {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    text-indent: 15px;
  }
  #menu a span:hover {
    color:#000 !important;
  }
  #menu a span::before {
    background: #000 none repeat scroll 0 0;
    content: "";
    height: 1px;
    left: 5%;
    position: absolute;
    top: 17px;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 7px;
  }
  #menu a span::after {
    background: #000 none repeat scroll 0 0;
    content: "";
    height: 1px;
    left: 5%;
    position: absolute;
    top: 13px;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 7px;
  }
  #ABC li {
    border: 1px solid #fff;
    display: table;
    float: left;
    height: 14.25vw;
    list-style: outside none none;
    text-align: center;
    width: 14.25%;
  }
  #ABC a {
    background: #ebebeb none repeat scroll 0 0;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: auto;
  }
  #ABC a span {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    font-size: 19px;
    font-weight: normal;
    padding: 0;
    text-align: center;
    color: #205cf6;
  }
  #cse-search-box {
    margin-bottom: 32px;
    width: 100%;
  }
  .s4m_menu > td {
    display: block;
    height: 100%;
    overflow-y: scroll;
    width: 102%;
  }
  #cse-search-box {
    margin-bottom: 32px;
    margin-left: 5%;
    width: 90%;
  }


  /*************************************************** general */
  #oauth2relay741351809 {
    display: none;
  }

  * {
    box-sizing: border-box;
    max-width: 100%;
  }
  p {
    font-size: 16px;
    line-height: 18px;
    margin: 0 0 12px;

  }
  font[size="5"] {
    font-size: 22px;
    line-height: 30px;
  }
  font[size="6"] {
    float: left;
    font-size: 22px;
    line-height: 30px;
    text-align: left;
    width: 100%;
  }
  body > center {
    margin-left: 5%;
    margin-top: 78px;
    width: 90%;
  }

  body>center>table>tbody>tr>td[width="180"]{
    display: none;
  }
  body>center>table>tbody>tr>td{

    margin: 0;
    padding: 0;
  }
  table {
    border-collapse: collapse;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  tbody {
    width: 100%;
  }
  tr {
    /*display: flex;*/
    width: 100%;
  }
  .flex{
    display: flex;
    width: 100%;
    max-width: 96vw;
  }
  .table-home tr {
    display: block;
  }
  td {
    height: auto;
    margin-bottom: 5px;
    padding: 0;


  }
  .td100 {
    border: medium none;
  }
  .td100 tr{
    display: block;
  }
  .td100 td {
    background: #fff none repeat scroll 0 0;
    border: medium none;
    float: left;
    width: 90vw;

  }

  .a100{
    line-height: 18px;
    font-size: 12px;
  }

  .a100 a{
    width: 100% !important;

    line-height: 18px;
    font-size: 12px;
  }
  .a100 p{

    line-height: 18px;
    font-size: 12px;

  }
  .a100 img {
    max-width: 100%;
  }

  .a98 a{
    width: 98% !important;
  }
  .a100 img {
    max-width: 98%;
  }
  iframe {
    width: 100%;
    min-height: 219px;
    margin-top: 10px;
  }
  ins iframe {
    min-height: auto;
  }
  img {
    float: left;
    height: auto;
    margin-bottom: 3px;
    margin-right: 1%;
    max-width: 42vw;
  }
  img[src="Pic-Main/Main-Eisenach.jpg"],img[src="/Pic-Main/Main-Eisenach.jpg"] {
    display: none;
    width: 25%;
  }
  img[src="Pic-Main/BCW-Header.png"],img[src="/Pic-Main/BCW-Header.png"]{
    max-width: 100%;
    width: 100%;
  }
  td[width="33%"] a img {
    float: left;
    width: 100%;
  }

  a {
    line-height: 30px;

  }
  .home-td-right{
    float: right;
    width: 42%;
    margin-top: 39px;
    margin-bottom: -38px;
  }


  /************* home */

  .table-home .fancybox-media {
    float: left;
  }


  .table-home td {
    float: left;
    width: 100%;
  }
  td > div {
    height: auto !important;
    padding: 3% !important;
    text-align: left;
  }


  #header li {
    width: 100%;
  }
  #header a {
    background-repeat: repeat;
  }
  a[href="#Topx"] {
    display: table;
    margin: 0 auto;
    text-align: center;
  }
  .text_align_center{
    text-align: center;
  }

  .fancybox {
    float: left;
    margin: 1%;
    width: 47%;
  }
  .fancybox img {
    height: auto;
    width: 100%;
  }
  .fancybox + br {
    display: none;
  }

  td[width="33%"] center {
    display: table;
    width: 100%;
  }

  td[width="33%"] img {
    clear: both;
    margin-right: 13px;
    margin-top: 8px;
  }

  .s4m_footer tr{
    width: 100%;
    display: table;
    margin: 0 auto;

  }
  /**************************************************** credit */

  #s4m_credit{
  background: none repeat scroll 0 0 #ddd;
  float: left;
  height: 25px;
  margin-top: 30px;
  text-align: center;
  width: 100%;
  padding-top: 5px;
  display:none;
  }

  #s4m_credit a {
    color: #000;
    font-family: arial;
    font-size: 12px;
    text-decoration: none;
    line-height:23px;
  }



}

