/* cmsms stylesheet: layout modified: 09/11/17 05:06:44 */
/* 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%;
}

/* 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;
}

/* quickfiltertable */
.quickfiltertable {
	
}

@media only screen and (min-width : 768px) {
	/* layer containers */
	.container-layered {
		position: relative;
		overflow: hidden;
	}
	.container-layered .container {
		position: relative;
		background-color: transparent;
	}
}


/* 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 */
.nopadding {
	padding: 0px;
}
/* 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;
}

/* special content effects */
.headingline {
	text-align:center;
}
.headingline:after {
	content:' ';
	width: 15%;
	margin: 0.2em auto 0 auto;
	display:block;
	height: 1px;
}

/* Embeded content */
.embed-responsive-map {
	width: 100%;
	height: 300px;
}
.embed-responsive-socialfeed {
	width: 100%;
	height: 600px;
}

/* 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;
}
.navbar-brand {
	margin: 0px;
	padding: 0px 0px 0px 10px;
	height: auto;
}
.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.pull-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.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;
}
.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 */
.form-group .input-group .input-group-addon.text + .form-control {
    border-left:none;
}
.form-group .input-group .input-group-addon.text {
    background-color:#FFF;
	color: #CCCCCC;
}
.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;
}
.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;
}

/* images */
section img.imagepopupsingle,
.imagepopups img:hover {
	cursor: pointer;
}
.text-center img.img-responsive {
	margin: 0 auto;
}
#imagepopupsingle .modal-body {
	padding: 0px;
}
#imagepopupsingle .modal-dialog .modal-content,
#imagepopupsingle .modal-body button {
	background-color: transparent;
}
#imagepopupsingle .modal-dialog .modal-content {
	box-shadow: none;
	-webit-box-shadow: none;
	border: none;
	border-radius: 0px;
}

#imagepopupsingle.wide .modal-dialog {
	width: 1000px;
	height: auto;
	position: relative;
}
#imagepopupsingle.square .modal-dialog {
	width: 600px;
	height: 600px;
}
#imagepopupsingle.tall .modal-dialog {
	width: 600px;
	height: 600px;
}
#imagepopupsingle .modal-body img {
	width: 100%;
	height: auto;
}
#imagepopupsingle.tall .modal-dialog .modal-body img {
	width: auto;
	height: 600px;
	margin: 0 auto;
	display: block; 
}
#imagepopupsingle .modal-body button {
	position: absolute;
	top: -20px;
	right: -20px;
	padding: 0px;
	border: none;
}
/* 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;
}

/* 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 .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;
  	}
	/* images */
	.imgfill {
		z-index: 20;
		overflow: hidden;
		margin: 0 auto;
		position: relative;
	}
	.imgfillcover {
		text-align:center;
	}
	.imgfillcover img.tall {
		height: 90%;
	}
	.imgfillcover img.wide {
		width: 90%;
	}
	.imgfill img {
		z-index: 10;
		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;
		max-width: none !important;
	}
	.imgfill img.tall {
		height: auto;
		width: 400px;
	}
	.imgfill.imgcircle {
		border-radius: 50%;
		width: 200px;
		height: 200px;
	}
	.imgfill.imgsquare {
		width: 200px;
		height: 200px;
	}
	.imgfillcover,
	.imgfill.imgphoto {
		width: 320px;
		height: 200px;
	}
	.imgfill.imgcircle div {
		padding: 1em;
	}
	.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) {
	.navbar-default .dropdown:hover>.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) {
}
/* cmsms stylesheet: styles modified: 09/25/17 02:35:54 */
/*
	navbarbg		bfcddf
	light blue		87adcc
	dark blue		216093
	red				832a40
	text			636567
*/
* {
/*   	border: 1px dashed red; */
}
/* base document properties */
body {
    font-family: 'Verdana',Helvetica,Arial,sans-serif;
}

/* type size - variable across devices */
body { font-size: 16px; 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: 15px; } }

/* type size - fixed across all devices */
/*body { font-size: 12px; line-height: 1.3; } */

