.SUGAR {} /* SUGAR 2019 */

/* :::::::::::::::::::::::::: VARIABLES  ::::::::::::::::::::::::::*/
:root {
    --primary: #37a97f;
    --secondary: #81c56a;
    --tertiary: #57b699;
/*	--tertiary: #bdc3c6;*/

	--grey: #999;
	--lightgrey: #e8e8e8;
	--darkgrey: #333;
	--red: #ff3340;
	
	--primary-light: #a9dac8;
	--tertiary-light: #cce9e0;
	
	--primary-alpha: #37a97f33;
	--primary-alpha-2: #37a97fbd;
	--secondary-alpha: #81c56a33;
	--secondary-alpha-2: #81c56abd;
	--tertiary-alpha: #57b69933;

	--logo: url('../png/csi_en_logo_notaglines.png');
	--logo-fr: url('../png/csi_fr_logo_notaglines.png');	
	--logo-w: url('../png/csi_en_logo_white.png');	
	--logo-fr-w: url('../png/csi_fr_logo_white.png');
}
/* :::::::::::::::::::::::::: VARIABLES  ::::::::::::::::::::::::::*/

*, *:before, *:after { 
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

html {
	font-size: 16px;
/*	scroll-behavior: smooth;*/
}

body {
	height: 100%;
	margin: 0;
	padding: 0;

	background: rgb(238,238,238);
	background: -moz-linear-gradient(0deg, rgba(238,238,238,1) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(238,238,238,1) 0%, rgba(255,255,255,1) 100%);
	background: linear-gradient(0deg, rgba(238,238,238,1) 0%, rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#eeeeee",endColorstr="#ffffff",GradientType=1);
	
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	/*
	/// Non System Font Stack ///
	font-family: Verdana, "Helvetica Neue", Helvetica, Arial, Gotham, Geneva, "sans-serif";
	/// Non System Font Stack ///
	*/
	font-size: 16px;
	font-weight: 400;
	color: #333;
	line-height: 1.6;
	position: relative;
}

#background {
  content: "";
/*	background-image: linear-gradient(white 15%, transparent), url(../images/sugar-background.jpg);*/
/*  background-image: url(../images/sugar-background.jpg);*/
	background-size: cover;
  opacity: 0.5;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;
  z-index: -1;   
}

img {
	border: none;
    background: transparent;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE8 */   
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);   /* IE6 & 7 */ 
	outline:0;
}
 img, button, input {
    outline: none;
}

.inner {
	margin: 0 auto;
	padding: 0;
	max-width:1366px;
	position: relative;
}
.center {
	text-align: center;
	margin-left:auto;
	margin-right:auto;
}

#header {
	background: #fff;
	margin: 0;
	padding: 0;
	width: 100%;
	position: fixed;
	top:0;
	z-index:7777;
/*
	box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-ms-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-o-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
*/
} 

#header .inner.top {
	overflow:visible;
	height:90px;
}

/*
#header:hover {
	box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-ms-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-o-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
} 
*/

#logo, #logo-fr {
	background-image: var(--logo);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto;
	-moz-background-size: 100% auto;
	-o-background-size: 100% auto;
	background-size: 100% auto;
    width: 200px;
    height: 70px;
	position:absolute;
	left:10px;
	top:15px;
    -webkit-transition: all .5s ease 0s;
    -moz-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    transition: all .5s ease 0s;
}
#logo-fr {
	background-image: var(--logo-fr);
}

/* ====================== MAIN NAV ====================== */
.navbar-back {
	background: var(--primary);
	overflow: visible;
/*	border-top:1px solid  var(--lightgrey);*/
	max-width: 1366px;
	margin:0 auto;
}
.navbar {
	text-align:center;
	margin:0 auto;
	max-width: 1366px;
}

ul.nav {
/*  display: inline;*/
	list-style: none;
	width:100%;
	margin:0;
	padding:0;

	display: flex;
	flex-flow: space-between;
}
ul.nav li {
	font-size: 16px;
	font-weight:400;
	color: #fff;
	white-space:nowrap;
	display:inline-block;
/*	min-width: 18.7%;*/
	position: relative;
	padding: 7px 11px;
	text-align:center;
	cursor: pointer;
		
/*	flex-shrink: 0;*/
    flex-grow: 1;
}
.fr-nav ul.nav li {
	font-size: 15px;
	white-space: normal;
	flex-shrink: inherit;
	line-height: 1.2;
}
ul.nav li >a {
  	color: #fff;
	display: block;
	width:100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
ul.nav li:hover a {
  	color:  var(--darkgrey);
}
ul.nav li li:hover >a {
	color: var(--primary);
}
ul.nav li:hover, ul.nav li:active {
  background: #fff;
  color: var(--darkgrey);
}
ul.nav li ul {
  padding: 20px 0 30px 0;
  position: absolute;
  top: 39px;
  left: 0;
  min-width: 500px;
min-height:180px;
  display: block;
  opacity: 0;
  visibility: hidden;
  line-height:1.2;
	box-shadow: 0 6px 9px rgba(0,0,0,0.3);
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	
	background-color: #fff;
	background: #fff url(../jpg/mega-about.jpg) right bottom no-repeat;
}
.fr-nav ul.nav li ul {
    top: 50px;
}
ul.nav li:last-child ul {
    left: -300px;
}
ul.nav li:nth-child(2) ul {
	background: #fff url(../jpg/mega-nutrition.jpg) right bottom no-repeat;
}
ul.nav li:nth-child(3) ul {
	background: #fff url(../jpg/mega-industry.jpg) right bottom no-repeat;
}
ul.nav li:nth-child(4) ul {
	background: #fff url(../jpg/mega-nutrition.jpg) right bottom no-repeat;
}
ul.nav li:nth-child(7) ul {
	background: #fff url(../jpg/mega-trade.jpg) right bottom no-repeat;
}
ul.nav li:nth-child(8) ul {
	background: #fff url(../jpg/mega-news.jpg) right bottom no-repeat;
}


ul.nav li ul li { 
 color: var(--darkgrey);
  text-align:left;
  float:left;
	white-space: normal;
  width: 260px;
  padding: 5px 11px;
}
ul.nav li li, ul.nav li li a { color: var(--darkgrey); font-size:.97em; width: 100%; display: block; }

ul.nav li li li, ul.nav li li li a { color: var(--darkgrey); width: 100%; display: block; }
ul.nav li li li:hover, ul.nav li li li:hover a { color: var(--primary);}
ul.nav li:hover>ul {
  display: block;
  opacity: 1;
  visibility: visible;
}
ul.nav .has-submenu>a {
	background: url(../png/sub-arrow.png) no-repeat /*right -- ORIG SETTING */ 98% 50%;
	padding-right:18px;
}
ul.nav li li ul, ul.nav li:first-child li ul { top:0; left: -9999px; -webkit-transition: all 0s ease; -moz-transition: all 0s ease; -ms-transition: all 0s ease; -o-transition: all 0s ease; transition: all 0s ease; }
ul.nav li li:hover ul { top: -1px; left: 255px; z-index: 2;}
ul.nav li:last-child:hover ul {  left: -300px; 	
	-webkit-transition: all 0s ease;
	-moz-transition: all 0s ease;
	-ms-transition: all 0s ease;
	-o-transition: all 0s ease;
	transition: all 0s ease;}


/* ========================== SUB NAV ========================= */

#subnavbar {
	margin: 0 auto;
	padding: 0;
	background-color: #bbb;
	max-width: 100%;
	text-align: center;
	overflow: visible;
	color:#fff;
}
#subnavbar.blue {
	background-color: #00447c;
}
#subnavbar.lightblue {
	background-color: #bdced9;
}


ul.sub-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  right:0;
width: 100%;
		
	display: flex;
  	flex-flow: wrap;
}
ul.sub-nav li {
	font-size: 16px;
	font-weight:400;
	color: #fff;
	text-shadow: 0 1px 5px rgba(0,0,0,0.2);
	white-space:nowrap;
	display:inline-block;
    margin: 0 10px;
    padding: 5px 20px;
	cursor: pointer;
	position: relative;
		
	flex-shrink: 0;
    flex-grow: 1;
}
ul.sub-nav li>a {
	color: #FFF;
}
ul.sub-nav li:hover >a {
	color: #DAEFF7;
}
ul.sub-nav li:hover {
	background: rgba(0,0,0,0.2);
}
ul.sub-nav li ul {
  padding: 0;
  position: absolute;
  top: 34px;
	left:0;
  min-width: 240px;
  display: none;
  opacity: 0;
  visibility: hidden;
  line-height:1.2;
}
ul.sub-nav li:hover>ul {
  display: block;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

ul.sub-nav li ul li { 
	background-color: #bbb; 
	display: block; 
	text-align:left;
	white-space: normal;
	width: 240px;
	border-top:1px solid rgba(255,255,255,0.5);
	font-size: .93em;
	padding:  7px 10px;
}
ul.sub-nav li ul li:hover {
	background-color: #bbb;
}

#subnavbar.lightblue  ul.sub-nav li ul li { 
	background-color: #bdced9; 
	display: block; 
	text-align:left;
	white-space: normal;
	width: 240px;
	border-top:1px solid rgba(255,255,255,0.5);
	font-size: .9em;
	padding:  7px 10px;
}
#subnavbar.lightblue  ul.sub-nav li ul li:hover {
	background-color: #bdced9;
}

ul.sub-nav .has-submenu>a {
	background: url(../png/sub-arrow.png) no-repeat right;
	padding-right:18px;
}




/* =============================== logo scroller =================================== */

.simply-scroll-container { 
	position: relative;
}
.simply-scroll-clip { 
	position: relative;
	overflow: hidden;
}
.simply-scroll-list { 
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
}	
.simply-scroll-list li {
	padding: 0;
	margin: 0;
	list-style: none;
}	
.simply-scroll-list li img {
	border: none;
	display: block;
}

