/*
Theme Name: Gapura
Theme URI: http://gapura.themesawesome.com
Author: Themes Awesome
Author URI: http://www.themesawesome.com
Description: Single Property and Residence WordPress Theme
Tags: responsive-layout, custom-colors, custom-menu, featured-images, theme-options, right-sidebar, orange
Version: 1.5
License:      GNU General Public License V2
License URI:      license.txt
-----------------------------------------------------------------------------------
  1.  BASE
  2.  HEADER
      2a. Logo
  3.  MENU
  4.  CONTENT
  5.  SIDEBAR
  6.  FOOTER
  7.  THIRD PARTY STYLING
  8.  MEDIA QUERIES
-----------------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------------*/
/*  1. BASE
/*-----------------------------------------------------------------------------------*/

html {
    font-size: 62.5%;
    -webkit-font-smoothing: antialiased;
    height: 100%;
}
body {
    word-wrap:break-word;
    -ms-word-wrap:break-word;
    font-size: 14px;
    color: #333333;
}
img {
    max-width:100%;
    height:auto;
    display: block;
}
input[type="email"]:focus, input[type="search"]:focus, input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
    outline: 0;
}
.placeholder { 
    color: #999999; 
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'latoblack';
    margin-bottom: 20px;
    margin-top: 0;
}
h1 { 
    font-size:36px; 
}
h2 { 
    font-size:30px; 
}
h3 { 
    font-size:24px; 
}
h4 { 
    font-size:18px; 
}
h5 { 
    font-size:14px; 
}
h6 { 
    font-size:12px; 
}
p {
    color:#333333;
}
a { 
    color: #333333;
    text-decoration: none;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
a:hover, a:focus {
    color: #ffc815;
    text-decoration: none;
    outline: 0;
}
table{
width:80%;
margin-bottom:20px;
}
th, td{
padding:8px;
line-height:20px;
text-align:left;
vertical-align:top;
border:1px solid #ddd;
}
th{
font-weight:bold;
border-bottom:2px solid;
text-align:center;
}
*::-moz-selection{
background:#000;
color:#fff;
}
*::selection{
background:#000;
color:#fff;
}
button{
background-image:none;
background:transparent;
}

.bypostauthor{
background:#ffffff;
}
.bypostauthor > .comment .comment-author cite:after{
content:"post author";
font-size:7px;
font-size:0.693333rem;
font-style:italic;
margin-left:6px;
}
.aligncenter {
    display:block;
    margin-left:auto;
    margin-right:auto;
}
.alignright {
    float:right;
    margin-left: 10px;
}
.alignleft {
    float:left;
    margin-right: 10px;
}
img.aligncenter, img.alignnone{
margin-bottom:12px;
}
img.alignleft{
margin:12px 24px 12px 0;
margin:10px 20px 10px 0;
}
img.alignright{
margin:12px 0 12px 24px;
margin:10px 0 10px 20px;
}
pre {
    white-space: pre;
    word-wrap: normal;
    overflow-x: scroll;
    line-height: 1.3;
    margin: 1em 0;
}
figure {
    max-width: 100%;
    height: auto;
}
.wp-caption .wp-caption-text, .gallery-caption, .entry-caption{
font-style:italic;
line-height:2;
color:#757575;
font-size:12px;
font-size:1.2rem;
text-align:left;
}
.sticky .heading-block:before {
  content: "Featured Post";
  padding: 10px 20px;
  color: #ffffff;
  background-color: #333;
  float: right;
  position: relative;
  top: 0;
  z-index: 10;
  right: 0px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/*custom base*/
.button-normal {
    font-family: 'latoblack';
    display: inline-block;
    padding: 15px 30px;
    margin-top: 30px;
    letter-spacing: 0.1em;
    border: none;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
    will-change: opacity, transform;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.button-normal.yellow {
    background-color: #ffc815;
    color: #333333;
}
.button-normal.white {
    background-color: #ffffff;
    color: #333333;
}
.button-normal:hover,
.button-normal.yellow:hover,
.button-normal.white:hover {
    background-color: #333333;
    color: #ffffff;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 9999;
}

#status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url(./img/status.gif);
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
}

/*-----------------------------------------------------------------------------------*/
/*  2. LAYOUT
/*-----------------------------------------------------------------------------------*/
.wrapper {
    padding: 100px 0;
    overflow: hidden;
}
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
.col-xs-15,
.col-md-15 {
    width: 20%;
    float: left;
}

/*-----------------------------------------------------------------------------------*/
/*  3. HEADER
/*-----------------------------------------------------------------------------------*/
#header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    -webkit-transition: all 0.6s ease 0s;
    -moz-transition: all 0.6s ease 0s;
    -ms-transition: all 0.6s ease 0s;
    -o-transition: all 0.6s ease 0s;
    transition: all 0.6s ease 0s;
}
#header.transparent-header {
    background-color: transparent;
}
#header.bg-header {
    background-color: #fff;
    padding: 10px 0;
}
#header.fixedwrap {
    background-color: rgba(0,0,0,0.8);
    padding: 10px 0;
}
#header .logo img {
    margin-top: 10px;
}
.logo {
    float: left;
}
.site-title a {
    color: #ffffff;
}

