/*
 Theme Name:	Safety Training Australia (Quark Child)
 Theme URI:		https://www.safetytrainingaustralia.com.au/
 Description:	Safety Training Australia Theme
 Author:		Oley Media Group
 Author URI:	http://www.oleymediagroup.com.au
 Template:		quark
 Version:		1.0.0
 Text Domain:	sag
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
/* color: var(--jade); */
:root {
  --jade: 		#2c879c;
  --jade-light:	#599eae;
  --black: 		#394045;
  --grey:		#777777;
  --light_grey: #fafafa;
  --white: 		#FFFFFF;
  --tr_tab_1:	#054a4d;
  --tr_tab_2:	#166063;
  --tr_tab_3:	#287275;
  --tr_tab_4:	#468a8d;
  --tr_tab_5:	#5aacb0;
}

/* =Transitions
------------------------------------------------------- */

/* inViewport */

.animate.scale-in { 
  transition: 2s;
  transform: scale(0.1);
}
.animate.scale-in.is-inViewport { 
  transform: scale(1);
}

.animate.fade-left { 
	transition: 2s;
	transform: translateX(250px);  
	opacity: 0;
}
.animate.fade-left.is-inViewport {
	transform: translateX(0px);  
	opacity: 1;
}

.animate.fade-right { 
	transition: 2s;
	transform: translateX(-250px);  
	opacity: 0;
}
.animate.fade-right.is-inViewport {
	transform: translateX(0px);
	opacity: 1;
}

.animate.fade-up { 
	transition: 2s;
	transform: translateY(250px);  
	opacity: 0;
}
.animate.fade-up.is-inViewport {
	transform: translateY(0px);  
	opacity: 1;
}

body {
	overflow-x:hidden;
}

h1, h2, h3, h4, h5, h6, .nav-menu {
	font-family: 'Fira Sans', sans-serif; 
	color: var(--black);
	padding-bottom: 16px;
	padding-bottom: 1rem;
	font-display: swap;
}
h4 {
	font-weight: 300;
	margin-bottom: 16px;
	margin-bottom: 1rem;
	text-align:justify;
}
h4 strong {
	font-weight: 400;
	color: var(--black);
}
body, dt, b,  em, strong em, b em, blockquote p, blockquote cite, p, ol, ul, dl, address, b, strong,
.wp-caption .wp-caption-text, .gallery-caption, .entry-caption, .archive-title, .page-title, .entry-content th, .comment-content th, .comments-link, .entry-header address, .comment-content address, .entry-header time, .entry-header address, .entry-content dt, .comment-content dt, .archive-meta, .comments-area article header time,
form label.error {
	font-family: 'Fira Sans';
	font-weight: 300;
	color: var(--grey);
}

strong, b {
	font-weight: 500;
}
.entry-content ul {
	position: relative;
	list-style-type: none;
}
.entry-content li:before {
	content: '\f046';
	font-family: FontAwesome;
	position: absolute;
	left: 5px;
	color: var(--jade);
}

.entry-content .event-categories li:before {
	display: none;
}

.entry-content .wpb_wrapper li:before {
	left: 5px;
}

.hide {
	display: none;
}
/*Buttons*/
.button,
.btn,
.button {
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    font-weight: 300;
    line-height: normal;
    margin: 10px 0px 0px;
    outline: none;
    padding: 8px 15px;
    position: relative;
    text-transform: inherit;
	z-index: 1;
    color: #a0938b;
}

.button.brown,
input[type="submit"].button.brown {
    background-color: #a0938b;
    color: white;
}
.button.white {
	color: white;
	border: 1px solid var(--white);
}
.button.teal {
	background-color: #528694;
	color: var(--white);
}

.button.small {
    font-size: 12px;
    padding: 13px 20px 11px;
}
.button.medium {
    font-size: 13px;
    letter-spacing: 0.75px;
    padding: 12px 28px;
}
.button.large,
input[type="submit"].button.large {
    font-size: 16px;
    padding: 20px 40px 18px;
}
.button.xlarge {
    font-size: 20px;
    padding: 26px 50px 24px;
}

.button.small.wide {
    padding: 13px 13px;
	text-align: left;
	width: 90%;
}
.button.medium.wide {
    padding: 16px 16px;
	text-align: left;
	width: 90%;
}
.button.large.wide {
    padding: 20px 20px;
	text-align: left;
	width: 90%;
}
.button.xlarge.wide {
    padding: 26px 26px;
	text-align: left;
	width: 90%;
}

.white-text{
	color: var(--white)!important;
}

.rounded-corner,
input[type="submit"].rounded-corner {
    border-radius: 3px;
}
.rounded-corner-large,
input[type="submit"].rounded-corner-large {
    border-radius: 6x;
}

.button.rounded-border {
    border: 2px solid #a0938b;
    border-radius: 25px;
}
.button.rounded-border.brown {
	border: 2px solid #a0938b;
}
.button.rounded-border.white {
	border: 2px solid var(--white);
}
.button.rounded-border.teal {
	border: 2px solid #528694;
}

.button.rounded-border.medium {
    border-radius: 30px;
}
.button.rounded-border.large,
.button.rounded-border.xlarge {
    border-radius: 40px;
}

.button.with-icon.icon-left i {
    margin-right: 10px;
}
.button.with-icon.icon-right i {
    margin-left: 10px;
}

.button:hover {
    color: var(--white)!important;
    background-color: #a0938b;
	text-decoration: none!important;
}
.button.brown:hover {
    background-color: #8a786d;
}
.button.white:hover {
	color: #8a786d!important;
    background-color: var(--white);
}
.button.teal:hover {
	background-color: #63a2b3;
}
a:hover, a:active, a:focus, .entry-header h1 a:hover, .header-meta a:hover {
	color: var(--jade);
}

.underline:after {
	border: 2px solid var(--jade);
	content: "";
	display: block;
	margin: 1.5rem auto;
	width: 10%;
}

