/* Page */
body {
    overflow-x: hidden;
}
body.noscroll {
	overflow:hidden;
}

/* reset */
a,
a:hover {
	text-decoration:none;
}
/*
textarea:hover, 
select:hover, 
input[type=text]:hover, 
input[type=email]:hover, 
input[type=password]:hover, 
textarea:active, 
select:active, 
input[type=text]:active, 
input[type=email]:active, 
input[type=password]:active, 
textarea:focus, 
select:focus, 
input[type=text]:focus, 
input[type=email]:focus, 
input[type=password]:focus, 
.btn:active,
.btn.focus
.btn.hover
{
	box-shadow: none !important;
    outline:0px !important;
    -webkit-appearance:none;
}
*/

/* 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%;
}

/* 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;
}

/* accordians */
.contentstyle-global .card,
.contentstyle-global .card .card-header {
	border: none !important;
}
.contentstyle-global .card .card-header h2:hover {
	cursor:pointer;
}
/*
.contentstyle-global .card .card-header a span {
	float: right;
    font-family: 'FontAwesome';
	font-size: 1.6em;
	position: relative;
	top: -12px;
	height: 15px;
}
*/
.contentstyle-global .card .card-header a span {
	float: right;
    font-family: 'Font Awesome 5 Free';
	font-size: 1.6em;
	position: relative;
	top: -6px;
	height: 15px;
	font-weight: 900;
}
.contentstyle-global .card .card-header a span:after {
    content: "\f106";
}
.contentstyle-global .card .card-header a.collapsed span:after {
    content: "\f107";
}
.contentstyle-global .card .card-body p {
	margin: 0;
}
.contentstyle-global .card .card-body p {
	margin: 0;
}

/* 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;
}

/* quickfiltertable */
.quickfiltertable {
	
}

@media only screen and (min-width : 768px) {
	/* layer containers */
	.container-layered {
		position: relative;
/*		overflow: hidden; */
	}
	.container-layered .container-fluid {

	}
	.container-layered .container {
		position: absolute;
		top: 0;
		left: 0; 
		right: 0; 
		margin-left: auto; 
		margin-right: auto; 
	}
}


/* badges */
.badge-notify {
	position:absolute;
	right: -5px;
	bottom: -5px;
}

/* readmorereveal */
.readmorereveal {
	max-height: 150px;
	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);
}
    
/* breadcrumbs */
section .breadcrumb {
	padding: 0;
	margin: 0;
	background-color: transparent;
}
section .breadcrumb > li + li:before {
    content: " > ";
}

/* padding and margins */
.nosidepadding {
	padding-left: 0;
	padding-right: 0;
}
.nopadding {
	padding: 0px;
}
.nosidemargins {
	margin-left: 0;
	margin-right: 0;
}
/* 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%; }

h1,h2,h3,h4 {
	clear: both;
}
/* 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 h2:last-child, .removemargin h3:last-child, .removemargin h4:last-child,
.gridpadding p:last-child, .gridpadding .form-group:last-child,
.removemargin p:last-child, .removemargin .form-group:last-child,
.removemargin ul:last-child, .removemargin ol:last-child {
	margin-bottom: 0px;
}

/* special content effects */
.headingline {
	text-align:center;
}
.headingline:after {
	content:' ';
	width: 15%;
	margin: 0.2em auto 0 auto;
	display:block;
	height: 1px;
}

/* Header */
header.coverpage {
    text-align: center;
}

/* Navigation */
header {
	min-height: 0px;
	margin: 0px;
}
.nav-stacked>li{
	float: none;
}
.navstyle1 nav,
.navstyle2 nav,
.navstyle3 nav,
.navstyle4 nav,
.navstyle5 nav,
.navstyle6 nav,
.navstyle7 nav,
.navstyle8 nav {
	border: none;
	min-height: 0px;
	border-radius: 0px;
	margin: 0px;
}
.navstyle1 .navbar-brand {
	padding-top: 10px;
}

