/*
Theme Name: NAfME.org
Theme URI: http://www.nafme.org
Description: Custom WordPress theme by CogentPath.
Author: CogentPath
Author URI: http://www.cogentpath.com
Template: affinity
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
	font-family: 'Museo500';
	src: url('fonts/Museo500-Regular-webfont.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
		 url('fonts/Museo500-Regular-webfont.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}

/**
 * Table of Contents
 *
 * 1.0 - Repeatable
 * 2.0 - Structure
 * 3.0 - Header
 * 4.0 - Navigation
 * 5.0 - Content
 *   5.1 - Frontpage
 * 6.0 - Sidebar
 * 7.0 - Footer
 * 8.0 - Media Queries
 */

/**
 * 1.0 Repeatable
 * -----------------------------------------------------------------------------
 */

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	line-height: 1.3;
}

h1, .h1 {
	font-size: 24px;
}

h2, .h2 {
	font-size: 18px;
}

h1, h2, .h1, .h2 {
	color: #5d498d;
	font-family: "Museo500", Georgia, Times New Roman, Times, serif;
}

h3, h4, h5, h6, .h3, .h4, .h5, .h6 {
	font-size: 14px;
	font-weight: bold;
}

a:hover, a:focus {
	-o-transition: .5s;
	-ms-transition: .5s;
	-moz-transition: .5s;
	-webkit-transition: .5s;
	transition: .5s;
}

blockquote {
	font-style: italic;
}

.required {
	color: #d44950;
}

/* Form */

fieldset {
	margin-top: 20px;
}

legend {
	color: #5d498d;
	border: none;
	font-family: "Museo500", Georgia, Times New Roman, Times, serif;
	font-size: 18px;
	line-height: 1.3;
}

.label {
	font-family: "OpenSans", Helvetica, Arial, Sans-Serif;
}

.label-small {
	font-size: 11px;
}

input[type=text],
textarea,
select {
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555555;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

input[type=text]:focus,
textarea:focus,
select:focus {
	border-color: #66afe9;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

/* Buttons */

button,
input[type=submit],
input[type=button] {
	border-radius: 4px;
	color: #fff;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
}

button,
input[type=submit],
input[type=button],
.btn-primary {
	background-color: #5d498d;
	border-color: #463570;
}

button:hover,
button:focus,
input[type=submit]:hover,
input[type=submit]:focus,
input[type=button]:hover,
input[type=button]:focus,
.btn-primary:hover,
.btn-primary:focus {
	background-color: #ffd200;
	border-color: #ffd200;
	color: #000;
}

.btn-default {
	background-color: #049eae;
	border-color: #028390;
	color: #fff;
}

.btn-default:hover,
.btn-default:focus {
	background-color: #ffd200;
	border-color: #ffd200;
	color: #000;
}

/* List */

.list-group {
	text-align: center;
}

a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
	background-color: #f5f5f5;
	border-color: #ddd;
	color: #555;
}

.well dl {
	margin-bottom: 0;
}

/**
 * 2.0 Structure
 * -----------------------------------------------------------------------------
 */

html, body {
	height: 100%;
}

body {
	background-color: #fff;
	color: #555;
	font-family: 'Open Sans', Helvetica, Arial, Sans-Serif;
	padding-bottom: 40px;
}

.wrapper {
	min-height: 100%;
}

/**
 * 3.0 Header
 * -----------------------------------------------------------------------------
 */

.site-header {
	background-color: #00535c;
}

.site-header .logo {
	display: block;
	z-index: 500;
}

/**
 * 4.0 Navigation
 * -----------------------------------------------------------------------------
 */

.affix {
	position: fixed;
	top: 0;
	z-index: 999;
	width: 100%
}

.navbar {
	border-radius: 0;
	border: none;
	font-weight: 600;
	margin-bottom: 0;
	z-index: 10;
}

.navbar-toggle {
	background-color: #049eae;
	border-color: #00535c;
	color: #fff;
	margin: 13px 0;
}

.icon-bar {
	background-color: #fff;
}

.navbar-collapse {
	padding-left: 0;
	padding-right: 0;
}

.navbar-nav > li > a {
	color: #fff;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
	color: #fce968;
}

.top-nav {
	color: #fff;
	font-size: 12px;
}

.top-nav .navbar-nav {
	float: right;
}

.top-nav .form-control {
	box-shadow: none;
	border-radius: 0;
	font-weight: normal;
	height: 25px;
	width: 75%;
}

.top-nav .btn-primary {
	background-color: #049eae;
	border-color: #049eae;
	border-radius: 0;
	height: 25px;
	padding: 3px 10px;
	text-transform: uppercase;
}

.top-nav .navbar-nav a,
.top-nav .navbar-nav a:hover,
.top-nav .navbar-nav a:focus {
	color: #fff;
	padding: 10px;
	text-align: center;
	text-transform: uppercase;
}

.top-nav .navbar-nav a.greenTop {
	background-color: #02c0d4;
}

.top-nav .navbar-nav a.greenTop:hover,
.top-nav .navbar-nav a.greenTop:focus {
	background-color: #13def3;
}

.top-nav .navbar-nav a.yellowTop {
	background-color: #ff9000;
}

.top-nav .navbar-nav a.yellowTop:hover,
.top-nav .navbar-nav a.yellowTop:focus {
	background-color: #ffb75a;
}

.top-nav .navbar-nav a.purpleTop {
	background-color: #8367cd;
}

.top-nav .navbar-nav a.purpleTop:hover,
.top-nav .navbar-nav a.purpleTop:focus {
	background-color: #a690e2;
}

.top-nav .navbar-nav a.blueTop {
	background-color: #4e9edc;
}

.top-nav .navbar-nav a.blueTop:hover,
.top-nav .navbar-nav a.blueTop:focus {
	background-color: #84c7fa;
}

.top-nav .btn-primary:hover,
.top-nav .btn-primary:focus {
	background-color: #ffd200;
	border-color: #ffd200;
}

.btm-nav {
	background-color: #049eae;
	min-height: 43px;
}

.btm-nav .navbar-nav > li > a,
.btm-nav .navbar-nav > .active > a {
	background-color: transparent;
	color: #fff;
	line-height: normal;
	padding: 13px 16px;
	text-transform: uppercase;
}

.btm-nav .navbar-nav > li > a:hover,
.btm-nav .navbar-nav > li > a:focus,
.btm-nav .navbar-nav > .active > a:hover,
.btm-nav .navbar-nav > .active > a:focus,
.btm-nav .navbar-nav > .open > a,
.btm-nav .navbar-nav > .open > a:hover,
.btm-nav .navbar-nav > .open > a:focus {
	background-color: transparent;
	color: #fce968;
}

/**
 * 5.0 Content
 * -----------------------------------------------------------------------------
 */

#primary {
	margin-top: 25px;
	margin-bottom: 25px;
}

