/*
 Theme Name:   RealHomes Child
 Theme URI:    http://example.com/realhomes-child/
 Description:  RealHomes Child Theme
 Author:       SJI
 Author URI:   http://example.com
 Template:     realhomes
 Version:      1.0.0
*/

/* Centering the tabs container */
/*.rh_cfos_wrap,*/
/*.rh_cfos_slide_desc {*/
/*    flex-grow: 0;*/
/*    max-width: none;*/
/*    height: auto;*/
/*    padding: 0;*/
/*    margin: auto;*/
/*}*/

.rh_cfos_slide_desc {
    flex-grow: 0;
    max-width: 1000px;
    height: auto;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.rh_cfos_wrap {
    display: block;
    width: 100%;
    position: absolute;
    background: #fff;
    max-width: 100%;
    bottom: 225px;
    right: 0;
}

/* Tabs styles */
.custom-tabs-container {
     width: 100%;
    max-width: 750px;
    margin: 2rem auto;
    font-family: Arial, sans-serif;
}


.tabs-nav {
    list-style-type: none;
    padding-left: 0;
    border-bottom: none;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}


.tabs-nav .tab-link {
    color: #ababab !important;
    opacity: 1;
    text-transform: uppercase;
    padding: 10px 0;
    font-weight: 700;
    font-size: 19px;
    margin: 0 30px;
}



.tab-content {
    display: none;
    border: none;
    border-top: none;
    padding: 20px;
    background-color: white;
}
.tab-content.active {
    display: block;
}

/* Button styles */
.tab-content button.rh_btn {
    font-size: 17px;
    padding: 10px 25px;
    background-color: #0E4D91 !important;
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}


.tab-content button.rh_btn:hover {
    background-color: #126d65;
}

.tab-link:hover {
    cursor: pointer;
}

.tabs-nav .tab-link:hover {
    color: black;
}


 .tabs-nav .tab-link.active {
    border-bottom: 3px solid  #464646;
    text-transform: uppercase;
    padding: 10px 0;
    font-weight: 700;
    font-size: 18px;
    margin: 0 30px;
    color: #464646 !important;
}

.content-row {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    margin-bottom: 0px; 
}

.text-content {
    margin-right: 20px;
    flex-grow: 1; 
        font-size: 17px;

}

.rh_cfos_slide_caption {
    position: absolute;
    bottom: 400px;
}
.rh_cfos_slide_caption h1 {
    color: #fff;
}

p.rh-heading {
    font-size: 50px;
    color: white;
    font-weight: bold;
}

form.wpcf7-form.init p label {
    margin-top: 10px;
    font-size: 16px;
    font-family: Lato,Helvetica,Arial,sans-serif;
}

input.wpcf7-form-control.has-spinner.wpcf7-submit {
    margin: 20px 0;
    background: #0E4D91 !important;
}

div#popmake-5220 {
    top: 50px !important;
    width: 40%;
}


div#wpcf7-f5173-o1 {
    border: 1px solid #eee;
    margin: 20px;
    padding: 40px 40px;
}

.wpcf7-not-valid-tip {
    margin: 0 0 20px 0;
}
.rh_slide__desc_wrap {
    display: none !important;
}

/* Responsive  */
@media screen and (max-width: 1140px) 
{
		.rh_cfos_slide_desc {
			max-width: 80%;
			top: 125px;
		  }
		p.rh-heading {
			font-size: 40px;
			color: white;
			font-weight: bold;
		}
		div#popmake-5220 {
			width: 65%;
			margin-left: -44%;
		}
}

@media screen and (max-width: 800px) 
{
		.rh_cfos_slide_caption {
			bottom: 420px;
		}
		p.rh-heading {
			font-size: 30px;
		}
		.rh_cfos_wrap {
			bottom: 200px;
		}
		.content-row {
			display: flex;
			flex-direction: column;
		}
		.text-content {
			margin: 0 0 20px 0;
			font-size: 17px;
		}
		.tab-content button.rh_btn {
			width: 100%;
			font-size: 15px;
		}
		div#popmake-5220 {
			width: 80%;
			margin-left: -54%;
		}

}
@media screen and (max-width: 600px) 
{
	.tabs-nav .tab-link.active {
		font-size: 15px;
	}
	.tabs-nav .tab-link {
		font-size: 15px;
	}
	div#popmake-5220 {
		width: 90%;
		margin-left: -60%;
	}
	div#wpcf7-f5173-o1 {
		margin: 15px;
		padding: 30px 30px;
	}
}

@media screen and (max-width: 500px)
{
       p.rh-heading {
        font-size: 22px;
    }
	.tabs-nav .tab-link.active {
		font-size: 12px;
	}
	.tabs-nav .tab-link {
		font-size: 12px;
	}
	div#wpcf7-f5173-o1 {
		margin: 10px;
		padding: 20px 20px;
	}
	.text-content {
		margin: 0 0 20px 0;
		font-size: 15px;
	}
}
