/*!
 * Contact Buttons Plugin Demo 0.1.0
 * https://github.com/joege/contact-buttons-plugin
 *
 * Copyright 2015, José Gonçalves
 *
 * Licensed under the MIT license:
 * http://www.opensource.org/licenses/MIT
 */
#contact-buttons-bar {
  position: fixed;
  top: 120px;
  right: 0;
  width: 120px;
  z-index: 3;
}


.contact-button-link  {
  display: block;
  width: 120px;
  height: 120px;
  padding: 0;
  margin-bottom: 1px;
  text-align: center;
  line-height: 50px;
  font-size: 22px;
  background: #8e8e93;
  color: #fff;
  position: relative;
  left: 0;
  
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  
  -webkit-transition: all 250ms;
     -moz-transition: all 250ms;
          transition: all 250ms;
}

.contact-button-link:hover,
.contact-button-link:focus,
.contact-button-link:active {
  color: #fff;
  padding-right: 20px;
  left: -20px;
  width: 140px;
}
.contact-button-link.cb-hidden {
  margin-left: 120px;
}
.contact-button-link.facebook {
  background: #3b5998;
}
.contact-button-link.linkedin {
  background: #0077b5;
}
.contact-button-link.gplus {
  background: #db4437;
}

.contact-button-link.separated {
  margin-top: 1em;
}

.show-hide-contact-bar,
.contact-button-link.show-hide-contact-bar:focus,
.contact-button-link.show-hide-contact-bar:active {
  background: transparent;
  color: #000;
  border: 0;
  outline: 0;
  padding: 0;
  width: 50px;
}
.contact-button-link.show-hide-contact-bar:hover {
  color: #000;
  background: #ccc;
  padding: 0;
  width: 50px;
}

#contact-buttons-bar .cb-ancor .fa {
  font-size: 45px;
  margin-top: 25px;
}

#contact-buttons-bar .contact-button-link::after {
  display: block;
  text-transform: uppercase;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 15px;
  margin-top: -15px;
}

#contact-buttons-bar .events {
  background-color: #2d6d60;
}

#contact-buttons-bar .events::after {
  content: 'Events';
}

#contact-buttons-bar .email {
  background-color: #d37533;
}

#contact-buttons-bar .email::after {
  content: 'Subscribe';
}

#contact-buttons-bar .contact {
  background-color: #99276b;
}

#contact-buttons-bar .contact::after {
  content: 'Contact';
}

#contact-buttons-bar .show-hide-contact-bar {
    height: 40px;
    margin-left: 70px;
    left: 0;
}

#contact-buttons-bar .show-hide-contact-bar .fa {
    font-size: 25px;
    margin: 0px;
}

@media only screen and (max-width: 767px) {
  #contact-buttons-bar {
    width: 360px;
    left: 50%;
    bottom: 0 !important;
    top: auto !important;
    margin-left: -180px;
  }

  #contact-buttons-bar .contact-inner-boxes {
    display: flex;
    max-height: 120px;
  }

  #contact-buttons-bar .contact-inner-boxes .contact-button-link {
    height: 140px;
  }

  #contact-buttons-bar .show-hide-contact-bar {
    margin: 0 auto;
  }

  .contact-button-link.cb-hidden {
    margin-left: 0px;
    margin-bottom: -140px;
  }

  .contact-inner-boxes .contact-button-link:hover,
  .contact-inner-boxes .contact-button-link:focus,
  .contact-inner-boxes .contact-button-link:active {
    color: #fff;
    padding-bottom: 20px;
    left: auto;
    width: 120px;
    padding-right: 0px;
    top: -20px;
  }
}

