
/* general styles --------------------------  */

@font-face {
	font-family: 'flexslider-icon';
	src: url('fonts/flexslider-icon.eot');
	src: local('Ã¢ËœÂº'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
.fl {float:left;}
.fr {float:right;}
form{margin:0 auto;}
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
    padding: 6px 10px;
    background-color: #fff;
    border: 1px solid #D1D1D1;
    /* border-radius: 4px; */
    box-shadow: none;
    box-sizing: border-box;
    width: 42%;
    margin-bottom: 18px;}
/* Removes awkward default styles on some inputs for iOS */
input[type="button"]
{background-color: #727372;
    width: 100%;
    border: none;
    font-size: 19px;
    font-family: 'Arapey', serif;
    color: #222;
    padding: 10px 20px;
    letter-spacing: 3px;}
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 95px;
  padding-top: 6px;
  padding-bottom: 6px;
  color: #222; 
  font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size:11px;
}
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 400; 
  color:#222;
  font-size:11px;}
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }
.left{float:left;display:inline;width:48%;}
.right{float:right;display:inline;width:48%;}
.hidden {display: none !important;
visibility: hidden;}
video {
  width: 100%    !important;
  height: auto   !important;
}
h1, h2, h3, h4, h5, h6, p, li, pre, code, address, caption, cite, code, th, dfn, del, select, option {
    font-weight: normal;
    font-style: normal;
    color: #585a58;
}
.ndd-annotations-global-container .slideshow {margin: 0 auto; width:1600px;}
ul, ol {
    list-style: none;
    font-family: 'Arapey', serif;
    letter-spacing:3px;
}

h1, .h1 {
	font-family: 'Arapey', serif;
	font-size: 22px;
	line-height: 28px;
	letter-spacing: 4px;
	margin: 0;
	text-transform: uppercase;
	font-weight: normal;
    	font-style: normal;
    	color: #585a58;}
	
h2{
	font-family: 'Lato', serif;
	font-size: 14px;
	line-height: 36px;
	letter-spacing: 4px;
	font-weight: 300;
	margin-top: 0;
	text-transform: uppercase;
}

p, label, input, textarea, select {
	font-family: 'Lato', serif;
	font-size: 14px;
	line-height: 22px;
	letter-spacing: 1.5px;
	font-weight: 300;
}

#message-banner {
    font-family: 'Arapey', serif;
    width: auto;
    margin-top: 60px;
    padding: 12px;
    text-align: center;
    background: #717271;
    color: #FFF;
    font-size: 22px;
    line-height: 125%;
    letter-spacing: 2px;
}

#nyshumanright {
    font-family: 'Arapey', serif;
    width: auto;
    padding: 8px;
    text-align: center;
    color: #717271;
    font-size: 12px;
    letter-spacing: 1px;
}

.center-text h1, .center-text h2, .center-text p {
	text-align: center;
}

.container {
	background-color: white;
	}

.row {
	margin: 4% 8%;
	position: relative;}

.text-wrap-right {
    padding-left: 80px;

}

.text-wrap {padding: 50px 0 0;}

.text-wrap p {padding: 0 100px;}

hr {
	width: 40px;
	margin: 20px auto;}
	
hr.divider {
	width: 84%;
    border-color: #dfdfdf;
    margin: 0px auto;}
    
.margin {
	margin: 20px 0;}
	
.loading {
	  width: 50px;
	  height: 50px;	
	  position: absolute;
	  top: 50%;
	  left: 50%;
	  margin: -25px 0 0 -25px;
}

.loading img {
	width:  75%;
}
.contactHeader {
	position: absolute;
    right: 5px;
       top: 6px;
    color: #666;
    text-align: right;
    font-size: 14px;
    line-height: 24px;
}

.clearfix {
  clear: both;
}

/* LINKS --------------------------  */

a:link a:hover, footer h1 a:hover {
	color: white !important;
	text-decoration: none;
}

a:visited {
	text-decoration: underline;
	}

