/*
Theme Name: Divi Child Theme
Template: Divi
Version: 2.0
*/

/* Start your custom CSS bellow this comment
============================================ */
/* - Header - */

@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
 }

/*aidan css for blog*/
.featured_blog a.more-link {
    display: inline-block;
	font-weight: regular;
	border: 2px solid white;
	border-radius: 3px;
	font: default;
	font-size: 16px;
	text-transform: capitalize;
    color: #ffffff;
    width: 150px;
    padding: 5px 10px;
    text-align: center;
    margin: 20px auto;
    letter-spacing: 1px;
}

#blog_cards a.more-link {
    display: inline-block;
	font-weight: bold;
	border-radius: 3px;
	font: default;
	font-size: 16px;
	text-transform: capitalize;
    color: #ffffff;
    width: 150px;
	background: #6CAAE5;
    padding: 5px 10px;
    text-align: center;
    margin: 20px auto;
    letter-spacing: 1px;
}

.et_pb_module .et_pb_post {
    display: flex;
    flex-direction: column;
}
.et_pb_module .et_pb_post .post-meta {
    order: 1;
}
.et_pb_module .et_pb_post .entry-title {
    order: 2;
}
.et_pb_module .et_pb_post .post-content {
    order: 3;
}


.et_social_heading {
	 display: none !important;
	
}



h1, h2, h3, h4, h5, h6 {
    overflow-wrap: normal;
}


.et_pb_team_member_image img {
 border-radius: 50%;
 box-shadow: 0 5px 10px #999;
 width: 75px;

}

.et_pb_title_featured_container {
	padding-bottom: 30px;
}

/*******************************/
/******* CLEANER COMMENTS ******/
/*******************************/

.comment_avatar img { border-radius: 50%; } /** circle images **/

@media (min-width: 768px) { /** The breakpoint for the comments form **/

 .children .comment.depth-2 { margin-left: 30px;} /** offsets the first child, but no others **/
 .comment .children { margin-left: 0px; } /** offsets the first child, but no others **/
 .comment .children .comment_avatar img { max-width: 60px; } /** make reply avatars smaller **/
 .comment .children .comment_avatar { margin-left: 20px; } /** keep reply avatars left **/
 
}

.et_social_networks .et_social_icons_container  {
       display: flex !important;
    }

@media (min-width: 768px) { 

.et_monarch .et_social_networks .et_social_icons_container { 
	  width: 20%;
    display: inline-block;
	align-self: top !important;
	
	} 
}

@media (max-width: 1000px) { 

.et_monarch .et_social_networks .et_social_icons_container { 
	  width: 60%;
    display: inline-block;
	align-self: top !important;
	
	} 
}

.wp-block-table.is-style-stripes {
    border-spacing: 0;
    border-collapse: inherit;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
	
} 

td {
	
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}

blockquote {
font-family: default;
line-height: 1.4em;
font-weight: bold;
font-size: 32px;
color: #6caae5;
display: inline-block;
text-align: center;
	
}

blockquote {
    border: none !important;
}

.saboxplugin-wrap {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #eee;
	width: 100%;
    clear: both;
    display: block;
    position: relative;
	box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
	border-radius: 5px;
}

.saboxplugin-wrap .saboxplugin-gravatar img {
    max-width: 100px;
    height: auto;
    border-radius: 50% !important;
}

.saboxplugin-socials .saboxplugin-icon-grey  {
    color: #6caae5 !important;
    fill: #6caae5 !important;
	}

.saboxplugin-wrap .saboxplugin-socials {
    background: #ffffff;
    border-top: 0px solid #eee;
  }


@media (min-width: 768px) { /** The breakpoint for the comments form **/

	blockquote {
		padding-right:100px;
		padding-left:100px;
 
	} }


.et_pb_button, .et_pb_button_inner {
      display: flex;
	
}

.et_bloom .et_bloom_inline_form .et_bloom_form_container {
   box-shadow: none;
}

.et_pb_post_content_0_tb_body img {
    border-radius: 3px 3px 3px 3px!important;
    overflow: hidden!important;
    box-shadow: none !important;
}

.et_bloom .et_bloom_form_container, .et_bloom .et_bloom_form_container a, .et_bloom .et_bloom_form_container b, .et_bloom .et_bloom_form_container div, .et_bloom .et_bloom_form_container font, .et_bloom .et_bloom_form_container h2, .et_bloom .et_bloom_form_container h3, .et_bloom .et_bloom_form_container h4, .et_bloom .et_bloom_form_container i, .et_bloom .et_bloom_form_container img, .et_bloom .et_bloom_form_container li, .et_bloom .et_bloom_form_container ol, .et_bloom .et_bloom_form_container p, .et_bloom .et_bloom_form_container span, .et_bloom .et_bloom_form_container strike, .et_bloom .et_bloom_form_container strong, .et_bloom .et_bloom_form_container u, .et_bloom .et_bloom_form_container ul {
    font-family: 'nunito-sans',helvetica,arial,sans-serif !important;
    line-height: 1em;
    text-transform: none;
    font-weight: 400;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background-image: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


@media (min-width: 960px) { 

.et_pb_post_content_0_tb_body img,.et_bloom_form_header h2  { 
padding-top: 45px !important;
	
	} 
}

.et_bloom .et_bloom_optin_13 .et_bloom_form_container p, .et_bloom .et_bloom_optin_13 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_13 .et_bloom_form_container p strong, .et_bloom .et_bloom_optin_13 .et_bloom_form_container form input, .et_bloom .et_bloom_optin_13 .et_bloom_form_container form button span {
    font-family: "nunito", Helvetica, Arial, Lucida, sans-serif !important;
}

.et_pb_button_wrapper .read-more-wrapper {
	padding-top: 37%
}

/* - Theme overrides for custom blog page  - */

.dp-dfg-layout-grid .dp-dfg-item {
	display: flex !important;
	flex-flow: column !important;
}

.dp-dfg-skin-default .dp-dfg-header {
	flex: 1 !important;
}

.dp-dfg-layout-grid .dp-dfg-item:not(.has-post-thumbnail) .dp-dfg-overlay {
	height: 0 !important;
}

.dp-dfg-layout-grid .dp-dfg-image {
	height: 140px !important;
	overflow: hidden !important;
}

.wp-block-image .aligncenter>figcaption, 
.wp-block-image .aligncenter>figcaption, 
.wp-block-image .alignright>figcaption {
    display: table-caption;
    caption-side: bottom;
}

.wp-block-image figcaption {
text-align: center; 
	
}



/*
 New 2022 build CSS
*/

.et_bloom_popup_input {
  border: 2px solid #244D5B !important;
  border-radius: 4px !important;
}

.et_pb_testimonial:before {
    left: 31% !important;
    top: 35px !important;
}

.et_pb_testimonial_content {
 padding-top: 60px !important;
}

span.et_pb_testimonial_author {
 margin-top: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: normal;
} 