/* cmsms stylesheet: layout modified: 02/20/17 16:10:35 */
/* Page */
body {
    overflow-x: hidden;
}
body.noscroll {
	overflow:hidden;
}

/* reset */
a,
a:hover {
	text-decoration:none;
}
* {
	padding: 0;
	margin: 0;
}
/* Fix up BS */
input[type=image] {
	width: auto;
	height: auto;
}
.img-responsive {
	width: auto;
}

/* TinyMCE editor overrides */
#tinymce h1,#tinymce h2,#tinymce h3,#tinymce h4, #tinymce,
#tinymce p,#tinymce ul li,#tinymce ol li,#tinymce p a {
    font-family: 'Verdana', sans-serif;
}
#tinymce img {
	max-width: 100%;
}

/* readmorereveal */
/*.readmorereveal {
	max-height: 3450px;  
	position: relative;
	overflow: hidden;
}

/*  .readmorereveal {
	max-height: 200px;
	position: relative;
	overflow: hidden;
}
*/

.readmorereveal .readmorereveal-btn {
	position: absolute; 
	bottom: 0; 
	left: 0;
	width: 100%; 
	text-align: center; 
	margin: 0;
	padding: 100px 0 0px; 
/*	background-image: linear-gradient(transparent, white); */
}
*/


/* tables */
section table {
	width: 100%;
	border-collapse:collapse;
}
section table tr th,
section table tr td,
section table thead tr th,
section table tbody tr td {
	padding: .2em;
}
section table tr td .multi {
	overflow: auto;
}
section table tr td .multi .form-control {
	width: 75%;
	float: right;
}

/* viewtable */
.dataTables_scrollHeadInner {
	padding-left: 0px !important;
}
.viewtable thead .sorting:after, .viewtable thead .sorting_asc:after, .viewtable thead .sorting_desc:after,
.viewtable thead .sorting_asc_disabled:after, .viewtable thead .sorting_desc_disabled:after {
	bottom: 2px !important;
	right: 2px !important;
}
.badgebutton {
	margin-right: 10px;
	float: left;
	position:relative;
}

/* badges */
.badge-notify {
	position:absolute;
	right: -5px;
	bottom: -5px;
}

/* breadcrumbs */
section .breadcrumb {
	padding: 0;
	margin: 0;
	background-color: transparent;
}
section .breadcrumb > li + li:before {
    content: ">";
}

/* content defaults */
blockquote {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: none;
	margin: 0px 0px 20px 0px;
	padding: 0.25em 40px;
	line-height: 1.45;
	position: relative;
}
blockquote:before {
	display: block;
	content: "\201C";
	font-size: 80px;
	position: absolute;
	left: 0px;
	top: -20px;
}
blockquote cite {
	display: block;
	margin-top: 5px;
}
blockquote cite:before {
	content: "\2014 \2009";
}
section blockquote,section .testimonials p {
	font-family: Georgia, serif;
	font-style: italic;
}

ul.multicolumn {
	overflow:hidden;
	padding: 0px;
	margin: 0px 0px 20px 0px;
}
ul.multicolumn li {
	float:left;
	display:inline;
	padding: 0px;
	margin: 0px;
	border-bottom: 1px solid #f0f0f0;
}
ul.double li  { width:50%;}
ul.triple li  { width:33.333%; }
ul.quad li    { width:25%; }

/* Testimonial */
.testimonials p {
	background: #d1d1d1;
	border-radius: 5px;
	margin-bottom: 25px;
	padding: 20px;
	position: relative;
}
.testimonials p:after {
	border-top: 22px solid ;
	border-left: 0px solid transparent;
	border-right: 22px solid transparent;
	left: 60px;
	bottom: -22px;
	width: 0;
	height: 0;
	content: "";
	display: block;
	position: absolute;
	border-top-color: #d1d1d1;
	border-left-style: inset;
	border-right-style: inset;
}
.testimonials .testimonial-info {
  min-height: 60px;
}
.testimonials .testimonial-info span {
  color: #000000;
}
.testimonials .testimonial-info span em {
  color: #777;
  display: block;
}
.testimonials .testimonial-info img {
  border: 4px solid #d1d1d1;
  float: left;
  height: 60px;
  margin-right: 15px;
  padding: 2px;
  width: 60px;
}
.testimonials .carousel-indicators {
  bottom: 46px;
  left: auto;
  right: 80px;
  width: auto;
}
.testimonials .carousel-indicators li {
  border-color: #b3b3b3;
}
.testimonials-arrows {
  bottom: 57px;
  left: auto;
  right: 37px;
  width: auto;
  position: absolute;
}
.testimonials-arrows a {
  color: #b3b3b3;
}
.testimonials-bg-primary p {
  background: #3c3343;
  color: #ffffff;
}
.testimonials-bg-primary p:after {
  border-top-color: #3c3343;
}
.testimonials-bg-light p {
  background: #ffffff;
}
.testimonials-bg-light p:after {
  border-top-color: #ffffff;
}
.testimonials-bg-dark p {
  background: #27212c;
  color: #FFFFFF;
}
.testimonials-bg-dark p:after {
  border-top-color: #27212c;
}

/* special formating */
.removemargin p:last-child,
.removemargin .form-group:last-child {
	margin-bottom: 0px;
}

/* Embeded content */
.embed-responsive-map {
	width: 100%;
	height: 300px;
}
.embed-responsive-socialfeed {
	width: 100%;
	height: 600px;
}