.scroll-down a:hover, .scroll-down a:visited .scroll-down a:focus {
	text-decoration: none;
	border: none;
}

a.navbar-brand:hover, a.navbar-brand:focus {
	color: black !important;
	opacity: .8;
	text-decoration: none;
	border: none;
}

::selection {
  background: #727473 !important; /* WebKit/Blink Browsers */
  
}

button h1 {color: white;}

/* navbar --------------------------  */

.hamburger {
	display: none;
}
.navbar-right {
	margin: 0;
	}
	
.navbar-left {
    padding: 14px 15px;
    margin: 0;}
.navbar-inverse .navbar-brand {
    color: #000;
}

.navbar-header .navbar-brand {
	font-family: 'Arapey', serif;
	font-size: 18px;
    letter-spacing: .075em;
	line-height: 20px;}

.navbar-right li {
	float: left;
	letter-spacing: 1px;
	line-height: 60px;
	text-transform: uppercase;}

#navbar li {
    width: auto;
    text-align: left;
    margin: 0 0 0 4.5%;
    font-size: 14px;}
    
.row span { 
      
  padding-bottom: 100px; 
  display: block; 
}

#neighborhood, #residences {padding-bottom: 25px;}
#mapFrame {width: 100%;
    max-width: 1372px;
    min-height: 892px;
    clear: both;
    margin: 50px auto 0;
    padding: 2px;
    display: block;
    border: 2px solid #666!important;
}
.mapCategories {
    background: rgba(255,255,255,1);
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
    border: 2px solid #666;
    margin: 0;
    padding: 10px;
    width: 150px;
    z-index: 5;
}
.mapCategories a {
    vertical-align: middle;
    margin: 5px 10px 5px 0;
    float: left;
    text-transform: uppercase;
    text-decoration: none;
    color: #666;
    font-size: 13px;
	width: 100%;
}
a.circle::before {
	content: ' ';
	display: inline-block;
	margin-right: 5px;
	width: 15px;
	height: 15px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
}
a#cBtn.circle::before {
	background-color: rgb(106, 161, 183);
}
a#plBtn.circle::before {
	background-color: rgb(136, 152, 105);
}
a#gBtn.circle::before {
	background-color: rgb(112, 114, 112);
}
a#pBtn.circle::before {
	background-color: rgb(192, 96, 61);
}
a#tBtn.circle::before {
	background-color: rgb(138, 102, 86);
}
a#frBtn.circle::before {
	background-color: rgb(211, 180, 133);
}
a.circle.off {
	opacity: .5;
}

/* hero --------------------------  */

