/*!
Theme Name: Polestar Child
Author: AP Digital
Author URI: http://www.apdigital.co.uk/
Template: polestar
Description: Care Training South Wale Limited Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: polestar-child
Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce
*/

body {
	font-size: 14px;
	line-height: 1.42857143;
}

p {
	margin: 0 0 12px;
}

.f36 h3.widget-title {
	font-size: 36px;
	margin-top: 20px;
	margin-bottom: 40px;
}

.f36 img {
	display: block;
}

.text-yellow {
	color: #f0b018;
}

/*body:not(.single) .site-footer {
	margin-top: 0;
}*/

.site-footer {
	background: #0a7bda;
	border: 0 !important;
}

.site-footer .bottom-bar {
	background: #0870c8;
	border: 0;
}

.site-footer .widget .widget-title {
	border: none;
}

#infinite-handle span button, .added_to_cart, .button, .page-links span, .pagination .page-numbers, button, input[type="button"], input[type="reset"], input[type="submit"], .btn {
	display: inline-block;
	padding: 10px 25px;
	margin-bottom: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 30px;
}

button.btn-blue, input[type="button"].btn-blue, input[type="reset"].btn-blue, input[type="submit"].btn-blue, .btn-blue {
	background-color: #0a7bda;
	color: #FFF !important;
	margin-top: 20px;
}

button.btn-yellow, input[type="button"].btn-yellow, input[type="reset"].btn-yellow, input[type="submit"].btn-yellow, .btn-yellow {
	background-color: #f0b018;
	color: #FFF !important;
	margin-top: 20px;
}

.form-control {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

textarea.form-control {
	height: auto;
}

#homepage_slider_content main h1 {
	margin-top: 0;
}

#homepage_courses .so-panel {
	text-align: center;
	/*padding-left: 15px;
	padding-right: 15px;*/
}

#homepage_courses .so-panel img {
	width: 200px;
}

#homepage_courses .so-panel .widget-title {
	font-size: 14px;
}

#homepage_course_extra .hce_item .panel-widget-style {
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 501px;
	padding: 55px 25% 55px 35px;
}

#homepage_course_extra .hce_item p {
	margin-bottom: 10px;
}

#pg-5-3 {
	background-color: #0a7bda;
}

.site-footer,
#pc_footer_top,
#homepage_section_3,
#homepage_section_3 h3,
.site-footer .widget a,
.site-footer .bottom-bar,
.p_featured_img .entry-title,
.pc_trainer_profile .widget-title,
.site-footer .widget .widget-title,
#homepage_course_extra .hce_item .panel-widget-style {
	color: #FFF;
}

#homepage_blog_section article.post h2 {
	font-size: 16px;
}

#homepage_blog_section article.post .entry-header {
	margin-bottom: 10px;
}

#homepage_blog_section .widget-title {
	text-align: center;
}

#pc_footer_top {
	font-size: 20px;
	padding-bottom: 20px;
	background-color: #282f36;
}

.p_featured_img {
	background-size: cover;
	padding-top: 120px;
	padding-bottom: 120px;
	position: relative;
}

/* The Clearfix: Force an Element To Self-Clear its Children */
.group:before,
.group:after {
	content: "";
	display: table;
} 
.group:after {
	clear: both;
}
.group {
	zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}
/* END Clearfix */

.pc_list {
	list-style: none;
	margin-left: 0;
}

.pc_list > li {
	background: url(./img/list-icon.png) 0 center no-repeat;
	padding-left: 27px;
	margin: 14px 0;
}

#mobile-navigation .search-form button[type="submit"] {
	position: absolute;
	right: 0;
	top: 0;
}

.pc_trainer .pc_trainer_profile {
	background-color: #0a7bda;
	padding: 15px 15px 25px;
	color: #fff;
	margin-bottom: 15px;
}

.pc_trainer .pc_trainer_profile figure {
	display: flex;
	flex-flow: column;
	margin: auto;
}

.pc_trainer .pc_trainer_profile figure .image {
	border-radius: 50%;
	order: 1;
}

.pc_trainer .pc_trainer_profile figure figcaption {
	order: 0;
	line-height: 2;
	margin-bottom: 16px;
}

.pc_trainer_profile .widget-title {
	font-size: 20px;
	margin: 0;
}

.pc_trainer .widget_text {
	padding: 10px 10px 25px;
	border-bottom: 10px solid #c8cbcd;
}

#pg-147-1,
#pg-147-2 {
	background-color: #eaeff3;
}

