/*!/wp-content/themes/divi-child/style.css*//*-------------------------------------------------------
Theme Name: Child Theme
Theme URI: https://www.stanfieldnursing.co.uk/
Description: A child theme template for Divi
Author: AIM Internet
Template: Divi
Version: 4.17.3
----------------- ADDITIONAL CSS HERE ------------------*/

/*!
Theme Name: Divi
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 4.27.4
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/




@font-face {
  font-family: 'latoregular';
  src: url(/wp-content/themes/divi-child/fonts/lato-reg-webfont.woff2) format('woff2'),
       url(/wp-content/themes/divi-child/fonts/lato-reg-webfont.woff) format('woff');
  font-weight: normal;
  font-style: normal;
 font-display:swap;}

body {font-family: 'latoregular' !important; font-display:swap;}
h1,h2,h3,h4,h5,h6 {font-family: 'latoregular' !important; font-display:swap;}
h1 {font-size:30px !important; line-height:35px;}
h2 {font-size:27px !important; line-height:38px;}
h3 {font-size:24px !important;}
h4 {font-size:20px !important;}
p {padding:0px 10px 15px 0px; line-height:26px;}

#main-header {box-shadow:none; padding-bottom:10px;}
#main-header .container, .et_pb_fullwidth_header .et_pb_fullwidth_header_container {width:94%; max-width:94%;}

#top-header {display:none;}
.logo_container {width:auto !important; float:none; position: inherit !important; margin:15px 0px 5px 0px; text-align:center;}
#logo {max-height:100%;}
.logo-award {display:none;}
.et_header_style_left #logo {max-width:90%; margin-right:10px; vertical-align:top;}
#et-info {float:none; font-size:22px; padding-top:20px;}

#et-info-phone a {color:#902833 !important; line-height:25px; margin-left:5px;}
#et-info-email:hover {opacity:1;}
#et-info-phone::before {color:#902833;}

.et-social-icons {display:block !important;}
#et-info .et-social-icons {float:none; margin:10px 0px 5px 0px;}
.et-social-icons li {margin-left: 0px !important; margin-right:10px;}
.et-social-icons li a {width:35px; height:35px; background-color:#D1D9AF; border-radius:50%; font-size:20px !important; line-height: 36px !important; color:#902833;}
.et-social-icons li a:hover {background-color:#902833; color:#D1D9AF !important; opacity:1 !important;}

.et-social-facebook a.icon::before {content: '\e093';}
.et-social-twitter a.icon::before {content: '\e094';}
.et-social-instagram a.icon::before {content: '\e09a';}

.et-social-linkedin a.icon::before {content: '\e09d';}
.et-social-youtube a.icon::before {content: '\e0a3';}
.et-social-pinterest a.icon::before {content: '\e095';}

#et-top-navigation {width:auto !important; float:none; font-weight:400 !important; padding-left:30px !important;}
.et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation {padding-top:0px;}
.et_header_style_left #et-top-navigation nav > ul > li > a {padding-bottom:20px;}

/* Mobile Navigation*/
.et_header_style_left #et-top-navigation .mobile_menu_bar {padding-bottom:0px;}

.home .et_pb_slide {padding:0px;}
.home .et_pb_slider .et_pb_container {width:100%;  margin:0px; padding:2% 0px;}
.home .et-pb-active-slide .et_pb_slide_description {animation:none; text-shadow:none;}

