/*
Theme Name: Flexible
Version: 1.0
Author: TSY
*/

.container {
	background-color: #fff;
	-moz-box-shadow: 2px 1px 5px #888, -2px 1px 5px #888;
	-webkit-box-shadow: 2px 1px 5px #888, -2px 1px 5px #888;
	box-shadow: 2px 1px 5px #888, -2px 1px 5px #888;	
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
q {
  quotes: '"' '"' "'" "'";
}
q:before {
    content: open-quote;
}
q:after {
    content: close-quote;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
body {
	margin: 0;
	background: #FFFFFF left top repeat-x;
	color: #333;
	line-height: 1.4;
	font-size: 16px;
	font-family: sans-serif;
}
p {
	line-height:1.3em;
	padding-top: 5px;
}
.bold {
	font-weight: bold;
}
.inLine {
	display:inline;
}
#mainBanner a{
	padding-top: 15px;
	padding-bottom: 15px;
	margin: 5px 0;
	font-size: 50px;
	font-family: 'Source Sans Pro',sans-serif, Helvetica,Verdana, Arial ;
	text-decoration: none;
}

h1,h2,h3,h4,h5,h6 {
	font-family:Lato, sans-serif;
	font-weight:700;
}

h1 a{
	text-decoration: none;
}

h1 {
	font-size: 26px;
}

h2 {
	font-size:22px;
}

h3 {
	font-size:20px;
}

h4 {
	font-size:18px;
	font-style:italic;
}

h5 {
	font-weight:400;
	font-size: 16px;
}

h6 {
	font-weight:400;
	font-size: 14px;
	font-style:italic;
}
a {
	text-decoration: underline;
}
a:focus, a:active ,h2 a:focus, h2 a:active {
	background-color: #000!important;
	color: #fff!important;
}
ul.nav.nav-tabs > li > a:focus {
	background-color: #fff!important;
	color: inherit!important;
}
.textwidget a{
	text-decoration: underline!important;
}
h2:focus {
	background-color: #000!important;
	color: #fff!important;
}
h1,h2,h3 {
	line-height: 25px;
}

.widget_wysija{
	margin-top: 20px;
}

.recentPost h3 a{
	text-decoration: none;
}

.recentPost{
	margin-bottom: 60px;
}

.postCat{
	float: right;
	width: 75%;
}

#mainBanner {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	margin-bottom: 1.5em;
}
.body-content .page-header {
	margin-bottom: 15px;
}
#header-menu {
	margin-top: 5px;
}

#header-menu .menu li{
	display: inline-block;
	list-style-type: none;
	margin-left: 10px;
}
.slideTitle {
	background: none repeat scroll 0 0;
	color: #fff;
	bottom: 35px;
	position: relative; 
}

.slideTitle p {
	padding: 0!important;
	padding-left: 20px!important;
}
h2.slideTitle {
	margin: 0!important;
	padding: 0!important;
}
.form-search .btn {
	background-image: none!important;
}
.main-search {
	margin: 20px 0;
}

.search-results h2 {
	font-size: 1.25em;	
}

.search-results p{
	margin: 0px;
}

.form-search {
	margin-bottom: 0px;
}
.form-search .input-append .search-query {
	-webkit-border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	border-radius: 0 !important;
}
.form-search .input-append .btn {
	-webkit-border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	border-radius: 0 !important;
}
.btn-navbar{
	padding-top: 1px;
}
.main-content {
	margin-bottom: 2em;
}
#main-content h3 a{
	text-decoration: none;
}
h3 a:hover{
	text-decoration: underline!important;
}

#main-content h2 a{
	text-decoration: none;
}

h2 a:hover{
	text-decoration: underline!important;
}

#mainBanner-right{
	margin-top:40px;
/*	padding-right: 7px;*/
}
/*#site-search{
	margin-top: 70px;
}*/
#breadcrumb a {
	text-decoration: none;
}
#breadcrumb {
	padding-top: 5px;
	padding-bottom: 5px;
}
.body-content {
	margin-left: 25px;
	margin-right: 25px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-topleft: 4px;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
}

.widget-title {
	line-height: 25px;
	font-size: 1em;
	font-family: inherit;
	font-weight: bold;
	text-rendering: optimizelegibility;
	margin-left: 12px;
}

.widget_wysija_cont{
	margin-left: 12px;
}