/* Header */
header.coverpage {
    text-align: center;
}

/* Navigation */
.navstyle1,
.navstyle2,
.navstyle3,
.navstyle4,
.navstyle5,
.navstyle6 {
	min-height: 0px;
	margin: 0px;
}
.navstyle1 nav,
.navstyle2 nav,
.navstyle3 nav,
.navstyle4 nav,
.navstyle5 nav,
.navstyle6 nav {
	border: none;
	min-height: 0px;
	border-radius: 0px;
	margin: 0px;
}
.navstyle1 .navbar-brand,
.navstyle2 .navbar-brand {
	margin: 0px;
	padding: 0px 0px 0px 10px;
	height: auto;
}
.navstyle1 .navbar-brand {
	padding-top: 10px;
}

.yamm .nav,
.yamm .dropup,
.yamm .dropdown,
.yamm .collapse {
  position: static;
}
.yamm .navbar-inner,
.yamm .container {
  position: relative;
}
.yamm .dropdown-menu {
  left: auto;
}
.yamm .dropdown-menu > li {
  display: block;
}
.yamm .dropdown-submenu .dropdown-menu {
  left: 100%;
}
.yamm .nav.pull-right .dropdown-menu {
  right: 0;
}
.yamm .yamm-content {
  padding: 20px 30px;
  *zoom: 1;
}
.yamm .yamm-content:before,
.yamm .yamm-content:after {
  display: table;
  content: "";
  line-height: 0;
}
.yamm .yamm-content:after {
  clear: both;
}
.yamm.navbar .nav > li > .dropdown-menu:after,
.yamm.navbar .nav > li > .dropdown-menu:before {
  display: none;
}
.yamm .dropdown.yamm-fullwidth .dropdown-menu {
  width: 100%;
  left: 0;
  right: 0;
}
@media (max-width: 969px) {
  .yamm .dropdown.yamm-fullwidth .dropdown-menu {
    width: auto;
  }
  .yamm .yamm-content {
    padding-left: 0;
    padding-right: 0;
  }
  .yamm .dropdown-menu > li > ul {
    display: block;
  }
}

/* nav-stacked */
ul.nav-stacked {
	list-style-type:none;
	margin: 0px;
	padding: 0px;
}
ul.nav-stacked li {
	margin: 0px;
	padding: 0px;
}
ul.nav-stacked li ul {
	list-style-type:none;
	margin: 0px;
	padding: 0px;
}
ul.sidenav {
	margin: 0;
	padding: 0;
}

/* make sidebar nav vertical */ 
@media (min-width: 768px) {
	header.coverpage {
		color: #fff;
		background-attachment: fixed;
		background-position: center center;
		background-repeat: none;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		background-size: cover;
		-o-background-size: cover;
	}	
}

/* sections */
section.flush .container {
	padding-left: 0px;
	padding-right: 0px;
}
section.shaded {
	box-shadow:	inset 0px 20px 20px -7px rgba(0,0,0,0.1);
}
section.shaded .container {
	background-color: transparent;
}
section.boxed {
	background-color: transparent;
}
section {
	padding: 0px;
	margin: 0px;
}
section.parallax {
	background-position: 50% 0%;
    background-attachment: fixed;
    background-repeat: repeat;
	background-size:100% 100%;
/*
	background-size: 50% 0;
	height: auto; 
	margin: 0 auto;
	position: relative;
	padding: 100px 0;
*/
}
.section-diamondmenu {
	padding: 0px;
}
.hoverlink:hover {
	cursor: pointer;
}
header.boxed .container,
footer.boxed .container,
section.boxed .container {
	background-color: white;
}
.diamondswrap .iteminfo {
	width: 100%;
	height: 100%;
	cursor: pointer;
	padding-top: 100px;
	color: white;
	-webkit-opacity: 0;
	-moz-opacity: 0;
	opacity: 0;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}
.diamondswrap .item:hover .iteminfo {
	-webkit-opacity: 1;
	-moz-opacity: 1;
	opacity: 1;
}
.diamondswrap .iteminfo:hover {
	background: rgba(0, 0, 0, 0.7);
}
.diamondswrap .item {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0% 0;
    background-position: center center;
    background-size: 400px;
/*    background-size: cover; */
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
.diamonds {
	width: 2000px;	
	position: relative;
	left: -200px;
	top: -200px;
	text-align: center;
	overflow: visible;
	white-space: nowrap;
	display: inline-block;
}

.diamond-row-wrap {
    text-align: center;
    position: relative;
    float: left;
    clear: both;
}
.diamond-row-upper, .diamond-row-lower {
    overflow: visible;
    clear: both;
    width: 100%;
}
.diamond-row-lower {
    position: absolute;
    bottom: 0;
}
.diamond-row-lower .diamond-box {
	margin-left: 64.644660941%; /* 1 - 1 / sqrt(2) / 2 */
	margin-top: 64.644660941%;
}

.diamond-box-wrap {
    float: left;
}
.diamond-box {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

    overflow: hidden;
    
    position: relative;
    z-index: 1;
    
    width: 70.710678118%; /* x = sqrt(x^2 / 2) = 1 / sqrt(2) = 0.70710678118 */
    height: 70.710678118%;
    margin: 14.644660941%;
    
    border: 1px solid transparent;
}

.diamond-box-inner {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);

    -webkit-transform-origin: center center;
    -moz-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    
    width: 141.421356237%; /* sqrt(2) */
    height: 141.421356237%;
    margin: -20.7106781185% 0 0 -20.7106781185%; /* (1 - sqrt(2)) / 2 */
}

