/*
 Theme Name:     Web Blocks (Divi Child Theme)
 Theme URI:      https://webblocksbuilder.com
 Description:    Divi Child Theme For The Web Blocks Builder
 Author:         Marketing For Normal People
 Author URI:     https://marketingfornormalpeople.com
 Template:       Divi
 Version:        1.0.18
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*custom Web Blocks CSS below this line*/









/*flex_row css class to keep mobile columns side by side, per elegant themes support */
@media (max-width: 980px) {
.flex_row{
  display:flex;
}
.flex_row .et_pb_column:nth-child(1){
  margin: 0 1%!important;
  margin-left:0px!important;
}
.flex_row .et_pb_column:nth-child(2){
  margin: 0 1%!important;
  margin-right:0px!important;
}
}



/*extent-arrows css class to keep slider arrows from overlapping text on mobile, per elegant themes support */
@media only screen and ( max-width: 767px ) {
.extend-arrows .et-pb-arrow-prev {
  left: -22px !important;
}
.extend-arrows .et-pb-arrow-next { 
 right: -22px !important;
}

.extend-arrows {
  overflow: visible !important;
}
}






/*From this site: https://www.peeayecreative.com/how-to-make-the-divi-blog-grid-equal-height/ */
.pa-blog-equal-height .pa-auto-height {
    height: auto !important;
}
.pa-blog-equal-height .pa-auto-margin {
    margin-top: 20px !important;
}














/*This section customizes pagination for the blog using the "PageNavi" plugin. That plugin is here: https://wordpress.org/plugins/wp-pagenavi/ - documentation is here: https://www.peeayecreative.com/how-to-style-and-customize-the-divi-blog-pagination/ and here: https://www.elegantthemes.com/blog/divi-resources/how-to-style-divi-pagination and here: https://www.isitwp.com/styling-wp-pagenavi-styling/ - note that some styles can be customized inside of the blog module itself.*/

/*style the wp-pagenavi pagination links*/

.wp-pagenavi a,
.wp-pagenavi span {
	color: #000000;
	background: #F8F8F8;
	font-size: 1em !important;
	line-height: 1em;
	font-weight: bold !important;
	padding: 0.45em 0.8em !important;
	margin-left: 4px;
	margin-right: 4px;
	border-radius: 5px;
	border: none;
	transition: all .5s;
}


/*style the wp-pagenavi current page number*/

.wp-pagenavi span.current {
	color: #ffffff !important;
	background: #E0E0E0 !important;
	border-radius: 5px;
}


/*style the wp-pagenavi pagination links on hover*/

.wp-pagenavi a:hover {
	color: #ffffff!important;
	background: #E0E0E0!important;
}


/*style the wp-pagenavi pages text*/

.wp-pagenavi .pages {
	background: none;
}


/*remove border and center the wp-pagenavi links*/

.wp-pagenavi {
	padding-top: 60px !important;
	border-top: none;
	text-align: center;
}


















/*---------------------------------------------------------------*/ 
/*------Replace the Search Button with an Icon by Divi Soup------*/ 
/*URL: https://divisoup.com/q19-replace-the-divi-search-button-with-an-icon/ */
/*---------------------------------------------------------------*/
/*Hide the search button*/
.ds-icon-search input.et_pb_searchsubmit,
.widget_search input#searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    width: 55px;
    z-index: 2;
}
/*Add padding to the search input field*/
.ds-icon-search input.et_pb_s,
.widget_search input#s {
    padding-right: 55px !important;
}
/*Add the icon*/
.ds-icon-search .et_pb_searchform:before,
.widget_search::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
	color: #e0e0e0;
	font-weight: 900;
    z-index: 1;
    right: 0;
    font-size: 20px;
    padding: 8px 20px;
}
/*---------------------------------------------------------------*/ 
/*---End - Replace the Search Button with an Icon by Divi Soup---*/ 
/*---------------------------------------------------------------*/













/* This is custom code as outlined on this page: https://www.elegantthemes.com/blog/divi-resources/how-to-create-a-category-page-template-for-your-blog-using-the-divi-theme-builder and https://www.wppagebuilders.com/display-blog-posts-list-divi-builder/ - Do not edit or remove this code unless you are doing something very advanced */
@media (min-width: 981px) {
  .left-blog-image-large .et_pb_post .entry-featured-image-url {
    float: left;
    width: 100%;
    max-width: 350px;
    margin: 0 20px 30px 0;
}
  .left-blog-image .et_pb_post {
    margin-bottom: 20px !important;
  }
}

/*style the Divi read more to have a hover effect ease-in*/
.et_pb_post a.more-link {
	transition: all 0.3s ease-in-out;
}











