/*
 Theme Name:   Divi Child
 Description:  Divi Child Theme
 Author:       Lucky Creative
 Author URI:   http://www.lucky-creative.com
 Template:     Divi
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


/*----
body .et_pb_button {
  padding-top: 10px;
  padding-bottom: 10px;
}

body .et_pb_bg_layout_light.et_pb_button:hover,
body .et_pb_bg_layout_light .et_pb_button:hover,
body .et_pb_button:hover {
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 0px !important;
}

------------*/


a:hover {
    text-decoration:underline;
}

.wtpsw-post-comment {display:none;}
.wtpsw-post-stats {display:none;}

.et-blog-css-grid .entry-featured-image-url {
    padding-top: 100%!important;
}

.dtb_archives .post-meta>a {
    margin-right: 0px;
}


@media (min-width: 981px) {
.pa-blog-equal-height .et_pb_gutters3 .et_pb_column_2_3 .et_pb_blog_grid .column.size-1of2, .pa-blog-equal-height .et_pb_gutters3.et_pb_row .et_pb_column_2_3 .et_pb_blog_grid .column.size-1of2 {
    width: 50%;
    margin-right: 0%;
}
}

/*----------------------- FONTS ---------------------*/
@font-face {
  font-family: "HK Grotesk";
  src: url("/wp-content/themes/divi-child/fonts/HKGrotesk-Regular.otf");
  font-weight: normal;
}

@font-face {
  font-family: "HK Grotesk Bold";
  src: url("/wp-content/themes/divi-child/fonts/HKGrotesk-Bold.otf");
  font-weight: normal;
}

@font-face {
  font-family: "HK Grotesk Semibold";
  src: url("/wp-content/themes/divi-child/fonts/HKGrotesk-SemiBold.otf");
  font-weight: normal;
}

h1 {
  font-family: "HK Grotesk Bold" !important;
	letter-spacing: 0px;
}

.home h2 {
  font-family: "HK Grotesk Bold" !important;
	letter-spacing: 0px;
}

h2,
h3,
h4 {
  font-family: "HK Grotesk Bold", Helvetica, Arial, Lucida, sans-serif;
	letter-spacing: 0px;
}

.home h4 {
  font-family: "HK Grotesk Bold" !important;
	letter-spacing: 0px;
}

h5,
h6 {
  font-family: "HK Grotesk Bold" !important;
	letter-spacing: 0px;
}


/* ------------------ HOMEPAGE -------------- */

.et_pb_bg_layout_dark .et_pb_slide_description {
  text-shadow: none !important;
}

.et_pb_fullwidth_post_slider_0 .et_pb_slide > .et_pb_container {
  max-width: 1000px !important;
}


.et_pb_slides img {
  max-height: 100% !important;
}


.post h1 {
    font-family: "HK Grotesk Bold" !important;
    letter-spacing: 0px!important;
}

@media and (max-width: 767px) {
.et_pb_slide_image, .et_pb_slide_video {
    display:block !important;
	}
}
	
	

/* ------------------ EVENTS -------------- */


.tribe-events-single {
    margin: auto;
    max-width: 800px;
}

.tribe-common-c-btn { 
	color:#ffffff;
	font-size: 15px;
    background-color: #ab865e;
    border-width: 10px!important;
    border-color: #ab865e;
    border-radius: 0px;
    font-weight: bold;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    letter-spacing: 1px;
}

.tribe-common button { 
	color:#ffffff;
	font-size: 15px;
    background-color: #ab865e;
    border-width: 0px!important;
    border-radius: 0px;
    font-weight: bold;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    letter-spacing: 1px;
	padding:15px;
	font-family: 'HK Grotesk',Helvetica,Arial,sans-serif;

}

.tribe-common button[disabled], .tribe-common input[disabled] {
     background-color: #F3EEE4;
	border-width: 0px!important;
    border-color: #F3EEE4;
	padding:10px;
	font-family: 'HK Grotesk',Helvetica,Arial,sans-serif;
}

/* ------------------ POSTS -------------- */

p:not(.has-background):last-of-type {
    padding-bottom: 1em;
}


.et_pb_bg_layout_light p.et_pb_title_meta_container, .et_pb_bg_layout_light p.et_pb_title_meta_container a {
    color: #513A37;
    font-family: 'HK Grotesk',Helvetica, Arial, sans-serif;
}

.et_pb_image_container {
    margin: 0px 0px 29px;
}

.dtb_archives .et_pb_post, .dtb-blog.et_pb_module .et_pb_post {
    width: 100%;
    float: left;
    margin-left: 2%;
    clear: none;
}

@media (min-width: 981px) {
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 {
    margin-right: 1%;
}
}


p.post-meta:not(.has-background):last-of-type {
    padding-bottom: 0em;
}


/* ------------------ BLOG ----------


.et-blog-css-grid > div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0px;
}

.et-blog-css-grid .et_pb_post {
  align-self: start;
  padding: 15px;
}

.et-blog-css-grid .entry-featured-image-url {
  padding-top: 56.25%;
}
.et-blog-css-grid .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  object-fit: cover;
}

----- */

/* ------------------ FOOTER -------------- */

/* -----

.footer-widget .et_pb_widget ul {
  padding-right: 10px;
}

--- */