.page-title {
	margin: 10px 0 10px;
}

.breadcrumb {
	background-color: transparent;
	padding: 0;
	margin: 20px 0;
}

.breadcrumb a,
.breadcrumb a:hover,
.breadcrumb a:focus {
	color: #999;
}

.thumbnail {
	margin-bottom: 10px;
}

.entry-archive,
.entry-search,
.entry-static-page {
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
	padding-bottom: 10px;
}

.entry-archive:last-of-type,
.entry-search:last-of-type,
.entry-static-page:last-of-type {
	border: none;
	margin-bottom: 0;
}

.page-title,
.entry-title {
	color: #5d498d;
	font-family: "Museo500", Georgia, Times New Roman, Times, serif;
	margin-top: 0;
}

.entry-title a {
	color: #5d498d;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
	background-color: #ffd200;
	color: #555;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
	background-color: #049eae;
	border-color: #049eae;
}

#bbpress-forums div.wp-editor-container {
	border: 1px solid #eee;
}

#subscription-toggle {
	float: right;
}

#disqus_thread {
	margin-top: 30px;
}

/**
 * 5.1 Frontpage
 * -----------------------------------------------------------------------------
 */

.separator {
	text-align: center;
	margin: 35px 0 25px 0;
}

.separator-title {
	border-bottom: 4px solid #eee;
	border-top: 4px solid #eee;
	color: #333;
	display: inline-block;
	font-family: 'Open Sans', Helvetica, Arial, Sans-Serif;
	font-size: 16px;
	font-weight: bold;
	margin: 0;
	padding: 5px 0;
	text-transform: uppercase;
}

.slider {
	background-color: #000;
}

.soliloquy-container .soliloquy-caption-inside {
	padding-bottom: 35px !important;
}

/**
 * 6.0 Sidebar
 * -----------------------------------------------------------------------------
 */

#secondary {
	margin-top: 25px;
	margin-bottom: 25px;
}

.widget {
	margin-bottom: 40px;
}

.widget .btn-default {
	background-color: #eaeaea;
	border-color: #ccc;
	color: #333;
}

.widget .btn-default:hover,
.widget .btn-default:focus {
	background-color: #b7b7b7;
}

.widget-title {
	border-bottom: 1px solid #eee;
	font-size: 18px;
	margin-top: 20px;
	padding-bottom: 5px;
}

/**
 * 7.0 Footer
 * -----------------------------------------------------------------------------
 */

.site-footer {
	background-color: #00535c;
	color: #fff;
	padding: 0 0 40px;
}

.site-footer a {
	color: #fff;
	text-decoration: underline;
}

.site-footer a:hover,
.site-footer a:focus {
	color: #fce968;
}