/*Lists*/
.entry-content ul {
    list-style: none;
}
.entry-content ul li:before {
    content: '\f0a9';
    font-family: FontAwesome;
    position: absolute;
    left: 5px;
    color: var(--jade);
}

.grey_background_box {
	background-color: #fafafa;
	padding-top: 50px;
	padding-bottom: 50px;
	box-shadow: 0 1px 5px -3px #838383 inset;
}
.grey_background_box.no_shadow {
	padding-top: 0;
	box-shadow: none;
}
.grey_background_box.no-padding-bottom {
	padding-bottom: 0;
}
.grey_background_box.half_padding {
	padding-top: 25px;
	padding-bottom: 25px;
}
img.border {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 5px;
}

.row.flex {
	display: flex;
    align-items: center;
}

.row.flex h2,
.row.flex h3,
.row.flex h4 {
	margin: 0;
	padding: 0;
}

/* =Topbar
------------------------------------------------------- */
#headercontainer {
    width: 100%;
    background-color: rgba(82, 134, 148,.8);
    box-shadow: 0px 5px 10px 3px #555;
    z-index: 3;
	position:relative;
}

.home #bannercontainer {
	box-shadow: 0 1px 3px 0 #ededed;
	border-bottom: 10px solid var(--jade);
}

#bannercontainer {
	margin-top: 0;
}

#bannercontainer .rslides {
	margin:0;
	padding:0;
}

#bannercontainer .rslides li {
	overflow:hidden;
	position: relative;
	max-height: 80vh;
/*
	background-image: url('/wp-content/uploads/2022/08/SAG-Slider-Melbourne-Victoria-YouTube.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
*/
}

#bannercontainer picture,
#bannercontainer img {
	width: 100%;
	max-width: 100%;
}

#bannercontainer .rslides li .banner-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgb(0 0 0 / 25%);
}

#bannercontainer .rslides li .banner-content .banner {
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	flex-wrap: nowrap;
	align-content: center;
}

#bannercontainer .rslides li .banner-content h1 {   
    color: var(--white);
    white-space: nowrap;
    line-height: 1.5;
    letter-spacing: 0px;
    font-weight: 500;
    font-size: 50px;
}

#bannercontainer .rslides li .banner-content p {
    color: var(--white);
    white-space: nowrap;
    line-height: 1.5;
    letter-spacing: 0px;
    font-weight: 300;
    font-size: 40px;
}

#bannercontainer .rslides li .banner-content a.button {
	font-size: 24px;
}

section#topbar {
	
}
#topbar .topbar-header {
    clear: both;
    width: 98%;
	max-width: 1200px;
    margin: 0 auto;
    padding: 6px 0;
    position: relative;
	display: flex;
	justify-content: space-between;
}
.topbar-header .topbar_left {
	text-align: left;
}
.topbar-header .topbar_right {
	text-align: right;
}
.topbar-header ul {
	margin: 0;
	padding: 0;
}
.topbar-header ul li {
	display: inline-block;
}
.topbar-header ul li a {
	color: white;
	text-decoration: none;
	vertical-align: middle;
	opacity: 0.5;
}
.topbar-header ul li a:hover {
	opacity: 1;
}
.topbar-header .topbar_left ul li:not(:last-child) {
    margin-right: 20px;
	margin-right: 1.25rem;
}
.topbar-header .topbar_right ul li:not(:first-child) {
    margin-left: 15px;
	margin-left: 0.9375rem;
}
.topbar-header .topbar_left ul li:nth-child(1):before {
	content: '\f0e0';
	font-family: FontAwesome;
	color: white;
	margin-right: 10px;
	margin-right: 0.625rem;
	vertical-align: middle;
}
.topbar-header .topbar_left ul li:nth-child(2):before {
	content: '\f095';
	font-family: FontAwesome;
	color: white;
	margin-right: 10px;
	margin-right: 0.625rem;
	vertical-align: middle;
}
.topbar-header .topbar_left ul li a {
	font-size: 12px;
}
.topbar-header .topbar_right ul li a {
	
}
.topbar-header .topbar_right ul li a:hover {

}
/* =Header
------------------------------------------------------- */
#masthead {
	background-color: rgba(82, 134, 148,.8);
	min-height: 110px;
}
.site-header {
	padding: 2rem 0;
	display: flex;
	max-width: initial;
}
.site-header>.col {
	align-self:center;
}
.site-title h1 {
	margin: 0;
}
.site-title h1 img {
	vertical-align: middle;
}

/* =Menu= */
.main-navigation {
	margin: 0;
	float: right;
}
.main-navigation ul {

}
.main-navigation li {
    margin: 0 0 0 16px;
    margin: 0 0 0 1.0rem;
}
.main-navigation li:after {
    border-right: 1px solid var(--white);
    content: " ";
    height: 24px;
    margin: 0 8px;
    position: absolute;
    vertical-align: baseline;
    width: 1px;
}
.main-navigation li:last-child:after {
    border: none;
}
.main-navigation li .sub-menu li:after {
    border: none;
}
.main-navigation ul li a {
	font-size: 16px;
    display: block;
    float: left;
	font-weight: 300;
}
.main-navigation ul ul {
	background: none repeat scroll 0 0 rgba(255, 255, 255, 0.8);
	border-top: 1px solid #a0938b;
	top: 25px;
    min-width: 200px;
}

.main-navigation ul ul li {	
    display: block;
    width: 100%;
	border-bottom: 1px solid #EAEAEA;
}
.main-navigation ul ul li a,
.main-navigation ul ul li a:visited{ 
	float: none;
	white-space: nowrap;
	width: auto;
    font-size: 14px;
	font-size: 0.875rem;
    line-height: 2.5;
	color: #666666;
}
.main-navigation li.menu-item-has-children > a:after {
	content: none;
}
.main-small-navigation a:visited,
.main-small-navigation a, 
.main-navigation a, 
.main-navigation a:visited {
	text-transform: uppercase;
	color: var(--white);
}
.main-navigation ul ul a {
	text-transform: uppercase;
	color: #a0938b;
}
.main-small-navigation .current-menu-item>a, 
.main-small-navigation .current-menu-ancestor>a, 
.main-navigation .current-menu-item>a, 
.main-navigation .current-menu-ancestor>a {
	color: var(--black);
}

