/*
Theme Name:     SRH Design (Main)
Theme URI:      https://srhdesign.co.uk
Description:    A child theme by SRH Design.
Author:         SRH Design
Author URI:     https://srhdesign.co.uk
Template:       Divi
Version:        1.3.0
*/


/* Fix Logo Blur */

#logo {
    -webkit-transform: initial;
    -ms-transform: initial;
    -moz-transform: initial;
}


/*
 * Homepage styles
 */

/* FW slider section */

.home-slider .et-pb-arrow-next, .home-slider .et-pb-arrow-prev {
	margin-top: -25px;
	font-size: 40px;
	width: 50px;
	height: 50px;
	line-height: 50px;
	border-radius: 3px;
	text-align: center;
	color: #fff !important;
    background-color: #bf311a;
}

.home-slider .et-pb-arrow-next:before, .home-slider .et-pb-arrow-prev:before {
	line-height: inherit;
}

@media (max-width: 600px) {
	.home-slider .et-pb-arrow-next, .home-slider .et-pb-arrow-prev {
		margin-top: -18px;
		font-size: 25px;
		width: 36px;
		height: 36px;
		line-height: 36px;
	}
}

.red-highlight {
    color: #bf311a;
}

/*** remove shadow on main header***/
#main-header {
    box-shadow: none;
}
 
/*** add shadow to fixed header ***/
@media (min-width: 981px) {
    #main-header.et-fixed-header {
        box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
        -webkit-box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
        -moz-box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
    }
}

/*** Change Mobile Menu Breakpoint ***/

@media (max-width: 1200px) {
    #et_mobile_nav_menu {
        display: block;
    }
 
#top-menu {
    display: none;
    }
 }

/*** adjust padding on menu ***/
.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a {
    padding-bottom: 23px;
}

#top-menu li {
    padding: 0 10px !important;
}
 
.et_header_style_left #et-top-navigation {
    padding-top: 20px;
}
 
.et_header_style_left .et-fixed-header #et-top-navigation {
    padding-top: 10px;
}
 
/*** style the menu button ***/
.ctadonate_button a {
    color: #bf311a !important;
    line-height: 9px;
    font-weight: 600;
    padding: 13px 16px !important;
    text-transform: uppercase;
    /* font-size: 12px !important; */
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    display: block;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    border: 2px solid #bf311a;
}
 
.ctadonate_button a:hover {
    opacity: 1 !important;
    color: #fff !important;
    background-color: #bf311a;
}
 
.et-fixed-header #top-menu .ctadonate_button a:hover {
    background-color: #bf311a;
    border: 2px solid #bf311a;
    box-shadow: 0px 5px 20px #aab9c3;
    -moz-box-shadow: 0px 5px 20px #aab9c3;
    -webkit-box-shadow: 0px 5px 20px #aab9c3;
}
 
.et-fixed-header #top-menu .ctadonate_button a {
    color: #fff !important;
    background-color: #bf311a;
    box-shadow: 0px 5px 20px #d6dee4;
    -moz-box-shadow: 0px 5px 20px #d6dee4;
    -webkit-box-shadow: 0px 5px 20px #d6dee4;
    border: 2px solid #bf311a;
}
.et-fixed-header.et_highlight_nav #top-menu .ctadonate_button a {
    background-color: #bf311a;
    border: 2px solid #bf311a;
    animation: highlight-nav .8s ease;
    -webkit-animation: highlight-nav .8s ease;
}
 
#main-header.et-fixed-header.et_highlight_nav #top-menu .ctadonate_button a:hover {
    background-color: #bf311a;
    border: 2px solid #bf311a;
    box-shadow: 0px 5px 20px #aab9c3;
    -moz-box-shadow: 0px 5px 20px #aab9c3;
    -webkit-box-shadow: 0px 5px 20px #aab9c3;
}
 
@-webkit-keyframes highlight-nav {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2)
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}
@keyframes highlight-nav {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2)
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}
 
/*** style the mobile menu links and button ***/
@media (max-width: 980px) {
    .et_mobile_menu li a {
        border-bottom: none;
        font-weight: bold;
    }

    .et_mobile_menu li a:hover {
        background-color: transparent;
    }
    
    .ctadonate_button a {
        border: 2px solid #bf311a !important;
        border-radius: 0;
    }
}

/*
 * Menu custom styles
 */

 /* Main menu */

#top-menu li { 
    padding-right: 17px; 
}

 /* Search icon */

 .et_header_style_left #et_top_search,
 .et_header_style_centered #et_top_search,
 .et_header_style_split #et_top_search { 
	width: 37px;
	margin-top: -1px !important;
	margin-left: 10px; 
	overflow: hidden; 
	height: 37px;
	position: relative;
	display: inline-block;
	float: none;
	vertical-align: middle;
}

 .et_header_style_left #et_search_icon:before,
 .et_header_style_centered #et_search_icon:before,
 .et_header_style_split #et_search_icon:before { 
	top: 0 !important; 
	left: 0 !important;
	width: 35px;
	height: 35px;
	font-size: 13px !important;
	font-weight: bold;
	line-height: 35px !important;
	text-align: center;
	margin-top: 0 !important;
	border: 1px solid #2a2f36;
	border-radius: 50%;
}

.et_header_style_centered #et_top_search {
	vertical-align: middle;
}

