*::-moz-selection {
	background: #fff;
	color: #7BAFDF;
}

::selection {
  background: #fff;
  color: #7BAFDF;
}

a {
	color: #7BAFDF;
}

a:visited  {
	color: #7BAFDF;
}

.nav-links a {
	color: #7BAFDF;
}

a:hover {
	color: #004E85;
}


/*---------------------------------------
 **   Header           -----
-----------------------------------------*/

#main-nav {
	background: #fff;
	position: relative;
}

#main-nav.fixed {
	position: relative;
}

#site-navigation  {
	background: #004E85;
	border-radius: 8px 8px 0px 0px;
	width: 120%;
}

.navbar-inverse .navbar-nav > li > a {
	color: #fff;
	font-size: 18px;
	/*font-family: 'Montserrat', Helvetica, sans-serif;*/
}

.menu-align-center #site-navigation > ul > li {
	padding: 10px 10px;
	margin: 0;
}

.menu-align-center #site-navigation > ul > li:hover {
	background: #195f91;
}

/*.menu-align-center #site-navigation > ul > li > a:hover {
	color: #e5e5e5;
}*/

.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
	color: #fff !important;
}

.navbar-inverse .navbar-nav > li {
	border-bottom: 0 none;
}


ul.nav > li.current_page_item > a::before, ul.nav > li.current-menu-item > a::before {
	display: none !important;
}

@media (max-width: 480px){
	.menu-align-center .responsive-logo a img{
		display: none;
	}
	.menu-align-center .responsive-logo a {
		background: url("http://cdas.sg/wp-content/uploads/2016/09/logo_cdas_mobile.jpg") no-repeat scroll center center / contain rgba(0, 0, 0, 0);
		width: 117px;
		height:72px;
	}
}

.navbar-toggle {
	background: #fff;
}

.navbar-toggle.collapsed {
	background: #fff !important;
}
.navbar-toggle {
	margin-top: 10px;
}

.navbar-inverse .navbar-toggle {
  width: 24px;
  height: 50px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  border: 0 none;
}

.navbar-inverse .navbar-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #004E85;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.navbar-inverse .navbar-toggle span:nth-child(2) {
  top: 18px;
}

.navbar-inverse .navbar-toggle span:nth-child(3),.navbar-inverse .navbar-toggle span:nth-child(4) {
  top: 26px;
}

.navbar-inverse .navbar-toggle span:nth-child(5) {
  top: 34px;
}

.navbar-toggle.active span:nth-child(2) {
  top: 26px;
  width: 0%;
  left: 50%;
}

.navbar-toggle.active span:nth-child(3) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.navbar-toggle.active span:nth-child(4) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.navbar-toggle.active span:nth-child(5) {
  top: 26px;
  width: 0%;
  left: 50%;
}

.navbar-toggle.active {
	background-color: #fff !important;
}

/*---------------------------------------
 **   Footer           -----
-----------------------------------------*/
#footer {
	background: #004E85;
}

.footer-widget-wrap {
	background: #004E85;
}

.footer-widget-wrap .widget .widget-title {
	font-size: 0.875em;
	text-transform: none;
	margin-bottom: 0px;
}

.footer-widget-wrap .widget .widget-title::before {
	background: #fff;
	height: 1px;
	bottom: 0px;
}

.footer-widget-wrap .widget_text .widget-title::before {
	display: none;
}

.footer-widget-wrap .textwidget .company-info {
	color: #fff; 
	text-align: left;
	font-size: 0.875em;
}
.footer-widget-wrap .textwidget .company-info a, .footer-widget-wrap .textwidget.company-info a:visited {
	color: #fff;
}

.footer-widget-wrap .textwidget .company-info a:hover, .footer-widget-wrap .textwidget .company-info a:focus, .footer-widget-wrap .textwidget .company-info a:active {
	color: #ccc;
}

.footer-widget-wrap  .widget li {
	padding: 0px;
	margin: 5px 0;
}

.footer-widget-wrap  .widget li::before {
	width: 0px;
}

.footer-widget-wrap .widget li a {
	font-size: 0.875em;
}

.footer-text {
	color: #fff;
	text-align: left;
	padding: 5px 0 20px 30px;
	font-size: 0.8125em;
}

/*---------------------------------------
 **   CatList           -----
-----------------------------------------*/

.lcp_catlist {
	margin: 0;
	text-align: left;
}

.lcp_catlist li {
	list-style-type: none;
	/*color: #004E85;*/
	color: #888;
	line-height: 1.3;
	padding-left: 10px;
}

.lcp_catlist div.row {
	padding: 20px 0 15px;
	border-bottom: 1px solid #eee;
}

.lcp_catlist li:last-child div.row {
	border-bottom: 0 none;
}

.lcp_post {
	margin-bottom: 0 !important;
	padding-bottom: 20px;
	margin-top: 10px;
}

.lcp_post a {
	font-weight: bold;
}

.btn {
  -webkit-border-radius: 15;
  -moz-border-radius: 15;
  border-radius: 10px;
  color: #fff !important;
  font-size: 18px;
  background: #195f91;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
  margin-left: 10px;
}

.btn:hover {
  background: #7BAFDF;
  text-decoration: none;
}

/*---------------------------------------
 **   Frontpage           -----
-----------------------------------------*/

