/*
Theme Name: The Cap
Description: Another custom theme made by Resident360.com
Author: Solayman Haider - Resident360
Theme URI: http://www.resident360.com/
Author URI: http://www.resident360.com/
Version: 1.0
License: Private
License URI: -
Text Domain: thecap
*/



/*
* Gravity Forms CSS
*   Be sure to turn off GF CSS in form settings
*/
.gfield_label, .gfield_required {
    display: none !important;
}
.gform_wrapper ul li.gfield {
    list-style-type: none !important;
    padding: 0px;
    margin-left: -40px;
}

.gform_button {
    background: #ff852b;
    border: 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    font-size: 18px;
    width: 100%;
    max-width: 210px;
}

.validation_error, .validation_message {
    color: #ff852b;

}

.gform_wrapper li.gfield_error input[type="email"],
.gform_wrapper li.gfield_error input[type="number"],
.gform_wrapper li.gfield_error input[type="password"],
.gform_wrapper li.gfield_error input[type="tel"],
.gform_wrapper li.gfield_error input[type="text"],
.gform_wrapper li.gfield_error input[type="url"],
.gform_wrapper li.gfield_error textarea {
    border: 1px solid #ff852b;
}

@media (max-width: 420px) {
    input, select {
        max-width: 300px;
    }
}

body .gform_wrapper .gform_validation_container {
    display: none;
}
.blue_search_box_new{
	top: 0;
}
.blue_search_box_new .container{
	background-color: #496b80;
	width:100%;
	padding: 5px 0;
}
@media(min-width:768px){
.home_about_us_new h2 {
    font-weight: normal;
    font-size: 60px;
    color: #496b80;
}

.home_about_us_new .home_about_us_content p {
    width: 75%;
}
.home_about_us_new .background_image_has_caption{
	width:600px;
	height:600px;
	transform:rotate(45deg);
    overflow: hidden;
	z-index: -1;
    left: -40%;
    top: -40px;
}
.home_about_us_new .background_image_has_caption::before{
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  top: -20%;
  left: -10%;
  z-index: -1;
  background: url(/wp-content/uploads/2021/01/4-About-Image@2x.png) 0 0 repeat;
  background-size: contain;
  transform: rotate(-45deg);
}
.home_about_us_new .home_about_us_img{
	padding:0;
    display: inline-block;
	margin-right:-30px;
}
.home_about_us_new .home_about_us_inner {
	background:none;
}
.home_about_us_new .home_about_us_img_2.background_image_has_caption{
	width:250px;
	height:250px;
	transform:rotate(45deg);
    overflow: hidden;
	z-index: -1;
    left: 40%;
    top: -150px;
	margin-bottom: -35%;
}
.home_about_us_new .home_about_us_img_2.background_image_has_caption::before{
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -30%;
  left: -50%;
  z-index: -1;
  background: url(/wp-content/uploads/2021/03/1a_1095160-1.jpg) 0 0 repeat;
  background-size: contain;
  transform: rotate(-45deg);
}
.home_about_us_new .home_about_us_inner{
	padding-bottom:20px;
}
.home_about_us_new{
	background-position:100%;
		background-image:url(/wp-content/uploads/2022/07/blue-bg-3.png);
		background-size: 80px;
	}
	.home_about_us.home_about_us_new .home_about_us_content {
    margin: 50px 25px 50px 0;
}
}
@media(max-width:767px){
	.home_about_us_new .background_image_has_caption{
	width: 75vw;
	height: 75vw;
	transform:rotate(45deg);
    overflow: hidden;
	z-index: -1;
    left: -10%;
    top: -20px;
}
.home_about_us_new .background_image_has_caption::before{
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  z-index: -1;
  background: url(/wp-content/uploads/2021/01/4-About-Image@2x.png) 0 0 repeat;
  background-size: contain;
  transform: rotate(-45deg);
}
/* 	.home_about_us_new .home_about_us_img_2.background_image_has_caption{
	width: 200px;
	height: 200px;
	transform:rotate(45deg);
    overflow: hidden;
	z-index: -1;
    left: 60%;
    top: -140px;
	margin-bottom: -35%;
} */

.home_about_us_new .home_about_us_img_2.background_image_has_caption{
	width: 120px;
	height: 154px;
	transform:rotate(45deg);
    overflow: hidden;
	z-index: -1;
    left: 60%;
    top: -140px;
	margin-bottom: -50%;
}


.home_about_us_new .home_about_us_img_2.background_image_has_caption::before{
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -20%;
  z-index: -1;
  background: url(/wp-content/uploads/2021/03/1a_1095160-1.jpg) 0 0 repeat;
  background-size: contain;
  transform: rotate(-45deg);
}
	.home_about_us_new .home_about_us_img{
		padding:0;
	}
	.home_about_us_new .home_about_us_inner {
	background:none;
}
	.home_about_us_new {
	background-position: -5px 280px;
    background-image: url(/wp-content/uploads/2022/07/blue-bg-4.png);
    background-size: 70px;
}
}
	.home_about_us.home_about_us_new .home_about_us_content {
    margin: 50px 25px;
}
	.home_about_us.home_about_us_new .home_about_us_content h2{
    font-size: 50px;
}
}