/*
 Theme Name:   Cornerstone
 Description:  Cornerstone Custom Theme based on Agama. DO NOT delete Agama.
 Author:       Birch Studio
 Author URI:   http://birchstudio.com
 Template:     agama
 Version:      100.0.0
 License:      GNU General Public License v2 or later
 Text Domain:  agama-child
*/

body, .site, .wrapper, .hfeed {
	padding: 0;
	max-width: none;
	width: 100%;
	-webkit-hyphens: none;
  	-ms-hyphens: none;
  	hyphens: none;	
}
html, h1, p, div {
    font-family: 'Roboto', sans-serif;
	-webkit-hyphens: none;
  	-ms-hyphens: none;
  	hyphens: none;
}

/**To make divs reach to left and right edges**/
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
	padding-left: 0;
	padding-right: 0;
}
.inset-content {
	display: block;
	overflow: auto;
	margin: 0 4%;
}

.entry-content img, .comment-content img, .widget img {
    width: 100%;
    height: auto;
}

h2, h3, h4, h5 {
	font-family: 'Raleway'
}
h2, .entry-content h2 {
	font-size: 30px;
	color: #000;
	margin: 13px 0 -8px 0;
	font-weight: bold;
}
h3, .entry-content h3 {
	font-size: 24px;
	text-transform: uppercase;
	font-weight: bold;
	color: #747474;
	margin: 0;
}

h4, .entry-content h4 {
	font-size: 18px;
	color: #747474;
	margin: 0 0 12px 0;
	font-style: oblique;
}

#page-title.page-title-mini h1 {
	font-size: 36px;
	text-transform: uppercase;
	font-weight: bold;
	color: #1F1F1F;
}

#page-title.page-title-mini h1::last-word {
	color: #f0b310;
}

button {
	color: white !important;
}

.orange-text {
	color: #f0b310 !important; 
}
.white-text {
	color: white;
}

.site-header .sticky-header .sticky-header-inner {
	padding: 0px;
}

.headctinfo {
	overflow: hidden;
	padding-top: 30px;
	text-align: right;
	float:right;
	padding-right: 20px;
}
.headctinfo h4 {
	font-size: 13px;
	letter-spacing: 3px;
	margin-bottom: 10px;
	font-weight: bold;
	color: black;
	font-style: normal;
}
.headctinfo p {
	color: #999;
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 3px;
}
.headctinfo p span {
	margin-left: 15px;
}
#top-bar {
	border-color: #f0b310;
    position: relative;
    line-height: 44px;
    font-size: 13px;
    border-bottom: none;
	margin-bottom: 12px;
}
.logo-container {
	float: left;
	width:30%;
	margin: 20px 0 0 23px;
	text-align: center;
}
.logo-container img {
	max-width:300px;
}
.logo-container, .headctinfo { 
	z-index: 9999;
	position: relative; 
    background-color: white;
    padding-bottom: 10px;
}
.sticky-header.sticky-header-shrink {
	position: relative;
}
.site-header .sticky-header .sticky-header-inner {
	max-width: none;
	background-color: white;
	border-bottom: 1px solid #f5f5f5;
	padding-right: 20px;
}
.vision-row {
	width: 80%; /* DGR was 100% */
}
/* FOOTER */

footer.entry-meta {
	margin-top: 0;
}