/* Mobile Menu */
nav.main-small-navigation {

}
h3.menu-toggle {
	border: none;
	text-shadow: none;
	background-color: transparent;
	color: var(--white);
}
.menu-toggle:hover {
	background-color: transparent;
	color: var(--white);
}
header.entry-header {
	background-color: #f7f7f7;
	box-shadow: inset 0px 1px 5px -2px #828282;
}
header.entry-header h1 {
	font-size: 2rem;
	padding: 1rem 0;
}
header.entry-header .col p {
	text-align: right;
	line-height: 2.5rem;
	margin-bottom: 0;
	font-size: 13px;
	font-size: 0.813rem;
}
header.entry-header .col p a {
	text-decoration:none;
}

.site-title h1 span { 
	text-indent: -9999px; 
	position: absolute; 
} 





/* =Home Page
------------------------------------------------------- */

#section1.row.services {
	display: flex;
}

#section1.services .grid_3_of_12 {
	width: 25%;
	
}

#section1.services .col:not(:first-child) {
	margin: 0 0 0 1px;
}

#section1.services .home-services-link {
	display:block;
	position:relative;
}

#section1.services .home-services-image {
	width: 100%;
}

#section1.services .overlay {
	background-color: rgba(0,0,0,.3);
	position: absolute;
	right: 0;
	bottom: 0;
    left: 0;
    display: flex;
	align-items: center;
	padding: 1rem;
}

#section1.services h3 {
	color: var(--white);
	margin: 0 0 0 1rem;
	padding: 0 0 0 1rem;
	border-left: 1px solid white;
	line-height: 2;
	font-size: 1.2vw;
}

#section2.training_delivery {
	padding-top: 60px;
}

#section2.training_delivery h2 {
	text-align: center;
	font-weight: 700;
}

#section2.training_delivery .intro {
    columns: 2;
	margin-bottom: 32px;
	margin-bottom: 2rem;
}

#section2.training_delivery .delivery {

}

#section2.training_delivery .delivery .col:first-child {
    margin-left: 0;
}

#section2.training_delivery .delivery .col {
	text-align:center;
	margin-bottom: 40px;
	margin-bottom: 2.5rem;
}

#section2.training_delivery .delivery .col h4 {
	text-align:center;
}

#section2.training_delivery .delivery .delivery-icon {
	margin-bottom: 1.5rem;
}

#section2.training_delivery .delivery .col h4:first-line {
    font-weight: 400;
}

#section3.customised_training {
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	padding: 40px 0;
	padding: 2.5rem 0;
	
	border-top: 10px solid var(--jade);
	border-bottom: 10px solid var(--jade);
}

#section3.customised_training h2,
#section3.customised_training p {
	color: var(--white);
}

#section4.callback {
	background-color: var(--black);
}

#section4.callback .site-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 3rem 0;
}

#section4.callback .site-content h3 {
	color: var(--white);
	width: 30%;
	white-space: nowrap;
	padding-bottom: 0;
}

#section4.callback .site-content p {
	color: var(--white);
	width: 50%;
	margin-bottom: 0;
}

#section4.callback .site-content div {
	color: var(--white);
	width: 20%;
	white-space: nowrap;
	text-align: right;
}

#section4.callback .site-content div a {
	margin: 0;
}

#section5.testimonials {
	background-color: var(--light_grey);
    box-shadow: 0 1px 5px -3px var(--black) inset;
	padding: 40px 0;
	padding: 2.5rem 0;
}

#section5.testimonials .site-content {
	padding-top: 0;
}

#section5.testimonials .heading h2 { 
	text-align: center;
	font-weight: 700;
}

#section5.testimonials .slider .testimonial-image {
	border-radius: 0;
	-webkit-box-shadow: 0 0 5px rgb(0 0 0 / 10%);
	box-shadow: 0 0 5px 0px rgb(0 0 0 / 10%);
	border: 7px solid white;
}

#section6.marketing_columns {
	border-top: 10px solid var(--jade);
}

#section6.marketing_columns .col:nth-child(odd) {
	background-color: #DFE0E1;
}

#section6.marketing_columns .col:nth-child(even) {
	background-color: #EAEBEB;
}

#section6.marketing_columns .col {
	margin: 0;
	text-align: center;
	padding: 2rem;
	border-bottom: 1px solid var(--light_grey);
}

#section6.marketing_columns .grid_3_of_12 {
    width: 25%;
}

#section6.marketing_columns .col .marketing_columns-icon {
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

#section6.marketing_columns .col h3 {
	font-size: 16px;
	font-size: 1rem;
}

#section7.partnership_section {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

#section7.partnership_section .row {
	padding: 3rem 0;
}

#section7.partnership_section h2,
#section7.partnership_section h4,
#section7.partnership_section p {
	text-align: center;
	color: var(--white);
}

#section7.partnership_section h2 {
	font-size: 56px;
	font-size: 3.5rem;
	line-height: 64px;
	line-height: 4rem;
	font-weight: 500;
}

#section7.partnership_section h4 {
	font-size: 38px;
	font-size: 2.375rem;
	line-height: 44px;
	line-height: 2.75rem;
}

#section8.acknowledge_country {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

#section8.acknowledge_country .row {
	padding: 3rem 0;
}

#section8.acknowledge_country h2,
#section8.acknowledge_country p {
	color: var(--white);
	font-weight: 500;
	text-align: center;
	font-size: 1.2rem;
	margin-bottom: 0;
}

#section8.acknowledge_country h2 {
	font-size: 56px;
	font-size: 3.5rem;
	line-height: 64px;
	line-height: 4rem;
	font-weight: 500;
}

/* Home - Interactive Training */