.widemenu .nav,
.widemenu .dropup,
.widemenu .dropdown,
.widemenu .collapse {
  position: static;
}
.widemenu .navbar-inner,
.widemenu .container {
  position: relative;
}
.widemenu .dropdown-menu {
  left: auto;
}
.widemenu .dropdown-menu > li {
  display: block;
}
.widemenu .dropdown-submenu .dropdown-menu {
  left: 100%;
}
.widemenu .nav.float-right .dropdown-menu {
  right: 0;
}
.widemenu .widemenu-content {
  padding: 20px 30px;
  *zoom: 1;
}
.widemenu .widemenu-content:before,
.widemenu .widemenu-content:after {
  display: table;
  content: "";
  line-height: 0;
}
.widemenu .widemenu-content:after {
  clear: both;
}
.widemenu.navbar .nav > li > .dropdown-menu:after,
.widemenu.navbar .nav > li > .dropdown-menu:before {
  display: none;
}
.widemenu .dropdown.widemenu-fullwidth .dropdown-menu {
  width: 100%;
  left: 0;
  right: 0;
}
@media (max-width: 969px) {
  .widemenu .dropdown.widemenu-fullwidth .dropdown-menu {
    width: auto;
  }
  .widemenu .widemenu-content {
    padding-left: 0;
    padding-right: 0;
  }
  .widemenu .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.shaded {
	box-shadow:	inset 0px 20px 20px -7px rgba(0,0,0,0.1);
}
section.shaded .container, section.shaded .container-fluid {
	background-color: transparent;
}
section {
	padding: 0px;
	margin: 0px;
}
section.parallax {
	position: relative;
	background-attachment: fixed;
	background-position: center 0;
	background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
}
.section-diamondmenu {
	padding: 0px;
}
.hoverlink:hover {
	cursor: pointer;
}
.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;
}
.multiitemcarousel .carousel-inner .active.left { left: -33%; }
.multiitemcarousel .carousel-inner .next        { left:  33%; }
.multiitemcarousel .carousel-inner .prev        { left: -33%; }
.multiitemcarousel .carousel-inner .item {
	-webkit-transition: 500ms ease-in-out left;
	transition: 500ms ease-in-out left;
	-webkit-transition: 500ms ease-in-out left;
	transition: 500ms ease-in-out left;
	-webkit-transition: 500ms ease-in-out all;
	transition: 500ms ease-in-out all;
	-webkit-backface-visibility: visible;
			backface-visibility: visible;
	-webkit-transform: none!important;
			transform: none!important;
}
.multiitemcarousel .item:not(.prev) {visibility: visible;}
.multiitemcarousel .item.right:not(.prev) {visibility: hidden;}
.multiitemcarousel .rightest{ visibility: visible;}

/* 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 */
.input-group-btn button {
	border: none;
}
.form-group .input-group .input-group-addon.text + .form-control {
    border-left:none;
}
.input-group-text {
	border: 0;
	border-radius: 0;
}
.input-group-text button {
	border: 0;
	background-color: transparent;
}
/*
.form-group .input-group .input-group-addon.text {
    background-color:#FFF;
	color: #CCCCCC;
}
.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;
}
.form-group select[multiple] {
	min-height: 300px;
}
.twitter-typeahead {
	width: 100%;
}
.tt-menu {
	background-color: white;
	padding: 0.2em;
	margin-top: 0.2em;
	border: 1px solid #c0c0c0;
	border-radius: 4px;
	width: 100%;
}

/* content */
section form {
	clear: both;
}

/* modals */
.modal .modal-body {
	padding: 0px;
}
.modal .modal-dialog {
	width: auto;
}
.modal .modal-content,
.modal .modal-body button.modal-close {
	background-color: transparent;
	background-color: transparent;
}
.modal .modal-body button.modal-close {
	position: absolute;
	top: -20px;
	right: -20px;
	padding: 0px;
	border: none;
}
.modal .modal-body button.modal-close:hover {
	cursor:pointer;
}