.blog .entry-thumbnail {
	margin-right: 0;
	margin-left: 0;
}

.training_courses_section article.post .entry-content {
	display: none;
}

.page .entry-content p,
.page .entry-content ul li {
    font-size: 18px;
  	margin-bottom: 10px;
}

.page .entry-content p {
	margin-bottom: 20px;
}

.fs-20 p,
.fs-20 ul li {
	font-size: 20px !important;
}

.btn.btn-block,
input[type="submit"] {
    font-size: 20px;
    font-weight: 600;
    background-color: #0A7BDA;
    color: #fff !important;
    border-radius: 0;
}

.training_courses_section .entry-title {
  font-size: 24px;
}

.site-header.centered #primary-menu > li {
	margin: 0 15px -10px 15px;
	vertical-align: middle;
}

.site-header.centered #primary-menu > li:first-of-type {
	margin-left: 0;
}

.flexslider .flex-direction-nav a {
	line-height: 1;
}

.habc-logo {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
	margin: 10px;
	padding: 50px;
	background: #fff;
	opacity: 1;
}

.habc-logo img {
	max-width: 250px;
}

.habc-logo-sidebar {
	display: none;
}

body.page-id-767 .habc-logo-sidebar,
body.page-id-812 .habc-logo-sidebar,
body.page-id-864 .habc-logo-sidebar,
body.page-id-871 .habc-logo-sidebar,
body.page-id-362 .habc-logo-sidebar,
body.page-id-381 .habc-logo-sidebar,
body.page-id-867 .habc-logo-sidebar,
body.page-id-874 .habc-logo-sidebar {
	display: block;
}

.habc-accredited-text {
	color: #fff;
	line-height: 3;
	background: #591f86;
	background: -moz-linear-gradient(left, #591f86 0%, transparent 100%);
	background: -webkit-linear-gradient(left, #591f86 0%,transparent 100%);
	background: linear-gradient(to right, #591f86 0%,transparent 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#591f86', endColorstr='transparent',GradientType=1 );
	padding: 0 20px;
	font-weight: bold;
	position: absolute;
	z-index: 2;
	width: 100%;
	left: 0;
	bottom: 0;
}

.p_featured_img .entry-title {
	text-shadow: 0 0 7px #525252;
}

.strong-content div.testimonial:nth-child(odd) {
	margin-right: auto;
    margin-left: 0;
    border-radius: 53px;
    padding: 16px 19px;
	box-shadow: 0 1px 5px rgba(0,0,0,.04);
	background: #557eab;
    max-width: 70%;
	color: #fff;
}

.strong-content div.testimonial:nth-child(odd) .testimonial-name,
.strong-content div.testimonial:nth-child(odd) p {
	text-align: left;
}


.testimonial .testimonial-name {
	margin-top: 10px;
}

.testimonial .testimonial-content p {
	font-size: 15px;
}

.testimonial .testimonial-inner {
	border: none !important;
}

.strong-content div.testimonial:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
    border-radius: 53px;
    padding: 16px 19px;
	box-shadow: 0 1px 5px rgba(0,0,0,.04);
	background: #0f7bf2;
    max-width: 70%;
    text-align: right;
    color: #fff;
}

.strong-content div.testimonial:nth-child(even) .testimonial-name,
.strong-content div.testimonial:nth-child(even) p {
	text-align: right;
}

.care-habc-logo a {
    position: relative;
    display: block;
}

.care-habc-logo.level-3 a:before {
	content: "Level 3";
}

.care-habc-logo.level-2 a:before {
	content: "Level 2";
}

.care-habc-logo.level-3 a:before,
.care-habc-logo.level-2 a:before {
    position: absolute;
    top: 3px;
    left: 5px;
    color: #ffff00 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.habc-accredited-text ~ div:before,
.care-habc-logo a:after {
	content: "";
	background-image: url(/wp-content/uploads/2018/11/HABC_Approved_Centre_451.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    height: 45px;
    width: 100px;
    position: absolute;
    top: 3px;
    left: 195px;
}

.habc-accredited-text ~ div:before {
	height: 70px;
    width: 150px;
    top: 6px;
    right: 6px;
    left: unset;
    z-index: 5;
}

#post-381 .entry-thumbnail,
#post-362 .entry-thumbnail,
#post-767 .entry-thumbnail,
#post-812 .entry-thumbnail,
#post-864 .entry-thumbnail,
#post-387 .entry-thumbnail,
#post-871 .entry-thumbnail,
#post-651 .entry-thumbnail,
#post-659 .entry-thumbnail {
	position: relative;
}

#post-381 .entry-thumbnail:after,
#post-362 .entry-thumbnail:after,
#post-767 .entry-thumbnail:after,
#post-812 .entry-thumbnail:after,
#post-864 .entry-thumbnail:after,
#post-387 .entry-thumbnail:after,
#post-871 .entry-thumbnail:after,
#post-651 .entry-thumbnail:after,
#post-659 .entry-thumbnail:after {
    content: "";
    background-image: url(/wp-content/uploads/2018/11/HABC_Approved_Centre_451.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    height: 50px;
    width: 120px;
    position: absolute;
    top: 3px;
    right: 4px;
}

#post-381 .entry-thumbnail:before,
#post-362 .entry-thumbnail:before,
#post-767 .entry-thumbnail:before,
#post-812 .entry-thumbnail:before,
#post-864 .entry-thumbnail:before,
#post-387 .entry-thumbnail:before,
#post-871 .entry-thumbnail:before,
#post-651 .entry-thumbnail:before,
#post-659 .entry-thumbnail:before {
	content: "Level 3";
	position: absolute;
    top: 3px;
    left: 5px;
    color: #ffff00 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#post-387 .entry-thumbnail:before {
	content: "Level 2";

}
#menu-training-courses {
    margin-left: 20px
}

#menu-training-courses li a {
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#menu-training-courses li a:before {
	content: '';
    background-image: url(img/bullet-point.png);
    background-size: 45%;
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 3px;
    left: -20px;
    transition: .25s left ease-in-out;
}