/* Home - Request a Callback */
#callback_row {
	padding-top: 40px;
	padding-top: 2.5rem;
	background-color: #4c4b4b;
}
#callback_row .wpb_column:nth-child(2) {
    text-align: center;
}
#callback_row .wpb_column:nth-child(3) {
    text-align: right;
}
#callback_row .wpb_column h3 {
	color: white;
}
#callback_row .wpb_column .callback_cta_text p {
	color: #c9c9c9;
}
#callback_row .wpb_column .callback_cta_text .pdf_icon {
	float: left;
}
#callback_row .wpb_column .callback_cta_text .pdf_icon i {
	color: red ;
	margin-right: 1rem;
}

div#book_now_cta_row {
	background-color: #4c4b4b;
	padding-top: 40px;
	padding-top: 2.5rem;
}
.home div#book_now_cta_row {
	margin-bottom: 0;
}
div#book_now_cta_row h3 {
	color: #cbcbcb;
	font-weight: 400;
}
div#book_now_cta_row h3 span {
	color: white;
}

/* Home - We KNow Safety */
#we-know-safety {
	background-size: cover;
	border-top: 10px solid var(--jade);
    border-bottom: 10px solid var(--jade);
	padding: 2rem 0;
}
#we-know-safety h2,
#we-know-safety h3,
#we-know-safety h4 {
	color: white;
	font-size: 32px;
	margin-bottom: 1rem;
}

#we-know-safety p {
	color: white;
}

/* Home - Icon Bottom Boxes */
#icon-bottom-boxes {
	border-top: 10px solid var(--jade);
}
#icon-bottom-boxes .wpb_column {
	background-color: #DFE0E1;
}
#icon-bottom-boxes .wpb_column:nth-child(2n+2){
background-color: #EAEBEB
}
#icon-bottom-boxes .wpb_text_column {
    margin: 35px;
}
#icon-bottom-boxes h4 {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
    color: rgb(89,89,89);
}

/* Home - Safety Memebership */
.safety-membership-heading p{
	font-family: 'Fira Sans';
	font-size: 56px;
	font-weight: 500;
	line-height: 64px;
	color: var(--white);
}
.safety-membership-content p{
	font-family: 'Fira Sans';
	font-size: 38px;
	font-weight: 300;
	line-height: 44px;
	color: var(--white);
}

.white_col>.vc_column-inner>.wpb_wrapper {
	background-color: white;
	margin: 0 10px;
	margin: 0 0.625rem;
	padding: 0;
	box-shadow: 0 1px 3px 0 #bfbfbf;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
.white_col .wpb_wrapper.vc_figure {
	display: block;
}
.white_col .vc_single_image-wrapper,
.white_col .vc_single_image-wrapper img {
	width: 100%;
}
.white_col .wpb_text_column {
    margin-top: 25px;
	margin-left: 25px;
	margin-right: 25px;
	margin-top: 1.563rem;
	margin-left: 1.563rem;
	margin-right: 1.563rem;
}
.wpb_column.white_col h4 {
	font-size: 18px;
	font-size: 1.125rem;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	font-weight: 400;
}
.white_col p {
	color: #8c8c8c;
}

.subscribe_cta_row form input[type="email"] {
	border: none;
	border-bottom: 2px solid var(--jade);
	width: 60%;
	margin-right: 20px;
	margin-right: 1.25rem;
}
.subscribe_cta_row .wpb_column:last-child  .wpb_text_column  {
	text-align: right;
}
.vc_row.subscribe_cta_row {
	margin-top: 35px;
}
#testimonial-slider {
	background-color: white;
	box-shadow: 0 1px 3px -1px #9c9c9c;
	position: relative;
}
#testimonial-slider i.fa {
	color: #cacaca;
}
div#prev {
	position: absolute;
	top: calc(50% - 32px);
	left: 40px;
	cursor: pointer;
}
div#next {
	position: absolute;
	top: calc(50% - 32px);
	right: 40px;
	cursor: pointer;
}
.slide {
	padding: 30px 120px;
	padding: 1.875rem 7.5rem;
}
.slide-inner {
	display: flex;
	justify-content: space-between;
}
.client-contact-photo {
	min-width: 90px;
	margin-right: 20px;
	margin-right: 1.250rem;
}
.testimonial-quote {
	text-align: right;
}
.client-contact-info {
	text-align: right;
	font-size: 15px;
	font-size: 0.9375rem;
}

.client-contact-photo img {
    border-radius: 50%;
	box-shadow: 0 0 2px 0px var(--grey);
}

/* =Inner Pages
------------------------------------------------------- */
.inner-header-content {
    clear: both;
    width: 90%;
    font-size: 16px;
    font-size: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 0;
    padding: 2rem 0;
    color: #333;
    line-height: 1.5;
    position: relative;
}


.testimonial.slide {
	background-color: white;
	box-shadow: 0 1px 3px 0px #9c9c9c;
	position: relative;
	margin-bottom: 35px;
	margin-bottom: 2.188rem;
	padding: 30px;
	padding: 1.875rem;
}
.return_to_work_tabs h4 {
    font-size: 18px;
    font-weight: 400;
}

/* =Services Page
------------------------------------------------------- */
.services_tabs h4:after {
    content: ' ';
    height: 3px;
    background-color: #528694;
    display: block;
    width: 20%;
    margin: 1rem auto;
}
.services_tabs .white_col.wpb_column.vc_column_container {
    margin-bottom: 40px;
}
.services_tabs .white_col.wpb_column.vc_column_container ul li strong {
	display: block;
	margin-bottom: 1rem;
}

/* =Course Pages
------------------------------------------------------- */
#intro {
	max-height: 380px;
	overflow: hidden;	
}

.post_feature_header {
    background-color: var(--jade);
    color: white;
    padding: 10px;
    padding: 0.625rem;
    font-size: 2rem;
    margin-bottom: 0;
}

.training_header .wp-post-image {
	width: 100%;
}

