/*
Theme Name: Nanuku Fiji
Theme URI: http://www.nanukufiji.com/
Description:  Custom WordPress theme built for Nanuku Fiji
Author: bWEST Interactive
Author URI: http://bwest.ca
Version: 1.0
*/


/* ===================================================
  Global Formatting and Misc
====================================================== */

html,body {
  height:100%;
  width: 100%;
  margin:0;
}

body {
  background: #fff3e2;
  font-family: 'LeituraSans-Grot1', sans-serif;
  font-size: 16px;
  line-height: 31px;
  color: #000;
}

h1,h2,h3,h4,h5, h6 {
  font-family: 'luxiadisplay';
}

h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong
h1 b, h2 b, h3 b, h4 b, h5 b, h6 b{
  font-weight: normal !important;
}
 
.btn,
.single-btn .btn,
input[type=submit] {
  background-color: #191919;
  border-color: #191919;
  color: #fff;
  border-radius: 0;
  font-size: 16px;
  padding:20px 90px;
  text-align:center;
}

.inverse {
  background-color:#fff;
  color:#000;
}

.btn:hover,
input[type=submit]:hover {
  background-color: #e5dbcc;
  border-color: #e5dbcc;
  color:#000;
  transition:all 0.2s;
}

img {
  max-width: 100%;
  height: auto;
}

.apostrophe {
  font-family: sans-serif;
    display: inline !important;
    font-size: inherit !important;
    margin-top: auto !important;
}

.half-li li {
	width:50%;
	float: left;
}

.toc {
  margin: auto;
  padding: 0;
  max-width: 500px;
}

.toc li {
  text-align: right;
  border-bottom: 1px solid #000;

  padding: 10px 0;
}

.toc li strong {
  float: left;
  display: block;
}


/* ===================================================
 Utility
====================================================== */

@media (min-width:1200px){
    .auto-clear .col-lg-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-lg-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-lg-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-lg-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-lg-6:nth-child(odd){clear:left;}
}
@media (min-width:992px) and (max-width:1199px){
    .auto-clear .col-md-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-md-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-md-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-md-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-md-6:nth-child(odd){clear:left;}
}
@media (min-width:768px) and (max-width:991px){
    .auto-clear .col-sm-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-sm-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-sm-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-sm-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-sm-6:nth-child(odd){clear:left;}
}
@media (max-width:767px){
    .auto-clear .col-xs-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-xs-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-xs-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-xs-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-xs-6:nth-child(odd){clear:left;}
}

.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}

/* ===================================================
 Header
====================================================== */

header {
  position: absolute;
  width: 100%;
  z-index: 1;
}
#logo {
  margin: 35px auto 0;
  display: block;
}


/* ===================================================
 Navigation
====================================================== */
.navbar-toggle {
  position: absolute;
  z-index: 1;
  display: block;
  right: 0;
  padding: 30px 10px;
}
.navbar-toggle .icon-bar {
  background-color: #fff;
  width: 28px;
}

.navbar-toggle.dark .icon-bar,
.single .navbar-toggle .icon-bar{
  background:#3C3B39;
}

.navbar-toggle .icon-bar+.icon-bar {
  margin-top: 7px;
}

.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 340px;
  min-height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none;
}

.slideout-menu-left {
  left: 0;
}

.slideout-menu-right {
  right: 0;
}

.slideout-panel {
  position: relative;
  z-index: 1;
  will-change: transform;
  background-color: #fff3e2; /* A background-color is required */
  min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}

.slideout-open .slideout-menu {
  display: block;
}

#main-slideout {
  text-align: center;
}

#menu-fly-out-navigation {
  padding-top:0;
  padding-bottom: 30px;
  clear: right;
}

#menu-fly-out-navigation li a {
  color:#000;
  border-radius: 0;
}

.nav-pills>li.active>a, 
.nav-pills>li.active>a:focus, 
.nav-pills>li.active>a:hover,
.nav-pills>li>a:focus,
.nav-pills>li>a:hover {
  background-color: #e5dbcc;
}