.home-header-slider {
	margin-top: 10px;
}

/*.homepage h1.title {
	font-size: 1em;
	color: #004E85;
	background: #7BAFDF;
	border-radius: 5px 5px 5px 5px;
	padding-left: 10px;
}*/


/*.homepage h1.title {
	font-size: 1.25em;
	color: #fff;
	background: #195f91;
	border-radius: 5px 5px 5px 5px;
	padding-left: 10px;
}*/

.homepage h1.title {
	font-size: 1.25em;
	color: #fff;
	background: #195f91;
	border-radius: 5px 0px 5px 0px;
	padding-left: 10px;
}

.homepage .homepage-widget {
	margin-bottom: 100px;
	margin-top: 30px;
}

.homepage .homepage-widget a, .homepage .homepage-widget a:visited {
	color: #195f91;
}

.homepage .homepage-widget a:hover {
	color: #7BAFDF;
}

.homepage .homepage-widget #event-list ul {
	list-style-type: none;
	margin: 0 0 1.5em 10px;
}

.homepage .homepage-widget #event-list ul li {
	margin-bottom: 30px;
}

.nopadding {
   padding-left: 0 !important;
   padding-right: 0 !important;
   margin-left: 0 !important;
   margin-right: 0 !important;
}

/*---------------------------------------
 **   Sidebar - Posts           -----
-----------------------------------------*/
.sidebar-wrap {
	border-right: 1px solid rgba(0, 0, 0, 0.05);
	border-left: 0 none;
}
.sidebar-posts {
	margin-bottom: 60px;
}

.sidebar-posts .page-title {
	text-align: left;
	color: #004E85;
}

.sidebar-posts li {
	padding: 0px;
	margin: 5px 0;
}

.sidebar-posts li a, .sidebar-posts li a:visited  {
	color: #7BAFDF;
	text-decoration: none;
}

.sidebar-posts li a:hover, .sidebar-posts li a:focus, .sidebar-posts li a:active {
	color: #004E85;
}

.sidebar-posts li::before {
	width: 0px;
}

.sidebar-posts li.active {
	font-weight: 700;
}

.sidebar-posts li.active a {
	color: #004E85;
}

h2.archive-title {
	font-size: 1.25em;
	color: #fff;
	background: #195f91;
	border-radius: 5px 5px 0px 0px;
	padding-left: 10px;
}

/*---------------------------------------
 **   Content - Posts           -----
-----------------------------------------*/
.page-header {
	margin: 0;
}

.entry-title, .entry-title a {
	color: #004E85;
}

.entry-title a:hover {
	color: #7BAFDF;
}

.entry-title::before {
	background: none;
}

.entry-title::after {
	background: none;
}

.listpost-content-wrap h1.entry-title a, .list-post-top h1.entry-title a {
	font-size: 18px;
}

.listpost-content-wrap h1.entry-title, .list-post-top h1.entry-title {
	margin-top: 10px;
}

article .entry-meta a {
	font-style: normal;
}

article .entry-meta a:hover {
	color: #888;
}

article.post .entry-content, article.post .entry-content p, article.post .entry-content a {
	font-size: 1.0625em !important;
	line-height: 1.5;
}

.post-attachments {
	margin: 0 0 1.5em 1.5em;
}

.post-attachments li {
	list-style-type: none;
}

.attachment-pdf {
	background-image: url('pdf.png');
	background-position: left center;
 	background-repeat: no-repeat;
	background-size: 1.0625em 1.0625em;
	padding-left: 30px;
}

/*---------------------------------------
 **   Content - Page           -----
-----------------------------------------*/
.siteorigin-panels .content-left-wrap {
	padding-top: 60px;
}

.siteorigin-panels article.hentry {
	margin-bottom: 30px;
	padding-bottom: 30px;
}

article.hentry {
	border-bottom: 0 none;
}

article.page .entry-content, article.page .entry-content p, article.page .entry-content a {
	font-size: 1.0625em !important;
	line-height: 1.5;
}

/*---------------------------------------
 **   Contact Page           -----
-----------------------------------------*/

.contact-form-bg {
    /*background-color: rgba(0, 78, 133, 0.20);*/
	background-color: #e8e8e8;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 3px rgba(123, 175, 223, 0.1);
    padding: 5%;
    pointer-events: auto;
}

.wpcf7 input[type="text"], input[type="email"] {
    margin-top: 5px;
    width: 70%;
}
.wpcf7-textarea {
    margin-top: 5px;
    width: 90%;
}

input[type="submit"].wpcf7-submit {
	-webkit-border-radius: 15;
	-moz-border-radius: 15;
	border-radius: 5px;
	color: #fff !important;
	font-size: 16px;
	background: #195f91;
	padding: 5px 15px 5px 15px;
	text-decoration: none;
	margin-left: 10px;
}

input[type="submit"].wpcf7-submit:hover {
  background: #7BAFDF;
  text-decoration: none;
}

/*---------------------------------------
 **   Diver Accreditation           -----
-----------------------------------------*/
.diver-accreditation-table, .diver-accreditation-table td {
	border: 0 none;
	vertical-align: middle;
}


/*---------------------------------------
 **   Hacks                         -----
-----------------------------------------*/
@media (min-width: 768px) {
	#post-126 {
		padding-right: 10px;
	}	
}