/* Carousels */
.sequencecontainer {
    position: relative;
	overflow: hidden;
}
.sequencecontainer > .sequence-canvas li > * {
    position: absolute;
}
.sequencecontainer > .sequence-canvas { 
    height: 100%; 
    width: 100%;
	padding: 0px;
	margin: 0px;
}
.sequencecontainer > .sequence-canvas > li { 
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
	padding: 0px;
	margin: 0px;
}
.animate-in .framespeed,
.animate-out .framespeed {
    -webkit-transition-duration: .25s;
    -moz-transition-duration: .25s;
    -o-transition-duration: .25s;
    -ms-transition-duration: .25s;
    transition-duration: .25s;
}

/* isotope */
.isotopegrid .item .item-wrap {
	position:relative;
	overflow:hidden;
	margin-bottom: 20px;
}
.isotopegrid .item .item-wrap .caption {
	position:absolute;
	top:0;
	background:rgba(50, 50, 50, 0.25);
	height:100%;
	width:100%;
	right:0;
	display: none;
	text-align:center;
	color:#fff !important;
	z-index:2;
}
.isotope,
.isotope .item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}
.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}
.isotope .item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:         top, left, opacity;
          transition-property:         transform, opacity;
}

.multiitemcarousel {
	overflow: hidden;
}
.multiitemcarousel .carousel-control.left,
.multiitemcarousel .carousel-control.right {
    background-image: none;
	width: 40px;
}
.multiitemcarousel .carousel-control.left {
	left: 0px;
}
.multiitemcarousel .carousel-control.right {
	right: 15px;
}
.multiitemcarousel .carousel-control .glyphicon {
	font-size: 50px;
}
.multiitemcarousel .carousel-inner {
	width: auto;
	margin-left: 50px;
	margin-right: 50px;
}
/* Fade in and out slides */
.carousel-fade .carousel-inner .item {
	opacity: 0;
	transition-property: opacity;
	transition-duration: 1s;
	transition-timing-function:linear;
}
.carousel-fade .carousel-inner .active {
	opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
	left: 0;
	opacity: 0;
	z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
	opacity: 1;
}

.carousel-fade .carousel-control {
	z-index: 2;
}
.listcarousel {
}
.listcarousellist {
	list-style:none;
	padding: 0px;
	margin: 0px;
}
.listcarousellist li {
	padding: 10px;
	margin: 0px;
	border-bottom: 1px solid red;
}
.listcarousellist li.active {
	background-color: #666666;
}
/* carousel - thumbnails */
.thumbcarousel {
	position: relative;
}
.thumbcarousel .carousel-inner .item {
	margin-bottom: 80px;
	overflow: hidden;
}
.thumbcarousel .carousel-inner .item img {
	height: 300px;
}
.thumbcarousel .carousel-inner .item img {
	margin: 0 auto;
	text-align:center;
}
.thumbcarousel .carousel-indicators {
	position: absolute;
	left: 0;
	bottom: 0;
    overflow: auto;
    width: 100%;
	margin: 0px;
	padding: 0px;
	text-align:left;
}
.thumbcarousel .carousel-indicators li {
    background-color: transparent;
    -webkit-border-radius: 0;
    border-radius: 0;
    display: inline-block;
    height: 60px;
    width: auto;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
}
.thumbcarousel .carousel-indicators li img {
    display: block;
    opacity: 0.5;
	margin: 0px;
	padding: 0px;
    height: 60px;
}
.thumbcarousel .carousel-indicators li.active img {
    opacity: 1;
}
.thumbcarousel .carousel-indicators li:hover img {
    opacity: 0.75;
}

@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}

/* back to top */
#back-top a{position:fixed;bottom:30px;right:30px;color:#eee;background-color:rgba(0,0,0,0.3);-webkit-transition:all .25s ease;-moz-transition:all .25s ease;-ms-transition:all .25s ease;-o-transition:all .25s ease;transition:all .25s ease;padding:10px;border-radius:5px;text-align:center}
#back-top a:hover{background-color:rgba(0,0,0,0.7)}

/* buttons and icons */
.btn {
display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;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:4px;
}
ul.largesocialicons {
    margin-bottom: 0;
}
ul.largesocialicons li a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 40px;
    outline: 0;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}
.icon-large:hover{ 
    filter: grayscale(90%);
    -webkit-filter: grayscale(90%);
    filter: none;
}

/* content animation */
.animateblock img.img-responsive,
.animate {
    opacity:0;
}
/* forms */
.form-group.required label:after {
	font-family: 'FontAwesome';
	content: " \f069";
	vertical-align:top;
}
.form-group input[type=text],
.form-group input[type=checkbox],
.form-group input[type=radio],
.form-group select,
.form-group input[type=password] {
	height: auto;
}
.form-group textarea.form-control {
	height: 8em;
}
input[type=checkbox],
input[type=radio] {
	width: 20px;
	height: 20px;
	float: left;
	margin-right: 10px;
}
.form-subfields {
	overflow: auto;
	width: 100%;
}
.form-subfields select {
	margin-right: 20px;
	width: auto;
	float: left;
}
form h1,form h2,form h3,form h4 {
	text-align:center;
}
/* content */
section br {
	clear: both;
}