/*
.widget_wysija p.wysija-paragraph label{
	font-size: 1.0em;
}
*/

.widget_wysija_cont .wysija-submit {
	margin-top:0;
	display:inline;
}
.widget_wysija p {
	padding:0;
	margin: 10px;
	margin-left: 0px;
}
.widget_wysija input{
	/*
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	*/
	margin: 0;
}
.widget_wysija label {
	margin-bottom:0;
	color: #000080;
	font-weight: bold;
}

.widget_wysija input[type="submit"] {
	background: #000080;
	color: #fff;
	margin: 0;
	border: 0;
}

.btn-custom {
	background-color: hsl(263, 52%, 33%) !important;
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6939b6", endColorstr="#49287f");
	background-image: -khtml-gradient(linear, left top, left bottom, from(#6939b6), to(#49287f));
	background-image: -moz-linear-gradient(top, #6939b6, #49287f);
	background-image: -ms-linear-gradient(top, #6939b6, #49287f);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #6939b6), color-stop(100%, #49287f));
	background-image: -webkit-linear-gradient(top, #6939b6, #49287f);
	background-image: -o-linear-gradient(top, #6939b6, #49287f);
	background-image: linear-gradient(#6939b6, #49287f);
	border-color: #49287f #49287f hsl(263, 52%, 29.5%);
	color: #fff !important;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.23);
	-webkit-font-smoothing: antialiased;
}
.main article h2 a{
	color: red;
}
.widget_nav_menu {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	margin-bottom: 30px;
}

#content ul {
	line-height: 1.6em;
}
#content h1 {
	margin-bottom: 1em;
}
#content p.categories {
	font-size: 0.85em;
}

#content p.categories{
	color: #000080;
}

#content .post-meta {
	margin-bottom: 2em;
}
#content .post-meta i {
	margin-left: 10px;
}
#content .post-meta i:first-child {
	margin-left: 0;
}
.article-listing {
	margin-top: 2em;
}
.single-meta {
	margin-bottom: 15px;
	font-size: 0.85em;
}

.main {
	background-color: #fff;
	padding-bottom: 20px;
}

.main ul.slides img{
	width: 100%;
	height: auto;
}

.main ul {
	margin-left: 20px;
}

.main li{
	margin-top: 10px;
}

.page-header {
	border: none;
}
.accessible {
	position: absolute;
	left: -9999px;
}
.accessible.skip-to:focus {
	left: 0;
	padding: 1em;
}
.search-excerpt {
	font-weight: bold;
}

#header-imageleft{
	padding-left: 7px;
}
/*
.menu-main-menu {

	font-size: 1em;
	margin-top: 20px;
	margin-bottom: 20px;
}
*/
.menu-main-menu a {
	text-decoration: none;
}
#menu-main {
	margin-bottom: 20px;
}
#menu-main ul, .menu-main ul {
	list-style-type: none;
	margin: 0;
}
#menu-main ul.sub-menu  li a, .menu-main ul.sub-menu li a {
	padding-left: 20px;
}
#menu-main ul.sub-menu ul.sub-menu li  a, .menu-main ul.sub-menu ul.sub-menu li  a  {
	padding-left: 30px;
}
.menu-main-menu li > a {
	overflow: hidden;
	display:block;
	border-bottom: 1px solid #fff;
	padding: 7px 5px 7px 10px;
	transition: opacity 0.75s, background-color 0.5s;
	-moz-transition: opacity 0.75s, background-color 0.5s;
	-webkit-transition: opacity 0.75s, background-color 0.5s;
	-o-transition: opacity 0.75s, background-color 0.5s;
}
.menu-main-menu > li > a {
	background-color: #fff;
	text-indent: 10px;
	text-decoration: none;
}
.menu-main-menu li > a:hover,
.menu-main-menu li > a:active,
.menu-main-menu li > a:focus,
.menu-main-menu li.current-page-item > a ,
.menu-main-menu  li.current-menu-ancestor>a,
.menu-main-menu > li > a:hover,
.menu-main-menu > li > a:active,
.menu-main-menu > li > a:focus,
.menu-main-menu  li.current-menu-item > a {
	text-decoration: none;
}
.menu-main-menu li.current-page-item > a ,
.menu-main-menu  li.current-menu-ancestor>a,
.menu-main-menu  li.current-menu-item > a {
	font-weight: bold;
	font-size: 1em;
}
.menu-main-menu  .sub-menu {
	display:none;
}
.menu-main-menu  li.current-menu-item  ul.sub-menu,
.menu-main-menu  li.current-menu-ancestor .sub-menu{
	display:block;
}

