/*======================================
Theme Name: Salley Divi Child Theme
Theme URI: https://diviawesome.com/product/salley-divi-child-theme/
Description: Salley Divi child theme is a modern blogging WordPress theme with an emphasis on feminine touch. Light and clear colors with the lovely design will proudly present your writing and your photographs.
Version: 1.1
Author: Divi Awesome
Author URI: https://diviawesome.com/
Template: Divi
License:  GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

/*
 * 
 ********** Header **********
 * 
 */


/*add underline on divi menu*/

.et-menu a {
border-bottom: 3px solid transparent;
margin-bottom: 8px; 
padding: 5px 0px !important;
}
/*add underline on divi menu hover*/

.et-menu a:hover { 
margin-bottom: 8px; 
padding: 5px 0px !important;
color:#F9F4ED !important;    
border-bottom: 3px solid #F9F4ED;
}
/*add underline on divi menu current*/

.et-menu li.current-menu-item a { 
margin-bottom: 8px; 
padding: 5px 0px !important;
color:#F9F4ED !important;    
border-bottom: 3px solid #F9F4ED;
}
/*hide underline on divi sub-menu current*/

.et-menu ul.sub-menu a { 
margin-bottom: 0px; 
padding: 4px 4px !important;
color:#F9F4ED !important;    
border-bottom: 0px solid #F9F4ED;
}


/*dropdown ARROW HIDE*/
.et-menu .menu-item-has-children>a:first-child:after {
    font-family: ETmodules;
    content: "\3";
    font-size: 0px;
}


/*
 * 
 ********** Header mobile setup**********
 * 
 */

/*change hamburger icon to x when mobile menu is open*/

/* X icon in expanded mobile menu */
.mobile_nav.opened .mobile_menu_bar:before {
content: "\4d";
}


/**** This hides the sub menu items on mobile ****/
#page-container .mobile_nav li ul.hide {
    display: none !important;
}
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
#page-container .mobile_nav .menu-item-has-children {
    position: relative;
}
#page-container .mobile_nav .menu-item-has-children > a {
    background: transparent;
}
/**** This styles the icon and moves it to the right ****/
#page-container .mobile_nav .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}
/**** Here you can swap out the actual icons ****/
#page-container span.menu-closed:before {
    content: "\43";
    display: block;
    color: #FFFFFF;
    font-size: 16px;
    font-family: ETmodules;
}
#page-container span.menu-closed.menu-open:before {
    content: "\42";
}




/* Make mobile menu fullwidth */
.et_mobile_menu {
min-width: 80vw;
margin-left: 3vw;
margin-top: 0vw;
}

/*Make Divi Mobile Menu Scrollable*/
.et_mobile_menu {   
    overflow-y:scroll!important;
    max-height:80vh!important;
    -overflow-scrolling:touch!important;
    -webkit-overflow-scrolling:touch!important;
}


/*
 * 
 ********** About page **********
 * 
 */



/*blurb image size small*/
/* Making the Icon Bigger with CSS */
.helloo_blurb_image .et_pb_image_wrap {
    max-width: 1000px!important;

}

/*blurb image size small*/
/* Making the Icon Bigger */
.howw_blurb_image .et_pb_image_wrap {
    max-width: 1000px!important;
}


/*
 * 
 ********** Blog page **********
 * 
 */


/*remove negative margins from blog featured image*/

.et_pb_image_container {
	margin: 0px;
}




/*style the Divi blog link text as a button*/

.et_pb_post a.more-link {
  color: #ffffff;
	background: #000000;
	padding: .7em 1.3em;
	margin-top: 20px;
	border-radius: 0px;
	text-transform: capitalize;
	display: inline-block;
	transition: all 0.3s ease-in-out;
}


/*
 * 
 **********4 service sub page **********
 * 
 */


/* ######  PERSON MODULE 2  ##### */

.person_module_3 .et_pb_team_member_image {
    max-width: 100%;
}