@media (max-width: 980px) {
	#et_top_search {
		margin-right: 15px;
	}
	#top-header #et-info {
		padding-top: 5px;
	}
}

 

/* TOP HEADER MENU */

#top-header .container {
	padding: 8px 0;
}

#et-secondary-nav > li > a {
 	padding-top: 5px  !important;
 	padding-bottom: 5px  !important;
	margin-bottom: 0; 
}

#et-secondary-nav .menu-item-has-children>a:first-child:after {
	top: 50%;
	transform: translateY(-50%);
	right: 0;
	line-height: 1;
}

#et-info {
	padding-bottom: 0;
}

/* flex */

#top-header .container {
	display: flex;
	align-items: center; 
	justify-content: space-between; 
	flex-direction:  row-reverse;
}

#top-header .container:before,
#top-header .container:after {
	display: none;
}

#top-header #et-secondary-menu,
#top-header #et-info {
	float: none;
}

/* Phone & email */

#et-info-phone:before,
#et-info-email:before {
    display: inline-block;
    font-family: "Font Awesome 5 Pro" !important;
    font-size: inherit;
    font-weight: 900;
    text-rendering: auto;
    line-height: 19px !important;
    margin-right: 0.3em;
    opacity: 0.85;
    color: inherit;
    top: 0;
} 

#et-info-phone:before {
    content: "\f3cd";
}

#et-info-email:before {
    content: "\f0e0";
}

@media (max-width: 767px) { 
    #et-info-phone {
        display: block;
    }
}

/* SOCIAL ICONS */

#top-header .et-social-icons {
	vertical-align: middle;
	margin-left: 10px;
}

#top-header li.et-social-icon  {
	margin-left: 3px !important;
	margin-top: 0  !important;
}

#top-header .et-social-icon a {
    font-size: 15px;
    width: 32px;
    height: 32px;
    line-height: 30px; 
    border-radius: 50%;
    transition: all 0.2s ease-in-out 0s;
    border: 2px solid #bf311a;
}

#top-header .et-social-icon a:hover {
	color: #fff;
    background-color:#bf311a;
	opacity: 1;
}
 
/* Sub menu */

.nav li ul, ul#mobile_menu, #et-secondary-nav li>ul { 
	padding: 0; 
}

#et-secondary-nav li li,
#top-menu li li {    
	font-weight: normal !important;
	text-align: left;
}

#et-secondary-nav li:not(.mega-menu) li,
#top-menu li:not(.mega-menu) li {
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100%;
}

#et-secondary-nav li>ul li a,
#top-menu li li a,
.et_mobile_menu li a,
#mobile_menu li a   {   
	padding: 12px 23px;
	line-height: normal;
	border-bottom: 1px solid rgba(0,0,0,0.1); 
	opacity: 1;
	font-size: 16px !important;
}

#et-secondary-nav li:not(.mega-menu) li a,
#top-menu li:not(.mega-menu) li a {
	display: block;
	width: 100%;
}

#et-secondary-nav li>ul li a:hover,
#top-menu li li a:hover ,
.et_mobile_menu li a:hover ,
#mobile_menu li a:hover {
	padding-left: 28px !important;
    background-color: #bf311a !important;
    color: #ffffff !important;
}

#et-secondary-nav li>ul  li:last-child a, #top-menu li li:last-child a, ul#mobile_menu li:last-child a, #mobile_menu i:last-child a {
	border: none;
}

.mobile_nav.opened span.mobile_menu_bar:before {
	content: '\4d';
}

#et-secondary-nav li .menu-item-has-children>a:first-child:after,
#main-header .nav li ul.sub-menu li.menu-item-has-children > a:after {
	top: 50% !important; 
	transform: translateY(-50%);
	content: '\35';
	right: 20px;
	left: auto;
}

@media (max-width: 980px) { 
	#main-header .mobile_nav { 
		background-color:transparent !important; 
		font-weight: normal; 
	}
	#top-header #et-info {
		text-align: center;
		width: 100%;
	}
}

/* Responsive */

@media (min-width: 980px) and (max-width: 1200px) { 
	#top-header .container,
	#main-header .container {
		width: 95%;
	}
}

@media (max-width: 600px) { 
	#main-header #et_top_search {
		display: none;
	}
}


/* Style Footer
---------------------*/

/* Style Font Awesome Bottom Bar */

#footer-bottom .fa {
    font-weight: 300 !important;
}

/* Style Bottom Bar */


.custom_copyright {
    display: flex;
}

#footer-info { /* Align Copyright with Logo */
    padding: 5px 30px 10px 0;
    float: left !important;
    color: #ffffff !important;
    font-size: 14px;
}

#footer-design { /* Style Design Text */
    text-align: left;
    font-size: 14px;
    color: #fff;
    padding-bottom: 10px;
    float: right;
    display: inline-block;
}

#footer-design img { /* Display SRH Logo */
    width: 60px;
    height: 31px;
    vertical-align: middle;
    border-radius: 0;
}

@media only screen and (min-width: 841px) and (max-width: 1083px) { /* Display SRH Logo */
    #footer-design {
        padding: 0 0 10px 0;
        float: left;
    }
}

@media only screen and (max-width: 840px) { /* Style Bottom Bar Mobile */
    #footer-info {
        margin-bottom: 0;
    }
    
#footer-design {
    text-align: center;
    float: none;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    }
}