#footer {
	background-color: transparent;
  height: 250px;
  padding-top: 139px;
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 100%);
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.82) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
  opacity: 0.82;
}

#footer .container-inner {
	position: relative;
}

.single-post.aa_mobile_device #footer {
	display: none;
}

.widget_home_newsletter {
	color: #FFF;
	position: relative;
	overflow: hidden;
	background: #22c0fc;
	background: -moz-linear-gradient(left,  #22c0fc 0%, #cd7ffa 100%);
	background: -webkit-linear-gradient(left,  #22c0fc 0%,#cd7ffa 100%);
	background: linear-gradient(to right,  #22c0fc 0%,#cd7ffa 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#22c0fc', endColorstr='#cd7ffa',GradientType=1 );
}

@media only screen and (max-width : 1600px) {
  .widget_home_newsletter .container-inner {
    padding-left: 20px;
    padding-right: 20px;
  }  
}

#footer .widgets-inner,
.single-footer .widgets-inner {
	background: transparent;
}

h3.aa_newsletter_title {
	font-family: Proximanova Extrabold, sans-serif;
	font-size: 16px;
	letter-spacing: 0.02em;
	opacity: .7;
	text-transform: uppercase;
	margin: 0;
}

.aa_newsletter_subtitle {
	font-family: Raleway Extrabold, sans-serif;
	font-size: 28px;
	letter-spacing: -0.024em;
	line-height: 28px;
}

.aa_top_sb_part,
.aa_bottom_sb_part {
	float: left;
	width: 50%;
}

.aa_top_sb_part {
	margin: 77px 0 78px;
}

.aa_bottom_sb_part {
	margin: 69px 0 10px 0;
	text-align: right;
}

#footer .aa_top_sb_part {
	margin: 94px 0 101px;
}

#footer .aa_bottom_sb_part {
	margin: 79px 0 10px 0;
}

.widget_home_newsletter #drip-email,
.widget_home_newsletter #drip-email:focus,
.widget_home_newsletter #drip-email:active {
	border: none;
	background-color: transparent;
	font-family: Proximanova Semibold, sans-serif;
	color: #868686;
	font-size: 18px;
	position: relative;
	padding-left: 2px !important;
	letter-spacing: -0.03em;
	box-shadow: none;
	text-transform: none;
}

.widget_home_newsletter #drip-email::-webkit-input-placeholder {font-family: Proximanova Semibold, sans-serif;color: #CCC;font-size: 18px;}
.widget_home_newsletter #drip-email::placeholder {font-family: Proximanova Semibold, sans-serif;color: #CCC;font-size: 18px;}

.widget_home_newsletter .aa_email_wrapper {
	position: relative;
	height: 62px;
	display: inline-block;
	padding: 0 35px 0 59px;
	background-color: #FFF;
}

.widget_home_newsletter .aa_email_wrapper:before {
	content: '\e937';
	display: block;
	position: absolute;
	z-index: 2;
	font-family: icons;
	color: #cecece;
	left: 22px;
	top: 20px;
	font-size: 16px;
}

.widget_home_newsletter .aa_email_wrapper.focused:before {
	color: #00cdfc;
}

.aa_subscribe_wrapper {
	background-color: #00cdfc;
	position: relative;
	z-index: 1;
	display: inline-block;
	margin-left: -5px;
  top: -1px;
}

.widget_home_newsletter input[type="submit"] {
	position: relative;
	background-color: transparent;
	font-family: Proximanova Extrabold, sans-serif;
	font-size: 16px;
	float: none;
	text-transform: uppercase;
	height: 52px;
	padding: 8px 20px;
}

.button-slanted {
	display: inline-block;
	-webkit-transform: skewX(-13deg);
	transform: skewX(-13deg);
}

.button-slanted-inner {
	display: inline-block;
	-webkit-transform: skewX(13deg);
	transform: skewX(13deg);
}