input[type="text"], 
input[type="password"], 
input[type="email"], 
input[type="url"], 
textarea {
	padding: 8px;
	padding: 0.5rem;
	width: calc(100% - 16px);
}

ul.course_list_category li:before {
	content: '';
}

ul.course_list_category li h2.wp-block-post-title a {
	font-size: 16px;
	font-size: 1rem;
	color: var(--jade);
	vertical-align: top;
}

.em.em-list .em-item .em-item-info h3.em-item-title a {
    font-size: 20px;
    color: var(--jade)!important;
    font-weight: 400;
}

/* =Membership Packages
------------------------------------------------------- */
.member_packages h4:after {
    content: ' ';
    height: 3px;
    background-color: var(--jade);
    display: block;
    width: 20%;
    margin: 1rem auto;
}
.member_package a.button.medium.teal.wide {
	width: 100%;
	text-align: center;
}

/* =Event Pages
------------------------------------------------------- */
div.css-search div.em-search-main .em-search-submit {
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, var(--jade)), color-stop(1, #2b879ccc) );
	background: -moz-linear-gradient( center top, var(--jade) 5%, #2b879ccc 100% );
	background-color: var(--jade);	
}
div.css-search div.em-search-main .em-search-submit:hover {
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #2b879ccc), color-stop(1, var(--jade-light)) );
	background: -moz-linear-gradient( center top, #2b879ccc 5%, var(--jade-light) 100% );
	background: -ms-linear-gradient(top, #2b879ccc, var(--jade-light));
	background: -o-linear-gradient(top, #2b879ccc, var(--jade-light));
	background: linear-gradient(top, #2b879ccc, var(--jade-light));
	background-color: #2b879ccc;
}
.events-table .event-col {
	display: inline-block;
	vertical-align: top;
	margin-right: 1.2%;
	margin-bottom: 35px;
	background-color: #fafafa;
	box-shadow: 0px 1px 3px 0 #ccc;
}
.events-table .event-col:nth-child(3n+3) {
	margin-right: 0;
}

.css-events-list {
    margin-bottom: 2rem;
}

.event-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center center;
	background-image: url('/wp-content/uploads/2019/05/image-not-found.png');
}
.event-details {
	padding: 20px;
}
.event-avail-space {
    float: right;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--white);
    background-color: #759ea9;
    padding: 0 .3rem;
}
.event-time {
	font-size: 12px;
	text-transform: uppercase;
	color: #8c8c8c;
	margin-bottom: 5px;
}
.event-link {
	font-weight: 500;
	margin-bottom: 10px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.event-description {
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 10px;
}
.event-location {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	color: #c0c0c0;
	font-size: 12px;
	line-height: 18px;
	font-weight: 500;
}
div.em-booking-message {
    width: calc( 100% - 20px);
	text-align: center;
}
div.em-booking-message p {
	text-align: center;
}

.em-checkout-page-contents .em-booking-form-details {
    width: 50%;
	float: none;
    margin: 0 auto;
}
.ui-widget-header {
	border: 1px solid var(--jade)!important;
	background: var(--jade)!important;
}


.avail_spaces {
    display: inline-block;
    border: 1px solid grey;
    background-color: #f8f8f8;
    padding: 1rem 2rem;
	margin-bottom: 1rem;
	float: right;
}
.avail_spaces p {
    text-align: center;
	margin-bottom: 0;
}
.avail_spaces p.spaces_number {
    font-size: 2rem;
    font-weight: 700;
}
.avail_spaces p.spaces_text {
    font-size: .8rem;

}

.event .event_col.grid_8_of_12 {
	padding-right: 1rem;
}
.event .event_col.grid_4_of_12 {
	background-color: #f8f8f8;
	box-shadow: 0 1px 3px 0 #a5a5a5 inset;
}
.event .event_col.grid_4_of_12 h3 {
	background-color: #054a4d;
	padding: .5rem;
	font-size: 18px;
	color: var(--white);
	font-weight: 400;	
}
.event  .em-booking {
    margin: 15px 0px 10px 20px;
}
.event .em-booking p.ticket-desc {
    
}
.event .em-booking .em-booking-form-details p {
    font-size: 14px;
    margin-bottom: .5rem;
}
.event .em-booking .em-booking-form label {
	width: 80%;
}
.event .em-booking .em-booking-form .ticket-price label,
.event .em-booking .em-booking-form .em-tickets-spaces label {
	width: 100px;
}
.event .em-booking .em-booking-form .input-field-dbem_tax_invoice_required label {
	width: auto;
	margin-right: 1rem;
}
.em-booking-form-details input.input, .em-booking-form-details textarea {
	width: 90%;
}
.event .em-booking .em-booking-form .em-gateway-button {
    float: right;
    margin-right: 10%;
}

div.em-gateway-buttons {
	display: flex;
}

.event .em-booking .em-booking-form .em-gateway-button {
	float: none;
	margin-right: 0;
}

#em-gateway-button-stripe_checkout {
	display: inline-block;
    *display: inline;
    padding: 12px 25px;
    margin-bottom: 0;
    *margin-left: .3em;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.25;
    color: #FFFFFF;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-color: #63a2b3;
    border: 1px solid #cccccc;
    *border: 0;
    border-color: rgba(0, 0, 0, 0.1);
    border-color: #e6e6e6;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#em-gateway-button-stripe_checkout:hover {
    color: var(--white)!important;
    background-color: #63a2b38f;
    text-decoration: none!important;
}

/* =Staff Page
------------------------------------------------------- */

#testimonials {
	columns: 2;
	margin-bottom: 2rem;
	position: relative;
}

#testimonials .testimonial.slide {
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
}

/* =Staff Page
------------------------------------------------------- */
.team_members .wpb_single_image img {	
	/*border-radius: 50%;
	object-fit: cover;
	object-position: 0% 0%;
	width: 200px;
	height: 200px;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);*/
}
.team_members .wpb_column.vc_column_container {
	margin-bottom: 35px;
}
.team_members .wpb_wrapper {
    background-color: white;
	text-align: center;
}
.team_members .wpb_single_image {
	
}
.team_members .wpb_single_image img {	
	-webkit-transition: transform .5s ease-out;
}
.team_members .wpb_single_image img:hover {	
	transform: scale(1.05);
	box-shadow: #999 0px 0px 10px 0px;
}
.team_members  .wpb_text_column {
	margin-bottom: 0!important;
}
.team_members  .wpb_text_column h2,
.team_members  .wpb_text_column h4,
.team_members  .wpb_text_column p {
	text-align: center;
}
.team_members  .wpb_text_column h2 {
	text-transform: uppercase;
	font-size: 24px;
}
.team_members .wpb_text_column h4 {
	font-size: 18px;
	color: #528694;
	font-weight: 400;
}
.team_members .wpb_text_column p {
	font-size: 14px;
}
.team_members .vc_icon_element {
    display: contents;
	font-size: 12px;
}
.team_members .vc_icon_element .vc_icon_element-inner {
    width: 3em!important;
    height: 3em!important;
}


/* =Blog Page
------------------------------------------------------- */
.site-content article.type-post {
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.type-post header.entry-header {
    background-color: var(--white);
    box-shadow: none;
}
.type-post .entry-header .entry-title a {
    font-size: 24px;
    font-weight: 400;	
}
.header-meta a , .header-meta .entry-date{
	font-size: 12px;
}
.post-categories {
	float: right;
}
.post-categories a:hover, .post-tags a:hover {
	background-color: #000000b5;
	color: var(--white);
}
a.more-link {
    clear: both;
    float: right;
    background-color: black;
    padding: 3px 15px;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
}
a.more-link:hover {
	background-color: #000000b5;
}

/* =Membership Pages
------------------------------------------------------- */
.member_package li {
	font-size: 14px;
}
.member_package .btn {
}


/* =Contact Page
------------------------------------------------------- */
.contact_map h3,
.contact_form  h3 {
	border-bottom: 3px solid var(--jade);
	margin-bottom: 35px;
	margin-bottom: 2.188rem;
}

.wpcf7 .field_wrapper {
    background-color: #fafafa;
    padding: 10px;
	padding-bottom: 0;
    border-bottom: 1px solid #91989d;
    margin-bottom: 20px;
}

.wpcf7 .field_wrapper label {
	color: var(--jade);
	font-weight: 700; 
}

.wpcf7 .field_wrapper label red {
	color: red;
}

.wpcf7 .field_wrapper input[type="text"], 
.wpcf7 .field_wrapper input[type="email"], 
.wpcf7 .field_wrapper input[type="tel"], 
.wpcf7 .field_wrapper select, 
.wpcf7 .field_wrapper textarea {
    background-color: #FAFAFA;
    border: none;
    color: #9b9b9b;
	margin-top:20px;
	width:100%;
}

.wpcf7 .field_wrapper select option {
	font-weight: 300;
}

.contact_address_row .fa {
	float: left;
	margin-right: 16px;
	margin-right: 1rem;
	color: var(--jade);
}

/* =Error Page
------------------------------------------------------- */

.error404 header.entry-header h1 {
}
.error404 input[type="search"].search-field {
    font-size: 24px;
    padding: 5px;
    width: 90%;
    margin-bottom: 2rem;
}
.error404 input[type="submit"].search-submit {
    vertical-align: top;
}


/* =Widgets
------------------------------------------------------- */
#secondary.widget-area .widget {
    background-color: #f8f8f8;
    box-shadow: 0 1px 3px 0 #a5a5a5 inset;
	padding: 1rem 1.5rem;
}
#secondary h3.widget-title {
    background-color: var(--jade);
    padding: .5rem;
    font-size: 18px;
    color: var(--white);
    font-weight: 400;
	margin: -1rem -1.5rem 1rem;
}
#secondary.widget-area .widget ul {
    position: relative;
	list-style-type: none;
	padding: 0 1.5rem;
}
#secondary.widget-area .widget li:before {
	content: '\f046';
	font-family: FontAwesome;
	position: absolute;
	left: 5px;
	color: var(--jade);
}


