/*We did not write this CSS, it has only been modified to fit our site. CSS provided by Steven Song; he hired an outside vendor*/

.font14 {
  font-size: 12px;
}

.font16 {
  font-size: 16px;
}

.font24 {
  font-size: 24px;
}

#contactOur img {
  width: auto;
}

.contactOur {
  position: fixed;
  right: 0;
  top: 50%;
  margin-top: -50px;
  z-index: 11;
  transition: .5s;
  -webkit-transition: .5s;
}
.contactOur h6 {
  margin-bottom: 0;
}
.contactOur .tit {
  overflow: hidden;
  transition: 0s;
  -webkit-transition: 0s;
  text-align: center;
  width: 109px;
  display: block;
}

.contactOurXzSsZb {
  width: 101px;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 15px 0 0;
  height: 101px;
  background-color: #fcc800;
}

.contactOur a {
  color: black;
}

.contactOur a.tit:hover {
  color: #333333;
}

.contactDL {
  width: 768px;
  background: #333;
  position: absolute;
  left: 100%;
  top: 0;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
}

.contactDL dd {
  padding: 20px 0 0;
  height: 192px;
  float: left;
  width: 25%;
  transition: .5s;
  -webkit-transition: .5s;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.contactDL dd a {
  display: block;
  padding: 0 20px;
  height: 154px;
}
.contactOur div:focus,
.contactOur h6:focus,
.contactOur p:focus,
.contactOur a:focus,
.contactDL dd a:focus,
.contactOur div:visited,
.contactOur h6:visited,
.contactOur p:visited,
.contactOur a:visited,
.contactDL dd a:visited, 
.contactOur div:active,
.contactOur h6:active,
.contactOur p:active,
.contactOur a:active,
.contactDL dd a:active, 
.contactOur div:hover,
.contactOur h6:hover,
.contactOur p:hover,
.contactOur a:hover,
.contactDL dd a:hover {
  text-decoration: none !important;
  outline: 0 !important;
}

.contactDL dd a p {
  color: #FFFFFF;
}

.contactDL dd h6 {
  padding: 19px 0 0px 0;
  font-size: 18px;
  color: #ffffff;
  font-weight: normal;
}

.contactDL p {
  font-size: 14px;
}

.borderRT {
  border-right: 1px solid #FFFFFF;
}

/*.contactDL dd a .font14{ height: 42px;color: #fff;line-height: 21px;}*/

.contactDL dd p {
  margin: 0;
  line-height: 1.2;
}

.contactDL dd div {
  height: 62px;
  /*line-height: 46px;
  font-size: 0;*/
  padding-top: 20px;
}

.contactDL dd div img {
  display: inline-block;
}

.contactOurXzSs {
  width: 8px;
  float: left;
  height: 101px;
  background: #000000 url('../images/ico1.png') no-repeat center center;
}

@media only screen and (max-width:960px) {

  .contactDL {
    width: 160px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 0;
  }

  .contactOur.on {
    right: 160px;
  }

  .contactDL dd {
    float: none;
    width: auto;
    padding: 0 10px;
    min-height: 10px;
    height: auto;
  }

  .borderRT {
    border-bottom: 1px solid #FFFFFF;
    border-right: none;
  }

  .contactDL dd a {
    padding: 15px 0;
    min-height: 10px;
    height: auto;
  }

  #contactOur .contactDL dd img {
    width: 40px;
  }

  .contactDL dd h6 {
    padding: 0 0 5px 0;
    font-size: 16px;
  }

  #contactOur .contactOur .tit img {
    width: 30px;
  }

  .contactOur .tit {
    width: 68px;
    position: relative;
    /*webin1137 change height so text on tab shows*/
    /*height: 68px;*/
    height: 85px;
    padding: 6px 0;
    overflow: hidden;
    transition: 0s;
    -webkit-transition: 0s;
  }

  .contactOur .tit h6 {
    font-size: 12px;
  }

  .contactDL dd div {
    height: auto;
    line-height: 100%;
  }

  .contactOur.on:before {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    content: '';
    background: rgba(0, 0, 0, .7);
  }

  /*.contactOur.on{ right: 768px;}*/
  .contactOur.on .tit {
    width: 60px;
  }

  .contactDL dd div {
    padding: 0 0 10px;
  }

  .contactOurXzSsZb {
    width: 60px;
    padding: 6px 0 0;
    /*webin1137 change height so text on tab shows*/
    /*height: 60px;*/
    height: 85px;
  }
  .on .contactOurXzSs {
    display: none;
  }
  .contactOurXzSs {
    display: block;
    /*webin1137 change height so text on tab shows*/
    /*height: 60px;*/
    height: 85px;
  }

  .contactOur.on .contactOurXzSsZb {
    background: #555 url('../images/close.png') no-repeat center center;
    text-indent: -150px;
    -webkit-background-size: 26px auto;
    -moz-background-size: 26px auto;
    -ms-background-size: 26px auto;
    -o-background-size: 26px auto;
    background-size: 26px auto;
    padding: 0;
  }

  .contactDL dd a p.whitnowrap {
    font-size: 10px;
  }





}

@media only screen and (min-width:960px) {
  .contactOur:hover {
    right: 768px;
  }

  .contactDL dd:hover {
    background: #666;
  }

  .contactOur:hover .contactOurXzSs {
    width: 24px;
    height: 192px;
    background: #000000 url('../images/ico2.png') no-repeat center center;
    float: right;
  }

  .contactOur:hover .contactOurXzSsZb {
    display: none;
  }

  /*.contactOur:hover .tit{width: 24px;}*/
}
