/*
Theme Name: INHS Bootstrap
Author: Dan Ellis
Description: The 2013 theme for The International Network for Hate Studies website. Built using the Twitter Bootstrap framework.
Version: 1.0
Template: twentytwelve
*/

/* GLOBAL STYLES
-------------------------------------------------- */

body {
	background: #FFFFFF;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	color: #4B7FBF;
	font-weight: normal;
}

h1 {
	border-bottom: 1px solid #EEEEEE;
	font-size: 28px;
	line-height: 30px;
	margin-top: 0;
	padding-bottom: 10px;
}

h2 {
	font-size: 23px;
}

h3 {
	font-size: 18px;
}

h4 {
	border-bottom: 1px solid #EEEEEE;
	padding-bottom: 10px;
}

h6 {
	font-size: 15px;
}

.container {
	width: 960px;
}

/* HEADER
-------------------------------------------------- */

#masthead {
	/*background: url('img/blurred-6-white.jpg') no-repeat center center;*/
	/*background: #f7f7f7;*/
	background: #13143E;
	width: 100%;
}

#masthead .container {
	height: 210px;
	display: table;
	overflow: hidden;
}

#masthead .logo-wrapper {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

#masthead .logo-wrapper .logo {
	/*float: left;*/
}

#navigation {
	text-align: center;
	background: #464646;
	min-height: 40px;
	width: 100%;
}


	#navigation .btn-navbar {
		background: url('img/nav-collapse.png') no-repeat;
		border: none;
		border-radius: 0;
		box-shadow: none;
		height: 40px;
		margin: 0;
		padding: 0;
		width: 53px;
	}

	#navigation .caret {
		border-bottom-color: #fff;
		border-top-color: #fff;
		margin-top: 10px;
		margin-left: 5px;
	}

	#navigation ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
		display: inline-block;
	}
	
	#navigation ul li {
		display: inline-block;
		float: left;
		position: relative;
	}
	
	#navigation ul li.active {
		background: #f7f7f7;
		color: #262847;
	}
			
	#navigation ul li:first-child a {
		border-left: 1px solid #333;
	}
	
	#navigation ul li a {
		border-right: 1px solid #333;
		color: #fff;
		display: block;
		padding: 10px 18px;
		text-decoration: none;
	}
	
	#navigation ul li:nth-child(n) a:hover {
		background: #fff;
		color: #262847;
	}
	
	#navigation ul li.active a {
		color: #262847;
	}
	
	#navigation ul li:hover a,
	#navigation ul li a:hover {
		background: #EEE;
		color: #262847;
	}
	
	#navigation ul li.active .caret,
	#navigation ul li:hover .caret,
	#navigation ul li a:hover .caret {
		border-bottom-color: #333;
		border-top-color: #333;
	}
	
	#navigation ul li:hover ul {
		left: 0;
		background: #fff;
		color: #262847;
	}
	
	#navigation ul li ul {
		background: #FFF;
		left: -999em;
		width: 220px;
		padding-bottom: 2px;
		position: absolute;
		z-index: 2000;
	}
	
	#navigation ul li ul li {
		width: 100%;
	}
		
	#navigation ul li ul li a {
		border: none !important;
		color: #333333;
	}



/* CONTENT
-------------------------------------------------- */

#breadcrumbs {
	background: #F7F7F7;
}

#content {
	padding: 20px 0;
}

.left-content {
	width: 680px;
}

.right-content {
	width: 260px;
}

/* FOOTER
-------------------------------------------------- */

#affiliations {
	background: #485566;
}

#affiliations .container {
	color: #FFF;
	padding: 15px 0;
	text-align: center;
}

#affiliations h3 {
	color: #FFF;
	font-size: 24.5px;
}

#affiliations p {
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}

#affiliations .control-group {
	display: inline-block;
	margin: 0;
}

#footer {
	background: #F7F7F7;
}

