/*
    Theme Name: CAS Theme 
    Theme URI: http://www.petergrandstaff.com/
    Description: Custom WordPress theme for CAS, Inc. - Relies on Genesis
    Author: Peter Grandstaff
    Author URI: http://www.petergrandstaff.com/
    Version: 0.1
     
    Tags: custom-background, custom-header, featured-images, threaded-comments, two-columns, slider, business
     
    Template: genesis
    Template Version: 1.9.1
 
    License: GNU General Public License v2.0
    License URI: http://www.opensource.org/licenses/gpl-license.php

    Copyright 2013 Community Association Services, Inc.
*/

/*
 * Base styles
 */
body {
    font-family: 'minion-pro', 'minion pro', georgia, serif;
    -moz-font-feature-settings: "liga=1, dlig=0";
    -ms-font-feature-settings: "liga", "dlig" 0;
    -webkit-font-feature-settings: "liga", "dlig" 0;
    -o-font-feature-settings: "liga", "dlig" 0;
    font-feature-settings: "liga", "dlig" 0;
    background-color: #D9B185;
    color: #020202;
    font-size: 18px;
}

a, a:visited {
    color: #880026;
}
a:hover, a:active {
    color: #ba0035;
}

/*
 * Site blocks
 */

.site-container {
    background-color: #d9b185;
}

header.site-header,
#cas-home-slider {
    width: 100%;
}

header.site-header {
    background-color: #fff;
    height: 144px;
}

.home header.site-header {
    height: 360px;
}

header.site-header .wrap {
    width: 1004px;
    margin: 0 auto;
    position: relative;
}

#cas-home-slider {
    /*background-color: #ebddce;*/
    background-color: #e3d9cc;
    margin: 0 auto;
    padding: 24px 0;
}

#cas-home-slider .royalSlider {
    margin: 0 auto;
    width: 956px;
    height: 288px;
}

.site-inner,
.site-footer {
    background-color: #fff;
    width: 956px;
    padding: 0 24px;
    margin: 0 auto;
}

.cas-extra-wide .site-inner,
.cas-extra-wide .site-footer {
    width: 1024px;
}

/*
 * Nav Menus
 */
nav a {
    text-decoration: none;
}

#proposal-button { /* RFP button at top */
	display: block !important;
	position: absolute;
	top: 0;
	right: 230px;
	padding: 14px;
	text-decoration: none;
	color: white;
	background-color: #880026;
	font-weight: bold;
	z-index: 1000; /* keep it from being under the graphic on home page */
}

#navwrap { /* home top nav */
    /*background-color: #ebddce;*/
    background-color: #e3d9cc;
    width: 188px;
    padding: 24px 14px;
    position: absolute;
    top: 0px;
    right: 0px;
    text-align: center;
    font-size: 28px;
}

.nav-home, .nav-secondary {
    font-size: 17px;
}
.nav-home ul,
.nav-secondary ul {
    list-style-type: none;
}

.nav-home li,
.nav-secondary li {
    display: inline;
    white-space: nowrap;
}

nav.nav-primary { /* main menu, not on home */
    /*background-color: #ebddce;*/
    background-color: #e3d9cc;
    height: 48px;
    font-size: 18px;
    line-height:24px;
}

.nav-primary ul {
    width:980px;
    margin: 0 auto;
    list-style-type: none;
}

/* from Genesis: */
.menu-primary {
	clear: both;
	color: #880026;
	margin: 0;
	padding: 0;
}

.menu-primary .menu-item {
	display: inline-block;
    float: left;
	margin: 0 12px 0 0;
	padding: 0;
	text-align: left;
}

.menu-primary a {
	border: none;
	color: #880026;
    padding: 12px 12px;
	display: block;
	position: relative;
}

.menu-primary a:hover,
.menu-primary .current-menu-item > a,
.menu-primary .sub-menu .current-menu-item > a:hover {
	color: #52081d;
}

.menu-primary .sub-menu .current-menu-item > a {
	color: #880026;
}

.menu-primary > .menu-item > a {
}