/* =Training Widgets
------------------------------------------------------- */
.ui-accordion p {
	margin: 16px 0;
	margin: 1rem 0;
}

.ui-accordion .ui-accordion-header {
	color: var(--white);
	font-size: 18px;
	font-size: 1.125rem;
	padding: 18px;
	padding: 1.125rem;
	margin-bottom: 0;
	cursor: pointer;
}

.ui-accordion .ui-accordion-header-icon:before {
    font-family: 'FontAwesome';
    content: '\f0d7';
    margin-right: 16px;
    margin-right: 1rem;
}
.ui-accordion .ui-state-active .ui-accordion-header-icon:before {
	content: '\f0d8';
}

.ui-accordion .ui-accordion-header .fa {
    margin-right: 12px;
    margin-right: .75rem;
	font-size: 24px;
	font-size: 1.5rem;
	vertical-align: sub;
}

.ui-accordion #ui-id-1 {
    background-color: var(--tr_tab_1);
}

.ui-accordion #ui-id-3 {
    background-color: var(--tr_tab_2);
}

.ui-accordion #ui-id-5 {
    background-color: var(--tr_tab_3);
}

.ui-accordion #ui-id-7 {
    background-color: var(--tr_tab_4);
}

.ui-accordion #ui-id-9 {
    background-color: var(--tr_tab_5);
}

.ui-accordion .ui-accordion-content {
	background-color: #f8f8f8;
	box-sizing: content-box;
	box-shadow: 0 1px 3px 0 #333 inset;
    padding: 14px 20px;
    padding: 0.875rem 1.25rem;
}


h3.page-list-ext-title {
	font-size: 17px;
	font-size: 1.063rem;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	font-weight: 100;
}
h3.page-list-ext-title a {
	text-decoration: none;
}
.page-list-ext {
	background-color: #fafafa;
	padding: 0 10px;
}
.page-list-ext .page-list-ext-item {
	border-bottom: 1px solid #ededed;
	    margin: 10px 0 10px 0;
}