/* Custom - adds to / overrides above .simply-scroll is default base class */
.simply-scroll { 
	max-width: 1366px;
	height: 140px;
	margin-top: 20px;
	margin-bottom: 1px;
}
.simply-scroll .simply-scroll-clip {
	max-width: 1366px;
	height: 140px;
}
.simply-scroll .simply-scroll-list li {
	float: left; /* Horizontal scroll only */
	width: 300px;
	height: 140px;
	text-align:center;
}
.simply-scroll .simply-scroll-list li img {
	text-align:center;
	margin:0 auto;
	max-height: 120px;
}

/* ===================== FADING LOGOS ===================== */

.slideshow { width: 100%; height: 130px; }
.slideshow div { width: 100%; height: 130px; }
.slideshow div img { margin: auto; display: block; border: none; }


/* ========================= SOCIAL LINKS ======================== */
#social {
	position:absolute;
	right:10px;
	bottom:7px;
    margin: 0;
	padding: 0;
	color: var(--primary);
	font-size:14px;
}
#social li {
   list-style: none;
	margin: 0 0 0 20px;
   padding: 0;
   float: right;
   white-space:nowrap;
}
#social li:last-child {
	margin: 0;
}

#social li a, #social li a:visited {
	color: var(--primary);
    font-size: 14px;
	font-weight: 700;
    text-transform: uppercase;
}
#social li a:hover {
	color: var(--secondary);
}

#social li img {
	margin:1px 0 0 0;
}
#social li img:hover {
	margin:0 0 1px 0;
   -webkit-filter: brightness(.5);
   filter: brightness(.5);
}

/* ================================ SEARCH ================================= */

#search input[type="text"] {
    background:url(../png/icon-search-primary.png)  3px  no-repeat;
    margin:0;
    padding: 5px 5px 3px 35px;
	border: 0;
	font-size: 13px;
	color: #333;
    height:23px;
	width: 26px;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
	cursor: help;
    }

#search input[type="text"]:focus {
    width: 170px;
    background: rgba(0,0,0,0.1) url(../png/icon-search-primary.png)  3px  no-repeat;
	cursor: default;
}
#search.mobile input[type="text"] {
    background:url(../png/icon-search-primary-w.png)  3px  no-repeat;
}

#search.mobile input[type="text"]:focus {
    background: rgba(0,0,0,0.1) url(../png/icon-search-primary-w.png)  3px  no-repeat;
}

input {
    outline: none;
}

/* ---------------- BANNER ----------------- */
#pagebanner {
	margin: 0 0 40px 0;
	padding: 0;
	width:100%;
    max-height: 280px;
	background-color: #FFF;
	position:relative;
	text-align: left;
	overflow:hidden;
	display:block;
}

#pagebanner img {
	display: inline-block;
	text-align:center;
	width:100%;
	height: auto;
    margin: -1% auto 0 auto;
}

#pagebanner p, #pagebanner .module-text{ margin:0; padding:0;}




/* ============================== BODY ================================ */

.content {
	margin:125px auto 90px auto;
	padding: 25px 20px 30px 20px;
	max-width: 1366px; 
	min-height:400px;
	z-index: 5;
	position: relative;
	background-color: #fff;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	
	box-shadow: 0px 5px 7px 0px rgba(0,0,0,0.04);
	-webkit-box-shadow: 0px 5px 7px 0px rgba(0,0,0,0.04);
	-moz-box-shadow: 0px 5px 7px 0px rgba(0,0,0,0.04);
	-ms-box-shadow: 0px 5px 7px 0px rgba(0,0,0,0.04);
	-o-box-shadow: 0px 5px 7px 0px rgba(0,0,0,0.04);
} 

.content ul { 
	/*margin: 0;*/
	padding: 0 20px;
}
.content li {
	padding: 0 0 9px 0;
}

.content img, .box-1 img, .box-1-2 img, .box-1-3 img, .box-2-3 img {
	max-width:100%;
	height:auto !important;
}

.content p {
	/* margin-after:2em;*/
	margin: 15px 0;
}

.content.fullwidth {
	max-width:100%;
	width:100%;
	overflow: auto;
}

.audiojs p {
	margin: 0;
}

/*
.social-add {
	position: absolute;
	bottom: 20px;
	width:100%
} 
*/

/* ============================= LINKS ============================ */
a:link {
	color: var(--primary);
	text-decoration: none;
	-webkit-transition: color .1s ease-in-out;
	-moz-transition: color .1s ease-in-out;
	-o-transition: color .1s ease-in-out;
	transition: color .1s ease-in-out;
}
a:visited {
	color: var(--primary);
	text-decoration: none;
}
a:hover, a:active, a:focus {
	color: #77C313;
	text-decoration: none;
	outline:0;
}


a.anchor {
    display: block;
    position: relative;
    top: -170px;
    visibility: hidden;
}

/* ============================= CONDOVOICE ============================ */
.condovoice-issue, .condovoice-thumb {
	padding: 0;
	height:350px;
	width:100%;
	text-align: center;
	vertical-align:middle;
	position: relative;
	min-height: 150px;
	overflow: hidden;
	background: rgb(250,250,250);
	background: -moz-linear-gradient(top, rgb(255,255,255) 6%, rgb(249,249,249) 98%);
	background: -webkit-linear-gradient(top, rgb(255,255,255) 6%,rgb(249,249,249) 98%);
	background: linear-gradient(to bottom, rgb(255,255,255) 6%,rgb(249,249,249) 98%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 );
}

.condovoice-thumb {
	height:170px;
	min-height: 100px;
	display:table-cell;
}

.condovoice-issue img, .condovoice-thumb img { 
	width: 100%; 
	height:auto;  
    margin: auto;
	position: absolute;  
    top: 0;
   	/*bottom: 50px;*/
    left: 0;  
    right: 0;  
}
.content .condovoice-thumb.box-1-3 img { 
	width: auto !important;
	width: 100%; 
	height:auto;  
	max-width: 150%;
	max-height: 100%; 
	position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
}

.intro-text-container p {margin-top: 5px;}





/* ============================= FOOTER ============================ */

#footer {
	background-color: var(--tertiary-light);
	width: 100%;
	padding: 50px 0;
	font-size: 1rem;
	color: var(--darkgrey);
	line-height: 1.4;
	position: relative;
} 
#footer a:link, #footer a:visited {
	color: var(--darkgrey);
	text-decoration: none; 
	font-size: 1rem;
	padding: 0;
}
#footer a:hover {
	color: var(--secondary);
}
#footer ul {
	display: block;
	width: 17.5%;
	margin: 0 2% 60px 0;
	padding: 0;
	float: left;
}

#footer ul.special {
	display: block;
	width: 20%;
	margin: 0 0 60px 0;
	padding: 0;
	float: right;
}
#footer ul.special li {
	margin: 0;
	padding: 2px 0 4px 0;
	list-style: none;
}
#footer ul.special li a {
	font-family: 'Montserrat', sans-serif;
	font-weight:400;
	text-decoration:none;
	color: #FFF;
}
#footer ul.special li a:hover {
	color: var(--secondary);
}

#footer li{
	margin: 0;
	padding: 2px 0 4px 0;
	list-style: none;
}
#footer li li {
	margin: 0;
	padding: 3px 0 3px 9px;
	list-style: none;
}
#footer .header, #footer li.header, #footer li.header a, #footer ul.special li.header, #footer ul.special li.header a {
	margin: 15px 0 5px 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight:700;
	font-size: 1.2rem;
	color: var(--primary);
}

#footer li.header:hover, #footer li.header:hover a, #footer ul.special li.header:hover a {
	color:#FFF;
}


#footer .logo-w, #footer2 .logo-w, #footer .logo-fr-w, #footer2 .logo-fr-w {
/*	background: var(--logo-w);*/
	background: var(--logo);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto;
	-moz-background-size: 100% auto;
	-o-background-size: 100% auto;
	background-size: 100% auto;
	width: 216px;
	height: 72px;
}
#footer .logo-fr-w, #footer2 .logo-fr-w {
	background: var(--logo-fr);
	background-repeat:no-repeat;
	-webkit-background-size: 100% auto;
	-moz-background-size: 100% auto;
	-o-background-size: 100% auto;
	background-size: 100% auto;
}
#footer .primary {
	color: var(--primary);
}

#footer2 {
	border-top: 1px solid rgba(0,0,0,0.2);
	width: 100%;
	padding: 10px 0 20px 0;
	font-size: 13px;
	font-weight:400;
	color: var(--darkgrey);
	position: relative;
	overflow: auto;
} 

#footer2 ul {
   margin: 0 auto;
   padding:0;
   width: 100%;
	text-align: center;
}
#footer2 li {
   list-style: none;
   display: inline-block;
   margin: 0 0 0 0;
   padding: 0 20px;
}
#footer2 li a {
	color: #fff;
}
#footer2 li a:hover {
	color: var(--secondary);
}



#mailinglist input[type="text"] {
    background: #FFF url(../png/icon-join.png) no-repeat 0;
    margin:-4px 0 0 0;
    padding: 5px 15px 3px 45px;
	border: 1px solid #ccc;
    font-size: 12px;
    color: #ccc;
    height:21px;
	width: 100px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
    }

#mailinglist input[type="text"]:focus {
	width: 180px;
	color: #333;
    }


/* =============================== TEXT FORMATTING ============================== */
H1, H2, H3, H4, H5, H6 {
	margin: 20px 0 10px 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight:400;
	color:#FFF;
	line-height:1.2;
	letter-spacing: -.5px;
}

h1, h1 a:link, h1 a:visited {
	font-size:32px;
	color:#FFF;
	line-height:1.1;
	margin: 0;
	padding: 7px 20px;
/*	background: rgba(0,0,0,0.6);*/
	background: var(--primary-alpha-2);
	letter-spacing:-1px;
	position: absolute;
	right:0;
	bottom: 0;
}

