/******************************************************************
Theme Name: JointsWP (CSS)
Theme URI: http://www.jointswp.com
Description: 
Author: Your Name Here
Author URI: http://www.yoururlhere.com
Version: 2.0 (CSS)
Foundation Version: 5.5
Tags: 

------------------------------------------------------------------

This theme uses Sass.
You will find the .scss files in the /library/scss directory.
Those files compile to the styles.css found in the library/css directory.

Reccomended tools for working with Sass:

CodeKit: (Best)
http://incident57.com/codekit/

Compass App: (Windows / Mac Users)
http://compass.handlino.com/

---------------------------------------------------------------

2.0 Changelog
- header.php
-- Removed Google Chrome for IE (it is no longer supported by Google)
-- Removed mobile meta tags for Palm devices
-- Added favicons for iOS devices (retina and non-retina)
-- Added Top and Main menus

- 404.php
-- Removed un-needed PHP from content

- functions.pho
-- Registered and created "top" nav

******************************************************************/

/* BODY
------------------------------*/
a {
	text-decoration: none;
	-webkit-transition: color 0.35s;
	-moz-transition: color 0.35s;
	transition: color 0.35s;
	-webkit-transition: background 0.35s;
	-moz-transition: background 0.35s;
	transition: background 0.35s;
}
a:hover {
	background-color: #dededc;
}
/* overrides for above action */
.top-nav-logo  a:hover {
	background-color: transparent !important;
}

.font-awesome-icon {
	background-color: transparent !important;
}
body {
}
img.bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;
	
  /* Set up proportionate scaling */
  width: 100%;
  height: auto;
	
  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
  img.bg {
    left: 50%;
    margin-left: -512px;   /* 50% */
  }
}
/* iframe to align center - may need to assign class for youtube videos somewhere in code because this current iframe will assign center for ALL iframes */
iframe {
	display: block;
	margin: auto;
}

.row {
	/*max-width: initial !important;*/
}
/* for setting image vertically central */
.set-image-vert {
	text-align: center;
}

.set-image-vert img {
	vertical-align: middle;
}
/* FULL WIDTH
------------------------------*/
.fullWidth {
   width: 100%;
   margin-left: auto;
   margin-right: auto;
   max-width: initial;
}

/* Header
------------------------------*/
.header-banner #searchform #s {
	width: 250px;
    display: inline-block;
    margin-left: 0;
    margin-bottom: 5px !important;
}

.header-banner #searchform #searchsubmit {
padding: 8px 10px 11px 10px;
    margin-top: 0;
    margin-left: -5px;
    margin-bottom: 5px !important;
}


.header { margin-bottom: 0 !important;}
.header-banner {
    background: url(images/NAD-header3.png) center center/cover no-repeat  padding-box border-box #ccc;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.home-banner {
	/*background: url(images/nad-banner.png) center center/cover no-repeat  padding-box border-box #ccc;*/
	height: 150px;
}

/* Navigation Menu
------------------------------*/
.top-bar {
	background-color: #0099DA;
}

.top-bar-section li:not(.has-form) a:not(.button) {
	background-color: #0099DA;
}

.top-nav-logo {
	padding-top: 1.25rem;
	margin-bottom: 0;
}
.top-nav-menu {
	margin-top: 3rem;
	font-weight: 500;
	margin-bottom: 0;
}

.bottom-nav-menu {
	margin-bottom: 15px;
	color: #fff;
	font-weight: 500;
	margin-top: 0;
}

.top-nav-menu a {
	font-size: 10px;
}
.bottom-nav-menu a  {
	color: #fff;
	font-size: 14px;
}

.top-nav-menu a:hover, .bottom-nav-menu a:hover {
    color: #0099DA;
}

.vertical-bar{
    color: #0099DA;
}

.top-nav-menu img, .bottom-nav-menu img {
	margin-left: 5px;
}

.top-nav-menu a:nth-child(8), .bottom-nav-menu a:nth-child(8) {
	margin-left: 15px;
}

.top-nav-menu .font-awesome-icon {
	font-size: 10px;
	margin: 0 5px;
}

.bottom-nav-menu .font-awesome-icon {
	color: #fff;
}