#footer .container {
	color: #EEE;
	padding: 15px 0;
}

#footer h5 {
	color: #888;
	font-size: 16px;
}

#footer ul {
	list-style-type: none;
	margin: 0 0 10px;
}

#footer ul a {
	color: #888;
}

#footer-bottom .container {
	color: #AAAAAA;
	padding: 15px 0;
}

/* WIDGETS
-------------------------------------------------- */

.widget {
	margin-bottom: 10px;
}

.home .widget_newsletter_widget {
	background: #F7F7F7;
	padding: 20px;
}

	.widget_newsletter_widget .control-group {
		margin: 0;
	}

	.home .widget_newsletter_widget h3 {
		border-color: #CCC;
		margin-bottom: 10px;
		padding-top: 0;
	}

.widget h3 {
	background: #485566;
	border: 0;
	color: #FFF;
	line-height: normal;
	margin: 0;
	padding: 10px;
}

.widget h4 {
	border: 0;
	margin: 0 0 5px;
	padding: 0;
}

.home .widget h3 {
	background: none;
	border-bottom: 1px solid #EEE;
	color: #4B7FBF;
	padding-left: 0;
}

.home .social-widget h3 {
	border-bottom: 0;
}

.widget form {
	margin: 0;
}

.widget ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	border-bottom: 1px solid #EEE;
	padding: 10px;
}

.widget ul li img {
	float: left;
	margin: 0 10px 0 -10px;
}

.widget ul li a {
	clear: both;
}

.widget ul li .date {
	display: block;
	font-size: 13px;
}

.widget article {
	border-bottom: 1px solid #EEE;
	margin-top: 10px;
}

.widget article .date {
	float: left;
	line-height: 25px;
	padding: 2px 10px 5px 0;
}

	.widget article span.month {
		display: block;
		font-size: 18px;
		font-weight: bold;
		text-transform: uppercase;
	}
	
	.widget article span.day {
		display: block;
		font-size: 30px;
	}

.widget .inner {
	padding: 10px;
}

.home .widget .inner {
	padding: 0;
}

.home .widget article .inner {
	padding: 10px 0 0;
}

.widget .glossary {
	margin-top: 5px;
}

.widget .glossary li {
	background: #f7f7f7;
	border: 0;
	display: inline;
	float: left;
	margin-top: 5px;
	margin-left: 5px;
	padding: 0;
	text-align: center;
}

.widget .glossary li a,
.widget .glossary li span {
	float: left;
	padding: 5px 0;
	width: 28px;
}

.widget .published li a {
	width: 44px;
}

.widget .search {
	margin-top: 10px;
	padding: 0 10px;
}

/* SOCIAL WIDGETS
-------------------------------------------------- */

#fb-root {
    display: none;
}

.fb-like-box {
	border: 1px solid #eee;
}

.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}

.twitter-timeline {
	width: 100%;
}

/* ARCHIVES
-------------------------------------------------- */

.archive-description {
	border-bottom: 1px solid #EEE;
}

.archive-description .author-avatar {
	float: left;
	margin: 0 15px 10px 0;
}

.archive-description .eo-venue-map {;
	margin-bottom: 10px;
}

article.post,
article.event,
article.publication {
	border-bottom: 1px solid #EEE;
	margin: 20px 0 0 0;
	padding: 0 0 20px;
}

article.post h2,
article.event h2,
article.publication h2 {
	font-size: 28px;
	line-height: 28px;
	margin-top: 0;
}

.blog article:first-child {
	margin-top: 0;
}

.post .entry-image {
	float: left;
}

.post .entry-content {
	float: left;
	margin-left: 20px;
	width: 440px;
}

.post .entry-meta {
	clear: both;
	font-size: 13px;
	padding-top: 10px;
}

article.event {
	clear: both;
}

article.event .event-meta ul {
	list-style-type: none;
	margin: 0 !important;
}