.footer-widgets {
	color: #808080;
	line-height: 30px;
	font-size: 14px;
}
.footer-widgets .widget-title {
	font-size: 22px
}
.small-title {
    margin-bottom: 40px;
    margin-top: 20px;
}
ul.list.angle-double-right li::before {
  content: "";
  font-family: fontawesome;
  font-size: 12px;
}
ul.list li::before {
  border: medium none;
  content: "";
  display: inline-block;
  font-family: fontawesome;
  font-size: 12px;
  margin-right: 10px;
  padding: 0;
}
.widget.dark .list-border li {
    border-bottom: 1px dashed #404040;
    transition: all 0.5s linear 0s;
}
.orange-text a {
	color: #f0b310;
}
.recent_properties_row { margin: 22px 0; display: block; overflow: auto;}
.recent_properties_left_col { float: left; width: 90px; margin-right: 10px; }
.recent_properties_right_col { float: left }
.recent_properties_street_address { width: 100%; font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: bold; color: #1f1f1f; margin: 6px 0 10px 0;}
.recent_properties_area { width: 100%; margin-bottom: 6px; font-size: 15px; }
.recent_properties_price { width: 100%; font-size: 15px; }

/* HOME */
.custom-title-text {
	font-size: 32px;
	text-align: center;
	text-transform: uppercase;
	font-family: "Raleway", sans-serif;
	font-weight: 700;
	color: #1f1f1f;
}
.warm-gray-box {
	width: 100%;
	background-color: #817b6b;
	padding: 0 3%;
	display: block;
	overflow: auto;
}
.warm-gray-box-item {
	width: 20%;
	float: left;
	padding: 40px;
	display: block;
	overflow: auto;
	color: white;
	font-family: "Raleway", sans-serif;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	letter-spacing: 2px;
}
.warm-gray-box-item:hover {
	color: #f0b310;
	background-color: white;
}

.warm-gray-box-item img {
	margin-bottom: 10px;

}
.warm-gray-box-sub-text {
	font-size: 12px;
	font-weight: normal;
	margin-top: 10px;
	letter-spacing: normal;
}
.light-gray-panel {
	width: 100%;
	padding: 60px;
/*	background-color: #c8cad0;*/
	background-image: url("/wp-content/uploads/2018/04/estimate_bg.jpg");
	background-repeat: repeat-y;
    background-size: 100% auto;
	color: white;
}
#rc_search_form .input_block {
	margin: 0 0 30px 0;
}
.light-gray-panel #rc_search_form .input_block label {
	color: white;
	font-weight: normal;
}
.ais-pagination {
	font-size: 120%;
}
.ais-pagination li a {
/*	color: white;*/
    color: gray;
}
button .search_btn {
	background: #f0b310;
} 
.tabButton {
	background: #454040;
	border-radius: 0px;
	width: 19%;
}
.centered-body-text {
	text-align: center;
}
.decorative-lines {
	text-align: center;
}
.decorative-lines img {
	width: 200px;
	height: auto;
}
.white-box {
	margin-top: 22px;
}
.white-box-element {
	width: 25%;
	float: left;
	text-align: center;
	color: #1f1f1f;
	padding: 40px;
	display: block;
	overflow: auto;
	font-family: "Raleway", sans-serif;
	font-size: 16px;
	font-weight: 700;
}
h3, .detailSearchBox h3, .detailRecentProperties h3, .detailFeaturedProperties h3 {
	font-size: 22px;
	font-weight: 700;
	color: #1f1f1f;
	text-transform: capitalize;
}
.map-box-full-width {
	width:100%; 
	height: 600px;
	background:#f0f0f0;
	padding: 0 auto;
}
#map_canvas {
	width: 100% !important;
}

/* Tooltip container */
.tooltip2 {
    position: relative;
	display: block;
	overflow: auto;
	/*height: 250px;*/
    height: 190px;
}

/* Tooltip text */
.tooltip2 .tooltiptext2 {
    visibility: hidden;
    width: 220px;
	/* height: 235px;*/
    height: 180px;
    background-color: #f1f1f1;
	border-radius: 6px;
    color: #555555;
    text-align: center;
    padding: 8px;
	top: 0%;
    left: 50%; 
    margin-left: -110px; /* Use half of the width (140/2 = 70), to center the tooltip */
 
    /* Position the tooltip text - see examples on W3schools */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip2:hover .tooltiptext2 {
    visibility: visible;
}

.fixed-width-page-content {
	width: 1000px;
	margin: 0 auto;
}

.site-header .sticky-header nav {
    padding-right: 80px;
    float: right;
}
#vision-primary-nav ul li a {
	text-decoration: none;
}

.bio-image {
	float:left; 
	margin-right:24px;
	max-width: 200px !important;
}

/****************** REALCONNECT ****************************/

#home-page-listings-slider {
    width: 100%;
}

.flex-direction-nav a {
    color: rgb(240, 179, 16) !important;
    text-shadow: none;
}

.flex-direction-nav a:hover {
    color: rgb(255, 255, 255) !important;
}

.featured-listings-template {
    margin-bottom: 50px;
}