.top-nav-menu a.font-awesome-icon:hover, .bottom-nav-menu a.font-awesome-icon:hover {
	color: #0099DA;
}
.top-nav-menu .img-facebook, .bottom-nav-menu .img-facebook {
	width: 25px;
	height: 25px;
	margin-left: 30px;
}

.top-nav-menu .img-twitter, .bottom-nav-menu .img-twitter {
	width: 25px;
}

.top-nav-menu .img-youtube, .bottom-nav-menu .img-youtube {
	width: 50px;
}

.top-nav-menu .img-instagram, .bottom-nav-menu .img-instagram {
	width: 25px;
}

#menu-item-12 .ubermenu-image {
    width: 16px;
    height: 16px;
}

#menu-item-10 .ubermenu-image {
    width: 16px;
    height: 16px;
}

#menu-item-8 .ubermenu-item-level-1:hover, #menu-item-9 .ubermenu-item-level-1:hover, #menu-item-10 .ubermenu-item-level-1:hover, #menu-item-12 .ubermenu-item-level-1:hover {
    background-color: #0099da;
}

.ubermenu-item-level-2:hover {background-color: #0099da;}

#menu-item-12 {float: none;}
/* main home page banner
------------------------------*/

#banner-main {
	min-height: 333px;
	background: url(images/art-background-latest.png) center center/cover no-repeat padding-box border-box #fff;
	/*background-position: 50% 50%;*/
}
.banner-move {
	padding-right: 0 !important;
}
.banner-quote {
	background-color: #fff;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: .5rem;
	margin-top: 255px;
}

/* Home Page styles
------------------------------*/

.home-main {
	background-color: #fff;
}
.home-main #main {
	border-left: 1px solid #404041;
}

.home-items {
	border-bottom: 1px solid rgba(0,140,186,0.1);
}

.home-main #main article.home-items:nth-child(10) {
	border-bottom: none;
}
.home-items section h2{
	font-size: 1.4em;
	margin-top: 0;
}

.home-items > .article-header {
	
}

.home-items .article-footer {
	font-size: 1em;
	margin: -5px 0 0 0;
	padding: 0;
}

#instafeed-row {
	padding: 10px 0;
	background: url(images/instagram-feed-background.png) center center/cover no-repeat padding-box border-box #fff;
}

#instafeed-row .feedtext {
	padding: 40px 0 0 40px;
	font-weight: bold;
	font-size: 1.2em;
}
.instapic {
	border: 1px solid;
	display: inline-block;
	margin: 0 10px;
	width: 100px;
	height: 100px;
}

.banner-ad {
	margin-bottom: 10px;
}


/* for general images */
.nad-image {
	padding: 5px;
}

/* Sidebar
------------------------------*/
.sidebar {
	border-radius: 3px;
    border-left: 1px solid #e9e9e9;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
}

.notactive > .dropdown  { 
    display: none; 
}

.active > a {
    /*color: #9D9FA1;*/
    color: #000;
    font-weight: 500;
}
.active > a:before {
	content: "\27A4";
	/*content: "\25BA";*/
    color: #000;
    font-size: 10px;
    padding-right: 5px;
}
.has-dropdown > .dropdown li:before {
    /*content: "> ";
    color: #000;*/
}

.widget ul li ul {
	padding-left: .8em;
}
.widgettitle {
	
	text-transform: uppercase;
    font-size: 1.2em;
    border-bottom: 2px solid #008CBA;
    color: #58585B;
}
.hidetitle {
	display: none;
}

/* Main Content Area
------------------------------*/
#inner-content {
	background-color: #fff;
}

.highlights {
	background-color: #ccc;
	border: 1px solid #404041;
	padding: 2px;
    margin-bottom: 5px;
}

/* accordions */
/* Accordion Styles */
.accordion {
    margin-bottom: 20px;
}
.accordion-title {
    border: 1px solid #dbdbdb;
    margin: 0 0 1rem 0;
	padding: 10px;
	font-weight: bold;
    cursor: pointer;
	font-size: 1rem;
}
.accordion-title:after {
	content: "\f061";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	color: #000;
	font-size: 18px;
	margin-left: 10px;
}
.accordion-title:hover {}
.accordion-title:first-child {border: none;}
.accordion-title.open {cursor: default;}
.accordion-content {
	padding: 10px;
	box-shadow: 0px 0px 1px rgba(0,0,0,.2);
}