/* TinyMCE */
.wysiwyg {
	background-color: white;
}
/* clear margins on headings */
.wysiwyg h1,.wysiwyg h2,.wysiwyg h3,.wysiwyg h4,
section h1,section h2,section h3,section h4 {
	clear: both;
}
/* fonts and weights */
section h1,section h2,section h3,section h4,
.modal h2,.modal h3 {
    font-family: 'Cabin',Helvetica,Arial,sans-serif;
	font-weight: 400;
	line-height: 1.1;
}
section h1 strong,section h2 strong,section h3 strong,section h4 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,
div.dataTables_paginate .paginate_button,
.btn-tiny, .btn-small, .btn-large
{
	font-weight: 400;
	font-size: 0.8em;
}
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;
}
.wysiwyg h1,
section h1 {
	font-size: 2em;
	margin: 0 0 0.2em 0;
}
.wysiwyg h2,
section h2 {
	font-size: 1.8em;
	margin: 0 0 0.2em 0;
}
.wysiwyg h3,
section h3 {
	font-size: 1.2em;
	margin: 0 0 0.4em 0;
	text-transform:uppercase;
}
.wysiwyg h4,
section h4 {
	font-size: 1.5em;
	margin: 0 0 0.4em 0;
}
.wysiwyg h4,
section h5 {
	font-size: 1em;
	margin: 0 0 0.4em 0;
}
section .breadcrumb li {
	font-size: .75em;
}
section table,
.wysiwyg p,.wysiwyg ul,.wysiwyg ol,
section p,section ul,section ol,
section .breadcrumb, section .readmorereveal,
.bottompadding {
	margin-bottom: 1em;
}
.wysiwyg ul,.wysiwyg ol,
section ul,section ol {
	margin-left: 2em;
}
.wysiwyg ul li,.wysiwyg ol li,
section ul li,section ol li {
	padding: 0 0 0.5em 0.3em;
}
.wysiwyg ul li:last-child,.wysiwyg 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;
}
div.dataTables_paginate .paginate_button,
.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;
}
footer.footerrow2 ul li,footer.footerrow2 ol li, footer.footerrow2 p {
	font-size: 0.8em;
	line-height: 1em;
}
footer h5 {
	font-size: 1em;
	text-transform:uppercase;
}
/* spacing */
header {
	padding: 1em 0 0 0;
}
section .container,
section.parallax .container,
section.alternate .container {
	padding-top: 2em;
	padding-bottom: 2em;
	padding-left: 3em;
	padding-right: 3em;
}
section img.img-responsive {
	margin-bottom: 0.5em;
}
/* section [default] - colours */
section {
	background-color: #dfe3e6;
}
section .container,
section .container-fluid {
	background-color: white;
}
.wysiwyg h1,
section h1 {
	color: #832a40;
	text-align:center;	
}
.wysiwyg h2,
section h2,
.modal h2 {
	color: #352e78;
}
.wysiwyg h3,
section h3,
.modal h3 {
	color: #832a40;
}
.wysiwyg h4,
section h4 {
	color: yellow;
}
section blockquote {
	background-color: rgba(128,128,128,.1);
}
.wysiwyg p,.wysiwyg ul li,.wysiwyg ol li,
section p,
section ul li,
section ol li,
section .form-group,
.modal p,
section table tbody tr th,
section table tbody tr td,
section table tbody tr td a,section table tbody tr td a:hover,
section blockquote,
section blockquote:before,
section blockquote cite,
section .breadcrumb li.active,
section .breadcrumb > li + li:before {
	color: #636567;
}
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: #636567;
}
section .form-group .control-label {
	color: #636567;
	font-weight: 700;
}
.form-group.required label:after {
	color: red;
}
.wysiwyg a, section a {
	color: blue;
}
section a:hover {
	color: #999999;
}
.hoverborder1 .hoverborder {
	border-color: #352e78;
}
.hoverborder1:hover .hoverborder {
	border-color: #b1cb49;
}
.hoverborder2 .imgfill .hoverborder {
	box-shadow: inset 0 0 0 1px #352e78;
}
.hoverborder2:hover .imgfill .hoverborder {
	box-shadow: inset 0 0 0 10px #352e78;
}
div.dataTables_paginate .paginate_button,
.btn-tiny,.btn-small,.btn-large {
	background-color: #216093;
	border-color: #216093;
	color: white;
	text-decoration:none;
}
div.dataTables_paginate .paginate_button:hover,
div.dataTables_paginate .paginate_button.current,
.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
.hoverborder1:hover .btn-tiny,.hoverborder1:hover .btn-small,.hoverborder1:hover .btn-large {
	background-color: #216093;
	border-color: #216093;
	color: white;
	text-decoration:none;
}
.btn-rounded,.btn-rounded:hover {
	text-transform: uppercase;
}
.btn-rounded, .btn-rounded i {
	border-radius: 20px;
}
.btn-rounded i {
	background-color: #352e78;
	color: white;
	padding: 3px;
	width: 25px;
	margin-left: 0.5em;
}
.btn-rounded {
	background-color: white;
	border-color: #352e78;
	color: #352e78;
	padding-left: 0.5em;
}
.btn-rounded:hover,.btn-rounded:focus,.btn-rounded:active,.btn-rounded.active {
	background-color: #352e78;
	border-color: #352e78;
	color: white;
	padding-left: 0.5em;
}
.btn-rounded:hover i,.btn-rounded:focus i,.btn-rounded:active i,.btn-rounded.active i {
	background-color: white;
	color: #352e78;
}
section table tr th,
section table thead tr th,
section table tbody tr td {
	border: 1px solid #cccccc;
}
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;
}
.editabletableorderable tr:hover td:first-child {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

div.dataTables_paginate {
	text-align:center !important;
	padding: 10px 0px;
}
div.dataTables_paginate .paginate_button {
	cursor:pointer;
	margin-right: 1px;
	padding: 0.2em 0.8em;
}
div.dataTables_paginate .paginate_button.disabled {
	display: none;
}
div.dataTables_paginate .paginate_button.previous {
	-webkit-border-radius: 5px 0px 0px 5px;-moz-border-radius: 5px 0px 0px 5px;border-radius: 5px 0px 0px 5px;
}
div.dataTables_paginate .paginate_button.next {
	-webkit-border-radius: 0px 5px 5px 0px;-moz-border-radius: 0px 5px 5px 0px;border-radius: 0px 5px 5px 0px;
}

/* section alternate - colours */
section.alternate {
	background-color: #dfe3e6;
}
section.alternate .container {
	background-color: #bfd7e5;
}
section.alternate h1 {
	color: #832a40;
}
section.alternate h2 {
	color: #216093;
}
section.alternate h3 {
	color: #832a40;
}
section.alternate h4 {
	color: yellow;
}
section.alternate blockquote {
	background-color: rgba(128,128,128,.1);
	color: #f0f0f0;
}
section.alternate blockquote:before,
section.alternate blockquote cite {
	color: #909090;
}
section.alternate p,
section.alternate ul li,
section.alternate .form-group  {
	color: #636567;
}
section.alternate ul li {
	background: url('images/bullet-alternate.png') no-repeat left 5px;
}
section.alternate p a {
	color: #216093;
	font-weight: bold;
}
section.alternate p a:hover {
	color: #216093;
}
section.alternate div.dataTables_paginate .paginate_button,
section.alternate .btn-tiny,section.alternate .btn-small,section.alternate .btn-large {
	background-color: #FFE69F;
	border-color: #FFE69F;
	color: #321700;
	text-decoration:none;
}
section.alternate div.dataTables_paginate .paginate_button:hover,
section.alternate div.dataTables_paginate .paginate_button.current,
section.alternate .btn-tiny:hover,section.alternate .btn-tiny:focus,section.alternate .btn-tiny:active,section.alternate .btn-tiny.active,
section.alternate .btn-small:hover,section.alternate .btn-small:focus,section.alternate .btn-small:active,section.alternate .btn-small.active,
section.alternate .btn-large:hover,section.alternate .btn-large:focus,section.alternate .btn-large:active,section.alternate .btn-large.active {
	background-color: white;
	border-color: white;
	color: #321700;
	text-decoration:none;
}

/* content styles */
.wysiwyg .textstyle-red,
.textstyle-red {
	color: red;
}
.badge-notify {
   background:red;
}

/* global - maps */
#map1 {
	width: 100%;
	height: 500px;
}

