/*
 Theme Name:   Helping Paws Worldwide
 Theme URI:    https://www.helpingpawsworldwide.org
 Description:  Wordpress theme for the Helping Paws Worldwide website
 Author:       Simon Forster
 Author URI:   https://www.afwd.me
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
.et_pb_row {
    position: relative;
    width: 100% !important;
    max-width: 1240px;
    margin: auto;
}

#main-header { box-shadow: none; }

.et_header_style_left #et-top-navigation nav > ul > li > a,
.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a {
 padding-bottom: 15px;
}
#top-menu li {
 padding-right: 5px;
}
#et-top-navigation {
 padding: 20px 0 !important;
}
#top-menu li a {
 background: #6fa1bc; /*** CHANGES THE BACKGROUND COLOR ***/
 padding: 15px 20px;
 border-radius: 3px;
}
#top-menu li a:hover,
#top-menu li li a:hover {
 color: #fff !important;
}
#top-menu li a:hover {
 background: #559CAD !important; /*** CHANGES THE BACKGROUND COLOR ON HOVER ***/
}
#top-menu li.current-menu-item > a {
 background: #7dcac4; /*** CHANGES THE BACKGROUND COLOR OF THE CURRENT PAGE LINK ***/
}
#top-menu .menu-item-has-children > a:first-child:after {
 content: none;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll {
	max-width: 500px;
    width: 80%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: -52px;
    position: relative;
    background: #FFF;
}

.et_pb_fullwidth_header_0 .et_pb_fullwidth_header_scroll a .et-pb-icon
 {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

li {
	margin-top:3px;
}


/* STAFF SLIDER */
#name-slider-left .et_pb_slides .et_pb_slide {
	padding-right:0px !important;
}
#name-slider-left .et_pb_slides .et_pb_container {
	width:100% !important;
}
#name-slider-left .et_pb_slides .et_pb_slide_title {
	margin-top:30px;
}
#name-slider-left .et_pb_slides .et_pb_slide_description {
	float: left !important;
	text-align:left;
	width:60% !important;
	padding-bottom:30px !important;
}
#name-slider-left .et_pb_slides .et_pb_slide_image {
	width:40% !important;
	text-align:right;
	float:right !important;
	margin-top:0px !important;
}
#name-slider-left .et_pb_slides .et_pb_slide_image img {
	max-height:100% !important;
}

/* TOGGLE BOXES */
.hidden {
	position:relative;
}
.hidden a.close {
	position:absolute;
	top:10px;
	right:10px;
	cursor:pointer;
	color: #999;
	font-size: 40px;
	font-weight: bold;
	display: inline-block;
}

#footer-info {
	width:100% !important;
	text-align:center !important;
}

sup {
	font-size:10px;
}

.menu-item-type-custom a {
	padding-bottom: 15px !important;
}

.container.et_menu_container {
    height: 250px;
	padding-top: 80px !important;
}
.et_header_style_left .logo_container {
    margin-top: -80px !important;
}