@charset "utf-8";
/* CSS Document */

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 0;
  right: 50px;
  box-shadow:0 2px 6px 0 rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background:#cdd520 url(../images/scrolltop-thumb1.png) no-repeat center;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s; z-index:99;
}
.cd-top:hover { background-color:#a7a7a7;}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: 1;
}
.no-touch .cd-top:hover {
  background-color: #a7a7a7;
  opacity: 1;
}

/*Smartphone css*/
@media screen and (max-width: 480px) {
.cd-top { right:5%;}
}

@media screen and (min-width:481px) and (max-width:600px) {
.cd-top { right:5%;}
}

@media screen and (min-width:601px) and (max-width:767px) {
.cd-top { right:5%;}
}

@media screen and (min-width:768px) and (max-width:900px) {
.cd-top { right:3%;}
}

@media screen and (min-width:901px) and (max-width:1024px) {
.cd-top { right:3%;}
}

@media screen and (min-width:1025px) and (max-width:1240px) {
.cd-top { right:3%;}
}