#sidebarright {
	font-size: .95em;
}
#sidebarright ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#sidebarright li {
	border-bottom: 1px solid #fff;
	padding:0;
}
#sidebarright li a:link, #sidebarright li a:visited {
	display: block;
	padding: 7px 5px 7px 15px;
	background-color: #d9e6f5;
	color:#003366;
	text-decoration: none;
}
#sidebarright li a:hover {
	background-color: #b4c5d9;
	color:#333333;
}
#sidebarright ul ul {
	margin-right: 12px;
	background-color: #ccc;
}
#sidebarright il ul li {
	border-bottom: 1px solid #fff;
	background-color: #ccc;
	margin: 0 ;
}
#sidebarright ul ul a:link, #sidebarright ul ul a:visited {
	background-color:#ccc;
	color:#003366;
}
#sidebarright ul ul a:hover {
	background-color:#ccc;
	color:#003366;
}
.align_right {
	text-align: right;
}

ul.slides .flex-caption{
	bottom: -10px;
}

.flexslider {
	margin-bottom: 1em !important;
}
.flexslider ul.slides {
	margin: 0em!important;
}
.flexslider img{
	width: 100%;
	height: auto;
}
.flexslider li{
	margin: 0;
}

#fp-carousel ol.carousel-indicators{
	list-style: none;
}

.hidden-phone .flex-caption{
	font-size: 1.4em;
	line-height: 25px;
}
.hidden-phone  .flex-caption a {
	color: #fff!important;
}
.flex-direction-nav li a {
	background-image: url('images/bg_direction_nav.png')!important;
	top: 30%!important;
}
.flex-control-nav li a {
	background-image: url('images/bg_control_nav.png')!important; 
}
.flex-control-nav {
	bottom: 0px!important;
}
.flex-direction-nav li a:hover,.flex-direction-nav li a:focus,.flex-direction-nav li a:active {
	text-decoration: underline;
	background-color: transparent!important;
}
.menu-footer-menu-container {
	text-align: center;
	padding-top: 0.5px;
}
#menu-footer-nav-container {   
	text-transform: uppercase;

}
#footer {
	font-size: 16px;
	background-size: cover;
	background-color: #695097;
}

#footer-menu-right ul li {
	text-align: right;
}

#footer a {
	font-weight: normal;
	text-decoration: none;
}
#footer ul {
    list-style-type: none;
}

#footer li {
	text-align:left;	
}

#footer ul, #footer ol{
	margin: 0px;
	padding: 0px;
}

.footer-menu{
	padding-top: 15px;
	margin-left: 25px;
    margin-right: 25px;
}
.footer-menu li{
	padding-bottom: 5px;
}

#footer a:hover,#footer a:focus,#footer a:active {
	text-decoration: underline;
}

#footer #copyright{
	margin-top: 30px;
	padding-bottom: 20px;
	margin-left: 0px;
}
.result-url {
	margin-bottom: 10px;
}
.result-url a {
	color: green;
	line-height: 20px;
}
.result-snippet {
	line-height: 20px;
	font-size: 0.83em;
	color: #4d4d4d;
}

/*report*/
#main .tsy-child-listing ul {
	line-height: 0.1em!important;
	margin-top: 0px 0px 5px 0px;
	list-style-type: none;
}
#main .tsy-child-listing ul li {
	padding: 0;
}
#main .tsy-child-listing ul li a {
	color:#21759b;
}
#main .tsy-child-listing ul li h3 {
	font-size: 97%;
	line-height: 1.3em;
	color:#21759b;
	font-weight: normal;
}

.page-navigation {
	margin-bottom: 40px;
	margin-top: 40px;
}

.publishDiv{
	text-align: right;
	font-size: 14px;
}

.spaceTop{
	margin-top: 40px;
}

.spaceBottom{
	margin-bottom: 40px;
}

.nav-previous-third {
	width: 33.33%;
}
.nav-centre-third {
	width: 33.33%;
	text-align: center;
}

.nav-next-third {
	width: 33.33%;
	text-align: right;	
}

.nav-centre {
	width: 33.33%;
	padding-left: 33.33%;
	text-align: center;
}