.hero {
    height: 100vh;
    width:100%;
    background: url('../img/hero3-min.jpg')no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.hero.hero-gallery {
    background: none !important;
}
.heroslider .slides > li { 
  background-position: center;
  height: 100%;
  width: 100%;
  display: none; 
  -webkit-backface-visibility: hidden;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.flexslider-container, 
.heroslider .slides, 
.flex-viewport {
    height: 100%;
}
.flexslider-container {
    position: relative; 
	z-index: 1;
}
.hero-logo {position: relative; z-index: 99; opacity: 1; transition: all 0.5s ease;}
.hero-logo.sticky {z-index: 0; opacity: 0;}
.heroslider {
  margin: 0; 
  padding: 0; 
  width: 100%; 
  height: 100%; 
  border: 0px; 
  overflow: hidden;
}
.heroslider ul.slides {
  margin: 0;
  padding: 0;
}

.hero img.logo {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -85px 0 0 -85px;
    border: 3px solid white;
    width:176px;
    }
.hero h1 { position: fixed;
    top: calc(47vh - 156px);
    left: calc(50vw - 137px);
    text-align: center;
	    letter-spacing: 3px;
		line-height: 40px;
	    text-shadow: rgb(0, 0, 0) 0px 0px 7px;
    font-size: 40px;
    color: #fff;}
.hero h2 {    position: fixed;
    bottom: calc(42vh - 80px);
    left: calc(50vw - 200px);
    width: 400px;
	/*background: rgba(0,0,0,.5);*/
	text-shadow: rgb(0, 0, 0) 0px 0px 3px;
    font-size: 13px;
    text-align: center;
    line-height: 25px;
    letter-spacing: 3px;
    color: #fff;
	padding: 20px 0;;
	text-transform:none;}
.scroll-down  {
	width: 50px;
	height: 100px;
    margin: auto;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    display:  block;
    z-index: 999;
}

.flex-direction-nav a:before {
	color:rgba(255,255,255,1);}
    
.scroll-down img {width: 100%;}

/* BODY --------------------------  */
.img-left {
	
    background: url('../img/heroLobby2.jpg')no-repeat left top;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}
.img-left video {width:70%!important;}
.right-text {
	padding: 0 0 0 8%;}

.right-text p {
	padding: 20px 0;}  

.grid, #masonry-grid {
	    min-height: 1000px;
}

.grid-item  {
	background-color:  white;
}
.img-grid img {
	padding: 10px;}

.img-hover:hover {
	opacity: .5;
	cursor: pointer;
}

.cta {
	width: 320px;
	height: 40px;
	background-color: #707170;
	display: block;
	margin: 25px auto;
	border: none;
	display: block;
	float: none;}

.cta h1 {
	font-size:  16px;
	letter-spacing: 2px;
}


/* FlexSlider --------------------------  */

#carousel .flex-viewport .slides li {
	width:  100px !important;
	height: 100px;
}

#carousel .flexslider {
	margin:  50px auto 0;
}
.grid-item .flexslider, .fl .flexslider {
	margin:0;
	}
.slides > li {display: none;}
.no-js .slides > li:first-child {display: block;}

.flex-control-nav {display:none;}
/* Amenities --------------------------  */

.slides, .flex-active-slide {
	position:  relative;
}

#slider .flex-direction-nav .flex-prev, #slider .flex-direction-nav .flex-next {
    top: 40% !important
}

.caption {
	position: absolute;
	background-color: rgba(0, 0, 0, 0.5);
	right: 0;
	z-index: 999;
	height: 150px;
	bottom: 0;
	text-align: center;
	opacity: 1;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.inner-caption {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 50px;
}

.caption img.close {
	width: 25px;
	position: absolute;
	top: 0;
	right: 0;
	margin: 7%;
	z-index: 999;
		opacity: 1;
}
.caption.closed img.close {
	-ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    transition: opacity 2s;}
.caption.closed {
	    height: 40px;
    width: 40px;
    -webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	}
.caption.closed .inner-caption  {opacity:0;-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;}
.caption h1 {
	font-family: 'Arapey', serif;
	    font-size: 16px;
	    line-height: 26px;
	    letter-spacing: 2px;
	    margin: 0;
	    text-transform: capitalize; 
	    color: white;
}
.caption p {
	margin-top: 24px;
}

/* Team --------------------------  */

#team .text-wrap {
	padding: 25px 0 0;
}
.team-column {
	padding: 0 25px;
	margin-top: 25px;
}

.team-column img {
	width: 250px;
	padding: 25px;
	margin: 0 auto;
	display: block;
}

.team-column p {
	/*text-align: justify ;*/
}

.team-column p:first-child, .team-column p:nth-child(2){
	padding-right: 25px;
}



/* Contact Form --------------------------  */

/*#contact {
	width: 50%;
    margin: 4% auto 6%;} */   

label {
	font-weight: normal;
	color: #70726f;
	letter-spacing: 1px;
	width: 100%;
	margin-top: 12px;}

textarea {
    width: 50%;
    height: 200px;
    border-color: #cccccc;
}

input.submit-button {
	display: block;
    font-size: 12px;
    padding: 10px 20px;
    background: #717271;
    color: white;
    border: none;
    margin-top: 24px !important;}

#contact .submit-button {
	font-family: 'Arapey', serif;
	font-size: 16px;
	line-height: 28px;
	letter-spacing: 4px;
	margin: 0;
	text-transform: uppercase;
	width: 100%;
	color: white;
	padding: 0;
}