#menu-fly-out-navigation.nav-pills>li:first-child>a {
  background-color: transparent;
}

button.navbar-close {
  background: transparent;
  border: none;
  font-size: 30px;
  float: right;
  display: block;
  padding: 20px;
  opacity: 1;
}

#main-slideout .social {
  margin-top: 30px;
}

#main-slideout .social .conch {
  display: none;
}


/* ===================================================
 Feature/Header Area
====================================================== */

/* Feature 
----------------*/
#feature {
  height:100%;
  min-height:90%;/*for mozilla*/
  background-size: cover !important;
  color: #fff;
  /*background-attachment: fixed !important;*/
  padding: 0;
  margin-bottom: 30px;
}

html>body #feature {
  /*height:auto;*/
	height: 100%;
}

@media (max-device-width: 767px) and (orientation: landscape) {
  #feature {
    height:500px;
    min-height:500px;/*for mozilla*/

  }

  html>body #feature {
    height:500px;
  }

  .feature_inner {
    height: 500px !important;
  }

  #feature_headline {
    padding-top: 250px !important;
  }

}

.blog #feature {
  margin-bottom: 0;
}

.feature_inner {
    position: relative;
    width: 90%;
    margin: auto;
    height: 100vh;
}

#feature_headline {
  padding-top: 45vh;
  text-transform: uppercase;
}

#feature_headline hgroup {
	background: rgba(0,0,0,0.2);
    padding: 15px 0;
    margin: auto;
}

#feature_headline h1 {
  font-size: 24px;
  margin: 18px 0 0;
  letter-spacing: 1.6px;
}

#feature_headline h3 {
  font-family: 'LeituraSans-Grot2', sans-serif;
  font-size: 14px;
  margin:0;
  letter-spacing: 0.8px;
}

#feature_headline i {
  text-align: center;
  display: block;
  cursor: pointer;
}

#feature_links {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #fff;
}

#feature_links .nav li:last-child{
    float: right;
}

#menu-banner-navigation {
  text-align: center;
}

#menu-banner-navigation li {
  float: none;
  display: inline-block;
}

#menu-banner-navigation li a {
  padding-left: 10px;
  padding-right: 10px;
  color: #fff;
  font-size: 16px;
  padding-top: 30px;
  padding-bottom: 32px;
  font-family: 'LeituraSans-Grot2', sans-serif;
  border-radius: 0;
}

#menu-banner-navigation li:first-child a {
	padding-left:0;
}

#menu-banner-navigation li a:hover,
#menu-banner-navigation li a:active,
#menu-banner-navigation li a:focus  {
  text-decoration: underline;
  background: transparent !important;
}


/* header */

#basic-header .title {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0;
  letter-spacing: 1px;
  max-width: 70%;
}

#basic-header .title span {
  display: block;
  font-size: 75%;
  margin-top: 15px;
}


/* ===================================================
 Flexible Content
====================================================== */

section {
  padding-top: 30px;
  padding-bottom: 30px;
}

section:before,
section:after {
  clear:both;
  display: table;
    content: " ";
}

.entry,
.faqs,
.buttons,
#single-feature .container{
  width: 100%;
  margin: auto;
}

/* Content Entry 
----------------*/
.entry {
    padding: 30px 5px 0;
    margin: auto;
    float: none;
}

.entry {
  padding-left: 45px;
  padding-right: 45px;
}

.entry p,
.embed-responsive {
	/*margin-bottom: 50px;*/
	margin-bottom: 15px;
}

.entry p:last-child {
  margin-bottom: 15px;
}

.entry p strong,
.entry p b {
  font-family: 'LeituraSans-Grot2', sans-serif;
}

.entry h1, 
.entry h2, 
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    clear:both;
}

.discovery-link {
	cursor: pointer;
}

/* Heading 
----------------*/
.heading h2{
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.heading {
  background-image: url('assets/img/bg-pattern-half.png');
	background-repeat-y: no-repeat;
	padding-top: 125px;
	padding-bottom: 0; 
}

#basic-header.heading {
  background-repeat-y: repeat;
}