h2, h2 a:link, h2 a:visited  {
	font-size : 30px;
	color: var(--primary);
}
h3, h3 a:link, h3 a:visited {
	font-size : 30px;
	color: var(--darkgrey);
}
h4, h4 a:link, h4 a:visited {
	font-size : 24px;
	color: var(--primary);
	margin-top: 10px;
}
h5, h5 a:link, h5 a:visited {
	font-size : 24px;
	color: var(--darkgrey);
	margin-top: 10px;
}
h6, h6  a:link, h6 a:visited {
	font-size : 20px;
	color: var(--darkgrey);
	margin: 0;
	line-height: inherit;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, 
a h1:hover, a h2:hover, a h3:hover, a h4:hover, a h5:hover, a h6:hover {
	color: var(--secondary);
}

h1 a:link:after, h1 a:visited:after, h2 a:link:after, h2 a:visited:after,
h3 a:link:after, h3 a:visited:after, h4 a:link:after, h4 a:visited:after,
h5 a:link:after, h5 a:visited:after, h6 a:link:after, h6 a:visited:after {
	background-image: url(../svg/arrow-diagonal.svg);
	background-size: 18px 20px;
	content: "";
	width:18px;
	height:20px;
	margin: 2px 4px 0 10px;
	display: inline-block;
	opacity: .2;
	
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
h6 a:link:after, h6 a:visited:after {
	background-image: url(../svg/arrow-diagonal.svg);
	background-size: 12px 13px;
	content: "";
	width:12px;
	height:13px;
}
h1 a:hover:after, h1 a:active:after, h2 a:hover:after, h2 a:active:after,
h3 a:hover:after, h3 a:active:after, h4 a:hover:after, h4 a:active:after,
h5 a:hover:after, h5 a:active:after, h6 a:hover:after, h6 a:active:after {
	margin: 0 0 2px 14px;
	opacity: 1;
}


hr {
	border: none 0;
	border-top: 1px solid var(--primary);
	height: 1px;
	margin: 40px 0;
	width:100%;
	text-decoration: none;
}

hr.grey {
	border: none 0;
	border-top: 5px solid #CCC;
	height: 5px;
	margin: 40px 0;
	padding: 0;
	width:100%;
	text-decoration: none;
}

hr.yellow {
	border: none 0;
	border-top: 5px solid #e9c662;
	height: 5px;
	margin: 40px 0;
	padding: 0;
	width:100%;
	text-decoration: none;
}

hr.whiteline {
	border: none 0;
	border-top: 1px solid #FFF;
	height: 1px;
	margin: 30px 0;
	padding: 0;
	width:100%;
	text-decoration: none;
}

hr.center {
	margin-left:auto;
	margin-right:auto;
}


.blue, .blue-text {
	color : #00457c;
}
.lightblue, .lightblue a:link  {
	color : #9fcceb;
}
.lightblue a:hover  {
	color : #7697BE;
}
.bergundy {
	color: #9e2533;
}
.yellow {
	color: var(--secondary);
}
.orange {
	color: #db8327;
}
.green {
	color : #90d139;
}
.purple {
	color : #663399;
}
.red, a.red, a.red:visited {
	color : #CC0000;
}
a.red:hover {
	color : #90d139;
}
.white, a.white, h6.white,  a:link h6.white, a h6.white {
	color : #FFF;
}
a.white:hover, a:hover h6.white {
	color : #BDE0FE;
}
.grey  {
	color : #777;
}
.lightgrey  {
	color : #ccc;
}
.small { font-size : 12px;}
.medium { font-size : 18px;}
.large { font-size : 22px;}
.extralarge { font-size : 28px;}
.message-error {
	color:#C00;
	font-size:14px;
}


/* ================================ VIDEO ======================= */

.video-container {
	position:relative;
	padding-bottom: 56.25%;
	overflow:hidden;
}
.video-container iframe, .video-container object, .video-container embed {
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
}

/* =============================== BUTTON ================================ */

a.button, button.button {
	border-radius: 3px;
	border:0;
	color: #fff;
	display: inline-block;
    font-size: 18px;
    margin: 20px 0;
    padding: 15px 30px;
	text-align: center;
	background-color: var(--primary);
	line-height: 1;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
}


a.buttonmid, button.buttonmid {
    border-radius: 2px;
	border:0;
	color: #fff;
	display: inline-block;
	font-size: 15px;
	margin: 3px 0;
	padding: 8px 13px;
	text-align: center;
	background-color: var(--primary);
	line-height: 1;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
}

a.buttonsmall, button.buttonsmall   {
	border-radius: 2px;
	border:0;
	color: #fff;
	display: inline-block;
	font-size: 12px;
	margin: 3px 0;
	padding: 5px 9px;
	text-align: center;
	background-color: var(--primary);
	line-height: 1;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
}
a.button.grey, button.button.grey, a.buttonsmall.grey, button.buttonsmall.grey {
	background: #b4b4b4;
	background-color: #b4b4b4;
}
a.button.lightblue, button.button.lightblue, a.buttonsmall.lightblue, button.buttonsmall.lightblue {
	background: #9fcceb;
	background-color: #9fcceb;
}
a.button.green, button.button.green, a.buttonsmall.green, button.buttonsmall.green {
	background: #97BA24;
	background-color: #97BA24;
}

a.button:hover, a.buttonsmall:hover, button.button:hover, button.buttonsmall:hover, a.buttonmid:hover, button.buttonmid:hover, 
a.button.grey:hover, button.button.grey:hover, a.buttonsmall.grey:hover, button.buttonsmall.grey:hover,
a.button.lightblue:hover, button.button.lightblue:hover, a.buttonsmall.lightblue:hover, button.buttonsmall.lightblue:hover,
a.button.green:hover, button.button.green:hover, a.buttonsmall.green:hover, button.buttonsmall.green:hover
{
	color: #fff;
	background: #fec600;
	background-color: var(--secondary);
}

a.button.darkgrey, button.button.darkgrey, a.buttonsmall.darkgrey, button.buttonsmall.darkgrey {
	background: rgba(0,0,0,0.4);
	background-color: rgba(0,0,0,0.4);
}
a.button.darkgrey:hover, button.button.darkgrey:hover, a.buttonsmall.darkgrey:hover, button.buttonsmall.darkgrey:hover {
	color: #00457c;
	background: #fec600;
	background-color: var(--secondary);
}

#footer a.button {
	border-radius: 3px;
	border: none;
	color: #fff;
	display: inline-block;
	font-size: 16px;
	margin: 10px 0;
	padding: 7px 32px;
	text-align: center;
	background-color: var(--primary);
}
#footer a.button:hover {
	background-color: var(--secondary);
}


/* ===================================== NAV =====================================*/

nav#navbar {
	display: inline-block;
	width: 258px;
}
nav#navbar * {
	list-style-type: none;
}
nav#navbar ul li {
	display: block;
	height: auto;
	width: inherit;
	overflow: hidden;
	/* background: #cad5e1; */
	border-bottom: solid 1px #FFF;
	font-family: Verdana, Arial, sans-serif;
	font-size: 13px;
	text-shadow: 0px 1px 1px #fff;
}
nav#navbar ul li:last-child {
	border-bottom: none;
}
nav#navbar ul li a, nav#navbar ul li a:visited {
	text-decoration: none;
	text-transform: uppercase;
	color: #216093;
	text-shadow: 0px 1px 1px #fff;
	display: block;
	padding: 10px;
	line-height: 1.5;
}
nav#navbar ul li.has-submenu {
	background: url(../png/sub-arrow.png) right 15px no-repeat !important;
}
nav#navbar ul li a:hover {
	color: #90d139;
}
nav#navbar ul li ul {
	display: none;
	margin-left: -12px;
	/*margin-right: -12px;*/
	background: url(../page-not-found.html) repeat-x #e3e3e3;
}
nav#navbar ul li.active>ul {
    display: block;
}
nav#navbar ul li ul li {
	border-bottom: solid 1px #ccc;
	border-left: none;
	background: none;
	padding-left: 19px;
	font-size: 13px;
}
nav#navbar ul li ul li:first-child {
	background: url(../png/arrow.png) 20px 0px no-repeat;
}
nav#navbar ul li ul li:last-child {
	background: url(../page-not-found.html) repeat-x bottom;
}
nav#navbar ul li ul li a, nav#navbar ul li ul li a:visited {
	text-shadow: #FFF 0px 1px 1px;
}
nav#navbar ul li ul li a:hover {
	color: #90d139;
}
nav#navbar ul li:hover ul {
	/*display: block;*/
}
nav#navbar ul li.active > a { color: #90d139; }


/* ====================== FANCY TABLE ======================== */

table {
    /*border-collapse: collapse;
    margin-bottom: 3em;*/
    width: 100%;
    /*background: #fff;*/
}
table td, table th, .fancy td, .fancy th {
    padding: 0.65em .75em;
}
.fancy td.err {
	background-color: var(--primary);
	color: #fff;
	font-size: 0.75em;
	text-align: center;
	line-height: 1;
	}
.fancy th {
	background-color: var(--primary);
	font-weight: 700;
	color: #FFF;
}
table th {
	background-color: #f2f2f2;
	font-weight: 700;
	color: var(--primary);
}

.fancy th a, .fancy th a:visited {
	color: #fff;
}
.fancy th a:hover, .fancy th a:active {
	color: #CFF;
}
/*.fancytable tbody th {
	background-color: #336699;
}*/
.fancy tr:nth-child(odd)  {
	background: rgba(0,0,0,0.02);
}
.fancy tr:nth-child(even) {
	background: rgba(0,0,0,0.04);
}
/*
table tr {
	background: rgba(255,255,255,0);
}
*/
/*
tbr:nth-ody tchild(2n-1) {
    background-color: #f2f2f2;
    transition: all .125s ease-in-out;
}
*/
.fancy tbody tr {
	border-bottom:1px dotted #ccc; /* added by K-J */
	background: rgba(235,245,251,0.15);
}
.fancy tbody tr:hover, .fancy tr:hover {
	background: rgba(0,0,0,0.07);
}
.fancy.no-hover tbody tr:hover {
  background-color: inherit;
}


