/*
 Theme Name:     Elite Pain Management
 Description:    Custom styles for elitepainmanagement.com
 Template:       Divi
 Version:        1.0.2
*/


@font-face {
  font-family: "Economica-Regular";
  src: url("./fonts/Economica-Regular.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Economica-Regular";
  src: url("./fonts/Economica-Regular.otf") format("otf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Economica-Regular";
  src: url("./fonts/Economica-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Economica-Regular";
  src: url("./fonts/Economica-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

h1 {
	font-size: 40px !important;
	font-weight: 600;
}
h2 {
	font-size: 30px !important;
	font-family: 'Economica-Regular' !important;
	font-weight: bold;
}
h3 {
	font-size: 35px !important;
	font-family: 'Economica-Regular' !important;
	font-weight: bold;
}
h4 {
	font-size: 18px !important;
	font-family: 'Montserrat' !important;
	font-weight: bold;
	line-height: 1.5;
}
h5 {
	font-size: 22px !important;
	font-style: italic;
	font-family: Georgia !important;
	line-height: 1.5;
}
h6 {
	font-family: "Montserrat" !important;
	font-weight: bold;
}
#post-42 h2.et_pb_toggle_title,
#post-40 h2.et_pb_toggle_title {
	font-size: 23px !important;
}
#logo {
    max-height: 160% !important;
}
.ScrollClass #logo {
  max-height: 140% !important;
}

.sgpb-theme-1-overlay{background-image: none!important; background-color: rgba(0,0,0,0.6)!important; z-index: 999990!important;}
.sgpb-theme-1-content {
    border-radius: 0px;
    padding-bottom: 0;
    box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 6px -1px !important;
    border-bottom-width: 0px !important;
    border-bottom-color: #fff !important;
    max-width: 661px !important;
    background-image: linear-gradient(to right, #08b4d2 , #027ec8);
    color: #fff;
    padding: 20px !important;
    border: 5px solid #fff !important; box-sizing: border-box !important;
    min-width: 661px!important;
}
.sgpb-popup-dialog-main-div-theme-wrapper-1 {
    z-index: 9999100 !important;
}
.sgpb-main-html-content-wrapper h4 {
    color: #fff;
}
.sgpb-main-html-content-wrapper li::before {font-family: ETmodules !important;
speak: none;
font-style: normal;
font-weight: 400;
-webkit-font-feature-settings: normal;
font-feature-settings: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-shadow: 0 0; content: "\52"; left:0px; position: absolute; top: 5px;
    font-size: 15px;}
.sgpb-main-html-content-wrapper li { padding-left: 30px; position: relative;}
.sgpb-popup-close-button-1{top: -8px !important; right: -8px !important; bottom: inherit !important;}


@media only screen and (min-width: 980px) {
	#logo {
    max-height: 220% !important;
}
  .ScrollClass #logo {
    max-height: 160% !important;
  }
}
#top-header.dNone {
	z-index: 10;
	margin-top: -50px;
	transition: .9s;
  -moz-transition: .9s;
  -webkit-transition: .9s;

}
#main-header.ScrollClass{
  transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
	z-index: 20;
}
#main-header.ScrollClass {
  top: 0 !important;
}
#main-header {
  background: #000 !important;
  color: #fff !important;
}

#post-9 .et_pb_row_0 .et_pb_button_module_wrapper {
  display: inline-block;
  margin: 0 5px;
}
#post-9 .et_pb_row_0 .et_pb_button_module_wrapper {
    display: inline-block;
    margin: 0 5px;
}
#main-footer {
	background: #052244;
}
.footer-widget #custom_html-3 {
	margin-bottom: 10px;
}
ul#menu-footer-menu li:before {
	display: none !important;
}
ul#menu-footer-menu li a {
	color: #e08c15 !important;
	text-decoration: underline !important;
	text-transform: uppercase !important;
}
.footer-widget p {
	padding-bottom: 0px !important;
}
#custom_html-4 {
	width: 300px !important;
	max-width: 300px;
	margin-left: -20px;
}
#custom_html-5 {
	width: 300px !important;
	max-width: 300px;
}
.et_pb_main_blurb_image {
	margin-bottom: 10px !important;
}
.nine-columns .et_pb_module {
  width: 33.33%; float: left;
}
@media (min-width: 468px) {
  .nine-columns .et_pb_module {
    width: 33.33%; float: left;
  }
}
@media (min-width: 860px) {
  .nine-columns .et_pb_module {
    width: 20%; float: left;
  }
  #insuranceCarriers div:first-child,
  .flexCenter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  
}
#insuranceCarriers div:first-child {
  text-align: center;
}
@media (min-width: 1000px) {
  .nine-columns .et_pb_module {
    width: 11.11%; float: left;
  }
}