.pattern {
  background-image: url('assets/img/bg-pattern.png') ;
  padding-top: 52px;
  padding-bottom: 53px;
}

#basic-header + .heading {
	background-image:none;
	padding-top: 30px;
}



/* Full Width Image 
----------------*/
.full_image {
  position: relative;
}

.full_image h3 {
    margin: 0;
    text-align: center;
    width: 100%;
    font-size: 28px;
    text-transform: uppercase;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 50px;
    margin: -25px 0 0 -50%;
}

.video + .pattern,
.full_image + .heading,
.popcontent + .heading,
#feature + .heading { 
  margin-top: -30px;
}

.video + .video,
.full_image + .full_image  {
  margin-top: -60px;
}

.heading + .full_image,
.heading + .video {
  padding-top: 0;
}

.full_image img{
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Divider 
----------------*/
.divider {
  /*padding-top: 0;
  padding-bottom: 0;*/
}

.divider .dot {
  margin: auto;
  height: 7px;  
  width: 7px; 
  transform: rotate(315deg);  
  background-color: #000000;
}

.divider.pattern {
  padding-top: 25px;
  padding-bottom: 25px;
}

.full_image + .divider {
  padding-top: 30px;
}

/* Buttons 
----------------*/
.buttons {

}

.buttons .btn-container {
  padding-left: 7px;
  padding-right: 7px;
}

.buttons .btn {
  padding:20px 0;
  width: 100%;
  margin-bottom: 20px;
}

.buttons .btn-container:last-child .btn {
  margin-bottom: 0;
}

.single-btn .btn {
  width: 255px;
  margin: auto;
  display: block;
  padding: 20px 0;
}




/* FAQs 
----------------*/
.faqs {

}

.faqs .panel-default,
.faqs .panel-default>.panel-heading{
    border-color: transparent;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.faqs .panel-title a {
  display: block;
  width: 100%;
  font-family: 'LeituraSans-Grot2', sans-serif;
  position: relative;
  padding-right: 30px;
}

.faqs .panel-title a:after,
.faqs .panel-title a.open.collapsed:after,
.faqs .panel-title a.collapsed:after {
  content:'+';
  position: absolute;
  right: 0;
  top: 30%;
}

.faqs .panel-title a.open:after {
  content:'-';
}

.faqs .panel-title a:hover {
  text-decoration: none;
}

.faqs .panel-group .panel-heading {
  border-bottom: 1px solid #000;
  padding-left: 0;
}

/* Virtual Tours 
----------------*/

.tour .container-fluid .row > div {
  padding-left: 0px;
  padding-right: 0px;
}

.tour + section {
	margin-top: -30px;
}

/* Video 
----------------*/

.video {
  position: relative;
}
.overlay {
  position: relative;
}

.overlay:hover {
  cursor: pointer;
}

.overlay img {
  width: 100%;
  height: auto;
}
.overlay .btn-play {
  color: #fff;
  background: #000;
  padding: 25px;
  position: absolute;
  bottom: 0;
  left: 0;
}

/*.video-inner {
  position: absolute;
  bottom:0;
  width: 100%;
  background-color: #000;
  color: #fff;
  visibility: hidden;
}

.video-inner a {
  color:#fff;
  text-decoration: underline;
}*/

/* Pop Content 
----------------*/

.popcontent {
  position: relative;
}

.popcontent button,
.popcontent div,
.popcontent a {
  border: none;
  color:#fff;
  font-family: 'LeituraSans-Grot2', sans-serif;
  background-size: cover;
  background-position: center;
}

.popcontent button:hover {
  opacity: 0.6;
}

.popcontent button span,
.popcontent div span {
  position: absolute;
  left:30px;
  bottom: 30px;
  padding: 0 5px;
}

a.popbutton {
  opacity: 0.6;
}

a.popbutton:hover {
  opacity: 1;
  cursor: pointer;
  transition: all 0.2s;
}

.text-bg {
  background: #000;
}

.popcontent .modal {
  position: absolute;
}


/* Section Gallery 
----------------*/

.section-gallery .gallery-item {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: block;
}

.section-gallery .grid-sizer,
.section-gallery .grid-item {
  width:25%;
}

.featherlight .featherlight-content {
  background-color: #fff3e2; 
}

.featherlight-next span, .featherlight-previous span {
  text-shadow:none;
}

/* ===================================================
 Modals
====================================================== */

/* General */ 
.modal-dialog {
  width: auto;
}

.modal-header {
  border: none;
}

.modal-content {
  background: #fff3e2;
  border-radius: 0;
  border: none;
}

.modal-title {
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}

.modal-header .close {
    font-weight: normal;
    font-size: 60px;
    text-shadow: none;
    filter: none;
    opacity: 1;
    font-family: 'LeituraSans-Grot1', sans-serif;
}

.modal-header.pattern .close {
    margin-top: -49px;
}

.modal-body {
	background-size: 100%;
}

#modal-discovery .modal-body {
  background-color: transparent;
}

.modal-footer {
  background-image: url(assets/img/bg-pattern.png);
  border-top: none;
}

.lead .gform_wrapper ul.gform_fields li.gfield {
    padding-right: 0;
}

.lead form,
.lead .gform_wrapper .gfield_required {
  color: #fff;
}

.lead .gform_wrapper select {
	color:#000;
}

.lead .gform_description {
  
}

/* Popup Lead Modal */

/* Discovery Modal*/

#modal-discovery .modal-dialog {
  width: 100%;
  margin: 0;
}