.fancy.simple tr:nth-child(odd) {
    background-color: #fff;
}
.fancy.simple tr:nth-child(even) {
    background-color: #fff;
}
.fancy.simple tbody tr {
	border-bottom:0;
	background: rgba(235,245,251,0.1);
}
.fancy.simple tbody tr:hover {
	background: rgba(235,245,251,0.5);
}



.fancy p, table p { margin-top:0;}
.fancy, table { font-size : 15px;}
.fancy.small, table .small { font-size : 13px;}
.fancy.tiny, table .tiny { font-size : 11px;}

.fancy.center td {text-align: center;}

.form-errors {
    color: #FF0000;
}

/* ====================== SHOW HIDE ========================= */

.expandicon {
	padding: 5px;
	float: right;
	margin: -40px 0 0 0;
	color: #FFF;
	font-size: 10px;
	text-align: center;
	background-color: #999999;
	border-radius: 3px;
}
.expandiconfull {
	padding:0;
	margin:0;
	height:41px;
	color: #069;
	font-size: 14px;
	text-align: center;
	background: #ebebeb url(../gif/expand-arrow.gif) center bottom no-repeat;
}
.expandicon:hover {
	background-color: var(--primary);
}

.expand-title {
	cursor: pointer;
}
.expand-area {
	padding: 3px;
	background-color:#fcfcfc;
	background-image: -webkit-linear-gradient(rgba( 255, 255, 255, 1), rgba( 252, 252, 252, 1));
	background-image: linear-gradient(rgba( 255, 255, 255, 1),rgba( 252, 252, 252, 1));
}

/* ======================= Go To Top ====================== */
.go-top {
	position: fixed;
	bottom: 1.5em;
	right: 1em;
	width:32px;
	height:32px;
	text-decoration: none;
	color: #FFF;
	background: rgba(0, 0, 0, 0.3) url(../svg/arrow-up-white.svg) 50% 50% no-repeat;
	background-size: 50%;
	font-size: 32px;
	padding: 6px 0 0 9px;
	line-height: 1;
	display: none;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
	    z-index: 5;
}
a.go-top {
	color: #FFF;
}

.go-top:hover {
	background-color: rgba(0, 0, 0, 0.6);
}
/* ====================== STICKY ====================*/
#header.sticky {
/*
	box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-ms-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
	-o-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2);
*/
}
#header .inner.top.sticky {
	height:60px; /*shorter than original */
	-webkit-transition: all 0.4s ease 0s;
	-moz-transition: all 0.4s ease 0s;
	-o-transition: all 0.4s ease 0s;
	transition: all 0.4s ease 0s;
}
#logo.sticky, #logo-fr.sticky {
	width: 160px;
	height:55px;
	top: 7px;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}

/* ----------------- CIRCLES ---------------------- */
.circle-200 {
	width: 200px;
	height: 200px;
	/*border:4px solid #099;*/
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
    -ms-border-radius: 100px;
	 -o-border-radius: 100px;
	border-radius: 100px;
	background-size: cover;
}
.circle-150 {
	width: 150px;
	height: 150px;
	overflow:hidden;
	/*border:3px solid #09C;*/
	-webkit-border-radius: 75px;
	-moz-border-radius: 75px;
    -ms-border-radius: 75px;
	 -o-border-radius: 75px;
	border-radius: 75px;
	background-size: cover;
}
.circle-200 img, .circle-150 img {
	width: 100%;
	height: auto;
}
.fltleft {
	float:left;
	margin:0 20px 20px 0;
}
.fltright {
	float:right;
	margin:0 0 20px 20px;
}
	
/* --------------------------------------- FLIP CARDS START ----------------------------------------- */

.btn:hover,
.btn:focus,
.btn:active{
    outline: 0 !important;
}
/* entire container, keeps perspective */
.card-container {
	-webkit-perspective: 800px;
	-moz-perspective: 800px;
	-o-perspective: 800px;
	perspective: 800px;
    width: 31.2%;
    float: left;
    /* display: block; */
    height: 370px;
    margin: 10px 1%;
}
.card-container.logobiobox {
	-webkit-perspective: 800px;
	-moz-perspective: 800px;
	-o-perspective: 800px;
	perspective: 800px;
    width: 31.2%;
    float: left;
    /* display: block; */
    height: 370px;
    margin: 10px 1%;
}
/* flip the pane when hovered */
	.card-container:not(.manual-flip):hover .card,
	.card-container.hover.manual-flip .card{
	-webkit-transform: rotateY( 180deg );
	-moz-transform: rotateY( 180deg );
	-o-transform: rotateY( 180deg );
	transform: rotateY( 180deg );
	}


	.card-container.static:hover .card,
	.card-container.static.hover .card {
	-webkit-transform: none;
	-moz-transform: none;
	-o-transform: none;
	transform: none;
}
/* flip speed goes here */
.card {
	-webkit-transition: -webkit-transform .5s;
	-moz-transition: -moz-transform .5s;
	-o-transition: -o-transform .5s;
	transition: transform .5s;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	transform-style: preserve-3d;
	position: relative;
	    width: 100%;
    height: 100%;
}

/* hide back of pane during swap */
.front, .back {
	-webkit-backface-visibility: hidden;
   -moz-backface-visibility: hidden;
     -o-backface-visibility: hidden;
        backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #FFF;
    box-shadow: 0 0px 2px 0 rgba(0, 0, 0, 0.2);
	width:100%;
	height: 100%;
}
.front:hover, .back:hover {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);

}

/* front pane, placed above back */
.front {
	z-index: 2;
}

/* back, initially hidden pane */
.back {
	overflow: hidden;
	-webkit-transform: rotateY( 180deg );
	-moz-transform: rotateY( 180deg );
	-o-transform: rotateY( 180deg );
	transform: rotateY( 180deg );
	z-index: 3;
}

/*        CARD Style       */
.card{
    border-radius: 4px;
    color: #444444;
}

.card .cover{
    height: 200px;
    overflow: hidden;
	background: rgb(255,255,255);
	background: linear-gradient(0deg, rgba(255,255,255,1) 41%, rgba(86, 131, 179,1) 100%);
}

.card .speaker{
    border-radius: 50%;
    display: block;
    width: 150px;
   height: 150px;
    margin: -180px auto 0;
    overflow: hidden;
    border: 4px solid #FFFFFF;
	background-color: #F2f2f2;
}
.card .speaker img{
    background: none repeat scroll 0 0 #FFFFFF;
    width: 100%;
}

.card .logo {
    padding: 0;
	height:200px;
	width:100%;
	text-align: center;
/*	display:table-cell;display:table-cell;*/
	vertical-align:middle;
	position: relative;
	min-height: 100px;
	background-color: #fff;
}
.card .logo img {
    width: auto !important;
	max-width: 90%; 
/*	min-width: 200px;*/
	height:auto;  
	max-height: 66%; 
	position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
}

.card hr {
	border: none 0;
	border-top: 2px solid #ccc;
	height: 2px;
	margin: 10px auto;
	padding: 0;
	width:72%;
	text-decoration: none;
}
.card .contentarea{
    box-shadow: none;
    padding: 10px;
	margin:0;
}
.card .contentarea .main {
/*    height: 120px;*/
	overflow: hidden;
}
.card .back .contentarea .main {
/*  height: 280px;*/
	height: 100%;
    overflow: auto;
    position: absolute;
	padding-bottom: 70px;
}

.card .name {
    font-size: 22px;
    margin: 0;
    text-align: center;
    text-transform: capitalize;
}
.card .profession{
    color: #69405c;
    font-size: 15px;
    text-align: center;
    margin: 0 0 20px 3px;
}
.card p {
    color: #a0b7c6;
    text-align: center;
	margin:9px 0;
}
.card .back p {
    color: #444444;
    text-align: left;
	margin:5px 0;
}

.card .cardfooter {
/*
    border-top: 1px solid #EEEEEE;
*/
	background-color: #FFF;
    color: #999999;
    margin: 0;
    padding: 20px 0;
    text-align: center;
	font-size: 14px;
	position: absolute;
	bottom:0;
	width:100%;
    height: 60px;
}
.card .cardfooter .btn-simple{
    margin: 0 auto 10px auto;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}
.card .cardheader {
    padding: 15px 20px;
    height: 90px;
}

/*      Just for presentation        */
.btn-simple{
	padding:10px 15px;
    color: #3B8BBE;
    background-color: #f2f2f2;
	cursor: pointer;
	border:1px solid #ccc;
	border-radius: 20px;
}

.btn-simple:hover,
.btn-simple:focus{
    box-shadow: none;
	background-color: #0099CC;
	border:1px solid #0099CC;
	color:#fff;
}
.btn-simple i{
    font-size: 16px;
}

/*       Fix bug for IE      */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .front, .back{
        -ms-backface-visibility: visible;
        backface-visibility: visible;
    }

    .back {
        visibility: hidden;
        -ms-transition: all 0.2s cubic-bezier(.92,.01,.83,.67);
    }
    .front{
        z-index: 4;
    }
    .card-container:not(.manual-flip):hover .back,
    .card-container.manual-flip.hover .back{
        z-index: 5;
        visibility: visible;
    }
}

/* --------------------------------------- FLIP CARDS END ----------------------------------------- */



/* ::::::::::::::::::::::::::::::::::::::: BOXES ::::::::::::::::::::::::::::::::::::::: */

