/*

Styles for Page Blocks

Only add styles for generic blocks here, individual styles for specific websites to go into the mian site.css

*/

/* Page Blocks */

section.odd, section.even {
	padding: 40px 0px;
}

@media (max-width:991px) {
	section.odd.imageBackgroundRow, section.even.imageBackgroundRow {
		padding-top:0px;
	}
	
	section.odd, section.even {
		padding-bottom:0px;
	}
}

@media (max-width:767px) {
	.leftPageBlock .pageBlockText, .centrePageBlock .pageBlockText {
		padding-bottom:40px;
	}
	.leftPageBlock img, .centrePageBlock img {
		padding-bottom:40px;
	}
}

section.odd.noPadSec, section.even.noPadSec {
	padding: 0px;
}

section.fullWidthSection {
	padding-left: 0px;
	padding-right: 0px
}

section.fullWidthSection .leftPageBlock img, section.fullWidthSection .rightPageBlock img, section.fullWidthSection .centrePageBlock img {
	border: 0px !important;
}

h2.pageBlockHeading {
	font-size: 36px;
	font-weight: 700;
}

p.pageBlockSubHeading {
	font-size: 20px;
	font-weight: 500;
	color: rgb(84, 89, 95);
}

.noPadSec .pageBlockHeading {
	margin-top: 40px;
}