.accordion-content p {
	padding-left: 20px;
}

@media print {
    .accordion-content {
        display: block !important;
    }
}

/* Handwaves Page
------------------------------*/

.type-handwaves figure {
    margin: 0;
}
.type-handwaves figure img {
    width: 144px;
    height: 170px;
    border: 1px solid;
	border-top-color: rgb(229, 230, 233);
	border-right-color: rgb(223, 224, 228);
	border-bottom-color: rgb(208, 209, 213);
	border-left-color: rgb(223, 224, 228);
	border-top-left-radius: 1px;
	border-top-right-radius: 1px;
	border-bottom-right-radius: 1px;
	border-bottom-left-radius: 1px;	
	padding: .5em;
}

.type-handwaves figcaption {
    background-color: #000;
    color: #fff;
    font-size: .8em;
    padding: 2px;
    text-align: center;
}

.type-handwaves {
    margin-top: 30px;
}
/* Handwave post
------------------------------*/ 

@media screen and (min-width: 48em) {
	/* header */
	.top-nav-menu {
		margin-top: 15px;
	}
	.top-nav-menu .font-awesome-icon, .top-nav-menu a {
		color: #fff;
		font-size: 15px;
	}

	.header-banner #searchform #s {
		margin-left: 100px;
		margin-bottom: 10px;
		width: 250px;
		display: inline-block;
	}

	.header-banner #searchform #searchsubmit {
		margin-bottom: 10px;
		padding: 8px 10px 11px 10px;
		margin-top: 0;
		margin-left: -5px;	
	}
	/* handwave */
  .handwave-article:before {
    content: '';
    float: right;
    display: block;
    width: 300px;
    height: 150px;
    margin: 0 0 15px 15px;
  }
  .handwave_img {

    position: absolute;
    top: 40px;
    right: 40px;
    width: 200px;
  }

  .handwave_img img {
  	-webkit-box-shadow: 2px 2px 2px 2px rgba(64,64,65,.2);
	-moz-box-shadow: 2px 2px 2px 2px rgba(64,64,65,.2);
	box-shadow: 2px 2px 2px 2px rgba(64,64,65,.2);
  }
}

/* Board and Staff Pages 
------------------------------*/
.board-box{
	border-bottom: 1px solid;
	border-bottom-color: rgb(208, 209, 213);
	border-bottom-right-radius: 1px;
	border-bottom-left-radius: 1px;	
	padding: .5em;
	margin-bottom: .5em;
}

/* For board images */
.board-box .board-image, .staff-section .board-image {
	/*-webkit-box-shadow: 1px 2px 1px #d1d1d1;
	-moz-box-shadow: 1px 2px 1px #d1d1d1;
	box-shadow: 1px 2px 1px #d1d1d1;
	*/
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	padding: 5px;
	border: 1px solid #ccc;
}

.board-box .photo {margin-top: -20px;}
.board-box .name, .board-box .title, .board-box .term , .staff-section .name, .staff-section .title {
	font-weight: bold;
	margin: 0;
}

.board-box .name, .staff-section .name {
	font-size: 1.4em;
}

.board-box .title, .staff-section .title {
	font-size: 1.2em;
}

.board-box p.body, .staff-section p.body {
	margin-top: .5em;
}

.staff-section article {
	overflow: hidden;
	margin: 0 0 .5em 0;
	border-bottom: 1px solid;
	border-bottom-color: rgb(208, 209, 213);
	border-bottom-right-radius: 1px;
	border-bottom-left-radius: 1px;	
	padding-bottom: .5em;
}
.staff-section .board-image {
	margin: 1px 0 0 1px;
}
.staff-section .name {
	clear: right;
	line-height: 1.2;
}
.staff-section .staff-info {
	padding: 10px 2px 0 0;
}
.staff-section .video-link {

}
.staff-section h1 {
	font-size: 1.6em;
}
.staff-section img { margin-top: -50px;}
.entry-content .alignright {
}
/* temporary */
.staff-section .empty-box {
	margin: 20% 0 0 0;
  	clear: right;
  	overflow: hidden;
}

/* Youth Pages 
------------------------------*/
.youth-block {
	background-color: #58585a;
	color: #fff;
	padding: 1em;
	margin-bottom: 10px;
}

