/*
 Theme Name:   Louise Selby Dyslexia
 Description:  This is a Divi child theme
 Author:       Gaby Prothero Design
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  lsd
*/



/* Text Module*/
.lsd-text h1,
.lsd-text h2,
.lsd-text h3,
.lsd-text h4,
.lsd-text h5,
.lsd-text h6 {
	padding-bottom: .75em
}

.lsd-text h1:not(:first-child),
.lsd-text h2:not(:first-child),
.lsd-text h3:not(:first-child),
.lsd-text h4:not(:first-child),
.lsd-text h5:not(:first-child),
.lsd-text h6:not(:first-child) {
	Padding-top: 1.25em;
}

.lsd-text ul li, .lsd-text ol li  {
	padding-bottom: 0.75em
}

.lsd-text p:last-of-type {
    padding-bottom: 1em;
}
.lsd-text p:last-child {
    padding-bottom: 0;
}
.lsd-text blockquote p:last-of-type {
	padding-bottom:0;
}

.lsd-text blockquote {
    background: #ffecf1;
    padding: 25px 35px;
}
.lsd-text blockquote {
    position:relative;
}
.lsd-text blockquote:before {
    content: '“';
    position: absolute;
    font-size: 5em;
    top: .15em;
    left: 0;
    color:#ffc5d4;
}
.lsd-text blockquote:after {
    content: '”';
    position: absolute;
    font-size: 5em;
    bottom: -0.3em;
    right: 0.25em;
    color: #ffc5d4;
}

lsd-btn-pink.et_pb_button {
	line-height: 1!important;
}

/*HEADER*/
/*column alignment*/
#lsd-header .et_pb_row {
	align-items: baseline;
}
#lsd-header .et_pb_row .et_pb_column:first-child {
	align-self: center;
}

/*sticky section background*/
#lsd-header {
	backdrop-filter: blur(7px);
}
/*menu module*/
#lsd-header .et_pb_menu .et-menu>li {
	padding: 10px 10px
}
#lsd-header .et_pb_menu et-menu>li a:hover{
	opacity: 1;
}
/*sub menu*/
#lsd-header .sub-menu {
	border: none;
	border-radius: 2px;
	padding: 20px;
	width: 175px;
	transition: all .3s ease-in-out;
	top:calc(100% + 9px);
}

#lsd-header .sub-menu li{
	width: 100%;
	padding: 0;
}
#lsd-header .sub-menu li a {
	padding: 0 0 10px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	background: none;
	transition: all .3s ease-in-out;
}
#lsd-header .sub-menu li:last-child a {
	padding: 0;
}
#lsd-header .sub-menu li a:hover {
	padding-left: 5px;
}
#lsd-header .nav li:hover > ul, #lsd-header .nav li.et-touch-hover > ul {
	top:calc(100% - 1px)
}
/*mobile menu*/
@media (max-width:1024px){
	#lsd-header .et_pb_row {
		display: flex;}
	
	#lsd-header .et_pb_column {
		margin-bottom:0;
	}
	#lsd-header .et_pb_column:nth-child(1){
		order: 1;}
	#lsd-header .et_pb_column:nth-child(2){
		order: 3;
	}
	.et_pb_column:nth-child(3){
		order: 2;}
	#lsd-header .et_pb_menu__wrap{
	justify-content: flex-end;
	}
	/* Mobile Menu */

    #lsd-header .mobile_menu_bar:before {
        font-size: 40px;
    }

    #lsd-header .opened .mobile_menu_bar:before {
        content:'\4d';
    }

    #lsd-header .et_mobile_menu {
        position: fixed;
        display: block!important;
        margin: 0!important;
        height: 100%!important;
        min-height: 100vh;
        padding: 100px 0 0!important;
        max-width: 300px;
        left: auto;
        right: -300px;
        top: 0;
        z-index: 39;
        transition: all 1s ease-in-out;
    }

    #lsd-header .opened .et_mobile_menu {
        right: 0;
    }

    #lsd-header .mobile_menu_bar {
        z-index: 40;
    }
	/* Position "Fixed" inside the Sticky Section fix */
    #lsd-header.et_pb_sticky * {
        transform:none!important;
    }
	
	/* Mobile Sub-menu */
    #lsd-header .sub-menu {
        width:auto;
        padding:0;
    }
    #lsd-header .sub-menu li a,
    #lsd-header .sub-menu li a:hover,
    #lsd-header .sub-menu li:last-child a {
        padding:10px 25px 10px 35px;
    }
	
}
#mdp-readabler-trigger-button {
    border-color: #A00084 !important;
   
}
span.dsm-switch-inner {
    background-color: #FF9F19 !important;
}
input[type=text], input[type=password], input[type=tel], input[type=email], input.text, input.title, textarea, select{
    border: 2px solid #A00084;
		background-color: #ffebf8
}
body .gform_wrapper .gform_footer input[type=submit] {
	border: 0px;
	background-color: #FF0084;
	padding: 10px 20px;
	color: #fff;
	font-weight: bold;
	letter-spacing: 1px;
	font-size: 16px;
	border-radius: 30px
}
.et_pb_section.et_pb_section_0.parent-intro.et_pb_with_background.et_section_regular {
	background-color: #D9E0EB !important;
}