/* Bounce To Top */
.btn-readmore.et_pb_button {background-color:#95171A; color:#FFFFFF; border:none; padding:5px 15px !important; display: inline-block;     vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0); transform: perspective(1px) translateZ(0); position: relative;    -webkit-transition-property: color; transition-property: color; -webkit-transition-duration: 0.5s; transition-duration: 0.5s;}

.btn-readmore.et_pb_button:hover {color:#333333 !important; padding:5px 15px !important; border:none;}

.btn-readmore.et_pb_button:after {content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0; background-color:#BAC09A !important; color:#333333 !important;
    -webkit-transform: scaleY(0); transform: scaleY(0); -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%;   -webkit-transition-property: transform; transition-property: transform; -webkit-transition-duration: 0.5s; transition-duration: 0.5s;     -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out;}

.btn-readmore:hover.et_pb_button:after {background-color:#BAC09A !important; color:#333333 !important; border:none; padding:5px 15px !important; -webkit-transform: scaleY(1); transform: scaleY(1); -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);     transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);}

#footer-widgets {display:table; margin:0px auto; padding-top:2.5%; text-align:center;}
.footer-widget {margin-bottom:2.5% !important;}

.bottom-nav {text-align:center;}
.bottom-nav a {font-weight:normal;}
.bottom-nav a:hover {opacity:1; text-decoration:underline;}
.copyright, .footerlink {font-size:15px; color:#333333; text-align:center; margin: 0px; padding: 0px 0px 10px 0px;}
.footerlink {float: right;}
.footerlink a {color:#333333;}
.footerlink a:hover {text-decoration:underline;}

.bullet01, .bullet02, .bullet03 {margin:5px 0px 0px 20px; padding:0px !important;}
.bullet01 li, .bullet02 li, .bullet03 li {list-style-type:disc; margin:0px; padding:0px 5px 8px 0px;}
.bullet01 li::marker, .bullet02 li::marker, .bullet03 li::marker {color:#902833;}

.bullet02 {column-count:1;}
.bullet04 {margin:0px 0px 0px 10px; padding:0px !important;}
.bullet04 li {list-style-type:none; margin:0px 0px 10px 0px; padding:0px 5px 8px 0px;}
.bullet04 li a {text-decoration:underline;}
.bullet04 li a:hover {text-decoration:none;}


/*Mobile Nestead Menu Start */
.mobile_menu_bar::before {color:#95171A !important;}
.et_mobile_menu {background-color:#F0F2E6; text-align: left; padding:3% !important; border-top:none !important;}
.et_mobile_menu li li {padding-left:1%; line-height:20px;}
.mobile_menu_bar::before {z-index: 9999;}
.et_mobile_menu li a {font-size:17px; font-weight:400; background-color:inherit;}
.et_mobile_menu li a:hover {opacity:0.9; color:#95171A;}
#main-header .et_mobile_menu .menu-item-has-children > a {font-weight:400; position: relative; background-color:#BAC09A; margin-bottom: 2px;}
#main-header .et_mobile_menu .menu-item-has-children > a:after {font-family: 'ETmodules'; font-size: 18px; content: '\43'; top: 13px; right: 10px; text-align: center; font-weight: normal; text-transform: none; -webkit-font-smoothing: antialiased; position: absolute;}
#main-header .et_mobile_menu .menu-item-has-children.visible > a:after {content: '\4d'; font-size:18px; font-weight: bold; color:#333333 !important;}
#main-header .et_mobile_menu ul.sub-menu {display: none !important; visibility: hidden !important; transition: all 1.5s ease-in-out;}
#main-header .et_mobile_menu .visible > ul.sub-menu {display: block !important; visibility: visible !important;}
#main-header .et_mobile_menu .visible > ul.sub-menu li a {font-size:17px; background-color:#DDDDDD; color:#333333 !important; border-bottom:none;}
#main-header .et_mobile_menu .visible > ul.sub-menu li a:hover {background-color:#BAC09A; color:#95171A !important;}

.mobile_nav.closed #mobile_menu {
    background-color: #BAC09A !important;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.4s 0s;
    -moz-transition: -moz-transform 0.4s 0s;
    transition: transform 0.4s 0s;    
}

.mobile_nav.opened #mobile_menu {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    -webkit-overflow-scrolling: touch;
    -webkit-transition: -webkit-transform 0.4s 0s;
    -moz-transition: -moz-transform 0.4s 0s;
    transition: transform 0.4s 0s;
}
/*Mobile Nestead Menu End */


.field02 {width:100%; float:left;}
.field01 {width:32%; float:left; margin-right:1%; margin-bottom:25px;}
input[type="text"], input[type="email"], input[type="tel"] {width:98%; height:35px; font-size:14px; padding:1%; margin:0px; color:#000000; border:1px solid #ccc; border-radius:0px;}
textarea {width:98%; padding:1%; margin:0px; font-size:14px; color:#000000; border:1px solid #ccc; border-radius:0px;}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {border-color:#333333;}
.button {background-color:#95171A; border:none; border-radius: 0px; color:#ffffff; cursor:pointer; font-size:17px; font-weight:400; padding:5px 15px; text-transform:uppercase; margin-top:20px;}
.button:hover {text-decoration: underline;}
.wpcf7-mail-sent-ok {display:none !important;}
div.wpcf7-mail-sent-ng, div.wpcf7-validation-errors {float:left;}

h1.entry-title {font-size:30px !important; margin-top:0px; line-height:35px; text-align: left; font-weight:400;}
.et_pb_post {margin-bottom:30px;}
.et_pb_post h2 {margin-top:10px; font-size:26px !important; line-height: 30px;}
.et_pb_post h3 {margin-top:10px; font-size:23px !important; line-height: 30px;}
.et_pb_post h4 {margin-top:10px; font-size:19px !important; line-height: 30px;}
.et_pb_post .entry-content {padding-top:0px;}
.et_pb_widget {margin-bottom:20px !important;}
.et_pb_widget ul li {line-height: 22px; margin-bottom:10px;}
.et_pb_widget li::before {content: "»"; font-size:18px; margin-right:5px; color:#95171A;}
.et_pb_widget a {color:#333333; font-size:15px;}
.et_pb_widget li a:hover {color:#333333 !important; text-decoration: underline;}
.et_pb_post p {color:#333333 !important; line-height: 25px !important;}
.et_pb_post img {margin-bottom:20px;}

.blog-sub-banner {width:100%; height:270px; background:url(https://www.stanfieldnursing.co.uk/wp-content/uploads/2022/07/blog-banner.jpg) center center; padding:0px;}
.blog-block {background-color:#d6dac4; padding:20px; margin:30px 0px;}
.sub-ttl {width:auto; display:table; background-color:#D1D9AF; color:#902833 !important; font-size:18px; padding:3px 10px; margin-bottom:10px;}
.blog-btn {width:auto; height:auto; background-color:#95171A; color:#FFFFFF; border:none; padding:5px 15px !important; display: inline-block; }



/* Desktop CSS*/
@media only screen and (min-width: 768px) {
	h1 {font-size:42px !important;}
	h2 {font-size:34px !important;}
	h3 {font-size:27px !important;}
	h4 {font-size:24px !important;}
	.et_fixed_nav.et_show_nav #page-container {padding-top:140px !important; margin-top:0px !important;}
	#main-header {padding-bottom:0px;}
	.logo_container {float:left; text-align:left;}
	.logo-award {display:block; float:right;}
	
	#et-info {text-align:right; padding-top:5px;}
	#et-info-phone {margin-right:30px; top:7px;}
	#et-info .et-social-icons {float:left; margin-top:0px;}
	#et-top-navigation {/*width:85% !important;*/ float:right; margin-top:20px;}
	#top-menu-nav {float:right !important;}
	#top-menu li {padding-right:12px !important;}
	#top-menu-nav > ul > li > a:hover {opacity:1; color:#902833;}
	#top-menu .menu-item-has-children > a:first-child::after {right:4px;}
	#main-header .nav li ul {padding:2px 5px}
	#top-menu li li {padding:0px;}
	.nav li li:hover {width:230px; background-color:#F0F2E6;}
	#top-menu li li a {width:230px; font-size:16px; padding:5px 10px; line-height:25px;}
	.nav ul li a:hover {color:#902833 !important; background-color:inherit; opacity:1;}
	.nav li li ul {left:234px;}
	.nav li li ul {top:0px;}
	
	.home .et_pb_slider .et_pb_container {width:40%; background:rgba(214,218, 196, 0.8); padding:2% 0px;}
	.bottom-nav {text-align:left;}
	#footer-bottom .et-social-icons {margin-top:-60px;}
	.copyright {float:left;}
	
	.bullet02 {margin:5px 0px 0px 20px; padding:0px !important; column-count:3;}
	.bullet02 li, .bullet03 li {list-style-type:disc; margin:0px; padding:0px 5px 8px 0px;}
	.bullet02 li::marker, .bullet03 li::marker {color:#902833;}
	
	.bullet03 {margin:5px 0px 0px 20px; padding:0px !important; column-count:4;}
}

@media only screen and (min-width:200px) and (max-width:1350px){
    .container, .et_pb_row {width: 94%;}
}

@media only screen and (min-width:990px) and (max-width:1100px){
	.et_header_style_left .et-fixed-header #et-top-navigation {padding-top:0px;}
	#top-menu li {padding-right:5px !important;}
	#top-menu li a {font-size:15px !important;}
}
@media only screen and (min-width:985px) and (max-width:1045px){
	#top-menu-nav {display:none;}
	#et_mobile_nav_menu {display:block;}
}

@media only screen and (min-width:768px) and (max-width:980px){
	h1 {font-size:35px !important;}
	.home .et_pb_slider .et_pb_container {width:50%;}
	.home .et-pb-active-slide .et_pb_slide_description {padding-left:5%; padding-right:3%;}
	#et-top-navigation {width:auto !important; margin-top:0px;}
	
	#footer-bottom .et-social-icons {float:right;}
	#footer-widgets {padding-bottom:3%;}
}
@media only screen and (min-width:800px) and (max-width:1045px){
	#et-top-navigation {width:auto !important;}
	#et_mobile_nav_menu {margin-top:40px;}
}

@media only screen and (min-width:768px) and (max-width:940px){
	#et-info-phone {margin-right:0px;}
	.et-social-icons li {margin-right:7px;}
}

@media only screen and (min-width:200px) and (max-width:767px){
	#et-info-phone {margin-right:0px;}
	.home .et_pb_slide_description .et_pb_slide_title {background:rgba(214,218, 196, 0.8);}
	.home .et_pb_slide_description {padding-left:5px !important; padding-right:5px !important;}
	
	#footer-widgets .footer-widget:nth-child(n) {margin-bottom:0px !important;}
	#footer-widgets {padding-bottom:3%;}
	#footer-bottom .et-social-icons {margin-bottom:20px;}
	.field01 {width:99%; float:none; margin-right:0px; margin-bottom:20px;}
  	.google-map {height:250px;}
}