/*
  Theme Name: Sher Agency - Divi Child Theme
  Theme URI: https://sheragency.com/
  Version: 1.0
  Template: Divi
  Author: Sher Agency
  Author URI: https://sheragency.com/
  Text Domain: sher-agency---divi-child-theme
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Toggle Switch */
.hidden {
  display: none !important;
}

.default-section {
  display: block !important;
}
.default-section.et_pb_equal_columns {
    display: flex!important;
}
.toggle-wrap {
  display: flex;
  align-items: Center;
	  justify-content:Center;
}
.toggle-wrap span {
  color: #1a1c26;
  text-align: center;
  font-family: Titillium Web;

  font-style: normal;
  font-weight: 700;
  line-height: 112%;
  text-transform: uppercase;

}
@media only screen and (min-width: 768px) {
	.toggle-wrap span {
  font-size: 22px;
  padding: 0 30px;
}
}

@media only screen and (max-width: 767px) {
	.toggle-wrap span {
  font-size: 16px;
  padding: 0 15px;
}
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 59px;
  height: 32px;
	    min-width: 59px
}
.toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  border-radius: 30px;
  background-color: #ccc;
  transition: background-color 0.3s ease;
}
.slider:before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  left: 2px;
  top: 3px;
  transition: transform 0.3s ease;
}
input[type="checkbox"]:checked + .slider {
  background-color: #1caf4c;
}
input[type="checkbox"]:checked + .slider:before {
  transform: translateX(28px);
}

/* Toggle Switch */

/** Tabs **/

.tabs {
  display: flex;
  position: relative;
  width: 100%;
  justify-content: center;
}

.tab-item {
  border-radius: 4px;
  background: rgba(236, 97, 66, 0.2);
  display: flex;
  padding: 16px 24px;
  align-items: center;
  opacity: 1;
  cursor: pointer;
  transition: all 0.5s ease;
  margin: 5px;
  color: rgba(19, 26, 18, 0.56);
}
.tab-item {
     font-family: 'Sofia Sans Medium',Helvetica,Arial,Lucida,sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 27px */
}
.tab-item:first-child {
  text-align: left !important;
}
.tab-item:last-child {
  text-align: right !important;
}
.tab-icon {
  font-size: 24px;
  width: 32px;
  position: relative;
  top: 2px;
}
.tab-item:hover {
  opacity: 1;
}
.tab-item.active {
  opacity: 1;
  background: #ec6142;
  color: #fdfffc;
}
.tab-content {
  padding: 28px 0;
}
.tab-pane {
  color: #333;
  display: none !important;
}
.tab-pane.active {
  display: block !important;
}
.tab-pane h2 {
  font-size: 24px;
  margin-bottom: 8px;
}


/** Tabs **/

/*
* GENERAL
*/

.et_pb_module li {
    padding-bottom: 1em;
}

.et_pb_module li:last-child {
    padding-bottom: 0;
}

.et_pb_module ol, .et_pb_text_inner ul {
    padding-left: 1em;
}

.et_pb_module p+ul, .et_pb_text_inner p+ol {
    padding-top: 1em;
}

.customer-reviews .et_pb_testimonial .et_pb_testimonial_portrait {
    display: none;
}

.customer-reviews .et_pb_testimonial .et_pb_testimonial_author {
    margin-left: 0;
}

ul.display-grid, ol.display-grid {
    display: flex;
    flex-wrap: wrap;
}

ul.display-grid li, ol.display-grid li {
    padding-right: 30px;
}

ul.display-grid.grid-2-column li, ol.display-grid.grid-2-column li {
    width: 50%;
}

ul.display-grid.grid-3-column li, ol.display-grid.grid-3-column li {
    width: 33.3%;
}

.dp-dfg-load-more-button{
  margin-top:50px;
}