.nav-previous {
	width: 50%;
}

.nav-next {
	width: 50%;
	text-align: right;
}

.TsyLatestNewsWidget .widget-body {
	margin-left: 11px;
	margin-right: 11px;
	background-color: #fff;
	margin-bottom: 0px;

}
.TsyLatestNewsWidget .widget-title {
	display: block;
	height: 36px;
	line-height: 40px;
	font-size: 1.2999em;
	font-weight: bold;
	margin-bottom: 0.7em;
	margin-left: 0px;
	margin-top: 0;
	padding-left: 10px;
	border-bottom: 1px solid #bbb;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-topleft: 4px;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#D2D2D2), to(#FFF)); 
	background: -webkit-linear-gradient(top, #FFF, #D2D2D2); 
	background: -moz-linear-gradient(top, #FFF, #D2D2D2); 
	background: -ms-linear-gradient(top, #FFF, #D2D2D2); 
	background: -o-linear-gradient(top, #FFF, #D2D2D2);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#d2d2d2');
}

/*
.TsyLatestNewsWidget ul {
	list-style-type: none;
	margin: 0;
}
*/
.TsyLatestNewsWidget{
	box-shadow: 1px 1px 5px -2px gray;
	background-color: #fff;
	border: 1px solid #e5e5e5;
	margin-top: 10px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-topleft: 4px;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
}

.TsyLatestNewsWidget .widget-body h3 {
	font-size: 1.0em;
	font-family: inherit;
	line-height: 1.5em;
}

#latest-news-rss {
	margin-right: 10px;
}

@media (max-width: 320px) {
	#site-search{
		width: 90%;
	}
	.navbar .brand{
		margin-top: 0px!important;
	}
}

@media (max-width: 600px) {
	.widget_wysija{
		margin: 0;
		margin-left: 5px;
		padding: 0;
	}
}

@media (max-width: 768px) {
	#footer-menu-right ul li{
		text-align: left;
	}
	.navbar {
		padding-left: 20px;
		padding-right: 20px;
	}
	.navbar .brand{
		float: left;
		width: 75%;
		text-decoration: none;
		padding-top: 0px;
		padding-bottom: 5px;
		font-size: 1.3em;
		margin-top: 10px;
	}
	.form-search {
		padding-top: 0px;
	}
	.form-search div.input-append {
		width: 100%;	
	}
	body.custom-background{
		background-color:white!important;
	}
	.container{
		box-shadow: none;
	}	
	#main{
		padding:0;
	}
	body {
		padding-right: 0;
		padding-left: 0;
	}
	.body-content{
		/*margin: 0;*/
		margin: 0 20px;
		border: none;
	}
	#site-search{
		margin: 0px;
	}
	#mainBanner{
		border-bottom: none;
	}
	
	#site-search .form-search {
		padding-top: 0px;
		width: 100%;
	}
	.body-content #site-search  .form-search .input-append {
		width: 100%;
	}
	.body-content #site-search input.search-query {
		width: 90%!important;
	}
}

@media (max-width: 980px) {
	.hidden-phone .flex-caption{
		font-size: 1.3em;
		line-height: 22px;
	}	
	/* Direction Nav */
	.flex-direction-nav li a {width: 26px!important; height: 26px!important; margin: -13px 0 0!important; display: block!important; background: url(images/bg_direction_nav_small.png) no-repeat 0 0!important; position: absolute!important; top: 30%!important; cursor: pointer!important; text-indent: -9999px!important;}
	.flex-direction-nav li a.next {background-position: -28px 0!important; right: -12px!important;}
	.flex-direction-nav li a.prev {background-position: 0 0!important; left: -10px!important;}
	.flex-direction-nav li a.disabled {opacity: .3!important; filter:alpha(opacity=30)!important; cursor: default!important;}


}

@media (max-width: 1024px) {
	body{
		overflow-x: hidden;
	}
	
	#footer-menu-right{
		width: 100%
		margin: 0;
	}

}

@media (max-width: 1200px) {
	.widget_wysija_cont input{
		width: 85%;
	}
}

@media print {
	#menu-main, #sidebarright, #footer, #site-search, .header {
		display: none !important;
	}
	.page-header a {
		background-image: none;
	}
	.body-content .row-fluid .span9 {
		width: 100% !important;
	}
	#breadcrumb{
		display: none;
	}
}