.menu-primary .sub-menu {
	left: -9999px;
	margin: 0;
	opacity: 0;
	padding: 0;
	position: absolute;
	-webkit-transition: opacity .4s ease-in-out;
	-moz-transition:    opacity .4s ease-in-out;
	-ms-transition:     opacity .4s ease-in-out;
	-o-transition:      opacity .4s ease-in-out;
	transition:         opacity .4s ease-in-out;
	width: 200px;
	z-index: 99;
}

.menu-primary .sub-menu a {
    /*background-color: #ebddce;*/
    background-color: #e3d9cc;
	border: 1px solid #eee;
	border-top: none;
	letter-spacing: 0;
	padding: 12px 12px;
	position: relative;
	width: 200px;
}

.menu-primary .sub-menu .sub-menu {
	margin: -54px 0 0 199px;
}

.menu-primary .menu-item:hover {
	position: static;
}

.menu-primary .menu-item:hover > .sub-menu {
	left: auto;
	opacity: 1;
}

.menu-primary > .first > a {
	padding-left: 0;
}

.menu-primary > .last > a {
	padding-right: 0;
}

.menu-primary > .right {
	display: inline-block;
	float: right;
	list-style-type: none;
}

.menu-primary > .right > a {
	display: inline;
	padding: 0;
}

.menu-primary > .rss > a {
	margin-left: 48px;
	margin-left: 4.8rem;
}

.menu-primary > .search {
	padding: 14px 0 0;
	padding: 1.4rem 0 0;
}

.menu-primary .search-form {
	width: 100%;
}


/*
 * Titles
 */
h1 {
    font-size: 24px;
}
h2 {
    font-size: 22px;
}
h3 {
    font-size: 20px;
}
h4 {
    font-size: 18px;
}
h5 {
    font-size: 16px;
}
h6 {
    font-size: 16px;
    font-weight: normal;
}

#home-title-logo {
    position: relative;
    top: 21px;
    left: -49px;
    z-index: 35;
}

#home-title-tagline {
    position: absolute;
    top: 270px;
    left: 748px;
}

#site-title-logo {
    position: relative;
    top: 24px;
    left: 24px;
    margin-bottom: 20px;
}

.rsSlide h2 {
    font-weight: normal;
    font-size: 24px;
    margin-bottom: 24px;
}

header.entry-header {
    padding-top: 24px;
    padding-bottom: 20px;
}

.blog .entry-header,
.archive .entry-header {
    padding-bottom: 12px;
}

/*
 * Body structure
 */
.content-sidebar main {
    width: 662px; /* 684 - 24 gutter = 662 */
    float: left;
    overflow: hidden;
}
.content-sidebar aside {
    width: 270px;
    float: right;
}

/*
 * Body content
 */
article p {
    margin-bottom: 1em;
    line-height: 24px;
}
article ul,
article ol {
    margin-bottom: 1em;
}
.site-inner ul, .site-inner ol {
    padding-left: 48px;
}

.site-inner ul, .site-inner ol {
    padding-left: 48px;
}

/*
 * Images
 */

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 24px;
	margin: 0 auto 2.4rem;
}

img.alignnone {
	margin-bottom: 12px;
	margin-bottom: 1.2rem;
}

.alignleft {
	float: left;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

img.alignleft,
.wp-caption.alignleft {
	margin: 0 24px 24px 0;
	margin: 0 2.4rem 2.4rem 0;
}

img.alignright,
.wp-caption.alignright {
	margin: 0 0 24px 24px;
	margin: 0 0 2.4rem 2.4rem;
}

.wp-caption-text {
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: 700;
	text-align: center;
}
/* Column Classes
	Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css
--------------------------------------------- */

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin-left: 2.564102564102564%;
}

.one-half,
.three-sixths,
.two-fourths {
	width: 48.717948717948715%;
}

.one-third,
.two-sixths {
	width: 31.623931623931625%;
}

.four-sixths,
.two-thirds {
	width: 65.81196581196582%;
}

.one-fourth {
	width: 23.076923076923077%;
}

.three-fourths {
	width: 74.35897435897436%;
}

.one-sixth {
	width: 14.52991452991453%;
}

.five-sixths {
	width: 82.90598290598291%;
}

.first {
	clear: both;
	margin-left: 0;
}

