/*
Theme Name:   Merseyside Dogs Home
Theme URI:    http://merseysidedogshome.org
Description:  Child theme, based on Divi
Author:       Springwood Web Solutions
Author URI:   https://www.springwood.co.uk
Template:     Divi
Version:	  1.15
*/

/*----------Customised top header----------*/

#top-header #et-secondary-menu {
    margin-right: -45px;
}
 
#top-header .et-social-icons {
	display: inline-block;
	float: right;
}

#top-header .et-social-icons li {
	margin-top: 2px;
	margin-left: 8px;
}

#top-header .et-social-icons a {
    font-size: 20px;
}

#et-secondary-nav, #et-secondary-nav li {
display: inline-block;
margin-right: 25px;
}

.top-login {
width: 70px!important;
}
.top-login a {
color: white!important;
font-size: 18px!important;
}
.top-login:before {
font-family: 'ETmodules';
content: "\e08a";
font-size: 18px;
float: left;
}

.top-about-us {
width: 108px!important;
}
.top-about-us a {
color: white!important;
font-size: 18px!important;
}
.top-about-us:before {
font-family: 'ETmodules';
content: "\e060";
font-size: 18px;
float: left;
}

.top-contact-us {
width: 123px!important;
}
.top-contact-us a {
color: white!important;
font-size: 18px!important;
}
.top-contact-us:before {
font-family: 'ETmodules';
content: "\e076";
font-size: 18px;
float: left;
}

.top-phone {
width: 148px!important;
}
.top-phone a {
color: white!important;
font-size: 18px!important;
}
.top-phone:before {
font-family: 'ETmodules';
content: "\e090";
font-size: 18px;
float: left;
}

/*----------Customized logo area----------*/

header#main-header {
	background-image: url("../../uploads/dog-with-lead.png");
	background-repeat: no-repeat;
    background-position: bottom 72px right 35px;
}

.logo_container a { 
	color: #fff;
}
.logo_container a:hover { 
	color: #fde6cb;
}

.et_header_style_centered #logo {
  padding: 20px 20px 0 20px;
}

#header-top-right {
	float:right;
	clear:none;
	background-color: #f39200;
	color:#fff;
    width: 160px;
	width: 180px;
	margin: 130px 40px 10px 10px;
	margin: 130px 35px 10px 10px;
	padding: 6px;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 1.4em;
	font-size: 1.2em;
	font-weight: 600;
	border-radius: 5px;
}

#et-top-navigation {
    /* background-color: #f39200;
	background: linear-gradient(to bottom, #f7931e 60%, #f15a24 100%); */
	background-color: #F9860F;
}
nav#top-menu-nav {
    padding-top: 28px;
}
.et_fullwidth_nav #main-header .container {
	padding-right: 0;
    padding-left: 0;
}
.et_header_style_centered #logo {
	float:left;
}
.et_header_style_centered #et_mobile_nav_menu {
	margin-top: 90px;
} 
.et_header_style_centered #main-header {
	padding: 0;
}
.mobile_nav .select_page, .et_color_scheme_orange .mobile_menu_bar:before, .mobile_menu_bar_toggle:before {
	color: #fff !important;
}

#et_mobile_nav_menu {
margin-bottom:15px;
}

#et_mobile_nav_menu ul a {
color:#3a2213;
}

.et_non_fixed_nav #page-container {background: white;}

header#main-header.et-fixed-header, #main-header {
	-webkit-box-shadow:none !important;
	-moz-box-shadow:none !important;
	box-shadow:none !important;
}

@media only screen and (max-width: 980px) {
header#main-header {  
	background-image: url("../../uploads/dog-with-lead.png");
	background-repeat: no-repeat;
    background-position: bottom 30px right 60px;
	background-position: bottom 43px right 35px;
    background-size: 110px 110px;
}
	
#header-top-right {
	margin: 83px 0px 10px 10px;
    width: 110px;
	width: 140px;
	padding: 4px;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 0.9em;
	font-weight: 600;
	line-height: 1.1em;
	border-radius: 5px;
}

#logo {
	height: 100% !important;
	max-height: 100px !important;
	width: auto;
	max-width: 100% !important;
}
.et_header_style_centered #logo {
        padding: 15px 0;
}
.et_pb_section {
    padding: 0;
}  
}

@media only screen and (max-width: 640px) {
header#main-header {  
	background-image: url("../../uploads/dog-with-lead.png");
	background-repeat: no-repeat;
    background-position: bottom 30px right 20px;
	background-position: bottom 48px right 15px;
    background-size: 100px 100px;
}
#header-top-right {
	margin: 83px 12px 10px 10px;
	margin: 83px 0px 10px 10px;
    width: 90px;
	width: 110px;
	padding: 4px;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 0.8em;
	font-weight: 500;
	border-radius: 5px;
}
}