/* =Footer
------------------------------------------------------- */
.site-footer {
	border-bottom: 1px solid #8F9194;
}
.main-content-footer {
	clear: both;
	width: 90%;
	font-size: 16px;
	font-size: 1rem;
	max-width: 1200px;
	margin: 0 auto;
	color: var(--grey);
}
.main-content-footer p {
	margin-bottom: 0;
}
.site-footer h3 {
	font-size: 16px;
	color: var(--white);
}
.site-footer .menu li {
	line-height: 1.3;
}
.site-footer a {
	font-size: 14px;
}
.site-footer a:hover {
	color: var(--white);
}
.site-footer .col .widget_nav_menu ul.menu li{
	display: inline-block;
}
.site-footer .col:nth-child(1) .widget_nav_menu ul.menu li:not(:last-child) {
	margin-right: 30px;
	margin-right: 1.875rem;
}
.site-footer .col:nth-child(1) .widget_nav_menu ul.menu li a {
	text-transform: uppercase;
	text-decoration: none;
	color: #8F9194;
	font-weight: 500;
}
.site-footer .col:nth-child(2) {
	text-align: right;
}
.site-footer .col:nth-child(2) .widget_nav_menu ul.menu li:not(:first-child) {
	margin-left: 15px;
	margin-left: 0.9375rem;
}
.site-footer .col:nth-child(2) .widget_nav_menu ul.menu li a {
	color: #0077b5;
}
.site-footer .col .widget_nav_menu ul.menu li a:hover,
.site-footer .col .widget_nav_menu ul.menu li.current-menu-item a,
.site-footer .col.widget_nav_menu ul.menu li.current_page_item a{
	color: #8F9194;
}
.site-footer .col:nth-child(1) .widget_nav_menu ul.menu li ul.sub-menu {
	display: none;
}
.site-footer .col:nth-child(4) .textwidget {
	background-color: #ededed;
	padding: 1rem;
	border-radius: 5px;
}
.site-footer .col:nth-child(4) .textwidget p,
.site-footer .col:nth-child(4) .textwidget a {
	margin-bottom: .5rem;
	font-size: 14px;
	color: #999;
}
.site-footer .col:nth-child(4) .textwidget hr {
	    margin: 1rem;
}
.site-footer .col:nth-child(4) .textwidget img {
    vertical-align: unset;
}
.row.smallprint {
	margin-top: 30px;
	margin-top: 1.875rem;
	display: flex;
	justify-content: space-between;
}
.row.smallprint .col:nth-child(1) {
	text-align: left;
	color: #8F9194;
	font-size: 14px;
}
.row.smallprint .col:nth-child(2) {
	text-align: right;
	color: #8F9194;
	font-size: 14px;
}
.row.smallprint .col a {
	color: #8F9194;
	text-decoration: none;
}


.multi-row-cols .grid_12_of_12 {
	clear:left;
	margin-left: 0;
}

.multi-row-cols .grid_6_of_12:nth-child(2n+3) {
    clear: left;
    margin-left: 0;
}

.multi-row-cols .grid_4_of_12:nth-child(3n+4) {
    clear: left;
    margin-left: 0;
}

.multi-row-cols .grid_3_of_12:nth-child(4n+5) {
    clear: left;
    margin-left: 0;
}


@media (min-width: 768px) {
	.home #bannercontainer {
		/*margin-top: -198px;*/
	}
}


/*=custom
*******************************************************/
@media (max-width: 1200px) {

}
/*=iPad Mini - Landscape (width=1024px)
*******************************************************/
@media (max-width: 1024px) {
	
	#section1.row.services {
		flex-wrap: wrap;
	}
	#section1.services .grid_3_of_12 {
		width: calc( 50% - 1px );
	}
	#section1.services h3 {
		font-size: 3vw;
	}
}

/*=(width=910px)
*******************************************************/
@media (max-width: 910px) {
	.main-navigation li {
		margin: 0 0 0 15px;
		margin: 0 0 0 0.9375rem;
	}
	.main-navigation li a {
		font-size: 16px;
	}
	.site-footer .col:nth-child(1) .widget_nav_menu ul.menu li:not(:last-child) {
		margin-right: 15px;
		margin-right: 0.9375rem;
	}
	
	/*= Home Page
	 ******************/
	#bannercontainer .rslides li .banner-content h1 {
		font-size: 32px;
		font-size: 2rem;
		line-height: 1.2;
	}
	#bannercontainer .rslides li .banner-content p {
		font-size: 28px;
		font-size: 1.175rem;
		line-height: 1.2;	
	}
	#bannercontainer .rslides li .banner-content a.button {
		font-size: 18px;
		font-size: 1.125rem;
	}
	
	#section4.callback .site-content {
		flex-wrap: wrap;
	}
	#section4.callback .site-content h3 {
		width: 100%;
	}
	#section6.marketing_columns .col { 
		width: 50%;
	}
}

/*=(width=850px)
*******************************************************/
@media (max-width: 850px) {
	.home-tabs-row .aio-icon-component.style_1 .aio-icon-header h3.aio-icon-title {
		font-size: 1rem;
	}
	#we-know-safety h2, #we-know-safety h3, #we-know-safety h4 {
		font-size: 24px;
	}
	
	.training-page .col {
		width: 100%;
		margin-left: 0;
	}
}