/* Brochure Modal */

/* Villa Modal */

#modal-villa .modal-body {
	background-repeat: no-repeat;
  background-color: #5fb1e0;
}

#modal-villa label {
	text-shadow: 1px 1px 1px #000;
}

/* Portfolio Modal*/

.flexslider {
  background: transparent;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -o-box-shadow: none;
  margin: 0;
}

.flex-direction-nav a {
  top: 40%;
}

.flex-direction-nav a:before {
  font-size: 28px;
  font-family: FontAwesome;
  color:#fff;
  content: '\f0d9';
}

.flex-direction-nav a.flex-next:before {
    content: '\f0da';
}

#carousel .flex-viewport {
  padding: 0 15px 15px 15px;
}

#modal-portfolio .modal-content {
  background-color: #000;
}

#carousel.flexslider .slides > li {
  height: 110px;
  overflow: hidden;
}

.portfolio-caption {
  padding: 25px;
  color: #fff;
  margin-bottom: 0;
}

#modal-portfolio .modal-header .close { 
	color: #fff;
}



/* Video Modal */ 

.video-modal .modal-header {
  padding: 10px;
}

.video-modal .modal-body {
  background: transparent;
}


/* ===================================================
 Forms
====================================================== */

form {
  font-family: 'LeituraSans-Grot2', sans-serif
}

.gform_wrapper form,
.gform_wrapper label {
  font-size: 16px !important;
  font-weight: normal !important;
}

.gform_wrapper input,
.gform_wrapper textarea {
  color:#000;
  width: 100% !important;
}

.gform_wrapper input[type=submit] {
  color:#fff;
}


.gchoice_3_9_1 input {
  position: relative;
  top: -17px;
  margin-right: 10px;
}

/* reservation forms */

#resform input{
  text-align: center;
  width: 100%;

}

#resform input[type=submit] {
  padding: 2px;
  width:100%;
}


/* ===================================================
 Contact
====================================================== */

.entry.contact-container {
  max-width: 600px;
}

.contact-container form {
  font-family: 'LeituraSans-Grot2', sans-serif
}

.contact,
.contact h3 {
  font-size: 16px;
}

.contact h3 {
  font-family: 'LeituraSans-Grot2', sans-serif;
}

.contact:last-child {
	border:1px solid #000;
	padding:5px;
}

.contact ul {
  padding-left: 0;
}