input:invalid, textarea:invalid {
    background-color: white !important;
}
/* Footer --------------------------  */

footer {
    background-color: #717271;
    width: 100%;
    height: 50px;
    padding: 0 8%;
}

footer h1 {
	text-align: right;
}
	
footer h1 a {	
	text-transform: capitalize;
	color: white;
	letter-spacing: 3px;
	line-height: 50px;
	font-size: 12px;}

#footer img {
	padding: 10px;
}

/* CSS ANIMATION --------------------------  */

@-webkit-keyframes fadeIn-hero { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn-hero { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn-hero { from { opacity:0; } to { opacity:1; } }

#body-container {
	opacity:0; 
  	-webkit-animation:fadeIn-hero ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
  	-moz-animation:fadeIn-hero ease-in 1;
  	animation:fadeIn-hero ease-in 1;

  	-webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
  	-moz-animation-fill-mode:forwards;
  	animation-fill-mode:forwards;

  	-webkit-animation-duration:1s;
  	-moz-animation-duration:1s;
  	animation-duration:1s;
}
  	
  	
  	
/* MEDIA QUERIES --------------------------  */

/*@media (max-width: 1500px){
	#slider {
		height: 75vh;
	}
}*/


/* Carousel Thumbnail sizes --------------------------*/

@media (min-width : 990px) {
	.text-wrap-right hr {
		margin:  25px 0;
	}
	
	#carousel .flex-viewport .slides li {
	    width: 100px !important;
	    height: 100px;
	}
}

@media (min-width: 1300px){
	#carousel .flex-viewport .slides li {
	    width: 125px  !important;
	    height: 125px;
	}
}

@media (min-width: 1500px) { 
	
		#carousel .flex-viewport .slides li{
			width: 150px  !important;
			height: 150px;
			}
		
/*		#slider {
			height: 85vh;
		}	*/
		
	}
@media (max-width : 991px) {

	#contact .contact-right{
		padding-left: 0px;
	}
	
	#last-name {
		width: 100% !important;
	}
	
	.text-wrap-right {
	    padding-left: 0px;
	}
	
	.text-wrap-right hr {
		margin: 25px auto;
	}
	
	.availability-grid {
		margin:  25px 0px;
	}
	
/*	#slider {
		height: 60vh;
	}*/
	
	.img-left {
		margin-left: 0px;
	}
	
	.text-wrap p, .text-wrap-right  {
	    padding: 0 50px;
	    text-align: center;
	}
	
	.amenities-wrap {
		text-align: left;
	}
	
	.amenities.text-wrap-right {
	    padding: 0 0 0 0px;
	}
	
	.amenities-wrap.text-wrap-right {
	    padding: 0 0px;
	}
	
	.grid, #masonry-grid {
	    min-height: 500px;
	}
	
	.cta {
		margin:  35px auto 0;
	}
	
	#carousel .flex-viewport .slides li {
	    width: 115px !important;
	    height: 115px;
	}

}
	
@media (max-width: 963px) { 
	#navbar li {margin: 0 0 0 3%;}
/*	#slider {
		height: 50vh;
	}*/
}

@media (min-width: 1024px)(max-width: 1024px){
	.text-wrap-right {
		width: 50% !important;
		margin: 50px 0;
		}

	}


@media (max-width: 986px) and (min-width: 691px){
	.contactHeader {display:none;}

	}



@media (max-width: 776px) { 

	#navbar li {margin: 0 0 0 3%;}
	/*.navbar .col-xs-12 { width: 82% !important;}*/
	.hero h1 {/*top: calc(47vh - -0px) !important;*/}

}

@media (min-width: 776px) { 

	.amenities.text-wrap-right{
		text-align: left;	
		padding: 0 0 0 50px;
		}
	
	.amenities.text-wrap-right hr {
	    margin: 25px 0;
	}
	
	
	}

