/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Freestyle Internet
 Author URI:     https://freestyleinternet.co.uk
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Right Aligned Blockquote */

.blockright blockquote {
    margin: 20px 0 30px;
    border-left: 0px solid;
    padding-left: 0px;
	border-right: 5px solid;
    padding-right: 20px;
}

/* right align secondary menu */

@media only screen and (min-width: 768px) {
    #et-info { float:right !important; }
}

/* hide divi secondary menu on mobile */

@media(max-width: 767px)
{
  #top-header {display: none;}
}

/* Menu CTA */

.menu_cta {
background-color: #fac8ad;
color: #5b5b5b;
padding: 0 !important;
}

.menu_cta a {

padding: 15px 15px 15px 15px !important;
}

.menu_cta a:hover {
background-color: #f8f8f8;
opacity: 1!important;
color: #5b5b5b !important;
padding: 15px 15px 15px 15px !important;
}


/* equal height blogs */

.pa-blog-equal-height .pa-auto-height {
    height: auto !important;
}

.pa-blog-equal-height .pa-auto-margin {
    margin-top: 20px !important;
}

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

.et_pb_post a.more-link {
	background: #fac8ad;
	border: 2px solid #fac8ad;
    font-size:14px;
    color: #5b5b5b;
	padding: 3px 10px;
	margin-top: 20px;
	border-radius: 3px;
	text-transform: capitalize;
	display: inline-block;
	transition: all 0.3s ease-in-out;
}


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

.et_pb_post a.more-link:hover {
	background: #f8f8f8;
	border: 2px solid #f8f8f8;
    color: #5b5b5b;
	transition: all 0.3s ease-in-out;
}

/*adjust Divi Menu module breakpoint*/
@media only screen and (max-width: 1255px) {
    .et_pb_menu .et_pb_menu__menu {
        display: none;
    }
    .et_mobile_nav_menu {
        display: block
    }
}

/*add icon to the opened accordion*/
.pa-add-accordion-icon .et_pb_accordion_item.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block;
	content: "\e04f";
}

/* Text left of hamburger in the Theme Builder */
.et_mobile_nav_menu:before  {
content: 'MENU';
position: absolute;
right: 40px;
margin-top:5px;
color: #333;
font-size:16px;
}

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

/* Remove the top line in the mobile menu*/
.et_mobile_menu {
border-top:0;
}

/* Center-align moble menu items */

.et_mobile_menu li {
text-align:center !important;
}
  
.et_mobile_menu li li, .et_mobile_menu li ul {
padding-left:0 !important;
}

/* Make mobile menu fullwidth */
.et_mobile_menu {
min-width: 100vw;
margin-left: -10vw;
}

/* Make the mobile menu full height */

.et_mobile_menu {
min-height:100vh !important;
min-height: -webkit-fill-available;
padding-top:50px !important;
}

html {
height: -webkit-fill-available;
}

/* Remove the animation to avoid delay */

.mobile_nav.opened .et_mobile_menu {
display:block !important;
}

/* ### Menu breakpoint for default menu ### */
@media only screen and (max-width: 1115px) {
 #et_mobile_nav_menu {
	display: block;
}
 
#top-menu {
	display: none;
}}

/* Remove Line Frome Header */

#main-header {
    -webkit-box-shadow: 0 0px 0 rgba(0,0,0,.1);
    box-shadow: 0 0px 0 rgba(0,0,0,.1);
}

/* Hide image titles on hover */
img {
pointer-events:none;
}

/* Hide post title for first blog on views and title in lightbox */


#\#hide-title .entry-title, .mfp-title {
    display:none!important;
}