/* 
 Theme Name:     Sally Walker
 Author:         sm web designs
 Author URI:     https://www.sm-webdesigns.co.uk
 Template:       Divi
 Version:        1.0.0
 Description:   A Child Theme built for Sally Walker Career Coaching.
 Wordpress Version: 4.9.2
*/ 

/************************* General Styling **/

/** nav **/
.et_header_style_centered #logo {
float: left;
margin-left: 5%;	
}

#et-top-navigation {
	background: #4e7a7f;
border-bottom: 4px solid white;
}

.et_header_style_centered #top-menu>li>a {
	padding: 20px 20px;
background: #4e7a7f;
}

.et_header_style_centered #top-menu>li>a:hover {
	padding: 20px 20px;
background: #d80000;
}

.current-menu-item a {
   background-color: #d80000 !important;
}

ul .sub-menu .menu-item a {
   background-color: white !important;
}

ul .sub-menu .menu-item a:hover {
   background-color: #d1d1d1 !important;
}

#top-menu li {
	padding-right: 0px !important;
border-right: 4px solid white;
}

#top-menu > li:first-child {
	border-left: 4px solid white;
}

#main-header {
	border-bottom: 6px solid #39595c;
} 

#main-header .nav li ul a {
	color: #d80000 !important;	
}

.red {
  color: #d80000;	
}

/*sub menu */

#top-menu .menu-item-has-children > a:first-child:after {
	display: none;
}

.submenu li.current-menu-item>a {
   background-color: white !important;
}

/** homepage image **/
#bannertitle {
	position: absolute;
	top: 35%;
	margin: 0 auto;
	left: 20%;
}

#footblog .post-content p {
	display: none;
}

/* Subpage Banner */
.et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description {
	padding: 8% 8%;
}

#personal {
	background-position-y: -140px;
}

#intercultural {
	background-position-y: -100px;
}

/* .et_pb_slider .et_pb_slide {
	background-position-y: -190px !important;
} */

/* Banner Title Styling */
.et_pb_slide_description h2.et_pb_slide_title {
text-align: center !important;
}

.speech {
	color: #d80000;
	font-size: 24px;
	font-family: 'pier_sansregular', sans-serif !important;
}

.speechw {
	color: #ffffff;
	font-size: 24px;
	font-family: 'pier_sansregular', sans-serif !important;
}

.case {
	font-size: 11px;
	line-height: 13px;
}

/** Back to top button **/
.et_pb_scroll_top.et-pb-icon {
    background: #d80000;
	border-radius: 0px;
}

/* hide video download button */
video::-internal-media-controls-download-button {
display:none;
}
video::-webkit-media-controls-enclosure {
overflow:hidden;
}
video::-webkit-media-controls-panel {
width: calc(100% + 30px); /* Adjust if necessary */
}


/************************* Header Styling **/
#et-info {
	float: right !important;
}

/** resource Hub **/
a.ppp_filterable_link:hover {
	background: #d80000 !important;
	color: #ffffff !important;
}

.et_pb_portfolio_item.et_pb_grid_item {
	background: #ffffff;
	padding: 10px 10px 20px 10px;
	min-height: 450px;
max-height: 450px;
}

.et_pb_portofolio_pagination {
	background: #d80000;
}

.et_pb_portfolio_item.et_pb_grid_item a.more-link {
	text-transform:capitalize;
	color: #d80000;
	background:white;
	float:right;
	border:solid 1px;
	padding-left:5px;
	padding-right:5px;
	transition:0.5s ease-out;
}

.et_pb_portfolio_item.et_pb_grid_item a.more-link:hover {
	color:white;
	background:#d80000;
	letter-spacing:1.5px;
}

.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a {
	color: white !important;
}

a.more-link {
	margin-top: 25px;
}