article.event .date {
	background: #EEE;
	float: left;
	line-height: 20px;
	margin: 0 15px 5px 0;
	padding: 10px;
}

	article.event .date span.month {
		display: block;
		font-size: 18px;
		font-weight: bold;
		text-transform: uppercase;
	}
	
	article.event .date span.day {
		font-size: 30px;
	}
	
	article.event .date .year {
		font-size: 15px;
		line-height: 15px;
	}

/* SINGLE POST
-------------------------------------------------- */

.single h1 {
	border-bottom: 0;
	font-size: 32px;
	margin-bottom: 0;
}

.single-member h1 {
	border-bottom: 1px solid #EEEEEE;
	margin-bottom: 10px;
}

.post-meta {
	border-bottom: 1px solid #EEE;
	font-size: 13px;
	margin: 0 0 20px 0;
	padding: 0 0 10px 0;
}

	.post-meta a {
		color: #333;
	}
	
.event-details {
	float: right;
	margin: 0 0 10px 20px;
	width: 250px;
}

	.event-details ul {
		list-style-type: none;
		margin: 0;
	}
	
	.event-details .eo-venue-map {
		margin-top: 10px;
	}

.member-picture {
	float: right;
	margin: 0 0 20px 20px;
}

/* COMMENTS
-------------------------------------------------- */

#comments {
	margin-top: 20px;
}

#comments ol {
	list-style-type: none;
	margin: 0;
}

#comments li {
	background: #F7F7F7;
	margin-bottom: 10px;
	padding: 10px;
}

#comments .children li {
	margin: 0;
	padding-bottom: 0;
}

.comment header {
	display: block;
	float: left;
	padding: 0 0 10px 0;
	width: 100%;
}

.comment header img {
	float: left;
	margin: 0 10px 0 0;
}

.comment header .author {
	padding: 5px 0 0;
}

.comment header .date a {
	color: #333;
	font-size: 13px;	
}

.comment .comment-content {
	clear: both;
}

#respond #reply-title {
	font-size: 23px;
}

/* LINKS
-------------------------------------------------- */

#links article:first-child {
	border-top: 1px solid #EEEEEE;
	/*margin-top: 15px;*/
}

#links article {
	/*border-bottom: 1px solid #EEEEEE;*/
	padding-bottom: 15px;
}

#links article h3 {
	line-height: normal;
	margin-bottom: 5px;
}

#links article a.visit-link {
	color: #333333;
}

#links article a.visit-link [class^="icon-"],
#links article a.visit-link [class*="icon-"] {
	margin-top: 3px;
}

/* MEMBERS
-------------------------------------------------- */

.members article {
	border-bottom: 1px solid #EEEEEE;
	min-height: 180px;
	padding-bottom: 15px;
}

.members article:last-child {
	border-bottom: 0;
}

.members article h3 {
	margin-bottom: 5px;
}

.members article img {
	float: right;
	margin: 10px 0 0 10px;
}

/* GRAVITY FORMS
-------------------------------------------------- */

.gform_wrapper ul { list-style: none; margin-left: 0; }
.gform_wrapper form { margin-bottom: 0; }

.gfield_radio input,
.gfield_checkbox input {
  vertical-align: 0;
}
.gfield_radio label,
.gfield_checkbox label {
  display: inline-block;
  margin-left: 8px;
}

.gform_wrapper .gfield_required {
  color: #B94A48;
  padding-left: 1px;
}

.gform_wrapper .validation_message { display: none; }

.gform_wrapper .gfield_error label {
  color: @errorText;
}

/* MEDIA QUERIES
-------------------------------------------------- */