/* images */
section img.imagepopupsingle,
.imagepopups img:hover {
	cursor: pointer;
}
.text-center img.img-responsive {
	margin: 0 auto;
}
/*
#popup-image .modal-dialog .modal-content {
	background-color: transparent;
}
#popup-image .modal-dialog .modal-content {
	box-shadow: none;
	-webit-box-shadow: none;
	border: none;
	border-radius: 0px;
}
*/

/* popup-images-gallery */
.popup-images-gallery img:hover {
	cursor:pointer;
}
/* popupstyle-image */
.popupstyle-image.wide .modal-dialog {
	max-width: 1000px;
	height: auto;
	position: relative;
}
.popupstyle-image.square .modal-dialog {
	max-width: 600px;
	max-height: 600px;
}
.popupstyle-image.tall .modal-dialog {
	max-width: 600px;
	max-height: 600px;
}
.popupstyle-image .modal-body img {
/*	border: 2px solid white; */
	width: 100%;
	height: auto;
}
.popupstyle-image.tall .modal-dialog .modal-body img {
	width: auto;
	height: 600px;
	margin: 0 auto;
	display: block; 
}

/* images - gallery */
.gallery {
	overflow: hidden;
}
.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;
}

/* navbar defaults */
.navbar-brand {
	margin: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form{
	border: none;
}

/* embedded content */
/*
.embed-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto; } .embed-video iframe, .embed-video object, .embed-video embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
*/

/* nicegrid */
.nicegrid-row {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
}
.nicegrid-inner {
	height: 100%;
}

.nolinkformatting a, .nolinkformatting a:hover {
	text-decoration: none !important;
}

/* Extra Small Devices, Phones col-xs- */ 
/* content */
header.coverpage .coverpageinner {
	padding-top: 80px;
	padding-bottom: 70px;
}
#back-top a i{font-size:1em}

/* images */
.imgfill img {
/*
	width: 100%;
	max-width: none;
*/
}
.imgthumbtiny { height: 150px; }
.imgthumbsmall { height: 150px; }
.imgthumbmedium { height: 150px; }

.imgshowall {
	position: relative;
}
.imgshowall img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	max-width: 100%;
	max-height: 100%;
}

/*
.imgshowall img.square {
	height: auto;
	width: 100%;
}
.imgshowall img.tall {
	height: 100%;
	width: auto;
}
.imgshowall img.wide {
	height: auto;
	width: 100%;
}
.imgshowall img.superwide {
	height: auto;
	width: 100%;
}
*/

.imgthumbtiny.imgfill img.square, .imgthumbsmall.imgfill img.square, .imgthumbmedium.imgfill img.square {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	height: 140%;
	width: auto;
}
.imgthumbtiny.imgfill img.tall, .imgthumbsmall.imgfill img.tall, .imgthumbmedium.imgfill img.tall {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	height: auto;
	width: 100%;
}
.imgthumbtiny.imgfill img.wide, .imgthumbsmall.imgfill img.wide, .imgthumbmedium.imgfill img.wide {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	height: 140%;
	width: auto;
}
.imgthumbtiny.imgfill img.superwide, .imgthumbsmall.imgfill img.superwide, .imgthumbmedium.imgfill img.superwide {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	height: 100%;
	width: auto;
}
@media all and (-ms-high-contrast:none) {
	.imgthumbtiny.imgfill img.square, .imgthumbsmall.imgfill img.square, .imgthumbmedium.imgfill img.square,
	.imgthumbtiny.imgfill img.tall, .imgthumbsmall.imgfill img.tall, .imgthumbmedium.imgfill img.tall,
	.imgthumbtiny.imgfill img.wide, .imgthumbsmall.imgfill img.wide, .imgthumbmedium.imgfill img.wide,
	.imgthumbtiny.imgfill img.superwide, .imgthumbsmall.imgfill img.superwide, .imgthumbmedium.imgfill img.superwide {
		position: static;
	}
}
.imgthumbtiny, .imgthumbsmall, .imgthumbmedium {
	overflow: hidden;
	position: relative;
}