.box-1, .box-1-3, .box-1-2, .box-2-3, .box-1-4, .box-3-4, .box-1-5, .box-1-6,
.box-1, .box-1of3, .box-1of2, .box-2of3, .box-1of4, .box-3of4, .box-1of5, .box-1of6 
{ float:left; margin-top: 15px; margin-bottom: 20px; margin-left:1%; margin-right:1%; padding:15px 20px; position:relative;}

.box-1 { width: 100%; margin-left:0; margin-right:0; float: none; display:block; clear:both; } 

.box-1-3, .box-1of3 { width: 31%; float:left;}
.box-1-3.nomargin, .box-1of3.nomargin .box-1-3.nomargin.noresize, .box-1of3.nomargin.noresize { width: 33%; float:left; }
.box-1-3.noresize, .box-1of3.noresize { width: 31%; float:left; }

.box-1-2, .box-1of2 { width: 47.8%; float:left; }
.box-1-2.nomargin, .box-1of2.nomargin { width: 50%; float:left; }

.box-2-3, .box-2of3 { width: 64%; float:left; } 
.box-2-3.nomargin, .box-2of3.nomargin { width: 66.9%; float:left; } 
.box-2-3.noresize, .box-2of3.noresize { width: 64%; float:left; }

.box-1-4, .box-1of4 { width: 22.9%; float:left; } 
.box-1-4.nomargin, .box-1of4.nomargin { width: 24.9%; float:left; } 

.box-3-4, .box-3of4 { width: 73.8%; float:left; } 
.box-3-4.nomargin, .box-3of4.nomargin { width: 74.9%; float:left; } 

.box-1-5, .box-1of5 { width: 17.9%; float:left; } 
.box-1-5.nomargin, .box-1of5.nomargin { width: 19.9%; float:left; } 

.box-1-6, .box-1of6 { width: 14.6%; float:left; } 
.box-1-6.nomargin, .box-1of6.nomargin { width: 16.5%; float:left; } 

.l { margin-left:0; }
.r { margin-right:0; }

.floatleft {float:left !important;}
.floatright {float:right !important;}
.floatnone {float:none !important;}

.nomargin { margin:0 !important;}
.nopadding { padding:0;}

.special-padding { padding: 10px 20px 30px 20px; }
.special-padding-right {padding-right:30px}