/* global - rounding borders */
.wysiwyg img,
section img.pull-left,
section img.pull-right,
.btn-small,
.btn-large,
.multiitemcarousel .img-responsive {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

/* global - image treatment */
.imgfill.imgcircle {
	-webkit-box-shadow: 5px 5px 5px -1px rgba(133,125,133,1);
	-moz-box-shadow: 5px 5px 5px -1px rgba(133,125,133,1);
	box-shadow: 5px 5px 5px -1px rgba(133,125,133,1);
	border: 1px solid #f4f4f4;
	margin-bottom: 0.25em;
}
.wysiwyg img[style*="float: left"],
.wysiwyg img[style*="float: right"] {
	max-width: 300px !important;
}
.wysiwyg img,
section img.pull-left,
section img.pull-right,
.imgfillcover,.imgfill.imgphoto,
section img.niceborder {
	border: 8px solid #a0bdd6;
	margin-bottom: 0.5em;
}
.wysiwyg img[style*="float: left"] {
	margin-right: 15px;
	margin-bottom: 15px;
}
.wysiwyg 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;
}
.imagebutton .captionlower {
	background:rgba(0,0,0,0.7);
}
.imagebutton .captionlower a {
	color: white;
}
.imagebutton .captioncentred a {
	color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);	
}

