/*
	Theme Name: NLCI
	Description: NLCI website template
*/
/* ---------------------------
	Reset
--------------------------- */
*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
abbr, address, article, aside, audio, b, blockquote, body, canvas,
caption, cite, code, dd, del, details, dfn, div, dl, dt, em, fieldset,
figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup,
html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav,
object, ol, p, pre, q, samp, section, small, span, strong, sub, summary,
sup, table, tbody, td, tfoot, th, thead, time, tr, ul, var, video { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; background-color: transparent; }
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; }
address, cite, q, dfn { font-style: normal; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; line-height:1; }
a, ins, del { text-decoration:none }
q, blockquote { quotes: none; }
th, td {  vertical-align: top; }
th { text-align: left; }
nav li { display:inline-block; list-style:none; position: relative; }
img { display:block; max-width:100%; height:auto; }
button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;}
button,input{*overflow:visible;line-height:normal;}
button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}
textarea{overflow:auto;vertical-align:top;}
label,input,button,select,textarea{font-size:14px;font-weight:normal;line-height:20px;}
input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
label{display:block;margin-bottom:5px;font-size:16px;}
select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:30px;padding:5px;font-size:14px;line-height:1;color:#555555;vertical-align:middle;width:100%;}
textarea{height:auto;padding:4px 6px;}
textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#ffffff;border:1px solid #cccccc;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border linear .2s, box-shadow linear .2s;-moz-transition:border linear .2s, box-shadow linear .2s;-o-transition:border linear .2s, box-shadow linear .2s;transition:border linear .2s, box-shadow linear .2s;}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datef-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82, 168, 236, 0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);}
input[type="radio"],input[type="checkbox"]{margin:4px 0 0;*margin-top:0;margin-top:1px \9;line-height:normal;cursor:pointer;}
input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto;}
select,input[type="file"]{height:25px;*margin-top:4px;line-height:1;}
select{border:1px solid #cccccc;background-color:#ffffff;}
select[multiple],select[size]{height:auto;}
select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
iframe { margin: 0 auto; text-align: center; }


/* ---------------------------
	General
--------------------------- */
html {
	-webkit-text-size-adjust: none;
}
body {
	background: #fff;
	position: relative;
	color: #333;
	font: 300 14px/20px Merriweather, garamond, sans-serif;
}
a {
	text-decoration: none;
	color: #b90c49;
}
p {
	margin: 0;
	padding-bottom: 20px;
}
h1,
h2,
h3,
h4,
h5 {
	font-family: Raleway;
	padding: 20px 0;
	font-size: 18px;
	line-height: 1.2;
	color: #b90c49;
}
h1 {
	font-size: 36px;
	padding:0 0 20px 0;
}
h2 {
	font-size: 30px;
	padding: 20px 0 10px;
}
h3 {
	font-size: 26px;
	padding: 15px 0;
	color: #333;
}
h3 span {
	font-weight: normal;
}
h4 {
	font-size: 22px;
	padding: 10px 0;
}
table { 
	border-collapse:collapse;
	width: 100%;
	margin: 0 0 15px 0;
}
td,
th {
	border: 0;
	padding: 5px;
}
th {
	color: #fff;
}
tr:nth-child(even){
	background: #ccc;
}
article {
	-webkit-transition: height .3s ease-in-out;
	-moz-transition: height .3s ease-in-out;
	-o-transition: height .3s ease-in-out;
	transition: height .3s ease-in-out;
}
article ul,
article ol {
	margin: 0;
	padding: 0 0 20px 20px;
}
article li {
	margin-bottom: 5px;
}


/* ---------------------------
	Layout
--------------------------- */
#header h1 a {
	margin: 0 auto;
	display: block;
	width: 200px;
	height: 200px;
	background: url(images/ncli-logo.png) center no-repeat;
	background-size: contain;
	-ms-behavior: url(js/backgroundsize.min.htc);	
	text-indent: -9999px;
}
#header h1 small {
	padding-top: 20px;
	display: block;
	color: #fff;
	font-family: Merriweather;		
	font-weight: 300;
	font-size: 20px;
	line-height: 1.2;
	text-align: center;
}

