﻿/*
Theme Name: AVER
Version: 1.0
Description: Child theme for twentytwelve.
Author: Fire Road Creative
Author URI: http://www.fireroadcreative.com
Template: twentytwelve
*/ 

@import url("../twentytwelve/style.css"); 

/*Add Arial to font list*/
body .site {
margin-top: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.centerBlock {
text-align: center;
margin-bottom: .8rem!important;
}
.site-header h1 {
background: url(../../uploads/2013/08/AVERlogoSm.png) no-repeat left top;
height: 87px;
border-bottom: solid 2px #000;
text-indent: -900000px;
}
.site-header h1 a {
display: block;
}
.site-header h2 {
text-align: right;
font-size: 1.8rem;
line-height: 1.2;
font-family: "Times New Roman", Georgia, serif;
border-top: solid 3px #000;
width: 12rem;
float: right;
margin-top: -1rem;
}
button.menu-toggle {
float: left;
}
/*---------Contact Page Chapter titles------*/
.page-id-541 h4 {
	margin-bottom:0;
	font-weight: bold;
	text-transform: uppercase;
	color: #696969;
	}
.header-search {
clear: right;
padding-top: 1em;
}
#s {
width: 70%;
}
/*------------------main navigation-------------------*/
.main-navigation ul.nav-menu.toggled-on, ul.sub-menu {
width: 100%;
}
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a {
    color: #333;
    font-weight: bold;
}
.main-navigation ul.nav-menu.toggled-on li, .menu-toggle li {
border-bottom: dotted 1px #585858;
}
.main-navigation ul.nav-menu.toggled-on li a, .menu-toggle li a {
display: block;
padding-bottom: 1em;
text-transform: uppercase;
text-decoration: none;
}
.main-navigation ul.nav-menu.toggled-on ul.sub-menu li {
margin-top: 1em;
border: 0;
}
.main-navigation ul.nav-menu.toggled-on ul.sub-menu a {
text-transform: capitalize;
}
/*facebook link*/
.main-navigation li.facebook {
background: #fff!important;
float: right;
width: 30px;
height: 30px;
position: relative;
top: 0;
right: 0;
}
/*-----------------anchor navigation-------------------*/
.anchor-nav li {
display: inline-block;
margin-left: 0;
}
/*------------------subnav in sidebar------------------*/
#secondary {
border: 0;
}
/*sidebar widget menus*/
.widget-area .widget-area a, .widget-area .widget a:visited, #secondary a, .menu-veteran-resources .current-page-parent a, .menu-veteran-resources .current-page-parent a:visited {
color: #21759b;
}
/*Get Veteran Resources link to show in right sidebar*/
#menu-item-1070 a {
color: #21759b!important;
}
.widget-area .widget a:hover, .widget-area .widget a:focus, .widget-area .widget a:active, #secondary a:hover, #secondary a:focus, #secondary a:active, .menu-veteran-resources .current-page-parent a, .menu-veteran-resources .current-page-parent a:visited {
color: #6a6a6a;
text-decoration: none;
}
.fb_iframe_widget iframe {
right: 1em;
width: 95%!important;
height: 301px!important;
}

#menu-be-involved .widget-area .widget-area a, #menu-be-involved .current-page-ancestor a, #menu-be-involved .menu-item a, #menu-be-involved .menu-item-type-post_type a, #menu-be-involved .menu-item-object-page a, #menu-about .widget-area .widget-area a, #menu-about .current-page-ancestor a, #menu-about .menu-item a, #menu-about .menu-item-type-post_type a, #menu-about .menu-item-object-page a, #menu-veteran-resources .widget-area .widget-area a, #menu-veteran-resources .current-page-ancestor a, #menu-veteran-resources .menu-item a, #menu-veteran-resourcesd .menu-item-type-post_type a, #menu-veteran-resources .menu-item-object-page a {
font-weight: bold!important;
}
#nav_menu-5 li, #menu-sidebar li {
display: block;
margin-bottom: 2px;
}
.home #nav_menu-5 li, #menu-sidebar li {
margin-top: 0;
}
#nav_menu-5 li a, #nav_menu-5 a:visited, #menu-sidebar a, #menu-sidebar a:visited {
text-decoration: none;
display: block;
padding: 1rem 0 1rem .5em;
background: #e31e25;
color: #fff;
}
#nav_menu-5 li a:hover, #nav_menu-5 a:focus, #nav_menu-5 a:active, #menu-sidebar a:hover, #menu-sidebar a:focus, #menu-sidebar a:active {
background: #282828;
color:#fff;
}
span.post-date {
display: block;
}

