/*
 Theme Name:     Divi child theme
 Template:       Divi
*/
 
@import url("../Divi/style.css");
@import "font-awesome-sprockets";
@import "font-awesome";


body #page-container .et_pb_fullwidth_header_0 .et_pb_button_one.et_pb_button {
    font-size: 14px !important;
   
}

.rw-wrapper-center .et_pb_button {
    display: block !important;
    width: 140px !important;
}

#logo {
    max-height: 100%;
    background: #fff;
}

body {
    font-family: 'Muli', sans-serif;    
}

.et_pb_slide_description .et_pb_slide_title {
    margin-top: 0;
    font-size: 26px;
    font-weight: 300;
    line-height: 36px;
    margin-top:30px;
}

#main-footer {
    BaCkground: url(http://www.oremacapital.sharmasaurabh.com/wp-content/uploads/2017/04/pexels-photo-316879.jpeg);
    background-size:cover;
    background-position: center;
    position: relative;
    border-top: 4px solid #1f994c;
}

#main-footer:before {
    position:absolute;
    content:'';
    width: 100%;
    height: 100%;
    background: rgba(8, 18, 33, 0.96);
}

#footer-widgets .footer-widget li:before {
    border-width: 0;
    top: 0 !important;
    font-family: FontAwesome;
    content: '\f054';
    top: 0;
    font-size: 12px;
}

#main-footer .footer-widget .fa {
    margin-right: 5px;
}

#main-footer .et_pb_widget a {
    color:#accce5;
}

#footer-bottom > .container {
    border-top: 1px solid #183548;
    padding-top: 10px;
}

#footer-bottom {
    padding: 0;
}

#logo {
    max-height: 98px !important;
}

.et_pb_section_0 {
   min-height: 300px;
   background-position: top center;
}


/* CONTACT FORM */


.wpcf7-text, .wpcf7-select, .wpcf7-textarea, .wpcf7-captchar {
background-color: #eee !important;
border: none !important;
width: 100% !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
font-size: 14px;
color: #000 !important;
padding: 16px !important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}



.wpcf7-form p {     z-index: 9999;
  position: relative;} 
.cform, div.wpcf7-form-control-wrap { max-width:48%; float:left; margin:1%; }
div.wpcf7-form-control-wrap { max-width: 40% !important; }
.cform { width:49%; float:left; margin:1%; }
.cformt  { width:100%; max-width:100%; float:left;  }

.wpcf7 textarea, .cform-submit {  margin:1%; max-width:98%; margin-top:-5px !important; }

div.wpcf7-validation-errors, div.wpcf7-mail-sent-ok {
    border: 0px solid #f7e700 !important;
}

.cform-submit { 
   
    width:98% !important;
}

.cform input[type="text"], .cform input[type="email"], .wpcf7 textarea { background: #f3f3f3 !important }
.wpcf7-submit {  
    display: inline-block;
   float:right !important;
    font-family: inherit;
    cursor: pointer;
    background:#fff !important;
        color: #192f59;
        position: relative;
    padding: 0.3em 1em;
    border: 2px solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7em !important;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    }





.wpcf7-submit:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    
    border: 2px solid transparent;
    display: inline-block;
   
    font-family: inherit;
    cursor: pointer;
    color: #192f59;
}