/* This is custom CSS code for the Divi Toggle Functionality - for Web Blocks Pro */


:root {
    --wb-toggle-inactive-button-color: #808080;
    --wb-toggle-inactive-button-hover-color: #606060;
    --wb-toggle-inactive-text-color: #c0c0c0;
    --wb-toggle-text-color: #f8f8f8;
    --wb-toggle-bg-color: #151515;
    --wb-toggle-secondary-color: rgba(255, 255, 255, 0.76);
    --wb-toggle-hover-color: #28c4a9;
    --wb-toggle-grey-color: #aaa;
}

#page-container .wb-toggle-ability-section .wb-toggle-wrapper .et_pb_button_module_wrapper a.wb-toggle-button-active {
    color: var(--wb-toggle-text-color)!important;
}

#page-container .wb-toggle-ability-section .wb-toggle-wrapper .et_pb_button_module_wrapper a:not(.wb-toggle-button-active) {
    background: var(--wb-toggle-inactive-button-color)!important;
    color: var(--wb-toggle-inactive-text-color)!important;
}

#page-container .wb-toggle-ability-section .wb-toggle-wrapper .et_pb_button_module_wrapper a:not(.wb-toggle-button-active):hover {
    background: var(--wb-toggle-inactive-button-hover-color)!important;
    color: var(--wb-toggle-text-color)!important;
}



.wb-toggle-ability-section .wb-toggle-wrapper .et_pb_button_module_wrapper {
    display: inline-block!important;
}

html.et-fb-root-ancestor .wb-toggle-explainer.et_pb_code {
    background: var(--wb-toggle-bg-color)!important;
    outline: 4px double var(--wb-toggle-secondary-color);
    outline-offset: -18px;
}

html.et-fb-root-ancestor:not(.et-fb-preview--wireframe) .wb-toggle-ability-section .wb-toggle-content {
    margin-top: 50px!important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

html.et-fb-root-ancestor:not(.et-fb-preview--wireframe) .wb-toggle-ability-section .wb-toggle-content:before {
    content: "Toggle Content 1";
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%,-100%);
    transform: translate(-50%,-100%);
    background: var(--wb-toggle-grey-color);
    padding: 0 8px;
    color: var(--wb-toggle-text-color);
    font-size: 12px;
    line-height: 26px;
    font-weight: 700;
    opacity: 1;
    bottom: auto;
    right: auto;
    z-index: 20;
    border-radius: 3px 3px 0 0;
    pointer-events: none;
}

html.et-fb-root-ancestor:not(.et-fb-preview--wireframe) .wb-toggle-ability-section .wb-toggle-row-2:before {
    content: "Toggle Content 2";
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%,-100%);
    transform: translate(-50%,-100%);
    background: var(--wb-toggle-grey-color);
    padding: 0 8px;
    color: var(--wb-toggle-text-color);
    font-size: 12px;
    line-height: 26px;
    font-weight: 700;
    opacity: 1;
    bottom: auto;
    right: auto;
    z-index: 20;
    border-radius: 3px 3px 0 0;
    pointer-events: none;
}

html.et-fb-root-ancestor:not(.et-fb-preview--wireframe) .wb-toggle-ability-section .wb-toggle-content:after {
    position: absolute!important;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: -1px;
    margin-right: -1px;
    pointer-events: none;
    border-radius: 3px;
    height: auto;
    width: auto;
    visibility: visible;
    opacity: 1;
    z-index: 10;
    border: 3px solid var(--wb-toggle-grey-color);
}

html.et-fb-root-ancestor:not(.et-fb-preview--wireframe) .wb-toggle-ability-section .wb-toggle-content:hover:before {
    background: var(--wb-toggle-hover-color)!important;
    opacity: 1;
}

html.et-fb-root-ancestor:not(.et-fb-preview--wireframe) .wb-toggle-ability-section .wb-toggle-content:hover:after {
    border: 3px solid var(--wb-toggle-hover-color);
}

html:not(.et-fb-root-ancestor) .wb-toggle-ability-section .wb-toggle-row-2, html:not(.et-fb-root-ancestor) .et-db #et-boc .et-l .wb-toggle-ability-section .wb-toggle-row-2 {
    display: none;
}








/* This is custom CSS for the Terms & Conditions & Privacy Policy links in the footers to underline them on hover - the classes are in the actual code of the text module, not under advanced settings - this is important to make sure each hovers individually. */


.wb-link-underline-on-hover {
  text-decoration: none;
}

.wb-link-underline-on-hover:hover {
  text-decoration: underline;
}


