html {
    position: relative;
    min-height: 100%;
}
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}
h1,h2,h3,h4,h5,h6{
	margin:0px;
	margin-bottom: 10px;
}
iframe p{
	display:none;
}

#wp-calendar { width: 100%; font-size: 11px; }
#wp-calendar thead th { background: #f5f5f5; border: 1px solid #ddd; border-top: none; font-size: 11px; }
#wp-calendar tbody td { text-align: center; border: 1px solid #ddd; line-height: 2.5em; transition: background 0.15s ease; -webkit-transition: background 0.15s ease; -o-transition: background 0.15s ease; -moz-transition: background 0.15s ease; }
#wp-calendar tbody td:hover { background: #f1f1f1; color: #333; }
#wp-calendar tbody td a { display: block; text-decoration: none; background: #f1f1f1; color: #333; }
#wp-calendar tbody td:hover a { background: #4d4d4d; color: #fff; }
#wp-calendar tfoot td { padding-top: 1px; padding: 4px; }
#wp-calendar caption { cursor: pointer; font-size: 13px; text-transform: uppercase; margin: 0; padding: 12px; outline: 0 none !important; background: #3b86b0; color: #fff; }
#wp-calendar tbody a { display: block; text-decoration: underline; }
#wp-calendar th { text-align: center; border: 1px solid transparent; border-top: none; padding: 7px 0; color: #a7a7a7; }
#footer #wp-calendar thead th { background: #222 }
#footer #wp-calendar tbody td { border-color: #222 }
/* dropdown */
.dropdown-menu {
    margin: 0px auto;
}
.dropdown-menu .dropdown-menu {
    left: 100%;
    top: 0px;
}
nav.navbar-default{
	border-radius:0px;
}
/*  shows the dropdown on hover*/
.navbar ul.nav li:hover > ul.dropdown-menu {
    display: block;   
}
.navbar ul.nav li:hover > ul.dropdown-menu li:hover > ul.dropdown-menu {
    display: block;   
}
.navbar ul.nav li:hover{
	  background-image: -webkit-linear-gradient(top,#dbdbdb 0%,#e2e2e2 100%);
	  background-image: -o-linear-gradient(top,#dbdbdb 0%,#e2e2e2 100%);
	  background-image: -webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));
	  background-image: linear-gradient(to bottom,#dbdbdb 0%,#e2e2e2 100%);
	  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb',endColorstr='#ffe2e2e2',GradientType=0);
	  background-repeat: repeat-x;
	  -webkit-box-shadow: inset 0 3px 9px rgba(0,0,0,.075);
	  box-shadow: inset 0 3px 9px rgba(0,0,0,.075);
}
.navbar .nav > li > .dropdown-menu::before, .navbar .nav > li > .dropdown-menu::after {
    display: none;
}
.af-header img {
  max-width: 100%;
}
label.screen-reader-text {
    display: none;
}
input[name='s'] {
  padding: 3px;
}
.search-bar input[name='s'] {
    width: 90%;
    height: 32px;
}

input#searchsubmit {
   padding: 7px; background:#ccc; border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
#NavMenu {
    /*margin-bottom: 70px;*/
}
.pagination.pagination-centered {
  margin: 0 auto;
  display: table;
}
.alignleft {
  float: left;
  margin-right: 10px !important;
}
.col-md-9 img, .col-md-3 img{
	max-width:100% !important;
	display:table;
	margin:0 auto;
}
.video-display iframe{
	width:100% !important;
}
.flexslider {
	border:0px;
	margin:0px; 
}
.
.flex-caption a{
	color:white;
}
.flex-caption{
	width: 100%;
	padding: 2%;
	position: absolute;
	left: 0;
	bottom: 0;
	background: rgba(0,0,0,.6);
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,.3);
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 0px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
}
.flex-control-paging li a{
	background: rgba(255, 255, 255, 0.5);
	border-radius: 0px;
}
.flex-control-paging li a:hover{
	background: rgba(255, 255, 255, 0.7);
}
.flex-control-paging li a.flex-active{
	background:white;
}
.flex-control-nav {
	width: auto;
	position: relative;
	bottom: 30px;
	right: 10px;
	float: right;
	z-index: 10000;
}
.flexslider.home-slider {
  min-height: 100px;
}
.flex-caption * {
    color: white;
    text-decoration: none !important;
}
.flex-caption a:hover {
    color:white;
}
.flexslider .flex-next {
  opacity: 0.6 !important;
  right: 0px !important;
}
.flex-direction-nav a {
  text-indent: 0px;
  /*override plug-in style used to hide labels */
}