/* Small Devices, Tablets col-sm- */
@media only screen and (min-width : 768px) {
	/* images */
	.imgthumbtiny { height: 150px; }
	.imgthumbsmall { height: 150px; }
	.imgthumbmedium { height: 150px; }
	.imgcircle {
		width: 100%;
		padding-top: 100%;
	}
	.imgthumbtiny img, .imgthumbsmall img, .imgthumbmedium img {
		display: none;
	}

	#back-top a i{font-size:3em}
	header.coverpage .coverpageinner {
		padding-top: 150px;
		padding-bottom: 150px;
	}
	.navbar-default .navbar-centered {
		width: 100%;
		display: -webkit-box;   /* OLD - iOS 6-, Safari 3.1-6, BB7 */
		display: -ms-flexbox;  /* TWEENER - IE 10 */
		display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
		display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
		-webkit-box-pack: justify;
		-moz-box-pack: justify;
		-ms-flex-pack: justify;
		-webkit-justify-content: space-between;
		justify-content: space-between;
  	}
	.hoverborder1 .hoverborder,
	.hoverborder1:hover .hoverborder {
		border-width: 4px;
		border-style: solid;
	}
	.hoverborder1 .hoverborder {
		transition: border 200ms ease-in-out;
	}
	.hoverborder2 .imgfill {
		position: relative;
	}
	.hoverborder2 .imgfill .hoverborder {
		border-radius: 50%;
		position: absolute;
		left: 0px;
		top: 0px;
		right: 0px;
		bottom: 0px;
		transition: box-shadow 200ms ease-in-out;
		pointer-events: none;
	}

}

/* Medium Devices, Desktops - col-md- */
@media only screen and (min-width : 992px) {
	/* images */
	.imgthumbtiny { height: 100px; }
	.imgthumbsmall { height: 200px; }
	.imgthumbmedium { height: 300px; }
	.imgcircle {
border: 5px solid black;	
		width: 100%;
		padding-top: 100%;
	}
	.imgthumbtiny.imgfill img.square, .imgthumbsmall.imgfill img.square {
		height: auto;
		width: 100%;
	}
	.imgthumbtiny.imgfill img.square, .imgthumbsmall.imgfill img.square, .imgthumbmedium.imgfill img.square {
		width: 150%;
	}
	
	.navstyle-global li.dropdown:hover > ul.dropdown-menu {
		display: block;
	}
	header.coverpage .coverpageinner {
		padding-top: 250px;
		padding-bottom: 250px;
	}
	.navbar-default .navbar-centered-logo {
		float: none;
		text-align:center;
	}
	.navbar-default .navbar-centered-logo a.navbar-brand {
		float: none;
	}
	.navbar-default .navbar-centered-logo a.navbar-brand img {
		float: none;
		margin: auto;
		display: inline;
	}
}

/* Large Devices, Wide Screens - col-lg- */
@media only screen and (min-width : 1200px) {
	/* images */
	.imgthumbtiny { height: 170px; }
	.imgthumbsmall { height: 250px; }
	.imgthumbmedium { height: 350px; }
}

/* ------------------ Mobile overrides ------------------ */
@media only screen and (max-width : 768px) {
	.col-12 .imgthumbtiny, .col-12 .imgthumbsmall, .col-12 .imgthumbmedium {
		height: 200px;
		margin-bottom: 1em;
	}
	.col-12 .imgthumbtiny.imgfill img.square, .col-12 .imgthumbsmall.imgfill img.square, .col-12 .imgthumbmedium.imgfill img.square {
		height: auto;
		width: 100%;
	}
}