.contact li {
  list-style-type: none;
}

.contact a {
  color:#000;
}


/* ===================================================
 Sitemap
====================================================== */

.sitemap {
  overflow: hidden;
  padding: 0;
}

.sitemap .children {
  padding: 0;
}

.sitemap .children li {
  width: 100%;
  letter-spacing: 1px;
}


.sitemap li {
  list-style-type: none;

  line-height: 60px;
}


.sitemap li a {
  text-transform: uppercase; 
  color: #000; 
}

/* ===================================================
 Blog
====================================================== */

.blog .entry {
	max-width: 525px;
	width: auto;
	min-width: auto;
}

.screen-reader-text {
  display:none;
}

.pagination {
  display: block;
  text-align: center;
}

.page-numbers {
  padding: 21px 27px;
  border:1px solid #000;
  background-color: #fff;
  color:#000;
  margin: -3px;
}

.page-numbers.current {
  background-color: #000;
  color:#fff;
}

#blog {
  /*padding-top:0;
  max-width: 768px;*/
  margin: auto;
}

#blog article {
  /*padding-left: 0;
  padding-right:0;*/
}

h2.entry-title a {
  color: #000;
  font-size: 20px;
  font-family: 'LeituraSans-Grot2', sans-serif;
}

.post .entry {
  padding:15px 15px 10px;
}

.post-thumbnail span {
  height: 400px;
  display: block;
  background-size: cover;
  background-position: center;
}

.more {
  color: #000;
}

.blog-return {
	display: block;
	text-align: center; 
	margin-top: 10px;
}

.blog-return i {
	color: #337ab7;
}

.single header,
.landing header {
  position: relative;
}

.single #logo {
  width: 100px;
}

#single-feature > div {
  padding-top: 35px;
  padding-bottom: 0;
}

#single-feature img {
  margin: auto;
  display: block;
	width: auto;
max-width: 100%;	
	max-height: 400px;
}

.single .entry {
  padding: 25px 5px 0;
}

.single .entry iframe {
  max-width: 100%;
}

#single-feature {
  padding: 0;
}

.single .title {
  font-size: 38px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0;
  letter-spacing: 2px;
  margin-bottom: 50px;
	line-height: 1.5;
}

.meta {
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  font-family: 'LeituraSans-Grot2', sans-serif;
  letter-spacing: 0.8px;
  margin-bottom: 30px;
}

.blog .meta {
	margin-bottom: 0;
	text-align: left;
}

.single-footer {
  margin-top: 20px;
  text-align: center;
}


.sharing {
  margin: 25px 0 0 0;
  padding: 0;
}

.sharing li {
  display: inline;
  margin-left: 30px;
}

.sharing li:first-child {
  margin-left: 0;
}

.sharing li a {
  color:#000;
}

/* ===================================================
 Gallery
====================================================== */
.gallery-filter-container {
  padding: 20px 60px 0;
  width: 335px;
  margin: -30px auto 0;
}

.gallery-filter-container p {
  margin-bottom: 0;
}

.gallery-filter-container .dropdown-menu {
  border-color: #979797;
  background-color: #fff3e2;
  border-radius: 0;
}

.gallery-filter-container .dropdown-menu>li>a {
  color: #000;
  padding:16px 20px;
}

.gallery-filter-container .dropdown-menu>li>a:hover {
  background-color: #e5dbcc;
}



.gallery {
  padding-top: 15px;
  clear: both;
}

.gallery-fliter {
  float:left;
}

.gallery-fliter > button {
  background: transparent;
  border:none;
}

.gallery .col-xs-12 {
  padding:0;
}

.grid-sizer,
.grid-item { width: 50%; }
/* 2 columns */
.grid-item--width2 { width: 50%; }

.grid-item img {
	width: 100%;
}

.filters-button-group li a:hover {
  cursor: pointer
}


/* ===================================================
 Newsletter & Landing Pages
====================================================== */

.parent-pageid-1209 .entry {
	font-family: 'LeituraSans-Grot2', sans-serif;
}