/* images - gallery */
.gallery {
	overflow: hidden;
}
.modal.fade .modal-dialog {
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    transform: scale(0.1);
    top: 300px;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.modal.fade.in .modal-dialog {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translate3d(0, -300px, 0);
    transform: translate3d(0, -300px, 0);
    opacity: 1;
}
.imggogrey:hover{ 
	-webkit-filter: grayscale(90%);
	-webkit-filter: grayscale(1);
	filter: grayscale(90%);
	filter: gray;
}
.imggocoloured {
	-webkit-filter: grayscale(90%);
	-webkit-filter: grayscale(1);
	filter: grayscale(90%);
}
.imggocoloured:hover {
	-webkit-filter: grayscale(0%);
	-webkit-filter: grayscale(0);
	filter: none;
}

.imagebutton {
	position: relative;
}
.imagebutton .zoom {
    overflow: hidden;
}
.imagebutton .zoom img {
    -webkit-transition: all .5s ease; /* Safari and Chrome */
  	-moz-transition: all .5s ease; /* Firefox */
  	-o-transition: all .5s ease; /* IE 9 */
  	-ms-transition: all .5s ease; /* Opera */
  	transition: all .5s ease;
	z-index: 5;
}
.imagebutton:hover .zoom img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform:translateZ(0) scale(1.20); /* Safari and Chrome */
    -moz-transform:scale(1.20); /* Firefox */
    -ms-transform:scale(1.20); /* IE 9 */
    -o-transform:translatZ(0) scale(1.20); /* Opera */
    transform:translatZ(0) scale(1.20);
}
.imagebutton .captionlower {
	position: absolute;
	bottom: 0px;
	z-index: 10;
	width: 100%;
}
.imagebutton .captioncentred {
	width: 100%;
	height: 100%;
	z-index: 10;
	position: absolute;
	top: 0px;
	text-align: center;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	justify-content: center;
}

.flipcard {
border: 1px solid red;
  width: 100%;
  height: auto;
  position: absolute;
  -webkit-transition: -webkit-transform 1s;
	 -moz-transition: -moz-transform 1s;
	   -o-transition: -o-transform 1s;
		  transition: transform 1s;
  -webkit-transform-style: preserve-3d;
	 -moz-transform-style: preserve-3d;
	   -o-transform-style: preserve-3d;
		  transform-style: preserve-3d;
}

.flipcard.flipped {
  -webkit-transform: rotateY( 180deg );
	 -moz-transform: rotateY( 180deg );
	   -o-transform: rotateY( 180deg );
		  transform: rotateY( 180deg );
}

.flipcard figure {
  display: block;
  height: 100%;
  width: 100%;
  text-align: center;
  position: absolute;
  -webkit-backface-visibility: hidden;
	 -moz-backface-visibility: hidden;
	   -o-backface-visibility: hidden;
		  backface-visibility: hidden;
}

.flipcard .flipcardfront {
}

.flipcard .flipcardback {
  -webkit-transform: rotateY( 180deg );
	 -moz-transform: rotateY( 180deg );
	   -o-transform: rotateY( 180deg );
		  transform: rotateY( 180deg );
}
/* links */
.btn-tiny,.btn-small,.btn-large {
	transition: all 0.3s ease 0s;
}

/* images */
section p[style*="text-align: center"] img {
	display: inline;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 20px;
}
.imgcircle {
	overflow: hidden;
	border-radius: 50%;
	width: 200px;
	height: 200px;
	margin: 0 auto;
	position: relative;
}
.imgcircle div {
	padding: 30px 30px;
}
.imgcircle img {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	-ms-transform:translateY(-50%) translateX(-50%);
	-moz-transform:translateY(-50%) translateX(-50%);
	width: auto;
	height: 200px;
}
.hoverborder1 .hoverborder,
.hoverborder1:hover .hoverborder {
	border-width: 4px;
	border-style: solid;
}
.hoverborder1 .hoverborder {
	transition: border 200ms ease-in-out;
}
.hoverborder2 .imgcircle {
	position: relative;
}
.hoverborder2 .imgcircle .hoverborder {
	border-radius: 50%;
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
	transition: box-shadow 200ms ease-in-out;
	pointer-events: none;
}

/* Extra Small Devices, Phones col-xs- */ 
/* content */
header.coverpage .coverpageinner {
	padding-top: 80px;
	padding-bottom: 70px;
}
#back-top a i{font-size:1em}

/* Small Devices, Tablets col-sm- */
@media only screen and (min-width : 768px) {
	#back-top a i{font-size:3em}
	header.coverpage .coverpageinner {
		padding-top: 150px;
		padding-bottom: 150px;
	}
	.navbar-default .dropdown:hover>.dropdown-menu {
		display: block;
	}
}

/* Medium Devices, Desktops - col-md- */
@media only screen and (min-width : 992px) {
	header.coverpage .coverpageinner {
		padding-top: 250px;
		padding-bottom: 250px;
	}
}

/* Large Devices, Wide Screens - col-lg- */
@media only screen and (min-width : 1200px) {
}
/* cmsms stylesheet: styles modified: 04/26/17 15:37:15 */
/*
	#005caa - blue
	#56a632 - green
}
*/
* {
/*   	border: 1px dashed red;  */
}
/* base document properties */
body {
    background-color: white;
    font-family: 'Questrial',Helvetica,Arial,sans-serif;
}

/* type size - variable across devices */
body { font-size: 14px; line-height: 1.5; }
@media only screen and (min-width : 768px ) { body { font-size: 14px; } }
@media only screen and (min-width : 992px ) { body { font-size: 15px; } }
@media only screen and (min-width : 1200px) { body { font-size: 17px; } }

