/*
Theme Name: ASWAD
Theme URI: http://aswadiaspora.org
Author: Marc Ronquillo
Author URI: http://www.marcronquillo.com
Description: Custom WordPress theme based on Bootstrap 3 framework
Version: 1.0
*/

/* Move down content because we have a fixed navbar that is 50px tall */
body {
	background-color: #eac086;
	/* min-height: 2000px; */
	/* padding-top: 70px; */
}

/* hr {
    border-top: 1px solid #666666;
} */

img {
	max-width: 100%;
	height: auto;
}

a {color: #3D612C}
a:link {color: #3D612C}
a:visited {color: #3D612C}
a:active {color: #3D612C}
a:hover {color:#3D612C}

.center {
	text-align: center;
}

header {
	/* background-color: #FFD97F; */
	background-image: url(images/header-bg.jpg);
	background-repeat: repeat-x;
}

.logo img {
	width: 100%;
	height: auto;
	padding-top: 30px;
	padding-bottom: 30px;
}	

#border {
	width: 100%;
	height: 30px;
	background-image: url(images/borderTop.gif);
	background-repeat: repeat-x;
}

.clear {
	clear: both;
}

.main {
	padding-bottom: 50px;
}

.second-column-margin-top {
	margin-top: -10px;
}

a.btn {
	color: #ffffff;
}

.btn-danger {
    background-color: #AF183A;
    border-color: #AF183A;
    color: #fff;
}

.btn a:link,
.btn-danger:hover,
.btn-danger:focus,
.btn-danger.focus,
.btn-danger:active,
.btn-danger.active,
.btn-danger.visited,
.open > .dropdown-toggle.btn-danger {
  color: #999999;
  background-color: #AF183A;
  border-color: #AF183A;
}

footer {
	margin-bottom: 0;
}

/* NAVIGATION ITEMS BEGINS */
.navbar-default {
    /* background-color: #addc6c;
    border: 1px solid #addc6c; */
    float: right;
}
.navbar-default .navbar-collapse, 
.navbar-default .navbar-form {
    border: 1px solid #addc6c;
}
#navigation {
	width: 100%;
	max-width: 320px;
	height: auto;
	float: left;
	margin-left:-40px;
}
#navigation ul li {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9px;
	list-style-type: none;
}
#navigation ul li a {
	color: #FFFFFF;
	text-decoration: none;
	padding-left: 50px;
}
.navbar-nav > li > a {
    padding-left: 75px;
}
.navbar-default .navbar-nav > li > a {
    color: #FFFFFF;
}
a.navButton1 {
	background-image: url(images/nav/navBG-down1.png);
	background-repeat: no-repeat;
	max-width: 300px;
	height: auto;
	display: block;
}
a:hover.navButton1 {
	background-image: url(images/nav/navBG-over1.png);
	background-repeat: no-repeat;
	max-width: 300px;
	height: auto;
	display: block;
}
a:active.navButton1 {
	background-image: url(images/nav/navBG-over1.png);
	background-repeat: no-repeat;
	max-width: 300px;
	height: auto;
	display: block;
}
a.navButton2 {
	background-image: url(images/nav/navBG-down2.png);
	background-repeat: no-repeat;
	max-width: 300px;
	height: auto;
	display: block;
}
a:hover.navButton2 {
	background-image: url(images/nav/navBG-over2.png);
	background-repeat: no-repeat;
	max-width: 300px;
	height: auto;
	display: block;
}
a:active.navButton2 {
	background-image: url(images/nav/navBG-over2.png);
	background-repeat: no-repeat;
	max-width: 300px;
	height: auto;
	display: block;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border: 1px solid #eac086;
}

.navbar-default {
    background-color: #eac086;
    border: 1px solid #eac086;
    float: right;
}

.navbar-collapse.in {
    overflow-y: auto;
    z-index: 1000;
}
/* NAVIGATION ITEMS ENDS */

/* CUSTOM BUTTONS */
a.custom-btns {
	background-image: url(images/nav/navBG-down2.png);
	background-repeat: no-repeat;
	max-width: 300px;
	height: 50px;
	display: block;
	line-height: 50px;
	padding-left: 75px;
	color: #FFFFFF;
}
a:hover.custom-btns {
	background-image: url(images/nav/navBG-over2.png);
	background-repeat: no-repeat;
	max-width: 300px;
	height: 50px;
	display: block;
	text-decoration: none;
}
a:active.custom-btns {
	background-image: url(images/nav/navBG-over2.png);
	background-repeat: no-repeat;
	max-width: 300px;
	height: 50px;
	display: block;
}

/* VERTICAL NAVIGATION BEGINS */
@media (min-width: 768px) {
	.navbar-collapse {
		height: auto;
		border-top: 0;
		box-shadow: none;
		max-height: none;
		padding-left: 0;
		padding-right: 0;
	}

	.navbar-collapse.collapse {
		display: block !important;
		width: auto !important;
		padding-bottom: 0;
		overflow: visible !important;
	}

	.navbar-collapse.in {
		overflow-x: visible;
	}

	.navbar {
		max-width: 300px;
		margin-right: 0;
		margin-left: 0;
	}	

	.navbar-nav,
	.navbar-nav > li,
	.navbar-left,
	.navbar-right,
	.navbar-header {
		float: none !important;
	}

	.navbar-right .dropdown-menu {
		left: 0;
		right: auto;
	}
	.navbar-collapse .navbar-nav.navbar-right:last-child {
	    margin-right: 0;
	}
}
/* VERTICAL NAVIGATION ENDS */

/* CONSTITUTION PAGE STYLES BEGINS */
.constitution-nav {
	margin-left: 20px;	
}
.section-indent {
	margin-left: 20px;	
}
/* CONSTITUTION PAGE STYLES ENDS */

/* FORM STYLES BEGINS */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea
{ width: 100% !important;
}

/* FORM STYLES ENDS */

article .post {
	padding-bottom: 100px;
	border-bottom: 1px solid #FFFFFF;
}

.has-thumbnail {
	position: relative;
	top: 0;
	left: 0;
	padding-bottom: 100px;
}

.post-thumbnail {
	position: absolute;
}

.book-info {
	margin-left: 200px;
}

.current-menu-item > a, .current-menu-parent > a {
	background: #000;	
}
.current-menu-parent li a {
	background: inherit;
}
.current-menu-parent .current-menu-item a {
	color: #fff;
	font-weight: bold;
}

.sidebar {
	margin-top: 40px;
	color: #444444;
}

.sidebar h3 {
	color: #888888;
}

.widget {
	margin: 10px 0 30px;
}

article.post {
	margin: 20px 0 40px;
}

.featured-image img,
.portfolio-piece img,
.portfolio-image img {
	max-width: 100%;
}

.prev-next {
	font-size: 24px;
	margin-top: 30px;
	text-align: right;
}

@media (max-width: 540px) {
	.portfolio-piece h4 {
		font-size: .8em;
	}
	.prev-next {
		margin-top: 25px;
		font-size: 18px;
	}
}

#comment {
	width: 100%;	
}

/* OFFICERS PAGE STYLES BEGINS */
img.officer {
        margin-top: 20px;
}

.media-body, .media-left, .media-right {
    display: table-cell;
    vertical-align: middle;
}
/* OFFICERS PAGE STYLES ENDS */

/* PAID MEMBERSHIPS PRO STYLES BEGINS
input#AccountNumber[type="text"] {
        width: 95%;
}

#ExpirationMonth {
        width: 12%;
}

#ExpirationYear,
input#CVV {
        width: 20%;
}

.pmpro_thead-msg {
    text-align: left;
    float: left;
    white-space: normal;
}

form.pmpro_form label {
    text-align: left;
}
/* PAID MEMBERSHIPS PRO STYLES ENDS */

/* BB PRESS STYLES BEGINS */
#bbpress-forums {
    margin-top: 20px;
}
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results {
    font-size: 14px;
}
#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta {
    font-size: 12px;
}
#bbpress-forums
#bbp-search-form {
    margin-bottom: 20px;
}

/* BB PRESS STYLES ENDS */

.video-holder {
  display: inline-block;
  position: relative;
  padding-bottom: 60%;
  width: 100%;
}
.video-holder iframe {
  height: 100% !important;
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.iframe-container{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
}
.iframe-container iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}