html {
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Merriweather';
  font-weight: 700;
}

body {
  height: 100%;
  min-height: 35rem;
  position: relative;
  font-family: 'Source Sans Pro';
  font-weight: 300;
}

.overlay {
  position: absolute;
  height: 100%;
  min-height: 35rem;
  width: 100%;
  background-color: rgb(62,99,128);
  opacity: 0.75;
  z-index: -1;
}

@media (min-width: 768px) {
  .overlay {
    min-height: 0;
  }
}

.masthead {
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}

.masthead .masthead-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: 35rem;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.8);
  transform: skewY(4deg);
  transform-origin: bottom right;
}

.masthead .masthead-content h1 {
  font-size: 2.5rem;
}

.masthead .masthead-content p {
  font-size: 1.2rem;
}

.masthead .masthead-content p strong {
  font-weight: 700;
}

.masthead .masthead-content .input-group-newsletter input {
  font-size: 1rem;
  padding: 1rem;
}

.masthead .masthead-content .input-group-newsletter button {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem;
}

@media (min-width: 768px) {
  .masthead {
    height: 100%;
    min-height: 0;
    width: 40.5rem;
    padding-bottom: 0;
  }
  .masthead .masthead-bg {
    min-height: 0;
    transform: skewX(-8deg);
    transform-origin: top right;
  }
  .masthead .masthead-content {
    padding-left: 3rem;
    padding-right: 10rem;
  }
  .masthead .masthead-content h1 {
    font-size: 3.5rem;
  }
  .masthead .masthead-content p {
    font-size: 1.3rem;
  }
}



.social-icons {
 
  	margin-bottom: 2rem;
   	width:calc(100% - 30px);
	position: fixed;
	bottom: 0;
	text-align:center;
	font-weight:300;
}

.social-icons small{
	text-transform:uppercase;
	letter-spacing:1px;
	padding-bottom:10px;
	font-weight:300;
}

.social-icons ul {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

.social-icons ul > li {
  margin-left: 1rem;
  margin-right: 1rem;
  display: inline-block;
}

.social-icons ul > li > a {
	display: block;
	color: #fff;
	background-color: rgba(255, 255, 255, 0.23);
	border-radius: 100%;
	font-size: 2rem;
	line-height: 4rem;
	height: 4rem;
	width: 4rem;
}
@media (max-width: 768px) {
	.masthead{
		position: absolute;
		top: 0;
		bottom: 0;
	}
	
}

@media (max-height: 600px) and (min-width:501px) {
	.social-icons {
		width: auto !important;
		bottom: 0;
		text-align: center;
		right: 10px;
	}
}

@media (max-height: 600px) and (max-width:500px) {
	.social-icons {
		position:relative;
		margin-top: 50px;
		width: 100%;
	}
}

@media (min-width: 768px) {
  .social-icons {
    
	  width: calc(100% - 120px);
    
  }
  .social-icons ul {
    margin-top: 1rem;
    width: auto;
  }
  .social-icons ul > li {
    display: inline-block;
    margin-left: 7px;
	margin-right: 7px;
    
  }
  .social-icons ul > li:last-child {
    margin-bottom: 0;
  }
  .social-icons ul > li > a {
    transition: all 0.2s ease-in-out;
    font-size: 2rem;
    line-height: 4rem;
    height: 4rem;
    width: 4rem;
  }
  .social-icons ul > li > a:hover {
    background-color: rgba(255, 255, 255, 0.43);
  }
}

.btn-secondary {
	background-color: rgb(62,99,128);
	border-color: rgb(62,99,128);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
	padding: 6px 30px;
}

.btn-secondary:active, .btn-secondary:focus, .btn-secondary:hover {
background-color: rgb(80, 115, 142) !important;
border-color: rgb(80, 115, 142) !important;
}

.input {
  font-weight: 300 !important;
}
