.locked {
  overflow: hidden;
}

ul.social {
	list-style-type: none;
    float: right;
    margin-top: 8px;
}

.header-phone .phone_number {
  display: block;
}

#featured_section {
  padding: 20px 0 30px;
}

.social .facebook, .social .twitter, .social .youtube, .social .news {
	background-image: url(https://law-media.s3.amazonaws.com/uploads/131/sites/custom_assets/288/images/social-icons.png);
	height: 34px;
	width: 35px;
	background-size: 400%;
	float: left;
}

.social .twitter {
	background-position: -35px;
	margin-left: 5px;
}

.social .googleplus {
  background: url('https://law-media-staging.s3.amazonaws.com/layouts/35/assets/images/google.png') top center no-repeat;
  margin-left: 5px;
  height: 34px;
  width: 35px;
  float: left;
}

.social .youtube {
	background-position: -70px;
	margin-left: 5px;
}

.social .instagram {
  background: url('https://s3.amazonaws.com/law-media/layouts/35/assets/images/instagram.png') top center no-repeat;
  margin-left: 5px;
  height: 34px;
  width: 35px;
  float: left;
}

.social-links ul li.instagram a {
  background: url('https://s3.amazonaws.com/law-media/layouts/35/assets/images/instagram.png') top center no-repeat;
  height: 34px;
  width: 35px;
}

.social .news {
	background-position: -105px;
	margin-left: 5px;
}

.social a {
	display: block;
	height: 100%;
	width: 100%;
}

.sociallist {
  display: inline-block;
}

.sociallist .social {
  border-bottom: none;
}

@media screen and (max-width: 979px) {
  .header-phone .social {
    display: none;
  }
}

/* New contact icon */

.phone_number .fa-envelope {
  font-size: 24px;
  font-family: "FontAwesome"!important;
  color: #fff;
  margin-left: 12px;
  padding-left: 16px;
  border-left: 1px solid #fff;
}

@media (min-width: 980px) {
  .phone_number .fa-envelope {
    display: none;
  }
}

.phone-number #contact-toggle {
  display: inline-block;
}

/* Contact Wrapper */

.contact-wrapper {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  transition: opacity 0.2s ease;
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
}

.show-contact {
  visibility: visible!important;
  opacity: 1!important;
}

.contact-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(250,250,250,0.95);
  padding: 10% 8%;
  overflow: auto;
}

.contact-content h3, .contact-content h4 {
  font-family: "Open Sans"!important;
  text-align: center;
}

.contact-content h4 {
  font-size: 3rem;
  color: #fff;
}

.contact-content a {
  display: block;
  height: 100%;
  width: 100%;
  padding: 1rem 0;
}

.contact-california {
  margin: 2rem 0;
  background-color: #58ADF4;
}

.contact-nevada {
  background-color: #8FD2FF;
  margin-bottom: 2rem;
}

.contact-colorado {
    background-color: #206cc4;
    margin-bottom: 2rem;
}

.contact-content #contact-close {
  padding: 0;
  text-align: center;
}

#contact-close a:after {
  content: '\f00d';
  font-family: "FontAwesome"!important;
  color: #8fD2FF;
  margin-left: 0.5rem;
}

@media (max-width: 979px) {

  .header-phone .phone_number p {
    display: inline-block;
  }
  
  a.header_telephone {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  a.header_telephone {
    font-size: 16px;
  }
}

/* Sidebar Contact */

.sidebar-contact-buttons {
  margin-bottom: 12px;
}

.sidebar-contact-buttons ul, .sidebar-contact-buttons li {
  list-style-type: none;
  border: none;
}

.sidebar-contact-buttons li a {
  background: 0;
  border: none;
  font-size: 18px;
}

.sidebar-contact-buttons li a:hover, .sidebar-contact-buttons li a:focus {
  background: 0;
}

.sidebar-contact-phone:before {
  content: '\f095';
  font-family: "FontAwesome"!important;
  font-size: 24px;
  display: block;
  float: left;
  margin-right: 8px;
  margin-left: 12px;
  margin-top: 4px;
  color: #fff;
}

.sidebar-contact-form:before {
  content: '\f0e0';
  font-family: "FontAwesome"!important;
  font-size: 24px;
  display: block;
  float: left;
  margin-right: 8px;
  margin-left: 12px;
  margin-top: 4px;
  color: #fff;
}