/* 3a. Main Navigation */
#main-menu ul {
    padding: 0;
    text-align: right;
}
#main-menu ul li {
    position: relative;
    display: inline-block;
    margin: 0 13px;
}
#main-menu ul li:last-child {
    margin-right: 0;
}
#main-menu ul li a {
    font-family: 'latoblack';
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.15em !important;
    padding: 15px 0;
    display: block;
    position: relative;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

#main-menu ul li a::after, #header.fixedwrap #main-menu ul li a::after, 
#main-menu ul li.current-menu-ancestor a::after, 
#header.fixedwrap #main-menu ul li.current-menu-ancestor a::after,
#main-menu ul li.current-menu-item a::after, 
#header.fixedwrap #main-menu ul li.current-menu-item a::after,
.current_page_parent a::after  {
    content: "";
    display: block;
    width: 35px;
    margin: 0 auto;
    border-bottom: 2px solid #ffc815;
    zoom: 1;
    position: relative;
    bottom: -5px;
    right: 1px;
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s, -moz-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    transform: translateY(10px);
}
#header.bg-header #main-menu ul li a::after {
    border-bottom: 2px solid #ffffff;
}
#main-menu ul li a:hover::after,
#main-menu ul li a:focus::after,
#main-menu ul li.active a::after,
#header.fixedwrap #main-menu ul li a:hover::after,
#header.fixedwrap #main-menu ul li a:focus::after,
#header.fixedwrap #main-menu ul li.active a::after,
#header.bg-header #main-menu ul li a:hover::after,
#header.bg-header #main-menu ul li a:focus::after,
#header.bg-header #main-menu ul li.active a::after,
#main-menu ul li.current-menu-ancestor a::after,
#header.fixedwrap #main-menu ul li.current-menu-ancestor a::after,
#main-menu ul li.current-menu-item a::after, 
#header.fixedwrap #main-menu ul li.current-menu-item a::after,
#header .current_page_parent a::after,
#header.fixedwrap .current_page_parent a::after {
    opacity: 1 !important;
    -webkit-transform: translateY(0px) !important;
    -moz-transform: translateY(0px) !important;
    transform: translateY(0px) !important;
}
#header.bg-header #main-menu ul li a {
    color: #ffffff;
}
ul.menus li.has-child ul.child, ul.menus li.page_item_has_children ul.children, ul.menus li.menu-item-has-children ul.sub-menu {
    display: none;
}
#main-menu ul.menus li.has-child:hover ul.child, #main-menu ul.menus li.page_item_has_children:hover ul.children, #main-menu ul.menus li.menu-item-has-children:hover ul.sub-menu {
    display: block;
}
#main-menu ul.menus li.has-child ul.child, #main-menu ul.menus li.page_item_has_children ul.children, #main-menu ul.menus li.menu-item-has-children ul.sub-menu {
    position: absolute;
    background-color: #333333;
    text-align: left;
    width: 15em;
    padding: 0;
    z-index: 2;
}
#main-menu ul.menus li.has-child ul.child li, #main-menu ul.menus li.page_item_has_children ul.children li, #main-menu ul.menus li.menu-item-has-children ul.sub-menu li {
    margin: 0 !important;
    width: 100%;
}
#main-menu ul.menus li.has-child ul.child li a, #main-menu ul.menus li.page_item_has_children ul.children li a, #main-menu ul.menus li.menu-item-has-children ul.sub-menu li a {
    background-color: transparent !important;
    color: #ffffff;
    padding: 0 !important;
    margin: 5px 20px;
    font-size: 11px;
}
#main-menu ul.menus li.has-child ul.child li:first-child a, #main-menu ul.menus li.page_item_has_children ul.children li:first-child a, #main-menu ul.menus li.menu-item-has-children ul.sub-menu li:first-child a {
    margin-top: 15px;
}
#main-menu ul.menus li.has-child ul.child li:last-child a, #main-menu ul.menus li.page_item_has_children ul.children li:last-child a, #main-menu ul.menus li.menu-item-has-children ul.sub-menu li:last-child a {
    margin-bottom: 15px;
}
#main-menu ul.menus li.has-child ul.child li a:hover, #main-menu ul.menus li.page_item_has_children ul.children li a:hover, #main-menu ul.menus li.menu-item-has-children ul.sub-menu li a:hover {
    background-color: transparent !important;
    color: #ffffff;
    opacity: 0.7;
}
#main-menu ul.menus li.has-child ul.child li a:after, ul.menus li.has-child ul.child li a:hover:after, #main-menu ul.menus li.page_item_has_children ul.children li a:after, ul.menus li.page_item_has_children ul.children li a:hover:after, #main-menu ul.menus li.menu-item-has-children ul.sub-menu li a:after, ul.menus li.menu-item-has-children ul.sub-menu li a:hover:after {
    opacity: 0 !important;
}