/* type size - fixed across all devices */
{body  font-size: 12px; line-height: 1.3;  }

/* clear margins on headings */
#tinymce h1,#tinymce h2,#tinymce h3,#tinymce h4,#tinymce h5,#tinymce h6,
section h1,section h2,section h3,section h4,section h5,section h6{
	clear: both;
}
/* fonts and weights */
section h1,section h2,section h3,section h4,section h5,section h6,
.modal h2,.modal h3 {
	font-weight: 400;
	line-height: 1.3;
}
section h1 strong,section h2 strong,section h3 strong,section h4 strong,section h5 strong,section h6 strong,
section p strong,
.alert span,
section table thead tr th,section table tr th,
section .breadcrumb > li + li:before {
	font-weight: 700;
}

/* typesizes */
section p,section p a,section p a:hover,.form-group,
section ul li,section ol li,
.modal p,.modal p a,
section blockquote,section .testimonials p,section blockquote cite,
section .alert,
section table thead tr th,section table tbody tr td,section table tr th,section table tr td,
.btn-tiny, .btn-small, .btn-large
{
	font-weight: 400;
	font-size: 1em;
}
section .form-group label,section .form-group .control-label,section .form-group .form-control,
section .dataTables_wrapper label,section .dataTables_wrapper .dataTables_info,section .dataTables_wrapper select, section .dataTables_wrapper input
{
	font-weight: 400;
	font-size: 1em;
}
section .form-group .control-label {
	padding-top: 0.3em;
}
section .form-group .form-control {
	padding: 0.3em;
}
.form-group.required label:after {
	font-size: 0.6em;
}
#tinymce h1,
section h1 {
	font-size: 2em;
	margin: 0 0 0.2em 0;
}
#tinymce h2,
section h2 {
	font-size: 1.8em;
	margin: 0 0 0.2em 0;
}
#tinymce h3,
section h3 {
	font-size: 1.6em;
	margin: 0 0 0.4em 0;
}
#tinymce h4,
section h4 {
	font-size: 1.5em;
	margin: 0 0 0.4em 0;
}
#tinymce h5,
section h5 {
	font-size: 1.4em;
	margin: 0 0 0.4em 0;
}
#tinymce h6,
section h6 {
	font-size: 1.25em;
	margin: 0 0 0.4em 0;
}
section .breadcrumb li {
	font-size: .75em;
}
section table,
#tinymce p,#tinymce ul,#tinymce ol,
section p,section ul,section ol,
section .breadcrumb, section .readmorereveal {
	margin-bottom: 1em;
}
#tinymce ul,#tinymce ol,
section ul,section ol {
	margin-left: 2em;
}
#tinymce ul li,#tinymce ol li,
section ul li,section ol li {
	padding: 0 0 0.5em 0.3em;
}
#tinymce ul li:last-child,#tinymce ol li:last-child,
section ul li:last-child,section ol li:last-child {
	padding-bottom: 0;
}
.btn-tiny, .btn-tiny:hover {
	font-size: 1em;
	line-height: 1;
	padding: .3em;
	margin-right: 0.3em;
}
.btn-small, .btn-small:hover {
	font-size: 1.2em;
	line-height: 1;
	padding: .4em;
	margin-right: 0.4em;
}
.btn-large, .btn-large:hover {
	font-size: 1.4em;
	line-height: 1;
	padding: .4em;
	margin-right: 0.4em;
}
.alert {
	font-size: 1em;
	padding: .8em;
}
footer,
footer ul li,footer ol li,
footer p {
	font-size: 1em;
	line-height: 1em;
}
/* section [default] - colours */
section {
	background-color: transparent;
}
section .container,
section .container-fluid {
	background-color: transparent;

}
.coverpageinner h2,
.coverpageinner h3,
.coverpageinner h3 a {
	color: white;
}

#tinymce h1 {
	color: #56a632;
        font-weight: normal;
}
section h1 {
	color: #56a632;
}
#tinymce h2 {
	color: #005caa;
        font-weight: normal;
}
section h2,
.modal h2 {
	color: #005caa;
	text-transform:uppercase;
}
#tinymce h3 {
	color: #56a632;
        font-weight: normal;
}
section h3,
.modal h3 {
	color: #56a632;
}
#tinymce h4 {
	color: yellow;
        font-weight: normal;
}
#tinymce h5 {
	color: #57ac47;
        font-weight: normal;
}
#tinymce h6 {
	color: #57ac47;
        font-weight: normal;
}
section h4 {
	color: yellow;
}
section h5 {
	color: #57ac47;
}
section h6 {
	color: #57ac47;
}
section blockquote {
	background-color: rgba(128,128,128,.1);
}
#tinymce p,#tinymce ul li,#tinymce ol li {
    color: black;
    font-weight: 400;
    font-size: 1em;
}
section p,
section ul li,
section ol li,
section .form-group,
.modal p,
section table tbody tr th,
section table tbody tr td,
section blockquote,
section blockquote:before,
section blockquote cite,
section .breadcrumb li.active,
section .breadcrumb > li + li:before {
	color: black;
}
section .form-group,
section .form-group .form-control,
section .dataTables_wrapper label,
section .dataTables_wrapper select, section .dataTables_wrapper input,
section .dataTables_wrapper .dataTables_info {
	color: green;
}
section .form-group .control-label {
	color: green;
	font-weight: 700;
}

.form-group.required label:after {
	color: red;
}