a.joinButton, a:visited.joinButton {
/*padding: 10px 18px;
padding: 0.428571429rem 0.714285714rem;*/
font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
padding: .4em .5em;
text-align: center;
display: block;
width: 10rem;
margin: 0 auto;
/*font-size: 11px;*/
font-size: 1.4rem;
line-height: 1.428571429;
font-weight: normal;
color: #1b1b1b!important;
background-color: #e9bc33;
background-repeat: repeat-x;
background-image: -moz-linear-gradient(top, #fbdc7e, #e9bc33);
background-image: -ms-linear-gradient(top, #fbdc7e, #e9bc33);
background-image: -webkit-linear-gradient(top, #fbdc7e, #e9bc33);
background-image: -o-linear-gradient(top, #fbdc7e, #e9bc33);
background-image: linear-gradient(top, #fbdc7e, #e9bc33);
border: 1px solid #f9c71a;
border-radius: 12px;
-webkit-box-shadow: 1px 2px 2px rgba(64, 64, 64, .1);        
        box-shadow: 1px 2px 2px rgba(64, 64, 64, .1);
text-decoration: none;
hyphenation: none;
}
a:hover.joinButton, a:focus.joinButton, a:active.joinButton {
color: #1b1b1b;
background-color: #e9bc33;
background-image: -moz-linear-gradient(top, #e9bc33, #fbdc7e);
background-image: -ms-linear-gradient(top, #e9bc33, #fbdc7e);
background-image: -webkit-linear-gradient(top, #e9bc33, #fbdc7e);
background-image: -o-linear-gradient(top, #e9bc33, #fbdc7e);
background-image: linear-gradient(top, #e9bc33, #fbdc7e);
-webkit-box-shadow: -1px -2px 2px rgba(64, 64, 64, .1);        
        box-shadow: -1px -2px 2px rgba(64, 64, 64, .1);
}
a.sponsorButton, a:visited.sponsorButton {
font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
padding: .4em 1em;
text-align: center;
display: block;
width: 12.7rem;
margin: 0 auto;
/*font-size: 11px;*/
font-size: 1.4rem;
line-height: 1.428571429;
font-weight: normal;
color: #fff!important;
background-color: #274c8a;
background-repeat: repeat-x;
background-image: -moz-linear-gradient(top, #6d8dc1, #274c8a);
background-image: -ms-linear-gradient(top, #6d8dc1, #274c8a);
background-image: -webkit-linear-gradient(top, #6d8dc1, #274c8a);
background-image: -o-linear-gradient(top, #6d8dc1, #274c8a);
background-image: linear-gradient(top, #6d8dc1, #274c8a);
border: 1px solid #1a3c73;
border-radius: 12px;
-webkit-box-shadow: 1px 2px 2px rgba(64, 64, 64, .2);        
        box-shadow: 1px 2px 2px rgba(64, 64, 64, .2);
text-decoration: none;
hypenation: none;
}
a:hover.sponsorButton, a:focus.sponsorButton, a:active.sponsorButton {
background-color: #274c8a;
background-repeat: repeat-x;
background-image: -moz-linear-gradient(top, #274c8a, #6d8dc1);
background-image: -ms-linear-gradient(top, #274c8a, #6d8dc1);
background-image: -webkit-linear-gradient(top, #274c8a, #6d8dc1);
background-image: -o-linear-gradient(top, #274c8a, #6d8dc1);
background-image: linear-gradient(top, #274c8a, #6d8dc1);
-webkit-box-shadow: -1px -2px 2px rgba(64, 64, 64, .2);        
        box-shadow: -1px -2px 2px rgba(64, 64, 64, .2);
}
/*---------------main content area--------------*/
.entry-content {
word-wrap: break-word;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
}
.entry-content p.pagenav {
margin-bottom: 0;
}
/*------------forward observer page-----------*/
.page-id-501 .entry-content p {
margin-bottom: .5rem;
}
.entry-content a, .entry-content a:visited, .comment-content a, .comment-content a:visited, a, a:visited {
color: #21759b;
}
.entry-content a:hover, .comment-content a:hover, .entry-content a:focus, .comment-content a:focus, .entry-content a:active, .comment-content a:active, a:hover, a:focus, a:visited {
color: #6a6a6a;
text-decoration: none;
}
.home h1.entry-title {
display: none;
}
.entry-content h3 {
margin-bottom: .5em;
}
.entry-content h5 {
text-transform: uppercase;
}
.normal {
font-weight: normal;
font-size: smaller;
}

img.alignleft, .wp-caption.alignleft, img.alignright, .wp-caption.alignright {
float: none;
display: block;
width: auto;
margin: 0 auto;
}
.photo {
float: left;
width: 200px;
text-align: center;
margin-bottom: 1em;
}
.photo h3 {
line-height: 1.4em;
margin: .5em 0;
}
.photo p {
margin-bottom: 0;
}

/*caption*/
.wp-caption .wp-caption-text, .gallery-caption, .entry-caption {
line-height: 1.4;
}
/*hide double line between posts on all pages except blog*/
.site-content article {
    -moz-hyphens: auto;
    border-bottom: 0px double #EDEDED;
    margin-bottom: 5.14286rem;
    padding-bottom: 1.71429rem;
    word-wrap: break-word;
}
.blog .site-content article 
{
    -moz-hyphens: auto;
    border-bottom: 4px double #EDEDED;
    margin-bottom: 5.14286rem;
    padding-bottom: 1.71429rem;
    word-wrap: break-word;
}


/*---------------collapsible menu---------------*/
.wp-spoiler {
margin-bottom: 0!important;
}
.wpui-light .ui-collapsible-header, .wpui-light .ui-accordion h3.ui-accordion-header {
padding: .5em!important;
margin-top: 0!important;
}
.wpui-hidden .ui-collapsible-wrapper h3 {
margin-bottom: 0!important;
}

/*-----------------front-page template only---------------*/
body.template-front-page .site-content, body.single-attachment .site-content, body.full-width .site-content {
    /*float: left;
    width: 65.1042%;*/
width: 100%;
}
.template-front-page .widget-area {
    border-top: 1px solid #EDEDED;
    clear: none;
   /* float: right;*/
    padding-top: 1.71429rem;
   /* width: 26.0417%;*/
width: 100%;
}
.template-front-page .widget-area-home {
    border-top: 1px solid #EDEDED;
    clear: none;
    /*float: left;*/
    padding-top: 1.71429rem;   
    /*width: 65.1042%;*/
width: 100%;
}
.template-front-page .widget-area-home .widget li, .template-front-page .widget-area .widget li {
	margin: 8px 0 0;
	margin: 0.571428571rem 0 0;
	font-size: 13px;
	font-size: 0.928571429rem;
	/*line-height: 1.714285714;*/
	line-height: 1.84615;
	list-style-type: none;	
}

.template-front-page .widget-area-home .widget li a:hover {
	color: #21759b;
}
.template-front-page .widget-area-home .widget_text img {
	float: left;
	margin: 8px 24px 8px 0;
	margin: 0.571428571rem 1.714285714rem 0.571428571rem 0;
}
.widget-area-home .widget ul ul {
	margin-left: 12px;
	margin-left: 0.857142857rem;
}
.home blockquote, .home article {
margin-bottom: 0!important;
padding-bottom: 0!important;
}

/*--------------home slider------------*/
.royalSlider > .rsContent {
visibility: hidden; 
}
.text1 h3, .text2 h3, .text3 h3 {
color: #000;
font-family: "Times New Roman";
font-size: 1.2em;
font-weight: normal;
background-color: rgba(255, 255, 255, .60);
padding: 0px 15px 0px 5px;
}
/*change slider background to white*/
.rsUni, .rsUni .rsOverflow, .rsUni .rsSlide, .rsUni .rsVideoFrameHolder, .rsUni .rsThumbs {
background: #fff!important;
}

/*blog excerpts on home page*/
ul.recent_posts_with_excerpts li{
	 -moz-hyphens: auto;
    border-bottom: 4px double #EDEDED;
    margin-bottom: 5.14286rem;
    padding-bottom: 1.71429rem;
    word-wrap: break-word;
}
h2.recent_posts_with_excerpts {
    font-size: 1.42857rem;
    font-weight: normal;
    line-height: 1.2;
}
.template-front-page .widget-area-home .widget li a {
    color: #21759B;
}
.template-front-page .widget-area-home .widget li a:hover {
    color: #2e3542;
}
h2.recent_posts_with_excerpts a {
	text-decoration: none;	
}

/*-----------cpcontact form---------------*/
.pbSubmit {
margin-top: 0!important;
margin-bottom: 2rem!important;
}
.left_aligned .fields label {
float: none!important;
width: 100%!important;
}
.left_aligned .fields .dfield {
float: none!important;
width: 100%!important;
}
select {
padding: .25rem .2rem!important;
}

.large {
padding-left: .5rem!important;
}

/*------------sponsorship dl-----------*/
dl.sponsorship {
margin-left: 0;
}
.sponsorship dt {
display: block;
float: left;
width: 46px;
}
.sponsorship dd {
margin-left: 46px;
margin-bottom: .8em;
}

@media screen and (min-width: 405px) {
.site-header h2 {
width: 8.5rem;
}
}

/*-----------------tablet---------------*/
@media screen and (min-width: 600px) {
.site-header {
padding-bottom: 0;
}
.site-header h1 {
background: url(../../uploads/2013/08/AVERlogo.png), url(../../uploads/2013/08/AmericanVeteransForEqualRights.png); 
background-position: left top, right 54px;
background-repeat: no-repeat;
height: 76px;
text-indent: -900000px;
/*text-align: right;
text-transform: uppercase;*/
font-size: 1rem;
line-height: 136px;
}
.site-header h2 {
text-align: right;
font-size: 2.2rem;
font-family: "Times New Roman", Georgia, serif;
line-height: 2.8rem;
width: auto;
float: right;
margin-top: .01rem;
}
hgroup {
position: relative;
}
.header-search {
position: absolute;
top: 0px;
/*right: 1.71429rem;*/
right: 0;
padding-top: 0;
}
#s {
width: auto;
}
.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul {
border: 0;
margin-top: 1rem;
}
.main-navigation li {
width: 6.3rem;
margin-right: 0;
margin-bottom: 3px;
background: #000;
}
.main-navigation li a, .main-navigation li a:visited {
display: inline-block;
padding: 3em 2em .5em .4em;
white-space: normal;
line-height: 1em;
color: #f3f3f3;
}
/*facebook link*/
.main-navigation li.facebook {
background: #fff!important;
float: right;
width: 30px;
height: 30px;
position: relative;
top: -4rem;
right: 0;
}
.main-navigation li.facebook a, .main-navigation li.facebook a:visited {
display: block!important;
width: 30px;
height: 30px;
padding: 0;
float: right;
background: #fff url(http://www.aver.us/newsite/wp-content/uploads/2013/09/facebook.png) no-repeat top right;
text-indent: -999999em;
}
li.twoLines a {
padding-top: 2em;
}
.main-navigation li:hover, .main-navigation li:focus, .main-navigation li:active {
background: #585858;
}
.main-navigation a:hover, .main-navigation a:focus, .main-navigation a:active {
color: #f8f8f8!important;
}
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a {
/*color: #fff;*/
}

.current-page-ancestor a, .current-menu-ancestor a, .current-menu-parent a, .current-page-parent a .current_page_parent a, .current_page_ancestor a {
color: #fff!important;
}

.main-navigation li ul li {
width: auto;
margin-bottom: 1px;
}
.main-navigation li ul li a, .main-navigation li ul li a:visited {
width: 9rem;
color: #000!important;
line-height: 1.5;
padding-bottom: 0;
text-transform: capitalize;
}
.main-navigation li ul li a:hover, .main-navigation li ul li a:focus, .main-navigation li ul li a:active {
color: #000!important;
}


/*set image placement in entry content*/
img.alignleft, .wp-caption.alignleft {
float: left;
margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
}
img.alignright, .wp-caption.alignright {
float: right;
margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
}

/*collapsible content*/
.colOne {
float: left;
width: 45%;
}
.colTwo {
width: 45%;
float: right;
}
.floatleft {
float: left;
margin: 0 1rem;
}
.center {
text-align: center;
margin: 0 auto;
}
/*subnav in sidebar*/
.home #secondary.widget-area {
/*margin-top: -110px;*/
margin-top: -427px;
}

/*------------------Front Page template-------------------*/
/*body.template-front-page .site-content {
margin-top: 0;
}
.templatae-front-page.entry-header {
margin-bottom: 0!important;
}*/
.home #main {
position: relative;
}
body.template-front-page .site-content, body.single-attachment .site-content, body.full-width .site-content {
    float: left;
    /*width: 65.1042%;*/
width: 66.1042%;
}
.template-front-page .widget-area {
    border-top: 1px solid #EDEDED;
    clear: none;
    float: right;
    padding-top: 1.71429rem;
    width: 26.0417%;
}
.template-front-page .widget-area-home {
    border-top: 1px solid #EDEDED;
    clear: none;
    float: left;
    padding-top: 1.71429rem;   
    width: 65.1042%;
}
/*Front page only right sidebar styles*/
.template-front-page .widget-area .widget{   
    margin-bottom: 3.42857rem;   
}
.template-front-page .widget-area .widget:nth-child(2n), .template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {    
    margin-bottom: 3.42857rem;  
}
/*end front page only right sidebar styles*/

/*------------------cp contact form--------------*/
/*div#field_1-2.fields.ui-selected {
margin-bottom: 1rem!important;
}*/
div#field_1-3.fields.radiocolOne {
margin-top: 1rem;
}
.entry-content form label h4 {
margin-top: 0!important;
}
.entry-content form label h4.avcom {
margin-top: 3rem!important;
}
.left_aligned .fields label {
float: left!important;
width: 31%!important;
}
.left_aligned .fields .dfield {
float: left!important;
width: 65%!important;
}

a.sponsorButton, a:visited.sponsorButton {
width: 70%;
line-height: 1.2em;
letter-spacing: -.01em;
font-size: 1.3em;
}
.entry-content a.sponsorButton, .entry-content a:visited.sponsorButton {
width: 12.7rem;
}
.entry-content a.joinButton, .entry-content a:visited.joinButton {
width: 10rem;
}
/*subnav in sidebar*/
.home #secondary.widget-area {
padding-top: 0;
position: absolute;
top: 470px;
right: 0;
}
}

@media screen and (min-width: 613px) {
/*facebook link*/
.main-navigation li.facebook {
position: relative;
top: 0;
right: 0;
}
}

@media screen and (min-width: 820px) {
/*--------------home slider------------*/
.text1 h3, .text2 h3, .text3 h3 {
font-size: 2em;
font-weight: normal;
background-color: rgba(255, 255, 255, .60);
padding: 0px 50px 0px 10px;
margin: 0;
}
.text1.rsABlock, .text2.rsABlock, .text3.rsABlock {
width: 250px!important;
height: 60px!important;
left: auto;
top: auto;
right: 0px;
bottom: 40px!important;
display: block;
opacity: 1;
-webkit-transition: opacity 1000ms cubic-bezier(0.39, 0.575, 0.565, 1);
transition: opacity 1000ms cubic-bezier(0.39, 0.575, 0.565, 1);
}
}

@media screen and (min-width: 792px) {
.site-header h1 {
background: url(../../uploads/2013/08/AVERlogo.png), url(../../uploads/2013/08/AmericanVeteransForEqualRightsLg.png); 
background-position: left top, right 46px;
background-repeat: no-repeat;
}

}