/*
Theme Name: DAP Theme
Theme URI: http://dapmalaysia.org
Description: 
Author: 
Author URI:
Version: 1
Tags: 
.
Copyright (C) 2013 DAP Malaysia. All rights reserved.
http://dapmalaysia.org
.
*/
h1,h2,h3,h4,h5,h6,header {
	font-family: 'Source Sans Pro', Arial, sans-serif;
}
body {
	line-height: 1.444em;
	font-family: 'Merriweather', Georgia, serif;
	background-image: url('/wordpress/wp-content/themes/daptheme/img/grey.png');
	/* http://subtlepatterns.com/subtle-grey/ */
}
.page li+li {
	margin-top: 0.6777em;
}
a {
	color: #0066B2;
}
h2 {
	margin-bottom: 1.5em;
}
.page p+p,
.page ul+p,
.page ol+p {
	margin-top: 1.2em;
}
p+h3,
ul+h3,
ol+h3,
p+h4,
ul+h4,
ol+h4 {
	margin-top: 1.5em;
}
.carousel-caption {
	padding: 7px;
}
#carousel h4,
#carousel p {
	font-size: 0.777em;
	line-height: 1.2em;
}
.clear-top-margin {
	margin-top: 0;
}
.container-fluid {
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
}
.add-top-margin {
	!margin-top: 20px;
}
.add-extra-top-margin {
	margin-top: 45px;
}
.add-bottom-margin {
	margin-bottom: 20px;
}
.separate {
	margin-top: 70px;
}
#statement-list h3 a,
.feedlist a {
	color: #000;
}
.feedlist li+li {
	margin-top: 1.2em;
}
#statement-list a:hover {
	color: #0066B2;
	border-bottom: 1px dashed #000;
	text-decoration: none;
}
#statement-list li+li {
	margin-top: 2em;
}
.navbar .brand {
	color: #fff;
	text-shadow: 0px 1px 0px #333;
}
.navbar-inner {
	border: none;
	background-color: #a00;
	background-image: -ms-linear-gradient(top, #c00, #900);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cc0000', endColorstr='#990000');
	background-image: -moz-linear-gradient(center top, #c00, #900);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#c00), to(#900));
	background-image: -webkit-linear-gradient(top, #c00, #900);
	background-image: -o-linear-gradient(top, #c00, #900);
	background-image: linear-gradient(top, #c00, #900);
	border-radius: 4px;
}
.navbar .nav .current-menu-item > a,
.navbar .nav .current-menu-item > a:hover {
	background-color: #a00;
}
.navbar .nav > li > a:focus,
.navbar .nav > li > a:hover {
	color: #fff;
}
.navbar .nav > li > a {
	color: #fff;
	text-shadow: 0px 1px 0px #444;
}
.navbar .nav li.page_item a {
	color: #fff;
}
.caret {
	opacity: 0.75;
}
.white-caret {
	border-top-color: #fff ;
	border-bottom-color: #776 ;
}
.navbar .nav li.dropdown.open > .dropdown-toggle,
.navbar .nav li.dropdown.active > .dropdown-toggle,
.navbar .nav li.dropdown.open.active > .dropdown-toggle {
	color: #fff;
	background-color: maroon;
}
#gridboxes img {
	margin-bottom: 4px;
	padding: 0;
	width: 100%;
}
footer {
	margin-top: 20px;
	border-top: 10px solid #a00;
}
footer li {
	font-size: 0.89em;
}
td,
th {
	vertical-align: top;
	text-align: left;
	padding: 0.5em 1em 0.5em 0;
}
/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
.clear-left {
	clear: left;
}
.clear-right {
	clear: right;
}
.clear-both {
	clear: both;
}
.leader {
	width: 100px;
	height: 300px;
	display: inline-block;
	vertical-align: top;
	padding:5px;
}
#elected-reps h4 {
	padding: 0.5em;
	background-color: maroon;
	color: #fff;
	font-weight: bold;
}
.rep {
	width: 168px;
	height: 335px;
	margin-right: 5px;
	font-size: 1em;
	display: inline-block;
	vertical-align: top;
}
.rep a {
	color: #a00;
	text-decoration: none;
	font-weight: bold;
}
#elected-reps .address,
#elected-reps .tel,
#elected-reps .fax,
#elected-reps .email {
	font-size: 9pt;
	line-height: 1.2em;
}
#twitter-widget-0 {
	width: 100%;
}
p+.author {
	margin-top: 3em;
}
.author+.author {
	margin-top: 1em;
}
.author-name {
	font-weight: 600;
}
.author-position {
	font-family: "Source Sans Pro";
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}
.statement-description {
	margin-top: 1.5em;
	font-weight: 300;
}
.statement h2 {
	font-size: 1.777em;
	line-height: 1.256em;
}
.archive h2 {
	font-size: 31.5px;
	line-height: 40px;
}
#statement-list h3,
.archive h3 {
	margin-top: 0;
	margin-bottom: 0.5em;
	font-size: 1.333em;
	line-height: 1.156em;
}
#statement-list h3 {
	margin-top: 0;
	margin-bottom: 0;
	opacity: 0.8;
	font-weight: 600;
}
.archive .archive-author {
	font-weight: 300;
	font-size: 1.2345em;
	margin-bottom: 0.333em;
/*	color: #fff;*/
/*	background-image: linear-gradient(to right, #a00, rgba(255,0,0,0));*/
}
.archive div+h3 {
	margin-top: 1.5em;
}
.archive h3 a {
	color: inherit;
}
.archive p {
	margin-bottom: 0;
}
#statement-list .statement-author {
	display: inline-block;
}
#statement-list .date,
.archive .date,
.archive .permalink {
	display: inline-block;
}
#statement-list .date,
.archive .date {
	font-weight: bold;
	color: #a00;
}
.article-meta {
	font-family: "Source Sans Pro", sans-serif;
}
.more-link a {
	font-weight: bold;
	color: #a00;
}
.individual-statement+.individual-statement {
	margin-top: 2em;
}
/* Large desktop */
@media (min-width: 1200px) {

}
 
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
	.nav-collapse .nav > li > a:hover,
	.nav-collapse .nav > li > a:focus,
	.nav-collapse .dropdown-menu a:hover,
	.nav-collapse .dropdown-menu a:focus {
		background-color: maroon;
	}

	.dropdown-menu > li > a:hover,
	.dropdown-menu > li > a:focus,
	.dropdown-submenu:hover > a,
	.dropdown-submenu:focus > a {
		background-image: none;
	}

	.nav-collapse .dropdown-menu a {
		color: #fff;
	}
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	.nav-collapse .nav > li > a:hover,
	.nav-collapse .nav > li > a:focus,
	.nav-collapse .dropdown-menu a:hover,
	.nav-collapse .dropdown-menu a:focus {
		background-color: maroon;
	}

	.dropdown-menu > li > a:hover,
	.dropdown-menu > li > a:focus,
	.dropdown-submenu:hover > a,
	.dropdown-submenu:focus > a {
		background-image: none;
	}

	.nav-collapse .dropdown-menu a {
		color: #fff;
	}

	#gridboxes {
		margin-top: 45px;
	}

	#sidebar-videos div+div {
		margin-top: 20px;
	}

	#gridboxes .row-fluid .span4 {
		width: 33.29999%;
		float: left;
	}

	footer li {
		font-size: 1em;
	}
}
 