.parent-pageid-1209 .entry .embed-responsive {
	margin-bottom: 50px;
}

body.landing,
body.landing .slideout-panel {
  background: #fff;
  font-family: serif;
  font-size: 18px;
}

.landing .navbar-toggle {
  display: none;
}

.landing .entry p {
  margin-bottom: 25px;
}

.landing .gallery {
  max-width: 525px;
}

.landing .entry iframe {
  max-width: 100%;
  margin: auto;
  display: block;
}

.landing #basic-header + .entry {
  padding-top: 0;
}

.landing h3 {
  font-size: 20px;
  margin-top: -10px;
  margin-bottom: 20px;
}

.landing .banner-cta {
  display: none;
}

.landing footer {
  background-color: #fff3e2;
}

.page-id-1700 #feature_links {
	display: none;
}

 
/* ===================================================
 Footer
====================================================== */

footer {
  background-image: url('assets/img/bg-pattern.png') ;
  margin-top: 30px;
  padding:20px 0 40px;
  font-family: 'LeituraSans-Grot2', sans-serif;
}

.banner-cta {
  padding: 45px 0;
  margin-bottom: 40px;
  background-position: top left;
}

.banner-cta h4 {
  color:#fff;
  font-size: 20px;
  font-family: 'LeituraSans-Grot2', sans-serif;
  margin-bottom: 37px;
  margin-top: 0;
}

#logo-footer {
  margin-bottom: 50px;
}

.footer-nav {
  margin: 0;
  padding: 0;
}

.footer-nav li {
  list-style-type: none;
}

.footer-nav a {
  line-height: 50px;
  color:#333;

}

#footer-cta {
  margin-top: 60px;
}


#footer-cta .btn {
  max-width: 100%;
  padding: 20px;
  width: 100%;
}

#social-footer  div:first-child  {
  margin-top: 40px;
}

#realestate-email {
  margin-top: 25px;
}

#realestate-email a{
  text-align: center;
  color:#000;
  display: block;
}

.social {
  text-align: center;
  padding: 0;
  margin: 0;
}

.social li {
  display: inline;
}

.social li a {
  color:#000;
  font-size: 24px;
  padding: 12px;
}

.social li:first-child a {
  top: -5px;
  position: relative;
}





/* ===================================================
 Default Wordpress 
====================================================== */

@media (max-width: 767px) {
.single .alignleft,
.single .alignright {
  width: 100%;
  margin-bottom:15px;
}

}

.aligncenter {
    display: block;
    margin: 0 auto 15px auto;
}

.wp-caption {
    background: #f2e8d5;
    border: none;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 0 15px 0;
}

.wp-caption.alignleft {
    margin: 5px 15px 15px 0;
}

.wp-caption.alignright {
    margin: 5px 0 15px 50px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 12px;
    line-height: 17px;
    margin: 0;
    padding: 10px 0px 0px;
}

div[id*="gallery-"] {
  padding-top: 0;
}

.gallery-item {
  
}

.gallery-item img {
  border: none !important;
}

.postid-1566 #gallery-2 .gallery-item {padding: 0 10px;}

/* ===================================================
 Page Specific 
====================================================== */

.parent-pageid-29 #basic-header {
  margin-bottom: 30px;
}

.parent-pageid-29 #basic-header + .heading {

  padding-top: 0;
}



/* ===================================================
 Media Queries
====================================================== */



/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

    /* ===================================================
     Header:768
    ====================================================== */




    /* ===================================================
     Navigation:768
    ====================================================== */

    #menu-banner-navigation {
      text-align: left;
    }

    #menu-banner-navigation li a {
      padding-left: 15px;
      padding-right: 15px;
    }


    /* ===================================================
     Feature:768
    ====================================================== */

.feature_inner {
	width: 80%;
}
 

    /* ===================================================
     Content:768
    ====================================================== */




    /* ===================================================
     Sidebar:768
    ====================================================== */




    /* ===================================================
     Footer:768
    ====================================================== */

    #footer-cta {
      margin-top: 10px;
    }

    #footer-cta .btn {
      margin-top: 14px;
    }

    /* ===================================================
     Blog:768
    ====================================================== */

    .post .entry {
      padding:15px 50px 10px;
    }