/** contact form **/
/* Add custom text before the captcha numbers in Divi */
.et_pb_contact_right p:before {content: "To stop spam please answer this maths question"; position: absolute; margin-left:-390px; margin-top:13px; color: #ffffff !important;}

/************************* Footer Styling **/
a.widgetbutton {
	padding: 10px 10px;
	background-color: #d80000;
	color: #fff;
	font-weight: bold;
}

a.widgetbutton:hover {
	background-color: #d1d1d1;
}

.bottom-nav {
	text-align: center !important;
}

#footer-info {
	text-align: center !important;
	float: none;
}


/** --------------------- Media Queries/Responsiveness ------------------- **/
/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {
	  .et_header_style_centered #logo a {
		  height: 99px !important;}
	  #videosection {
		      width: 100%;
	  }
	  .et_pb_slide_0 .et_pb_container {
		  width: 88% !important;
	  }
	  .et_pb_slider .et_pb_container {
		   width: 90% !important; }
}
/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
	  .et_pb_slide_0 .et_pb_container {
    width: 350px !important;
    position: relative !important;
}
	  .et_pb_slider .et_pb_container {
		   width: 90% !important; }
	  .et_header_style_centered #main-header { padding: 0px 0px 20px 0px }
	.headwidget {
		position: relative !important;
		top: 0 !important;
    left: 2% !important;
    text-align: center !important;
    font-size: 0.8em !important;
    line-height: 1em !important;
		padding-top: 10px;
	  }
	    .et_header_style_centered #logo {
    float: none;
    margin-left: 0;

}
	  .page-id-25921 .et_pb_slide_0 {
		  height: 570px;
	  }
	  .page-id-25917 .et_pb_slide_0 {
		  background-position-x: -70px;
	  }
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
	   .headwidget {
		  display: none;
	  }

}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
 .et_header_style_centered #logo {
		  height: 99px !important;}
	  #videosection {
		      width: 100%;
	  }
	   .et_pb_slider .et_pb_container {
		   width: 90% !important; }
}

/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 
  .headwidget {
		  
	  }
	    .et_header_style_centered #logo {
    float: none;
    margin-left: 0;
}
	  	   .et_pb_slider .et_pb_container {
		   width: 90% !important; }
}


/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) { 
  .et_header_style_centered #logo {
    float: none;
		   margin-left: 0;}
	  .headwidget {
		  
	  }
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
 .et_header_style_centered #logo {
		 height: 99px !important;}
	  #videosection {
		      width: 100%;
	  }
	   .et_pb_slider .et_pb_container {
		   width: 90% !important; }
}

/* Portrait */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 
.et_pb_slide_0 .et_pb_container {
	width: 90% !important;
float: none !important;
}
	  .headwidget {
		position: relative !important;
		top: 0 !important;
    left: 2% !important;
    text-align: center !important;
    font-size: 0.8em !important;
    line-height: 1em !important;
		padding-top: 10px;
	  }
	  .et_header_style_centered #logo {
    float: none;
    margin-left: 0;
}
	  .et_pb_fullwidth_slider_0 .et_pb_slide {
		  background-size: contain!important;}
}

/* Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
 .headwidget {
		  
	  }
	   .et_header_style_centered #logo {
    float: none;
		   margin-left: 0;}
}

/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
 .et_header_style_centered #logo {
		  max-height: 99px !important;}
	  #videosection {
		      width: 100%;
	  }
}

/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 
 .et_header_style_centered #logo {
    float: none;
		   margin-left: 0;}
	  .headwidget {
		  display: none;
	  }
}

/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 

}

/* ----------- Galaxy S4, S5 and Note 3 ----------- */

/* Portrait and Landscape */
@media screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) {
 .et_header_style_centered #logo {
		  max-height: 99px !important;}
	  #videosection {
		      width: 100%;
	  }
	   .et_header_style_centered #logo {
    float: none;
		   margin-left: 0;}
	  .headwidget {
		  display: none;
	  }
}

/* Portrait */
@media screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: portrait) {

}

/* Landscape */
@media screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: landscape) {
 .et_header_style_centered #logo {
    float: none;
		   margin-left: 0;}
	  .headwidget {
		  display: none;
	  }
}