.person_module_3 .et_pb_team_member_description {
background: rgba(249,246,237,0.74);
    color: #fff;
    padding: 47px 47px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.person_module_3:hover .et_pb_team_member_description {
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
    opacity: 1;
}

.person_module_3 .et_pb_team_member_image {
	margin-bottom: 0px !important;
}
.person_module_3 {
	overflow: hidden !important;
}


/*
 * 
 **********Portfolio page **********
 * 
 */


/*filterable portfolio filter customization css*/
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active {
    color: #ffffff!important;
    background-color: #aa5e00!important;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
    color: #000;
    font-weight: 700;
    padding: 10px 20px;
    border: 1px;
    border-color: #000;
    background-color: #fff8f6!important;
    transition: all .3s ease-in-out;
}
/*filterable portfolio filter pagination customization pagination css*/
.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active, .et_pb_gallery .et_pb_gallery_pagination ul li a.active {
    color: #fff!important;
    background-color: #aa5e00;
    padding: 10px 20px;
}
.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a, .et_pb_gallery .et_pb_gallery_pagination ul li a {
    font-size: 16px;
    line-height: 16px;
    color: #000000;
}



/*
 * 
 ********** Gallery page **********
 * 
 */



/* to center gallery  center*/
.et_pb_gallery_items {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
/*gallery lightbox customization css*/

button.mfp-close {
    color: #915610 !important;
    font-weight: bold !important;
    padding-top: 20px;
    padding-right: 20px !important;
}
.mfp-title {
    color: black;
    font-weight: bold;
    background: #f9f4ed;
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: -24px;
    margin-left: 3px;
    margin-right: 3px;
}
.mfp-counter {
    color: black;
    padding-right: 20px;
}
img.mfp-img {
    padding: 0;
    border-radius: 5px;
    border: 3px solid #FAEBE6;
}
.mfp-arrow:after {
    color: #f9f4ed;
    font-size: 60px !important;
  font-weight: bold !important;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -webkit-zoom-out;
    cursor: pointer;
}

/* Gallery hover animation*/



.et-zoom-in.et_pb_image:hover img,
.et-zoom-in .et_pb_image_wrap:hover img,
.et-zoom-in a:hover img {
    transform: scale(1.1); 
    transition: all 1s 0s ease;
}

.et-zoom-in,
.et-zoom-in a {
    overflow: hidden;
}

.et-zoom-in.et_pb_image img,
.et-zoom-in .et_pb_image_wrap img,
.et-zoom-in a img {
    transition: all 1s 0s ease; 
}


/*
 * 
 ********** Contact page **********
 * 
 */


/*To customize contact form error message*/
.et-pb-contact-message {
    position: relative;
  font-family: mulish;
    font-size: 14px;
    color: #000;
    line-height: 1.7em;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/*
 * 
 **********My team page **********
 * 
 */


/* ######  PERSON MODULE 2  ##### */

.person_module_2 .et_pb_team_member_image {
    max-width: 100%;
}

.person_module_2 .et_pb_team_member_description {
background: rgba(246,222,214,0.82);
    color: #fff;
    padding: 47px 47px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.person_module_2:hover .et_pb_team_member_description {
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
    opacity: 1;
}

.person_module_2 .et_pb_team_member_image {
	margin-bottom: 0px !important;
}
.person_module_2 {
	overflow: hidden !important;
}


/*
 * 
 ********** All Blog **********
 * 
 */


/*add spacing around the individual blog posts*/

.et_pb_blog_grid .et_pb_post {
	padding: 0px;
}
/*add padding, color, margin on tag which show in sidebar*/

.tagcloud a {
    font-size: 12px!important;
    padding: 1em 2em;
    background: #f9f4ed;
	color: #FFFFFF!important;
    display: inline-block;
    margin-bottom: 8px;
	margin-left: 4px;
	margin-right: 4px;
    border-radius: 3px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
/*sidebar tag hover color*/

.tagcloud a:hover {
    background: #f9f4ed;
}
/*style the Divi blog link text as a button*/

.et_pb_post a.more-link {
  color: #ffffff;
	background: #000000;
	padding: .7em 1.3em;
	margin-top: 20px;
	border-radius: 0px;
	text-transform: capitalize;
	display: inline-block;
	transition: all 0.3s ease-in-out;
}

.widget_search #searchsubmit {
	border: 1px solid #915610;
    background-color: #915610;
}
.widget_search input#searchsubmit{
	 border: 1px solid #915610;
	 color: #fff;
}

/* Recent Post Title */
span.rpwwt-post-title {
    font-weight: 800;
    color: #915611;
}



/* changes weidget category */
.et_pb_widget.widget_categories ul li a {
    width: 100%;
    display: block;
    padding: 10px;
    color: #000;
}
.et_pb_widget.widget_categories ul li {
    background: #f9f4ed;
}
/*style the wp-pagenavi pagination links*/

.wp-pagenavi a, .wp-pagenavi span {
	color: #23282d;
	background: #f6ddd6;
	font-size: 1em !important;
	line-height: 1em;
	font-weight: bold !important;
	padding: 10px 20px !important;
	border-radius: 100px;
	transition: all .5s;
}
/*style the wp-pagenavi current page number*/

.wp-pagenavi span.current {
	color: #ffffff !important;
	background: #915610 !important;
	border-radius: 100px;
}
/*style the wp-pagenavi pagination links on hover*/

.wp-pagenavi a:hover {
	color: #ffffff!important;
	background: #915610!important;
}
/*style the wp-pagenavi pages text*/

.wp-pagenavi .pages {
	display: none;
}
/*remove border and center the wp-pagenavi links*/

.wp-pagenavi {
	border-top: none;
	text-align: center;
}
/*replace Divi image module hover icon with text*/

.pa-image-hover-text .et_overlay.et_pb_inline_icon:before {
	content: "View Article";
	font-family: inherit !important;
	font-size: 24px;
	line-height: 1.3em;
	text-align: center;
	transform: translateX(-50%) translateY(-50%);
	margin-left: 0px;
	width: 80%;
}


/*
 * 
 ********** Blog full width with sidebar **********
 * 
 */


/*add media query so changes only affect tablet and desktop*/

@media (min-width: 767px) {

/*set the image width*/
.bfws .entry-featured-image-url  {
width: 40%;
float: left;
margin-bottom: 0!important;
}

/*set the details width*/
.bfws .entry-title, .post-meta, .post-content {
width: 60%;
float: left;
padding-left: 30px;
}
}

/*blog image aspect ratio square 1:1*/
.bfws .entry-featured-image-url {
  padding-top: 40%;
  display: block;
}
.bfws .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}


/*
 * 
 ********** All project/category/tage page  **********
 * 
 */


/*project sidebar categpry and css*/

.et_pb_widget_area ul {

 font-family: 'Mulish',Helvetica,Arial,Lucida,sans-serif;
    text-transform: uppercase;
  font-weight: 700;
    font-size: 13px;
    color: #000000!important;
    line-height: 1.9em;

 width: 100%;
    display: block;
    padding: 10px;
}
.et_pb_widget_area ul a {
 width: 100%;
    display: block;
    padding: 5px; 
}

.et_pb_widget{
	margin-bottom:30px !important;
	
}

/*project sidebar title*/

.et_pb_widget_area
.widgettitle {
    font-family: 'Playfair Display',Georgia,"Times New Roman",serif;
    font-weight: 600;
    color: #000000!important;
    letter-spacing: 1.95px;
    line-height: 1.2em;
}



/*
 * 
 ********** Back to top button **********
 * 
 */


.et_pb_scroll_top.et-pb-icon {
    right: 25px;
    bottom: 25px;
    border-radius: 50px;
    background: #915610;
    padding: 3px;
}
.et_pb_scroll_top:before {
	color: #f9f4ed;
} 