#tinymce a,
section a {
	color: #005caa;
}
section a:hover {
	color: #005caa;
}

.btn-tiny,
.btn-small,
.btn-large {
	background-color: #56a632;
	border-color: #56a632;
	color: white;
}
.btn-tiny:hover,
.btn-tiny:focus,
.btn-tiny:active,
.btn-tiny.active,
.btn-small:hover,
.btn-small:focus,
.btn-small:active,
.btn-small.active,
.btn-large:hover,
.btn-large:focus,
.btn-large:active,
.btn-large.active {
	background-color: #56a632;
	border-color: #56a632;
	color: #005caa;
}
section table tr th,
section table thead tr th,
section table tbody tr td {
/*	border: 1px solid #cccccc; */
	border: 1px solid #fff;
}
section table thead tr th,
section table tr th {
	background-color: #CCCCCC;
}
section table .clickable:hover {
	background-color: #DDDDDD;
	cursor: pointer;	
}
/*
section table tr:nth-child(odd) {
	background-color: #EEEEEE;
} */

/* content styles */
#tinymce .textstyle-red,
.textstyle-red {
	color: red;
}
.badge-notify {
   background:red;
}

.fancyborder {
	clear: both;	
	list-style: none;
	margin: 0px;
	padding: 0px;
}
.fancyborder.blueinner {
	margin-top: 15px;
	width: 100%;
}
.fancyborder li {
	text-align:center;
	margin: 0px;
	padding: 0px;
	border: 0px solid green;
}
.fancyborder li a {
	color: white;
	margin: 0 auto;
	display:block;
	z-index: 30;
}
.heroimage,
.fancyborder.image li {
	background-repeat: no-repeat;
    background-size: 100%;
}
.fancyborder.blue li,
.fancyborder.blueinner li {
	background-color: #005caa;
}
.fancyborder.blueinner li {
	width: 50%;
}
.heroimage {
	text-align: right;
	color: white;
	font-size: 1.2em
}

/* ustore styles */
ul.productlist {
	list-style: none;
	padding: 0px;
	margin-left: 0px;
}

/* global - image treatment */
#tinymce img,
section img.pull-left,
section img.pull-right,
.btn-small,
.btn-large,
.multiitemcarousel .img-responsive,
.gallery {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
#tinymce img,
section img.pull-left,
section img.pull-right,
.gallery,
section img.niceborder {
/*
	-webkit-box-shadow: 0 0 3px 1px rgba(0, 0, 0, .2);
	box-shadow: 0 0 3px 1px rgba(0, 0, 0, .2);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: 3px solid #fafafa;
*/
}
#tinymce img[style*="float: left"] {
	margin-right: 15px;
	margin-bottom: 15px;
}
#tinymce img[style*="float: right"] {
	margin-left: 15px;
	margin-bottom: 15px;
}
section img.img-icon {
	margin-top: 10px;
	margin-bottom: 10px;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: none !important;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}


/* global carousel - dynamicwidecarousel */
.dynamicwidecarousel .item img {
	width: 100%;
	height: auto;
}
.dynamicwidecarousel .overlay {
	position: absolute;
	z-index: 1000;
	right: 0px;
	width: 100%;
}

/* global carousel - widecarousel */
.widecarousel {
	border-bottom: 5px solid #a2bb5a;
}
.widecarousel .overlay {
	position: absolute;
	z-index: 1000;
	right: 0px;
	height: 100%;
}
.widecarousel .item {
	height: 150px;
	overflow: hidden;
}
.widecarousel .item img {
	width: 100%;
	height: auto;
}

/* global carousel - innercarousel */
.innercarousel .overlay {
	position: absolute;
	z-index: 1000;
	right: 0px;
	height: 100%;
}
.innercarousel .item {
	max-height: 300px;
	overflow: hidden;
}
.innercarousel .item img {
	width: 100%;
	height: auto;
}

/* navigation - font and colours */
.navbar-default .navbar-nav > li > a {
	color: black;
	font-size: 1em;
	padding: 0.5em;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	color: #005caa;
}
.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus {
	color: #56a632;
	background-color: transparent;
}
.navbar-default .navbar-nav .caret {
	color: black;
}
.navbar-default .navbar-toggle {
	border-color: #56a632;
	border-width: 3px;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
	background-color: #005caa;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #56a632;
	height: 3px;
}
.navbar-default .dropdown-menu {
	background-color: #005caa;
	width: auto;
	overflow: auto;
}
.navbar-default .dropdown-menu li {
	width: auto;
	padding: 0;
}
.navbar-default .dropdown-menu li.active a {
	color: white;
	background-color: transparent;
}
.navbar-default .dropdown-menu li:hover a {
	text-decoration:underline;
}
.navbar-default .dropdown-menu li a {
	color: white;
	background-color: transparent;
	font-size: 1em;
	padding: 0.3em;
}

/* navigation - navstyle2 */
.navstyle2 {
	border-top: 16px solid #005caa;
	background-color: white;
	padding: 30px 0px 30px 0px;
}
.navstyle2 nav {
	background-color: transparent;
        font-size: 25px;
}
.navstyle2 .navbar-brand {
	margin: 0px;
	padding: 0px;
	float: left;
}
.navstyle2 .navbar-collapse {
	clear: both;
}
.navstyle2 .navbar-logo {
	background-color: #56a632;
	text-align:center;
	float: left;
	margin: 0px 0px 0px 15px;
	padding: 0px;
	border: 0px solid green;
}
.navstyle2 .navbar-logo a {
	margin: 0 auto;
	display:block;
}
.navstyle2 .navbar-logo a img {
	width: 70%;
}
.navstyle2 .navbar-toggle {
	margin-top: 20px;
	float: right;
}