@media only screen and (min-device-width : 768px) and (max-device-width : 769px) {

	.text-wrap-right {
		width: 100% !important;
		margin: 50px 0;
		}
		
	footer ul.navbar-right {padding: 5% 5% 0;}
	.navbar-right li, .navbar-left li {line-height: 28px !important;text-align: center;}
	#navbar li {margin: 0 1.5% !important; line-height: 60px !important;}
	/*#navbar.navbar-collapse.collapse ul.navbar-right {display:none;}
#navbar.navbar-collapse.collapse.in ul.navbar-right {
    display: block;
   
}
	.col-sm-1 {width:100%!important;}*/
}

@media (max-width: 900px) {
	
	#last-name {
		width: 100%;
	}
	
	footer h1 {
		text-align: right;
	}
	footer h1 a {
		font-size: 12px;
		letter-spacing: 2px;
	}
	
}

@media (max-width: 768px) {
	.contactHeader {
		position:relative;
		right:none;
		top:none;
	}
	.hamburger {
		display: block;
	}
	.img-left{
		margin-left: 0;
	}
	
	.text-wrap-right{
		padding:  0 40px;
	}
	footer h1 {
		text-align: left;
	}
	
	ul.navbar-right {
	    padding: 5% 0;
	}
	
	ul.navbar-right li {
		float: none;
		line-height: 32px;}

	footer {
		height: auto;
	}
	footer .col-xs-7 {
		clear: both;
	}
	footer h1 a {
	    font-size: 17px;
	    letter-spacing: 2px;
	}
	
	#carousel {
		display: none;
	}
	
	.team-column img {
	    width: 350px;}
	    
	 .caption {
	 	position: absolute;
	 	background-color: rgba(0, 0, 0, 0.15);
	 	right: 0;
	 	z-index: 999;
	 	height: 50px;
	 	bottom: 0;
	 	text-align: center;
	 	opacity: 1;
	 	-webkit-transition: all 0.5s ease-in-out;
	 	-moz-transition: all 0.5s ease-in-out;
	 	-o-transition: all 0.5s ease-in-out;
	 	transition: all 0.5s ease-in-out;
	 }

	 .caption h1 {
	 	font-family: 'Arapey', serif;
 	    font-size: 16px;
 	    line-height: 26px;
 	    letter-spacing: 2px;
 	    margin: 0;
 	    text-transform: capitalize; 
 	    color: white;
 	    opacity: 1;
	 }

	.caption h1{
		font-size: 18px;
		line-height: 22px;
	}
	
	.caption p {
		margin-top:  12px;
		
	}
	
	#mapFrame {min-height: 560px !important;}
	
	#footer .col-lg-6.col-md-6.col-sm-7.col-xs-12 {
	  text-align: center;
	}
	.footer-links {
	  display: block;
	}
}