.flexslider .flex-next:hover,
.flexslider .flex-prev:hover {
  opacity: 1 !important;
}
.flexslider .flex-prev {
  opacity: 0.6 !important;
  left: 0px !important;
  overflow: hidden;
  visibility: visible;
}
.flex-direction-nav a {
  width: 32px;
  height: 60px;
  top: 45%;

}
.flex-direction-nav a {width: 36px; height: 39px; margin: -20px 0 0; display: block; background: url('img/bg_direction_nav.png') no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;text-align: left !important;}
.flex-direction-nav .flex-next {background-position: 0 -39px; right: -0px;}
.flex-direction-nav .flex-prev {left: -0px;}
.flex-next {opacity: 1; right: 0;}
.flex-prev {opacity: 1; left: 0;}
.flex-direction-nav .disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/*homepage*/
#SiteHeader{
	min-height: 85px;
	margin-top: 75px;
}
#HomeHeader{
	margin-bottom:15px;
	/* min-height: 440px; */
}
.home-pagination{
	margin: auto;
  	display: table;
}

#NavMenu, .content{
	background: white;
}
.comment-form-comment label {
  display: block;
}

#form-allowed-tags{
	display:none;
}
.background-top {
  background: url('../../../uploads/2015/05/digitalbg.html') repeat-x top center;
  position: absolute;
  width: 100%;
  height: 40%;
  z-index: -1;
  top: 0;
}
.social-media-container{
	position: absolute;
  	
	right: 10px;
  	
	top: 20px;
}
.social-media.container .social-infos{
	float:right;
}
.social-media-container .social-info{
	  display: inline-block;
}
.social-info img {
    opacity: 0.8;
}
.social-info img:hover {
    opacity: 1;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
}
.textwidget .fb_iframe_widget{
	display:block;
}
.fb-page.fb_iframe_widget > span{
	width:100% !important;
}
.fb-page.fb_iframe_widget iframe{
	margin: 0 auto;
  	display: table; 
  	position: relative;
}
.thumb{
	float:left;
}
.thumb img{
	width: 110px;
	height: 80px;
}
.post-contents.with-thumb{
	padding-left:135px;
}
.label a {
    color: white;
}

.label {
    margin-right: 4px;
    padding: 7px;
}
@media (max-width: 995px) {
  #HomeHeader .col-md-6{
  	width:100% !important;
  }
  .social-media-container{
	position: relative;
	right: 0px;
	width: 100%;
	height: auto;
	top: 0px;
  }
  .social-media-container .social-infos{
  	display:table;
  	margin:0 auto;
  }
}
#comments input[type='text']{
	display:block;
}
#comments textarea{
	width:60%;
}
.NoticeBoard{
	position:relative;
	min-height:120px;
	background-color: #2561A7;
	margin-bottom: 20px;
}
.NoticeBoard .desc {
    font-size: 14px;
}
.NoticeBoard .img{
	display:inline-block;
	background-color:white;
	opacity:1;
	float: left;
	margin: 10px;
}
.NoticeBoard .content.noimage {
    padding-left: 0px;
}
.NoticeBoard a,
.NoticeBoard h2{
	text-decoration:none;
}
.NoticeBoard .content{	
	width:100%;
	box-sizing: border-box;
	background-color: transparent;
	padding-left: 10px;
	padding-top: 10px;
}
.NoticeBoard.minimised .content{
	padding-top:0px;
	display: block;
	height: 100%;
}
.NoticeBoard.minimised .content h3{
    margin: 0px;
	
}
.NoticeBoard .content > h2 {
    padding-right: 30px;
}
.infoBox{
    padding-top: 5px;
}
div div.NoticeBoard .content a{
	text-decoration:none;
	display: block;
	vertical-align: top;
}
#noticeBoardContainer.ng-hide+.loading-animation.wrapper {
    margin-top: 10px !important;
    display:block;
    height:130px;
}
#noticeBoardContainer.noitem+.loading-animation.wrapper {
    display:none;
}
.NoticeBoard .min{
	position: absolute;
	right: 0px;
	height: 30px;
	line-height: 30px;
	top: 0px;
	text-align: center;
	cursor:pointer;
	background-color: #3C89BB;
	color: white;
    background-repeat: no-repeat;
    background-position: 8px 9px;
    
	width: 32px;
}
.NoticeBoard.minimised {
	padding: 0px;
	background-repeat: no-repeat;
	background-position: 5px;
	min-height:30px;
}
.NoticeBoard.minimised .NoticeBoardItem{
    padding-left: 10px;
    padding-top: 4px;
}
.NoticeBoard.minimised .img,.NoticeBoard.minimised .desc,.NoticeBoard.minimised .infoBox{
	display: none;
}
.NoticeBoard p{
	padding-right: 10px;
  text-align: justify;
}
.NoticeBoard *{
	color:white
}
#noticeBoardContainer{
    margin-top: 10px !important;
}

.footer {
    position: relative;
    margin-top: 200px;
    bottom: 0;
    width: 100%;
    background-image: -webkit-linear-gradient(top,#000000 0%,#222 100%);
    background-image: -o-linear-gradient(top,#3c3c3c 0%,#222 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#000000),to(#222));
    background-image: linear-gradient(to bottom,#000000 0%,#222 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c',endColorstr='#000000',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled= false);
    padding: 10px;
}
.footer * {
  color: rgb(208, 208, 208);
}
.wp-infinite a[href="http://www.wpspamhammer.com"]{
	display:none !important;
}