#menu-training-courses li a:hover:before {
	left: -15px;
}

/*#wc-bookings-booking-form {
	display: none !important;
}*/

.wc-bookings-booking-cost {
	display: none !important;
}

.time_slots_list {
	list-style: disc !important;
}

.time_slots_list li {
	margin-bottom: 0 !important;
}

.course-additional-info {
	margin-bottom: 2em;
}

.course-additional-info td {
	font-weight: 700;
    text-transform: uppercase;
}

.single-product .summary {
	float: none !important;
	width: 100% !important;
}

#wc-bookings-booking-form .block-picker,
.variation-BookingTime {
	display: none !important;
	/*width: auto !important;
	height: auto !important;*/
}


body.woocommerce-account.woocommerce-orders .button {
	padding: 10px 15px !important;
    font-size: 12px !important;
    margin-right: 5px !important
}

.booking-error {
	background: #cc1818;
    padding: 10px 20px;
    display: block;
    margin-left: -15px;
    margin-right: -15px;
    color: #fff;
    text-align: center;
}

#wc-bookings-booking-form {
	position: relative;
}

.container-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff85;
    z-index: 1;
}

.icon-loading-roll {
    background-image: url(img/rolling-loading.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 60px;
    height: 60px;
    display: block;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.course-additional-info,
.course-additional-info ~ form {
	display: none;
}

.course-additional-info.show-booking,
.course-additional-info.show-booking ~ form {
	display: block;
}

.course-btn-wrapper {
    margin-bottom: 2em;
}

.btn-enquire {
	margin-right: 1em;
}

.btn-enquire,
.btn-book {
	text-transform: uppercase;
	min-width: 117px;
}

.btn-book:hover {
	background: #0d4777
}

.btn-book.no-booking {
	background: #a4a4a4;
}


@media screen and (max-width: 500px) {
	div.testimonial {
		max-width: 90% !important;
	}
}


@media screen and (max-width: 780px) {
	.logo-home,
	.habc-logo {
		display: none;
	}
}

@media screen and (min-width: 1025px) {
	#homepage_slider {
		position: relative;
	}

	#homepage_slider_content {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		margin: 8% auto auto;
		z-index: 999;
	}

	#homepage_slider_content main {
		max-width: 500px;
	}

	#homepage_slider_content main h1,
	#homepage_slider_content main p {
		color: #FFF;
		margin-bottom: 10px;
	}

	#homepage_courses {
		margin-top: -145px;
		z-index: 999;
		position: relative;
	}
}

@media screen and (min-width: 769px) {
	#homepage_blog_section article.post,
	.training_courses_section article.post {
		width: 33.333333%;
		float: left;
		padding-left: 15px;
		padding-right: 15px;
		border: 0;
      	margin: 0;
      	min-height: 335px;
	}

	#pc_footer_top p {
		margin: 0;
	}

	.site-footer .site-info {
		width: 70%;
	}

	.footer-menu {
		width: 30%;
	}
}