.clearfloat, .clearfix { 
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

.border { border: 1px solid #057758 !important; }

.box-1 h4, .box-1 h5, .box-1-3 h2, .box-1-3 h3, .box-1-3 h4, .box-1-3 h5, .box-1-2 h2, .box-1-2 h3, .box-1-2 h4, .box-1-2 h5, .box-2-3 h4, .box-2-3 h5 { line-height:1.2; margin-top:10px; }
.box-1 p, .box-1 p, .box-1-3 p, .box-1-3 p, .box-1-2 p { margin:0; padding:4px 0; }

.homebox {
	position: relative;
	padding:0;
	min-height: 230px;
	overflow: hidden;
	background-size: cover;
}
.homebox p {
	margin:0;
	padding:0;
}
.homebox a:link, .homebox a:visited  {
	color:#fff;
}

.homebox img {	
	width: 110% !important;
	max-width: 110%; 
	height:100%  !important;  
	max-height: 100%; 
	position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
}

.homebox .bottombar {
	position: absolute;
	bottom:0;
	left: 0;
	width:100%;
	min-height: 65px;
	padding:20px;
	background: rgba(0,0,0, 0.5);
	color:#fff;
    font-size: 1.3rem;
    font-weight: 600;
	line-height: 1.1;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
.homebox .bottombar.gold {
	background: rgba(186, 140, 10, 0.85);
}
.homebox .bottombar.green {
	background: rgba(75, 107, 68, 0.75);
}
.homebox .bottombar.lightblue {
	background: rgba(94,122,117, 0.75);
}
.homebox .bottombar.grey {
	background: rgba(59, 59, 59, 0.75);
}
.homebox .bottombar.primary-alpha-2 {
	background: var(--primary-alpha-2);
}
.homebox .bottombar.secondary-alpha-2 {
	background: var(--secondary-alpha-2);
}
.homebox .bottombar:hover{
	background: rgba(0,0,0, 0.65);
}

.whitebox {
	background: #FFF;
	border:1px solid #f2f2f2;
}

.redbox {
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	background: #f0515a;
	border:0;
	color:#FFF
}
.lightgreybox {
	background: var(--lightgrey);
	border:2px solid #fff;
}
.fadebox {
	background: rgb(238,238,238);
	background: -moz-linear-gradient(0deg, rgba(238,238,238,1) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(238,238,238,1) 0%, rgba(255,255,255,1) 100%);
	background: linear-gradient(0deg, rgba(238,238,238,1) 0%, rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#eeeeee",endColorstr="#ffffff",GradientType=1);
}
.greybox {
	background-color: #efefef;
	border:1px solid #f3f3f3;
}
.shadow {
	-webkit-box-shadow: 0px 1px 5px rgba(0,0,0,0.09);
	-moz-box-shadow:    0px 1px 5px rgba(0,0,0,0.09);
	box-shadow:         0px 1px 5px rgba(0,0,0,0.09);
	border:1px solid #f2f2f2;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
.shadow:hover {
	-webkit-box-shadow: 0px 2px 11px rgba(0,0,0,0.28);
	-moz-box-shadow:    0px 2px 11px rgba(0,0,0,0.28);
	box-shadow:         0px 2px 11px rgba(0,0,0,0.28);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
.boxbackground {
	border:1px solid #cbd9d3;
	background: rgb(242,249,246);
background: -moz-linear-gradient(180deg, rgba(242,249,246,1) 0%, rgba(215,228,222,1) 90%);
background: -webkit-linear-gradient(180deg, rgba(242,249,246,1) 0%, rgba(215,228,222,1) 90%);
background: linear-gradient(180deg, rgba(242,249,246,1) 0%, rgba(215,228,222,1) 90%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f2f9f6",endColorstr="#d7e4de",GradientType=1);
}
.boxbackground-gold {
	background: var(--secondary-alpha);
	padding-top: 2px;
}
.boxbackground-gold h4 {
    font-size: 24px;
	color: var(--primary);
}
.boxbackground-gold h4 a:link, .boxbackground-gold h4 a:visited {
    font-size: 22px;
	color: var(--darkgrey);
}
.boxbackground-gold h4 a:hover {
    color: var(--primary);
}
.boxbar {
	width: 100%;
	margin: 30px 0 0 0;
	padding: 7px 0 10px 0;
	background-color: #f2f2f2;
	color: #069;
	text-shadow: 0 1px 0 rgba(255,255,255,0.8);
	font-size: 14px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: center;
}
.boxbar a:link, .boxbar a:visited {
	color:#006f51;
}
.boxbar:hover a, .boxbar:hover {
	color:#FFB628;
	text-shadow:0 -1px 0 rgba(255,255,255,0.8);
}
.boxbar:hover {
	background-color: #E8F4F8;
	color: #09C;
}

.logobox {
	-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.06);
	-moz-box-shadow:    0px 0px 5px rgba(0,0,0,0.06);
	box-shadow:         0px 0px 5px rgba(0,0,0,0.06);
	border:1px solid #eaeaea;
	padding: 0;
	height:200px;
	text-align: center;
	display:table-cell;
	vertical-align:middle;
	position: relative;
	min-height: 100px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
.logobox:hover {
	-webkit-box-shadow: 0px 2px 11px rgba(0,0,0,0.28);
	-moz-box-shadow:    0px 2px 11px rgba(0,0,0,0.28);
	box-shadow:         0px 2px 11px rgba(0,0,0,0.28);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
.logobox img { 
	width: auto !important;
	max-width: 90%; 
	height:auto;  
	max-height: 66%; 
	position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
}
.logobox h4, .logobox h5 { 
	
	position: absolute;  
    top: 35%;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
}
.hotbox h4, .hotbox h4 a, .hotbox h5, .hotbox h5 a {
	font-size: 28px;
}
.hotbox:hover h4, .hotbox:hover h4 a, .hotbox:hover h5, .hotbox:hover h5 a {
	color: #37AAE8;
}

.content .imagebox, .imagebox {
	background-color: #0F4700;
	color:#fff;
	text-align: center;
	display:table-cell;
	vertical-align:middle;
	position: relative;
	min-height: 180px;
	overflow: hidden;
}

.content .imagebox img, .imagebox img {
	width: auto !important;
    height: 100%!important;
	position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
	opacity: .55;
	z-index:1;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}
.content .imagebox:hover img, .imagebox:hover img {
	opacity: .3;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
.imagebox h4, .imagebox h4 a, .imagebox h5, .imagebox h5 a, .imagebox h6, .imagebox h6 a {
	color:#FFF;
	font-size: 22px;
	position: absolute;  
	top:15%;
    left: 2%;  
	width: 96%;
	text-align: center;
	z-index:2;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
.imagebox:hover h4, .imagebox:hover h4 a, .imagebox:hover h5, .imagebox:hover h5 a, .imagebox:hover h6, .imagebox:hover h6 a {
	color: #FCF29E;
	top:12%;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}
.imagebox p, .imagebox p a {
	color:#FFF;
	font-size: 16px;
	position: absolute;  
	bottom:10%;
/*
	opacity: 0;
	visibility: hidden;
*/
    left: 2%;  
	width: 96%;
	text-align: center;
	z-index:2;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}



.height100, .height-100 { height:100px; overflow:hidden }
.height150, .height-150 { height:150px; overflow:hidden }
.height180, .height-180 { height:180px; overflow:hidden }
.height200, .height-200 { height:200px; overflow:hidden }
.height225, .height-225 { height:225px; overflow:hidden }
.height250, .height-250 { height:250px; overflow:hidden }
.height275, .height-275 { height:275px; overflow:hidden }
.height300, .height-300 { height:300px; overflow:hidden }
.height350, .height-350 { height:350px; overflow:hidden }
.height400, .height-400 { height:400px; overflow:hidden }
.height450, .height-450 { height:450px; overflow:hidden }
.height500, .height-500 { height:500px; overflow:hidden }
.height600, .height-600 { height:600px; overflow:hidden }
.height700, .height-700 { height:700px; overflow:hidden }


.position-bottom, .position-bottom-80, .position-bottom-120 {
	position: absolute;
	bottom:30px;
	text-align: center;
	width: 100%;
}
.position-bottom-80 {
	width: 80%;
}
.position-bottom-120 {
	width: 80%;
	bottom:120px;
}
.padding-bottom-170 {
	padding-bottom:170px;
}



/* =============== SIDE MENU ================= */

.box-1-4.sidebar {
	margin:0 2% 0 0;
	padding:0;
}

.sidebar ul {
	margin: 0;
	padding: 0;
}
.sidebar li {
	margin: 0;
	padding: 2px 0 4px 0;
	list-style: none;
}
.sidebar li li {
	margin: 0;
	padding: 3px 0 3px 9px;
	list-style: none;
	font-size: .9em;
}


.sidebar .header, .sidebar .header a:link, .sidebar .header a:visited {
	margin: 0 0 10px 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight:400;
	font-size : 20px;
	color: var(--primary);
}
.sidebar .header a:hover {
	color: var(--primary);
}


/* =================== Modern FANCYBOX ================= */
.fancybox-slide--iframe .fancybox-content {
    width  : 800px;
    height : 600px;
    max-width  : 80%;
    max-height : 80%;
    margin: 0;
}



/* =================== Flex container ================= */
.flex-container {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;  /* create a flex layout context */
	padding: 0;
	margin: 0;
	list-style: none;
	-webkit-flex-flow: row wrap;
	justify-content: center;
	flex-wrap: wrap;
}

.flex-item {
	align-items:stretch;
/*	min-width:180px;*/
}


/* ================== END  Flex container =============== */


/* :::::::::::::::::::::::::::::::::::::::::: DATE as CALENDAR ::::::::::::::::::::::::::::::: */

.calendar h4 {  margin-top: -20px;}

.date-as-calendar {
  font-variant: normal;
  font-style: normal;
  font-weight: normal;
  font-family: "Helvetica", "Arial", sans-serif;

  /* It seems vertical-align: baseline does not work correctly with display: inline-flex. */
  vertical-align: top;

  /* margin: 1ex; */

  color: #333;
  background: white;
  background : linear-gradient(to bottom right, #FFF 0%, #EEE 100%);

  border: 1px solid #fefefe;
  border-radius: 5px;
  overflow: hidden;

  /*box-shadow: 2px 2px 2px -2px black;*/
	
	float:left;
	margin:10px 20px 0 0;
	clear: both;
}
.date-as-calendar .weekday,
.date-as-calendar .day,
.date-as-calendar .month,
.date-as-calendar .year {
  text-align: center;
  line-height: 1.0;
}
.date-as-calendar .month {
	font-family: "Helvetica", "Arial", sans-serif;
	text-transform: uppercase;
	background-color: #00679F;
	color: #FFFFFF;
}
.date-as-calendar .year {
	font-family: "Helvetica", "Arial", sans-serif;
	text-transform: uppercase;
	color: #00679F;
}


/*  :::: CALENDAR ::::  Layout rules using position: absolute and pixels. */
.position-pixels.date-as-calendar {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.position-pixels.date-as-calendar .weekday,
.position-pixels.date-as-calendar .day,
.position-pixels.date-as-calendar .month,
.position-pixels.date-as-calendar .year {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 1em;
}
.position-pixels.date-as-calendar .month {
  top: 0px;
  font-size: 12px;
  padding: 2px 0;
}
.position-pixels.date-as-calendar .weekday {
  top: 16px;
  font-size: 10px;
}
.position-pixels.date-as-calendar .day {
  top: 26px;
  font-size: 24px;
}
.position-pixels.date-as-calendar .year {
  top: 50px;
  font-size: 14px;
}

/*  :::: CALENDAR ::::  Layout rules using position: absolute and relative dimensions using em. */
.position-em.date-as-calendar {
  display: inline-block;
  position: relative;
  
  width: 4.2em; 
  height: 4em; 
}
.position-em.date-as-calendar .weekday,
.position-em.date-as-calendar .day,
.position-em.date-as-calendar .month,
.position-em.date-as-calendar .year {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 1em;
}
.position-em.date-as-calendar .month {
  top: 0px;
  font-size: 0.65em;
  padding: 0.3em 0 1em 0;
}
.position-em.date-as-calendar .weekday {
  top: 1.6em;
  font-size: 0.6125em;
}
.position-em.date-as-calendar .day {
  top: 1.1em;
  font-size: 1.5em;
 font-weight:700;
}
.position-em.date-as-calendar .year {
  bottom: 0px;
  font-size: 0.87750em;
}

/* :::: CALENDAR :::: Multiple sizes. */
.date-as-calendar.size0_5x {
  font-size: 8px;
}
.date-as-calendar.size0_75x {
	font-size: 12px;
	margin:2px 10px 5px 0;
}
.date-as-calendar.size1x {
  font-size: 16px;
}
.date-as-calendar.size1_25x {
  font-size: 20px;
}
.date-as-calendar.size1_5x {
  font-size: 24px;
}

/* ======================== LOGIN FORMS ======================== */
.login {
  border-radius: 2px 2px 5px 5px;
  margin:20px auto;
  padding: 10px 20px 20px 20px;
  width: 90%;
  max-width: 640px;
  background: #f2f2f2;
  position: relative;
  padding-bottom: 80px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
}
.login.loading button {
  max-height: 100%;
  padding-top: 50px;
}
.login.loading button .spinner {
  opacity: 1;
  top: 40%;
}
.login.ok button {
  background-color: #8bc34a;
}
.login.ok button .spinner {
  border-radius: 0;
  border-top-color: transparent;
  border-right-color: transparent;
  height: 20px;
  animation: none;
  transform: rotateZ(-45deg);
}
.login input {
  display: block;
  padding: 15px 10px;
  margin-bottom: 10px;
  width: 100%;
  border: 1px solid #ddd;
  transition: border-width 0.2s ease;
  border-radius: 2px;
  color: #ccc;
}
.login input + i.login-icon {
  color: #fff;
  position: absolute;
  margin-top: -47px;
  opacity: 0;
  left: 0;
  transition: all 0.1s ease-in;
}
.login input:focus {
  outline: none;
  color: #444;
  border-color: rgba(0, 85, 165, 0.85);
  border-left-width: 35px;
}
.login input:focus + i.login-icon {
  opacity: 1;
  left: 23px;
  transition: all 0.25s ease-out;
}
.login a {
  font-size: 0.9em;
  color: rgba(20, 80, 244, 0.85);
  text-decoration: none;
}
.login a:hover {
  color: rgba(20, 180, 255, 0.95);
}
.login .title {
  color: #444;
  font-size: 1.2em;
  font-weight: bold;
  margin: 10px 0 20px 0;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}
.login button {
  width: 100%;
  height: 100%;
  padding: 10px 10px;
  background: rgba(0, 85, 165, 0.85);
  color: #fff;
  display: block;
  margin-top: 20px;
  position: absolute;
  left: 0;
  bottom: 0;
  max-height: 60px;
  border: 0px solid rgba(0, 0, 0, 0.1);
  border-radius: 0 0 2px 2px;
  transform: rotateZ(0deg);
  transition: all 0.1s ease-out;
  border-bottom-width: 7px;
	font-size: 132%;
}
.login button .spinner {
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  border: 4px solid #ffffff;
  border-top-color: rgba(255, 255, 255, 0.3);
  border-radius: 100%;
  left: 50%;
  top: 0;
  opacity: 0;
  margin-left: -20px;
  margin-top: -20px;
  animation: spinner 0.6s infinite linear;
  transition: top 0.3s 0.3s ease, opacity 0.3s 0.3s ease, border-radius 0.3s ease;
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2);
}
.login:not(.loading) button:hover {
  box-shadow: 0px 1px 3px rgba(61, 102, 150, 0.85);
}
.login:not(.loading) button:focus {
  border-bottom-width: 4px;
}
.login-icon.user {
	background: url(../svg/login-icon-user.svg);
	width:28px;
	height:28px;
}
.login-icon.key {	
	background: url(../svg/login-icon-key.svg);
	width:28px;
	height:28px;
}

::-webkit-input-placeholder { /* Chrome, Safari */
   color: #bbb;
   font-size: 14px;
}

:-moz-placeholder {           /* Firefox 18- */
   color: #bbb;
   font-size: 14px;
}

::-moz-placeholder {          /* Firefox 19+ */
  color: #bbb;
  font-size: 14px;
}

:-ms-input-placeholder {      /* Internet Explorer */
  color: #bbb;
  font-size: 14px;
}


/* ============================= BURGER ============================ */

.nav-icon {
  display: block;
  /*position: absolute;
	  top: 50px;
  left: 40px;*/
  width: 30px;
  height: 25px;

  cursor: pointer;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
	z-index: 1;
}
.nav-icon.open .burger {
  background: none;
}
.nav-icon.open .burger:before, .nav-icon.open .burger:after {
  top: 0;
}
.nav-icon.open .burger:before {
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.nav-icon.open .burger:after {
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.nav-icon:hover:not(.open) .burger:before {
  top: -11px;
}
.nav-icon:hover:not(.open) .burger:after {
  top: 11px;
}

.burger, .burger:before, .burger:after {
  width: 25px;
  height: 4px;
	left:0;
  background: rgba(255,255,255,0.9);
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.burger {
  position: relative;
  margin: 11px auto 0;
}
.burger:before, .burger:after {
  content: "";
  position: absolute;
}
.burger:before {
  top: -9px;
}
.burger:after {
  top: 9px;
}



/* ========== FORM ELEMENTS ==========  */

.styled-select {
	margin:10px auto;
   background: url(../page-not-found.html) no-repeat 96% 0;
   height: 34px;
   overflow: hidden;
   width: 250px;
}

.styled-select select {
   border: 1px solid #ccc;
   font-size: 16px;
   height: 34px;
   width: 250px;
}


select {width:60%; font-size: 1.13em;}
label input {width:25px;}
input {width:60%; font-size: 1.13em; line-height: 1.6;}
input[type="radio"] { width: 5%; }

input[type="submit"] {width:100%;}


.control-group  { display: flex;}
.control-group .controls { flex: 1; }
.control-group .controls input, .control-group .controls textarea { flex: 1;}



/* ::::::::::::: START  DIALOGUE TOOL TIP :::::::::::::::: */

.fancytip {display: none;}

.ui-widget-header {
    border-bottom: 1px solid #e9c662;
}


 /* ::::::::::::::: PRINTBLE AREA :::::::::::::::: */

@media print {
	  body * {
/*		visibility: hidden;*/
	  }
	#noPrint, #subnav, #subnav * {display:none;}
	  #printArea, #printArea * {
		visibility: visible;
	  }
	  #printArea {
		position: absolute;
		left: 0;
		top: 0;
	  }
	#printArea.box-2-3 {width:100%}
}

/* ================================================================= 
::::::::::::::::::::::: Responsive settings  :::::::::::::::::::::::
================================================================== */


@media screen and (max-width: 1366px) {
	.inner {
		padding:0px 20px;	
	}
	#social {
		right:20px;
	}
	#header .inner {
		padding:0px 1px;	
	}

	ul.nav li {
		font-size: 15px;
		padding: 8px 9px;
	}
	ul.nav li ul {
		top: 40px;
	}	
}
@media screen and (max-width: 1200px) {
	h1 {bottom: 7px;}
	ul.nav li {
		font-size: 14px;
		padding: 9px 7px;
		white-space: normal;
		flex-shrink: inherit;
		line-height: 1.2;
	}
	ul.nav li ul {
		top: 40px;
	}	
	
}
@media screen and (max-width: 1024px) {
	.navbar {
		width:100%;
		right:0;
	}	
	ul.nav li {
		font-size: 14px;
		padding: 9px 5px;
	}
	ul.nav li ul {
		top: 40px;
	}	
	
	ul.nav .has-submenu>a {
		background:none;
		padding-right:0;
	}
    .homebox {
        min-height: 200px;
    }

	H1 {font-size : 30px;}
	H2, h2 a:link, H3, h3 a:link {font-size : 24px;}
	H4, h4 a:link, H5, h5 a:link {font-size : 20px;}
	H6, h6 a:link {font-size : 16px;}	
	
	hr.yellow, hr.grey {
		margin: 30px 0;
	}
	hr.center {
		margin-left: auto;
		margin-right: auto;
	}
	.box-1, .box-1-3, .box-1-2, .box-2-3, .box-1-4, .box-1-5 { margin-top: 10px; margin-bottom: 20px;}

}
@media screen and (max-width: 900px) {
	#header .inner.top {
		height:90px;
	}	
	.content {
		padding: 20px;
		min-height:100px;
	}
	ul.nav li {
		font-size: 14px;
		padding: 7px 7px;
	}
	.fr-nav ul.nav li {
		font-size: 12px;
	}
	ul.nav li li>a {
		font-size: 12px;
	}

	ul.nav li ul {
		padding: 0;
		position: absolute;
		top: 46px;
	}
	
    h1 { font-size: 26px; }
	
	.homebox {
		min-height: 200px;
	}
	.card-container {
		width: 47%;
	}
	.hide900 {
		display:none;	
	}	
	.full900, .box-3-4.nomargin.full900 {
		width:100%;	
	}
}
@media screen and (max-width: 850px) {
   .homebox {
        min-height: 180px;
    }
    .homebox .bottombar {
        font-size: 16px;
    }
	#footer .header, #footer li.header a {
		font-weight: 400;
		font-size: 18px;
	}
	#footer .logo, #footer2 .logo {
		width: 150px;
		height: 62px;
	}
	.card-container {
    	font-size: 12px;
	}
	.card-container.three, .card-container.four {
		width:47%;
	}
}
@media screen and (min-width: 670px) {
	#menubar {
		display: none;
	}
	.mobile {
		display:none;	
	}
}
@media screen and (max-width: 670px) {
	body {
		font-size: 15px;
		line-height: 1.4;
	}
	.mobile {
		display: block;	
	}
	.desktop {
		display:none;	
	}
	#pagebanner {
		margin: 10px 0;
	}
	.content {
		margin:0;
		padding: 55px 10px;
	}
	.content.fullwidth {
		margin:0;
		padding: 0;
	}
	H2, h2 a, H3, h3 a, H4, h4 a, H5, h5 a, H6, h6 a{
		margin: 5px 0;
	}
	H1 {font-size: 18px; bottom: 4px; }
	H2, h2 a, H3, h3 a {font-size : 24px;}
	H4, h4 a, H5, h5 a {font-size : 20px;}
	H6, h6 a {font-size : 16px;}
	
   .homebox {
        min-height: 160px;
    }
    .homebox .bottombar {
        font-size: 14px;
    }
	
	.small { font-size : 13px;}
	.medium { font-size : 16px;}
	.large { font-size : 18px;}
	.extralarge { font-size : 20px;}

	#banner { margin: 40px 0 0 0;	}
	#banner .innertext {
		bottom: 5px;
	}
 
	#pagebanner img {
		display: inline-block;
		text-align: center;
		width: 140%;
		max-width: 140%;
		margin: 0 0 0 -10%;
	}

	.homebox .bottombar {
		min-height: 40px;
		padding:10px 20px;
	}
	hr {
		margin: 20px 0;
	}
	hr.yellow, hr.grey {
		margin: 20px 0;
	}
	hr.center {
		margin-left: auto;
		margin-right: auto;
	}
	.box-1, .box-1-3, .box-1-2, .box-2-3, .box-1-4, .box-3-4, .box-1-5, .box-1-6 { margin-top: 10px; margin-bottom: 15px; margin-left:0; margin-right:0; padding:10px 10px;}
	.box-1-3, .box-1-3.nomargin, .box-1-2, .box-1-2.nomargin, .box-2-3, .box-2-3.nomargin, .box-3-4, .box-3-4.nomargin { width: 100%;} 
	.box-1-3, .box-1-4 { width: 48%; margin-left:1%; margin-right:1%;  } 
	.box-1-5, .box-1-6 { width: 48%;  margin-left:1%; margin-right:1%; } 
	.box-1 img, .box-1-3 img, .box-1-2 img, .box-2-3 img, .box-1-4 img, .box-1-5 img { max-width:99%; height:auto;}

	.width-50, .box-1-2.width-50, .box-1-2.nomargin.width-50 { width: 48%; margin-left:1%; margin-right:1%; }
	.width-100 { width: 100%; margin-left: 0; margin-right: 0 }


	.box-1, .box-1of3, .box-1of2, .box-2of3, .box-1of4, .box-3of4, .box-1of5, .box-1of6 
{ float:left; margin-top: 15px; margin-bottom: 20px; margin-left:1%; margin-right:1%; padding:15px 20px; position:relative;}

	
	
	
	.special-padding-right, .border-left {padding-right:5px; padding-left:5px; border-left:0;}

	.logobox {
		-webkit-box-shadow: none;
		-moz-box-shadow:    none;
		box-shadow:         none;
		border: none;
		height:100px;
		min-height: 100px;
	}
	.logobox:hover {
		-webkit-box-shadow: none;
		-moz-box-shadow:    none;
		box-shadow:         none;
	}
	
	.box-1-4.sidebar {
		border-right:0;
		margin:0;
		padding:5px 30px 10px;
		background-color: #eee;
		overflow: visible;
	}
	.sidebar p {
		line-height: 1.2;
		margin:0;
	}
	
	a.button.special {
		height: 90px;
		font-size: 13px;
	}	
	#footer {
		padding: 10px 0 20px 0;
	}
	#footer2 .text {
		position: inherit;
		top:2px;
		margin:0 auto;
	}
	#footer2 .inner {
		text-align: center;
	}

	.height100, .height-100, .height150, .height-150, .height180, .height-180, .height200, .height-200, .height225, .height-225, .height250, .height-250, .height275, .height-275, .height300, .height-300, .height350, .height-350, .height400, .height-400, .height450, .height-450, .height500, .height-500, .height600, .height-600, .height700, .height-700, .height800, .height-800 { height: auto; }

	table td, table th, .fancy td, .fancy th { padding: 0.125em; }
	.fancy, table { font-size : 13px; width: 100% !important;}
	.fancy.small, table .small { font-size : 12px;}
	.fancy.tiny, table .tiny { font-size : 11px;}
	
	.go-top {
		font-size: 1px;
		padding: 10px 0 0 9px;
	}
	
	.calendar h4 {  margin-top: -10px;}
	
	.position-bottom-120 {
		bottom:40px;
	}
	.padding-bottom-170 {
		padding-bottom:100px;
	}
/*
	#search input[type="text"], #search input[type="text"]:focus, .styled-select, .styled-select select {
	   width: 110px;
	}
	#search input[type="text"] {
		background: rgba(0,0,0,0.3) url(../images/icon-search.png)  3px  no-repeat;
		margin:-4px 0 0 0;
		padding: 5px 15px 3px 35px;
		border: 0;
		font: 11px Arial,Helvetica,Sans-serif;
		color: #fff;
		height:29px;
		width: 30px;
		-webkit-border-radius: 20px;
		-moz-border-radius: 20px;
		border-radius: 20px;
		-webkit-transition: all 0.7s ease 0s;
		-moz-transition: all 0.7s ease 0s;
		-o-transition: all 0.7s ease 0s;
		transition: all 0.7s ease 0s;
		}
	#search input[type="text"]:focus {
		width: 110px;
		color: #fff;
		background: rgba(0,0,0,0.5) url(../images/icon-search.png)  3px  no-repeat;
	}
*/
	
	select {width:100%; font-size: 1.03em;}
	label input {width:20px;}
	input {width:100%; font-size: 1.03em; line-height: 1.4;}

}
/* ||||||||||| END 670  |||||||||||| */