@media (min-width:768px) {
	
	section.fullWidthSection .leftPageBlock, section.fullWidthSection .rightPageBlock, section.fullWidthSection .centrePageBlock {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	section.fullWidthSection .container-fluid .blocksTextBlock {
		padding: 50px;
	}

	section.fullWidthSection .container-fluid .pageBlockText {
		max-width:551px;
		margin: 0px auto;
	}
	
}

@media (max-width:1220px) {
	section.fullWidthSection .container-fluid .pageBlockText {
		padding:0px 20px;
	}
}

section.fullWidthSection .container-fluid h3 {
	margin-top: 24px;
}

@media (max-width:767px) {
	.homeBlocks section {
		padding-bottom:  20px;
	}
}

.headingBlock {
	margin-top: 0px;
	margin-bottom: 20px;
}

.pageBlockRow p:last-child {
	margin-bottom: 0px;
}

.leftPageBlock img, .rightPageBlock img, .centrePageBlock img {
    max-width: 100% !important;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

@media (min-width:768px) {
	.vertical-align {
		display: flex;
		align-items: center;
	}
}

@media (max-width:575px) {
	.vertical-align, .pageBlockHeading {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (max-width:767px) {
	.vertical-align {
		display: block;
	}
}

/* Background Image Section */
.whiteText {
	color:  #fff;
}

/* Accordion */
.accordion .panel {
	/*
	background-color: rgba(69, 199, 255, 0.11);
	margin-bottom: 8px;
	*/
}

.accordion .panel-heading {
	padding:10px
}

.accordion .panel-heading h5 {
	margin-bottom:0px;
}

.accordion .panel-heading h5 a {
	padding:10px;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
}

.accordion .panel-heading h5 a {
	color: rgb(51, 51, 51);
}

.accordion .panel-body {padding: 15px;}

.accordion .panel-body p, .accordion .panel-body li {
	font-size: 14px;
	font-weight: 400;
}

.accordion .accordionArrow i {
	display: inline-block;
	margin-right: 15px;
	color: rgb(51, 51, 51);
}

.accordion h5 a .accordionClosed {display: none;}
.accordion h5 a .accordionOpen {display: inline-block;}
.accordion h5 a.collapsed .accordionClosed {display: inline-block;}
.accordion h5 a.collapsed .accordionOpen {display: none;}

/* Action Blocks */

.actionBlocks .whiteBackBlock {
	padding:30px;
	background-color:#fff;
}

.actionBlocks .blockImage {
	padding-bottom:0px;
}

.gi-ofr-banners .gi-bnr-body .gi-bnr-detail h5 {color:#ececec;}
.gi-ofr-banners .gi-bnr-body .gi-bnr-detail p {color:#ccc;}

.gi-bnr-image {z-index: 1;}
.gi-bnr-detail {z-index: 3;}

.gi-ofr-banners .gi-bnr-body .gi-bnr-detail {max-width:250px;}

.actionBlockLeftFade {
	position: absolute;
	top:0px;
	left:0px;
	z-index:2;
	height:100%;
	width:50%;
	max-width: 500px;
	border-radius: 5px;
	background: #000;
	background: linear-gradient(90deg,rgba(10, 10, 30, 1) 0%, rgba(10, 10, 30, 0.7) 50%, rgba(10, 10, 30, 0) 100%);
}

@media (max-width: 767px) {
    .gi-ofr-banners .gi-bnr-body .gi-bnr-img img {
        padding-bottom: 0px !important;
    }

	.gi-ofr-banners {
		margin-bottom: 40px;;
	}

	.actionBlockLeftFade {
		width:80%;
		max-width: 80%;
	}
}

/* Parallax Treatment for sections (must have background image set) */
.parallax {

    /* Set a specific height */
    min-height: 500px;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Videos */

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	border:0px;
	width: 100%;
	height: 100%;
}

/* pb slider */
.pb_slider ul {
	list-style-type: none;
}

div[class*='col-'] .pb_slider ul {
	list-style-type: none !important;
	list-style-position: inside !important;
	margin-left: 0px !important;
}

ul.slick-dots {
	display: none !important;
}

.slick-slider {
	padding-left:0px;
}

.slick-dotted.slick-slider {
	margin-bottom:0px;
}

ul.slides {
	margin-left: 0px !important;
}

.flex-control-nav {
	bottom:  -40px;
}

.flex-direction-nav {
	display:  none !important;
}

.flex-caption {
    bottom:0px;
    color: white;
    font-size: 16px;
    line-height: 20px;
    left:0;
    padding:20px 20px;
    position:absolute;
    right:0;
    z-index:1;
	background-color:  rgba(0,0,0,0.4);
}

.imageBackgroundRow {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.imageBackgroundRow h1, .imageBackgroundRow h2, .imageBackgroundRow h3, .imageBackgroundRow h4, .imageBackgroundRow h5, .imageBackgroundRow h6, .imageBackgroundRow p {
	color: #000;
}

.imageBackgroundRow.whiteText h1, .imageBackgroundRow.whiteText h2, .imageBackgroundRow.whiteText h3, .imageBackgroundRow.whiteText h4, .imageBackgroundRow.whiteText h5, .imageBackgroundRow.whiteText h6, .imageBackgroundRow.whiteText p {
	color: #fff;
}

.imageBackgroundRow .fadeFromLeft {
	background-image: linear-gradient(to right, rgba(40,40,40,1), rgba(40,40,40,0) 60%);
}

.imageBackgroundRow .fadeFromRight {
	background-image: linear-gradient(to left, rgba(40,40,40,1), rgba(40,40,40,0) 60%);	
}

/* Tabs */
.nav-tabs {
	border-bottom:0px;
	margin-bottom: 20px;
}

.nav-tabs .nav-link {
	color: rgb(63, 73, 88);
	font-size:14px;
	font-weight:600;
	border: 1px solid rgba(118, 129, 142, 0.54);
	border-radius:10px;
	padding: 10px 20px;
	margin-right:10px;
}

.nav-tabs .nav-link:hover, .nav-tabs .nav-link.active {
	color: #495057;
    background-color: #fff;
}

.nav-tabs .nav-link:last-child {
	margin-right:10px;
}



/* Ken Burns Effect */
.kenBurns {
	overflow: hidden;
}

.kenBurns img {
	width: 100%;
	animation: move 10s ease;
	/* Add infinite to loop. */
	
	-ms-animation: move 10s ease;
	-webkit-animation: move 10s ease;
	-0-animation: move 10s ease;
	-moz-animation: move 10s ease;
	position: relative;
}
	  
@-webkit-keyframes move {
	0% {
		-webkit-transform-origin: center;
		-moz-transform-origin: center;
		-ms-transform-origin: center;
		-o-transform-origin: center;
		transform-origin: center;
		transform: scale(1.3);
		-ms-transform: scale(1.3);
		/* IE 9 */
		
		-webkit-transform: scale(1.0);
		/* Safari and Chrome */
		
		-o-transform: scale(1.0);
		/* Opera */
		
		-moz-transform: scale(1.0);
		/* Firefox */
	}
	100% {
		transform: scale(1.3);
		-ms-transform: scale(1.3);
		/* IE 9 */
		
		-webkit-transform: scale(1.3);
		/* Safari and Chrome */
		
		-o-transform: scale(1.3);
		/* Opera */
		
		-moz-transform: scale(1.3);
		/* Firefox */
	}
}


/* Google Reviews */
#reviews {
	margin-bottom:30px;
}

#reviews ul.slick-dots {
	display:block !important;
	padding-bottom:20px;
}

.gReview {
	border:1px solid #ccc;
	border-radius: 5px;
	padding-top:20px;
}

.grImage, .grText {
	width:auto;
	float:left;
}

.grImage {
	padding-right:20px;
}

.grImage img {
	width:30px;
}

.grText p, .grText h4, .grReview p {
	font-family: Arial, Helvetica, sans-serif;
	font: size 12px;
	font-weight: 400;
	line-height: 18px;
	color: rgb(28, 29, 33);
}

.grText h4 {
	font-weight: 700;
}

.grText p {margin-bottom:0px;}

.grText p span.star {
	color: #f0ad4e;
}

.grText p span.nostar {
	color: #ccc;
}

.grReview {
	padding-top:16px;
	border-top:1px solid #ccc;
}