/* ----------- Galaxy S6 ----------- */

/* Portrait and Landscape */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) {
 .et_header_style_centered #logo {
		  max-height: 99px !important;}
	  #videosection {
		      width: 100%;
	  }
	   .et_header_style_centered #logo {
    float: none;
		   margin-left: 0;}
	  .headwidget {
		  display: none;
	  }
}

/* Portrait */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: portrait) {

}

/* Landscape */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {

}

/**************************************************** Tablets ***********/
/* ----------- iPad 1, 2, Mini and Air ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
	  #videosection {
		      width: 100%;
	  }

}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
.et_pb_slide_0 .et_pb_container {
	width: 90% !important;
float: none !important;
}
	  .headwidget {
		position: relative !important;
		top: 0 !important;
    left: 2% !important;
    text-align: center !important;
    font-size: 0.8em !important;
    line-height: 1em !important;
		padding-top: 10px;
	  }
	  .et_header_style_centered #logo {
    float: none;
    margin-left: 0;
}
	  .et_pb_fullwidth_slider_0 .et_pb_slide {
		  background-size: contain!important;}
}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
.et_pb_slide_0 .et_pb_container {
	width: 90% !important;
float: none !important;
}
	  .headwidget {
	left: 60% !important;
}
	  
	  .et_header_style_centered #top-menu>li>a {
		  padding: 10px 5px;
		  padding-bottom: 10px !important;
	  }
		  #top-menu li {
			  font-size: 13px !important;
		  }
	  }


/* ----------- iPad 3, 4 and Pro 9.7" ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {
	  .et_pb_slide_0 .et_pb_container {
	width: 90% !important;
float: none !important;
}
	  .headwidget {
	left: 60% !important;
}
	  
	  .et_header_style_centered #top-menu>li>a {
		  padding: 10px 5px;
		  padding-bottom: 10px !important;
	  }
		  #top-menu li {
			  font-size: 13px !important;
		  }

}

/* ----------- iPad Pro 10.5" ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 834px) 
  and (max-device-width: 1112px)
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen 
  and (min-device-width: 834px) 
  and (max-device-width: 834px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen 
  and (min-device-width: 1112px) 
  and (max-device-width: 1112px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* ----------- iPad Pro 12.9" ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px)
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen 
  and (min-device-width: 1366px) 
  and (max-device-width: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/****************************************************** Laptops ***********************/
/* ----------- Non-Retina Screens ----------- */
@media screen 
  and (min-device-width: 1200px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 1) { 
.et_header_style_left #et-top-navigation {
		 padding: 60px 0 0 0 !important;
	  }
	  
.et_header_style_centered #top-menu>li>a {
	padding: 15px 25px;
background: #4e7a7f;
}

.et_header_style_centered #top-menu>li>a:hover {
	padding: 15px 25px;
background: #d80000;
}
	  
	  
.headwidget {
	left: 60% !important;
}
	  
#top-menu li {
		  padding-right: 15px;
		  font-size: 12px;
	  }
.fullwidth-menu li {
		  padding-right: 12px;
	  }
.et_pb_slide_0 .et_pb_container {
		  width: 80% !important;
	  }
	  /* Stop header jump */
#page-container {
	padding-top: 198px !important;
}

#main-header {
top: 0px !important;
}
}


/* ----------- Retina Screens ----------- */
@media screen 
  and (min-device-width: 1200px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 
}

/***************************************************** Large screens ****************/
@media only screen  and (min-width : 1824px) {
/* Styles */
.et_header_style_centered #top-menu>li>a {
	padding: 20px 30px;
background: #4e7a7f;
}

.et_header_style_centered #top-menu>li>a:hover {
	padding: 20px 30px;
background: #d80000;
}
	
/* Stop header jump */
#page-container {
	padding-top: 198px !important;
}

#main-header {
	top: 0px !important;
}
}