.menu-item-410 {
    background: url(http://www.oremacapital.sharmasaurabh.com/wp-content/uploads/2017/04/mail-16.png) no-repeat left;
    padding-left: 28px;
    height: 14px;
    
    color: white;
    font-size: 12px;
    
    margin-right: 30px;
    line-height: 16px;
}

.menu-item-411 {
    
    background: url(http://www.oremacapital.sharmasaurabh.com/wp-content/uploads/2017/04/gear-16.png) no-repeat left top;
    min-height: 17px;
    line-height: 17px;
    color: white;
    font-size: 12px;
   
    margin-right: 2px;
    padding-left: 25px;
}

.et-fixed-header #et-top-navigation {
    border-bottom: 0px solid #888;
}

.rw-words-center {
    
    max-width: 880px !important;
    margin: auto;
    height: 160px !important;

}


.et_pb_tabs_controls li {

    text-align: center;
    min-width: 33.33%;
}

.et-fixed-header #logo {
    max-height: 100% !important;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content {
    margin-right: 0;
}

.icon-angle-down:before {
    content: "\e7a7";
     font-family: 'entypo', sans-serif;
}
.dark .one-page-arrow, .one-page-arrow.dark {
    color: #FFF;
}
.animated.infinite {
    animation-iteration-count: infinite;
}
.one-page-arrow i {
    animation-duration: 1.5s !important;
}

.testimonial_slider img {
    border-radius:50%;
}

.testimonial_slider .et_pb_slide_description {
    padding: 2% 8%;
}

.txt-green {
    color:#1f994c;
}

.about-blurb .et_pb_text h5 {
    display: block;
    background: 0 0;
    padding: 0 0 10px;
    margin-bottom:20px;
    border-bottom: 2px solid #1f994c;
}

.services-blurb .et_pb_blurb {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
}

.services-blurb .et_pb_blurb h4 a {
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content:center;
}

.services-blurb .et_pb_blurb:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.testimonial_slider .et-pb-controllers {
    bottom: -20px;
}

.testimonial_slider .et-pb-controllers .et-pb-active-control {
    background-color: #1f994c !important;
}

/*---------Header with changing words center---------*/
.rw-wrapper-center .et_pb_button {
	display: block !important;
	width: 160px; /*you may want to increase or decrease this value based on your button title*/
	margin: 0 auto !important;
	text-align: center;
	letter-spacing: 2px;
    font-size: 16px;
    padding: 10px 20px;
}
.rw-wrapper-center{
	width: 100%;
	position: relative;
	margin: 0 auto 0 auto;
	overflow: hidden;
}
.rw-sentence-center{
	margin: auto;
	text-transform: uppercase;
	font-weight: 300;
	text-shadow: 0 0 0 rgba(0,0,0,0.0001);
}
.rw-sentence-center span{
	white-space: normal;
	text-align:center;
}
.rw-sentence-center > span:first-child{
	display: block;
	font-size: 100%;
}
.rw-words-center{
	width: 100%;
	max-width:1080px;
	height: 100px;
	-webkit-perspective: 800px;
	perspective: 800px;
	
}
.rw-words-center span{
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	white-space: normal;
	overflow: hidden;
	text-align:center;
}
.rw-words-1-center span{
	font-size: 30px;
	font-weight:700;
	line-height: 1.5;
	color: #fff;	
	-webkit-animation: rotateWordsFirst 14s linear infinite 0s;
	-ms-animation: rotateWordsFirst 14s linear infinite 0s;
	animation: rotateWordsFirst 14s linear infinite 0s;
}

.rw-words-center span:nth-child(1) { 
    -webkit-animation-delay: 1s; 
	-ms-animation-delay: 1s; 
	animation-delay: 1s; 
}

.rw-words-center span:nth-child(2) { 
    -webkit-animation-delay: 8s; 
	-ms-animation-delay: 8s; 
	animation-delay: 8s; 
}

@-webkit-keyframes rotateWordsFirst {
    0% { opacity: 0; right: -5%; -webkit-animation-timing-function: ease-in; width: 100%;}
    5% { opacity: 1; right: 0%; -webkit-animation-timing-function: ease-out; width: 100%;}
    47% { opacity: 1; right: 0% }
    50% { opacity: 0; right: 50%; }
    100% { opacity: 0; right: 100%; }

}
@keyframes rotateWordsFirst {
    0% {  opacity: 0; right: -5%; -ms-animation-timing-function: ease-in; width: 100%;}
    3% {  opacity: 1; right: 0%; -ms-animation-timing-function: ease-out; width: 100%;}
    47% {  opacity: 1; right: 0%; }
    50% { opacity: 0; right: 50%; }
    100% { opacity: 0; right: 100%; }

}
@keyframes rotateWordsFirst {
    0% { opacity: 0; right: -5%; -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; width: 100%;}
    3% { opacity: 1; right: 0%; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; width: 100%;}
    47% { opacity: 1; right: 0%; }
    50% { opacity: 0; right: 50%; }
    100% { opacity: 0; right: 100%; }
   
    
}

@media screen and (max-width: 1096px){
    .rw-sentence-center span { font-size:28px !important; }
}

@media screen and (max-width: 980px){
    #logo {
    max-height: 78px !important;
}
    
    #et-top-navigation #top-menu-nav {
        border-bottom: 0px !important;
    }
    .mobile_menu_bar:before {
        color: #fff !important;
    }
    #main-header .et_mobile_menu {
        background-color: rgba(255, 255, 255, 0.96) !important;
    }
    .et_mobile_menu li a {
        color: #192f59 !important;    
    }
}

.mobile_menu_bar:before {
    color: #192f59 !important;
}

#footer-info a {
    color: #07111f !important; 
    
}


@media screen and (max-width: 782px){
    .rw-words-center {
    height: 180px !important;

   }
    .rw-sentence-center span { font-size:26px !important; }
}

@media screen and (max-width: 521px){
    .rw-words-center {
    height: 280px !important;

   }
    
    .rw-sentence-center span { font-size:22px !important; }
}