/* Footer */
footer p {
	margin: 0px;
}
.footerrow1 {
	background-color: white;
}
.footerrow2 {
	background-color: #56a632;
}
.footerrow2 p {
	color: white;
	font-size: 4em;
}
.footerrow3 {
	background-color: white;
}
.footerrow3 p {
	color: black;
}

/* isotope */
.isotopegrid .item .item-wrap .caption {
	padding: 20% 5%;
}
.isotopegrid .item .caption h3,
.isotopegrid .item .caption h3 a,
.isotopegrid .item .caption h3 a:hover {
	font-size: 12px;
	line-height: 14px;
	color: white;
	margin-bottom: 5px;
}

/* ------------------ Extra Small Devices, Phones col-xs- ------------------ */ 
/* sections */
section.container,
section.parallax .container,
section.alternate .container {
	padding-top: 20px;
	padding-bottom: 20px;

}
/* content */
section img.pull-right {
	margin-bottom: 10px;
}
section img.pull-left {
	margin-bottom: 10px;
}
.imagebutton .captionlower {
	padding: 5px;
}
.imagebutton .captionlower a {
	font-size: 20px;
}
.imagebutton .captioncentred {
	padding: 20px;
}
.imagebutton .captioncentred a {
	font-size: 35px;
	line-height: 40px;
}
.tagline {
	width: 100%;
	padding-right: 15px;
text-align: right;
}

.navstyle2 .navbar-logo,
.fancyborder li,
.fancyborder.image li a {
	border-radius: 22px 0px 22px 0px;
	-moz-border-radius: 22px 0px 22px 0px;
	-webkit-border-radius: 22px 0px 22px 0px;
}
.navstyle2 .navbar-logo,
.fancyborder.image li {
	width: 140px;
}
.fancyborder.image li {
	margin-right: 10px;
	margin-bottom: 10px;
	float: left;
}
.fancyborder.image li a {
	padding: 30px 0px;
}
.fancyborder.image li a {
	background: rgba(0,0,0,0.2);
}
.fancyborder.blue li a {
	padding: 20px 0px;
}
.fancyborder.blueinner li a {
	padding: 10px 0px;
}
.fancyborder.blueinner li,
.fancyborder.blue li {
	margin-bottom: 15px;
}

/* footer */
.footerrow1 {
	padding-top: 22px;
	padding-bottom: 22px;
}
.footerrow2 {
	padding-top: 25px;
	padding-bottom: 25px;
}
.footerrow3 {
	padding-top: 10px;
	padding-bottom: 10px;
}

/* ------------------ Mobile overrides ------------------ */
@media only screen and (max-width : 768px) {
	#tinymce img[style*="float: left"],
	#tinymce img[style*="float: right"],
	section img.pull-right,
	section img.pull-left {
		width: 100%;
		float: none;
       	         }
         .fancyborder li a { font-size: 12px;}
         }
