/*
Theme Name: Riyaohm Child
Template: riyaohm
Version: 1.0
*/
span.wpcf7-form-control.wpcf7-recaptcha.g-recaptcha{display: flex;justify-content: center; }
.section-space .button-imagebox a i:hover{background: var(--theme-color) !important;  border: 1px solid #919191;}
.footer-contact .tf-info i{min-width: 30px !important;}
section.about-us-style2.why-us .what-we-do-content .image-box{ padding-bottom: 10px !important; }
section.why_choose .left_icon_sec i{position: relative; top: 7px; }
.col-lg-12.col-md-12.col-sm-12.form-group.text-center.captcha span.wpcf7-not-valid-tip {
    position: relative;
    top: 20px;
}
.wpcf7-not-valid-tip{color: #ffb3b3 !important;}
body .wpcf7-form-control.wpcf7-submit:hover { background: #fff !important; color: var(--theme-color);  }
#what-we-do1.bg-color.hm_srvc_sec .what-we-do-content .image-box .content-imagebox{
	min-height: 200px !important;
}
.ftr_botom a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}
.content-about p a, .why-us-services p a {
    color: #0d6efd;
}
.wpcf7-not-valid-tip {
    color: #dc3232 !important;
    background: #fff;
    padding-left: 5px;
    font-size: 14px;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
	background: #fff !important;
}
/*
.show-search a{
	margin: 20.5px 0 0 0;
}*/
.btn-menu:before, .btn-menu:after{
	width: 80%;
    left: 3px;
}
@media only screen and (max-width: 767px){
body .top-search #searchform-all #searchsubmit{top:-15px !important;}
	.modal{ padding-top: 40% !important; }
	.blog-title.color-white h1.page_title {
    	font-size: 28px;
    	line-height: 50px;
	}
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
	.modal{ padding-top: 20% !important; }
 .footer-widget a, .footer-widget p {
    font-size: 14px !important;
    line-height: 27px !important;
	}
	body .footer .logo img{ width: 50% !important;  height: auto !important; }
	.ftr_botom{font-size: 15px !important;}
	body #footer .col-md-6:nth-child(2){ margin-bottom: 0 !important; }
	.what-we-do-content.why-us-services h3{ font-size: 16px !important; }
	body .tf-about .what-we-do-content.why-us-services .image-box .title-imagebox{ min-height: 80px !important; }
	section.about2.about-style.bg-color-style3.section-3.location-services img { height: 150px  !important; }
	section.about2.about-style.bg-color-style3.section-3.location-services .what-we-do-content .image-box{min-height: 630px !important; }
	.m-center{ text-align: center; margin: 0 auto !important; }
	.flat-title.top-space { margin-top: 20px; }
	.image.adminssion-first-image img { width: auto !important; }
	.row.tab-df { display: flex ; align-items: center; }
	.col-lg-6.col-sm-12.col-md-12.long-img img { max-width: 100% !important; height: 300px; object-fit: cover; margin-bottom: 20px; }
	footer #menu-footer-menu-1 li:not(:last-child)::after{ padding: 0 6px !important;  }
	body .footer .logo img{ width: 100% !important; }
	footer fieldset{ padding: 5px !important; }
	.col-lg-3.col-md-3.col-sm-12.footer-widget-style1{ width: 25% !important; }
	body .footer-widget a, .footer-widget p{ font-size: 13px !important; }
	footer fieldset legend{ margin-top: -26px !important; }
}

.modal{ padding-top: 10%; z-index: 1000000 !important; }
.modal-content{ box-shadow: none !important; border: 0 !important; }
.modal img { border: 3px solid #fff; }
@media only screen and (min-width: 980px){
	.home-section-1 p{ padding-top: 20px !important; padding-bottom: 40px !important; }
	.home-section-1 .col-sm-12.col-md-6.col-lg-6.clearfix.no-padding-right.new-sec-2{ padding-top: 40px !important;}
	.long-img img{ height: 630px !important; }
} 
body section.testimonials.sec-5 .newbtn .btn-style-3 .btn-title {
    border: 1px solid #fff !important;
}
.col-md-12.text-center.thank-top {
    margin-top: 20px;
}


@media only screen and (max-width: 767px){
	body .top-bar-style2{height: 50px !important;}
	.top-bar-style2 .top-content{ justify-content: flex-end; }
	.d-lg-flex{justify-content: flex-end;}
	.nav-wrap{ order: 2; }
	.search-btn{ order: 1; }
	body .header-style2 .nav-wrap{ width: auto !important; }
	ul.icon_list.column_grid.two_col li::before{top: 4px !important;}
	.prev, .next{ top: 57%!important; }
	.button-imagebox{ margin: 0 auto; display: block; width: 100%; text-align: center; left: 0 !important;  }
	body footer fieldset{ margin-bottom: 10px !important; }
}
@media only screen and (max-width: 413px){
	a.themesflat-button-style2.btn-style-3.pt { line-height: 30px; font-size: 13px !important; }
	.btn-style-3 .btn-title{font-size: 13px !important;  padding: 10px 50px 10px 20px !important;}
	.btn-style-3 .btn-title::after{ right: 15px !important; }
	.home-section-5 .btn-style-3 .btn-title { padding: 10px 50px 10px 20px !important; }
	.home-section-5 .btn-style-3 .btn-title{font-size: 12px !important;  padding: 10px 50px 10px 20px !important;}
	.home-section-5 .btn-style-3 .btn-title::after{ font-size: 10px !important; }
	
}
.contact_section p {
    color: #fff;
    margin-bottom: 20px;
}
.gal-sec{
	margin-bottom: 25px;
    padding-top: 30px;
    padding-bottom: 30px;
}
.white-p p, .white-p a{ color: #FFF !important; }
.white-p a:hover{ color: var(--green) !important; }
.top-bot-space{padding: 20px 0px;}
.payment-sec-3 h3 {
    margin-bottom: 20px;
}
section.about2.about-style.bg-color.section-3.blue_bg.payment-sec-3.remove-mb {
    margin-bottom: 0;
}
.what-we-do-content .custom-class .image-box h3 {
    font-family: "Rubik", sans-serif !important;
    color: var(--green) !important;
    text-transform: uppercase;
    line-height: 59px;
    font-weight: 500 !important;
    letter-spacing: 0;
    padding-left: 2px;
    font-size: 18px;
}
.what-we-do-content .custom-class .image-box h3:hover { color: var(--theme-color) !important;}
section a:hover {  color: var(--green); }
section.testimonials  a:hover {  color: var(--theme-color) !important; }
section.bg-color  a:hover {  color: var(--green) !important; }
a:hover, a:focus {color: var(--theme-color); }
body section.tf-newslatter .subscribe.bg-color-style3 a:hover {	 color: var(--theme-color) !important; }
	.payment-sec-3 p a {
    color: #fff !important;
    text-decoration: underline !important;
}
@media only screen and (min-width:980px){
	.row.p-section-1 { display: flex;   align-items: center;}
	.content-about.ptop.pad-remove {  padding-left: 0; }
	.bg-color.hm_srvc_sec .two_col li:last-child {grid-column-end: span 2 !important;}
}
@media only screen and (max-width:980px){
	.carousel-inner h1, .carousel-inner h2 {
        font-size: 24px !important;
    }
	.what-we-do-content .custom-class .image-box h3{
		line-height: 20px;
	}
	.contact-us-style .content-contact-us {
    	padding: 0px 0 0 30px !important;
	}
	#footer .footer-widget .col-lg-5, #footer .footer-widget .col-lg-3, #footer .footer-widget .col-lg-4 {
    width: 33.33333333%;
}

}
@media only screen and (max-width:767px){
	.container-fluid.mobile-view ul { flex-direction: unset !important; justify-content: space-between !important; }
	.container-fluid.mobile-view { display: flex ; align-items: flex-start; }
	.mob-btn { display: block !important; }
	.mob-btn a { line-height: normal; padding: 10px 20px; background: var(--theme-color) !important; margin-top: 4px; margin-bottom: 4px; text-align: center;}
	.mob-btn a .btn-title{ line-height: normal;width: 120px; font-size: 15px; margin-top: 2px; margin-bottom: 2px; background: none !important; padding: 0 !important }
	
	
	#footer .footer-widget .col-lg-5, #footer .footer-widget .col-lg-3, #footer .footer-widget .col-lg-4 {
		width: 100%;
	}
	.about-us .flat-title {
    	margin-bottom: 10px !important;
	}
	.about2 .content-about p:last-child{
		margin-top: 20px;
	}
	
	html body section.about-us-style2.why-us.why-us-custom .image-box.wow.fadeInUp{min-height: 140px !important;}
}

@media screen and (min-width: 768px)  and (max-width: 1024px) {
	.home-sec ul li:last-child{ grid-column: span 2;  text-align: center;  justify-self: center; }
	.container-fluid.mobile-view { display: flex ; align-items: flex-start; }
	.mob-btn { display: block !important; }
	.mob-btn a { line-height: normal; padding: 10px 20px; background: var(--theme-color) !important; margin-top: 4px; margin-bottom: 4px; text-align: center; margin-right: 0 !important;}
	.mob-btn a .btn-title{ line-height: normal;width: 120px; font-size: 15px; margin-top: 2px; margin-bottom: 2px; background: none !important; padding: 0 !important }
	.container-fluid.mobile-view ul{ justify-content: space-between;  width: 100% }
	
}
.wpcf7 form .wpcf7-response-output{border: 2px solid #00a0d2 !important;}

form.wpforms-form { margin: 0 auto !important; max-width: 500px !important; padding: 25px !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 7%) !important; margin-top: 60px !important; }
form.wpforms-form button[type="submit"]{display: block; font-size: 15px; font-weight: 600; text-transform: uppercase; border-radius: 0; transition: all 0.5s ease 0s; border: 1px solid #fff; background: var(--theme-color) !important; padding: 15px 50px !important; margin: 20px auto; height: auto !important;}
form.wpforms-form button:hover{ background: #fff !important; color: #0072bb!important; border: 1px solid #000 !important;}
.wpforms-container input.wpforms-field-medium,
.wpforms-container select.wpforms-field-medium, 
.wpforms-container .wpforms-field-row.wpforms-field-medium,
.wp-core-ui div.wpforms-container input.wpforms-field-medium,
.wp-core-ui div.wpforms-container select.wpforms-field-medium,
.wp-core-ui div.wpforms-container .wpforms-field-row.wpforms-field-medium{ max-width: 100% !important; }
form.wpforms-form .g-recaptcha{ display: flex; justify-content: space-around; }

body .header-style2 .content-menu .search-btn{ width: 45%; }

body section.about-us-style2.why-us.why-us-custom .image-box.wow.fadeInUp{min-height: 180px !important;}
body section.about-us-style2.why-us.why-us-custom .image-box.wow.fadeInUp p{ text-align: center; }
.why_us_wrap section.about-us-style2.why-us.why-us-custom .what-we-do-content .image-box .content-imagebox {
    min-height: 0px !important;
}
body section.about-us-style2.why-us.why-us-custom  .image{ display: none; }
.header-style2 .content-menu .nav-wrap { display: flex ; justify-content: flex-end; }
body #footer p{ margin-top: 0px}
footer #menu-footer-menu-1{ display: flex !important ; grid-gap: 0; margin-bottom: 0; }
footer #menu-footer-menu-1 li:not(:last-child)::after { content: "|"; padding: 0 7px; color: #ffffff; }
footer fieldset{ min-height: auto !important; }
.col-lg-3.col-md-3.col-sm-12.footer-widget-style1{ padding-top: 0 !important; }
footer fieldset legend{margin-bottom: 0 !important; }
/*footer fieldset{ padding-top: 0 !important;  }
/*.col-lg-3.col-md-7.col-sm-12.footer-widget-style1{ padding-top: 10px !important; } */
.flat-tabs.flat-tabs-type2.flat-tabs-porpolio.home_pg .image-profolio .profolio-show{ padding: 20px 30px !important; }
section.what-we-do.bg-color.hm_srvc_sec.home-section-2.home-sec div.section-space{ margin-top: 0 !important; }
section.what-we-do.bg-color.hm_srvc_sec.home-section-2.home-sec h3{ margin-bottom: 20px !important; }
.top-search #searchform-all #searchsubmit { top: 4px; }
.mob-btn { display: none; }
body .mob-btn span.btn-title {  background: var(--theme-color) !important; }

.caption-container{background:none !important;}
.slides_img {
		background: #ffffff;
		display: inline-flex;
		padding: 15px;
		justify-content: center;
		align-items: center;
	}

@media only screen and (min-width: 1410px){
	.slides_img {
		width: 600px;
		height: 450px;
	}
}
@media only screen and (max-width: 1409px){
	.slides_img {
		width: 500px;
		height: 375px;
	}
}
@media only screen and (max-width: 800px){
	.slides_img {
		width:400px;
		height: 300px;
	}
}
@media only screen and (max-width: 767px){
	.slides_img {
		width: 98%;
		height: 300px;
	}
	a.prev {
		left: -20px;
	}
	a.next {
		right: -20px;
	}
}