.dp-dfg-load-more-button {
    border-radius: 4px;
    background: linear-gradient(117deg, #EC6142 32.96%, #F58859 79.73%) !important;
    display: inline-flex!important;
    padding: 16px 24px!important;
    align-items: center;
    position: relative;
    border: 0!important;
}
.dp-dfg-load-more-button {
    color: #FDFFFC!important;
    font-family: "Sofia Sans Bold", Helvetica, Arial, Lucida, sans-serif;
    font-size: 18px!important;
    font-style: normal;
    font-weight: 700;
    line-height: 150%!important;
    letter-spacing: 0.54px;
    text-transform: uppercase;
    transition: 500ms;
    z-index: 99999;
}
.dp-dfg-load-more-button::after {
     content:'' !important;
     border-radius: 4px;
     background: linear-gradient(106deg, rgba(236,98,66,0) 11.77%, #FA9C73 61.19%) !important;
     position:absolute;
     height: 100%;
     width: 100%;
     color: transparent !important;
     visibility:visible;
     top:0;
     z-index:-1;
     opacity: 0;
     left: 100% !important;
}
.dp-dfg-load-more-button:hover::after {
    top: 0;
    left: 0 !important;
    bottom: 0;
    border-radius: 0;
    opacity: 1;
    transition: all 0.8s !important;
    margin-right: 0;
    right: 0;
}
.dp-dfg-load-more-button {
    overflow: hidden!important;
}
.service-grid-row .et_pb_module.et_pb_blurb {
    position: relative;
    height: 100%;
}
.service-grid-row .et_pb_main_blurb_image img {
    height: 280px;
    object-fit: cover;
}

.service-grid-row .et_pb_blurb_content .et_pb_blurb_container .et_pb_blurb_description a.learn-more:after {
    color: #1caf4c;
    line-height: inherit;
    font-size: inherit!important;
    opacity: 1;
    margin-left: .3em;
    left: auto;
    display: inline-block;
    font-family: FontAwesome!important;
    font-weight: 900!important;
    content: '\f054';
    vertical-align: top;
}

#category-description h1, 
#category-description h2, 
#category-description h3, 
#category-description h4, 
#category-description h5, 
#category-description h6 {
    font-weight: bold;
    line-height: 1.3;
    text-transform: uppercase;
}

#category-description h1, 
#category-description h2, 
#category-description h3 {
    padding-top: 1em;
    padding-bottom: 1em;
}

#category-description h4, 
#category-description h5, 
#category-description h6 {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

#category-description table {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: auto;
    margin-right: auto;
}

#category-description table tbody tr th {
    padding: 10px 15px;
    text-align: left;
    border: 1px solid #e2e2e2;
    background-color: #f2f2f2;
}

#category-description table tbody tr td {
    padding: 10px 15px;
    text-align: left;
    border: 1px solid #e2e2e2;
}

#category-description table tbody tr:nth-child(even) td {
    background-color: #f2f2f2;
}

#category-description table tbody tr th[align="center"],
#category-description table tbody tr td[align="center"] {
    text-align: center;
}

#category-description table tbody tr th[align="left"],
#category-description table tbody tr td[align="left"] {
    text-align: left;
}

#category-description table tbody tr th[align="right"],
#category-description table tbody tr td[align="right"] {
    text-align: right;
}



@media (max-width: 1400px) {
    #header-key-icon {
        display: none;
    }
}

@media (max-width: 980px) {
	.default-section.et_pb_equal_columns, .default-section {
		display: block!important;
	}
	
	.default-section.et_pb_equal_columns.reverse, .default-section.reverse, .reverse {
        display: flex!important;
        flex-direction: column-reverse;
    }
	
	.reverse.hidden {
        display: none!important;
    }
	
	ul.display-grid.grid-3-column li, ol.display-grid.grid-3-column li {
		width: 50%;
	}
}

@media (max-width: 767px) {
	ul.display-grid.grid-2-column li, ol.display-grid.grid-2-column li {
		width: 100%;
		padding-right: 0;
	}
	
	
	ul.display-grid.grid-3-column li, ol.display-grid.grid-3-column li {
		width: 100%;
	}
}