@media (max-width: 767px) {
	
	body {
		padding-left: 0;
		padding-right: 0;
	}
	
	#navigation .container,
	#breadcrumbs .container {
		padding: 0 20px;
	}
	
	#content {
		padding: 20px 20px 10px;
	}
	
	.container {
		width: 100%;
	}
	
	#masthead,
	#masthead .container {
		height: auto;
	}
	
	#masthead .logo {
		margin-bottom: 50px;
		width: 100%;
	}
	
	/*.home #masthead,
	.home #masthead .container {
		height: 160px;
	}
	
	.home #masthead .logo {
		margin-top: 50px;
	}*/
	
	#navigation .container {
		padding: 0;
	}
	
	#navigation .btn-navbar {
		margin-left: 0;
	}
	
	.left-content {
		padding: 0 10px;
		width: 100%;
	}
	
	.right-content {
		margin-top: 20px;
		margin-left: 0;
		width: 100%;
	}
		
	.home .widget h3 {
		background: #485566;
		border: 0;
		color: #FFF;
		line-height: normal;
		margin: 0;
		padding: 10px;
	}
		
	.home .widget_newsletter_widget h3 {
		background: none;
		border-bottom: 1px solid #EEE;
		color: #4B7FBF;
		margin-bottom: 10px;
		padding-top: 0;
		padding-left: 0;
	}
	
	#affiliations,
	#footer,
	#footer-bottom {
		padding-right: 20px;
		padding-left: 20px;
	}
	
	#affiliations p {
		width: 80%;
	}
	
	#affiliations .control-group {
		display: block;
	}
	
	#affiliations input,
	#affiliations button {
		display: block;
		margin: 0 auto 10px;
	}
	
	#affiliations input {
		width: 80%;
	}
		
}

@media (max-width: 480px) {
		
	.widget {
		margin-left: 0 !important;
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}
	
	.widget ul li img {
		margin-left: 0;
	}

}

@media (min-width: 767px) and (max-width: 1080px) {

	.container,
	#masthead .logo {
		width: 680px;
	}
	
	#masthead,
	#masthead .container {
		height: 180px;
	}
		
	/*.home #masthead,
	.home #masthead .container {
		height: 210px;
	}
	
	.home #masthead .logo {
		margin-top: 70px;
	}*/
		
	.row-fluid [class*="span"] {
		margin-left: 2.5%;
	}

}

@media (min-width: 1081px) {

	.nav-collapse.collapse {
    		height: 40px !important;
    		overflow: visible !important;
	}

}


@media (max-width: 1081px) {
	
	#navigation ul {
		float: left;
		margin-bottom: 0;
		width: 100%;
		display: block;
	}
	
	#navigation ul li {
		display: block;
		width: 100%;
	}
		
	#navigation ul li:first-child a {
		border-left: none;
	}
	
	#navigation ul li.active,
	#navigation ul li.active a,
	#navigation ul li:hover,
	#navigation ul li:hover a,
	#navigation ul li:hover ul li,
	#navigation ul li:hover ul li a {
		background: #f7f7f7;
		color: #262847;
	}
	
	#navigation ul li .caret {
		border-bottom-color: #fff;
		border-top-color: #fff;
		margin-top: 10px;
		margin-left: 5px;
	}
	
	#navigation ul li a {
		border-right: 0;
		border-bottom: 1px solid #333;
	}
	
	#navigation ul li ul {
		background: none;
		border: 0;
		left: auto;
		margin: 0;
		padding: 0;
		position: static;
		width: 100%;
	}
	
	#navigation ul li ul li a {
		border-bottom: 1px solid #333 !important;
		color: #FFF;
	}
	
}

@media (min-width: 1081px) {
	
	#navigation .btn-navbar {
		display: none !important;
	}	
	
}

@media (min-width: 1px) {
	
	.right-content {
		width: 250px;
	}

	#navigation ul li ul.sub-menu {
		display: none;
	}

	#navigation ul li:hover ul.sub-menu {
		display:block;
		background: #262847;
		color: #fff;
	} 

}

@media screen and (min-width: 979px) {
	
	#navigation ul li ul.sub-menu {
    	display:block;
}
	
}