.youth-block h1 {
	font-size: 1.6em;
	color: #fff;
}

.youth-section .row {
    margin-top: 50px;
}
.youth-section .small-2, .youth-section .large-4  {
    text-align: center;
}
.youth-section .ylc-image {
    margin-top: 30px;
}

.youth-section .jrnad-image {
    margin-top: 75px;
}

.youth-section .cobo-image {
    margin-top: 30px;
}

.youth-section .yap-image{
    margin-top: 90px;
}

/* State Association Page
------------------------------*/
.state-regions {
    margin: 0 auto;
}

.state-regions > div {
    padding: 0 !important;
    width: 100% !important;
}

.state-regions .state-region-text {
    padding: 0 20px;
}

.state-regions .state-region-image {
    text-align: center;
    width: 95% !important;
}
.wp-image-552 {}

.state-region-table {
    background-color: #58585B;
    margin: 0 auto;
}

.state-region-table table {
    text-align: center;
    margin: 0 auto;
    background-color: #58585B;
}

.state-region-table table thead {
    background-color: #0078A5;
    color: #fff;
}

.state-region-table table tbody tr {background: #58585B; color: #fff; border-bottom: 1px solid #0078A5;}
.state-region-table table tbody tr td {color: #fff;}
.state-region-table table tbody tr td a {color: #fff;}

.state-region-table table tbody tr:hover, .state-region-table table tbody tr a:hover {background: #73C0E1;color: #000;}
.state-region-table table tbody tr:hover td {
    background-color: transparent; color: #000;
}
.state-region-table table tbody tr:hover td a {background-color: transparent; color: #0078A5;}

/* Organizational Affiliates Page
------------------------------*/
.org-aff {
    background-color: #58585B;
    margin: 0 auto;
    color: #fff;
    padding-top: 20px;
    width: 100% !important;
    margin-bottom: 20px !important;
}

.org-aff a {
	color: #fff;
	text-decoration: underline;
	padding: 2px;
}
.org-aff a:hover {
	background-color: #0078A5;
}

.org-aff table {
    text-align: center;
    margin: 0 auto;
    background-color: #58585B;
    margin-bottom: 1rem;
}

.org-aff table thead th {
    background-color: #0078A5;
    color: #fff;
}

.org-aff table tbody tr {background: #58585B; color: #fff; border-bottom: 1px solid #0078A5;}
.org-aff table tbody tr td {color: #fff;}
.org-aff table tbody tr td a {color: #fff; padding: 2px;}
.org-aff table tbody tr td a:hover {color:#fff;}

.org-aff table tbody tr:hover, .state-region-table table tbody tr a:hover {background: #73C0E1;color: #000;}
.org-aff table tbody tr:hover td {
    background-color: transparent; color: #000;
}

.state-region-table {
	width: 100% !important;
	margin-bottom: 20px !important;
}

/* News Single Page
------------------------------*/
.article-footer {
	margin: -10px 0 10px 0;
} 

.article-footer #navigation a {
	text-transform: uppercase;
}

/* Components from Foundation that is not showing up in foundation.css main page for some reason */
.card {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 1rem;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  background: #fefefe;
  -webkit-box-shadow: none;
          box-shadow: none;
  overflow: hidden;
  color: #0a0a0a; }
  .card > :last-child {
    margin-bottom: 0; }

.card-divider {
  -webkit-box-flex: 0;
  -webkit-flex: 0 1 auto;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  padding: 1rem;
  background: #e6e6e6; }
  .card-divider > :last-child {
    margin-bottom: 0; }

.card-section {
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 auto;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  padding: 1rem; }
  .card-section > :last-child {
    margin-bottom: 0; }
    
/* Footer
------------------------------*/

.footer {
	margin-top: 0;
}

#inner-footer {
    padding: .5rem 0;
	background-color: #404041;
	color: #fff;
}
#inner-footer .footer-links h2 {
	color: #fff;
	font-size: 12px;
	text-align: left;
}

#inner-footer .footer-links ul {
	list-style-type: none;
	margin-left: 0 !important;
}

#inner-footer .footer-links ul li {
	font-size: 10px;
}

#inner-footer .footer-links ul li a {
	font-size: 1.2em;
}
#inner-footer .footer-links > div {
	padding: 0 5px !important;
}
.copyright {
	font-size: 10px;
}