.page-id-40 .et_pb_button {
	width: 250px;
	height: 50px;
}
.text-right {
	text-align: right;
}
@media only screen and (max-width: 768px) {
  h1 {
  	font-size: 32px !important;
  }
  h2 {
  	font-size: 25px !important;
  }
  h3 {
  	font-size: 30px !important;
  }
  h4 {
  	font-size: 16px !important;
  }
  h5 {
  	font-size: 20px !important;
  }
}


@media (min-width: 768px) and (max-width: 1060px) {
    #home-btn-2 { margin-right: -35px; }
}
@media (max-width: 1148px) {
  .home-title-line {  display: none; }
  #custom_html-3 { margin-bottom: 10px !important;  float: none !important;  }
}

@media (min-width: 768px) {
#get-to-know-us .et_pb_image {
    float: left ;
    width: 40%;
    margin-right: 20px;
  }

#get-to-know-us .et_pb_text {
  float: left;
  width: calc(60% - 20px) !important;
  padding-right: 10px;
}
}

@media (max-width: 600px) {
  .d-600 {
    display: none;
  }
}
@media (max-width: 800px) {
  .d-740 {
    display: none;
  }
}
@media only screen and (max-width: 480px) {
  #media_image-2 {
    width: 100%; text-align: center;
    margin-top: 30px;
  }
  #custom_html-3 {
    text-align: center;
  }
  #nav_menu-2 {
    width: 100%;
    text-align: center;
  }
  #custom_html-4,
  #custom_html-5 {
    margin: auto;
  }
  #yourPassion {
    background-position: bottom right !important;
  }
  .mobile-center {
    text-align: center !important;
  }
  .sgpb-theme-1-content{max-width: 300px!important;  min-width: 300px!important;}
}
#top-header {
  background: #0389b5 !important;
}
#top-header .container {
  text-align: right;
}
#top-header .container #et-info {
  width: 100%;
}

@media only screen and (max-width: 860px) {
  #regenerativeTherapy {
    margin-bottom: -60px;
  }
  #regenerativeTherapy span,
  #regenerativeTherapy span img {
    min-width: 100%;
  }
}
@media only screen and (max-width: 980px) {
  .nmtab {
    margin-bottom: 0px;
  }
}
#footer-info {
  width: 100%;
  text-align: center;
}
.reviews-link a {
  color: #6d5c2f;
  text-decoration: underline;
}
.reviews-link {
  margin-top: 15px;
}

.et_pb_widget_area_left .widget_text {
	margin-bottom: 30px !important;
}
.et_pb_widget_area_left .widget_text .textwidget {
	padding-bottom: 0px !important;
}
#article-footer-image,
#article-footer-image .et_pb_image_wrap,
#article-footer-image .et_pb_image_wrap img {
  height: 100% !important;
}
#article-footer-image .et_pb_image_wrap img  {
  object-fit: cover;
}
@media only screen and (min-width: 1200px) {
  #article-sub-footer .et_pb_column_2_5 .et_pb_text {
    margin-top: 30px !important;
  }
}
.widget_nav_menu a:hover {
    color: black !important;
}
.et_section_specialty .et_pb_text_inner ul {
  list-style: none !important;
}
.et_section_specialty .et_pb_text_inner ul li {
	padding-left: 30px;
}
.et_section_specialty .et_pb_text_inner ul li:before {
  content: '✓' !important;
  margin-left: -30px !important;
  padding-right: 15px !important;
}
.home-clear .et_pb_text_inner {
 overflow: auto !important;
}
.home-clear {
  margin-bottom: -20px !important;
}


@media only screen and (min-width: 220px) and (max-width: 800px) {
  .sgpb-theme-1-content{width: 100%!important; max-width:500px!important; min-width:500px!important;}
    @media only screen and (max-width: 540px) { 
      .sgpb-theme-1-content {  max-width:340px !important; min-width:340px!important;}
    }
    @media only screen and (max-width: 380px) { 
      .sgpb-theme-1-content {  max-width:260px !important; min-width:260px!important;}
    }
}