#nav {
	font-family: Raleway;	
	font-size: 0;
	text-align: right;
	padding: 25px 0;
	margin-right: 15px;
}
#nav li {
	margin-left: 5px;
	position: relative;
}
#nav li:first-child {
	margin: 0;
}
#nav a {
	color: #fff;
	font-size: 15px;
	line-height: 40px;
	padding: 0 10px;
	display: block;
	border: 1px dotted transparent;
}
#nav ul li.active a {
	background: transparent;
	border-color: #fff;
}
#nav ul li a:hover {
	background: #fff;
}
#nav li a:before {
	position: absolute;
	top: -25px;
	left: 50%;
	margin-left: -14px;
	content: ' ';
	display: block;
	width: 0; 
	height: 0; 
	border: 14px solid transparent;
	border-width: 20px 14px 0 14px;
}
#nav .menu-bars {
	position: absolute;
	display: none;
	width: 50px;
	height: 50px;
	background: url(images/mobile-menu-icon-open.png) center no-repeat;
	right: 10px;
	top: 10px;
	z-index: 200;
	cursor: pointer;
}
#nav.menu-active .menu-bars {
	background-image: url(images/mobile-menu-icon-close.png);
}

#footer {
	border-top: 1px solid #aaa;
	padding: 40px 10px;
	font-size: 12px;
	line-height: 1.3;
	font-family: tahoma;
}
#footer nav a {
	color: #555;
	margin-right: 10px;
}
#footer nav a:hover {
	text-decoration: underline;
}
#footer img {
	margin: 0 auto;
	height: 60px;
}


/* ---------------------------
	Specific
--------------------------- */
.btn {
	font-family: Raleway;
	border: 1px dotted #b90c49;
	line-height: 40px;
	font-size: 14px;
	padding: 0 10px;
	font-weight: bold;
	display: inline-block;
	margin: 0 auto;
	text-align: center;
	font-weight: 700;
	color: #b90c49;
}
.btn:before {
	font-size: 26px;
	line-height: 1;	
	vertical-align: middle;
	content: '\25B6';
	margin-right: 6px;
}
.btn:hover {
	background: #b90c49;
	color: #fff;
}
.btn-large {
	line-height: 50px;
	font-size: 18px;
	padding: 0 20px;
}
.events .btn {
	color: #fff;
	border: 1px dotted #fff;
}

.events .btn:hover {
	background: #fff;
	color: #e8404b;
}

.clearfix:before,
.clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	visibility: hidden;
}
.clearfix:after {
	clear: both
}
.clearfix {
	zoom: 1
}

.back a {
	display: block;
	color: #b90c49;
	margin-bottom: 20px;
	font-size: 14px;
}
.back a:hover {
	color: #5f6567;
}

.prev,
.next {
	max-width: 49%
}
.aligncenter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.prev,
.alignleft {
	float: left;
	text-align: left;
}
.next,
.alignright {
	float: right;
	text-align: right;
}
.alignleft {
	margin: 0 15px 0 0
}
.alignright {
	margin: 0 0 0 15px
}

.pagination li {
	margin-right: 5px;
	list-style: none;
	float: left;
}
.pagination a {
	display: block;
	width: 35px;
	text-align: center;
	font-size: 14px;
	line-height: 35px;
	background: #efefef;
	color: #b90c49;
}
.pagination a:hover,
.pagination .active a {
	background: #b90c49;
	color: #fff;
}

.section-header h1, 
.section-header h2 {
	padding: 20px;
	margin: 20px 0;
	border: 1px dotted #aaa;
	text-align: center;
}

.social {
	font-size: 0;
	text-align: right;
}
.social li {
	display: inline-block;
	margin-left: 2px
}
.social li a {
	display: block;
	width: 50px;
	height: 50px;
	background: url(images/social-sprites.png) 0 0 no-repeat;
	text-indent: -9999px;
	background-position: -50px 0;
}
/*
.social li:nth-child(3) a {
	background-position: -50px 0;
}
*/
.social li:nth-child(2) a {
	background-position: -100px 0;
}
.social li:last-child a {
	background-position: -150px 0;
}
.social li a:hover {
	opacity: .5;
}