/* ------------------ Small Devices, Tablets col-sm- ------------------*/
@media only screen and (min-width : 768px) {
	/* sections */
	section .container,
	section.parallax .container,
	section.alternate .container {
		padding-top: 0px;
		padding-bottom: 0px;
	}

	/* navstyle2 */
	.navstyle2 .navbar-collapse {
		clear: none;
	}
	.navstyle2 .navbar-header {
		width: 100%;
	}
	.navstyle2 .navbar-brand {
		width: auto;
	}
	.navstyle2 .navbar-nav {
		padding-top: 25px;
	}
.navstyle2 .navbar-logo,
.fancyborder li,
	/* carousel - widecarousel */
	.widecarousel .item {
	/*	height: 250px;*/
	}
	/* carousel - thumbnails */
	.thumbcarousel .carousel-inner .item img {
		height: 250px;
	}
	/* content */
	#tinymce img[style*="float: left"],
	#tinymce img[style*="float: right"],
	section img.pull-left,
	section img.pull-right {
		width: initial;
		max-width: 300px;
	}
	section img.pull-right {
		margin-left: 15px;
		margin-bottom: 15px;
	}
	section img.pull-left {
		margin-right: 15px;
		margin-bottom: 15px;
	}
	.imagebutton .captionlower {
		padding: 5px;
	}
	.imagebutton .captionlower a {
		font-size: 16px;
	}
	.imagebutton .captioncentred {
		padding: 20px;
	}
	.imagebutton .captioncentred a {
		font-size: 35px;
		line-height: 40px;
	}
	.fancyborder li {
		float: left;
	}
	.navstyle2 .navbar-logo,
	.fancyborder li,
	.fancyborder.image li a {
		border-radius: 22px 0px 22px 0px;
		-moz-border-radius: 22px 0px 22px 0px;
		-webkit-border-radius: 22px 0px 22px 0px;
                font-size: 12px;         
	}
	.navstyle2 .navbar-logo,
	.fancyborder.image li {
		width: 162px;
	}
	.heroimage {
		margin-bottom: 10px;
	}
	.fancyborder.image li a {
		padding: 45px 0px;
	}
	.fancyborder.blue li {
		width: 24%;
		margin-left: 1%;
	}
	.fancyborder.blue li:first-child {
		margin-left: 0px;
	}
	.fancyborder.blue li {
		margin-bottom: 0px;
	}
	.fancyborder.blue li a {
		padding: 20px 0px;
	}
	.fancyborder.blueinner li a {
		padding: 10px 0px;
	}
	.heroimage {
		border-radius: 0px 22px 0px 22px;
		-moz-border-radius: 0px 22px 0px 22px;
		-webkit-border-radius: 0px 22px 0px 22px;
		padding: 18px;
		height: 200px;
	}
		
	/* footer */
	.footerrow1 {
		padding-top: 22px;
		padding-bottom: 22px;
	}
	.footerrow2 {
		padding-top: 25px;
		padding-bottom: 25px;
	}
	.footerrow3 {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

/* ------------------ Medium Devices, Desktops - col-md- ------------------*/
@media only screen and (min-width : 992px) {
	/* navstyle2 */
	.navstyle2 .navbar-nav {
		padding-top: 35px;
	}
	/* content */
	.fancyborder.image li a {
		background: none;
	}
	.fancyborder.image li:hover a {
		background: rgba(0,0,0,0.5);
	}
	.fancyborder.image li a span {
		visibility: hidden;
	}
	.fancyborder.image li:hover a span {
		visibility: visible;
	}
	#tinymce img[style*="float: left"],
	#tinymce img[style*="float: right"],
	section img.pull-left,
	section img.pull-right {
		max-width: 500px;
	}
	section img.pull-right {
		margin-left: 20px;
		margin-bottom: 20px;
	}
	section img.pull-left {
		margin-right: 20px;
		margin-bottom: 20px;
	}
	.navstyle2 .navbar-logo,
	.fancyborder li,
	.fancyborder.image li a {
		border-radius: 32px 0px 32px 0px;
		-moz-border-radius: 32px 0px 32px 0px;
		-webkit-border-radius: 32px 0px 32px 0px;
                font-size: 14px;    
	}
	.navstyle2 .navbar-logo,
	.fancyborder.image li {
		width: 220px;
	}
	.heroimage {
		margin-bottom: 10px;
	}
	.fancyborder.image li a {
		padding: 50px 0px;
	}
	.fancyborder.blue li a {
		padding: 30px 0px;
	}
	.fancyborder.blueinner li a {
		padding: 15px 0px;
	}
	
	.heroimage {
		border-radius: 0px 32px 0px 32px;
		-moz-border-radius: 0px 32px 0px 32px;
		-webkit-border-radius: 0px 32px 0px 32px;
		padding: 20px;
		height: 280px;
	}
	
	/* carousel - widecarousel */
	.widecarousel .item {
		height: 350px;
	}
	/* carousel - thumbnails */
	.thumbcarousel .carousel-inner .item img {
		height: 300px;
	}

	/* footer */
	.footerrow1 {
		padding-top: 22px;
		padding-bottom: 22px;
	}
	.footerrow2 {
		padding-top: 45px;
		padding-bottom: 45px;
	}
	.footerrow3 {
		padding-top: 30px;
		padding-bottom: 30px;
	}
}

/* ------------------ Large Devices, Wide Screens - col-lg- ------------------ */
@media only screen and (min-width : 1200px) {
	/* navstyle2 */
	.navstyle2 .navbar-nav {
		padding-top: 45px;
	}
	/* carousel - widecarousel */
	.widecarousel .item {
		height: 400px;
	}
	/* carousel - thumbnails */
	.thumbcarousel .carousel-inner .item img {
		height: 400px;
	}
	
	/* content */
	.navstyle2 .navbar-logo,
	.fancyborder li,
	.fancyborder.image li a {
		border-radius: 42px 0px 42px 0px;
		-moz-border-radius: 42px 0px 42px 0px;
		-webkit-border-radius: 42px 0px 42px 0px;
	}
	.navstyle2 .navbar-logo,
	.fancyborder.image li {
		width: 273px;
                height: 140px;
	}
	.heroimage {
		margin-bottom: 15px;
	}
	.fancyborder.image li a {
		padding: 60px 0px;
	}
	.fancyborder.blue li a {
		padding: 40px 0px;
	}
	.fancyborder.blueinner li a {
		padding: 20px 0px;
	}
	.heroimage {
		border-radius: 0px 42px 0px 42px;
		-moz-border-radius: 0px 42px 0px 42px;
		-webkit-border-radius: 0px 42px 0px 42px;
		padding: 30px;
		height: 320px;
	}

	/* footer */
	.footerrow1 {
		padding-top: 32px;
		padding-bottom: 32px;
	}
	.footerrow2 {
		padding-top: 60px;
		padding-bottom: 60px;
	}
	.footerrow3 {
		padding-top: 50px;
		padding-bottom: 50px;
	}
}
/* ------------------ Super large Devices ------------------ */
@media only screen and (min-width : 1600px) {
	/* carousel - widecarousel */
	.widecarousel .item {
		height: 600px;
	}
	/* carousel - thumbnails */
	.thumbcarousel .carousel-inner .item img {
		height: 600px;
	}
}

/* Printing */
@media print {
	* {
		font-size: 1em;
		line-height: 1em;
	}
	a[href]:after {
		content: none;
	}
	.noprint,
  	header,
	.alert,
	.btn,
	.navbar {
		display: none;
	}
	section .form-group .control-label {
		text-align: left;
	}
	.table>tbody>tr>td {
		padding: 2px;
	}
	table tr td .form-control,
	section .form-group .form-control {
    	box-shadow: none;
		border: none;
		padding: 0px;
	}
}