/* Landscape phones and down */
@media (max-width: 480px) {
	.nav-collapse .nav > li > a:hover,
	.nav-collapse .nav > li > a:focus,
	.nav-collapse .dropdown-menu a:hover,
	.nav-collapse .dropdown-menu a:focus {
		background-color: maroon;
	}

	.dropdown-menu > li > a:hover,
	.dropdown-menu > li > a:focus,
	.dropdown-submenu:hover > a,
	.dropdown-submenu:focus > a {
		background-image: none;
	}

	.nav-collapse .dropdown-menu a {
		color: #fff;
	}
}
.fb-comments, .fb-comments span, .fb-comments.fb_iframe_widget span iframe {
    width: 100% !important;
}

.navbar .nav .search_form{float:right;}

div.constituency {
font-weight: bold;
font-size: 1.1em;
}

table .contact_table_inner{
	border-radius: 11px;
	border: 2px solid rgb(245, 229, 229);
	border-collapse:separate;
	padding:10px;
	background-color:rgb(245, 229, 229);
}

div.find_author_pagination {
	padding: 3px;
	margin: 3px;
}

div.find_author_pagination a {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	border: 1px solid #a00;
	
	text-decoration: none; /* no underline */
	color: #000099;
}
div.find_author_pagination a:hover, div.find_author_pagination a:active {
	border: 1px solid #000099;

	color: #000;
}
div.find_author_pagination span.current {
	padding: 2px 5px 2px 5px;
	margin: 2px;
		border: 1px solid #a00;
		
		font-weight: bold;
		background-image: -webkit-linear-gradient(top,#c00,#900);
		color: #FFF;
	}
	div.find_author_pagination span.disabled {
		padding: 2px 5px 2px 5px;
		margin: 2px;
		border: 1px solid #EEE;
	
		color: #DDD;
	}
	
.carousel-indicators li{
	
	    border-style: solid;
    border-color: #90949c;
    border-width: 2px;
	
}

.carousel-indicators .active {
    background-color: #90949c;
}

	.leader {
	width: 170px;
	height: 300px;
	display: inline-block;
	vertical-align: top;
	padding:7px;
	    text-align: center;
}


	#arkib_sebelum_2013 td 
	{ padding:0 0 0 0;}
	
	#arkib_sebelum_2013_main td
	{padding:0 0 0 0;}
	
	*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.survey_wrapper.disable {
	  position: fixed;
	pointer-events: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	  z-index: 99999;
}

@media (max-width: 979px)
{
	.survey_modal.active {
	    width: 81%;
		left: 45%;
	}
}

.modal {
  text-align: center;
}

@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.survey_button {
  background: #cc0e00;
  background-image: -webkit-linear-gradient(top, #cc0e00, #990a00);
  background-image: -moz-linear-gradient(top, #cc0e00, #990a00);
  background-image: -ms-linear-gradient(top, #cc0e00, #990a00);
  background-image: -o-linear-gradient(top, #cc0e00, #990a00);
  background-image: linear-gradient(to bottom, #cc0e00, #990a00);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  color: #ffffff;
  
   padding: 5px 25px 5px 25px;
  text-decoration: none;

}

#gridboxes .sidebar_style img{
	    margin-bottom: 0px;
	    width: 95%;
}

#front_page_button .col-sm-4{
	padding-left:10px;
	padding-right:10px;
}

#state_flag img{
	border:1px solid #000000;
	margin-left: auto;
    margin-right: auto;
    display: block;
}


#state_name {
    text-align: center;
    padding-top: 5px;
    font-weight: bold;
	margin-left: auto;
    margin-right: auto;
    display: block;
}

#nested_list ol {
  counter-reset: item
}

#nested_list li {
  display: block
}

#nested_list li:before {
  content: counters(item, ".") " ";
  counter-increment: item
}