.content {
	padding: 0 5% 0 2%;
}
.sidebar {
	padding: 30px;
	background: #bbb;
	height: 100%;
}
.sidebar li {
	display: block;
	padding-left: 25px;
	color: #fff;
	line-height: 20px;		
}
.sidebar li:before {
	font-size: 16px;
	line-height: 20px;	
	vertical-align: middle;
	content: '\25B6';
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -10px;
}
.sidebar li a {
	border-bottom: 1px dotted #fff;
	display: block;
	padding: 7px 0 5px;
	color: #000;
}
.sidebar .active a,
.sidebar li a:hover {
	color: #fff;
}

.thumb img {
	width: 160px;
	margin: 20px auto;
}

.post-listing .more {
	text-align: right;
}

/* Pages */
/* Home */
.home #nav {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 9999;	
}
.home #header {
	position: absolute;
	width: 100%;
}
.home #header .container {
	overflow: visible;
}
.home #header h1 {
	position: absolute;
	z-index: 999;
	left: 10%;
	padding: 0;
	top: 200px;	
}
.home #header h1 a {
	float: left;
	margin-right: 30px;
}
.home #header h1 small {
	padding-top: 60px;
	font-size: 36px;
	line-height: 42px;	
	white-space: nowrap;
}
.home #main {
	padding: 0 10px;
}
.home .boxes {
	text-align: center;
	border-top: 1px solid #aaa;
	padding: 30px 0;
}
.home .boxes .col3 {
	border-right: 1px dotted #aaa;
}
.home .boxes .col3:last-child {
	border: none;
}
.home .boxes article {
	padding-bottom: 50px;
	position: relative;
	min-height: 450px;
}
.home .boxes img {
	width: 160px;
	margin: 10px auto;
}
.home .boxes h3 {
	color: #b90c49;
	font-size: 20px;
	border-bottom: 1px dotted #b90c49;
	padding: 0 0 5px;
}
.home .boxes .more {
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}
.home .newsletter {
	padding: 20px 0;
	border: 1px solid #aaa;
	border-width: 1px 0;
	text-align: center;	
}
.home .newsletter .row {
	margin: 0 -5px;
}
.home .newsletter span:first-child {
	width: 25%;
}
.home .newsletter span {
	width: 20%;
}
.home .newsletter span:last-child {
	width: 15%;
}
.home .newsletter label {
	line-height: 40px;
}
.home .newsletter input,
.home .newsletter button {
	border: none;
	background: #eee;
	text-align: center;	
	height: 40px;	
}
.home .newsletter label,
.home .newsletter button {
	background: #60beac;
	color: #fff;
	width: 100%;
}
.home .newsletter label,
.home .newsletter span,
.home .newsletter button {
	display: block;
	float: left;
	padding: 0 5px;
}
.home .video {
	padding: 20px 15%;
	text-align: center;
}
.home .events {
	border: 1px solid #aaa;
	border-width: 1px 0;
	padding: 30px 0;	
	text-align: center;
}
.home .events h5 {
	color: #fff;
	font-size: 18px;
	padding: 10px 0;
	margin-bottom: 20px;
	border-bottom: 1px dotted #fff;
}
.home .events .col4:first-child article {
	text-align: left;
	background: #e8404b;
	color: #fff;
	padding: 20px;
}
.home .events .event-thumb img {
	margin: 0 auto 15px;
	max-height: 140px;
}
.home .events .col4:last-child {
	border-left: 1px dotted #aaa;	
}
.home .articles {
	padding: 20px 0;
}
.home .articles h3 {
	color: #b90c49;
	margin-bottom: 20px;
	font-size: 20px;
	border-bottom: 1px dotted #b90c49;
	padding: 0 0 5px;
}
.home .articles article {
	padding-bottom: 100px;
	position: relative;
	background: url(images/icons/8.png) right bottom no-repeat;
	background-size: 100px;
	-ms-behavior: url(js/backgroundsize.min.htc);	
}
.home .articles .col4:nth-child(2) article {
	background-image: url(images/icons/5.png);
}
.home .articles .more {
	position: absolute;
	left: 0;
	bottom: 10px;
}
.home .latest-news {
	background: #00a685;
	color: #fff;
	padding: 20px;
}
.home .latest-news h5 {
	padding: 0 0 5px;
	line-height: 1;
	color: #fff;
	border-bottom: 1px dotted #fff;
}
.home .latest-news li {
	list-style: none;
	display: block;
}
.home .latest-news a {
	display: block;
	border-bottom: 1px solid #fff;
	padding: 15px 0 15px 40px;
	color: #fff;
	position: relative;
}
.home .latest-news a:before {
	font-size: 26px;
	line-height: 30px;	
	vertical-align: middle;
	content: '\25B6';
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -15px;
}