.tagline {
	background-color: #049eae;
	text-align: center;
	color: #fff;
	font-size: 16px;
	padding: 10px 0;
	margin-bottom: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.socialmedia-icon {
	background: url("images/sprite.png") no-repeat;
	display: inline-block;
	margin: 0 3px;
	text-indent: -9999px;
	width: 24px;
	height: 24px;
}

.socialmedia-icon.faceBook {
	background-position: 0 0;
}

.socialmedia-icon.twitter {
	background-position: -29px 0;
}

.socialmedia-icon.linkedin {
	background-position: -59px 0;
}

.socialmedia-icon.google {
	background-position: -88px 0;
}

.socialmedia-icon.pinterest {
	background-position: -117px 0;
}

/**
 * 8.0 Media Queries
 * -----------------------------------------------------------------------------
 */

/* Desktop */

@media (min-width: 992px) {
	.site-header .logo {
		background: url("images/logo.png") no-repeat;
		height: 70px;
		margin-top: 2px;
		position: absolute;
		width: 230px;
	}

	.site-header .col-sm-4 {
	padding-right: 0;
	}

	.site-header .col-sm-8 {
		padding-left: 0;
	}

	.top-nav .container,
	.btm-nav .container {
		padding-left: 260px !important;
	}

	.top-nav .navbar-form {
		float: right;
		margin: 7px 0;
		padding: 0;
	}

	.btm-nav .dropdown-menu:before {
		content: '';
		display: inline-block;
		border-left: 7px solid transparent;
		border-right: 7px solid transparent;
		border-bottom: 7px solid #ccc;
		border-bottom-color: rgba(0, 0, 0, 0.2);
		position: absolute;
		top: -7px;
		left: 40px;
	}

	.btm-nav .dropdown-menu:after {
		content: '';
		display: inline-block;
		border-left: 6px solid transparent;
		border-right: 6px solid transparent;
		border-bottom: 6px solid #ffffff;
		position: absolute;
		top: -6px;
		left: 40px;
	}

	.btm-nav .dropdown-menu li a {
		background-color: transparent;
		color: #555;
	}

	.btm-nav .dropdown-menu li a:hover,
	.btm-nav .dropdown-menu li a:focus {
		background-color: #fdf5be;
		color: #555;
	}

	.dropdown:hover .dropdown-menu {
		display: block;
	}
}

/* Tablet */

@media (min-width: 768px) and (max-width: 992px) {
	.site-header .logo {
		background: url("images/logo-md.png") no-repeat;
		height: 65px;
		margin-top: 10px;
		width: 175px;
	}

	.top-nav .navbar-form {
		padding-left: 0;
		padding-right: 0;
	}

	.btm-nav .dropdown-menu:before {
		content: '';
		display: inline-block;
		border-left: 7px solid transparent;
		border-right: 7px solid transparent;
		border-bottom: 7px solid #ccc;
		border-bottom-color: rgba(0, 0, 0, 0.2);
		position: absolute;
		top: -7px;
		left: 40px;
	}

	.btm-nav .dropdown-menu:after {
		content: '';
		display: inline-block;
		border-left: 6px solid transparent;
		border-right: 6px solid transparent;
		border-bottom: 6px solid #ffffff;
		position: absolute;
		top: -6px;
		left: 40px;
	}

	.dropdown:hover .dropdown-menu {
		display: block;
	}
}

/* Mobile */

@media (max-width: 767px) {
	.site-header .logo {
		background: url("images/logo-md.png") no-repeat;
		height: 60px;
		position: inherit;
		width: 175px;
	}

	.top-nav .navbar-form {
		border: none;
		margin-bottom: 0;
		margin-top: 0;
	}

	.top-nav .form-control {
		width: 100%;
	}

	.top-nav .navbar-form .btn {
		margin-top: 5px;
		width: 100%;
	}

	.top-nav .navbar-nav {
		float: none;
		margin-bottom: 0;
		margin-top: 0;
	}

	.top-nav .navbar-nav li {
		float: left;
		width: 33.3%;
	}

	.btm-nav .navbar-nav > li > a:hover,
	.btm-nav .navbar-nav > li > a:focus,
	.btm-nav .navbar-nav > .active > a:hover,
	.btm-nav .navbar-nav > .active > a:focus,
	.btm-nav .navbar-nav > .open > a,
	.btm-nav .navbar-nav > .open > a:hover,
	.btm-nav .navbar-nav > .open > a:focus {
		background-color: #00535c;
		color: #fce968;
	}

	.btm-nav .navbar-nav .open .dropdown-menu > li > a {
		background-color: transparent;
		color: #fff;
	}

	.btm-nav .navbar-nav .open .dropdown-menu > li > a:hover,
	.btm-nav .navbar-nav .open .dropdown-menu > li > a:focus {
		background-color: transparent;
		color: #fce968;
	}
}