/* 3b. Mobile Menu */
.mobile-menu {
    display: none;
}
#slide-buttons {
    background-color: #FFFFFF;
    border-radius: 50%;
    color: #ffc815;
    height: 40px;
    width: 40px;
    line-height: 46px;
    border: none;
    font-size: 22px;
    padding: 0;
    position: relative;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
#slide-buttons:hover, #slide-buttons:focus, #slide-buttons.active, .c-menu__close:hover, .c-menu__close:focus, .c-menu__close.active {
    outline: 0;
}
.c-menu {
    position: fixed;
    z-index: 200;
    padding: 20px;
    background-color: #ffc815;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}
.c-menu--slide-right {
    height: 100%;
}
.c-menu--slide-right {
    top: 0;
    right: 0;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}
.c-menu--slide-right.is-active {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
.c-menu__close {
    margin-bottom: 30px;
    background-color: #ffffff;
    border-radius: 50%;
    color: #ffc815;
    height: 40px;
    width: 40px;
    line-height: 46px;
    border: none;
    font-size: 22px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.slide-overlay {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 0;
    height: 0;
    background-color: #000;
    opacity: 0;
    -webkit-transition: opacity 0.3s, width 0s 0.3s, height 0s 0.3s;
    transition: opacity 0.3s, width 0s 0.3s, height 0s 0.3s;
}
.slide-overlay.is-active {
    width: 100%;
    height: 100%;
    opacity: 0.7;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}
.menus-mobile {
    padding: 25px 20px;
    text-align: left;
}
.menus-mobile li a {
    color: #333333;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #C79D12;
    width: 100%;
    display: block;
    padding-bottom: 7px;
    margin-bottom: 7px;
}
.menus-mobile ul.child {
    padding: 0;
}
.menus-mobile ul.child li a {
    padding-left: 10px;
}
.menus-mobile li a:hover, .menus-mobile ul.child li a:hover {
    opacity: 0.7;
}

/*-----------------------------------------------------------------------------------*/
/*  4. HOME SLIDER
/*-----------------------------------------------------------------------------------*/
#slider.fullscreen .flex-control-thumbs {
    width: 1140px;
    background-color: #ffffff;
    margin: 0 auto;
    margin-top: -110px;
    padding: 5px;
    z-index: 500;
    position: relative;
    bottom: 0;
}
#slider.fullscreen .slides {
    overflow: hidden;
}
#slider.fullscreen .flex-control-thumbs li {
    width: 20%;
    padding: 5px;
}
#slider.fullscreen .flexslider {
    margin: 0 !important;
    border: 0;
    overflow: hidden;
}
/* 4a. Slider Text*/
.slider-text-wrap {
    position: absolute;
    z-index: 500;
    width: 100%;
}
.slider-text {
    color: #ffffff;
}
.slider-text h2 {
    margin-bottom: 0;
    font-size: 60px;
    text-transform: uppercase;
}
.slider-text h3 {
    margin-bottom: 0;
    text-transform: uppercase;
}
.slider-text p {
    font-family: 'latolight';
    color: #ffffff;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}
.flex-direction-nav {
    display: none;
}
/* 4b. Slider Form*/
.form-wrap {
    background-color: rgba(255,255,255,0.5);
    padding: 20px 20px 0;
}
.slider-form input, .slider-form textarea {
    font-family: 'latoregular';
    background-color: #ffffff;
    padding: 0 15px;
    width: 100%;
    height: 45px;
    border: none;
    margin-bottom: 10px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.slider-form .wpcf7-submit {
    margin: 0;
    font-family: 'latoblack';
    color: #333333;
}
.slider-form form textarea {
    padding: 15px 15px;
    height: 80px;
}

/*-----------------------------------------------------------------------------------*/
/*  5. CONTENT
/*-----------------------------------------------------------------------------------*/
#content.homepage {
    margin-top: 120px;
}
.grey-bg {
    background-color: #f3f3f3;
}

/* 5a. Title */
.page-title {
    min-height: 300px;
    background-position: center center;
    background-size: cover;
}
.page-title .title {
    padding-top: 10%;
    background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.5)), color-stop(100%,rgba(0,0,0,0)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
}
.page-title .title h2 {
    font-size: 40px;
}
.page-title .title h2, .page-title .title h2 span.bold, .page-title .title p.subtitle {
    color: #ffffff;
}
.title {
    position: relative;
    margin-bottom: 40px;
}
.title h2 {
    text-transform: uppercase;
    padding-bottom: 20px;
    margin-top: 0;
    margin-bottom: 20px;
    display: inline-block;
    letter-spacing: 0.1em;
    color: #666666;
}
.title h2 span.bold {
    font-family: 'latoblack';
    color: #000000;
}
.title:after {
    content: "";
    background: url(./img/title-separator.png);
    position: absolute;
    display: block;
    width: 82px;
    height: 15px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 18px;
    background-repeat: no-repeat;
}
.title .subtitle {
    font-family: 'latoregular';
    font-size: 16px;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

/* 5b. Features Section */ 
.features-item i {
    display: inline-block;
    font-size: 40px;
    margin-bottom: 10px;
}
.features-item h4 {
    font-size: 16px;
    font-family: 'latoblack';
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
}
.features-item p {
    font-size: 18px;
    font-family: 'latoblack';
    color: #333333;
    margin-bottom: 0;
}

/* 5c. Facilities */
.facilities {
    background-size: cover;
    background-position: center center;
}
.facilities-detail {
    width: 50%;
    float: right;
    background-color: rgba(255,255,255,0.9);
    padding-left: 5%;
    padding-right: 5%;
}
.facilities-detail p.intro {
    font-size: 18px;
}
.facilities-detail p {
    font-size: 16px;
}
.facilities-item {
    width: 50%;
    float: left;
    margin-top: 40px;
    padding-right: 20px;
}

.mortgage-form label {
    margin-top: 15px;
    margin-bottom: 5px;
}
.mortgage-form input {
    background-color: #ffffff;
    width: 100%;
    max-width: 100%;
    height: 45px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.mortgage-form input:focus {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
}
.video-tour iframe {
    width: 100%;
    height: 315px;
    border: 0;
}

/* 5d. Room Dimension */
.gallery a img:hover {
    opacity: 0.7;
}
.gallery .item-detail {
    text-align: center;
    margin: 0 auto;
    background-color: #ffc815;
    width: 60%;
    padding: 10px;
    position: relative;
    top: -30px;
}
.item-detail h4, .item-detail p {
    margin: 0;
}
.mfp-bg {
    background: #ffffff;
    opacity: 0.9;
    filter: alpha(opacity=90);
}
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
    color: #333333;
}
.mfp-title {
    color: #333333;
}
.mfp-counter {
    color: #333333;
}

/* Common style */
.grid a {
    float: left;
    width: 33.3333333%;
    color: #333;
}

.grid figure {
    position: relative;
    overflow: hidden;
    margin: 5px;
    background: #333;
}

.grid figure img {
    position: relative;
    display: block;
    width: 100%;
    opacity: 1;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.grid figcaption {
    position: absolute;
    top: -14%;
    z-index: 11;
    padding: 10px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.grid figcaption h2 {
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    font-size: 16px;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}

.grid figcaption h2 {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
}

.grid figure span {
    position: absolute;
    padding: 4px 20px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
}

.grid figcaption,
.grid figcaption h2,
.grid figure span {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Style for SVG */
.grid svg {
    position: absolute;
    opacity: 0.8;
    top: -1px; /* fixes rendering issue in FF */
    z-index: 10;
    width: 100%;
    height: 100%;
}

.grid svg path {
    fill: #fff;
}

/* Hover effects */
.grid a:hover figure img {
    opacity: 0.5;
}

.grid a:hover figcaption h2,
.grid a:hover figcaption p {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.grid a:hover figcaption p {
    opacity: 0;
}

/* Individual styles */
.gallery .grid figure span {
    top: 65%;
    left: 50%;
    border: 3px solid #fff;
    background: transparent;
    color: #fff;
    opacity: 0;
    -webkit-transform: translateY(-50%) translateX(-50%) scale(0.25);
    transform: translateY(-50%) translateX(-50%) scale(0.25);
}

.gallery .grid a:hover figure span {
    opacity: 1;
    -webkit-transform: translateY(-50%) translateX(-50%) scale(1);
    transform: translateY(-50%) translateX(-50%) scale(1);
}

.gallery .grid figcaption h2,
.gallery .grid figcaption p {
    -webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.115, 1); /* older webkit */
    -webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.115, 1.445);
    timing-function: cubic-bezier(0.250, 0.250, 0.115, 1.445);
}

.gallery .grid a:hover figcaption p {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s;
}

.gallery body {
    background: #52be7f;
}

.gallery .grid figcaption h2 {
    color: #333333;
}

.gallery .grid a:hover figcaption h2 {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
}

/* Media Queries */
/* Let's redefine the width of each anchor and the margins */

@media screen and (max-width: 58em) {
    .grid a {
        width: 50%;
    }

    .grid a:nth-child(odd) {
        margin: 0;
    }
}

@media screen and (max-width: 45em) {
    .grid a {
        width: 100%;
    }
    .grid a:nth-child(3n-1) {
        margin: 0;
    }
    .grid figcaption h2 {
        margin-bottom: 0px;
        -webkit-transform: translateY(85px);
        transform: translateY(85px);
    }
    .grid figcaption p {
        margin: 0;
        padding: 0 10px;
    }
}

@media screen and (max-width: 27em) {
    .grid {
        max-width: 250px;
    }
    .grid a {
        width: 100%;
    }
    .grid a:nth-child(even) {
        margin: 0;
    }
}

/* 5e. Blog */
.blog .blog-post img {
    width: 100%
}
.article .post-content .featured-img img {
    width: auto;
}
.article .post-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f3f3f3;
}
.blog-post {
    margin-bottom: 60px;
}
.blog-title {
    background-color: #333333;
    padding: 30px;
    min-height: 195px;
}
.blog-title h4 {
    position: relative;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.1em;
    line-height: 26px;
    padding-bottom: 30px;
}
.blog-title h4:after {
    content: "";
    background: url(./img/title-separator.png);
    position: absolute;
    display: block;
    width: 82px;
    height: 15px;
    bottom: 0;
    background-repeat: no-repeat;
}
.blog-title p {
    text-transform: uppercase;
    color: #ffffff;
}
.blog .pagination {
    display: block;
}
.blog .pagination {
    padding: 0;
}
.blog .pagination a, .blog .pagination .current {
    margin: 0 5px;
    display: inline-block;
    font-family: 'latobold';
}
.blog .pagination a, .blog .pagination .current {
    background-color: #f3f3f3;
    color: #333333;
    font-weight: 700;
    font-size: 16px;
    width: 40px;
    height: 40px;
    line-height: 45px;
    display: inline-block;
    text-align: center;
}
.blog .pagination a:hover,
.blog .pagination .current {
    background-color: #ffc815;
}

/* 5f. Single Post */
.post-content {
    padding-right: 30px;
}
.article .title-post {
    margin-bottom: 0;
}
.article span {
    color: #666666;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 30px;
    margin-right: 20px;
}
.article .content {
    margin-top: 30px;
    text-align: left;
}
.article .content p {
    color: #333333;
}
.article .content img {
    width: 100%;
}
.article .content p:last-child {
    margin-bottom: 0px;
}
select {
    max-width: 100%;
    width: 100%;
}
.widget-area table {
    margin: auto;
}
.widget-area .sidebar-widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dotted #e7e7e7;
}
.widget-area .sidebar-widget ul, .widget-area .sidebar-widget ul.children, .widget-area .sidebar-widget ul.sub-menu {
    padding: 0;
    list-style: none;
}
.widget-area .sidebar-widget ul.children li, .widget-area .sidebar-widget ul.sub-menu li {
    padding-left: 8px;
    border: none;
    padding-bottom: 0;
}
.widget-area .sidebar-widget li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #e7e7e7;
}