/* navigation - font and colours */
header {
	background-color: #bfcddf;
}
.navbar-default {
	background-color: transparent;
}
.navbar-default .nav,
.navbar-default .nav.navbar-tabs > li {
	background-color: transparent;
}
header .container {
	background-color: transparent;
}

.navbar-default .navbar-nav > li.open > a,
.navbar-default .navbar-nav > li.open > a:focus,
.navbar-default .navbar-nav > li.open > a:hover,
.navbar-default .navbar-nav > li > a {
	text-transform: uppercase;
	font-family: 'Open Sans',Helvetica,Arial,sans-serif;
	color: #216093;
	font-weight: bold;
	font-size: 1em;
	padding: 0.8em 0.7em;
	background-color: transparent;
}
.navbar-default .navbar-nav > li.open > a:focus,
.navbar-default .navbar-nav > li.open > a:hover,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	color: #832a40;
}
.navbar-default .navbar-nav.navbar-tabs > li.active,
.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus {
	color: #832a40;
	background-color: transparent;
}
.navbar-default .navbar-toggle {
	border-color: #216093;
	border-width: 3px;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
	background-color: #832a40;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #216093;
	height: 3px;
}
.navbar-default .navbar-nav > li.open > ul.dropdown-menu,
.navbar-default .navbar-nav .dropdown-menu {
	background-color: #d3e2f6;
	width: auto;
	overflow: auto;
}
.navbar-default .navbar-nav > .dropdown-menu > li {
	width: auto;
	padding: 0;
	text-align: center;
}
.navbar-default .navbar-nav .open .dropdown-menu > li >a,
.navbar-default .navbar-nav .dropdown-menu > li > a {
	text-align: center;
	color: #216093;
	text-transform:uppercase;
	font-family: 'Open Sans',Helvetica,Arial,sans-serif;

	background-color: transparent;
	font-weight: bold;
	font-size: 1em;
	padding: 0.2em 0.5em;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
.navbar-default .navbar-nav .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .dropdown-menu > li > a:focus {
	color: white;
}
.navbar-default .navbar-nav .open .dropdown-menu > li.active > a,.navbar-default .navbar-nav .open .dropdown-menu > li.active > a:hover,
.navbar-default .navbar-nav .dropdown-menu > li.active > a, .navbar-default .navbar-nav .dropdown-menu > li.active > a:hover {
	color: white;
	font-weight: bold;
}
.navbar-default .tagline {
	font-size: 1em;
	padding: 0;
	margin: 0;
	text-transform:uppercase;
	width: 100%;
	clear: both;
	text-align:center;
	font-weight: bold;
}
.navbar-default .tagline,
.navbar-default .tagline p,
.navbar-default .tagline a {
	color: white;
}
.navbar-default .tagline p {
	margin: 0px;
}
/* Footer */
footer p.footerquote {
	font-style:italic;
	text-align:center;
	margin: 0px;
	line-height: 1.3em;
}
footer p.footerquote span {
	font-style:none;
	font-weight:bold;
	text-transform: uppercase;
}
footer .footbox {
	border-bottom: 2px solid #a3bfd3;
	margin: 0 0 0.5em 0;
	padding: 0 0 0.5em 0;
}
footer .footbox1 {
	color: white;
	font-size: 1.5em;
}
footer .footbox2 {
	color: white;
}
footer ul {
	margin: 0;
	padding: 0;
	list-style:none;
}
footer ul li {
	padding: 0.2em 0;
	margin: 0px;
	float: left;
	width: 50%;
}
footer ul li a {
	text-transform:uppercase;
}

.footerrow1 {
	background-color: #aab5aa;
	font-size: 1.3em;
}
.footerrow1 p,
.footerrow1 ul li, .footerrow1 ol li,
.footerrow1 a, .footerrow1 a:hover {
	color: white;
}
.footerrow2 {
	background-color: #477fa8;
	color: #a3bfd3;
}
.footerrow2 p,
.footerrow2 ul li, .footerrow2 ol li,
.footerrow2 a, .footerrow2 a:hover {
	color: #a3bfd3;
}

/* ------------------ Extra Small Devices, Phones col-xs- ------------------ */ 
/* navigation - navstyle3 */
.navstyle3 .navbar-brand {
	height: 60px;
	padding-top: 0px;
	padding-left: 10px;
	float: left;
}
.navstyle3 .navbar-brand img {
	height: 50px;
}
.navstyle3 .navbar-toggle {
	margin-left: 10px;
	float: right;
}

/* 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;
}
.gridpadding {
	padding-bottom: 1em;
}
.footerrow1 {
	padding-top: 1em;
	padding-bottom: 1em;
}
.footerrow2 {
	padding-top: 2em;
	padding-bottom: 1em;
}
.footerrow1 .gridpadding {
	padding-bottom: 2em;
}
.footerrow2 .gridpadding {
	padding-bottom: 1em;
}
.iconmenu img {
	margin-bottom: 0.5em;
}
.iconmenu a {
	text-transform:uppercase;
	font-weight: bold;
	font-size: 0.9em;
	line-height: 1.2em;
	font-family: 'Arial';
	display: block;
}
.iconmenu a,.iconmenu a:hover {
	color: #216093;
}
/* ------------------ Mobile overrides ------------------ */
@media only screen and (max-width : 768px) {
	section img.pull-right,
	section img.pull-left {
		width: 100%;
		float: none;
	}
	.carousel .overlay,
	.carousel-inner .caption1,
	.carousel-inner .caption2 {
		display: none;
	}
	footer .text-left p,
	footer .text-right p {
		text-align:center;
	}
}
/* ------------------ Tablet portrait overrides ------------------ */
@media only screen and (min-width : 768px) and (max-width : 992px) {
	/* navigation - global */
	.navbar-default .navbar-nav > li.open > a,
	.navbar-default .navbar-nav > li.open > a:focus,
	.navbar-default .navbar-nav > li.open > a:hover,
	.navbar-default .navbar-nav > li > a {
		font-size: 0.9em;
	}
	.navbar-default .navbar-nav .open .dropdown-menu>li>a,
	.navbar-default .navbar-nav .dropdown-menu > li > a {
		font-size: 0.9em;
	}
}
/* ------------------ Small Devices, Tablets col-sm- ------------------*/
@media only screen and (min-width : 768px) {
	footer ul li {
		width: 25%;
	}
	header {
		background-image: url( 'https://www.cbaconsultants.org/uploads/layout/header-bg-5.jpg' );
		background-size: 100% auto;
		background-repeat: no-repeat;
		padding-top: 1em;
	}
	/* Google translate */
	header #google_translate_element {
		text-align: right;
		margin-bottom: 5em;
		margin-top: 0px;
		width: 100%;
		height: 50px;
	}
	#google_translate_element .goog-te-combo {
		background-color: #87adcc;
		color: white;
		padding: 0.25em;
	}
	.goog-logo-link {
	   display:none !important;
	} 
	.goog-te-gadget{
	   color: transparent !important;
	}
	.navbar-default .tagline {
		clear: none;
		float: right;
		padding: 0.5em 2em;
		background-color: #87adcc;
		border-radius: 15px;
		margin-top: 18px;
	}
	.navbar-default .navbar-nav {
		padding: 0;
	}
	.navbar-default .navbar-nav > li {
		padding: 0;
	}
	.navbar-default .navbar-nav > li.splitter {
		margin-top: 15px;
		margin-bottom: 15px;
		border: 1px solid #216093;
	}
	.navbar-default .navbar-nav.navbar-tabs {
		background-color: transparent;
	}
	.navbar-default .navbar-nav.navbar-tabs > li {
		-webkit-border-radius: 12px 12px 0px 0px;
		-moz-border-radius: 12px 12px 0px 0px;
		border-radius: 12px 12px 0px 0px;
		margin-left: 0.3em;
		-webkit-box-shadow: 7px -1px 9px -5px rgba(0,0,0,0.75);
		-moz-box-shadow: 7px -1px 9px -5px rgba(0,0,0,0.75);
		box-shadow: 7px -1px 9px -5px rgba(0,0,0,0.75);
	}
	
	/* navstyle3 */
	.navstyle3 .navbar-brand img {
		height: 100px;
	}
	.navstyle3 .navbar-header {
		height: 120px;
		width: 100%;
	}
	.navstyle3 .tagline {
		width: 40%;
	}
	.navstyle3 .row1 {
		margin-bottom: 0px;
	}
	.navstyle3 .row2 {
		background-color: #bfcddf;
	}
	.navstyle3 .row2 .container {
		padding-left: 0px !important;
	}
	/* content */
	.allow2lines {
		min-height: 4.2em;
	}
	section img.pull-left,
	section img.pull-right {
		width: initial;
		max-width: 300px;
	}
	section .col-sm-6 img.pull-left,
	section .col-sm-6 img.pull-right {
		max-width: 150px;
	}
	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;
	}
	/* images */
	.imagepopups img.square { width: 250px;	height: 250px; }
	.imagepopups img.wide { width: 250px; height: auto; }
	.imagepopups img.tall { width: auto; height: 250px; }
	.imgfillcover,.imgfill.imgphoto { width: 100%; height: 100px; }
}

