/*
 Theme Name:   Divi Child
 Author:       Zain
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  divi-child
*/

/* Your custom CSS here */
/****************************** ****************************** 
          Floting Sticky Sidebar CSS
****************************** *****************************/
.sticky-sidebar {
  display: block;
  position: fixed;
  z-index: 1000000;
  bottom: 20px;
  right: 20px;
}
.floating-btn {
  background: #1f1f1f;
  border: 2px solid #1F2A37;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
  position: absolute;
  z-index: 3;
  bottom: 0;
  right: 0;
}
.floating-btn i {
  display: block;
  background-image: url(images/chat-icon.png);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 15px;
  height: 15px;
  -webkit-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
}
.floating-btn:hover {
  background: #1F2A37;
  border: 2px solid #1F2A37;
}
.floating-btn.fclose i {
  background-image: url(images/close-icon.png);
  transform: rotate(90deg);
}
.floating-box {
  display: none;
  background: #fff;
  border-radius: 0;
  width: 100%;
  max-width: 380px;
  min-width: 300px;
  position: relative;
  bottom: 60px;
  border: 1px solid #E5E7EB;
  box-shadow: 0px 6px 12px 0px rgba(16, 24, 40, 0.10);
}
.floating-box-inner {
  display: block;
  padding: 1.5rem;
  max-height: calc(100vh - 100px);
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
}
.floating-box-inner .gform-custom-width .gform_wrapper.gravity-theme {
  margin: 0 auto;
  padding: 0 !important;
  max-width: 100%;
}
.floating-box h4 {
  font-size: 1.125rem;
  color: #1f1f1f;
  margin-bottom: 1.25rem;
  font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif;
  font-weight: 600;
  position: relative;
}
.floating-box h4 > a span {
  left: auto;
  position: absolute;
  right: 0;
  border: 1px solid #E5E7EB;
  border-radius: 100px;
  width: 40px;
  height: 40px;
  background-color: #F9FAFB;
  top: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f1f1f;
  transition: all .25s ease-out;
}
.floating-box h4 > a:hover span {
  background-color: #1f1f1f;
  border-color: #1f1f1f;
  color:  #fff;;
}
@media (max-width:459px) {
  .sticky-sidebar {
    right: 20px;
    left: 20px;
  }
  .floating-box {
    max-width: 100%;
  }
}
.floating-box-inner .gform-theme--foundation textarea.large {
  min-height: 100px;
  height: 100px !important;
}
.floating-box-inner .gform-theme--foundation .gform_fields {
	row-gap: 15px;
}
.floating-box-inner .gform-theme--foundation .gform_footer .gform_button {
	width: 100% !important;
}
.floating-box h4 > a:hover span img {
	filter: invert(100);
	display: block;
}