.blink_text { 
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 3s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-name: blinker;
    -moz-animation-duration: 3s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    animation-name: blinker;
    animation-duration: 3s;
    animation-timing-function: linear; 
    animation-iteration-count: infinite; color: red; 
} 

@-moz-keyframes blinker {
    0% { opacity: 1.0; }
    50% { opacity: 0.2; }
    100% { opacity: 1.0; } 
}

@-webkit-keyframes blinker { 
    0% { opacity: 1.0; }
    50% { opacity: 0.2; }
    100% { opacity: 1.0; } 
} 

@keyframes blinker { 
    0% { opacity: 1.0; } 
    50% { opacity: 0.2; } 
    100% { opacity: 1.0; } 
}

#home-banner h1 {
	text-transform: none;
}

#home-banner ul li {
  background: #f39200;
  padding: 10px;
  margin-bottom: 10px;
  margin-bottom: 10px;
  border-radius: 0 25px 25px 0;
}

#home-banner ul {
    list-style-type: disc;
    margin: 0;
    padding: 0 0 23px 0;
}





span.et-pb-icon {
	font-size: 1em;
	margin-right: 8px
}

.latest-news .post-content a.more-link {
	text-transform: capitalize;
	text-align: center;
	color: #fff;
	background: #f39200;
	border: solid #f39200 2px;
	border-radius: 5px;
	margin-top: 20px;
	padding: 10px 20px;
	transition: 0.5s ease-out;
	display: block;
	margin: 20px auto;
}

.latest-news .et_pb_post a.more-link:hover {
	color:#f39200;
	background:#fff;
}

h4.widgettitle {
    font-size: 1.3em;
    line-height: 1.3;
}

.et_pb_widget_area_left {
	padding-right: 0;
}

/*----------Customised post links----------*/

#footer-info {
		float:none; 
		text-align: center;   		
		font-size:0.9em;
}
#footer-info a {
		font-weight: normal;
}
#custom_html-4 {
		float: right;
}

#left-area .post-meta a, .et_pb_bg_layout_light .et_pb_widget li a  {
	color: #d86f00;
}
.et_pb_bg_layout_light .et_pb_widget li a:hover  {
	color: #d86f00;
}

ul, ol {margin: 0 0 0 10px;}

.author a {color:#3a2213 !important;}

h1.entry-title {
	line-height: 1.2em; 
}

@media only screen and (max-width: 980px) {
	#et-top-navigation {
		font-family: 'Arial narrow',Arial,sans-serif !important; 
		}
}

@media only screen and (max-width: 800px) {
	.et_pb_container {
		width:100% !important;
		}
	.et_pb_slider_with_text_overlay .et_pb_text_overlay_wrapper {
    	padding: 20px;
	}
}

/* Change the hamburger to X when opened */
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}

.et_pb_text_inner a {font-weight:600; color: #f26800;}

/* Fix newsletter button alignment in FF */

@-moz-document url-prefix() {
  .et_pb_newsletter_button_wrap {
    padding-left: 1vw !important;
  }
}

.wpcf7-form input, .wpcf7-form textarea {
	flex-basis: 100%;
	padding: 14px 4%;
	border: 1px solid #f29100 !important;
	border-radius: 5px 5px 5px 5px;
	font-size: 16px;
	font-weight: 400;
	font-family: "Open Sans", Arial, sans-serif;
}
.wpcf7-submit {
	width: 150px;
	color: #ffffff;
	background: #f39200;
	font-size: 20px;
	font-weight: 500;
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);

}
.wpcf7-submit:hover {
	background: #f26800;
}

.tribe-events-page-title {
    font-size: 30px;
    text-shadow: 0em 0.1em 0.1em rgba(0,0,0,0.2);
    line-height: 1.2em;
	text-transform: uppercase;
	text-align: left;
}

.tribe-events-list-separator-month, .tribe-events-list-event-title a {
  	text-transform: uppercase;
}

.tribe-events-list-widget .tribe-events-list-widget-events {
    padding: 10px 0 0 10px;
}
.tribe-event-title {
    font-family:"Open Sans", Arial, sans-serif;
}

.et_project_categories {display:none;}

.nav-single {margin-top:25px;}

.et_pb_main_blurb_image {
    margin-bottom: 5px;
}

/*----------Customised footer----------*/

#footer-info {
		float:none; 
		text-align: center;   		
		font-size:0.9em;
}
#footer-info a {
		font-weight: normal;
}
#custom_html-4 {
		float: right;
}

@media only screen and (max-width: 980px) { 
  #custom_html-4 {
		float: left;
}
}

#media_image-5 {
	float:none;
	text-align: center;
}

@media only screen and (max-width: 768px) { 
#media_image-5 {
	float:left;
}
}

.afc_popup {padding-top: 20px !important;}

/* Reverse column order on mobiles */
@media screen and ( max-width: 980px ) {
    .reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}