/*=iPad Mini - Portrait (width=767px)
*******************************************************/
@media (max-width: 768px) {
	.grid_1_of_12, 
	.grid_2_of_12, 
	.grid_3_of_12, 
	.grid_4_of_12, 
	.grid_5_of_12, 
	.grid_6_of_12, 
	.grid_7_of_12, 
	.grid_8_of_12, 
	.grid_9_of_12, 
	.grid_10_of_12, 
	.grid_11_of_12, 
	.grid_12_of_12 {
		width: 100%;
	}
	.col {
		margin: 0;
	}
	.site-header {
		flex-direction: column;
		padding: 1rem 0;
	}
	.site-header .col:last-child {
		margin-top: -3.5rem;
	}
	header.site-header .col.grid_9_of_12 h3.menu-toggle {
		margin-top: -60px;
		width: auto;
		float: right;
	}
	nav.main-small-navigation {
		text-align: right;
	}
	.main-small-navigation .nav-menu, .nav-menu ul {
		padding: 0;
		margin-bottom: 0;
		text-align: left;
	}
	.main-small-navigation ul li, 
	.main-navigation ul li {
		background-color: transparent;
		padding-left: 25px;
		padding-left: 1.563rem;
		text-align: left;
	}
	
	.main-small-navigation a {
		line-height: 2;
	}
	h3.menu-toggle {
		
	}
	
	#callback_row .wpb_column,
	#callback_row .wpb_column p {
		text-align: center!important;
	}
	div#book_now_cta_row {
		text-align: center;
	}
	.subscribe_cta_row .wpb_text_column h3 {
		text-align: center;
	}
	.wpb_text_column h2 { /* Testimonials Heading */
		text-align: center;
	}
	
	.wpb_column.white_col {
		margin-bottom: 35px;
		margin-bottom: 2.188rem;
	}
	.contact_address_row h2 { text-align: left; }
	.contact_form_row .ninja-forms-all-fields-wrap { columns: 1; }
	.site-footer .col:nth-child(1),
	.site-footer .col:nth-child(2),
	.row.smallprint .col:nth-child(1),
	.row.smallprint .col:nth-child(2){
		text-align: center;
	}
	.row.smallprint {
		display: block;
		width: 100%;
	}
	.site-footer .col:nth-child(1) .widget_nav_menu ul.menu li:not(:last-child)	{
		margin-right: 10px;
		margin-right: 0.625rem;
	}
	
	.home-tabs-row .vc_col-sm-3 {
		width: 50%;
		display: inline-block;
	}
	.request_callback_footer.row.flex {
		flex-wrap: wrap;
	}
	.request_callback_footer.row.flex .col {
		margin-bottom: 1rem;
		text-align: center
	}
	.testimonial.slide .slide-inner {
		flex-wrap: wrap;
	}
	.testimonial.slide .slide-inner .client-contact-photo {
		margin-bottom: 1rem;
		width: 100%;
		text-align: center;
	}
	
	
	/*= Home Page
	 *************************/
	#section1.services img.home-services-icon {
		width: 18px;
	}
	#section1.services h3 {		
		margin: 0 0 0 0.5rem;
		padding: 0 0 0 0.5rem;
	}
	#section2.training_delivery .intro {
		columns: initial;
	}

	#section5.testimonials .testimonial-image {
		display: none;
	}
	
	.post_feature_header {
		font-size: 1.5rem;
	}

}
/*= (width=690px)
*******************************************************/
@media (max-width: 690px) {
	#topbar .topbar-header{
		display: block;
	}
	#topbar .topbar-header .col {
		/*width: 100%;*/
		/*text-align:center;*/
	}
	#topbar .topbar-header .topbar_left {
		width: 74%;
	}
	#topbar .topbar-header .topbar_right {
		width: 24%;
	}
}
/*= (width=640px)
*******************************************************/
@media (max-width: 640px) {
	.slide {
		padding: 30px 30px;
		padding: 1.875rem 1.875rem;
	}
	.slide-inner {
		display: block;
	}
	
	#section1.services .grid_3_of_12 {
		width: 100%;
	}
	#section1.services h3 {
		font-size: 5vw;
	}
	
	.client-contact-photo {
		text-align: center;
		margin-bottom: 35px;
	}
	.testimonial-quote {
		text-align: center;
	}
	div#prev {
		left: 0px;
	}
	div#next {
		right: 0px;
	}
	.wpb_single_image .vc_figure,
	.wpb_single_image .vc_single_image-wrapper {
		display: block!important;
	}
	.alignright, .alignleft, .wp-block-image .alignright, .wpb_single_image.staff_head_shot img {
		float: none;
		margin: 0 auto 1rem auto!important;
		display: block;
	}
	header.entry-header h1 {
		line-height: 1;
	}
	.type-post .entry-header .entry-title a {
		font-size: 18px;
	}
	.contact_form_row {
		    padding: 50px 1rem 0px 1rem;
	}
	
	/*= Home Page
	 ******************/
	#bannercontainer .rslides li .banner-content h1 {
		font-size: 18px;
		font-size: 1.125rem;
		line-height: 1.2;
		white-space: initial;
	}
	#bannercontainer .rslides li .banner-content p {
		font-size: 18px;
		font-size: 1.125rem;
		line-height: 1.2;
		white-space: initial;
	}
	#bannercontainer .rslides li .banner-content a.button {
		font-size: 18px;
		font-size: 1.125rem;
		padding: 10px 20px 9px;
	}
	#section4.callback .site-content p,
	#section4.callback .site-content div	{
		width: 100%;
	}
	#section4.callback .site-content p {
		margin-bottom: 16px;
		margin-bottom: 1rem;
	}
	#section6.marketing_columns .col { 
		width: 100%;
	}
}


/*=iPhone 5 - Landscape (width=568px)
*******************************************************/
@media (max-width: 568px) {
	.site-title h1 {
		max-width: 80%;
	}
}

/*=Quark Breakpoint (width=520px)
*******************************************************/
@media (max-width: 520px) {
	#testimonials {
		columns: 1;
	}
}

/*=iPhone 5 - Portrait (width=320px)
*******************************************************/
@media (max-width: 320px) {

}

/*=Print Settings
*******************************************************/
@media print {
	a[href]:after{
		content:none
	}
	.menu-social-menu-top-right-container,
	.main-navigation,
	header.entry-header,
	.vc_tta-container	{
		display: none;
	}
	.course-header {
		height: auto;
	}
	
}