@media (min-width: 981px) {
.et_pb_gutters3.et_pb_footer_columns1 .footer-widget .fwidget {
    margin-bottom: 0px;
    margin-right: 1.5%;
}
	#nav_menu-2 {margin-top:5em;}
	#nav_menu-3 {margin-top:5em;}
	#nav_menu-4 {margin-top:5em;}
	#nav_menu-5 {margin-top:5em;}
}

@media (max-width: 980px) {
.et_pb_gutters3.et_pb_footer_columns1 .footer-widget .fwidget {
    margin-bottom: 0px;
    margin-right: 1.5%;
}
	#nav_menu-2 {width:45%;}
	#nav_menu-3 {width:45%;}
	#nav_menu-4 {width:45%;}
	#nav_menu-5 {width:45%;}
	#media_image-2 {display:none;}
.footermagpreview {
    max-width: 450px!important;
    padding-top: 1em!important;
}
}

.footermagpreview {
	max-width:290px;
	padding:1.8em;
}

#main-footer .footer-widget h4 {
  margin-right: 1em;
}
.et_pb_gutters3 .footer-widget {
    margin-bottom: 0px;
}

.footerlogos {
text-align: center;
}

.footermagpreview {
  max-width: 250px;
  padding-left: 1em;
  padding-top: 4em;
}

/* ------------------ IMAGE CAPTIONS -------------- */


.wp-caption p.wp-caption-text {
    font-size: 12px;
    padding: 0 0px 10px;
    margin: 0;
}

.wp-caption {
    border: 0px solid #ddd!important;
    text-align: left!important;
    background-color: #FFFFFF!important;
    margin-bottom: 10px;
    max-width: 96%;
    padding: 0PX;
}

/* Enable Search on Mobile for Divi Centered and Centered Inline Logo Headers */

@media (max-width: 980px) {

    /* make search icon visible */
    .et_header_style_centered #et_top_search, 
    .et_vertical_nav.et_header_style_centered #main-header #et_top_search,
    .et_header_style_split #et_top_search, 
    .et_vertical_nav.et_header_style_split #main-header #et_top_search {
        display: block !important;
        float: right;
        z-index: 99999;
		margin-right: -30px;
    }

    /* align search icon for Centered header */
    .et_header_style_centered #et_search_icon:before {
        top: 7px;
        left: -3px;
    }

    /* align search icon for Centered Inline Logo header*/
    .et_header_style_split #et_search_icon:before {
        margin-top: 0;
        left: -3px;
    }

    /* make search field visible */
    .et_header_style_centered .et_search_outer, 
    .et_header_style_split .et_search_outer {
        display: block;
    }

    /* set max-width for search form container */
    .et_header_style_centered .container.et_search_form_container,
    .et_header_style_split .container.et_search_form_container.et_pb_search_visible,
    .et_header_style_split .container.et_search_form_container.et_pb_search_form_hidden {
        max-width: 100% !important;
    }

    /* apply in-animation for search form container */
    .et_header_style_centered .container.et_search_form_container.et_pb_search_visible,
    .et_header_style_split .container.et_search_form_container.et_pb_search_visible {
        z-index: 999;
        -webkit-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* apply out-animation for menu bar elements */
    .et_header_style_centered .et_pb_menu_hidden #et_search_icon:before, 
    .et_header_style_centered .et_pb_menu_hidden .mobile_menu_bar,
    .et_header_style_centered .et_pb_menu_hidden .select_page,
    .et_header_style_split .et_pb_menu_hidden #et_search_icon:before, 
    .et_header_style_split .et_pb_menu_hidden .mobile_menu_bar,
    .et_header_style_split .et_pb_menu_hidden .select_page {
        opacity: 0;
        -webkit-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* apply in-animation for "Select Page" container */
    .et_header_style_centered .et_pb_menu_visible .select_page,
    .et_header_style_split .et_pb_menu_visible .select_page {
        opacity: 1;
        -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* adjust close search icon horizontal positioning */
    .et_header_style_centered span.et_close_search_field,
    .et_header_style_split span.et_close_search_field {
        right: 5px;
    }

    /* adjust search form input horizontal positioning */
    .et_header_style_centered .et-search-form input,
    .et_header_style_split .et-search-form input {
       left: 10px;
       right: auto;
    }

    /* adjust search form input and close icon vertical positioning */
    .et_header_style_centered .et-search-form input, 
    .et_header_style_centered span.et_close_search_field,
    .et_vertical_nav.et_header_style_centered .et-search-form input, 
    .et_vertical_nav.et_header_style_centered span.et_close_search_field,
    .et_header_style_split .et-search-form input, 
    .et_header_style_split span.et_close_search_field  {
        top: unset !important;
        line-height: 2em;
    }

    .et_header_style_centered span.et_close_search_field,
    .et_header_style_split span.et_close_search_field  {
        bottom: 20px;
    }

    /* set width values for search form */
    .et_header_style_centered .et-search-form,
    .et_header_style_split .et-search-form {
        width: 100% !important;
        max-width: 100% !important;
        bottom: 20px;
    }

    /* adjust close search icon top margin */
    .et_header_style_centered .et_close_search_field:after,
    .et_header_style_split .et_close_search_field:after {
        margin-top: -2px;
    }

}

/* END */