/* About us */
.about-us .vcard {
	border-bottom: 1px solid #aaa;
	padding: 20px 0;
	margin-bottom: 20px;
}
.about-us .vcard header {
	padding: 0 20px;
	text-align: center;
}
.about-us .vcard img {
	width: 100%;
}
.about-us .vcard header {
	margin: 0 auto;
}


/* ---------------------------
	Colors
--------------------------- */
#nav li:nth-child(1) a {
	background: rgb(185,14,73);
}
#nav li:nth-child(1).active a {
	color: #fff;
	border-color: #fff;
}
#nav li:nth-child(1) a:hover {
	color: rgb(185,14,73);
	border-color: rgb(185,14,73);
}
#nav li:nth-child(1) a:hover:before {
	border-top-color: rgb(185,14,73);
}
#nav li:nth-child(1).active a:before {
	border-top-color: #fff;
}

.about-us .sidebar,
#nav li:nth-child(2) a {
	background: rgb(96,190,172);
}
.about-us h1,
.about-us h2,
.about-us h3,
.about-us h4,
.about-us strong,
#nav li:nth-child(2).active a,
#nav li:nth-child(2) a:hover {
	color: rgb(96,190,172);
	border-color: rgb(96,190,172);
}
#nav li:nth-child(2) a:hover:before,
#nav li:nth-child(2).active a:before {
	border-top-color: rgb(96,190,172);
}

.programmes .sidebar,
#nav li:nth-child(3) a {
	background: rgb(135,206,220);
}
.programmes h1,
.programmes h2,
.programmes h3,
.programmes h4,
.programmes strong,
#nav li:nth-child(3).active a,
#nav li:nth-child(3) a:hover {
	color: rgb(135,206,220);
	border-color: rgb(135,206,220);
}
#nav li:nth-child(3) a:hover:before,
#nav li:nth-child(3).active a:before {
	border-top-color: rgb(135,206,220);
}

.sponsors .sidebar,
#nav li:nth-child(4) a {
	background: rgb(255,196,78);
}
.sponsors h1,
.sponsors h2,
.sponsors h3,
.sponsors h4,
.sponsors strong,
#nav li:nth-child(4).active a,
#nav li:nth-child(4) a:hover {
	color: rgb(255,196,78);
	border-color: rgb(255,196,78);
}
#nav li:nth-child(4) a:hover:before,
#nav li:nth-child(4).active a:before  {
	border-top-color: rgb(255,196,78);
}

.educationalists .sidebar,
#nav li:nth-child(5) a {
	background: rgb(149,193,31);
}
.educationalists h1,
.educationalists h2,
.educationalists h3,
.educationalists h4,
.educationalists strong,
#nav li:nth-child(5).active a,
#nav li:nth-child(5) a:hover {
	color: rgb(149,193,31);
	border-color: rgb(149,193,31);
}
#nav li:nth-child(5) a:hover:before,
#nav li:nth-child(5).active a:before {
	border-top-color: rgb(149,193,31);
}

.events .sidebar,
#nav li:nth-child(6) a {
	background: rgb(232,64,75);
}
.events h1,
.events h2,
.events h3,
.events h4,
.events strong,
#nav li:nth-child(6).active a,
#nav li:nth-child(6) a:hover  {
	color: rgb(232,64,75);
	border-color: rgb(232,64,75);
}
#nav li:nth-child(6) a:hover:before,
#nav li:nth-child(6).active a:before {
	border-top-color: rgb(232,64,75);
}

.support-ncli .sidebar,
#nav li:nth-child(7) a {
	background: rgb(167,131,186);
}
.support-ncli h1,
.support-ncli h2,
.support-ncli h3,
.support-ncli h4,
.support-ncli strong,
#nav li:nth-child(7).active a,
#nav li:nth-child(7) a:hover  {
	color: rgb(167,131,186);
	border-color: rgb(167,131,186);
}
#nav li:nth-child(7) a:hover:before,
#nav li:nth-child(7).active a:before {
	border-top-color: rgb(167,131,186);
}