/*room slider widget*/
.gapura_room .slide {
  position: relative;
  margin: 0;
  background: transparent;
  border: 0;
}
.gapura_room .slide .slides {
  position: relative;
overflow: hidden;
width: 100%;
}
.gapura_room  #sidebar-carousel ul.slides li {
  clear: none;
}
.gapura_room .widget.batakoo_project ul li {
  border: 0;
  display: inline;
  padding: 0;
}
.gapura_room  #sidebar-carousel ul.flex-direction-nav li a.flex-prev {
  position: absolute;
top: 20px;
left: 10px;
color: #ffffff;
}
.gapura_room  #sidebar-carousel ul.flex-direction-nav li a.flex-next {
  position: absolute;
top: 20px;
left: 20px;
color: #ffffff;
}
.gapura_room .caption {
  bottom: 0;
  left: 0;
}
.gapura_room .caption h3 {
  font-size: 24px;
  background-color: rgba(255, 255, 255, 0.7);
  bottom: 50px;
  letter-spacing: 0;
  line-height: 1.9em;
  position: absolute;
  margin: 0;
  padding:0 10px;
}
.gapura_room .caption h3 a {
  color: #333;
}
.gapura_room .carousel-control .fa-chevron-left, .gapura_room .carousel-control .fa-chevron-right {
  top: 30px;
  font-size: 10px;
}
.gapura_room .carousel-control .fa-chevron-left {
  left: 30%;
}
.gapura_room .carousel-control .fa-chevron-right {
  right: 100%;
}
.gapura_room .carousel-control.right {
  right: 70%;
}
.gapura_room .flex-direction-nav {
    display: block;
}
.gapura_room .flex-direction-nav a:before {
    font-size: 30px;
    color: #ffffff;
}
.widget-area .gapura_room li {
    border: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Comment Section */
.comments-area {
    position: relative;
    background-color: #ffffff;
    margin-right: 15px;
    border-top: 1px solid #e5e5e5;
    margin-top: 30px;
    padding-top: 20px;
}
.comments-title h4,
h3.comment-reply-title span {
    font-size: 40px;
    font-size: 2.4rem;
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: normal;
    line-height: normal;
    margin-right: 0;
}
p.comment-notes span {
    letter-spacing: normal;
}
.waiting-moderation {
    font-size: 13px;
}
.comment-wrapper {
    margin: 0 auto;
    max-width: 790px;
}
.comment-list, .children {
    list-style: none;
    overflow: hidden;
    padding-left: 0px;
}
.children {
    padding-left: 40px;
}
.comment-list > li {
    float: left;
    width: 100%;
    position: relative;
    z-index: 10;
}
.comment-list .children article.comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.comment-list > li > article.comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.comment-list li article header {
    position: relative;
}
.comments-area .avatar {
    float: left;
    width: 70px;
    position: relative;
    z-index: 9px;
    margin-right: 20px;
}
.avatar img {
    width: 100%;
}
.comment-author .fn, .comment-author .fn a {
    font-weight: bold;
}
.comment-author .fn {
    text-transform: uppercase;
}
.comment-meta.commentmetadata {
    font-size: 13px;
    color: #888888;
}
.meta-comment {
    overflow: hidden;
}
.comment-content {
    margin-top: 10px;
}
.comment-content p {
    color: #333333;
    margin: 0;
    font-weight: bold;
}
.comment-action {
    position: absolute;
    right: 0;
    top: 0;
    transition: all .4s ease-in-out;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}
.comment-action span.edit-link a.comment-edit-link {
    margin-right: 20px;
}
.comment-action a:hover {
    color: #222222;
}
.comment-respond label {
    display: block;
    color: #333333;
}
.comment-respond .comment-form-author {
    width: 49%;
    margin-right: 9px;
}
.comment-respond .comment-form-email {
    width: 49%;
}
.comment-respond .comment-form-author, .comment-respond .comment-form-email {
    display: inline-block;
}
.comment-respond .comment-form-author input {
    margin-right: 20px;
        height: 45px;
}
.comment-respond .comment-form-email input, .comment-respond .comment-form-url input {
    height: 45px;
}
.comment-respond input, .comment-respond textarea {
    font-family: 'latoregular';
    background-color: #f8f8f8;
    padding: 0 15px;
    width: 100%;
    border: none;
    margin-bottom: 10px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.comment-respond input:focus, .comment-respond textarea:focus {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
}
.comment-respond input {
    height: auto;
}
.comment-respond textarea {
    padding: 15px 15px;
}
.form-submit {
    display: inline-block;
}
.form-submit .submit {
    font-family: 'latoblack';
    display: inline-block;
    padding: 15px 30px;
    margin-top: 30px;
    letter-spacing: 0.1em;
    border: none;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
    width: inherit;
    border: 0;
    outline: none;
}
.form-submit .submit:hover {
    background-color: #333333;
    color: #ffffff;
}

/* 5g. Contact Agent*/
.agent-details {
    display: block;
    overflow: hidden;
    margin-bottom: 80px;
}
.agent-title h3 {
    margin: 5px 0 0 0;
}
.agent-desc p {
    margin: 0;
}
.agent-desc p.desc {
    margin-bottom: 20px;
}
p.agent-position {
    margin-bottom: 20px;
}
.agent-social ul {
    padding: 0;
    margin-top: 25px;
    margin-bottom: 0;
    display: inline-block;
    list-style: none;
}
.agent-social ul li {
    float: left;
    margin-right: 10px;
}
.agent-social ul li a {
    font-size: 20px;
    color: #333333;
}
.agent-social ul li a:hover {
    color: #ffc815;
}
.maps iframe {
    width: 100%;
    height: 460px;
    border: 0;
    outline: none;
}
.form form input, .form form textarea {
    background-color: #f8f8f8;
    padding: 0 15px;
    width: 100%;
    height: 45px;
    border: none;
    margin-bottom: 10px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.form form textarea {
    padding: 15px 15px;
    height: 100%;
}
.form form input:focus, .form form textarea:focus {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
}
.form form input, .form form textarea {
    font-family: 'latoregular';
    background-color: #f8f8f8;
    padding: 0 15px;
    width: 100%;
    height: 45px;
    border: none;
    margin-bottom: 10px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.form form textarea {
    padding: 15px 15px;
    height: 100%;
}
.form form input:focus, .form form textarea:focus {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
}
.form p {
    margin-bottom: 0;
}
.form .wpcf7-submit {
    font-family: 'latoblack';
    letter-spacing: 0.1em;
    width: auto;
    border: 0;
    outline: none;
    height: auto;
    margin: 0;
    padding: 15px 30px;
}

/* 5h. Sidebar */
.widget-area {
    margin-bottom: 40px;
}
.widget-area .searchform {
    position: relative;
}
.widget-area .searchform input {
    border: 1px solid #f3f3f3;
    background-color: #f3f3f3;
    height: 40px;
    width: 100%;
    padding: 0 20px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.widget-area .searchform input:hover, .widget-area .searchform input:focus {
    border: 1px solid #bdbdbd;
}
.widget-area .searchform input[type="submit"].search-button {
    background-color: transparent;
    border: none;
    position: absolute;
    background: url(./img/search.png) no-repeat;
    right: 0;
    width: 5%;
    top: 10px;
}
.widget-area h3.widget-title {
    position: relative;
    text-transform: uppercase;
    line-height: 26px;
    padding-bottom: 25px;
    font-size: 22px;
}
.widget-area h3.widget-title:after {
    content: "";
    background: url(./img/title-separator.png);
    background-repeat: no-repeat;
    position: absolute;
    display: block;
    width: 82px;
    height: 15px;
    bottom: 0;
}
.widget-area .widget-agent-info {
    display: inline-block;
    margin-bottom: 15px;
}
.widget-area .widget-agent-img {
    float: left;
    width: 100px;
    margin-right: 15px;
}
.widget-area .widget-agent-img img {
    border: 5px solid #f3f3f3;
}
.widget-area .widget-agent-name {
    margin-top: 25px;
    float: left
}
.widget-area .listing-agent-wrap h3 {
    margin-bottom: 0;
}
.widget-area .agent-social ul li {
    margin-bottom: 0;
    padding-bottom: 0;
    border: 0;
}
.widget-area .listing-agent-wrap p {
    margin-bottom: 0;
}
.widget-area .listing-agent-wrap p.group {
    font-weight: bold;
    margin-bottom: 15px;
}
.widget-area .listing-agent-wrap a.button-normal {
    margin-top: 10px;
}

/* 5i. Room Detail */
.room-detail-top {
    margin-bottom: 80px;
}
.room-detail-top .flexslider {
    margin: 0;
}
.flex-control-nav {
    bottom: 10px;
    z-index: 100;
}
.room-detail h4 {
    margin-bottom: 10px;
    margin-top: 30px;
}
.room-detail h4:first-child {
    margin-top: 0;
}
.room-detail ul {
    display: block;
    padding: 0;
    overflow: hidden;
}
.room-detail ul li i {
    font-size: 20px;
    position: relative;
    top: 5px;
}
.video-wrap iframe {
    width: 100%;
    height: 350px;
}
.room-nav {
    padding: 20px 0;
}
.room-nav .prev-room {
    float: left;
}
.room-nav .next-room {
    float: right;
}
.room-nav a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.1em;
    position: relative;
}
.room-nav .prev-room a:before,
.room-nav .next-room a:before {
    font-family: "gapura" !important;
    font-size: 29px;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    position: absolute;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.room-nav .prev-room a {
    padding-left: 34px;
}
.room-nav .next-room a {
    padding-right: 34px;
}
.room-nav .prev-room a:before {
    content: "\72";
    left: 0;
    top: -5px;
}
.room-nav .next-room a:before {
    content: "\74";
    right: 0;
    top: -5px;
}
/* ----------------------------------------------------------------
  6. Footer
-----------------------------------------------------------------*/
#footer {
    background-color: #f3f3f3;
}
.footer-text {
    padding: 0 2%;
}
.footer-text .footer-wrap {
    padding-bottom: 60px;
    border-bottom: 1px solid #d2d2d2;
}
.footer-text p {
    font-size: 16px;
}

/* 6a. Copyright */
.footer-copyright {
    margin-top: 40px;
}
.copyright ul.footer-social {
    padding: 0
}
.copyright ul.footer-social li {
    display: inline-block;
    margin: 0 5px;
}
.copyright ul.footer-social li a {
    color: #333333;
    width: 40px;
    height: 40px;
    line-height: 48px;
    display: inline-block;
    font-size: 20px;
}
.copyright ul.footer-social li a:hover {
    color: #ffc815;
}

/* Mortgage Form */
.mortgage-form #fbuilder .fform h1 {
    margin: 0 15px;
    font-size: 22px;
    font-size: 2.2rem;
}
.mortgage-form #fbuilder .fields, #fbuilder .fform {
    padding: 0 15px;
}
.mortgage-form #fbuilder .medium,
#fbuilder input {
    padding: 0 10px;
    position: relative;
}
.mortgage-form #fbuilder #field_1-0 .dfield input,
#fbuilder #field_1-5 .dfield input,
#fbuilder #field_1-6 .dfield input,
#fbuilder #field_1-7 .dfield input {
    padding-left: 40px;
}
.mortgage-form #fbuilder #field_1-0 .dfield:before,
#fbuilder #field_1-5 .dfield:before,
#fbuilder #field_1-6 .dfield:before,
#fbuilder #field_1-7 .dfield:before {
    position: absolute;
    font-family: "gapura" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\6c";
    z-index: 5;
    top: 11px;
    left: 15px;
    font-size: 20px;
}
#fbuilder #field_1-1,
#fbuilder #field_1-2,
#fbuilder #field_1-3 {
    width: 33.333%;
    float: left;
    margin-bottom: 20px;
}
#fbuilder #field_1-4,
#fbuilder #field_1-5,
#fbuilder #field_1-6,
#fbuilder #field_1-7 {
    width: 33.333%;
    float: left;
}
#formheader_1 {
    display: none;
}