/*
 * Blog / News
 */
.entry-title a {
    text-decoration: none;
}

.entry-meta {
    font-size: .875em;
    margin-bottom: 0;
}

.entry-footer {
    clear: both;
    background-color: #f7eee4;
    color: #121212;
    padding: .125em .25em;
}

/*
 * Widgets
 */
.sidebar-primary {
    width: 294px;
    float: right;
    padding-top: 28px;
}
.home .content-sidebar-wrap { float: right; width: 368px; }

.home main.content {
    /* TODO should move content into this block */
    display: none;
}

.home .sidebar-primary {
    width: 368px;
}
#cas-home-widgets {
    width: 588px;
    padding-top: 28px;
    float: left;
}
#cas-home-widgets .widget {
    /* three col */
    width: 294px;
    float: left;
}
#cas-home-widgets .widget-wrap {
    padding-right: 24px;
}
.widget-title {
    margin-bottom: .5em;
}
.sidebar-primary .widget {
    margin-bottom: 1em;
}
.sidebar-primary .widget-title {
    margin-bottom: .5em;
}
.sidebar .entry-title {
    font-size: 100%;
}
.sidebar .entry-header {
    padding-bottom: 0;
    padding-top: 0;
}
.sidebar-primary .search-form input[type=search] {
    width: 260px;
    margin-bottom: 12px;
}

/*
 * Buttons
 */
button, a.button, input.button, input[type=button], input[type=reset], input[type=submit] {
    line-height: 24px;
    padding: 12px 24px;
    color: #fff;
    background-color: #880026;
    border: none;
    outline: none;
    text-decoration: none;
}

/*
 * Home Association Portal
 */
#cas-assoc-portal {
    width: 392px;
    float: left;
    margin-top: 12px;
}

#cas-assoc-portal .title {
    margin-bottom: 24px;
}

#cas-assoc-portal form {
    margin-top: 1em;
}

#cas-home-badges {
    width: 564px;
    float: right;
    text-align: center;
}
#cas-assoc-portal .button {
    display: inline;
}
/*
 * Locations Page
 */
.cas-office-list .office {
    background-color: #E6DCCD;
    padding: 1em;
    margin-bottom: 2em;
    width: 43%;
}
.cas-office-list .on-site {
    width: 33%;
    float: left;
    margin-right: 10%;
}
.cas-office-list .on-site.rowstart {
    clear:both;
}
.cas-office-list .address,
.cas-office-list .phone {
    margin-bottom: 1em;
}
.cas-office-list .phone span {
    font-weight: 700;
}

/*
 * Community pages
 */
.cas-communities-index {
    margin-bottom: 1em;
}
.cas-communities-index th {
    text-align: left;
}
.cas-communities-index td {
    padding: .125em 0;
    padding-right: .5em;
}
.cas-communities-index .name {
    width: 40%;
}
.cas-communities-index .type {
    width: 20%;
}
.cas-communities-index .loc {
    width: 20%;
    padding-right: 0;
}
.community .emailsignup {
    clear: both;
    margin-top:1em;
}
.community .emailsignup.primary,
.community .emailsignup.secondary {
    width: 44%;
}
.community .emailsignup.primary { float: left; }
.community .emailsignup.secondary { clear: none; float: right; }
.community .emailsignup input {
    display: block;
    margin-bottom: .5em;
}
.community .emailsignup br {
    display: none;
}
.community .style2, .community .style9, .community .style10 {
    /* try to get the mediation notices here */
    font-size: 85%;
    line-height: 1.25em;
    color: #454545;
}

/*
 * Footer
 */
.site-footer {
    color: #a09598;
    font-size: 13.333px;
    line-height: 24px;
    padding-bottom: 24px;
    padding-top: 24px;
    clear: both;
}
.site-footer .site-meta {
    border-top: 2px solid #c69c6d;
    padding-top: 6px;
}
.site-footer a,
.site-footer a:visited {
    color: #c2617c;
    text-decoration: none;
}
.site-footer a:hover,
.site-footer a:active {
    color: #ab556e;
    text-decoration: underline;
}


/*
 * Util
 */
.clearfix:after, .site-inner:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}    