/* ------------------ Medium Devices, Desktops - col-md- ------------------*/
@media only screen and (min-width : 992px) {
	/* navstyle3 */
	header {
		padding-top: 1em;
	}
	header #google_translate_element {
		margin-bottom: 6em;
	}
	.navstyle3 .navbar-brand img {
		height: 130px;
	}
	.navstyle3 .navbar-header {
		height: 160px;
	}
	/* content */
	section img.pull-left,
	section img.pull-right {
		max-width: 500px;
	}
	section .col-sm-6 img.pull-left,
	section .col-sm-6 img.pull-right {
		max-width: 250px;
	}
	section img.pull-right {
		margin-left: 20px;
		margin-bottom: 20px;
	}
	section img.pull-left {
		margin-right: 20px;
		margin-bottom: 20px;
	}
	.imagebutton .captionlower {
		padding: 2px;
	}
	.imagebutton .captionlower a {
		font-size: 14px;
	}
	.imagebutton .captioncentred {
		padding: 15px;
	}
	.imagebutton .captioncentred a {
		font-size: 25px;
		line-height: 30px;
	}
	/* images */
	.imagepopups img.square { width: 350px;	height: 350px; }
	.imagepopups img.wide { width: 350px; }
	.imagepopups img.tall { height: 350px; }
	.imgfill.imgcircle { width: 150px; height: 150px; }
	.imgfill.imgsquare { width: 150px; height: 150px; }
	.imgfillcover,.imgfill.imgphoto { height: 150px; }
}

/* ------------------ Large Devices, Wide Screens - col-lg- ------------------ */
@media only screen and (min-width : 1200px) {
	/* navstyle3 */
	header {
		padding-top: 1em;
	}
	header #google_translate_element {
		margin-bottom: 12em;
	}
	.navstyle3 .navbar-brand img {
		height: 158px;
	}
	.navstyle3 .navbar-header {
		height: 200px;
	}
	/* content */
	.imagebutton .captionlower {
		padding: 3px;
	}
	.imagebutton .captionlower a {
		font-size: 16px;
	}
	.imagebutton .captioncentred {
		padding: 15px;
	}
	.imagebutton .captioncentred a {
		font-size: 33px;
		line-height: 40px;
	}

	/* images */
	.imagepopups img.square { width: 400px;	height: 400px; }
	.imagepopups img.wide { width: 400px; }
	.imagepopups img.tall { height: 400px; }
	.imgfill.imgcircle { width: 200px; height: 200px; }
	.imgfill.imgsquare { width: 200px; height: 200px; }
	.imgfillcover,.imgfill.imgphoto { height: 170px; }
}
/* ------------------ Super large Devices ------------------ */
@media only screen and (min-width : 1600px) {
}

/* 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;
	}
}