.blog .info {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #e7e7e7;
}
.featured-img {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    width: auto;
}
.featured-img .caption {
    position: absolute;
    bottom: 10px;
    padding-left: 20px;
    color: #fff;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
}
.featured-img .mask {
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-align: center;
}
.featured-img:hover .mask {
    opacity: 1;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.meta-post-image {
    position: absolute;
    z-index: 2;
    padding: 10px 20px 0;
    left: -11px;
    background-color: #ffc815;
    top: 10px;
}
.meta-post-image:after {
    content: "";
    border-color: #BD971D transparent;
    border-style: solid;
    border-width: 10px 0 0 10px;
    display: block;
    height: 0;
    width: 0;
    left: -19px;
    top: 10px;
    position: relative;
}
.meta-post-image .meta-comment,
.meta-post-image .meta-view {
    display: inline-block;
    vertical-align: top;
    color: #333333;
}
.meta-post-image .meta-comment {
    margin-right: 10px;
}
.tagcloud a {
    font-size: 14px !important;
    background-color: #ffc815;
    padding: 5px 5px;
    display: inline-block;
    margin: 0px 0px 5px 0px;
}
.tagcloud a:hover {
    background-color: #333333;
    color: #ffffff !important;
}

/*third party*/

#subscribe-email input {
    border: 1px solid #f3f3f3;
    background-color: #f3f3f3;
    height: 40px;
    width: 100%;
    padding: 0 20px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
#subscribe-email input:focus, #subscribe-email input:hover {
    border: 1px solid #bdbdbd !important;
}
#subscribe-submit input[type="submit"] {
    background-color: #ffc815;
    color: #333333;
    font-family: 'latoblack';
    display: inline-block;
    padding: 15px 30px;
    letter-spacing: 0.1em;
    border: none;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
    will-change: opacity, transform;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
#subscribe-submit input[type="submit"]:hover {
    background-color: #333333;
    color: #ffffff;
}