@media (max-width: 482px) { 

	p, label, input {
	    font-family: 'Lato', serif;
	    font-size: 12px;
	    line-height: 22px;
	    letter-spacing: 1px;
	    font-weight: 300;
	}

	#mapFrame {width:94%; margin: 50px 3% 0;}
	.mapCategories {width: 120px!important;}
	.mapCategories a {
		vertical-align: middle;
margin: 0;
float: left;
text-transform: uppercase;
text-decoration: none;
color: #666;
font-size: 10px;
	}
	h2{
		line-height: 24px;
		margin-top: 10px;
	}
		.hero img.logo {
		width:100px;
margin: -34.5px 0 0 -50.5px;
	}

	.hero h1 {
		top: calc(45vh - 156px);
		left: calc(50vw - 120px);
		font-size: 35px;
	}
	.hero h2 {padding:10px;/*bottom:15vh;*/}
	.center-text h1, .center-text h2, .center-text p, .text-wrap-right {
		text-align: center;
	}
	.navbar-right {
		padding: 15px 15px;}
		
	.navbar-header {display: block !important;}

	ul.navbar-right {
		padding: 5% 0;}

	ul.navbar-right li {
		float: none;
		line-height: 32px;}

	.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {background-color: #fff;}
	
	/* HERO --------------------------  */

	.container {
		margin: 0px !important;}
	
	/* BODY --------------------------  */
	
	.row {margin: 4% 0 !important;}
	
	.mobile-wrapper {
		padding: 0;}
	
	.img-left {
		width: 100% !important;
		
		background:none;}
	.img-left video {width:100%!important;}
	.right-text {padding: 10% 10% 0 !important;}
	.margin {margin: 20px 0 !important;}
	.text-wrap-right, .text-wrap {
		    padding: 25px !important;
		    width: 100% !important;
		}
	
	.center-text hr, .amenities-wrap hr{
		margin: 25px auto;
	}
	
	.grid {
	    margin: 25px auto 0;
	}
	/* Flexslider --------------------------  */
	
	.flex-slider {margin: 50px 0 !important;}    
	.flex-viewport {/*height: auto !important;*/}
	.flex-control-nav {bottom: 0 !important;}
	
	.caption {
	    display: none;
	}
	
	/* Masonry --------------------------  */
		
	.grid, #masonry-grid {min-height: 1500px;}
	
	.grid-item {
		border-width: 10px;
	}
	.grid-item, .grid-item--width2, .grid-item--width3 {
		width: 100% !important;}
		
	.grid-item--height2, .grid-item--height3 {height: auto !important;}
	
	.img-grid img {padding: 5px !important;}
	
	.text-wrap p {padding: 0 !important;}
	#neighborhood {padding-bottom: 50px !important;}
	.cta {width: 250px !important;}
	
	
	/* Team--------------------------  */
	.team-column {
		margin-top: 0px;
	}
	.team-column-1 {
		margin-top: -35px !important;
	}
	/* Contact Form --------------------------  */
		
	#contact {
		width: 90% !important;
		margin: 4% auto !important;}
	
	hr.divider {
	    width: 90%;
	    border-color: #dfdfdf;
	    margin: 25px auto;
	}
		
	input:valid, textarea:valid {
		width: 100%;
		border: 1px solid #cccccc;
	}
	
	#last-name {
		width: 100% !important;
	}
	
	input:valid.checkbox{
		float: left;
		margin: 20px 0 0 0;
		text-align: left;
		clear: none;
		width: 15px;
	}
	
	
	/* Footer --------------------------  */
	footer{
		height: auto;
		padding-left: 10px;
		padding-right: 10px;
	}
	footer ul.navbar-right {padding: 5% 5% 0;}
	
	footer h1 {
		text-align: center;
	}
	footer h1 a {
		text-align: center;
		font-size: 12px;
		letter-spacing: 2px;
	}


}

.offer.on {
	z-index: 5;
	opacity: 1;
}

.offer {
	display: none;
	position: fixed;
	right: 20px;
	top: 70px;
	width: 300px;
	background: #fff;
	z-index: -5;
	opacity: 0;
	transition: all .5s ease-in-out;
	box-shadow: 0px 0px 10px rgba(0,0,0,.5);
	line-height: 1.5em;
}

.offer .offer-x {
	width: 25px;
	position: absolute;
	top: 0;
	right: 0;
	margin: 5px;
	z-index: 2;
	cursor: pointer;
}

.offer.closed {
	display: none !important;
}

.offer h2 {
	text-align: center;
	font-family: 'Arapey', serif;
	color: #fff;
	line-height: 1.5em;
	background: rgb(104, 162, 186);
	padding: 10px 20px;
}

.offer form {
	padding: 10px;
}

.offer .small {
	margin-top: 10px;
	line-height: 1.5em;
	font-size: .5em;
	letter-spacing: 0;
}

.offer #submit_btn-offer {
	font-family: 'Arapey', serif;
	text-transform: uppercase;
	letter-spacing: 0;
	font-size: .9em;
	color: #fff;
	background: rgb(104, 162, 186);
}

@media (min-width: 768px) {
	.offer {
		display: block;
	}
}

.clearfix {
	display: flow-root;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}