@media screen and (max-width: 550px) {
	
	.fancy, table { font-size : 13px;}
	.fancy.small, table .small { font-size : 12px;}
	.fancy.tiny, table .tiny { font-size : 11px;}
	
}
/* ||||||||||| END 550  |||||||||||| */



@media screen and (max-width: 480px) {

	H1 {font-size: 16px; bottom: 4px; }
	H2, h2 a, H3, h3 a {font-size : 20px;}
	H4, h4 a, H5, h5 a {font-size : 16px;}
	H6, h6 a {font-size : 14px;}
	
	table tr:nth-child(odd)  {
		background: rgba(0,0,0,0.02);
	}
	table tr:nth-child(even) {
		background: rgba(0,0,0,0.04);
	}
	
	.fancy, table { font-size : 12px;}
	.fancy.small, table .small { font-size : 11px;}
	.fancy.tiny, table .tiny { font-size : 10px;}
	
}
/* ||||||||||| END 480  |||||||||||| */


@media screen and (max-width: 320px) {
	
	.fancy, table { font-size : 11px;}
	.fancy.small, table .small { font-size : 10px;}
	.fancy.tiny, table .tiny { font-size : 9px;}
	
}
/* ||||||||||| END 320  |||||||||||| */



/* ||||||||||||| MOBILE MENUBAR START ||||||||||||| */
	#menubar {
	padding: 0;
	width: 100%;
	height: 41px;
	background-color: var(--primary);
	position: fixed;
	top: 0;
	z-index: 1000;
	box-shadow: 0 1px 7px rgba(0,0,0,0.4);
	}

	#menubar ul {
		margin: 0 auto;
		padding: 0;
		display: inline-block;
	}
	#menubar li {
		list-style: none;
		display: block;
		padding: 12px 9px;
		float: left;
		white-space:nowrap;
	}
	#menubar li:first-child {
		padding-left:0;
	}
	#menubar li:last-child {
		padding-right:0;
	}
	#menubar li a {
		padding: 10px 10px 0 0;
		color: #FFF;
		font: 16px Verdana, Arial, sans-serif;
		text-decoration: none;
	}
	#menubar li a:hover {
		color: #fff99c;
	}
	#menubar li a:active {
		color: #9C0;
	}
	.menucontainer {
		text-align: center;
		margin: 0 auto;
	}