.contact-us .sidebar,
#nav li:nth-child(8) a {
	background: rgb(180,61,133);
}
.contact-us h1,
.contact-us h2,
.contact-us h3,
.contact-us h4,
.contact-us strong,
#nav li:nth-child(8).active a,
#nav li:nth-child(8) a:hover  {
	color: rgb(180,61,133);
	border-color: rgb(180,61,133);
}
#nav li:nth-child(8) a:hover:before,
#nav li:nth-child(8).active a:before {
	border-top-color: rgb(180,61,133);
}


/* ---------------------------
	Grid
--------------------------- */
.container {
	max-width: 1280px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;	
}
.row {
	margin-left: -1.5%;
	margin-right: -1.5%;	
}
.row:before,
.row:after {
	content: " ";
	display: table;
}
.row:after {
	clear: both;
}
[class^="col"] {
	float: left;
	display: block;
	padding: 0 1.5%;
}
.col12 {
  width: 100%;
}
.col11 {
  width: 91.66666666666666%;
}
.col10 {
  width: 83.33333333333334%;
}
.col9 {
  width: 75%;
}
.col8 {
  width: 66.66666666666666%;
}
.col7 {
  width: 58.333333333333336%;
}
.col6 {
  width: 50%;
}
.col5 {
  width: 41.66666666666667%;
}
.col4 {
  width: 33.33333333333333%;
}
.col3 {
  width: 25%;
}
.col2 {
  width: 16.666666666666664%;
}
.col1 {
  width: 8.333333333333332%;
}


/* ---------------------------
	Plugins
--------------------------- */
/* BXslider */
.intro {
	margin-bottom: 20px;
}
.intro .image {
	height: 600px;
	width: 100%;
	overflow: hidden;
	background-position: center;
	background-size: cover;
	-ms-behavior: url(js/backgroundsize.min.htc);	
}
.intro article {
	text-align: center;
	font-size: 30px;
	line-height: 36px;
	padding: 50px 10%;
}
.intro .more {
	padding-top: 20px;
}

.bxslider li {
	width: 100%;
	display:block;
}
.bx-wrapper {
	position: relative;
	padding: 0;
	*zoom: 1;
}
.bx-wrapper img {
	width: 100%;
	height:auto;
	display: block;
}
.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(images/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}
.bx-wrapper .bx-pager {
	position:absolute;
	width: 100%;
	left:0;
	bottom:10px;
	z-index:9999;
	text-align:center;
}
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
	background: #fff;
	text-indent: -9999px;
	display: block;
	width: 16px;
	height: 16px;
	margin: 0 2px;
	outline: 0;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #b90c49;
}

