/*CSS for dynamic classes */

#floating-icons .floating-social-icons {
  display: inline-block;
  position: fixed;
  z-index: 9999;
}

#floating-icons .floating-top {
  top: 0px;
  right: 100px;
}

#floating-icons .floating-right {
  right: 0px;
  top: 100px;
}

#floating-icons .floating-bottom {
  bottom: 0px;
  right: 100px;
}

#floating-icons .floating-left {
  left: 0px;
  top: 100px;
}


/* CSS for anchor tag */

#floating-icons a.grow,
#floating-icons a.shrink,
#floating-icons a.black-white,
#floating-icons a.white-black,
#floating-icons a.rotate {
  position: relative;
  width: 45px;
  height: 30px;
  padding: 8px 0;
  display: inline-block;
  text-align: center;
  color: #fff;
  line-height: inherit;
  font-size: 24px;
  border-bottom: none;
}

#floating-icons a.rotate {
  -webkit-transition-property: transform;
  -moz-transition-property: transform;
  -ms-transition-property: transform;
  -o-transition-property: transform;
  transition-property: transform;
  transition-duration: 1s;
}

#floating-icons a.shrink:active,
#floating-icons a.shrink:hover {
  z-index: 10;
  -webkit-box-shadow: 1px 1px 1px 1px #333;
  -moz-box-shadow: 1px 1px 1px 1px #333;
  box-shadow: 1px 1px 1px 1px #333;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
}

#floating-icons a.grow:active,
#floating-icons a.grow:hover {
  z-index: 10;
  -webkit-box-shadow: 1px 1px 1px 1px #333;
  -moz-box-shadow: 1px 1px 1px 1px #333;
  box-shadow: 1px 1px 1px 1px #333;
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

#floating-icons a.black-white:active,
#floating-icons a.black-white:hover {
  z-index: 10;
  color: #ffffff;
  background: #000000;
  -webkit-box-shadow: 1px 2px 15px 3px #333;
  -moz-box-shadow: 1px 2px 15px 3px #333;
  box-shadow: 1px 2px 15px 3px #333;
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

#floating-icons a.white-black:active,
#floating-icons a.white-black:hover {
  z-index: 10;
  color: #000000;
  background: #ffffff;
  -webkit-box-shadow: 1px 2px 15px 3px #333;
  -moz-box-shadow: 1px 2px 15px 3px #333;
  box-shadow: 1px 2px 15px 3px #333;
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

#floating-icons a.rotate:active,
#floating-icons a.rotate:hover {
  z-index: 10;
  animation-name: rotate;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-timing-function: linear;
}


/* Css for dynamic classes */

#floating-icons .floating-horizontal {
  float: left;
}

#floating-icons .floating-vertical {
  display: block;
}


/* Setting Background Color for font awesome icons */

#floating-icons .facebook {
  background-color: #3b5998;
}

#floating-icons .google-plus {
  background-color: #dd4b39;
}

#floating-icons .linkedin {
  background-color: #007bb6;
}

#floating-icons .twitter {
  background-color: #00aced;
}

#floating-icons .pinterest {
  background-color: #cb2027;
}

#floating-icons .instagram {
  background: linear-gradient(#683dc0, #f46833, #fcb050);
}

#floating-icons .youtube {
  background: #f23f29;
}

#floating-icons .mail {
  background: linear-gradient(#5a84fd, #6fe9ff);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


/* Responsive css */

/*mobile potrait*/

@media screen and (max-width:414px),
screen and (min-width:568px) and (max-width: 767px),
screen and (min-width:768px) and (max-width:1024px) {

  #floating-icons .floating-top,
  #floating-icons .floating-right,
  #floating-icons .floating-bottom,
  #floating-icons .floating-left {
    width: 100%;
    display: inline-block;
    position: fixed;
    z-index: 9999;
    bottom: 0px;
    top: initial;
    right: initial;
    left: 0px;
  }
  #floating-icons a.grow,
  #floating-icons a.shrink,
  #floating-icons a.black-white,
  #floating-icons a.white-black,
  #floating-icons a.rotate {
    width: 100%;
  }
  #floating-icons .two {
    width: 50%;
    float: left;
  }
  #floating-icons .three {
    width: 33.33%;
    float: left;
  }
  #floating-icons .four {
    width: 25%;
    float: left;
  }
  #floating-icons .five {
    width: 20%;
    float: left;
  }
  #floating-icons .six {
    width: 16.66%;
    float: left;
  }
  #floating-icons .seven {
    width: 14.28%;
    float: left;
  }
  #floating-icons .eight {
    width: 12.50%;
    float: left;
  }
  #floating-icons a {
    width: 100%;
    float: left;
  }
  footer {
    margin-bottom: 25px;
  }
}