/* ||||||||||||| MOBILE MENUBAR END ||||||||||||| */

/* ===================================== MOBILE NAV =====================================*/

	#menuhead {
		display: block;
		width: 97%;
		margin:0 auto;
		padding: 10px;
		background-color: var(--primary);
		color:#FFF;
		font-size:14px;
		text-align:left;
		min-width:300px;
	}
	
	nav#mobilenav {
		display: inline-block;
		width: 97%;
		margin:0 auto;
		text-align: left;
		min-width:300px;
	}
	nav#mobilenav * {
		list-style-type: none;
		margin:0;
		padding:0;
	}
	nav#mobilenav ul li {
		display: block;
		min-height: 36px;
		line-height: 36px;
		height: auto;
		width: inherit;
		overflow: hidden;
		background-color: var(--primary);
		border-bottom: 1px solid rgba(255,255,255,0.2);
		font-family: Verdana, Arial, sans-serif;
		font-size: 12px;
	}
	nav#mobilenav ul li:last-child {
		border-bottom: none;
	}
	nav#mobilenav ul li a, #mobilenav ul li a:visited {
		text-decoration: none;
		text-transform: uppercase;
		color: #FFF;
		display: block;
		line-height: 16px;
		padding: 10px 12px;
	}
	nav#mobilenav ul li.has-submenu {
		background: url(../png/sub-arrow.png) 280px 10px no-repeat;
	}
	nav#mobilenav ul li.has-submenu:hover {
		background: rgba(0, 0, 0, 0.2) url(../png/sub-arrow.png) 280px 10px no-repeat;
	}	
	nav#mobilenav ul li>a:hover {
		color: #fff99c;
	}
	nav#mobilenav ul li ul {
		display: none;
		margin-left: -12px;
		margin-right: -12px;
		background: rgba(0, 0, 0, 0.2) /*url(../images/shadow.png) repeat-x*/;
		-webkit-box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.4);
		-moz-box-shadow:    inset 0 10px 10px -10px rgba(0,0,0,0.4);
		box-shadow:         inset 0 10px 10px -10px rgba(0,0,0,0.4);
	}
	nav#mobilenav ul li.active>ul {
		display: block;
	}
	nav#mobilenav ul li ul li {
		border-bottom: solid 1px rgba(255,255,255,0.2);
		border-left: none;
		background: none;
		padding-left: 20px;
		font-size: 12px;
	}
	nav#mobilenav ul li ul li:first-child {
		-webkit-box-shadow: inset 0px 10px 10px -10px rgba(0,0,0,0.4);
		-moz-box-shadow: 	inset 0px 10px 10px -10px rgba(0,0,0,0.4);
		box-shadow: 		inset 0px 10px 10px -10px rgba(0,0,0,0.4);
	}
	nav#mobilenav ul li ul li:last-child {
		-webkit-box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.4);
		-moz-box-shadow:    inset 0 -10px 10px -10px rgba(0,0,0,0.4);
		box-shadow:         inset 0 -10px 10px -10px rgba(0,0,0,0.4);
	}
	nav#mobilenav ul li ul li a:hover {
	color: #fff99c;
	}
	nav#mobilenav ul li:hover ul {
		/*display: block;*/
	}

	#fancybox-bio img {
		max-width: 800px;
		max-height: 600px;
	}




/* ====================== DIRECTORY TABLE ======================== */

table .directory {
   border: inherit ;
}
.directory td, .directory th {
    padding: 0.5em .75em;
}
.directory td.err {
  background-color: #003399;
  color: #fff;
  font-size: 0.75em;
  text-align: center;
  line-height: 1;
  }
.directory th {
  background-color: #006699;
  font-weight: 700;
  color: #FFF;
  white-space: nowrap;
}
.directory th a, .directory th a:visited {
  color: #fff;
}
.directory th a:hover, .directory th a:active {
  color: #9CC;
}

.directory tr, .directory tbody td {
  border-bottom:2px solid #ccc;
  background: rgb(242,242,242);

  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmYyZjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

  background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(242,242,242,1) 100%);

  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(242,242,242,1)));

  background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%);

  background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%);

  background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%);

  background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%);

  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=0 );

}

.directory h4 {
  font-size: 22px;
  color: #0099CC;
  margin: 5px 0 0 0;
  padding:10px;
  text-align:center;
  border-bottom:2px dotted #0099CC;
  width:100%;
}
#content .directory img, .directory img {
  max-width:275px;
  max-height:220px;
  float:right;
  margin:10px 0 10px 10px;
}

@media screen and (max-width: 700px) {
  #content .directory img, .directory img {
    max-width:175px;
    max-height:120px;
    margin:5px 0 5px 5px;
  }
}

.fancybox-close.special-map {
  position: absolute;
    top: -1px !important;
    right: -2px !important;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 8060;
}

.fancybox-wrap, .fancybox-wrap * {
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
}

.field-label-first {
  font-weight: bold;
  text-align:center;
  width:18%;
}

.field-label {
  font-weight: bold;
  text-align:center;
}

.letter-table {
  margin-bottom:15px;
}

.letter-table a, .letter-search {
  margin-right:10px;
  margin-left:10px;
  line-height: 33px;
}

.letter-table a:first-child, .letter-search-first {
  margin-right:20px;
  margin-left:10px;
}

.active-letter {
  background-color: #006699;
  padding: 5px;
  color: #FFF !important;
}

.contact-info-block {
  width:67%;
}

.fancybox-map {
  width:41px;
  height:40px;
  float:right;
  margin: -15px 0 15px 10px;
}

.loader {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color:rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

#search-filters label {
  display: inline;
  font-size: 14px;
  margin-right: 7px;
}

#search-filters input[type='checkbox'] {
  display: inline;
}

/* ----------------------------
		PAGINATION
------------------------------ */


#pagination li          { border:0; margin:0; padding:0; font-size:11px; list-style:none; /* savers */ float:left; }
#pagination a           {
  border:1px solid #CCC;
  margin-right:2px;
  color: #00769D;
}
#pagination .previous-off,
#pagination .next-off   {
  border:solid 1px #DEDEDE;
  color:#888888;
  display:block;
  float:left;
  font-weight:bold;
  margin-right:2px;
  padding-top: 6px;
  padding-right: 8px;
  padding-bottom: 6px;
  padding-left: 8px;
}
#pagination .next a,
#pagination .previous a { font-weight:bold; }
#pagination a:link,
#pagination a:visited   {
  color:#00769D;
  display:block;
  float:left;
  text-decoration:none;
  padding-top: 6px;
  padding-right: 8px;
  padding-bottom: 6px;
  padding-left: 8px;
}
#pagination a:hover     { border:1px solid #00769D;}
#pagination a.active     {
  color:#FFFFFF;
  font-weight:bold;
  display:block;
  float:left; /* savers */
  margin-right:2px;
  background-color: #00769D;
  padding-top: 6px;
  padding-right: 8px;
  padding-bottom: 6px;
  padding-left: 8px;
}



/* ====================== Mailchimp popup override ======================== */

.mc-modal-bg {
    opacity: 0.6 !important;
}


#search-filters .buttonmid {
	margin-left: 8px;
}

span.highlight {
	font-weight:bold;
}