.button-slanted-wrapper {
	position: relative;
	display: inline-block;
}

.button-slanted-wrapper:after {
	content: '';
	display: block;
	background-image: url( '../images/slanted_bg.png' );
	background-size: cover;
	background-repeat: no-repeat;
	position: absolute;
	height: 100%;
	width: 100%;
	top: 3px;
	left: 3px;
	-webkit-transform: skewX(-13deg);
	transform: skewX(-13deg);
}

.main-post-container .widget_home_newsletter .container-inner {
	max-width: 1455px;
	z-index: 1;
	position: relative;
}

.aa_mobile_device .main-post-container .widget_home_newsletter {
	margin-left: -10px;
	width: calc( 100% + 20px );
	margin-bottom: 30px;
}

/* Subscribe in content styles */

.widget_home_newsletter input[type="submit"]:hover {
	opacity: 1;
	animation-name: subscr_bttn_hover;
	-webkit-animation-name: subscr_bttn_hover;
	animation-duration: .3s;
	-webkit-animation-duration: .3s;
	animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;
	-webkit-animation-timing-function: ease-out;
	animation-timing-function: ease-out;
}

@keyframes subscr_bttn_hover {
	0% { bottom: 0; }
	50% { bottom: 4px;  }
	100% { bottom: 0; }
}

.widget_home_newsletter:before {
	content: '';
	position: absolute;
	display: block;
	bottom: 0;
	left: 0;
	width: 250px;
	height: 187px;
	background-image: url(../images/footer_bg.png);
	background-size: cover;
	background-repeat: no-repeat;
}

ul.footer-menu {
  padding: 0;
  margin: 0;
  margin-bottom: 12px;
}

ul.footer-menu li {
	display: inline-block;
}

ul.footer-menu li a {
  position: relative;
  font-size: 15px;
}

#footer-main-menu ul li a {
  color: #fff;
  font-family: "Proximanova Semibold", sans-serif;
  letter-spacing: 6.13px;
  text-transform: uppercase;
  padding: 0 22px;
}

#footer-second-menu ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-family: "Proximanova Regular", sans-serif;
  letter-spacing: -0.15px;
  text-transform: lowercase;
  padding: 0 8px;
}

ul.footer-menu li:not(:first-of-type) a:before {
	content: '';
	display: block;
	position: absolute;
	left: -6px;
	top: 5px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
}

#footer-second-menu li:not(:first-of-type) a:before {
  left: -4px;
  top: 7px;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-family: "Proximanova Regular", sans-serif;
  font-size: 15px;
  letter-spacing: -0.15px;
}

@media only screen and (max-width : 991px) {
  	.widget_home_newsletter h3.aa_newsletter_title {
		font-size: 14px;
		margin: 26px 0 0;
		line-height: 30px;
	}

	.aa_top_sb_part,
	.aa_bottom_sb_part {
		width: calc(100% - 14px);
		margin: 0 18px;
	}

	.aa_top_sb_part,
	#footer .aa_top_sb_part {
		margin: 8px 7px 10px;
	}

	.aa_bottom_sb_part,
	#footer .aa_bottom_sb_part {
		margin: 23px 0 38px 3px;
		margin-top: 37px;
		text-align: center;
	}
  
	.widget_home_newsletter .aa_email_wrapper {
		padding: 0 0 0 62px;
	}

  	.aa_newsletter_subtitle {
		font-size: 22px;
		margin: -4px 0 0 0;
		letter-spacing: -0.03em;
		display: inline-block;
	}

	.widget_home_newsletter input[type="submit"] {
		margin: 0;
		height: 62px;
	}

  #footer {
    padding: 38px 0;
    height: auto;
  }

  #footer-main-menu ul.footer-menu li {
    display: block;
    margin-bottom: 51px;
  }

  #footer-main-menu ul li:not(:first-of-type) a:before {
    left: 0;
    right: 0;
    top: 0;
    margin: -31px auto;
  }
}