/* Contact Form 7 */
.wpcf7  p {
	margin-bottom: 10px;
}
.wpcf7 .screen-reader-response {
	display: none;
}
.wpcf7 label strong { 
	color: #f95900; 
}
.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	position: relative;
}
.wpcf7 input {
	height: 40px;
	padding: 10px;
}
.wpcf7 input,
.wpcf7 textarea {
	background-color: #eee;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
	background-color: #fff;
}
.wpcf7 textarea {
	height: 120px;
}
.wpcf7 .wpcf7-submit {
	font-family: Raleway;
	border: 1px dotted #b90c49;
	line-height: 40px;
	font-size: 14px;
	padding: 0 20px;
	font-weight: bold;
	display: inline-block;
	margin: 0 auto;
	text-align: center;
	font-weight: 700;
	color: #b90c49;
	background: none;
	position: relative;
}
.wpcf7 .wpcf7-submit:hover {
	background: #b90c49;
	color: #fff;
}
.wpcf7 .ajax-loader {
	float: right;
}
.wpcf7-response-output { 
	padding: 15px 5%;
	width: 100%;	
	text-align: center;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.wpcf7-mail-sent-ok { 
	background: #398f14; 
	color: #fff;
} 
.wpcf7-display-none { 
	display: none; 
} 
.wpcf7-validation-errors { 
	background: #b00; 
	color: #fff; 
} 
.wpcf7-not-valid-tip { 
	-webkit-border-radius: 0 10px 10px 10px; 
	-moz-border-radius: 0 10px 10px 10px; 
	border-radius: 0 10px 10px 10px; 
	position: absolute; 
	top: 20px; 
	z-index: 100; 
	display: block; 
	color: #fff; 
	background: #d00; 
	padding: 5px 20px; 
	border: none; 
	right: -40px; 
	width: auto; 
} 
.wpcf7-not-valid-tip-no-ajax { 
	color: #f00; 
	display: block; 
}

/* Map */
#map_canvas {
	width: 100%;
	height: 350px;
	border-top: 1px solid #ccc;
}
#map_canvas img {
	max-width: none;
	width: auto;
}

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
			border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
			box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('images/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('images/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('images/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
	overflow: hidden !important;
	width: auto;
}

.fancybox-lock body {
	overflow: hidden !important;
}

.fancybox-lock-test {
	overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('images/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
			border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('images/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('images/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}


/* ---------------------------
	Media query
--------------------------- */
@media (max-width: 1279px) {

	#nav a {
		font-size: 12px;
		padding: 0 5px;
	}
	
}
@media (max-width: 979px) {
	
	h1 {
		font-size: 28px;
	}
	h2 {
		font-size: 22px;
	}
	h3 {
		font-size: 18px;
	}
	h4 {
		font-size: 16px;
	}
	iframe {
		max-width: 100%;
	}
	
	#nav {
		position: absolute;
		right: 0;
		top: 0;
		width: 100%;
		text-align: center;
		padding: 0;
		margin: 0;		
	}
	#nav ul {
		z-index: 800;
		position: relative;
	}
	#nav ul,
	#nav li a:before {
		display: none;
	}
	#nav li {
		margin: 0;
		display: block;		
	}
	#nav li a {
		border: 0;
		font-size: 16px;	
	}
	#nav ul li.active a {
		background: #fff;
	}
	#nav .menu-bars {
		display: block;
	}
	
	#footer,
	#footer .social {
		text-align: center;
	}
	
	#header,
	.home #header {
		position: static;
	}
	#header h1,
	.home #header h1 {
		position: static;
		margin: 0 auto;
		padding: 20px;
	}
	#header h1 a,
	.home #header h1 a {
		float: none;
		margin: 0 auto;
		width: 150px;
		height: 150px;
	}
	#header h1 small,
	.home #header h1 small {
		padding-top: 20px;
		font-size: 24px;
		line-height: 1.2;
	}
	.home #header h1 small {
		white-space: normal;
	}
	.home .boxes h3 {
		margin: 0 20%;
	}
	.home section article {
		min-height: 100px;
		border-bottom: 1px solid #aaa;
	}
	.home .boxes .more {
		position: static;
	}
	.home .events,
	.home .events .col4:last-child,
	.home .boxes .col3,
	.home .boxes .col3 article:last-child {
		border: none;
	}
	.home .newsletter label, 
	.home .newsletter span, 
	.home .newsletter button {
		float: none;
		width: 100% !important;
		margin-bottom: 5px;
	}
	.home .video {
		padding: 0;
	}
	.home .articles article  {
		text-align: center;
	}
	.home .articles .more {
		position: static;
		text-align: center;
	}
	.home .articles article {
		padding: 100px 0 20px;
		background-position: top center;
	}
	
	.content {
		padding: 0 10px;
	}
	.sidebar {
		padding: 0;
	}
	.sidebar nav {
		padding: 0 20px 20px 20px;
	}
	
	.image {
		display: none;
	}
	
	.intro article {
		padding: 30px 5%;
		font-size: 20px;
		line-height: 1.4;
	}

	.row {
		margin: 0;
	}
	.row [class^="col"] {
		margin: 0 0 25px;
		float: none;
	  	padding: 0;
		width: 100%;
	}
	
	.wpcf7 .wpcf7-not-valid-tip {
		right: 0;
	}
	.wpcf7 .row [class^="col"] {
		margin: 0;
	}
	
	.home #header {
		background: rgb(185,14,73);
	}
	#nav li:nth-child(1).active a {
		color: rgb(185,14,73);
	}
	
}