/****************************** ****************************** 
                  Gravity Form CSS (Customization Css) 
****************************** *****************************/
.gform-theme--foundation .gform_fields {
  row-gap: 20px;
}
.gform-theme--foundation .gform-field-label:where(:not([class*="gform-field-label--type-"]):not(.gfield_header_item):not(.ginput_quantity_label)), .gform-theme--foundation.gform_editor legend.gform-field-label > span {
  color: #313131 !important;
  font-weight: 600 !important;
}
.gform-theme.gform-theme--framework.gform_wrapper .gform-footer button.custom-submit-button {
  color: #FFFFFF !important;
  border: 2px solid #00b2e2 !important;
  background-color: #00b2e2 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: .65em 1em !important;
  outline: none !important;
  position: relative;
}
.gform-theme.gform-theme--framework.gform_wrapper .gform-footer button.custom-submit-button:hover {
  padding: .65em 2em .65em .7em !important;
}
.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control, .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control, .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn)) > button:not([id*="mceu_"]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control, .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control, .gform-theme.gform-theme--framework.gform_wrapper input:is([type="submit"], [type="button"], [type="reset"]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control, .gform-theme.gform-theme--framework.gform_wrapper input:is([type="submit"], [type="button"], [type="reset"]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control, .gform-theme.gform-theme--framework.gform_wrapper input[type="submit"].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control {
  color: #FFFFFF !important;
  border: 2px solid #00b2e2 !important;
  background-color: #00b2e2 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: .65em 1em !important;
  outline: none !important;
  position: relative;
}
.gform-theme--framework .gfield:where(.gfield--type-fileupload, .gfield--input-type-fileupload) .gform_drop_area::before {
  color: #00b2e2;
}
.gform-theme.gform-theme--framework.gform_wrapper .gform-footer button.custom-submit-button::after {
  font-family: ETmodules !important;
  line-height: 1em;
  font-size: 22px;
  font-weight: 400;
  content: "\35";
  position: absolute;
  margin-left: -1em;
  -webkit-transition: all .2s;
  transition: all .2s;
  text-transform: none;
  right: 0;
  opacity: 0;
}
.gform-theme.gform-theme--framework.gform_wrapper .gform-footer button.custom-submit-button:hover::after {
  opacity: 1;
  right: 6px;
}
.gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield select.large, .gform-theme--foundation .gfield textarea {
  border: 1px solid #ccc !important;
  border-radius: 8px;
  height: 44px;
  outline: none;
}
.gform-theme--foundation .gfield textarea {
  min-height: 180px !important;
}
.gform-theme--foundation .gfield input.large:focus, .gform-theme--foundation .gfield select.large:focus, .gform-theme--foundation .gfield textarea:focus {
  border: 1px solid #313131 !important;
}

.gform-theme--framework input[type="radio"]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before {
  background-color: #00b2e2;
  outline: none;
}
.gform-theme--framework input[type="checkbox"]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before {
  color: #00b2e2;
  outline: none;
}
.gform-theme--framework .gfield:where(.gfield--type-multiselect, .gfield--input-type-multiselect) .chosen-container-multi:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select, .gfield--input-type-select) .chosen-search input[type="text"]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select, .gfield--input-type-select) .chosen-single:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type="hidden"])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper :where(:not(.mce-splitbtn)) > button:not([id*="mceu_"]):not(.mce-open):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper button.button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type="submit"], [type="button"], [type="reset"]).button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type="submit"], [type="button"], [type="reset"]):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input[type="submit"].button.gform_button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
  outline: none;
}
#gform_ajax_spinner_1,
.gform-loader {
  display: none !important;
}

/* Default Submit Button Colors */
.gform-theme--framework .gform_button,
.gform-theme--framework button[type="submit"] {
  --gf-local-bg-color: var(--bde-button-primary-background-color) !important; /* Button background */
  --gf-local-color: var(--bde-button-primary-color) !important;            /* Button text color */
  --gf-local-border-color: var(--bde-button-primary-border-color) !important;     /* Button border color */
}

/* Hover and Focus States */
/*.gform-theme--framework .gform_button:hover,
.gform-theme--framework .gform_button:focus,
.gform-theme--framework button[type="submit"]:hover,
.gform-theme--framework button[type="submit"]:focus {*/
.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable,.gform-theme__disable *):not(.gform-theme__disable-framework,.gform-theme__disable-framework *)):hover, 
.gform-theme.gform-theme--framework.gform_wrapper .gform-datepicker-calendar .nav.btn:where(:not(.gform-theme-no-framework):not(.gform-theme__disable,.gform-theme__disable *):not(.gform-theme__disable-framework,.gform-theme__disable-framework *)):hover, 
.gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable,.gform-theme__disable *):not(.gform-theme__disable-framework,.gform-theme__disable-framework *)):hover, 
.gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable,.gform-theme__disable *):not(.gform-theme__disable-framework,.gform-theme__disable-framework *)):hover, 
.gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable,.gform-theme__disable *):not(.gform-theme__disable-framework,.gform-theme__disable-framework *)):hover, 
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable,.gform-theme__disable *):not(.gform-theme__disable-framework,.gform-theme__disable-framework *)):hover, 
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable,.gform-theme__disable *):not(.gform-theme__disable-framework,.gform-theme__disable-framework *)):hover, 
.gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable,.gform-theme__disable *):not(.gform-theme__disable-framework,.gform-theme__disable-framework *)):hover {
  --gf-local-bg-color: var(--bde-button-primary-background-color-hover) !important; /* Background on hover */
  --gf-local-border-color: var(--bde-button-primary-border-color-hover) !important;     /* Border on hover */
  --gf-local-color: var(--bde-button-primary-color-hover) !important;            /* Text color on hover */
}