/* ===================================================
 Default Wordpress 
====================================================== */

.alignnone {
    margin: 5px 0 15px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 0 auto 15px auto;
}

.alignright {
    float:right;
    margin: 5px 0 15px 15px;
}

.alignleft {
    float: left;
    margin: 5px 15px 15px 0;
}
    

    /* ===================================================
     Page Specific:768
    ====================================================== */

    /* Sitemap */
    .sitemap li {
      list-style-type: none;
      float: left;
      width: 50%;
      line-height: 60px;
    }

    .sitemap > li:nth-child(2n) {
      padding-left: 20px;
    }

    /* ===================================================
     Flexible Content
    ====================================================== */
	
.entry,
.faqs,
.buttons,
#single-feature .container{
  width: 50%;
min-width: 525px;
  margin: auto;
}

.landing .entry, 
.landing .faqs, 
.landing .buttons {
    width: 85%;
}

    /* Content Entry 
    ----------------*/

    .entry {
      padding-left: 5px;
      padding-right: 5px;
    }

    /* Buttons 
    ----------------*/

    .buttons .btn {
      margin-bottom: 0;
    }

   .landing .gform_wrapper {
      width: 50%;
      margin: auto;
   } 
	
	/* Villa Modal */
	
	#modal-villa .modal-body {
		background-position-x: -135px;
		background-size: auto 100%;
	}
	
	#modal-villa label {
		text-shadow: none;
	}
	

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

    /* ===================================================
     Header:992
    ====================================================== */

#basic-header .title {
  max-width: 100%;
}

    /* ===================================================
     Navigation:992
    ====================================================== */




    /* ===================================================
     Feature:992
    ====================================================== */

#feature_headline hgroup {
    padding: 30px 0;
	}


    /* ===================================================
     Content:992
    ====================================================== */




    /* ===================================================
     Sidebar:992
    ====================================================== */




    /* ===================================================
     Footer:992
    ====================================================== */

    #social-footer .social{
      
    }

    #realestate-email a {
      
    }


    /* ===================================================
     Page Specific:992
    ====================================================== */


    /* ===================================================
     Blog:992
    ====================================================== */

    #single-feature img {
/*      max-width: 540px;*/
    }

    .next-post {
      text-align: right;
    }
	
	.prev-post {
      text-align: left;
    }

    /* ===================================================
     Gallery
    ====================================================== */
    .gallery-filter-container {
      width: auto;
    }

    /* ===================================================
     Modals
    ====================================================== */

    /* General */ 
    .modal-dialog {
      width: 940px;
    }

    /* Video Modal */ 

    .video-modal .modal-dialog {
      width: 890px;
    }

    .video-modal .close {
      float: right;
      position: absolute;
      right: -45px;
      color: #fff;
    }
	
	/* Portfolio Modal */
	#modal-portfolio .modal-header {
	  position: absolute;
	  right: -55px;
	}
	
		/* Villa Modal */
	
		#modal-villa .modal-body {
			background-position-x: -15%;
		}


/* ===================================================
 Newsletter & Landing Pages
====================================================== */

  .full_image h3 {
    font-size: 48px;
    text-shadow: 3px 2px 2px #000;
  }

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    /* ===================================================
     Header:1200
    ====================================================== */




    /* ===================================================
     Navigation:1200
    ====================================================== */




    /* ===================================================
     Feature:1200
    ====================================================== */




    /* ===================================================
     Content:1200
    ====================================================== */




    /* ===================================================
     Sidebar:1200
    ====================================================== */




    /* ===================================================
     Footer:1200
    ====================================================== */




    /* ===================================================
     Page Specific:1200
    ====================================================== */
	
		/* Villa Modal */
	
		#modal-villa .modal-body {
			 background-position-x: -10%;
		}

}