/* RC DETAILS PAGE */
.contact-tab-photo {
    float: left;
    width: 35%;
}
.contact-tab-info {
    float: left;
    width: 65%;
}
.contact-tab-info h3 {
    color: #f1ba27;
    margin-bottom: 10px;
}


/****************** RESPONSIVE ITEMS ***********************/

/* BUCKET STRUCTURE */
.bucket-row {
	display:block;
	overflow:auto;
	margin: 20px auto;
	padding: 1%;
	background: white;
}

/* 2 COLUMNS */
.bucket-1_2, .bucket-2_2 { 
	width: 49%;
	float: left;
	padding: 16px 2px;
	text-align: center;
}

/* 3 COLUMNS */
.bucket-1_3, .bucket-2_3, .bucket-3_3 {
	width: 32%;
	float: left;
	padding: 16px 3px;
	text-align: center;
	margin-bottom: 5px;
}
.bucket-1_3 img, .bucket-2_3 img, .bucket-3_3 img {
	max-height: 110px !important; /* This overrides settings for #main img in parent theme */
	width: auto;
}

/* 4 COLUMNS */
.bucket-1_4, .bucket-2_4, .bucket-3_4, .bucket-4_4 {
	width: 24%;
	min-width: 225px;
	float: left;
	padding: 16px 2px;
	margin-bottom: 5px;
}
.bucket-1_4 img, .bucket-2_4 img, .bucket-3_4 img, .bucket-4_4 img {
	max-height: 90px !important; /* This overrides settings for #main img in parent theme */
	width: auto;
}

/* 5 COLUMNS */
.bucket-1_5, .bucket-2_5, .bucket-3_5, .bucket-4_5, .bucket-5_5 {
	width: 19%;
	float: left;
	padding: 16px 2px;
	margin-bottom: 5px;
	background-size: 100% auto;
	text-align: center;
}
.bucket-1_5 img, .bucket-2_5 img, .bucket-3_5 img, .bucket-4_5 img, .bucket-5_5 img {
	max-height: 60px !important; /* This overrides settings for #main img in parent theme */
	width: auto;
}


/* for 1000px and less */
@media screen and (max-width: 1000px) {
	.bucket-row {
	width: 100%;
	}

	/* 2 COLUMNS */	
	.bucket-1_2, .bucket-2_2 {
	width: 100%;
	}
	.bucket-1_2 img {
	margin-bottom: 20px;
	}

	/* 3 COLUMNS */	
	.bucket-1_3, .bucket-2_3, .bucket-3_3 {
	width: 49%;
	}
	.bucket-3_3 {
	clear: both;
	width: auto;
	float: none;
	}

	/* 4 COLUMNS */	
	.bucket-1_4, .bucket-2_4, .bucket-3_4, .bucket-4_4 {
		width: 48%;
	}
	
	/* 5 COLUMNS */	
	.bucket-1_5, .bucket-2_5, .bucket-3_5 {
		width: 32%;
	}
	.bucket-4_5, .bucket-5_5 {
		width: 49%;
	}
}

/* for 760px and less */
@media screen and (max-width: 760px) {
     .contact-tab-photo {
        width: 100%;
    }
    .contact-tab-info {
        width: 100%;
        padding-top: 24px;
    }
}


/* for 600px and less */
@media screen and (max-width: 600px) {
	/* 3 COLUMNS */ 
	.bucket-1_3, .bucket-2_3, .bucket-3_3 {
		width: auto;
		float: none;
	}
	/* 4 COLUNNS */	
	.bucket-1_4, .bucket-2_4, .bucket-3_4, .bucket-4_4 {
		width: 98%;
	}
	
	/* 5 COLUNNS */	
	.bucket-1_5, .bucket-2_5, .bucket-3_5, .bucket-4_5, .bucket-5_5 {
		width: 98%;
	}
	.tooltip2 {
		height: 220px;
	}
	.tooltip2 .tooltiptext2 {
		width: 100%;
		left: 0%;
		margin-left: 0;
		height: 200px;
	}
	.bio-image {
		max-width: 100% !important;
	}
}

.featured-listings-template
{
   /* background:none !important;*/
}

.page-numbers {
    padding: 10px;
    background: #ededed;
    border-radius: 2px;
}
span.page-numbers.current {
    background: #f0b310;
    color: #fff;
}
